Pre loader

Clip mode in Y axis

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

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.

Thanks,
Vadivel Muniswamy.

Version
2.0
  • You must to post comments
0
0

Hello Vadivel,

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.

Best Regards,
Nazar

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies