Back to Devexpress

Diagram3D.HorizontalScrollPercent Property

corelibraries-devexpress-dot-xtracharts-dot-diagram3d-00e82bef.md

latest2.9 KB
Original Source

Diagram3D.HorizontalScrollPercent Property

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

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

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

Property Value

TypeDescription
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 = 0HorizontalScrollPercent = 10

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

See Also

VerticalScrollPercent

RuntimeScrolling

Diagram3D Class

Diagram3D Members

DevExpress.XtraCharts Namespace