diff --git a/openwisp_monitoring/monitoring/static/monitoring/js/chart.js b/openwisp_monitoring/monitoring/static/monitoring/js/chart.js index c8f66f23..4f826bcf 100644 --- a/openwisp_monitoring/monitoring/static/monitoring/js/chart.js +++ b/openwisp_monitoring/monitoring/static/monitoring/js/chart.js @@ -162,7 +162,7 @@ total[j] += data.traces[i][1][j]; } } - data.traces.push(["total", total]); + data.traces.push(['total', total]); data.summary.total = Object.values(data.summary).reduce(function (a, b) { return a + b; }, 0);