Interface: SubplotMirror
Experimental
A secondary view of one cartesian subplot's traces (M3 wave 2, E5.9). Each trace on the subplot gets a second TraceView from its module's plot.create, drawn into the mirror's viewport with the mirror's axes (same type, categories and range breaks as the subplot's, the mirror's ranges and length) and transform. The runtime updates the mirror views with the main views' update plans (data, style, selection), so they stay in step; set only changes transforms. Mirror views get no pointer events and are not hoverable. Traces that draw on several subplots (splom cells) are not mirrored.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
disposed | readonly | boolean | Experimental |
subplot | readonly | string | Experimental The mirrored subplot's id ('xy'). |
transform | readonly | | Readonly<DataTransform> | undefined | Experimental Linear coordinates → mirror viewport world px. |
viewport | readonly | Viewport | Experimental |
xaxis | readonly | AxisInfo | undefined | Experimental The mirror's axes (after the first placement). |
yaxis | readonly | AxisInfo | undefined | Experimental |
Methods
dispose()
dispose(): void;Experimental
Remove the viewport and free the mirror views.
Returns
void
set()
set(options): void;Experimental
Move the mirror or change its ranges: a transform update for the views, no uploads.
Parameters
| Parameter | Type |
|---|---|
options | SubplotMirrorOptions |
Returns
void