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:00172226452981855180219031770
02:00–04:00690729463662151489730
04:00–06:0034940210711312525461650
06:00–08:003151838743161594742395
08:00–10:003153159235192369265430962115
10:00–12:002875285122213083383943383042
12:00–14:001307196931022273144817382021
14:00–16:002346429028761021162921572714
16:00–18:001273172015802191352415083156
18:00–20:003958387635894609592956323620
20:00–22:003949485241094314633450233948
22:00–24:002234195424573659261414943124

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:001373992814217720784472465
02:00–04:0010824721695511186246620
04:00–06:001883234061292815372873
06:00–08:001954118471219913453561739
08:00–10:003164251724042720314347873838
10:00–12:002047268231303523425729993824
12:00–14:00181726583125371483311453280
14:00–16:003410164523961702201220482247
16:00–18:003604153618721152349117192546
18:00–20:004560442244934256563240103272
20:00–22:003725420045073696437256794704
22:00–24:001700207014182399327728532359

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