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


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


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,

  • 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.