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.v14.2.dll

#Declaration

[XtraSerializableProperty(XtraSerializationVisibility.Content, true)]
public Range WholeRange { get; set; }

#Property Value

Type Description
Range

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

#Remarks

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