Diagram3D.HorizontalScrollPercent Property

Gets or sets the amount by which to scroll a diagram horizontally.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v19.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public double HorizontalScrollPercent { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property HorizontalScrollPercent As Double

Property Value

Type Description
Double

A Double that represents a scroll percentage. It should be within the range -100;100.

Remarks

The HorizontalScrollPercent 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 width. 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 HorizontalScrollPercent property in action.

HorizontalScrollPercent = 0 HorizontalScrollPercent = 10
HorizontalScrollPercent_0 HorizontalScrollPercent_10

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

See Also