Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

Step Slider Starting Position On Right Side?

Is it possible to have the slider position start on the furthest side? This is a time series so I want it to show the most recent data and then let you remap older years.

2016 is my first “visible” year in the code.

It is incorrectly placed on 2000 when it is displaying 2016 data. Here’s what it defaults to:

It displays correctly when on 2016.

See https://plot.ly/javascript/reference/#layout-sliders-active

1 Like

Thanks! Would be great if in a future update a -1 index would set it on the right side.