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:002776232413902658208317881421
02:00–04:0062979252612131273526456
04:00–06:00805828597205779633907
06:00–08:006917113221857939918874
08:00–10:002684234533802380476328344283
10:00–12:003432217324903678459638232766
12:00–14:00150710599902703202526821082
14:00–16:001857263417311572289314341172
16:00–18:002741202424542448197726572045
18:00–20:003801418138773724489355334104
20:00–22:004872504036123360447746824369
22:00–24:001397226310222110350633442466

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:00276037516296087722351659
02:00–04:0077097332741716214461539
04:00–06:0069540889712315991069172
06:00–08:0013229351893650430506604
08:00–10:003468256430353278351333392561
10:00–12:002252313031522551251640772630
12:00–14:002153273218402840273510754370
14:00–16:00115765021601442216526802471
16:00–18:002497221431271326166211111575
18:00–20:004485372432693681405140503953
20:00–22:003613462043504873600664434138
22:00–24:003680341920302836154614683066

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