ZoomCharts Documentation
Version: 1.21.20 (2026-09-08)
Switch to Version 2.0 (BETA)
Switch to Version 2.0 (BETA)
ZoomCharts.Configuration.ItemsChartSettingsMenu
Inheritance hierarchy
This type is implemented by ItemsChartSettingsLinkMenu and ItemsChartSettingsNodeMenu.
Methods
This type does not define any methods.
Properties
contentsFunction: (data: ItemsChartDataObjectBase, node: ItemsChartNode | ItemsChartLink, callback: (result: string | HTMLElement) => void) => string | HTMLElement
Version 1.9.0: added the ability to return
HTMLElement.Prepare html string or DOM element to include in the menu. Called whenever a menu is about to be shown.
If this callback is not defined, the menu will display the label of the element.
Parameters
data: ItemsChartDataObjectBase
node data
node object
Return value
enabled: boolean
Show/hide node/link menu.
showData: boolean
Whether to add a view data button to the menu. Useful for debugging.