We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stack bar order stays the same
stack bar order is changed
I used the 'Stacked group bar' demo to reproduce this:
const DATA_COUNT = 7; const NUMBER_CFG = {count: DATA_COUNT, min: -100, max: 100}; const labels = Utils.months({count: 7}); const data = { labels: labels, datasets: [ { label: 'Comp 1', data: Utils.numbers(NUMBER_CFG), backgroundColor: Utils.CHART_COLORS.red, stack: 'Stack 0', }, { label: 'Data 1', data: Utils.numbers(NUMBER_CFG), backgroundColor: Utils.CHART_COLORS.blue, stack: 'Stack 1', }, { label: 'Comp 2', data: Utils.numbers(NUMBER_CFG), backgroundColor: Utils.CHART_COLORS.green, stack: 'Stack 0', }, { label: 'Data 2', data: Utils.numbers(NUMBER_CFG), backgroundColor: Utils.CHART_COLORS.black, stack: 'Stack 1', } ] };
No response
Question:
v4.4.3
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
stack bar order stays the same
Current behavior
stack bar order is changed
Reproducible sample
I used the 'Stacked group bar' demo to reproduce this:
Optional extra steps/info to reproduce
Possible solution
No response
Context
Question:
chart.js version
v4.4.3
Browser name and version
No response
Link to your project
No response
The text was updated successfully, but these errors were encountered: