Diagram3D.VerticalScrollPercent Property

Gets or sets the amount by which to scroll vertically.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
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
HorizontalScrollPercent_0 VerticalScrollPercent_minus10

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

The following code snippets (auto-collected from DevExpress Examples) contain references to the VerticalScrollPercent property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also