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
Chart.js drawing bar element without unexpected border lines
Chart.js drawing bar element with border lines in the versions started from 2.8.0 (version 2.7.3 is okey)
v.2.9.3: https://stackblitz.com/edit/chartjs-v2-9-3
v.2.8.0: https://stackblitz.com/edit/chartjs-v2-8-0
v.2.7.3: https://stackblitz.com/edit/chartjs-v2-7-3
{ type: 'bar', data: { labels: ['Dateset 1', 'Dateset 2', 'Dateset 3', 'Dateset 4', 'Dateset 5'], datasets: [ { label: 'green', data: [308.38, 265.49, 272.79, 306.44, 336.44], backgroundColor: 'green', borderColor: 'white', borderSkipped: false, borderWidth: 6, hoverBorderWidth: 6 }, { label: 'red', data: [391.4, 427.41, 296.67, 351.51, 380.83], backgroundColor: 'red', borderColor: 'white', borderSkipped: false, borderWidth: 6, hoverBorderWidth: 6 }, { label: 'black', data: [386.08, 512.74, 331.05, 380.83, 445.68], backgroundColor: 'black', borderColor: 'white', borderSkipped: false, borderWidth: 6, hoverBorderWidth: 6 }, { label: 'blue', data: [340.7, 568.65, 454.08, 284.27, 640.98], backgroundColor: 'blue', borderColor: 'white', borderSkipped: false, borderWidth: 6, hoverBorderWidth: 6 }, { label: 'rebeccapurple', data: [280.79, 595.62, 516.52, 379.53, 735.92], backgroundColor: 'rebeccapurple', borderColor: 'white', borderSkipped: false, borderWidth: 6, hoverBorderWidth: 6 } ] }
If it's planned behavior, although line looks strange. Lines aren't drawing on the all sides always.
The text was updated successfully, but these errors were encountered:
On a side note, instead of using white borders to get padding to bars, you can use various options to control the bar sizes: https://www.chartjs.org/docs/latest/charts/bar.html#dataset-configuration
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Expected Behavior
Chart.js drawing bar element without unexpected border lines
Current Behavior
Chart.js drawing bar element with border lines in the versions started from 2.8.0 (version 2.7.3 is okey)
Steps to Reproduce (for bugs)
v.2.9.3: https://stackblitz.com/edit/chartjs-v2-9-3
v.2.8.0: https://stackblitz.com/edit/chartjs-v2-8-0
v.2.7.3: https://stackblitz.com/edit/chartjs-v2-7-3
Context
Environment
If it's planned behavior, although line looks strange. Lines aren't drawing on the all sides always.
The text was updated successfully, but these errors were encountered: