Interface CustomAction

Hierarchy

  • CustomAction

Properties

Properties

icon: string
id: string
label: string
onClick: ((...args) => void)

Type declaration

    • (...args): void
    • This function will need to have a defined set of args. For e.g., pointClick Event, point details and chart model in case on context menu For axis menu, it would be different.

      Callback will be triggered via postMessage api contract.

      Parameters

      • Rest ...args: any[]

      Returns void