API Reference
Namespaces
Classes
Events
Global
Externals

Class: ChartInstructions

ChartInstructions

This element contains hidden text that can be read aloud by a screen reader to announce chart features or instructions. By default the text is not visible to a user but is listed in the accessbility tree.

If you would like to provide custom instructions, pass in your own text in a <p> tag.


new ChartInstructions()

Since:
  • 8.7.0

Methods


setHotKeyCommands(configurations)

Filtered hotKey configurations from defaultConfiguration based on ariaLabel property. This will create new entries for the hotkeys and add their instructions to the text content already provided.

Parameters:
Name Type Description
configurations Array.<object>

Hotkey configs from the config.hotKeyConfig hotkeys