Browse Source

Fixed styles in line chart

pull/8/head
Jason R. Coombs 14 years ago
parent
commit
fd851f97cb
  1. 2
      svg/charts/line.py

2
svg/charts/line.py

@ -107,7 +107,7 @@ class Line(Graph):
coord_format = lambda c: '%(x)s %(y)s' % c coord_format = lambda c: '%(x)s %(y)s' % c
for line_n, data in reversed(list(enumerate(self.data))): for line_n, data in reversed(list(enumerate(self.data, 1))):
apath = '' apath = ''
if not self.stacked: cum_sum = [-min_value]*len(self.fields) if not self.stacked: cum_sum = [-min_value]*len(self.fields)

Loading…
Cancel
Save