summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Wall <richard@aziz>2010-07-13 21:46:21 +0100
committerRichard Wall <richard@aziz>2010-07-13 21:46:21 +0100
commit7f74405f80c8159eed0fa1f9535b86753f226141 (patch)
treeb5676b844af2058df9bd9a75c11c971d6ab7ea2c
parentbc3156fff165b228e6da03411d6b5a98b8f490d5 (diff)
Demonstrate how to override tickDecimals
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.html b/index.html
index 2c63916..c848760 100644
--- a/index.html
+++ b/index.html
@@ -33,7 +33,7 @@
['tcpconns-8080-local/tcp_connections-SYN_SENT.rrd', 0, 'SYN_SENT', ''],
['tcpconns-8080-local/tcp_connections-CLOSING.rrd', 0, 'CLOSING', '']
],
- options: jQuery.extend(true, {}, jarmon.Chart.BASE_OPTIONS, jarmon.Chart.STACKED_OPTIONS)
+ options: jQuery.extend(true, {yaxis: {tickDecimals: 0}}, jarmon.Chart.BASE_OPTIONS, jarmon.Chart.STACKED_OPTIONS)
},
];