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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDescribeSingleSeries(Boolean describeSingleSeries) Whether or not to add series descriptions to charts with a single series.voidsetEnabled(Boolean enabled) Enable accessibility features for the chart.voidsetKeyboardNavigation(KeyboardNavigation keyboardNavigation) Options for keyboard navigation.voidsetOnTableAnchorClick(String _fn_onTableAnchorClick) voidsetPointDateFormat(String pointDateFormat) Date format to use for points on datetime axes when describing them to screen reader users.voidsetPointDateFormatter(String _fn_pointDateFormatter) voidsetPointDescriptionFormatter(String _fn_pointDescriptionFormatter) voidsetScreenReaderSectionFormatter(String _fn_screenReaderSectionFormatter) voidsetSeriesDescriptionFormatter(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
-