Explicitly enable chart widget yranging in display init
parent
5affad942f
commit
3d5695f40a
|
@ -923,8 +923,6 @@ class ChartPlotWidget(pg.PlotWidget):
|
||||||
# show background grid
|
# show background grid
|
||||||
self.showGrid(x=False, y=True, alpha=0.3)
|
self.showGrid(x=False, y=True, alpha=0.3)
|
||||||
|
|
||||||
# self.cv.enable_auto_yrange()
|
|
||||||
|
|
||||||
self.pi_overlay: PlotItemOverlay = PlotItemOverlay(self.plotItem)
|
self.pi_overlay: PlotItemOverlay = PlotItemOverlay(self.plotItem)
|
||||||
|
|
||||||
# indempotent startup flag for auto-yrange subsys
|
# indempotent startup flag for auto-yrange subsys
|
||||||
|
|
|
@ -1438,5 +1438,8 @@ async def display_symbol_data(
|
||||||
rt_linked.mode = mode
|
rt_linked.mode = mode
|
||||||
|
|
||||||
rt_chart.default_view()
|
rt_chart.default_view()
|
||||||
|
rt_chart.view.enable_auto_yrange()
|
||||||
hist_chart.default_view()
|
hist_chart.default_view()
|
||||||
|
hist_chart.view.enable_auto_yrange()
|
||||||
|
|
||||||
await trio.sleep_forever() # let the app run.. bby
|
await trio.sleep_forever() # let the app run.. bby
|
||||||
|
|
Loading…
Reference in New Issue