# Step Slider Starting Position On Right Side?

**URL:** <https://community.plotly.com/t/step-slider-starting-position-on-right-side/7558>\
**Category:** plotly.js\
**Created:** [January 4, 2018, 3:43am UTC](https://community.plotly.com/t/step-slider-starting-position-on-right-side/7558 "2018-01-04T03:43:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rainbowunicorn161](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@rainbowunicorn161](https://community.plotly.com/u/rainbowunicorn161)\
**Post date:** [January 4, 2018, 3:43am UTC](https://community.plotly.com/t/step-slider-starting-position-on-right-side/7558/1 "2018-01-04T03:43:54Z")

</div>

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:

 ![00 PM](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/e/e8f5c13ce3af6ebe8854f61d1e4ea839350638c0.jpg)

It displays correctly when on 2016.

 ![10 PM](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/c/c76416814609ed46b254cde08ee8b614eb8f9404.jpg)

---

<div class="post-metadata">

**Author:** ![etienne](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/etienne/32/17_2.png) [@etienne](https://community.plotly.com/u/etienne)\
**Post date:** [January 4, 2018, 4:06pm UTC](https://community.plotly.com/t/step-slider-starting-position-on-right-side/7558/2 "2018-01-04T16:06:36Z")

</div>

See [https://plot.ly/javascript/reference/#layout-sliders-active](https://plot.ly/javascript/reference/#layout-sliders-active)

---

<div class="post-metadata">

**Author:** ![rainbowunicorn161](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@rainbowunicorn161](https://community.plotly.com/u/rainbowunicorn161)\
**Post date:** [January 5, 2018, 12:36am UTC](https://community.plotly.com/t/step-slider-starting-position-on-right-side/7558/3 "2018-01-05T00:36:09Z")

</div>

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