Closed stockiNail closed 3 years ago
@MartinSchwarzbauer I have created an issue to Chart.js, because sounds a bug of Chart.js
@MartinSchwarzbauer I have checked more in details you axis configuration and there is a property which is the root cause of the rendering.
Remove the bounds setting in the linear axis or set to Bound.TICKS (instead of Bound.DATA), and it works.
y_axis.setBounds(Bounds.TICKS);
The issue has been solved by https://github.com/chartjs/Chart.js/pull/9181. Chart.js version 3.3.1 is needed!
Chart.js version 3.3.2 has been added to the master branch. With that, the issue about the usage of Bounds.DATA has been solved.
See discussion #61.
There is an issue of chart rendering when a linear scale is stacked and the height of the chart is fixed. Sounds an issue related to Chart.js.
Good catch @MartinSchwarzbauer