You can draw any shapes in SfChart using annotations. SfChart supports the following types of annotations, such as text, image, and shapes like line, rectangle, ellipse, horizontal line, and vertical line.
The following example illustrates the usage of HorizontalLineAnnotation in SfChart. Here, CoordinateUnit determines whether the positioning is based on axis or pixel units, and CanDrag enables the support to drag or drop.
Figure 1: Horizontal line added in Sf Chart.
This page will automatically be redirected to the sign-in page in 10 seconds.