From 174e045fb42207b7c10ff8e5d6feb38873149e3a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 20 Oct 2008 19:00:17 +0000 Subject: * luci/app/livestats: fix load diagram, improvements for diagram layout, fix menu order --- applications/luci-livestats/luasrc/view/livestats/loadavg.htm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'applications/luci-livestats/luasrc/view/livestats/loadavg.htm') diff --git a/applications/luci-livestats/luasrc/view/livestats/loadavg.htm b/applications/luci-livestats/luasrc/view/livestats/loadavg.htm index a4e8fae00a..f1d434b5d2 100644 --- a/applications/luci-livestats/luasrc/view/livestats/loadavg.htm +++ b/applications/luci-livestats/luasrc/view/livestats/loadavg.htm @@ -25,14 +25,14 @@ 2000, // Data sources - [ "1", "1 Minute Load", "2", "5 Minutes Load", "3", "15 Minutes Load" ], + [ 0, "1 Minute Load", 1, "5 Minutes Load", 2, "15 Minutes Load" ], // Graph layout options - { shouldFill: false, strokeColor: null, + { shouldFill: false, drawBackground: false, strokeColor: null, strokeColorTransform: "asFillColor", title: 'Average Load', strokeWidth: 1, padding: { left: 70, right: 10, top: 10, bottom: 20 }, - instances: [ false ] } + instances: [ false ], yAxis: [ 0, 2 ] } ); } -- cgit v1.2.3