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:00429923111269204221330992865
02:00–04:00636311515155596404975
04:00–06:005262601302605672941120
06:00–08:008167711666403994510556
08:00–10:003679180622733679265130792599
10:00–12:002112324424083296255234202149
12:00–14:0024588531930195620172828987
14:00–16:00325520109623758454327542858
16:00–18:002746224815443613159013471425
18:00–20:004044484243333988444758294485
20:00–22:003862453741213864546164434873
22:00–24:002396132626841422162327922333

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:00137312311581473176225461239
02:00–04:00598253616216363552383
04:00–06:006222796209275623391889
06:00–08:0010391962554841491492342
08:00–10:003538285124672493286125792620
10:00–12:003380315128922601442237643397
12:00–14:002022199213601936281518332474
14:00–16:001365188321022342252827961512
16:00–18:00158519442667774376323571099
18:00–20:004448433336493656563242493801
20:00–22:003528436842844704436960064793
22:00–24:003098163618562659182024861889

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