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

Width/Height control #80

Closed
martinst1 opened this issue Nov 22, 2017 · 1 comment
Closed

Width/Height control #80

martinst1 opened this issue Nov 22, 2017 · 1 comment
Labels

Comments

@martinst1
Copy link

Hi guys thanks a lot for the cool library!
How do I actually set the width/height of the whole thing (I am using pie chart), there is a param height which only seems to affect the pie chart itself?

@pratu16x7
Copy link
Contributor

pratu16x7 commented Nov 22, 2017

@martinst1 It detects the width based on the parent, to keep them decoupled from the rendering. We'd recommend setting the width of the dedicated parent element itself. The settable height does only define that of the actual chart, as the rest of the elements (title, legend) are inflexible.

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

No branches or pull requests

3 participants