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:00187117962475240996239832460
02:00–04:0040143540434210138551613
04:00–06:00887627135510371940263860
06:00–08:00158552453229722398853
08:00–10:004149292122501882280632434147
10:00–12:004562282622832682324242402645
12:00–14:00164822543529265731347511278
14:00–16:003261398514021531360813961067
16:00–18:001518119011201056150212653796
18:00–20:004333425841804560494055324677
20:00–22:003780398540054200556943684285
22:00–24:001284234213182525396128501729

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:002152233526873257147911341223
02:00–04:009181097810211248853
04:00–06:006713554671911514296566
06:00–08:0082856714467861451069949
08:00–10:004723318319522754217343842174
10:00–12:002377356430842434346627673631
12:00–14:00130814699811585207532231686
14:00–16:00102623732167311726862950954
16:00–18:001581299639492256137527073649
18:00–20:004180440831763830481250383800
20:00–22:004369411641344087480446954788
22:00–24:001885217914152977245518441307

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