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

Creating 100% Width Pies no longer seems possible #3291

Closed
quoo opened this issue Jul 24, 2014 · 1 comment
Closed

Creating 100% Width Pies no longer seems possible #3291

quoo opened this issue Jul 24, 2014 · 1 comment

Comments

@quoo
Copy link

quoo commented Jul 24, 2014

With previous versions of highcharts, it was possible to modify the settings so that the pie was the width of the div it was placed in. With the current settings, it does not seem possible.

I am setting marginLeft, marginRight, spacingLeft, spacingRight all to zero, tried setting the pie size to 100%, and also disabling the pie hover, as well as the data labels, see the JSFiddle for details.

JSFiddle:
http://jsfiddle.net/xV8PM/

Related StackOverflow showing the old solution and notes regarding it not working anymore:
http://stackoverflow.com/questions/11735306/highcharts-make-the-pie-chart-100-of-the-div

@TorsteinHonsi
Copy link
Collaborator

It is possible, just set margin and slicingOffset to 0: http://jsfiddle.net/highcharts/xV8PM/2/

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