Home > @plotex/serialization > IAnnotation

IAnnotation interface#

An annotation applied to the series.

Signature:
export interface IAnnotation

Properties#

PropertyTypeDescription
style?string(Optional) Sets the style of the annotation. This allows style to be set for a chart as part of the "plot config" (IPlotConfig).
text?string(Optional) Text for the annotation, this can also be set through the style (IAnnotationLabelStyle).
valueanyThe value where the annotation is to be applied.
value2?any(Optional) Specifies a second value to create an annotation or a range of values.