From 1ac583ce2b1d0796f8d8f0d5f9b5ee29a051af1e Mon Sep 17 00:00:00 2001 From: PieterGit Date: Fri, 18 Oct 2019 23:57:47 +0200 Subject: [PATCH] d3 upgrade axis --- lib/report_plugins/calibrations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/report_plugins/calibrations.js b/lib/report_plugins/calibrations.js index d6fbaf50f7e..1da176f87c7 100644 --- a/lib/report_plugins/calibrations.js +++ b/lib/report_plugins/calibrations.js @@ -152,11 +152,11 @@ calibrations.report = function report_calibrations (datastorage, sorteddaystosho yScale2 = d3.scaleLinear() .domain([0, 400000]); - var xAxis2 = d3.svg.axisBottom() + var xAxis2 = d3.axisBottom() .scale(xScale2) .ticks(10); - var yAxis2 = d3.svg.axisLeft() + var yAxis2 = d3.axisLeft() .scale(yScale2); // get current data range