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:002874116522482639274112376
02:00–04:0013816401987641049430658
04:00–06:0061419627872831724343324
06:00–08:0064611842071155436624779
08:00–10:002146261329452586215328062185
10:00–12:003347272022592560437930322392
12:00–14:00102623449691676302639261765
14:00–16:00993200225671978106013863043
16:00–18:001437282735912579271032061448
18:00–20:004217410438873150543551373611
20:00–22:003864493039484032502443695040
22:00–24:002407165927212510197927642412

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:0035112679267266276624682701
02:00–04:002545897101535786633242
04:00–06:0072014581741111202525134
06:00–08:0087377390682703452798
08:00–10:004783188921232687268527513113
10:00–12:002892366232752777257036862746
12:00–14:00148011392174879305825041083
14:00–16:0088720887611576144417763560
16:00–18:003208277629771749255924453056
18:00–20:003525311747523953434746433496
20:00–22:004789453733603685600658964452
22:00–24:003972412531992230129720121669

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