Merge branch 'develop' into feature/favoritecharts
This commit is contained in:
@@ -497,7 +497,7 @@ def interactive_chart(id=0,promember=0):
|
|||||||
TOOLS = 'pan,box_zoom,wheel_zoom,reset,tap,hover,crosshair'
|
TOOLS = 'pan,box_zoom,wheel_zoom,reset,tap,hover,crosshair'
|
||||||
|
|
||||||
|
|
||||||
columns = ['time','pace','hr']
|
columns = ['time','pace','hr','fpace','ftime']
|
||||||
datadf = dataprep.getsmallrowdata_db(columns,ids=[id])
|
datadf = dataprep.getsmallrowdata_db(columns,ids=[id])
|
||||||
row = Workout.objects.get(id=id)
|
row = Workout.objects.get(id=id)
|
||||||
if datadf.empty:
|
if datadf.empty:
|
||||||
@@ -554,7 +554,6 @@ def interactive_chart(id=0,promember=0):
|
|||||||
('Pace','@fpace'),
|
('Pace','@fpace'),
|
||||||
('HR','@hr{int}'),
|
('HR','@hr{int}'),
|
||||||
('SPM','@spm{1.1}'),
|
('SPM','@spm{1.1}'),
|
||||||
('Distance','@cumdist{1.1}'),
|
|
||||||
])
|
])
|
||||||
|
|
||||||
hover.mode = 'mouse'
|
hover.mode = 'mouse'
|
||||||
|
|||||||
Reference in New Issue
Block a user