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:0021855972090247321841918819
02:00–04:00281325608428239774825
04:00–06:008468811391339641982762
06:00–08:002782409223373902791553
08:00–10:003615346819462792218922462463
10:00–12:004385357823882871307736603300
12:00–14:002376899263444609921429855
14:00–16:001643385825472090242134581762
16:00–18:003641135320811042444610791728
18:00–20:004832360241053949523655323552
20:00–22:004219495639414246458650865044
22:00–24:001215134328001353253637021879

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:0017352899140442102742142637
02:00–04:00517665843797825727644
04:00–06:0012888846110081400833607
06:00–08:0010936446617591129258876
08:00–10:002632200736412945232037772334
10:00–12:003293299727552726348832272903
12:00–14:00119511692117249416541716766
14:00–16:001966183830051653239011383639
16:00–18:001276326034721667108530613202
18:00–20:003876380043333952592851384105
20:00–22:004436344447454032578856794107
22:00–24:002088159625073499191639783037

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