Class RectangleAnnotation
This class is used to add a rectangle annotation in SfChart. An instance of this class need to be added to ChartAnnotations collection.
Inherited Members
Namespace: Syncfusion.SfChart.XForms
Assembly: Syncfusion.SfChart.XForms.dll
Syntax
public class RectangleAnnotation : ShapeAnnotation, IThemeElement
Remarks
RectangleAnnotation is used to draw a rectangle over the chart area.
Examples
SfChart chart = new SfChart();
RectangleAnnotation rectangleAnnotation = new RectangleAnnotation();
chart.ChartAnnotations.Add(rectangleAnnotation);
Constructors
RectangleAnnotation()
Declaration
public RectangleAnnotation()