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:001835262684524136919233205
02:00–04:005434217097833151526496
04:00–06:0016074873979422418778
06:00–08:005271135174653258983537
08:00–10:003068225925052907328327693268
10:00–12:004042366528262968286325823658
12:00–14:002356210523002988279133482062
14:00–16:003699323326211876426214791769
16:00–18:002271130429102214162229413381
18:00–20:004485503634203432553353353269
20:00–22:004673462035484452491465524284
22:00–24:003321288812982005269325671847

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:0032195031299225628306871712
02:00–04:0016727165382932866084
04:00–06:0013713737204497445131713
06:00–08:0042310441350744179651492
08:00–10:003598228727002712405147043905
10:00–12:002846218321742610303234333865
12:00–14:00135014101803459621831662863
14:00–16:001686216410163272254327923407
16:00–18:001466230011142222121215962665
18:00–20:004437425845603800582950384408
20:00–22:004368355337814711502464434032
22:00–24:002099183715462093289833122395

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