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:00901137229442140106414601850
02:00–04:0010053784474043937291223
04:00–06:0033048350586813311117181
06:00–08:0021750210635745428691031
08:00–10:002183280820532604256039203169
10:00–12:003195343529283000289024323326
12:00–14:001539291327152957278331301874
14:00–16:00169690315882325179611521019
16:00–18:001995145323201947217723182679
18:00–20:003801380044214256503859283041
20:00–22:004704436850414285556952425046
22:00–24:003973287628293528144924183479

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:0063255390251925882994122
02:00–04:0089513163671604399751279
04:00–06:007626266814781008421849
06:00–08:0015828851324134785807347
08:00–10:002643430326003279304327281908
10:00–12:002637429126672216331840623763
12:00–14:00853346912533409188714561104
14:00–16:001987153512433691281631621710
16:00–18:003317250411512233337722092313
18:00–20:004332448438014058533549404011
20:00–22:004369478844524031502454614032
22:00–24:00131033663007261932531875968

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