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:001695431720522663656222512
02:00–04:002242794767409105742167
04:00–06:0047891413611432941680458
06:00–08:001516938258227723517459
08:00–10:003074282720542295357930412595
10:00–12:002697333338963114310141252136
12:00–14:00158213702571810363324802217
14:00–16:0084597810202938245327782141
16:00–18:004434289020903019269724031043
18:00–20:003909418230584332563159284181
20:00–22:004872437133814873589761155041
22:00–24:002806278815232904149614622534

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:0015522924111669640191287571
02:00–04:001092385875806281035277
04:00–06:00201728118112490649550
06:00–08:008967571050731189901804
08:00–10:002127325019313257347426524101
10:00–12:003210226417763322392930622465
12:00–14:0090617821060845341122212705
14:00–16:001469103235533353281324021769
16:00–18:002410152423202634232720371184
18:00–20:004603456044093569503853354513
20:00–22:003617428545364377524256794369
22:00–24:001777322023241881306627752409

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