SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
I have a question about SciScrollbar. In application I’m working with long length record and I want to manipulate with its visible range via scrollbar. There is a problem with small ranges, for example I have a record which is over 8 hours long and i want to set 5 minutes. Unfortunately the length of slider for 5 minutes is smaller than specified zoomlimit property value. If i explicitly set 5 minutes, it’s ok. But when I perform move by clicking on scrollbar area the length of slider is recalculated based on zoomlimit property and selected range is changed. Is there any way to avoid this recalculation? See attached pictures for better clarification.
It’s really difficult to do this. Consider your record of 8 hours (480 minutes) is on a chart 400 pixels wide. 1 pixel is therefore just over 1 minute. 5 pixels = 5 minutes.
Your scrollbar grips need to be 5 pixels wide to allow scrolling at this range, and its pretty difficult to grab them and drag them at this size.
We do allow you to set the minimum zoom on a scrollbar with the SciChartScrollbar.ZoomLimit property. If you set that to 2 then you can drag the grips 2 pixels apart.
Next, you can style the Scrollbar Grips to be really thin, so that you can actually grab them at this distance.
I know its a workaround, but maybe this helps?
Please login first to submit.