From 7f74405f80c8159eed0fa1f9535b86753f226141 Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Tue, 13 Jul 2010 21:46:21 +0100 Subject: Demonstrate how to override tickDecimals --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.html') 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) }, ]; -- cgit v1.2.3