API Reference
Still have questions?
Contact support

{typedef} anychart.core.annotations.AnnotationJSONFormat Improve this Doc

Type definition for annotation JSON format.
Name Type Description
allowEdit boolean Whether allow to edit
anchor anychart.enums.Anchor | string Annotation anchor
color Annotation color
fill | function Annotation fill
grid | function Annotation grid
hatchFill | function Annotation hatchfill
hoverGap number Gap in hover mode
hovered anychart.core.StateSettings Hovered state.
markerType anychart.enums.MarkerType | string Marker type
offsetX number Offset by X
offsetY number Offset by Y
secondValueAnchor number Second value for anchor
secondXAnchor number Second X for anchor
selected anychart.core.StateSettings Selected state.
size number Annotation size
stroke | function Annotation stroke
thirdValueAnchor number Third value for anchor
thirdXAnchor number Third X for anchor
trend | function Annotation trend
valueAnchor number Value for anchor
xAnchor number X for anchor