fix bug in r12705
svn: r12759
This commit is contained in:
parent
dddcb10dd3
commit
40d0605a63
@ -555,9 +555,9 @@ class StatisticsChart(Report):
|
|||||||
for data in self.data:
|
for data in self.data:
|
||||||
self.doc.start_page()
|
self.doc.start_page()
|
||||||
if len(data[2]) < self.bar_items:
|
if len(data[2]) < self.bar_items:
|
||||||
self.output_piechart(data[:4])
|
self.output_piechart(*data[:4])
|
||||||
else:
|
else:
|
||||||
self.output_barchart(data[:4])
|
self.output_barchart(*data[:4])
|
||||||
self.doc.end_page()
|
self.doc.end_page()
|
||||||
self.progress.step()
|
self.progress.step()
|
||||||
self.progress.close()
|
self.progress.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user