diff --git a/rowers/interactiveplots.py b/rowers/interactiveplots.py index 45061f80..d88c71f1 100644 --- a/rowers/interactiveplots.py +++ b/rowers/interactiveplots.py @@ -4627,12 +4627,14 @@ def interactive_flexchart_stacked(id,r,xparam='time', plot4.xaxis.axis_label = xaxlabel + + xrange1 = Range1d(start=xaxmin,end=xaxmax) + plot1.x_range = xrange1 + plot2.x_range = xrange1 + plot3.x_range = xrange1 + plot4.x_range = xrange1 + if xparam == 'time': - xrange1 = Range1d(start=xaxmin,end=xaxmax) - plot1.x_range = xrange1 - plot2.x_range = xrange1 - plot3.x_range = xrange1 - plot4.x_range = xrange1 plot4.xaxis[0].formatter = DatetimeTickFormatter( hours = ["%H"], minutes = ["%M"], diff --git a/rowers/templates/menu_workout.html b/rowers/templates/menu_workout.html index a1d3eab9..0de063d9 100644 --- a/rowers/templates/menu_workout.html +++ b/rowers/templates/menu_workout.html @@ -78,6 +78,11 @@  Flex Chart +
  • + +  Chart Stack + +
  • {% if workout|water %}