IAnnotatorSettings

Type interface

Inheritance

IAnnotatorSettings extends IEntitySettings.

IAnnotatorSettings is not extended by any other symbol.

Properties

id
#

Type undefined | string

Inherited from IEntitySettings

A custom string ID for the element.

If set, element can be looked up via am5.registry.entitiesById.

Will raise error if an element with the same ID already exists.

layer
#

Type undefined | number

Default 1000

Layer number to use for annotations.

markerSettings
#

Type undefined | object

MarkerArea settings in form of an object where keys are setting names and value is a setting value. E.g.:

let annotator = am5plugins_exporting.Annotator.new(root, {
 markerSettings: {
   defaultColorSet: ["red", "green", "blue"],
   wrapText: true
 }
});
var annotator = am5plugins_exporting.Annotator.new(root, {
 markerSettings: {
   defaultColorSet: ["red", "green", "blue"],
   wrapText: true
 }
});

Click here for a full list of settings
@since 5.7.4

markerState
#

Type any

Raw annotation info saved by MarkerJS.

markerStyleSettings
#

Type undefined | object

MarkerArea style settings for user interface elements.E.g.:

let annotator = am5plugins_exporting.Annotator.new(root, {
 markerStyleSettings: {
   toolboxColor: "#F472B6",
   toolboxAccentColor: "#BE185D"
 }
});
var annotator = am5plugins_exporting.Annotator.new(root, {
 markerStyleSettings: {
   toolboxColor: "#F472B6",
   toolboxAccentColor: "#BE185D"
 }
});

Click here for a full list of settings
@since 5.7.5

stateAnimationDuration
#

Type undefined | number

Inherited from IEntitySettings

Duration of transition from one state to another.

stateAnimationEasing
#

Type $ease.Easing

Inherited from IEntitySettings

Easing of transition from one state to another.

themeTags
#

Type Array

Inherited from IEntitySettings

Tags which can be used by the theme rules.

Click here for more info

themeTagsSelf
#

Type Array

Inherited from IEntitySettings

Tags which can be used by the theme rules.

These tags only apply to this object, not any children.

Click here for more info

themes
#

Type Array

Inherited from IEntitySettings

A list of themes applied to the element.

userData
#

Type any

Inherited from IEntitySettings

A storage for any custom user data that needs to be associated with the element.

There are 7 inherited items currently hidden from this list.