Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartControl.AxisVisualRangeChanged Event

Occurs when the axis visual range has been changed.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.UI.dll

NuGet Package: DevExpress.Win.Charts

#Declaration

public event EventHandler<AxisRangeChangedEventArgs> AxisVisualRangeChanged

#Event Data

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.

#Remarks

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