y axis log scale can't hangle zero values
Bug #925635 reported by
Geoff Flarity
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I realize the math issues, but it seems like there should be away to have a logarithmic scale with a zero value in the dataset. Maybe just ignore them?
Changed in graphite: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Here's the error given when a dataset with 0 is used.
Traceback (most recent call last): python2. 6/site- packages/ django/ core/handlers/ base.py" , line 100, in get_response python2. 6/site- packages/ graphite/ render/ views.py" , line 171, in renderView requestOptions[ 'graphClass' ], graphOptions) python2. 6/site- packages/ graphite/ render/ views.py" , line 349, in doImageRender **graphOptions) python2. 6/site- packages/ graphite/ render/ glyph.py" , line 178, in __init__ drawGraph( **params) python2. 6/site- packages/ graphite/ render/ glyph.py" , line 610, in drawGraph setupYAxis( ) python2. 6/site- packages/ graphite/ render/ glyph.py" , line 974, in setupYAxis 'Logarithmic scale specified with a dataset with a '
File "/usr/lib/
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/
image = doImageRender(
File "/usr/lib/
img = graphClass(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise GraphError(
GraphError: Logarithmic scale specified with a dataset with a minimum value less than or equal to zero