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:00335315053697163291326572219
02:00–04:001463801683665137109768
04:00–06:0012911504583347092991174
06:00–08:0032530226910401217870287
08:00–10:002149205944093505235029902224
10:00–12:003171283728752658412828654441
12:00–14:001481222712032835235332732727
14:00–16:001348114928501108303038093943
16:00–18:002346201422221353134616292999
18:00–20:003952410438013730573054354123
20:00–22:003807445347893391589753514032
22:00–24:001707155811503311208526882895

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:00916233914612393104018531733
02:00–04:00296221738275183131653
04:00–06:008105412747581064246729
06:00–08:00398522437607454237255
08:00–10:002622198136383339341029573558
10:00–12:003948279221504491257437093070
12:00–14:002476134818582383180616871035
14:00–16:00147620992434805248423703606
16:00–18:002948113718962961258111633806
18:00–20:005109447537253268494153364560
20:00–22:004276407136133774436955704511
22:00–24:001968348220292279180920511142

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