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:00190735383396348517663982291
02:00–04:0014432886012382596771137
04:00–06:00534268175250670237398
06:00–08:003291115571400435737399
08:00–10:003319210223033596282729802900
10:00–12:002548305149283914314327002898
12:00–14:001895358420851313327517631755
14:00–16:00345886114312339194415211399
16:00–18:00972260512172477196918242189
18:00–20:003192433234964285563256313916
20:00–22:004004462147885064611563344620
22:00–24:002226333423432848162736032637

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:001170157370189634993830105
02:00–04:0097663292611064401229713
04:00–06:00519912535283452285477
06:00–08:00812706101110041010825347
08:00–10:001990444131212536275225592887
10:00–12:002037326422332670368843323257
12:00–14:00286823059151672220634991677
14:00–16:003032144314151048115921371664
16:00–18:003408316721331703153514041547
18:00–20:003958392144854169563247424173
20:00–22:003376378040994957436950243360
22:00–24:001478192215311240353730502268

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