flex chart bug fix
This commit is contained in:
@@ -2983,7 +2983,7 @@ def interactive_otwcpchart(powerdf,promember=0,rowername="",r=None,cpfit='data',
|
|||||||
watermarkh = 35
|
watermarkh = 35
|
||||||
watermarkanchor = 'bottom_right'
|
watermarkanchor = 'bottom_right'
|
||||||
plot.extra_y_ranges = {"watermark": watermarkrange}
|
plot.extra_y_ranges = {"watermark": watermarkrange}
|
||||||
plot.sizing_mode = 'stretch_both'
|
plot.sizing_mode = 'scale_both'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -3292,7 +3292,8 @@ def interactive_cpchart(rower,thedistances,thesecs,theavpower,
|
|||||||
watermarkh = 35
|
watermarkh = 35
|
||||||
watermarkanchor = 'bottom_right'
|
watermarkanchor = 'bottom_right'
|
||||||
plot.extra_y_ranges = {"watermark": watermarkrange}
|
plot.extra_y_ranges = {"watermark": watermarkrange}
|
||||||
plot.sizing_mode = 'stretch_both'
|
plot.sizing_mode = 'scale_both'
|
||||||
|
|
||||||
|
|
||||||
plot.image_url([watermarkurl],1.8*max(thesecs),watermarky,
|
plot.image_url([watermarkurl],1.8*max(thesecs),watermarky,
|
||||||
watermarkw,watermarkh,
|
watermarkw,watermarkh,
|
||||||
@@ -3479,7 +3480,7 @@ def interactive_windchart(id=0,promember=0):
|
|||||||
plot.xaxis.axis_label = "Distance (m)"
|
plot.xaxis.axis_label = "Distance (m)"
|
||||||
plot.yaxis.axis_label = "Wind Speed (m/s)"
|
plot.yaxis.axis_label = "Wind Speed (m/s)"
|
||||||
plot.y_range = Range1d(-7,7)
|
plot.y_range = Range1d(-7,7)
|
||||||
plot.sizing_mode = 'stretch_both'
|
plot.sizing_mode = 'scale_both'
|
||||||
|
|
||||||
|
|
||||||
plot.extra_y_ranges = {"winddirection": Range1d(start=0,end=360)}
|
plot.extra_y_ranges = {"winddirection": Range1d(start=0,end=360)}
|
||||||
@@ -6391,7 +6392,8 @@ def interactive_otw_advanced_pace_chart(id=0,promember=0):
|
|||||||
watermarkanchor = 'bottom_right'
|
watermarkanchor = 'bottom_right'
|
||||||
plot.extra_y_ranges = {"watermark": watermarkrange}
|
plot.extra_y_ranges = {"watermark": watermarkrange}
|
||||||
plot.extra_x_ranges = {"watermark": watermarkrange}
|
plot.extra_x_ranges = {"watermark": watermarkrange}
|
||||||
plot.sizing_mode = 'stretch_both'
|
plot.sizing_mode = 'scale_both'
|
||||||
|
|
||||||
|
|
||||||
plot.image_url([watermarkurl],watermarkx,watermarky,
|
plot.image_url([watermarkurl],watermarkx,watermarky,
|
||||||
watermarkw,watermarkh,
|
watermarkw,watermarkh,
|
||||||
|
|||||||
@@ -558,6 +558,7 @@ def cpdata(workouts, options):
|
|||||||
|
|
||||||
res = interactive_otwcpchart(powerdf,promember=True,rowername=rowername,r=r,
|
res = interactive_otwcpchart(powerdf,promember=True,rowername=rowername,r=r,
|
||||||
cpfit=cpfit,title=title,type=wtype)
|
cpfit=cpfit,title=title,type=wtype)
|
||||||
|
print('noot')
|
||||||
script = res[0]
|
script = res[0]
|
||||||
div = res[1]
|
div = res[1]
|
||||||
p1 = res[2]
|
p1 = res[2]
|
||||||
|
|||||||
Reference in New Issue
Block a user