Skip to main content

CustomAction

Index​

ColumnColumn
CustomAction.iconCustomAction.id
CustomAction.labelCustomAction.onClick

Properties​

icon​

icon: string

Optional

id​

id: string

label​

label: string

onClick​

onClick: (args: any[] ) : void (args: any[] ) : void

This function will need to have a defined set of arguments. For example, pointClick Event, point details and chart model in case of context menu For Axis menu, it would be different.

Callback will be triggered via postMessage API contract.

Function Parameters

args:::

  • args: any[]

Returns

void