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:00492302218641467168037173505
02:00–04:00786801765416105494480
04:00–06:0010865101389407235818
06:00–08:00851994823713840791665
08:00–10:002836248643751954245828633455
10:00–12:002790211526553312353131152275
12:00–14:001919793221184628392461872
14:00–16:00406811988671333389810111273
16:00–18:00110822653516227930162299910
18:00–20:003041425739554357446656323183
20:00–22:003683495647053444557049144957
22:00–24:001847175224222154180842131402

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:00176125851240112236012871863
02:00–04:002962101319769551186960
04:00–06:002811635174632010567211157
06:00–08:00913288191381482695323
08:00–10:002918314823333046271024412587
10:00–12:002971262933943514247630693504
12:00–14:001269152212862550339912431944
14:00–16:0011442768831226580414101791
16:00–18:001820402211822062233410731089
18:00–20:003496402932534332533643484256
20:00–22:003968449336134704546148053949
22:00–24:002497310026481415196516391576

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