Private
Public Access
1
0

Merge branch 'feature/pie' into develop

This commit is contained in:
Sander Roosendaal
2018-05-16 17:53:19 +02:00

View File

@@ -985,6 +985,7 @@ def handle_makeplot(f1, f2, t, hrdata, plotnr, imagename,
elif (plotnr == 2):
fig1 = row.get_metersplot_erg(t)
elif (plotnr == 3):
t += ' - Heart Rate Distribution'
fig1 = row.get_piechart(t)
elif (plotnr == 4):
if haspower:
@@ -997,6 +998,7 @@ def handle_makeplot(f1, f2, t, hrdata, plotnr, imagename,
else:
fig1 = row.get_metersplot_otw(t)
elif (plotnr == 6):
t += ' - Heart Rate Distribution'
fig1 = row.get_piechart(t)
elif (plotnr == 7) or (plotnr == 10):
fig1 = row.get_metersplot_erg2(t)
@@ -1005,6 +1007,7 @@ def handle_makeplot(f1, f2, t, hrdata, plotnr, imagename,
elif (plotnr == 9) or (plotnr == 12):
fig1 = row.get_time_otwpower(t)
elif (plotnr == 13) or (plotnr == 16):
t += ' - Power Distribution'
fig1 = row.get_power_piechart(t)
canvas = FigureCanvas(fig1)