Annotations in Circular Gauge Control

18 Nov 20181 minute to read

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

Content

You can place any custom element on the axis area by assigning the id of the element to content property of annotation object.

Position

Annotation can be placed around the axis by using radius and angle property. For example, if the angle is 90 degree and the radius is 110%, then the annotation, will be placed at the right side of the axis.

Radius of the annotation takes value either in pixel or percentage. By setting value in percentage, annotation gets its position with respect to its axis radius.

Sub Gauge

As the annotation allows to place any custom element, it can initialize a gauge to the element and can be used to place that in another gauge.

NOTE

View Sample in GitHub.

See also