Logarithmic scale with minimum axis value renders incorrectly

Bug #1092568 reported by Campbell Stephenson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Graphite
Won't Fix
Undecided
Unassigned

Bug Description

Hi,

I am having a problem with version 0.9.10 of Graphite when applying a logarithmic scale (base 10) on the y axis and specifying a minimum value of 1 to the axis.

The series data has a value of about 42k and it renders correctly without the scale or the minimum value.

If I apply a minimum value of zero to the y-axis it renders correctly, but if I specify a minimum value of 1 Graphite chooses a maximum value of 40k so the series it not visible. I'm not too bothered about this but thought it was worth mentioning.

If I apply a logarithmic scale (base 10) on the y axis without a minimum set the series renders correctly but if I specify a minimum value of 1 the series is rendered below the 10k line which is incorrect.

Any help would be greatly appreciated,
Campbell

Revision history for this message
Campbell Stephenson (campbell-stephenson) wrote :
Revision history for this message
Martin Carlsen (jakabov-launchpad) wrote :

This issue crops up even without without a y-axis minimum:

To reproduce: specify these params to the render api: &target=removeBelowValue(sinFunction("1000*sin(x)",1000),1)&logBase=10

Expected output: a graph with maximum value rendered at 1000

Actual output: maximum value is rendered between 100 and 1000 on the y axis.

It appears that the labels on the y-axis are not aligned correctly with the grid and the rendered data.

Revision history for this message
Michael Leinartas (mleinartas) wrote :
Changed in graphite:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.