Closed Astra3 closed 4 months ago
I'm confused, you define the min
and max
values of the boxplot, so the minimal and the maximal values. How can an outlier be smaller/larger than that? it would mean that the outlier is smaller than the minimum?
You're right, I was trying to create a graph where the whiskers are showing the IQR (i. e. $Q_1 - 1.5 * \text{IQR}$ for the lower whisker) and outliers are showing possible max and min values if they're higher/lower than the IQR whiskers. But I found out I can use whiskerMin
to show the lower IQR/min value and then min
to show the actual minimal outlier (if it's lower than the computer IQR) instead of using outliers
property.
When creating boxplot using precomputed values, the y axis doesn't extend for outliers.
To Reproduce
The following data shows the issue:
I've created an example on codepen. The outliers are shown if you set the y scale explicitly by uncommenting lines 38 and 39.
Expected behavior
The graph should extend the axis for precomputed outliers when
minStats: 'min'
andmaxStats: 'max'
as it already does for non-precomputed values as seen in the first dataset in datastructures example.Context