AnnotationPositionChangingEventArgs.NewAnchorLocationX Property

.NET Framework (current version)

Gets or sets the new annotation anchor point X location.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public double NewAnchorLocationX { get; set; }

Property Value

Type: System.Double

A double value that represents the new annotation anchor point X location.

When the AnnotationPositionChanging and AnnotationPositionChanging events are raised, the NewAnchorLocationX property determines the new X coordinate of the annotation. This information is useful when the annotation is newly anchored to a data point.

.NET Framework
Available since 4.0
Return to top