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:00267625641965620295825993462
02:00–04:0018364732713391781265423
04:00–06:0078018231651044358484225
06:00–08:00658657697823178670364
08:00–10:002522370622693791251631622168
10:00–12:004170262726972669304232112795
12:00–14:0010641121289880832002373976
14:00–16:00202032818862298293637912356
16:00–18:001224175039643229211718571997
18:00–20:004092372945613770592857313373
20:00–22:004535504045374116455250244620
22:00–24:001549333430244054215029581436

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:007749813555829324838242383
02:00–04:001851179906235798671230
04:00–06:001107912661739385659330
06:00–08:008723043146911196574625
08:00–10:002505279022593155300222002692
10:00–12:001920266827082337373438193088
12:00–14:0084685435433090247328361589
14:00–16:001700164920941188198728401834
16:00–18:001350118826002935323024562957
18:00–20:003344448435983876395252363409
20:00–22:005040410641163864567864433528
22:00–24:002628350515553060174127613286

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