charton API / @chart-on/ui / index / IndicatorPickerAction
Interface: IndicatorPickerAction
Defined in: ui/src/indicator-picker.ts:38
A host button shown on every definition row it applies to.
Properties
icon
icon:
IconSource
Defined in: ui/src/indicator-picker.ts:42
id
id:
string
Defined in: ui/src/indicator-picker.ts:39
label
label:
string
Defined in: ui/src/indicator-picker.ts:41
Accessible name and tooltip.
Methods
appliesTo()?
optionalappliesTo(def):boolean
Defined in: ui/src/indicator-picker.ts:45
Rows to show the button on; all of them when omitted.
Parameters
def
Returns
boolean
onClick()
onClick(
def,chart):void
Defined in: ui/src/indicator-picker.ts:43
Parameters
def
chart
Returns
void