new AccessibilityComponent()
The AccessibilityComponent base class, representing a part of the chart that has accessibility logic connected to it. This class can be inherited from to create a custom accessibility component for a chart.
Components should take care to destroy added elements and unregister event
handlers on destroy. This is handled automatically if using this.addEvent
and this.createElement
.
Requires:
- module:modules/accessibility
Try it
Requires
- module:modules/accessibility
Methods
-
destroy()
-
Called when accessibility is disabled or chart is destroyed.
-
getKeyboardNavigation()
-
Get keyboard navigation handler for this component.
Returns:
Highcharts.KeyboardNavigationHandler | Array.<Highcharts.KeyboardNavigationHandler> .The keyboard navigation handler(s) for this component.
-
init()
-
Called on component initialization.
-
onChartRender()
-
Called on every chart render.
-
onChartUpdate()
-
Called on updates to the chart, including options changes. Note that this is also called on first render of chart.