Cleanup: trailing space

This commit is contained in:
Campbell Barton
2025-09-23 09:36:38 +10:00
parent 78147b5db7
commit 705c868bb9
5 changed files with 12 additions and 12 deletions

View File

@@ -46,23 +46,23 @@
var chartData = chartsQueue[index];
var chart;
if (chartData.chart_type == 'line') {
chart = new google.charts.Line(document.getElementById(chartData.id));
} else {
chart = new google.charts.Bar(document.getElementById(chartData.id));
}
google.visualization.events.addOneTimeListener(chart, 'ready', function() {
/* Auto scale chart elements to display full SVG. */
var allSvg = document.getElementsByTagName("svg");
for (var svgIndex = 0; svgIndex < allSvg.length; svgIndex++) {
allSvg[svgIndex].setAttribute('height', allSvg[svgIndex].getBBox().height);
}
drawChart(chartsQueue, index + 1);
});
chart.draw(chartData.data, chartData.options);
}
@@ -151,10 +151,10 @@
options: options,
chart_type: benchmark['chart_type']
};
chartsQueue.push(chartData);
}
/* Start drawing charts sequentially. */
drawChart(chartsQueue, 0);
}