SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & 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.
I would like to restrict the chart to cap at the extents while panning, but chart stretches at the extents. I could able to set clip mode for X axis in SCIZoomPanModifier, same way I would like to set clip mode Y axis but I couldn’t.
Please help me to restrict my chart to not move after chart data extents.
That’s not supported out of the box, and the reason is quite simple – to achieve such functionality you would need to calculate min\max value throughout all your data, which is performance expensive. With X axis it’s much simpler, value is most of the time sorted in X direction, which simplifies this procedure a lot, you just have your min\max easily calculated by grabbing first and list element from the list.
You might want to write custom ZoomPanModifier which would support such behaviour, and we have an article about how to write custom modifiers here.
Hope that helps.
Please login first to submit.