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

fix(ui): extend the y-axis when stacked line option is selected #16376

Merged
merged 2 commits into from
Jan 2, 2020

Conversation

TCL735
Copy link
Contributor

@TCL735 TCL735 commented Dec 31, 2019

Closes #16111

When "Stacked" is selected, we ask giraffe to calculate the data for the y-axis. Then we memoize this result to prevent the graph from infinitely re-rendering itself from useVisDomainSettings

@@ -131,7 +131,7 @@
"dependencies": {
"@influxdata/clockface": "1.1.0",
"@influxdata/flux-parser": "^0.3.0",
"@influxdata/giraffe": "0.16.11",
"@influxdata/giraffe": "0.17.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

Moving on up!

@TCL735 TCL735 force-pushed the fix_16111_extend_y_axis branch from eb73175 to ab90b8e Compare January 2, 2020 17:46
@TCL735 TCL735 merged commit 8780bd2 into master Jan 2, 2020
@TCL735 TCL735 deleted the fix_16111_extend_y_axis branch January 2, 2020 18:12
alexpaxton pushed a commit that referenced this pull request Jan 9, 2020
* fix(ui): extend the y-axis when stacked line option is selected

* chore: update CHANGELOG
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.

Stacked lines don't extend y-axis range
2 participants