X-Git-Url: https://nos-oignons.net/gitweb/website.git/blobdiff_plain/dbd2c5683e6adc1dba4a888a03ff99c8fc86b8b4..16841d6d825387a8a6f9256097d8e1c824f93c02:/assets/bw_graphs.js diff --git a/assets/bw_graphs.js b/assets/bw_graphs.js index 2c93b4c..3efacbb 100644 --- a/assets/bw_graphs.js +++ b/assets/bw_graphs.js @@ -161,7 +161,7 @@ BwDrawer.draw_bandwidth_graph = function(raw_data, selector, period) { .attr("d", function(d) { return BwDrawer.area(d.write_values); }) .style("fill", function(d) { return BwDrawer.color(d.fingerprint); }); - var update_period = function(period) { + update_period = function(period) { BwDrawer.x.domain([bw_data[period].minTime, bw_data[period].maxTime]); var t = svg.transition().duration(300); t.select(".x.axis").call(BwDrawer.xAxis);