# Change the slider selected region shown by the color

**URL:** <https://discuss.streamlit.io/t/change-the-slider-selected-region-shown-by-the-color/20862>\
**Category:** Using Streamlit\
**Tags:** slider\
**Created:** [January 12, 2022, 8:43am UTC](https://discuss.streamlit.io/t/change-the-slider-selected-region-shown-by-the-color/20862 "2022-01-12T08:43:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sumit\_Chaudhary](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/sumit_chaudhary/32/12631_2.png) [@Sumit\_Chaudhary](https://discuss.streamlit.io/u/Sumit_Chaudhary)\
**Post date:** [January 12, 2022, 8:43am UTC](https://discuss.streamlit.io/t/change-the-slider-selected-region-shown-by-the-color/20862/1 "2022-01-12T08:43:55Z")

</div>

In my project,  
I have used sliders for data filtering purposes. These sliders have textual values, therefore the left extreme is undesired value while the right extreme is the desired value. Therefore, when such sliders are moved, the expectation is to color the region between the knob and right extreme. However, the default behavior is reversed. Any ideas how to do it?

 ![image](https://global.discourse-cdn.com/streamlit/original/2X/e/eaa52c61e3edada12526d1e7f40c5635169b8c97.png)

---

<div class="post-metadata">

**Author:** ![Sumit\_Chaudhary](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/sumit_chaudhary/32/12631_2.png) [@Sumit\_Chaudhary](https://discuss.streamlit.io/u/Sumit_Chaudhary)\
**Post date:** [January 13, 2022, 8:23am UTC](https://discuss.streamlit.io/t/change-the-slider-selected-region-shown-by-the-color/20862/2 "2022-01-13T08:23:37Z")

</div>

@thiago any leads?

---

<div class="post-metadata">

**Author:** ![rezvan](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/rezvan/32/18154_2.png) [@rezvan](https://discuss.streamlit.io/u/rezvan)\
**Post date:** [August 30, 2022, 3:22pm UTC](https://discuss.streamlit.io/t/change-the-slider-selected-region-shown-by-the-color/20862/3 "2022-08-30T15:22:09Z")

</div>

@Sumit_Chaudhary  
Have you found a solution?  
Thanks

---

<div class="post-metadata">

**Author:** ![Sumit\_Chaudhary](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/sumit_chaudhary/32/12631_2.png) [@Sumit\_Chaudhary](https://discuss.streamlit.io/u/Sumit_Chaudhary)\
**Post date:** [August 30, 2022, 5:04pm UTC](https://discuss.streamlit.io/t/change-the-slider-selected-region-shown-by-the-color/20862/5 "2022-08-30T17:04:23Z")

</div>

Nopes.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [August 30, 2023, 5:04pm UTC](https://discuss.streamlit.io/t/change-the-slider-selected-region-shown-by-the-color/20862/6 "2023-08-30T17:04:27Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
