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?
- Paweł Gleń asked 1 month ago
- last edited 1 month ago
- You must login to post comments
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?
- Andrew Burnett-Thompson answered 1 month ago
- You must login to post comments
Please login first to submit.

