Skip to main content

Axis.WholeRange Property

Gets or sets the range through which it’s possible to scroll an axis.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v22.1.dll


public Range WholeRange { get; set; }

Property Value

Type Description

A Range object representing the settings for the whole range of an axis.


Use the WholeRange property to define the entire range in which scrolling is allowed for an axis when scrolling is enabled (the XYDiagram2D.EnableAxisXNavigation, XYDiagram2D.EnableAxisYNavigation or NavigationOptions.UseScrollBars property is set to true).

Then, you can manually define the Range.MaxValue and Range.MinValue properties to determine the axis values through which the diagram can be scrolled.

In addition, you can use the Range.AutoSideMargins property to force an axis to automatically extend its range so that indents are preserved on both ends of the axis.

See Also