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:00333835281964384760421282115
02:00–04:0046482711182968955761075
04:00–06:0015351124647565221251831
06:00–08:004672431584575512821874
08:00–10:002411399429262136218441911654
10:00–12:002337330632493740363137642423
12:00–14:001023132934982017186512282639
14:00–16:001821240413922077119415321317
16:00–18:00827238736082041132510161207
18:00–20:004409433335064105454443473862
20:00–22:004033478842843677600665534452
22:00–24:002168352214421913165519643562

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:00225631863749151041814302496
02:00–04:009313216123796861156279
04:00–06:00109719737288112912045629
06:00–08:004678221896297673692369
08:00–10:002395226444562696288328582911
10:00–12:002863335526143226495635172441
12:00–14:00109913731883100124717642888
14:00–16:001759127612251696159729853077
16:00–18:00193819932838962214631061316
18:00–20:003202411143334053592859294485
20:00–22:004704453650613528535152415041
22:00–24:002519199714291991230924821389

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