Diagram3D.VerticalScrollPercent Property
Gets or sets the amount by which to scroll vertically.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public double VerticalScrollPercent { get; set; }
Property Value
Type | Description |
---|---|
Double | A Double value that represents a scroll percentage. Should be within the range -100;100. |
Remarks
The VerticalScrollPercent property indicates the distance by which the chart is moved from its central position (specified by the Diagram3D.DefaultScrollPercent constant). This is the percentage of the diagram’s height. The scrolling direction is defined by a positive or negative value.
Note
Note that too large a value for this property will cause the series to expand out of the diagram. In this case, it may be required to allow your end users to scroll the diagram manually, to see the entire series. To do this, enable the Diagram3D.RuntimeScrolling property.
The following images demonstrate the VerticalScrollPercent property in action.
VerticalScrollPercent = 0 | VerticalScrollPercent = -10 |
---|---|
For more information, refer to Zooming and Scrolling (2D XY-Charts) and Zooming and Scrolling (3D Charts).