Class Accessibility
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.Accessibility
- All Implemented Interfaces:
Serializable
Options for configuring accessibility for the chart. Requires the accessibility module to be loaded. For a description of the module and information on its features, see Highcharts Accessibility.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDescribeSingleSeries
(Boolean describeSingleSeries) Whether or not to add series descriptions to charts with a single series.void
setEnabled
(Boolean enabled) Enable accessibility features for the chart.void
setKeyboardNavigation
(KeyboardNavigation keyboardNavigation) Options for keyboard navigation.void
setOnTableAnchorClick
(String _fn_onTableAnchorClick) void
setPointDateFormat
(String pointDateFormat) Date format to use for points on datetime axes when describing them to screen reader users.void
setPointDateFormatter
(String _fn_pointDateFormatter) void
setPointDescriptionFormatter
(String _fn_pointDescriptionFormatter) void
setScreenReaderSectionFormatter
(String _fn_screenReaderSectionFormatter) void
setSeriesDescriptionFormatter
(String _fn_seriesDescriptionFormatter)
-
Constructor Details
-
Accessibility
public Accessibility() -
Accessibility
-
-
Method Details
-
getDescribeSingleSeries
- See Also:
-
setDescribeSingleSeries
Whether or not to add series descriptions to charts with a single series.Defaults to: false
-
getEnabled
- See Also:
-
setEnabled
Enable accessibility features for the chart.Defaults to: true
-
getOnTableAnchorClick
-
setOnTableAnchorClick
-
getPointDateFormat
- See Also:
-
setPointDateFormat
Date format to use for points on datetime axes when describing them to screen reader users.
Defaults to the same format as in tooltip.
For an overview of the replacement codes, see dateFormat.
-
getPointDateFormatter
-
setPointDateFormatter
-
getPointDescriptionFormatter
-
setPointDescriptionFormatter
-
getScreenReaderSectionFormatter
-
setScreenReaderSectionFormatter
-
getSeriesDescriptionFormatter
-
setSeriesDescriptionFormatter
-