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:00692170447616574926792751
02:00–04:001213883284907797181280
04:00–06:0079910811362810051816548
06:00–08:0089313418939777611379253
08:00–10:003770152847934798344526603027
10:00–12:003054324430432956331024643893
12:00–14:002981309820472354213413512170
14:00–16:00220520902429323816581523822
16:00–18:00349473833151918217834183017
18:00–20:003272450334633724503847423724
20:00–22:004704411736134536611649154788
22:00–24:002263365515492341192926502315

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:002685287936091821381510611
02:00–04:00522492608294135784198
04:00–06:00228961888155457489272
06:00–08:006152445932696616841482
08:00–10:002562373923692430309321993469
10:00–12:004530485125412960348640003023
12:00–14:0019802477157981036343669912
14:00–16:002670348213502251159822722071
16:00–18:00160431199812687125914841630
18:00–20:003876380139594114395352363625
20:00–22:004621445345364957472355704788
22:00–24:001478255337822510280721993649

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