menu entry for chart stack
This commit is contained in:
@@ -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"],
|
||||
|
||||
@@ -78,6 +78,11 @@
|
||||
<i class="fas fa-chart-line fa-fw"></i> Flex Chart
|
||||
</a>
|
||||
</li>
|
||||
<li id="chart-stackedchart">
|
||||
<a href="/rowers/workout/{{ workout.id|encode }}/flexchartstacked/">
|
||||
<i class="fas fa-align-justify fa-fw"></i> Chart Stack
|
||||
</a>
|
||||
</li>
|
||||
{% if workout|water %}
|
||||
<li id="chart-map">
|
||||
<a href="/rowers/workout/{{ workout.id|encode }}/map/">
|
||||
|
||||
Reference in New Issue
Block a user