Private
Public Access
1
0

adding title to Pie chart

This commit is contained in:
Sander Roosendaal
2018-05-16 15:53:28 +02:00
parent 80b821a41d
commit 5d7aa41a14

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:
@@ -1005,6 +1006,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)