AnyChart
API Reference
Still have questions?
Contact support
Top

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

Type definition for annotation JSON format.
NameTypeDescription
allowEditbooleanWhether allow to edit
anchoranychart.enums.Anchor | stringAnnotation anchor
coloranychart.graphics.vector.AnyColorAnnotation color
fillanychart.graphics.vector.Fill | functionAnnotation fill
gridanychart.graphics.vector.Stroke | functionAnnotation grid
hatchFillanychart.graphics.vector.PatternFill | functionAnnotation hatchfill
hoverGapnumberGap in hover mode
hoveredanychart.core.StateSettingsHovered state.
markerTypeanychart.enums.MarkerType | stringMarker type
offsetXnumberOffset by X
offsetYnumberOffset by Y
secondValueAnchornumberSecond value for anchor
secondXAnchornumberSecond X for anchor
selectedanychart.core.StateSettingsSelected state.
sizenumberAnnotation size
strokeanychart.graphics.vector.Stroke | functionAnnotation stroke
thirdValueAnchornumberThird value for anchor
thirdXAnchornumberThird X for anchor
trendanychart.graphics.vector.Stroke | functionAnnotation trend
typestring | anychart.enums.AnnotationTypesAnnotation type
valueAnchornumberValue for anchor
xAnchornumberX for anchor