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:00367112437702931333420881773
02:00–04:005977651991099210352534
04:00–06:001846669289274306530747
06:00–08:00869159923932433373161
08:00–10:001757327930932882245430192112
10:00–12:003615251235682455344338213555
12:00–14:003457122411512315351219711165
14:00–16:001582239711192163190513951845
16:00–18:002685297720171208206020193905
18:00–20:003109304041933173563147424515
20:00–22:004584403246214966622553504872
22:00–24:002036158732432673148415331225

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:001568690129248018781314354
02:00–04:0081011542241816771183742
04:00–06:00253756348101913573141285
06:00–08:0067013771498544466146810
08:00–10:003413334725982396363822491848
10:00–12:002697268423913236403442102383
12:00–14:0079431112996176313091116671
14:00–16:00317916971210814299413941795
16:00–18:002235207630152840152439942516
18:00–20:003648322542033480513750154409
20:00–22:004284420149564956644357874200
22:00–24:002160226026321849259426201870

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