2000,
// Data sources
- [ 0, "1 min", 1, "5 min", 2, "15 min" ],
+ [ 0, "1 <%:min%>", 1, "5 <%:min%>", 2, "15 <%:min%>" ],
// Graph layout options
- { title: '<%:load average%>', strokeWidth: 2.5, shouldFill: false, strokeColor: null,
+ { title: '<%:Load average%>', strokeWidth: 2.5, shouldFill: false, strokeColor: null,
padding: { left: 70, right: 10, top: 10, bottom: 20 },
instances: [ false ], yAxis: [ 0, 2 ], drawBackground: false },
null,
shouldFill: false,
drawBackground: false,
strokeColor: null,
- title: '<%:traffic on%> %s',
+ title: '<%:Traffic on%> %s',
strokeWidth: 2.5, height: 140,
padding: { left: 70, right: 10, top: 10, bottom: 20 },
instances: [ <%=table.concat(interfaces, ", ") %> ],
// Graph layout options
{ drawBackground: false, yAxis: [ 0, 50 ],
- title: '<%:signal-to-noise ratio for%> %s',
+ title: '<%:Signal-to-noise ratio for%> %s',
padding: { left: 40, right: 10, top: 10, bottom: 20 },
instanceNames: {
<%- for k,v in pairs(luci.sys.wifi.getiwconfig()) do %>