Home > @plotex/serialization > IAnnotation
#
IAnnotation interfaceAn annotation applied to the series.
Signature:#
PropertiesProperty | Type | Description |
---|---|---|
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). |
value | any | The value where the annotation is to be applied. |
value2? | any | (Optional) Specifies a second value to create an annotation or a range of values. |