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:00381421272257654176214033138
02:00–04:001125545547581172458196
04:00–06:0027849671462518410661026
06:00–08:00921378132210673071331351
08:00–10:002261264029333858259731652071
10:00–12:004217276533112584380429183317
12:00–14:001295330040441975349222231995
14:00–16:00323528089812904129323761003
16:00–18:003727271221123818205032061332
18:00–20:004107452531923340592842484409
20:00–22:004368525448734788567964433574
22:00–24:002919212512041786263623922661

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:00700929987866355133162324
02:00–04:004181779596275456830351
04:00–06:003303135321038132666932
06:00–08:002422131068436306340856
08:00–10:004739269822533351254832802268
10:00–12:002755224931352770320741513768
12:00–14:00160520123128927214310491327
14:00–16:0016391075773176313372901917
16:00–18:003166139813822870170929141005
18:00–20:003727448545524256405056324199
20:00–22:004015369436703651513245864375
22:00–24:002783170033451191194825093663

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