Skip to content

Interface: LayoutXaxisRangeslider ​

Range slider (plan E5.9): an overview of all the data under the x axis, with a window over the range in view. Drag the window to pan, its ends to zoom, or click elsewhere to center the window there; the axis range changes with one relayout at the end of the drag. Y axes anchored to an axis with a range slider default to fixedrange: true, as in Plotly.

Indexable ​

ts
[key: `yaxis${number}`]: unknown

Further yaxis containers (yaxis10, …): the same attributes as yaxis, not type-checked.

Properties ​

PropertyTypeDefault valueDescription
autorange?booleanundefinedSpan every data point of the axis (its autorange, whatever the axis range in view). Defaults to true unless a full range is given.
bgcolor?stringundefinedBackground of the slider. Defaults to plot_bgcolor.
bordercolor?string"#444"Border color of the slider.
borderwidth?number0Border width of the slider, px. Minimum: 0
range?readonly unknown[]undefinedRange the slider spans, in data units, like the axis range (dates on date axes, exponents on log axes). The slider always covers the axis range in view as well.
thickness?number0.15Height of the slider as a fraction of the figure height minus margin.t and margin.b. The bottom margin grows to make room for it. Range: 0 – 1
visible?booleanundefinedShow the range slider. Defaults to true when rangeslider is given (rangeslider: {} is enough) or the axis has an ohlc or candlestick trace, else false.
yaxis?LayoutXaxisRangesliderYaxisundefinedThumbnail y range per y axis: yaxis for the subplot on y, yaxis2 for y2, … (one thumbnail per subplot on this x axis, drawn over each other).
yaxis2?LayoutXaxisRangesliderYaxisundefinedSubplot y2: the same attributes as yaxis.
yaxis3?LayoutXaxisRangesliderYaxisundefinedSubplot y3: the same attributes as yaxis.
yaxis4?LayoutXaxisRangesliderYaxisundefinedSubplot y4: the same attributes as yaxis.
yaxis5?LayoutXaxisRangesliderYaxisundefinedSubplot y5: the same attributes as yaxis.
yaxis6?LayoutXaxisRangesliderYaxisundefinedSubplot y6: the same attributes as yaxis.
yaxis7?LayoutXaxisRangesliderYaxisundefinedSubplot y7: the same attributes as yaxis.
yaxis8?LayoutXaxisRangesliderYaxisundefinedSubplot y8: the same attributes as yaxis.
yaxis9?LayoutXaxisRangesliderYaxisundefinedSubplot y9: the same attributes as yaxis.

Released under the MIT License.