SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

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.

0
0

Hi,

Is there a way to add an option to enable/disable scaling on the X-axis for the ZoomPanModifier? If not, is there a way to disable the scaling when panning beyond the min and max of the X-Axis?

Thanks,

Johnny

  • You must to post comments
0
0

Hi Johnny,

I’m not sure I understood you correctly, but you can control ZoomPanModifier’s scaling behavior via the ZoomExtentsY property (scaling in Y direction) and the ClipModeX property(determines pan behavior on the edges, can apply values from the ClipMode enumeration).

ClipMode Enumeration Values

  • ClipAtExtents: ClipAtExtents forces the panning operation to stop suddenly at the extents of the data
  • ClipAtMax: ClipAtMax forces the panning operation to stop suddenly at the maximum of the data, but expand at the minimum
  • ClipAtMin: ClipAtMin forces the panning operation to stop suddenly at the minimum of the data, but expand at the maximum
  • None: ClipMode.None means you can pan right off the edge of the data into uncharted space.
  • StretchAtExtents: ClipMode.StretchAtExtents causes a zooming (stretch) action when you reach the edge of the data.

Please, let us know if it helps you to configure ZoomPanModifier’s behavior properly.

Best regards,
Yuriy

  • johnnyp112
    ClipModeX="None" was what I needed.Thanks Yuriy!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.