Pre loader

AutoRange conflicts with ZoomExtents, but AxisDrag works

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

Afternoon gurus, I’m currently playing around with the various modifiers that’re available and I’ve noticed something odd keeps happening. When I modify the axes of a series with the drag modifier DragMode.Scale, the ZoomExtents modifier for that series stops working. DragMode.Pan doesn’t produce the same issue, it zooms just fine. Is this a known issue or am I creating it with my code? For clarification, the drag modifier starts with IsEnabled = False and ZoomExtents works just fine.

  • You must to post comments
0
0

Hi,

I’m not sure if you are aware of this behavior: if you have AutoRange=”Always” on an axis and scale it via the axis dragging, then ZoomExtents doesn’t work. It is because AxisDragModifier scales the axis in such cases changing its GrowBy. You can observe this behavior in our StockChart examples(YAxis has AutoRange=”Always” by default).

Best regards,
Yuriy

  • rcannon
    That's the issue I was having. I forget that the GrowBy settings exists because I never use them, but it fully explains the issues I was having. Thank you Yuriy.
  • 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