Closed xde013 closed 3 years ago
there seems to be some incompatibilities with chart.js 3.4.x if you go back to 3.3 it works as expected.
As I can see problem in this code on Chart.js: https://github.com/chartjs/Chart.js/pull/9208
Also I found a workaround for StatsBase
https://github.com/sgratzl/chartjs-chart-boxplot/blob/4905cfd72c5def00b57424ba53f8aeef5ff52265/src/controllers/StatsBase.ts#L168
this._transformStats(properties, parsed, (v) => (reset ? base : scale.getPixelForValue(v, index)));
properties.height = undefiend;
super.updateElement(rectangle, index, properties, mode);
should be fixed with https://github.com/sgratzl/chartjs-chart-boxplot/releases/tag/v3.5.0
Chart type boxplot doesn't seem to behave as expected:
To Reproduce Please refer to this demo -> https://codesandbox.io/s/interesting-haze-i0421
Additional context
react-chartjs-2
🚩 Chart behaving normally when setting chart option
indexAxis
to'y'
.