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:00155420675752865272314504236
02:00–04:00649230192483961120393
04:00–06:00207185315123712421711327
06:00–08:0011015156883151791164802
08:00–10:002649258023222013361539652176
10:00–12:002453223638553338420235302684
12:00–14:001684146713861732337423192171
14:00–16:001021279212513374179910181085
16:00–18:001070228918881691352920051089
18:00–20:003405416841934485444055323647
20:00–22:003697470434775041535048045041
22:00–24:001686354314833934248832912398

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:002649321268111724771329875
02:00–04:006771080452908449371292
04:00–06:009451429256221664953602
06:00–08:0059012977673471605761172
08:00–10:002675224817942234310145233588
10:00–12:003289271726412509312926012728
12:00–14:001311117321672824151730701305
14:00–16:00168283533861122427429222287
16:00–18:002933240324083103334112281418
18:00–20:004105425636524351503841504561
20:00–22:003948352847044200578752414453
22:00–24:002807270430251544215036082329

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