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:00105998637032179386612482428
02:00–04:00111626535115513394771125
04:00–06:0015784319787827231564361
06:00–08:001253165230311812816328
08:00–10:002704333325092160385624353782
10:00–12:003173305621672295318837753017
12:00–14:001351270211492729135240132520
14:00–16:002262201312993209338823951943
16:00–18:004016310325171668279337162812
18:00–20:003344410441055073424957313220
20:00–22:003865433644533612578761164032
22:00–24:003373342116493332317322172351

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:001807205329062193219614553265
02:00–04:0013730111891921278278983
04:00–06:00114165512051117394299639
06:00–08:0075420418874646911127645
08:00–10:002467253939182435279334373177
10:00–12:004258327028624045284331652561
12:00–14:001367138413871063312018501492
14:00–16:001361209218611155233433612207
16:00–18:002647223329314175170431603009
18:00–20:003895347539123632592940503888
20:00–22:004452361349574452436956785040
22:00–24:002501318820522592379618462851

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