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

#41: Add container element to fix behaviour in responsive mode #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZeiP
Copy link

@ZeiP ZeiP commented May 19, 2019

As mentioned in #41, the width and height attributes work poorly without a container element around the canvas, this is also mentioned in https://www.chartjs.org/docs/latest/general/responsive.html#important-note. This PR makes chartjs-ror create an container element for the canvas to fix this behaviour.

ZeiP added a commit to ZeiP/tracks that referenced this pull request Jun 27, 2019
…applied. Adds a container around each chart allowing to enable responsivity and get a less fuzzy chart.
mattr- added a commit to TracksApp/tracks that referenced this pull request Nov 13, 2019
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