From fd851f97cbf8247a2c3fea27514368e73ec2e61b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 29 Mar 2011 23:46:43 -0400 Subject: [PATCH] Fixed styles in line chart --- svg/charts/line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)