menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RectangleAnnotation - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    ChartAnnotation
    ShapeAnnotation
    RectangleAnnotation
    Inherited Members
    ChartAnnotation.Chart
    ChartAnnotation.CoordinateUnit
    ChartAnnotation.CoordinateUnitProperty
    ChartAnnotation.IsVisible
    ChartAnnotation.IsVisibleProperty
    ChartAnnotation.OnTouchDown(Single, Single)
    ChartAnnotation.OnTouchMove(Single, Single)
    ChartAnnotation.OnTouchUp(Single, Single)
    ChartAnnotation.X1
    ChartAnnotation.X1Property
    ChartAnnotation.XAxisName
    ChartAnnotation.XAxisNameProperty
    ChartAnnotation.Y1
    ChartAnnotation.Y1Property
    ChartAnnotation.YAxisName
    ChartAnnotation.YAxisNameProperty
    ShapeAnnotation.FillColor
    ShapeAnnotation.FillColorProperty
    ShapeAnnotation.LabelStyle
    ShapeAnnotation.LabelStyleProperty
    ShapeAnnotation.OnBindingContextChanged()
    ShapeAnnotation.OnParentSet()
    ShapeAnnotation.StrokeColor
    ShapeAnnotation.StrokeColorProperty
    ShapeAnnotation.StrokeDashArray
    ShapeAnnotation.StrokeDashArrayProperty
    ShapeAnnotation.StrokeWidth
    ShapeAnnotation.StrokeWidthProperty
    ShapeAnnotation.Text
    ShapeAnnotation.TextProperty
    ShapeAnnotation.X2
    ShapeAnnotation.X2Property
    ShapeAnnotation.Y2
    ShapeAnnotation.Y2Property
    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()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved