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:00393130912517219118223580411
02:00–04:00944573133421314623624
04:00–06:003553741298595159946547
06:00–08:00361462690114713572097829
08:00–10:002860359625241956331623313230
10:00–12:003380234625882862335031472648
12:00–14:001856100722712694228015583017
14:00–16:001668110317102043193215861094
16:00–18:00286635001789239721442022983
18:00–20:004420413335403662494154354578
20:00–22:003675402844523613633457873528
22:00–24:002972155932221544298114303900

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:00319718641380914101117001840
02:00–04:0015223152267372991004376
04:00–06:004931180550473599584470
06:00–08:0021032596631931029846405
08:00–10:003282220123811693288832083190
10:00–12:002901259734702770297533014813
12:00–14:00124328801704256413722455858
14:00–16:002559218314763568167015551035
16:00–18:002070234610423357216128102439
18:00–20:003308387633094485456642484257
20:00–22:004957504145374228589653504150
22:00–24:001668139720503287293029901611

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