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:0096272923932898146336051530
02:00–04:0026962837587111116662002
04:00–06:00309116429636930211501
06:00–08:001551160875651493271419
08:00–10:002757220021224712277423102718
10:00–12:002162339631382907343029862115
12:00–14:00338819788841202280632332272
14:00–16:001824209810302934140626871452
16:00–18:001542225311451120305113001992
18:00–20:004032342138003699513747433897
20:00–22:003948429542004574491564434788
22:00–24:003126116722673311288717741810

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:00255528361809190829269602228
02:00–04:003011487102834898671269
04:00–06:00514108837781041320280
06:00–08:001529773281626639344791
08:00–10:002070213323263709336236243123
10:00–12:002682449226402498366135932390
12:00–14:001950302216492452255332812050
14:00–16:0036848548292027386315922546
16:00–18:002135140711651768130237952935
18:00–20:003817344342573302503855323725
20:00–22:004621402049564536480464434215
22:00–24:003046230114321311228222961579

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