Skip to content

Interface: SubplotMirrorOptions ​

Experimental

Where and how a SubplotMirror draws: its viewport rect and the linear ranges of its x and y axes (the traces' own linear space, so a range slider passes the linear range of its span).

Properties ​

PropertyModifierTypeDescription
background?readonlyreadonly [number, number, number, number] | nullExperimental Background painted under the traces (sRGB 0–1), or null (default) for none.
order?readonlynumberExperimental Draw order among mirrors (lower first). Mirrors draw after every subplot, before the overlay.
rectreadonlyReadonly<ViewportRect>Experimental Viewport rect in container px (top-left origin); the mirror clips to it.
xreadonlyreadonly [number, number]Experimental Linear x range drawn across rect.width (left to right).
yreadonlyreadonly [number, number]Experimental Linear y range drawn across rect.height (bottom to top).

Released under the MIT License.