Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix areaMode=stacked with drawAsInfinite()

Another messy edge case. Closes #31
  • Loading branch information...
commit c202191cda99698ead01ebae9e58d8887136433b 1 parent 8ecbe10
@mleinart mleinart authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  webapp/graphite/render/
2  webapp/graphite/render/
@@ -771,6 +771,8 @@ def drawLines(self, width=None, dash=None, linecap='butt', linejoin='miter'):
if self.areaMode == 'stacked' and not self.secondYAxis: #TODO Allow stacked area mode with secondYAxis
total = []
for series in
+ if 'drawAsInfinite' in series.options:
+ continue
for i in range(len(series)):
if len(total) <= i: total.append(0)
Please sign in to comment.
Something went wrong with that request. Please try again.