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

Improve responsiveness for the generated profile #53

Closed
bharatramnani94 opened this issue Dec 28, 2017 · 2 comments
Closed

Improve responsiveness for the generated profile #53

bharatramnani94 opened this issue Dec 28, 2017 · 2 comments

Comments

@bharatramnani94
Copy link

bharatramnani94 commented Dec 28, 2017

image

As the above screenshot clearly shows, there's a scope for improvement of the look of the profile, particularly for the mobile view. Currently the graph isn't big enough to view when the list of labels increase.

@tipsy
Copy link
Owner

tipsy commented Dec 28, 2017

Hi @bharatramnani94. I haven't done anything to the responsiveness offered by chartsjs. If you have any suggestions, please feel free to create a PR.

@bharatramnani94
Copy link
Author

Basically we need to make the chart responsive.
There are options to change the legend position (from left to bottom in our case). I think we need to check the width of the chart, and if it lies below a certain width (say 500px), we may update the position of the legend from right to bottom. Something like this:

Shift legend to bottom for small screens

I'm currently not in a situation to create a PR for this myself. I'll try to do that after few days.

@tipsy tipsy closed this as completed in ad311ca Jan 1, 2018
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