No deprecation warnings when not using deprecated options.
Two deprecation warnings for all horizontal bar charts
bar chart: "scales.[x/y]Axes.barPercentage" is deprecated. Please use "dataset.barPercentage" instead
and
bar chart: "scales.[x/y]Axes.categoryPercentage" is deprecated. Please use "dataset.categoryPercentage" instead
Change type to horizontalBar in the default codepen: https://codepen.io/ankane/pen/XWWgKZy
Thanks. I've sent a PR to fix this. You can work around it by changing the default settings as I did in that PR
That was fast, thanks @benmccann!
Chart.js v2.9.1 has been released with a fix for this issue
Great, thanks @etimberg
Still seeing this issue on 2.9.3 for vertical bar charts using the following configuration:
scales: {
xAxes: [
{
stacked: true,
barPercentage: 0.7,
categoryPercentage: 0.6
} as any
],
...
@hevans90 this one helps me: https://stackoverflow.com/a/59732946/7189547
Most helpful comment
Still seeing this issue on 2.9.3 for vertical bar charts using the following configuration: