windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-d701930a.md
Occurs when the axis visual range has been changed.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.UI.dll
NuGet Package : DevExpress.Win.Charts
public event EventHandler<AxisRangeChangedEventArgs> AxisVisualRangeChanged
Public Event AxisVisualRangeChanged As EventHandler(Of AxisRangeChangedEventArgs)
The AxisVisualRangeChanged event's data class is AxisRangeChangedEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Axis | Gets the axis for which a range has been changed. |
| Cancel | Gets or sets whether the axis range change should be cancelled. |
| MaxChange | Gets the axis maximum value when the axis range (the whole range and visual range) has been changed. |
| MaxInternalChange | Gets the internal float representation of the range maximum value when the axis range (the whole range and visual range) has been changed. |
| MinChange | Gets the axis minimum value when the axis range (the whole range and visual range) has been changed. |
| MinInternalChange | Gets the internal float representation of the range minimum value when the axis range (the whole range and visual range) has been changed. |
Note
This event is not raised when the chart is scrolled or zoomed via an API or end-user. To receive notification about these changes, handle the ChartControl.Scroll and ChartControl.Zoom events.
For more information, refer to Visual Ranges and Whole Ranges.
See Also