Diagram3D.VerticalScrollPercent Property

Gets or sets the amount by which to scroll vertically.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll


public double VerticalScrollPercent { get; set; }
Public Property VerticalScrollPercent As Double

Property Value

Type Description

A Double value that represents a scroll percentage. Should be within the range -100;100.


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 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
HorizontalScrollPercent_0 VerticalScrollPercent_minus10

For more information, refer to Zooming and Scrolling (2D XY-Charts) and Zooming and Scrolling (3D Charts).

See Also