It would help to edit your post to include a minimum reproducible example (see this post: Please read: make it easier to help you), as it’s not currently clear what exactly is controlled by the slider, nor what you expect to happen when the slider is connected properly. There’s no need to post your actual data, but your minimal example should include generation of synthetic data.