Setting initial active slider step to something else than 0 does not update the chart
See original GitHub issueWe have a grouped bar chart where each group consists of two or three bars. If a bar is above a certain threshold, we color it different than the others. There may be up to 1000 bar groups, but we only display 32 at once. For this purpose, we use a slider to allow the user to pan the chart horizontally. So far, so good.
We have the requirement to automatically jump to the first bar group that is beyond the mentioned threshold. For this purpose, we calculate in which bar group the first bar resides, then detect the corresponding range and set the active property to its index. This move the slider to the correct position, but does not update the view. In fact, the view still remains at the first slider position.
As MCVE, one can use the Basic Slider example from the docs (https://plot.ly/javascript/sliders/#basic-slider). The slider is set to red by default, but the line color is blue. One has to select a different slider position first and then select red afterwards to actually get a red line instead of a blue one.

Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)

Top Related StackOverflow Question
Has there been any update on this issue about a starting frame other than 0?
I still have this issue, even with 0’th frame. I set my title in slider and unless I move the slider, I don’t get a title.