diff --git a/svg/charts/line.py b/svg/charts/line.py index 1891ef7..cd2ab64 100644 --- a/svg/charts/line.py +++ b/svg/charts/line.py @@ -107,7 +107,7 @@ class Line(Graph): 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 = '' if not self.stacked: cum_sum = [-min_value]*len(self.fields)