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:00803179417912177331313161313
02:00–04:009011779674582795289232
04:00–06:00624961140587371881246
06:00–08:00554948389464571938362
08:00–10:003051366925733453383329932836
10:00–12:004342387234543330320328582815
12:00–14:001678231421051126140212972023
14:00–16:00365080031272368215631391746
16:00–18:00154022791671134722642623790
18:00–20:004474437736483193553358304104
20:00–22:004497394142004032480553504994
22:00–24:001650221818822624428422424213

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:0044412611126708431713352427
02:00–04:00103181314379443395143
04:00–06:00279484362495418699984
06:00–08:00550155633613431333319250
08:00–10:001946244628052406314442372963
10:00–12:002085268021712768475046932884
12:00–14:001575348211433595112218613468
14:00–16:003041244218821374159924211688
16:00–18:00990172331541411137732221418
18:00–20:003247342934903820543447433376
20:00–22:004553386449564956436843683483
22:00–24:001303200621821791345833022365

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