From 2a56849695405c654cc7f6751cd53a47346c6110 Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 8 Jan 2018 12:59:36 -0800 Subject: [PATCH] Fix error that cut off the last few nodes for subejct lines and means. --- afqbrowser/site/client/js/plots.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afqbrowser/site/client/js/plots.js b/afqbrowser/site/client/js/plots.js index 2f38beb..f8aa158 100644 --- a/afqbrowser/site/client/js/plots.js +++ b/afqbrowser/site/client/js/plots.js @@ -425,7 +425,7 @@ afqb.plots.ready = function (error, data) { var len = afqb.plots.tractMean[i].values.length; var id = afqb.global.formatKeyName(afqb.plots.tracts[i]); // Subject to ordering errors since we call afqb.plots.xScale[id] = d3.scale.linear() - .range([afqb.plots.axisOffset.left, afqb.plots.axisOffset.left + afqb.plots.w]) + .range([afqb.plots.axisOffset.left, afqb.plots.w]) .domain([0, len]); });