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:003709281813663633146019181127
02:00–04:0015152833922721872188215
04:00–06:002481448545251623460436
06:00–08:00472992492448888650416
08:00–10:003901300320781499301319792234
10:00–12:002833388017862811303232273795
12:00–14:003085263013293362235630181413
14:00–16:001574415115272419348516522223
16:00–18:001186262622251134438513332844
18:00–20:004408399043903898402342493344
20:00–22:004453504147114903622557873360
22:00–24:002180329319512065332519202460

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:00992784547263313551853533
02:00–04:001717570691410016221100
04:00–06:003385635276591124662345
06:00–08:002501673847306852301057
08:00–10:003023364927602315375330752911
10:00–12:003073259427402122257328823813
12:00–14:00151594325291946297922622376
14:00–16:00315615168193113188321553257
16:00–18:00184925572074771338624412796
18:00–20:004783456142574256474250394105
20:00–22:004453389544704872589645873948
22:00–24:001356347118991322288434542455

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