IStockControlSettings

Type interface

Inheritance

IStockControlSettings extends IEntitySettings.

IStockControlSettings is extended by IColorControlSettings, IDrawingToolControlSettings, IDropdownListControlSettings, IDropdownControlSettings, IIconControlSettings, IDrawingControlSettings, IDateRangeSelectorSettings, IPeriodSelectorSettings, IResetControlSettings.

Properties

active
#

Type undefined | false | true

Default false

Indicates if control is active.

align
#

Type "left" | "right"

Default "left"

Alignment of the control in a toolbar.

description
#

Type undefined | string

Description of what the button does.

icon
#

Type HTMLElement | SVGElement | "none"

An element with control icon. If not set, each control will aytomatically create an icon.

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.

name
#

Type undefined | string

Name of the control. Used for the label.

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.

stockChart
#

Type StockChart

A StockChart the toolbar is for.

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.

togglable
#

Type undefined | false | true

Default true

If set to true, control can be toggle on and off by clicking on it.

userData
#

Type any

Inherited from IEntitySettings

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

visible
#

Type undefined | false | true

Default true

Is control visible?

There are 7 inherited items currently hidden from this list.