-
Notifications
You must be signed in to change notification settings - Fork 19
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
Mobile responsive view #10
Comments
What size does it have problems at? The graph does get rather useless on mobile phones but should still be ok rotated on ipads etc |
Good question ! Based on stack overflow questions, it seems like the trick is to not set the width - but I haven't found any obvious place where the width is set in your project ... which is why I'm lost and I opened this issue ;) |
All the charts are initialised here https://github.com/dlmcpaul/EnphaseCollector/blob/master/src/main/resources/static/js/initialize.js I don't set a width but I do set a height which might not be needed anymore since I am using Bulma to handle layout. If I remove the height: 30% value from the charts it looks better at low sizes I think. I think it is a hangover from before flex layout when I wanted the chart to be 30% of the screen height. |
Should be fixed in 0.22 |
Hi David,
Firstly: thanks for providing this on github! this is very good and well done.
Now, I'm creating this issue because when viewing the resulting page on a mobile, the graph just does not work.
I gave a try at fixing it, but I'm really bad at frontend and got nowhere ...
If you have time for this, I'd really appreciate help ;)
The text was updated successfully, but these errors were encountered: