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:0070865916554547302754410
02:00–04:0021889272165589123782
04:00–06:001947965652404602910776
06:00–08:003218639443715926121257
08:00–10:002069223935872424289221643610
10:00–12:004260275334462377337430262436
12:00–14:0029797391947264424339921294
14:00–16:00143219571941813319916452566
16:00–18:001899277139432581205514602638
18:00–20:004180349636653952464348423381
20:00–22:003864347647045041458765524201
22:00–24:002537219426952681259023121095

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:0043815112430237941024611271
02:00–04:00531158766126173244933
04:00–06:00355983770232864608598
06:00–08:00876649856276625285587
08:00–10:004694400442692874271122042732
10:00–12:002201447328814092334437902464
12:00–14:00123014511163142527882818960
14:00–16:001731269310471455179211571001
16:00–18:00826174333712730201045331338
18:00–20:003983448536433192573149404561
20:00–22:004957495645374956458754604453
22:00–24:002224331427911541278719142449

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