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:0011912451274282413367412997
02:00–04:00930156778830154436236
04:00–06:007571277376800953108276
06:00–08:001131681178125840013071428
08:00–10:002265193017302508332128542231
10:00–12:004312277832252753342433733452
12:00–14:00933165513253027257410832236
14:00–16:002880221418254020201320352089
16:00–18:00221116082623334215472994816
18:00–20:003890322339523560454459283724
20:00–22:004016375247894290441749143623
22:00–24:001614234713812442239532421469

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:0015343091267610111134177182
02:00–04:0093690154820010131457439
04:00–06:0084883723213825771911008
06:00–08:00715599899318987713497
08:00–10:002003222321511738338128902048
10:00–12:003530279430952524328337482687
12:00–14:0015992409139071137981974824
14:00–16:0024503572262178423173399820
16:00–18:001750400821191943265525404148
18:00–20:004029476551123649473951384561
20:00–22:004872361247884116644251333974
22:00–24:002765241420031459382333432110

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