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:0023992286886120331621719640
02:00–04:007301393102314537341543320
04:00–06:0040645639610173771244649
06:00–08:002401237112316485591191281
08:00–10:001896260131822860243431992666
10:00–12:004188353840302989326128032885
12:00–14:003520326331901642146910743676
14:00–16:002371214127602501115729603436
16:00–18:001315318536891438278712961050
18:00–20:003203404440293421484257314180
20:00–22:004117428542005040458657884033
22:00–24:004008153218972265224521132861

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:0083921302900258957320601198
02:00–04:004571016627333164117161175
04:00–06:005631144851004759198763
06:00–08:0043255567712471008791764
08:00–10:003582304031983783315837593934
10:00–12:003047202337563058340831502891
12:00–14:00909312922261178125213713335
14:00–16:002658160027092333237521842455
16:00–18:004168140614532792103712993114
18:00–20:004493425735023420503843473576
20:00–22:004788411647883568469549145041
22:00–24:003127325822931778335118492038

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