Skip to content

Conversation

@zenmedia
Copy link

After implementing the d3pie plugin we found that on smaller screens the pie graph was cut off. I have added the attributes preserveAspectRatio and viewBox to the SVG element to allow for the pie graph to be responsive and resize accordingly.

Added preserveAspectRatio and viewBox to the SVG element to allow for responsive changes.
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

Successfully merging this pull request may close these issues.

1 participant