SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

Hello,
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.

Images
  • You must to post comments
0
0

Hi Jan,

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?

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.