Hello,
I have added a scroller to a chart but the slider width is longer than the scroller. I have tried setting the slider.bounds.width property but it doesnt change the length of the slider when it renders.
Thanks
How to set slider size in a Tee.Scroller
-
- Newbie
- Posts: 28
- Joined: Thu Apr 06, 2023 12:00 am
Re: How to set slider size in a Tee.Scroller
Hello,
The size of the band at startup relates to the Chart's Bottom Axis minimum and maximum values.
Setting the bottom axis' range sets the scroller slider size.
eg.
Please use this page for reference, the code is included in the page:
https://www.steema.com/files/public/tee ... roller.htm
Regards,
Marc Meumann
The size of the band at startup relates to the Chart's Bottom Axis minimum and maximum values.
Setting the bottom axis' range sets the scroller slider size.
eg.
Code: Select all
Chart1.axes.bottom.setMinMax(DesiredSiderStartValue, DesiredSiderEndValue);
https://www.steema.com/files/public/tee ... roller.htm
Regards,
Marc Meumann
Steema Support