Table of Contents

Method DrawPlot

Namespace
OpenEphys.EphysVisualization.Design
Assembly
OpenEphys.EphysVisualization.Design.dll

DrawPlot(Vector2, int, bool)

Draws the waveform plot at the cursor, or the fault in its place.

protected void DrawPlot(Vector2 size, int hoveredChannel = -1, bool keysElsewhere = false)

Parameters

size Vector2

The size of the plot in pixels. A component of zero or less fills the space left in that direction, as ImGui sizes a child window.

hoveredChannel int

The channel hovered elsewhere, such as on a probe, or -1 for none. It is drawn as one under the pointer is, and not scrolled to.

keysElsewhere bool

Whether the pointer is over a pane beside the plot that answers keys of its own, such as a probe, so the plot leaves its keys to it, all but Space, Q, E and X, which pause and act on the selected channel the pane can select too. Elsewhere in the window, the control strip included, the plot answers its keys.