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:00324486220521851194624433131
02:00–04:003348986734447162416619
04:00–06:0069831211517981151188351
06:00–08:001837136123038361124158
08:00–10:003060345746242884243137202188
10:00–12:002619244732852514359837453721
12:00–14:002025258011812860130429231903
14:00–16:002365302210021216312623772814
16:00–18:002752245134131923236930782839
18:00–20:004512364943334180484157313699
20:00–22:004164495737804519469560074105
22:00–24:001756219627212113220234031825

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:0033151611648106829235751575
02:00–04:00240176315804404002131018
04:00–06:0081019267590606822509
06:00–08:00600220269119848276668
08:00–10:003071220629073488240730162758
10:00–12:002834431522954150281042672499
12:00–14:002901281240391299154211801321
14:00–16:0021641357336475499423721563
16:00–18:003449116114271054272222402505
18:00–20:003796437438013781582950393800
20:00–22:004957389639094705480549153945
22:00–24:003849364417183029181720483002

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