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

Bug 1661665 - Backport fix wrong Y-axis range for stacked bar chart (#5029) #1012

Merged
merged 1 commit into from
Aug 28, 2020

Conversation

jezdez
Copy link

@jezdez jezdez commented Aug 28, 2020

  • Stacked bar chart with manually set Y-axis min is cut on top getredash/redash#5026 Fix wrong Y-axis range for stacked bar chart

  • Update tests

  • Use Plotly's built-in algorinthm to compute Y-axis range

  • Update tests

  • Revert previous solution (yRange-related code)

  • Revert other unrelated changes

  • Revert other unrelated changes

  • Move chart rendering to own file and ensure that rendering steps will occur in necessary order

  • Reduce amount of plot updates by mergin separate updates into a sigle cumulative update

  • Give better names for several functions

This is just a backport from upstream to fix https://bugzilla.mozilla.org/show_bug.cgi?id=1661665.

* getredash#5026 Fix wrong Y-axis range for stacked bar chart

* Update tests

* Use Plotly's built-in algorinthm to compute Y-axis range

* Update tests

* Revert previous solution (yRange-related code)

* Revert other unrelated changes

* Revert other unrelated changes

* Move chart rendering to own file and ensure that rendering steps will occur in necessary order

* Reduce amount of plot updates by mergin separate updates into a sigle cumulative update

* Give better names for several functions
@jezdez jezdez changed the title Bug 1661665 - Backpoirt fix wrong Y-axis range for stacked bar chart (#5029) Bug 1661665 - Backport fix wrong Y-axis range for stacked bar chart (#5029) Aug 28, 2020
@jezdez jezdez requested review from emtwo and robhudson August 28, 2020 13:28
Copy link

@emtwo emtwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Thanks for looking into this!

@jezdez jezdez merged commit 963ee5f into master Aug 28, 2020
@jezdez jezdez deleted the m30.1-hotfix branch August 28, 2020 14:47
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.

3 participants