Skip to content
Snippets Groups Projects
Commit 9b7b1bc1 authored by ale's avatar ale
Browse files

stacked graph attempt / 3

parent 79f935cc
Branches
No related tags found
No related merge requests found
......@@ -31,8 +31,12 @@ _palette = ['ffa07a',
def _mk_stacked_graph(chart, valuelist):
n = len(valuelist[0])
if valuelist:
n = len(valuelist[0])
else:
n = 1
v0 = [0] * n
chart.add_data(v0)
for j, values in enumerate(valuelist):
for i, v in enumerate(values):
if v:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment