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:0019058056191436101222212596
02:00–04:0072465714967291131184150
04:00–06:001566662287205265181490
06:00–08:0082526020361163990705418
08:00–10:002257241429724969306829953037
10:00–12:002760182229492060406532562699
12:00–14:0023742994204727529387013882
14:00–16:001501106710941634228428883498
16:00–18:003734339911252219281717872849
18:00–20:004408358835973876523748424332
20:00–22:004284478841164704546145874117
22:00–24:003986192219301135266533701972

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:0034842733748311417521922989
02:00–04:00740122888966952592829
04:00–06:0056163214456611156354209
06:00–08:0016759512741782244690783
08:00–10:003698336322083378346423733531
10:00–12:002760426127672823421542042456
12:00–14:002527386420382545189526141112
14:00–16:001464216416801610100727543533
16:00–18:001818179232633460112328332477
18:00–20:003572330735443648573056314561
20:00–22:004186386440994620589755704060
22:00–24:002274241837402387396522423563

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