Skip to content

Display Builder Plot Compatibility

Kay Kasemir edited this page May 4, 2020 · 6 revisions

The Display Builder provides several plot widgets:

  • XYPlot for waveforms
  • Stripchart and Data Browser for scalar PVs over time

The BOY XYGraph widget implemented both functionalities, but which one it actually performed would often depend on the data type of the PV, which is only known at runtime.

When opening a display, or when bulk-converting displays offline, the PV data type is unknown. The Display Builder thus converts most BOY plots into XYPlot widgets. Such displays likely require manual editing to adjust details, and/or to replace the plot with a Stripchart or Data Browser widget.

buffer_size

The legacy XYGraph widget traces had a buffer size property. To display waveform PVs, it needed to be set to the waveform size, often done via scripts. This is no longer necessary because the XYPlot automatically uses the actual waveform data. Legacy scripts that try to set the buffer size will fail, but such failures can usually be ignored.