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:0053930942120308112421817652
02:00–04:001463079832211088822310
04:00–06:00397161530410031108754667
06:00–08:00118145555910103915471165
08:00–10:003609290829732394237637972945
10:00–12:003912391828883193314826302047
12:00–14:002310381439142695218224021070
14:00–16:001329265227481172299420482875
16:00–18:001830238217291150298917381774
18:00–20:004471407743453648496952373737
20:00–22:004620394946214704480444773948
22:00–24:001895302912491479192415242079

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:003135571852254818442257535
02:00–04:005432933192744879201366
04:00–06:00171363494261598511541250
06:00–08:0086318482115310873211194
08:00–10:002087237738243703306332723246
10:00–12:002560247623892509291832233214
12:00–14:00219823933268249721782177746
14:00–16:003180255727421815266622261402
16:00–18:002470137810941973192629542807
18:00–20:003648342136494408395356324228
20:00–22:004116369747893361556946534284
22:00–24:003016169927051774232330051511

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