cumulative flex now also for OTW
This commit is contained in:
@@ -889,12 +889,14 @@ def interactive_chart(id=0,promember=0):
|
||||
def interactive_cum_flex_chart2(theworkouts,promember=0,
|
||||
xparam='spm',
|
||||
yparam1='power',
|
||||
yparam2='spm'):
|
||||
yparam2='spm',
|
||||
workstrokesonly=False):
|
||||
|
||||
# datadf = dataprep.smalldataprep(theworkouts,xparam,yparam1,yparam2)
|
||||
ids = [int(w.id) for w in theworkouts]
|
||||
columns = [xparam,yparam1,yparam2,'spm','driveenergy','distance']
|
||||
datadf = dataprep.getsmallrowdata_db(columns,ids=ids,doclean=False)
|
||||
datadf = dataprep.getsmallrowdata_db(columns,ids=ids,doclean=False,
|
||||
workstrokesonly=workstrokesonly)
|
||||
|
||||
try:
|
||||
tests = datadf[yparam2]
|
||||
@@ -1176,7 +1178,6 @@ def interactive_flex_chart2(id=0,promember=0,
|
||||
workstrokesonly=False):
|
||||
|
||||
|
||||
|
||||
#rowdata,row = dataprep.getrowdata_db(id=id)
|
||||
columns = [xparam,yparam1,yparam2,
|
||||
'ftime','distance','fpace',
|
||||
|
||||
Reference in New Issue
Block a user