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
Feature Request: Y axis auto min/max that aligns min/max across many graphs #4156
Comments
can you describe more how the span would work ? How would it be implemented? |
There are a few options that might work, one limit could be left as auto (max or min) and the other could be a fixed offset from it (say y-max:auto y-min: max - 10) another option would be setting the max and min as relative to the average value (say y-max:avg + 10 y-min: avg - 10). |
I understand that this function is probably only useful for very few people. But I've been hacking on this a bit. And I've come up with something that works for me. The commit in my fork adds a Y-Span box to the Axes tab. Where X is a integer or float:
Any interest in a PR? |
👍 This would make me happy |
As my issue #11783 has been closed as a duplicate of this I wanted to see if somebody is working on this? The currently referenced PR's (#5720 and the (merged) refactor in #6051) only seem to deal with extending functionality of |
I'd also like to see this implemented |
+1 |
Implementation idea:
|
I would also like to see this feature, as I have the same problem as @thoj. We have multiple panels representing different statistical views (e.g. max vs 95th percentile), each panel containing the same metrics. We'd like to be able to visually discern the difference between these two statistics for any given metric, but that is not currently possible without hard-coding the Y axis on each panel to be the same. Since the range of values in these panels changes wildly based on the metrics involved (which are chosen using templates), hard-coding is not an option. I think @thoj's solution would be reasonable, as would @games130's first suggestion. |
Hello, another vote in favour of thisplease! Even if the y-axis box could accept a template variable that would be something, and using a custom templating variable to adjust the y-axis across multiple panels as needed. Perhaps even a type of variable that accepts a metric name, and uses it to obtain a max value, like in a singlestatpanel or legend? |
+1 on @games130 second suggestion. "Linking" multiple graphs so all these graphs end up with the same Min/Max. |
+1! |
+1 |
This will be so useful for us to highlight the differences across multiple charts! |
How about adding a simple "Share YAxis" setting to the "Repeating" section of general settings? That would solve my use case completely. (Separate checkbox for each Y axis might be handy.) |
+1 |
+1 |
+1 |
This would be very useful, as you could then visually appraise a set of data from their magnitude across a number of different charts, rather than being forced to either set fixed limits or combine into a single chart. This could work by inheriting a y-max/y-min from another panel. |
+1 |
Yes! |
This issue has been automatically marked as stale because it has not had activity in the last year. It will be closed in 30 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions! |
Still relevant. |
Hi, I am wondering if others would find it helpful to be able to configure the "Y-Span" in the Axes & Grid settings of the Graph panel? That is, in addition to specifying the Y-Max or Y-Min, there is a third box for selecting the "Y-Span". By specifying a span here, the panel is rendered using the span specified.
This would help alleviate the situation where two graphs are rendered with vastly different spans because one graph has a large gradual change in magnitude (graph A) and the other graph has a small change on a basically flat line (graph B). Generally, the eye would be drawn to the small change in graph B because the auto scale would make this look like a large change but when you look at the Y axis it becomes apparent the span is much smaller than graph A. If the "average" value of these two graphs is the same, then setting the Y-Max and the Y-Min would suffice. But if one graph is offset compared to the other, and that offset changes over time, then using Y-Max and Y-Min is not practical because you have to set the span so large as to make it difficult to see any changes. So, it would be preferable to view the two graphs with the same span.
The text was updated successfully, but these errors were encountered: