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:00413133732756507148721001803
02:00–04:00279641095939481205830
04:00–06:00188417182993765501026629
06:00–08:0054114056103314741051858
08:00–10:002969287633494060244237042467
10:00–12:002793481919942905334435934231
12:00–14:002385101928481131229217301674
14:00–16:001899163132883385229832053901
16:00–18:003086136021021715328326041052
18:00–20:003876448544084125444641493611
20:00–22:004620411647883444633451323895
22:00–24:002189253729782021303325611801

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:002938121321572053230017693139
02:00–04:0012318033310301831331759
04:00–06:00949836679343604158256
06:00–08:007736908441325541727799
08:00–10:004000219540883944409242152552
10:00–12:003542257825092761419044142694
12:00–14:001375127533091080237226251957
14:00–16:00177626632429124527773933970
16:00–18:003273195619783916233521001518
18:00–20:004484368436484257563248413119
20:00–22:004901438443694277567945864705
22:00–24:003012320324542118235315482199

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