Private
Public Access
1
0

Merge tag 'v1.55' into develop

fixed flex chart bug
This commit is contained in:
Sander Roosendaal
2017-03-12 22:21:26 +01:00

View File

@@ -1192,12 +1192,12 @@ def interactive_flex_chart2(id=0,promember=0,
try:
rowdata['x1'] = rowdata.ix[:,xparam]
except KeyError:
rowdata['x1'] = 0*rowdata.ix[:,1]
rowdata['x1'] = 0*rowdata.ix[:,'time']
try:
rowdata['y1'] = rowdata.ix[:,yparam1]
except KeyError:
rowdata['y1'] = 0*rowdata.ix[:,xparam]
rowdata['y1'] = 0*rowdata.ix[:,'time']
tseconds = rowdata.ix[:,'time']
@@ -1205,7 +1205,7 @@ def interactive_flex_chart2(id=0,promember=0,
try:
rowdata['y2'] = rowdata.ix[:,yparam2]
except KeyError:
rowdata['y2'] = rowdata.ix[:,yparam1]
rowdata['y2'] = 0*rowdata.ix[:,'time']
else:
rowdata['y2'] = rowdata['y1']