ZoomCharts Documentation

ZoomCharts.Configuration.ItemsChartSettingsMenuButton

Introduced in version 1.12.0.

Describes a custom button that is added to the menu.

Methods

This type does not define any methods.

Properties

className: string

The CSS class that is applied to the HTML link element (the button).

onClick: (target: ItemsChartNode | ItemsChartLink, button: HTMLAnchorElement) => void

The callback that will be invoked when the menu is clicked.

Parameters

The link or node for which the button is being created.

The HTML element that represents the button.

onInit: (target: ItemsChartNode | ItemsChartLink, button: HTMLAnchorElement) => void

The callback that will be invoked when the menu button is first created for the particular object.

Parameters

The link or node for which the button is being created.

The HTML element that represents the button.

onRefresh: (target: ItemsChartNode | ItemsChartLink, button: HTMLAnchorElement) => void

The callback that will be invoked when the menu is being opened after creation. The callback is also invoked for every button after any menu button is clicked.

Parameters

The link or node for which the button is being created.

The HTML element that represents the button.

The text (HTML is supported) that is displayed within the button.

title: string
Introduced in version 1.17.2.

Tooltip that is displayed while hovering over the button. Leaving null uses text.

X