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

Make width of charts with and without y2 axis line up #16

Closed
ben-spiller opened this issue Jan 14, 2022 · 0 comments · Fixed by #15
Closed

Make width of charts with and without y2 axis line up #16

ben-spiller opened this issue Jan 14, 2022 · 0 comments · Fixed by #15
Labels
enhancement New feature or request

Comments

@ben-spiller
Copy link
Collaborator

Is your feature request related to a problem? Please describe the use case.
Many of the charts in overview.html have a 2nd (y2) axis, which takes up some space on the right of the chart... but others don't, and the different widths of the plot area make it hard to compare the same time across charts.

Describe the solution you'd like
The width of charts without a y2 axis should be reduced to match the width of the charts that do have it. BUT this needs to happen without breaking the automatic horizontal resizing to width.

We use the https://dygraphs.com/options.html# library for generating the charts. If someone could figure out how to do it in the HTML (perhaps in the attached sample file overview.html.txt ), adding it to the .py would be easy. Any HTML/JS/CSS experts out there want to have a go?

@ben-spiller ben-spiller added the enhancement New feature or request label Jan 14, 2022
ben-spiller added a commit that referenced this issue Jan 26, 2022
…l data onto the right-hand "y2" axis which makes such charts line up with charts that have two y axes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant