ZoomCharts Documentation

Version: 1.21.17 (2026-06-01)
Switch to Version 2.0 (BETA)

ZoomCharts.Configuration.BaseLegendEntry

Inheritance hierarchy

This type is implemented by LinearChartLegendEntry.

Methods

isEnabled: (): boolean

Determines if the item is enabled. Override if the item is also considered enabled/disabled depending on some external circumstance.

Return value
Data type: boolean
isHovered: (): boolean

Determines if the item is hovered. Override if the item is also considered hovered depending on some external circumstance.

Return value
Data type: boolean

Properties

curHeight: number
curWidth: number
curX: number
curY: number
enabled: boolean

Whether the item is enabled

groupId: string

Group identifier, used for enabling/disabling logic.

groupMode: "toggle"

How enabling/disabling grouped legend items should behave

Valid values:
  • toggle - Toggling any group item toggles all group items to the same state
hoverCount: number

Count of pointers hovering over the legend item

labelDisabled: BaseLabel

Cached label that will be painted when the item is disabled.

labelEnabled: BaseLabel

Cached label that will be painted when the item is enabled.

labelText: string
textColorDisabled: string
textColorEnabled: string
X