Skip to content

Annotator

Type module

Sources

Items from Annotator can be imported/included and used via following ways.

/**
* Import via: Annotator.ts
* Access items like: $annotator.myVariable
*/
import * as $annotator from "@amcharts/amcharts5/Annotator";

Variables

MARKER_SETTINGS_IGNORED

Type string[]Default [ "defaultStrokeColor", "displayMode", "popupMargin", "newFreehandMarkerOnPointerUp", "defaultColorsFollowCurrentColors", "freehandPixelRatio", "uiOffsetTop", "uiOffsetLeft", "defaultCaptionFontSize", "wrapText" ]

MARKER_STYLE_SETTINGS

Type string[]Default [ "toolbarBackgroundColor", "toolbarBackgroundHoverColor", "toolbarColor", "toolboxColor", "toolboxAccentColor", "toolboxBackgroundColor", "hideToolbar", "hideToolbox", "undoButtonVisible", "redoButtonVisible", "clearButtonVisible", "selectButtonColor", "deleteButtonColor", "okButtonColor", "closeButtonColor" ]

MARKER_STYLE_SETTINGS_IGNORED

Type string[]Default [ "canvasBackgroundColor", "toolbarHeight", "notesButtonVisible", "zoomButtonVisible", "zoomOutButtonVisible", "resultButtonBlockVisible", "toolbarStyleColorsClassName", "toolbarOverflowBlockStyleColorsClassName", "toolbarButtonStyleColorsClassName", "toolbarActiveButtonStyleColorsClassName", "toolbarActiveButtonStyleColorsClassName", "toolboxStyleColorsClassName", "toolboxButtonStyleColorsClassName", "toolboxActiveButtonStyleColorsClassName", "toolboxButtonRowStyleColorsClassName", "toolboxPanelRowStyleColorsClassName", "logoPosition", "zIndex" ]

warned

Type object

Functions

clone(value: T)

Returns T

toColor(value: any)

Returns Color | undefined

toDash(value: any)

Returns Array | undefined