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:0023294753080294318314062748
02:00–04:00639907581178231331342
04:00–06:00494123788763112247521897
06:00–08:0077611311281426288350174
08:00–10:004586336323284334232926482523
10:00–12:003017252520072825301127712645
12:00–14:0085180626221881273935483116
14:00–16:00768228018522139245227292934
16:00–18:001016254029872179269311941697
18:00–20:004257372443324485494049404332
20:00–22:004368504048734536436853504620
22:00–24:002741232813151761221139832584

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:0017391740119823646812316194
02:00–04:00231643112173670368278
04:00–06:008243065879483801421579
06:00–08:0041612741572374022611211
08:00–10:003041214823382454307021002051
10:00–12:003993274928603813296328763538
12:00–14:0019482054568116013811517686
14:00–16:00976174810591653267731651854
16:00–18:001571211320831357164924001125
18:00–20:003808349645614777444643474560
20:00–22:003903401846213613546055705041
22:00–24:001527195922471688360921802788

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