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:0017055731054233233914462488
02:00–04:008423909631130616392612
04:00–06:003044112627299022771
06:00–08:009459634661102309367805
08:00–10:002937508135551713317528802361
10:00–12:003552360427481856304234632900
12:00–14:0086622921228799155216334030
14:00–16:00139626522384280432319882518
16:00–18:001867164235742317306324672588
18:00–20:003223386343233530563155324408
20:00–22:004704462141164873655358964957
22:00–24:00245213282932153038612577998

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:004952986284521823246104814
02:00–04:001262864851759901593209
04:00–06:00504473188582595140709
06:00–08:00174289215574964417214
08:00–10:002783231523112797217226033098
10:00–12:004698235135641934375538972957
12:00–14:002072170121083276283224421475
14:00–16:002049218211753888247912281656
16:00–18:00328599420372336200725872974
18:00–20:003649377134944346503849404284
20:00–22:003360495734923664557046954402
22:00–24:003725206115921720135322612735

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