Private
Public Access
1
0

menu entry for chart stack

This commit is contained in:
Sander Roosendaal
2020-11-05 22:28:12 +01:00
parent eaba32af98
commit f017df7d04
2 changed files with 12 additions and 5 deletions

View File

@@ -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"],