✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Slider Order Reversible?

Is it possible to reverse the order of a vertical slider so that the smallest value is at the top and the largest value at the bottom? Attached is the default output with the smallest number at the bottom of the slider.

Vertical Slider

Hi @Bw984

Something like this might work:

            marks={i:{'label' :str(i), 'style':{'transform': 'rotate(180deg)'}} for i in range(11)},
        ), style={'transform': 'rotate(180deg)'}

That almost works with the dcc.RangeSlider. It looks exactly as it should but when you mouse over and grab the top slider it actually moves bottom slider and when you grab the bottom slider it moves the top slider.


Haha - maybe you could get the user to turn the screen 180deg :upside_down_face: