SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
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.
My x axis is SCICategoryDateTimeAxis class type. And it’s limited by VisiableRangeLimit like:
[xAxis setVisibleRangeLimit:[[SCIDoubleRange alloc] initWithMin:SCIGeneric(firstItem – (lastItem – priorItem))
Max:SCIGeneric(lastItem + (lastItem – priorItem))]];
Also for scrolling my content inside chart:
SCIZoomPanModifier * zpm = [[SCIZoomPanModifier alloc] init]; [zpm setModifierName:@"PanZoom Modifier"]; [zpm setClipModeX:SCIZoomPanClipMode_ClipAtExtents];
Like a description SCIZoomPanClipMode_ClipAtExtents says:
“forces the panning operation to stop suddenly at the extents of the data” – but it’s not working constantly.
Sometimes it’s allow to scroll outside the range. Like on the attached image.
So my question is how to limit scrolling by min and max value?
Please login first to submit.