Sub-1.0 graph max

Asked by Kevin Blackham

I had this question pop up while having a beer with a fellow graphite adoptee, and could not find an answer other than to scale the results by 100 or whatnot. Can we set graph max to something less than 1.0? Example is time series data which is recorded as small fractions of a whole, such as 0.0254 per minute. It pretty much just renders as a line. Tweaking yMax doesn't do the trick.

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
chrismd (chrismd) said :
#1

Hm... what version of Graphite are you using? Since 0.9.8 the Y-axis labels for values less than 1 work great, previously it wouldn't show anything but 0, 0.25, 0.5, 0.75, 1.0 no matter what the values were. So if thats the behavior you're seeing I'd recommend updating to 0.9.8, it should properly scale & label the Y-axis for any value range.

Also note that in trunk there is now support for a logarithmic Y-axis, just add the logBase=10 (or whatever base you want) parameter to the query string.

Revision history for this message
Kevin Blackham (thekev.) said :
#2

I am on a trunk version. I'll need to check. The issue isn't labels though, it's the minimum y axis resolution. I get ticks at 0.2, 0.4 etc, but all the values are never more than 0.05 or something.

I'll give it another shot once I do my next refresh.

Can you help with this problem?

Provide an answer of your own, or ask Kevin Blackham for more information if necessary.

To post a message you must log in.