summaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorStephan Schwaer2015-06-05 15:06:38 +0200
committerStephan Schwaer2015-06-05 15:06:38 +0200
commite5f65a5cc8818f483647784616711d3a8bbfbcb6 (patch)
tree3dc4291f9d451f58ee3db0d6a755196d5bcc8031 /static
parentAdded logarithmic scaling into graph and smoothie.js. (diff)
downloaddnbd3-status-e5f65a5cc8818f483647784616711d3a8bbfbcb6.tar.gz
dnbd3-status-e5f65a5cc8818f483647784616711d3a8bbfbcb6.tar.xz
dnbd3-status-e5f65a5cc8818f483647784616711d3a8bbfbcb6.zip
Set min and max Value for the traffic graph. Increased size of labels.
Diffstat (limited to 'static')
-rw-r--r--static/status-dnbd3.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/status-dnbd3.html b/static/status-dnbd3.html
index d9ce816..352ee3d 100644
--- a/static/status-dnbd3.html
+++ b/static/status-dnbd3.html
@@ -21,7 +21,7 @@
<script type="text/javascript">
// Initialize the statistics chart at the bottom.
-var smoothie = new SmoothieChart({'millisPerPixel': 300, 'grid': {'millisPerLine': 30000}, timestampFormatter:SmoothieChart.timeFormatter, yMaxFormatter: bytesToString, yMinFormatter: bytesToString, valueTransformFunction: logarithmicScaling});
+var smoothie = new SmoothieChart({'millisPerPixel': 300, 'grid': {'millisPerLine': 30000}, timestampFormatter:SmoothieChart.timeFormatter, yMaxFormatter: bytesToString, yMinFormatter: bytesToString, valueTransformFunction: logarithmicScaling, minValue: 0, maxValue: 262144000, labels: {fontSize: 13}});
smoothie.streamTo(document.getElementById("traffic"), 2000);
// For coloring the servers and the chart-lines.