diff --git a/packages/vx-boxplot/src/boxplots/BoxPlot.js b/packages/vx-boxplot/src/boxplots/BoxPlot.js index abdbc9482..950edcab8 100644 --- a/packages/vx-boxplot/src/boxplots/BoxPlot.js +++ b/packages/vx-boxplot/src/boxplots/BoxPlot.js @@ -125,7 +125,7 @@ export default function BoxPlot({ if (horizontal) { boxplot.max = verticalToHorizontal(boxplot.max); boxplot.maxToThird = verticalToHorizontal(boxplot.maxToThird); - boxplot.box.y1 = valueScale(firstQuartile) + boxplot.box.y1 = valueScale(firstQuartile); boxplot.box = verticalToHorizontal(boxplot.box); boxplot.median = verticalToHorizontal(boxplot.median); boxplot.minToFirst = verticalToHorizontal(boxplot.minToFirst); diff --git a/packages/vx-stats/src/boxplot/BoxPlot.js b/packages/vx-stats/src/boxplot/BoxPlot.js index 63bf84e26..950edcab8 100644 --- a/packages/vx-stats/src/boxplot/BoxPlot.js +++ b/packages/vx-stats/src/boxplot/BoxPlot.js @@ -125,8 +125,8 @@ export default function BoxPlot({ if (horizontal) { boxplot.max = verticalToHorizontal(boxplot.max); boxplot.maxToThird = verticalToHorizontal(boxplot.maxToThird); - boxplot.box = verticalToHorizontal(boxplot.box); boxplot.box.y1 = valueScale(firstQuartile); + boxplot.box = verticalToHorizontal(boxplot.box); boxplot.median = verticalToHorizontal(boxplot.median); boxplot.minToFirst = verticalToHorizontal(boxplot.minToFirst); boxplot.min = verticalToHorizontal(boxplot.min);