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

Timeseries "No value" from standard options leaks into Y-axis when decimals are set to 0 #87895

Open
Mihaylov93 opened this issue May 15, 2024 · 0 comments

Comments

@Mihaylov93
Copy link

Mihaylov93 commented May 15, 2024

What happened?

I have integer data that can't be fractional so I use the Decimals field from Standard Options set to 0. This removes the decimals from the Y-Axis, however, if you also use the No value option, whatever value you use there leaks into the Y-Axis

image

What did you expect to happen?

I expected the Y-Axis to not show fractions and the no value to work for the chart data/tooltip only, instead leaking into the Y-Axis

Did this work before?

No, also happened in 9.4.7

How do we reproduce it?

  1. Add a visualization (Default, Grafana datasource, Random walk query)
  2. Rescale the chart (Making it bigger or smaller) until decimals on the Y-Axis are shown if not seen by default.
  3. Limit the Decimals to 0 from Standard Options
  4. Set no value to any value from Standard Options
  5. The value set will be present on the empty spaces of the Y-Axis where decimals were rendered before setting decimals=0

image
image
image

Is the bug inside a dashboard panel?

The "Get help" feature. doesn´t reproduce the issue.

Environment (with versions)?

Grafana: Grafana v10.4.1 (d94d597)
OS: 6.6.30-2-MANJARO
Browser: Chrome 109.0.5414.74 (Official Build) (64-bit) and Firefox 125.0.3 (64-bit)

Grafana platform?

Docker

Datasource(s)?

No response

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

1 participant