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:003023305422349808262207381
02:00–04:00494835143430972200300
04:00–06:002038451381623925643865
06:00–08:00302666627170557508678
08:00–10:002000252725291888352730254502
10:00–12:002866263632973180342936733301
12:00–14:00310119521161824316913961098
14:00–16:002736325016483557195827041830
16:00–18:002335124311831221259826702851
18:00–20:004409456143334104498439524095
20:00–22:004200403241173865567864433528
22:00–24:001885119314763318174019181963

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:00196539991207164028310873201
02:00–04:005751839294201065581285
04:00–06:00971302576113612967651452
06:00–08:001224188517173751059598897
08:00–10:002105241236642689313643202218
10:00–12:002992449124993074306333183592
12:00–14:0029869362320137374115642731
14:00–16:00287923332692843189226341542
16:00–18:001608435520493364140611882216
18:00–20:003826352941043649454443473376
20:00–22:003444436837804788513349154956
22:00–24:003759247121112772199924263047

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