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:0045219071789115629447812511
02:00–04:002851193041328606127151
04:00–06:005611821209217984599322
06:00–08:0049014058953471080636605
08:00–10:002050358323552768202625372340
10:00–12:002508384941643722274231303144
12:00–14:00311217013083847170311651113
14:00–16:00105811719531663332013821448
16:00–18:001251269618201123308841632892
18:00–20:003937419031164560503839534225
20:00–22:004117470544534173447856794957
22:00–24:003014247116361990250625442989

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:0019611533109200726212842812
02:00–04:0087676372495623754777
04:00–06:004661354715211257231458
06:00–08:0025879427614225744991701
08:00–10:003739166134722205426325912436
10:00–12:002110385129343222334731672886
12:00–14:002078247516551827275227741027
14:00–16:00164336522778329393622383620
16:00–18:003769287225691164107033652881
18:00–20:004485380739533850583043473376
20:00–22:004227357046304284491453503865
22:00–24:001714381812972574148628023171

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