summaryrefslogtreecommitdiff
path: root/docs/examples/jarmon_example_recipes.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/jarmon_example_recipes.js')
-rw-r--r--docs/examples/jarmon_example_recipes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/jarmon_example_recipes.js b/docs/examples/jarmon_example_recipes.js
index a2e822e..aa42d6f 100644
--- a/docs/examples/jarmon_example_recipes.js
+++ b/docs/examples/jarmon_example_recipes.js
@@ -54,8 +54,8 @@ jarmon.CHART_RECIPES_COLLECTD = {
'interface': {
title: 'Wlan0 Throughput',
data: [
- ['data/interface/if_octets-wlan0.rrd', 'tx', 'Transmit', 'B/s'],
- ['data/interface/if_octets-wlan0.rrd', 'rx', 'Receive', 'B/s']
+ ['data/interface/if_octets-wlan0.rrd', 'tx', 'Transmit', 'bit/s', function (v) { return v*8; }],
+ ['data/interface/if_octets-wlan0.rrd', 'rx', 'Receive', 'bit/s', function (v) { return v*8; }]
],
options: jQuery.extend(true, {}, jarmon.Chart.BASE_OPTIONS)
}