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:00192283185032839721597183
02:00–04:00671462762134543288551
04:00–06:00511817026535741112225
06:00–08:005245791370535650716370
08:00–10:003999170622963946355424912024
10:00–12:002445223119823476359330322801
12:00–14:00955299817892639224020012110
14:00–16:0044912090270091281530962434
16:00–18:003006331620981564149124402626
18:00–20:004408433231183193415039523570
20:00–22:004285338049093696513258973785
22:00–24:003020330820241822190224451707

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:002422172235491191229823152895
02:00–04:00891139113725502749271193
04:00–06:001324183867495711274722
06:00–08:0087311811688911284903513
08:00–10:003115377639472510347434092336
10:00–12:002830253921692356357729834303
12:00–14:00147527282867132615111025944
14:00–16:003080368517002899221516291572
16:00–18:00252492825521614258319563666
18:00–20:004343329044094028553350383385
20:00–22:004872413142843754439049654621
22:00–24:003662374111972064215030911694

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