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
Limit Decimal Places / Precision in Y-Axis #2759
Comments
Since you have only a single series with no change, the auto detection of series min/max becomes very narrow compared to the scale of the series which causes the auto decimal precision to be out of wack. You can fix it by specifying a Grid Min value |
Thanks, and yes - that would be a work around. Controlling the decimal places shown would be handy for other scenarios too - eg for tracking integer values (write failures, visitor counts, etc) - where there's no point in having an axis that shows fractions. |
Just encountered the same situation in Grafana 2.5, and although @torkelo workaround works, it would be nice if the Decimal selection for the legend would also work on the Y-axis. |
+1 - not sure how to set the minimum grid level - I see setting the min/max Y, but I don't want to do that as the value might change (eg today it's hovering steady at 1MB and tomorrow it'll be steady at 10MB) |
Is it possible to have Y-axis with no decimals? I have a graph that is counting the number of connection attempts. So my values are like 0, 1, 2, 3, ... Decimal is irrelevant in this case. How can I make Y-axis show only integer numbers? |
is there any solution for that. we also have a y-axis just counting things. |
One workaround can bring to set your a axis min and max |
Also just want a count of objects in the y-axis, decimals have no meaning when you are counting whole items, such as server instances: Setting mix and max values doesn't help. The only thing which forces the alignment of values with whole numbers in the y-axis is setting the 'Scale' to 'log (base 2)': I don't believe that is the correct solution... |
solved by #6051 |
#6051 has nothing to do with decimal option |
You closed this issue with #2759 (comment) saying:
While it was not the 'solution', it appears to have been the work around while there was no solution? #8187 appears to be the actual solution, but it has not been released yet. |
@drewhemm did you ever figure it out? |
Having problems with this. Some plots have integers on the y axis. Some use decimals. All the settings appear to be the same. |
please explain it in detail |
Just put 0 in the field of decimal for y axis and apply |
It'd be great if there were a way to limit the precision of the Y-Axis. For some reason I randomly get behavior like the attached image with 15 digits after the decimal point.
I looked around at the other issues and the closest I can find is talking about doing this for the legend, which this isn't.
I'm running Grafana 2.1.3 (via RPM), the counter is from Graphite.
The text was updated successfully, but these errors were encountered: