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.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the WholeRange 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.