GraphUp Demo 1 · Fill

The demo tables below could represent the average visitor count to your website split up per day and hour. In the first table, the greenPower color map is used. Also, using the callBeforePaint callback we assign a special CSS class for all cells above 50%.

Monday Tuesday Wednesday Thursday Friday Saturday Sunday
00:00–02:002393043193721131194039740
02:00–04:00151783186385419266431
04:00–06:00601551632665733319156
06:00–08:0031610671539061912654200
08:00–10:001787281124403704395427142321
10:00–12:001881327922453569352833172433
12:00–14:003016274411341079188928392028
14:00–16:00129681623731959262921162380
16:00–18:003583379021781821219728572235
18:00–20:004600425641383269523645463877
20:00–22:004285412839694788556954604390
22:00–24:001429257520762918245721422438

Obviously, in the next table another color map has been used: burn. There is more going on, though. Via the callBeforePaint callback we customize the opacity of each cell's text, according to its percentage. This creates a nice extra visual effect.

Monday Tuesday Wednesday Thursday Friday Saturday Sunday
00:00–02:00302123016273393190624601896
02:00–04:0038222684071993727719
04:00–06:004819096313608031059537
06:00–08:00453585135635973525532
08:00–10:002672254824772967265824043320
10:00–12:002692198530002568347137732360
12:00–14:00318328592946314225649871137
14:00–16:0080618932389960325730362824
16:00–18:00403624558383380285635041980
18:00–20:004181433336493724553241493253
20:00–22:004201487242854136491450233613
22:00–24:001229267327502304375422843028

Have a look at the source of this page to learn and see exactly how it all works.