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:00992763194943914781952216
02:00–04:0045610709518934835661346
04:00–06:0039451251118911841187831
06:00–08:00703290460774264505917
08:00–10:003309198219792487478240332126
10:00–12:003809255425325132343536712924
12:00–14:00115610959481627342623192231
14:00–16:002871245740811486357328781415
16:00–18:003235165037672558271116172494
18:00–20:003725378341163896553257313297
20:00–22:004117498449574705447749274704
22:00–24:002431190215442749332831562252

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:00137236711632227620282137463
02:00–04:0011996157601302946641072
04:00–06:0010677051067251128011771057
06:00–08:0012258164276795891005804
08:00–10:003909241525222832321529712980
10:00–12:002349255919784340355031932337
12:00–14:00234427863596298121129831248
14:00–16:002053299742061024267115221125
16:00–18:003107248713821526141013723142
18:00–20:003041448535734333424841494332
20:00–22:005040436935503967611550244379
22:00–24:001466190925712903305142732185

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