Stacked chart bar with border radius looks strange
See original GitHub issueExpected Behavior
Stacked bar charts with border radius should only be applied to the uppermost element or lowermost element in case of negative value.
Current Behavior
Border radius is applied to every stacked element. Screenshot here
Steps to Reproduce
Set chart to bar, set border radius and set dataset to stack.
Context
I can’t use this feature because it doesn’t look good enough.
Environment
- Chart.js version:
- Browser name and version:
- Link to your project:
Chrome 89.0.4389.114 (64 bits) Chart.js v3.1.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Overlapping and rounded stack in stacked column graph in ...
The problem with the column 2015 is that I am not able to add border radius to the top-left and top-right corners alone....
Read more >Rounded corners on stacked bar chart · Issue #23 - GitHub
Any chance to see this working on stacked bar charts? Currently the rounded corners are applied to the bottom bar as well.
Read more >How to Add Border Radius on Each Stacked Bar Chart in ...
How to Add Border Radius on Each Stacked Bar Chart in Chart JSIn this video we will explore how to add border radius...
Read more >How to Create Rounded Bars Including Bottom in Chart JS
The chart.js-rounded- bar - charts namespace will not work out of the box as expected. Using the borderRadius gives you slightly different ......
Read more >Allow specifying borderRadius for individual corners –
'Border radius' on a column chart currently affects all 4 corners of a column identically. Please, could we have the ability to set ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes it indeed does have the chart, my bad looked over it in the console log
Here’s a version that works more broadly, but if has some caveats.
dataset.order
propertyhttps://jsfiddle.net/b4haynxc/