Class AnnotationTappedEventArgs
Provides data for the AnnotationClicked event.
Inheritance
System.Object
AnnotationTappedEventArgs
Namespace: Syncfusion.Maui.Charts.Chart.Events
Assembly: Syncfusion.Maui.Charts.dll
Syntax
public class AnnotationTappedEventArgs : EventArgs
Remarks
This class contains information for the event that is raised when a chart annotation is tapped.
Constructors
AnnotationTappedEventArgs(ChartAnnotation, Double, Double)
Initializes a new instance of the AnnotationTappedEventArgs class.
Declaration
public AnnotationTappedEventArgs(ChartAnnotation annotation, double x, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| ChartAnnotation | annotation | The chart annotation that was tapped. |
| System.Double | x | The horizontal coordinate of the touch point relative to the annotation's origin. |
| System.Double | y | The vertical coordinate of the touch point relative to the annotation's origin. |
Properties
Annotation
Gets the instance of the ChartAnnotation that was tapped.
Declaration
public ChartAnnotation Annotation { get; }
Property Value
| Type |
|---|
| ChartAnnotation |
X
Gets the horizontal coordinate of the touch point relative to the annotation's origin.
Declaration
public double X { get; }
Property Value
| Type |
|---|
| System.Double |
Y
Gets the vertical coordinate of the touch point relative to the annotation's origin.
Declaration
public double Y { get; }
Property Value
| Type |
|---|
| System.Double |