Annotation

18 Nov 20181 minute to read

Annotations are used to mark the specific area of interest in the chart area with texts, shapes or images.

You can add annotations to the chart by using the annotations option. By using the Content option of annotation object, you can specify the id of the element that needs to be displayed in the chart area.

Region

Annotations can be placed either with respect to Series or Chart. by default, it will placed with respect to Chart.

Co-ordinate Units

Specified the coordinates units of the annotation either Pixel or Point.

Alignment

Annotation provides VerticalAlignment and HorizontalAlignment. The VerticalAlignment can be customized via Top, Bottom or Middle and the horizontalAlignment can be customized via Near, Far or Center.

Adding y-axis sub title through on annotation

By setting text div in the Content option of annotation object you can add sub title to chart y-axis. Specified the Coordinate value as Pixel and customize x and y location of the text.