Pre loader

Unwanted auto‑stretch of stacked columns in empty data range

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

Expected: While panning over x-axis, column width stays visually constant and empty data ranges remain visually empty.
Actual: When the visible x-axis range contains little or no data, stacked columns grow very wide to fill the available space.

Any ideas how to disable auto-stretch of columns?

Version
4.7.0
Images
  • You must to post comments
0
0

Yes, this is actually down to the behaviour of the SCIZoomPanModifier, which has a property clipModeX which defines how panning behaves when you react the edge of the X-Axis.

e.g. SCIClipMode_ClipAtExtents prevents panning outside the x-axis, whereas SCIClipMode_None allows panning outside.

In addition, setting clipModeTargetX = SCIClipModeTarget.MaximumRange, DataRange or VisibleRange limit further controls where you can pan to.

See more in the SCIZoomPanModifier documentation. I believe the default value for SCIClipMode is StretchAtExtents – which cause a zooming / stretch action when you reach the edge of the data.

Try that?

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.