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:0011658007982712137515151859
02:00–04:0072711328979085182258292
04:00–06:00658302267567648523705
06:00–08:0042839810052241391016448
08:00–10:002169484832702222271539553290
10:00–12:001954251128772403274640812217
12:00–14:0060724842775175623322123965
14:00–16:003007181421023623187137711527
16:00–18:002450322937683634307433382037
18:00–20:004503410438203354395249414484
20:00–22:004792410038894200535152424368
22:00–24:001899235115971500191824931965

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:00159484115172215109726881164
02:00–04:0012046193481858428341660
04:00–06:00365871715766389350931
06:00–08:003333397661044757221271
08:00–10:003523244835322427256026642625
10:00–12:003087258928413595349638403452
12:00–14:0090963835512258270824942039
14:00–16:002374187412751395347316671633
16:00–18:002668195818221369260028531446
18:00–20:003117465237603648543555323725
20:00–22:003948453744524536600748054116
22:00–24:001467371427142724212636062920

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