components/plot/Plot#
selectFrequencyDisplayUnit#
Parameters#
| Parameter | Type |
|---|---|
state |
RootState |
Returns#
selectPlotConfig#
The plot config in effect; the project's copy only stands in until the preference is seeded.
Parameters#
| Parameter | Type |
|---|---|
state |
RootState |
Returns#
selectPlotSettingsById#
Parameters#
| Parameter | Type |
|---|---|
plotId |
string |
Returns#
(state) => PlotsSettings
PlotExtraConfig#
Custom config extensions supported by the D3FC plot provider.
Properties#
adaptiveDecimation?#
autoFitYOnXZoom?#
doubleClick?#
edits?#
referenceFrequencyHz?#
userDraw?#
xUnitsLabel?#
PlotProps#
Properties#
aspectRatio?#
bottomComponent?#
contourThreshold?#
Override the contour threshold multiplier (d3fc default 0.075). Higher
filters out low-level contours so peaks read more clearly in small
previews. Applied to type: 'contour' traces only.
data?#
extraConfig?#
extraLayout?#
headerElements?#
Extra elements injected into PlotFlipper's header toolbar (right side)
linesOnly?#
Force every trace to render lines-only (strips markers from saved trace settings). Used by small ambient previews like the cockpit live readout.
logX?#
logY?#
mergeWithRedux?#
noCaptureRoot?#
When true, omits data-plot-capture-root so a parent can provide it instead
noFlip?#
onClearOverlays?#
Returns#
void
onClick?#
Parameters#
| Parameter | Type |
|---|---|
event |
PlotlyClickEvent |
Returns#
void
onHover?#
Parameters#
| Parameter | Type |
|---|---|
event |
PlotlyHoverEvent |
Returns#
void
onRelayout?#
Parameters#
| Parameter | Type |
|---|---|
event |
Record<string, unknown> |
Returns#
void
onRendererUpdated?#
Fired after each renderer update, which can move the axes without a relayout event.
Parameters#
| Parameter | Type |
|---|---|
container |
HTMLElement |
Returns#
void
onUnhover?#
Returns#
void
onUserDraw?#
Fired when the user finishes a right-click+drag draw gesture (requires config.userDraw)
Parameters#
| Parameter | Type |
|---|---|
detail |
{ x0: number; x1: number; y0?: number; y1?: number; } |
detail.x0 |
number |
detail.x1 |
number |
detail.y0? |
number |
detail.y1? |
number |
Returns#
void
overlayGroupTitle?#
paddedHeight?#
plotId#
rapid?#
When true, disables useDeferredValue for rapid/streaming data updates
showHiddenTraces?#
Force every trace visible, ignoring visible: false from the handler
(e.g. 1D spectra hide Imag/Abs by default). Used by the cockpit readout
to show all components at a glance.
sideElement?#
Element rendered to the right of the plot content (e.g. action sidebar)
style?#
title#
xLabel?#
yLabel?#
PlotlyClickEvent#
Properties#
points#
x#
y#
PlotlyHoverEvent#
Properties#
points#
x#
y#
z?#
Plot#
Re-exports Plot