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

Rounded corner for Bar chart #185

Closed
HiepVu511 opened this issue Aug 31, 2017 · 2 comments
Closed

Rounded corner for Bar chart #185

HiepVu511 opened this issue Aug 31, 2017 · 2 comments

Comments

@HiepVu511
Copy link

HiepVu511 commented Aug 31, 2017

Hi,
I did some google and find that if you want to make a Bar chart with rounded corner in Chartjs
, you will have to extend the default one.
So how can I do that with your awesome library ?

@apertureless
Copy link
Owner

Hey @HiepVu511

mh how would you normally do the rounded corners in chartjs?

@apertureless
Copy link
Owner

Okay, I saw this chartjs/Chart.js#3072

So it seems you would have to edit the global Chart.elements.Rectangle.prototype.draw = function()

However I think this is not possible right now as you don't have access to the Chart package inside the base class.

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

2 participants