HighchartsLegendEventsOptions class
General event handlers for the legend. These event hooks can
also be attached to the legend at run time using the
Highcharts.addEvent function.
API Docs: https://api.highcharts.com/highcharts/legend.events
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsLegendEventsOptions
Constructors
- HighchartsLegendEventsOptions({HighchartsCallback? itemClick})
-
General event handlers for the legend. These event hooks can also be attached to the legend at run time using the
Highcharts.addEventfunction.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemClick ↔ HighchartsCallback?
-
Fires when the legend item belonging to the series is clicked. One
parameter,
event, is passed to the function. The default action is to toggle the visibility of the series, point or data class. This can be prevented by returningfalseor callingevent.preventDefault().getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → String -
Serializes the settings to a JSON string.
inherited
-
toOptionsJSON(
StringBuffer buffer) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited