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:0032542953133340820134471652
02:00–04:006689534815950492724
04:00–06:004802171258163894763331
06:00–08:004629923626587061290515
08:00–10:003903200632342410276135952955
10:00–12:003362311129052450321425402615
12:00–14:003534174834841920287630733944
14:00–16:004031358133581441252926223477
16:00–18:002137171615243807288837463140
18:00–20:004029433236483679583042483619
20:00–22:004789401535354297655362243884
22:00–24:002535348012912028220414702961

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:00464106323772576126916872023
02:00–04:008253914171481991071449
04:00–06:00746291881338642831450
06:00–08:00174379564271940227595
08:00–10:003364253430512599363722702909
10:00–12:002830282639462595340233512134
12:00–14:003362150921101792306527892931
14:00–16:001240122322173397354111991739
16:00–18:00362727399071666131725503711
18:00–20:003648425740423717452844473710
20:00–22:003360370141873528557054604452
22:00–24:002128211922822612153617403515

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