Fixed interactive_chart
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'
|
||||
|
||||
|
||||
columns = ['time','pace','hr']
|
||||
columns = ['time','pace','hr','fpace','ftime']
|
||||
datadf = dataprep.getsmallrowdata_db(columns,ids=[id])
|
||||
row = Workout.objects.get(id=id)
|
||||
if datadf.empty:
|
||||
@@ -554,7 +554,6 @@ def interactive_chart(id=0,promember=0):
|
||||
('Pace','@fpace'),
|
||||
('HR','@hr{int}'),
|
||||
('SPM','@spm{1.1}'),
|
||||
('Distance','@cumdist{1.1}'),
|
||||
])
|
||||
|
||||
hover.mode = 'mouse'
|
||||
|
||||
Reference in New Issue
Block a user