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:0011967331843335560413551260
02:00–04:00204603494649743611464
04:00–06:00126411931193300728512988
06:00–08:00444195217310193471142879
08:00–10:002008223742222292390932582391
10:00–12:003637271830812920318134603038
12:00–14:002865278211872803175216121450
14:00–16:00349225412732182614531255910
16:00–18:001365244526432085345022251084
18:00–20:003414433341074181476655334485
20:00–22:004503470443944970437354614536
22:00–24:002781225723502938298129133399

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:002351182245230474503803832
02:00–04:00597914384388231480846
04:00–06:0047616245984212626391215
06:00–08:0030554977555210391022480
08:00–10:002445284529711707224739771991
10:00–12:002543359635142973369134322504
12:00–14:00181974711171356364219003138
14:00–16:002867116732413330322216131905
16:00–18:003705177525062983264029773745
18:00–20:004485461730404029395346434325
20:00–22:004621445737803865622562255041
22:00–24:002573317816272782321320391377

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