HighchartsChartEventsOptions class
Event listeners for the chart.
API Docs: https://api.highcharts.com/highcharts/chart.events
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsChartEventsOptions
Constructors
- HighchartsChartEventsOptions({HighchartsCallback? addSeries, HighchartsCallback? afterPrint, HighchartsCallback? beforePrint, HighchartsCallback? click, HighchartsCallback? drilldown, HighchartsCallback? drillup, HighchartsCallback? drillupall, HighchartsCallback? exportData, HighchartsCallback? fullscreenClose, HighchartsCallback? fullscreenOpen, HighchartsCallback? load, HighchartsCallback? redraw, HighchartsCallback? render, HighchartsCallback? selection})
- Event listeners for the chart.
Properties
- addSeries ↔ HighchartsCallback?
-
Fires when a series is added to the chart after load time, using the
addSeriesmethod. One parameter,event, is passed to the function, containing common event information. Throughevent.optionsyou can access the series options that were passed to theaddSeriesmethod. Returning false prevents the series from being added.getter/setter pair - afterPrint ↔ HighchartsCallback?
-
Fires after a chart is printed through the context menu item or the
Chart.printmethod.getter/setter pair - beforePrint ↔ HighchartsCallback?
-
Fires before a chart is printed through the context menu item or
the
Chart.printmethod.getter/setter pair - click ↔ HighchartsCallback?
-
Fires when clicking on the plot background. One parameter,
event, is passed to the function, containing common event information.getter/setter pair - drilldown ↔ HighchartsCallback?
-
Fires when a drilldown point is clicked, before the new series is added. This
event is also utilized for async drilldown, where the seriesOptions are not
added by option, but rather loaded async. Note that when clicking a category
label to trigger multiple series drilldown, one
drilldownevent is triggered per point in the category.getter/setter pair - drillup ↔ HighchartsCallback?
-
Fires when drilling up from a drilldown series.
getter/setter pair
- drillupall ↔ HighchartsCallback?
-
In a chart with multiple drilldown series, this event fires after all the
series have been drilled up.
getter/setter pair
- exportData ↔ HighchartsCallback?
-
Callback that fires while exporting data. This allows the modification of
data rows before processed into the final format.
getter/setter pair
- fullscreenClose ↔ HighchartsCallback?
-
Fires when a fullscreen is closed through the context menu item,
or a fullscreen is closed on the
Escapebutton click, or theChart.fullscreen.closemethod.getter/setter pair - fullscreenOpen ↔ HighchartsCallback?
-
Fires when a fullscreen is opened through the context menu item,
or the
Chart.fullscreen.openmethod.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- load ↔ HighchartsCallback?
-
Fires when the chart is finished loading. Since v4.2.2, it also waits
for images to be loaded, for example from point markers. One
parameter,
event, is passed to the function, containing common event information.getter/setter pair - redraw ↔ HighchartsCallback?
-
Fires when the chart is redrawn, either after a call to
chart.redraw()or after an axis, series or point is modified with theredrawoption set totrue. One parameter,event, is passed to the function, containing common event information.getter/setter pair - render ↔ HighchartsCallback?
-
Fires after initial load of the chart (directly after the
loadevent), and after each redraw (directly after theredrawevent).getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selection ↔ HighchartsCallback?
-
Fires when an area of the chart has been selected. Selection is
enabled by setting the chart's zoomType. One parameter,
event, is passed to the function, containing common event information. The default action for the selection event is to zoom the chart to the selected area. It can be prevented by callingevent.preventDefault()or return false.getter/setter pair
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