ChartZoomEventArgs Class
Definition
Provides data for chart zoom events.
public class ChartZoomEventArgs
Constructors
| Name | Description |
|---|---|
| ChartZoomEventArgs | No summary available. |
ChartZoomEventArgs Constructor
public ChartZoomEventArgs()
Properties
| Name | Description |
|---|---|
| Axis | Gets the axis being zoomed (if applicable). |
| CurrentZoomFactor | Gets the zoom factor after the zoom operation. |
| CurrentZoomPosition | Gets the zoom position after the zoom operation. |
| PreviousViewportMaxX | Gets the maximum X value of the visible viewport before the zoom operation. |
| PreviousViewportMaxY | Gets the maximum Y value of the visible viewport before the zoom operation. |
| PreviousViewportMinX | Gets the minimum X value of the visible viewport before the zoom operation. |
| PreviousViewportMinY | Gets the minimum Y value of the visible viewport before the zoom operation. |
| PreviousZoomFactor | Gets the zoom factor before the zoom operation. A value of 1.0 means 100% (no zoom), 2.0 means zoomed in 2x. |
| PreviousZoomPosition | Gets the zoom position before the zoom operation. Value ranges from 0 to 1, representing the start position of the visible range. |
| ViewportMaxX | Gets the maximum X value of the visible viewport. |
| ViewportMaxY | Gets the maximum Y value of the visible viewport. |
| ViewportMinX | Gets the minimum X value of the visible viewport. |
| ViewportMinY | Gets the minimum Y value of the visible viewport. |
Axis Property
Gets the axis being zoomed (if applicable).
public Avalonia.Controls.Charts.ChartAxis Axis { get; set; }
CurrentZoomFactor Property
Gets the zoom factor after the zoom operation.
public double CurrentZoomFactor { get; set; }
CurrentZoomPosition Property
Gets the zoom position after the zoom operation.
public double CurrentZoomPosition { get; set; }
PreviousViewportMaxX Property
Gets the maximum X value of the visible viewport before the zoom operation.
public Nullable<double> PreviousViewportMaxX { get; set; }
PreviousViewportMaxY Property
Gets the maximum Y value of the visible viewport before the zoom operation.
public Nullable<double> PreviousViewportMaxY { get; set; }
PreviousViewportMinX Property
Gets the minimum X value of the visible viewport before the zoom operation.
public Nullable<double> PreviousViewportMinX { get; set; }
PreviousViewportMinY Property
Gets the minimum Y value of the visible viewport before the zoom operation.
public Nullable<double> PreviousViewportMinY { get; set; }
PreviousZoomFactor Property
Gets the zoom factor before the zoom operation. A value of 1.0 means 100% (no zoom), 2.0 means zoomed in 2x.
public double PreviousZoomFactor { get; set; }
PreviousZoomPosition Property
Gets the zoom position before the zoom operation. Value ranges from 0 to 1, representing the start position of the visible range.
public double PreviousZoomPosition { get; set; }
ViewportMaxX Property
Gets the maximum X value of the visible viewport.
public double ViewportMaxX { get; set; }
ViewportMaxY Property
Gets the maximum Y value of the visible viewport.
public double ViewportMaxY { get; set; }
ViewportMinX Property
Gets the minimum X value of the visible viewport.
public double ViewportMinX { get; set; }
ViewportMinY Property
Gets the minimum Y value of the visible viewport.
public double ViewportMinY { get; set; }