Class TextAnnotation
This class is used to add a text annotation to the SfChart. An instance of this class needs to be added to the Annotations collection.
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.UWP.dll
Syntax
public class TextAnnotation : SingleAnnotation, ICloneable
Remarks
Text annotations are used to add simple text at specific points over the chart area.
Constructors
TextAnnotation()
Declaration
public TextAnnotation()
Fields
AngleProperty
The DependencyProperty for Angle property.
Declaration
public static readonly DependencyProperty AngleProperty
Field Value
| Type |
|---|
| Windows.UI.Xaml.DependencyProperty |
Properties
Angle
Gets or sets the rotation angle for Annotation.
Declaration
public double Angle { get; set; }
Property Value
| Type |
|---|
| System.Double |
Methods
CloneAnnotation(Annotation)
Clones the annotation.
Declaration
protected override DependencyObject CloneAnnotation(Annotation annotation)
Parameters
| Type | Name | Description |
|---|---|---|
| Annotation | annotation | The annotation cloned is updated. |
Returns
| Type | Description |
|---|---|
| Windows.UI.Xaml.DependencyObject | Returns the cloned annotation. |
Overrides
GetRenderedAnnotation()
Returns the annotation UI element
Declaration
public override UIElement GetRenderedAnnotation()
Returns
| Type |
|---|
| Windows.UI.Xaml.UIElement |
Overrides
UpdateAnnotation()
Updates the annotation
Declaration
public override void UpdateAnnotation()