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

Metric Plot y-limit #235

Closed
giesselmann opened this issue Jan 25, 2024 · 1 comment
Closed

Metric Plot y-limit #235

giesselmann opened this issue Jan 25, 2024 · 1 comment

Comments

@giesselmann
Copy link
Collaborator

Hi,
I think there's an issue with the y-limit of metric plots, given a config of some bandwith e.g.
"peak": 12.5, "normal": 0.5, "caution": 1, "alert": 2
The scaling of plots stops at around 5.
Looks like some hard limit to me. Haven't checked the code, but the y-axis limit should imo be either data dependent (expensive) or sth. like max(peak, 5*normal) + 10%

@spacehamster87
Copy link
Contributor

spacehamster87 commented Feb 12, 2024

HI there,

actually, you are, or better, were right: It was normal * 10 for the maxY value of metric plots, if values from the dataset reach values higher than that limit - Which is also the reason for your plot ending at a value of 5. Alas, we recently merged two pending pull requests, which changed the condition and the limit to peak * 10 (see here).

If this still causes problems with metric readout, feel free to re-open this ticket!

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