Skip to main content

Module view

Module view 

Source
Expand description

oa::plot::FigureView — interactive ViewerLiveSource for a retained Figure.

The view borrows only the bounded input/UI capabilities every ViewerLiveSource receives:

  • wheel scroll zooms about the pointer’s data position;
  • left-drag pans the axes under the press;
  • Shift+left-drag box-zooms into the selection;
  • double-click or R restores the limits recorded before interaction;
  • clicking a legend row toggles that artist’s visibility;
  • the crosshair reports data coordinates and snaps a tooltip to the nearest recorded sample.

View transitions animate over Ui’s motion speed. All view math runs in display space — logarithmic axes pan and zoom on transformed values and write back through the axis scale.

Structs§

FigureView
Interactive Figure presentation through Viewer live mode.
FigureViewState
Serializable snapshot of a FigureView’s per-axes view overrides.