Skip to content
New issue

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

Feature request: Rounded corners for bar chart #2226

Open
ivarkallejarv opened this issue Nov 15, 2017 · 4 comments
Open

Feature request: Rounded corners for bar chart #2226

ivarkallejarv opened this issue Nov 15, 2017 · 4 comments

Comments

@ivarkallejarv
Copy link

Because C3 uses path elements to draw the bars in a bar chart, it would be great to have some option to have rounded corners, because otherwise it'd have to be done with D3 separately after the chart has rendered.

@amitozdeol
Copy link

Here's how it's done using SVG properties - http://jsfiddle.net/5hzxegxx/2/

@ivarkallejarv
Copy link
Author

Thank you for the link, however since that's basically hijacking the c3 path drawing functionality, then isn't that almost a complete pull request.
So instead of having to do it in a 'hacky' way, it'd be better to include this and optimize it where necessary

@chasturansky
Copy link

Anyway to additionally add in stacked bar charts to that. It seems like the example only handles only bar charts and only positive numbers.

@rishisundar
Copy link

rishisundar commented Sep 1, 2023

Bumping this issue. Would be great if we can get this functionality without resorting to hacky solutions.
@ivarkallejarv did you find any solutions for this? Can you please apply corresponding labels to this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants