HighchartsChartEventsOptions class
Event listeners for the chart.
API Docs: https://api.highcharts.com/highcharts/chart.events
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsChartEventsOptions
Constructors
- HighchartsChartEventsOptions.new({dynamic addSeries, dynamic afterPrint, dynamic beforePrint, dynamic click, dynamic drilldown, dynamic drillup, dynamic drillupall, dynamic exportData, dynamic fullscreenClose, dynamic fullscreenOpen, dynamic load, dynamic redraw, dynamic render, dynamic selection})
- Event listeners for the chart.
Properties
- addSeries ↔ dynamic
-
Fires when a series is added to the chart after load time, using the
addSeries
method. One parameter,event
, is passed to the function, containing common event information. Throughevent.options
you can access the series options that were passed to theaddSeries
method. Returning false prevents the series from being added.getter/setter pair - afterPrint ↔ dynamic
-
Fires after a chart is printed through the context menu item or the
Chart.print
method.getter/setter pair - beforePrint ↔ dynamic
-
Fires before a chart is printed through the context menu item or
the
Chart.print
method.getter/setter pair - click ↔ dynamic
-
Fires when clicking on the plot background. One parameter,
event
, is passed to the function, containing common event information.getter/setter pair - drilldown ↔ dynamic
-
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
drilldown
event is triggered per point in the category.getter/setter pair - drillup ↔ dynamic
-
Fires when drilling up from a drilldown series.
getter/setter pair
- drillupall ↔ dynamic
-
In a chart with multiple drilldown series, this event fires after all the
series have been drilled up.
getter/setter pair
- exportData ↔ dynamic
-
Callback that fires while exporting data. This allows the modification of
data rows before processed into the final format.
getter/setter pair
- fullscreenClose ↔ dynamic
-
Fires when a fullscreen is closed through the context menu item,
or a fullscreen is closed on the
Escape
button click, or theChart.fullscreen.close
method.getter/setter pair - fullscreenOpen ↔ dynamic
-
Fires when a fullscreen is opened through the context menu item,
or the
Chart.fullscreen.open
method.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- load ↔ dynamic
-
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 ↔ dynamic
-
Fires when the chart is redrawn, either after a call to
chart.redraw()
or after an axis, series or point is modified with theredraw
option set totrue
. One parameter,event
, is passed to the function, containing common event information.getter/setter pair - render ↔ dynamic
-
Fires after initial load of the chart (directly after the
load
event), and after each redraw (directly after theredraw
event).getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selection ↔ dynamic
-
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