@highcharts/grid-pro 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -0
- package/css/grid-pro.css +1756 -0
- package/es-modules/Accessibility/A11yI18n.d.ts +95 -0
- package/es-modules/Accessibility/A11yI18n.js +290 -0
- package/es-modules/Accessibility/Accessibility.d.ts +116 -0
- package/es-modules/Accessibility/Accessibility.js +402 -0
- package/es-modules/Accessibility/AccessibilityComponent.d.ts +97 -0
- package/es-modules/Accessibility/AccessibilityComponent.js +147 -0
- package/es-modules/Accessibility/Components/AnnotationsA11y.d.ts +43 -0
- package/es-modules/Accessibility/Components/AnnotationsA11y.js +160 -0
- package/es-modules/Accessibility/Components/ContainerComponent.d.ts +48 -0
- package/es-modules/Accessibility/Components/ContainerComponent.js +142 -0
- package/es-modules/Accessibility/Components/InfoRegionsComponent.d.ts +144 -0
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +555 -0
- package/es-modules/Accessibility/Components/LegendComponent.d.ts +124 -0
- package/es-modules/Accessibility/Components/LegendComponent.js +474 -0
- package/es-modules/Accessibility/Components/MenuComponent.d.ts +93 -0
- package/es-modules/Accessibility/Components/MenuComponent.js +430 -0
- package/es-modules/Accessibility/Components/NavigatorComponent.d.ts +57 -0
- package/es-modules/Accessibility/Components/NavigatorComponent.js +235 -0
- package/es-modules/Accessibility/Components/RangeSelectorComponent.d.ts +126 -0
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +473 -0
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.d.ts +18 -0
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +234 -0
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.d.ts +87 -0
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +309 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.d.ts +53 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +130 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.d.ts +28 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +415 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.d.ts +114 -0
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +721 -0
- package/es-modules/Accessibility/Components/ZoomComponent.d.ts +96 -0
- package/es-modules/Accessibility/Components/ZoomComponent.js +314 -0
- package/es-modules/Accessibility/FocusBorder.d.ts +40 -0
- package/es-modules/Accessibility/FocusBorder.js +301 -0
- package/es-modules/Accessibility/HighContrastMode.d.ts +35 -0
- package/es-modules/Accessibility/HighContrastMode.js +100 -0
- package/es-modules/Accessibility/HighContrastTheme.d.ts +11 -0
- package/es-modules/Accessibility/HighContrastTheme.js +212 -0
- package/es-modules/Accessibility/KeyboardNavigation.d.ts +133 -0
- package/es-modules/Accessibility/KeyboardNavigation.js +450 -0
- package/es-modules/Accessibility/KeyboardNavigationHandler.d.ts +48 -0
- package/es-modules/Accessibility/KeyboardNavigationHandler.js +126 -0
- package/es-modules/Accessibility/Options/A11yDefaults.d.ts +68 -0
- package/es-modules/Accessibility/Options/A11yDefaults.js +971 -0
- package/es-modules/Accessibility/Options/DeprecatedOptions.d.ts +22 -0
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +265 -0
- package/es-modules/Accessibility/Options/LangDefaults.d.ts +4 -0
- package/es-modules/Accessibility/Options/LangDefaults.js +440 -0
- package/es-modules/Accessibility/ProxyElement.d.ts +78 -0
- package/es-modules/Accessibility/ProxyElement.js +223 -0
- package/es-modules/Accessibility/ProxyProvider.d.ts +90 -0
- package/es-modules/Accessibility/ProxyProvider.js +315 -0
- package/es-modules/Accessibility/Utils/Announcer.d.ts +26 -0
- package/es-modules/Accessibility/Utils/Announcer.js +90 -0
- package/es-modules/Accessibility/Utils/ChartUtilities.d.ts +90 -0
- package/es-modules/Accessibility/Utils/ChartUtilities.js +298 -0
- package/es-modules/Accessibility/Utils/DOMElementProvider.d.ts +20 -0
- package/es-modules/Accessibility/Utils/DOMElementProvider.js +69 -0
- package/es-modules/Accessibility/Utils/EventProvider.d.ts +26 -0
- package/es-modules/Accessibility/Utils/EventProvider.js +65 -0
- package/es-modules/Accessibility/Utils/HTMLUtilities.d.ts +108 -0
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +319 -0
- package/es-modules/Core/Animation/AnimationUtilities.d.ts +107 -0
- package/es-modules/Core/Animation/AnimationUtilities.js +200 -0
- package/es-modules/Core/Animation/Fx.d.ts +130 -0
- package/es-modules/Core/Animation/Fx.js +388 -0
- package/es-modules/Core/Chart/Chart.d.ts +1009 -0
- package/es-modules/Core/Chart/Chart.js +3008 -0
- package/es-modules/Core/Chart/Chart3D.d.ts +276 -0
- package/es-modules/Core/Chart/Chart3D.js +1686 -0
- package/es-modules/Core/Chart/ChartDefaults.d.ts +8 -0
- package/es-modules/Core/Chart/ChartDefaults.js +1304 -0
- package/es-modules/Core/Chart/ChartNavigationComposition.d.ts +55 -0
- package/es-modules/Core/Chart/ChartNavigationComposition.js +90 -0
- package/es-modules/Core/Chart/GanttChart.d.ts +74 -0
- package/es-modules/Core/Chart/GanttChart.js +189 -0
- package/es-modules/Core/Chart/MapChart.d.ts +132 -0
- package/es-modules/Core/Chart/MapChart.js +232 -0
- package/es-modules/Core/Chart/StockChart.d.ts +117 -0
- package/es-modules/Core/Chart/StockChart.js +641 -0
- package/es-modules/Core/Color/Color.d.ts +112 -0
- package/es-modules/Core/Color/Color.js +418 -0
- package/es-modules/Core/Color/Palettes.d.ts +84 -0
- package/es-modules/Core/Color/Palettes.js +23 -0
- package/es-modules/Core/Defaults.d.ts +42 -0
- package/es-modules/Core/Defaults.js +2977 -0
- package/es-modules/Core/Foundation.d.ts +19 -0
- package/es-modules/Core/Foundation.js +63 -0
- package/es-modules/Core/Geometry/CircleUtilities.d.ts +189 -0
- package/es-modules/Core/Geometry/CircleUtilities.js +388 -0
- package/es-modules/Core/Geometry/GeometryUtilities.d.ts +48 -0
- package/es-modules/Core/Geometry/GeometryUtilities.js +105 -0
- package/es-modules/Core/Geometry/PolygonClip.d.ts +19 -0
- package/es-modules/Core/Geometry/PolygonClip.js +96 -0
- package/es-modules/Core/Globals.d.ts +110 -0
- package/es-modules/Core/Globals.js +127 -0
- package/es-modules/Core/HttpUtilities.d.ts +61 -0
- package/es-modules/Core/HttpUtilities.js +214 -0
- package/es-modules/Core/MSPointer.d.ts +74 -0
- package/es-modules/Core/MSPointer.js +218 -0
- package/es-modules/Core/Math3D.d.ts +117 -0
- package/es-modules/Core/Math3D.js +250 -0
- package/es-modules/Core/Pointer.d.ts +590 -0
- package/es-modules/Core/Pointer.js +1631 -0
- package/es-modules/Core/Renderer/HTML/AST.d.ts +163 -0
- package/es-modules/Core/Renderer/HTML/AST.js +562 -0
- package/es-modules/Core/Renderer/HTML/HTMLElement.d.ts +76 -0
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +471 -0
- package/es-modules/Core/Renderer/RendererRegistry.d.ts +29 -0
- package/es-modules/Core/Renderer/RendererRegistry.js +76 -0
- package/es-modules/Core/Renderer/RendererUtilities.d.ts +26 -0
- package/es-modules/Core/Renderer/RendererUtilities.js +172 -0
- package/es-modules/Core/Responsive.d.ts +55 -0
- package/es-modules/Core/Responsive.js +260 -0
- package/es-modules/Core/Templating.d.ts +125 -0
- package/es-modules/Core/Templating.js +428 -0
- package/es-modules/Core/Time.d.ts +69 -0
- package/es-modules/Core/Time.js +172 -0
- package/es-modules/Core/Tooltip.d.ts +297 -0
- package/es-modules/Core/Tooltip.js +1377 -0
- package/es-modules/Core/Utilities.d.ts +770 -0
- package/es-modules/Core/Utilities.js +1989 -0
- package/es-modules/Data/ColumnUtils.d.ts +87 -0
- package/es-modules/Data/ColumnUtils.js +140 -0
- package/es-modules/Data/Connectors/CSVConnector.d.ts +63 -0
- package/es-modules/Data/Connectors/CSVConnector.js +149 -0
- package/es-modules/Data/Connectors/CSVConnectorOptions.d.ts +149 -0
- package/es-modules/Data/Connectors/DataConnector.d.ts +204 -0
- package/es-modules/Data/Connectors/DataConnector.js +345 -0
- package/es-modules/Data/Connectors/DataConnectorOptions.d.ts +87 -0
- package/es-modules/Data/Connectors/DataConnectorType.d.ts +45 -0
- package/es-modules/Data/Connectors/GoogleSheetsConnector.d.ts +65 -0
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +226 -0
- package/es-modules/Data/Connectors/GoogleSheetsConnectorOptions.d.ts +167 -0
- package/es-modules/Data/Connectors/HTMLTableConnector.d.ts +77 -0
- package/es-modules/Data/Connectors/HTMLTableConnector.js +119 -0
- package/es-modules/Data/Connectors/HTMLTableConnectorOptions.d.ts +49 -0
- package/es-modules/Data/Connectors/JSONConnector.d.ts +64 -0
- package/es-modules/Data/Connectors/JSONConnector.js +156 -0
- package/es-modules/Data/Connectors/JSONConnectorOptions.d.ts +185 -0
- package/es-modules/Data/Converters/CSVConverter.d.ts +64 -0
- package/es-modules/Data/Converters/CSVConverter.js +374 -0
- package/es-modules/Data/Converters/CSVConverterOptions.d.ts +53 -0
- package/es-modules/Data/Converters/DataConverter.d.ts +168 -0
- package/es-modules/Data/Converters/DataConverter.js +387 -0
- package/es-modules/Data/Converters/DataConverterType.d.ts +40 -0
- package/es-modules/Data/Converters/DataConverterUtils.d.ts +82 -0
- package/es-modules/Data/Converters/DataConverterUtils.js +216 -0
- package/es-modules/Data/Converters/GoogleSheetsConverter.d.ts +46 -0
- package/es-modules/Data/Converters/GoogleSheetsConverter.js +135 -0
- package/es-modules/Data/Converters/GoogleSheetsConverterOptions.d.ts +52 -0
- package/es-modules/Data/Converters/HTMLTableConverter.d.ts +72 -0
- package/es-modules/Data/Converters/HTMLTableConverter.js +362 -0
- package/es-modules/Data/Converters/HTMLTableConverterOptions.d.ts +51 -0
- package/es-modules/Data/Converters/JSONConverter.d.ts +99 -0
- package/es-modules/Data/Converters/JSONConverter.js +239 -0
- package/es-modules/Data/Converters/JSONConverterOptions.d.ts +52 -0
- package/es-modules/Data/DataCursor.d.ts +176 -0
- package/es-modules/Data/DataCursor.js +379 -0
- package/es-modules/Data/DataEvent.d.ts +81 -0
- package/es-modules/Data/DataEvent.js +14 -0
- package/es-modules/Data/DataPool.d.ts +130 -0
- package/es-modules/Data/DataPool.js +257 -0
- package/es-modules/Data/DataPoolOptions.d.ts +66 -0
- package/es-modules/Data/DataTable.d.ts +563 -0
- package/es-modules/Data/DataTable.js +930 -0
- package/es-modules/Data/DataTableCore.d.ts +165 -0
- package/es-modules/Data/DataTableCore.js +316 -0
- package/es-modules/Data/DataTableOptions.d.ts +25 -0
- package/es-modules/Data/DataTableOptions.js +15 -0
- package/es-modules/Data/Formula/Formula.d.ts +21 -0
- package/es-modules/Data/Formula/Formula.js +54 -0
- package/es-modules/Data/Formula/FormulaParser.d.ts +31 -0
- package/es-modules/Data/Formula/FormulaParser.js +488 -0
- package/es-modules/Data/Formula/FormulaProcessor.d.ts +155 -0
- package/es-modules/Data/Formula/FormulaProcessor.js +529 -0
- package/es-modules/Data/Formula/FormulaTypes.d.ts +138 -0
- package/es-modules/Data/Formula/FormulaTypes.js +135 -0
- package/es-modules/Data/Formula/Functions/ABS.d.ts +19 -0
- package/es-modules/Data/Formula/Functions/ABS.js +67 -0
- package/es-modules/Data/Formula/Functions/AND.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/AND.js +59 -0
- package/es-modules/Data/Formula/Functions/AVERAGE.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/AVERAGE.js +74 -0
- package/es-modules/Data/Formula/Functions/AVERAGEA.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/AVERAGEA.js +90 -0
- package/es-modules/Data/Formula/Functions/COUNT.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/COUNT.js +65 -0
- package/es-modules/Data/Formula/Functions/COUNTA.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/COUNTA.js +71 -0
- package/es-modules/Data/Formula/Functions/IF.d.ts +21 -0
- package/es-modules/Data/Formula/Functions/IF.js +54 -0
- package/es-modules/Data/Formula/Functions/ISNA.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/ISNA.js +52 -0
- package/es-modules/Data/Formula/Functions/MAX.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/MAX.js +69 -0
- package/es-modules/Data/Formula/Functions/MEDIAN.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/MEDIAN.js +78 -0
- package/es-modules/Data/Formula/Functions/MIN.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/MIN.js +69 -0
- package/es-modules/Data/Formula/Functions/MOD.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/MOD.js +63 -0
- package/es-modules/Data/Formula/Functions/MODE.d.ts +41 -0
- package/es-modules/Data/Formula/Functions/MODE.js +149 -0
- package/es-modules/Data/Formula/Functions/NOT.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/NOT.js +60 -0
- package/es-modules/Data/Formula/Functions/OR.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/OR.js +62 -0
- package/es-modules/Data/Formula/Functions/PRODUCT.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/PRODUCT.js +68 -0
- package/es-modules/Data/Formula/Functions/SUM.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/SUM.js +65 -0
- package/es-modules/Data/Formula/Functions/XOR.d.ts +20 -0
- package/es-modules/Data/Formula/Functions/XOR.js +81 -0
- package/es-modules/Data/Modifiers/ChainModifier.d.ts +128 -0
- package/es-modules/Data/Modifiers/ChainModifier.js +231 -0
- package/es-modules/Data/Modifiers/ChainModifierOptions.d.ts +20 -0
- package/es-modules/Data/Modifiers/ChainModifierOptions.js +14 -0
- package/es-modules/Data/Modifiers/DataModifier.d.ts +117 -0
- package/es-modules/Data/Modifiers/DataModifier.js +202 -0
- package/es-modules/Data/Modifiers/DataModifierEvent.d.ts +28 -0
- package/es-modules/Data/Modifiers/DataModifierEvent.js +15 -0
- package/es-modules/Data/Modifiers/DataModifierOptions.d.ts +11 -0
- package/es-modules/Data/Modifiers/DataModifierOptions.js +15 -0
- package/es-modules/Data/Modifiers/DataModifierType.d.ts +44 -0
- package/es-modules/Data/Modifiers/FilterModifier.d.ts +53 -0
- package/es-modules/Data/Modifiers/FilterModifier.js +172 -0
- package/es-modules/Data/Modifiers/FilterModifierOptions.d.ts +110 -0
- package/es-modules/Data/Modifiers/FilterModifierOptions.js +14 -0
- package/es-modules/Data/Modifiers/InvertModifier.d.ts +48 -0
- package/es-modules/Data/Modifiers/InvertModifier.js +116 -0
- package/es-modules/Data/Modifiers/InvertModifierOptions.d.ts +11 -0
- package/es-modules/Data/Modifiers/InvertModifierOptions.js +15 -0
- package/es-modules/Data/Modifiers/MathModifier.d.ts +68 -0
- package/es-modules/Data/Modifiers/MathModifier.js +165 -0
- package/es-modules/Data/Modifiers/MathModifierOptions.d.ts +50 -0
- package/es-modules/Data/Modifiers/MathModifierOptions.js +14 -0
- package/es-modules/Data/Modifiers/RangeModifier.d.ts +46 -0
- package/es-modules/Data/Modifiers/RangeModifier.js +96 -0
- package/es-modules/Data/Modifiers/RangeModifierOptions.d.ts +22 -0
- package/es-modules/Data/Modifiers/RangeModifierOptions.js +15 -0
- package/es-modules/Data/Modifiers/SortModifier.d.ts +54 -0
- package/es-modules/Data/Modifiers/SortModifier.js +144 -0
- package/es-modules/Data/Modifiers/SortModifierOptions.d.ts +44 -0
- package/es-modules/Data/Modifiers/SortModifierOptions.js +14 -0
- package/es-modules/Grid/Core/Accessibility/A11yOptions.d.ts +148 -0
- package/es-modules/Grid/Core/Accessibility/A11yOptions.js +17 -0
- package/es-modules/Grid/Core/Accessibility/Accessibility.d.ts +115 -0
- package/es-modules/Grid/Core/Accessibility/Accessibility.js +231 -0
- package/es-modules/Grid/Core/Credits.d.ts +57 -0
- package/es-modules/Grid/Core/Credits.js +125 -0
- package/es-modules/Grid/Core/Defaults.d.ts +20 -0
- package/es-modules/Grid/Core/Defaults.js +148 -0
- package/es-modules/Grid/Core/Globals.d.ts +103 -0
- package/es-modules/Grid/Core/Globals.js +134 -0
- package/es-modules/Grid/Core/Grid.d.ts +295 -0
- package/es-modules/Grid/Core/Grid.js +730 -0
- package/es-modules/Grid/Core/GridUtils.d.ts +110 -0
- package/es-modules/Grid/Core/GridUtils.js +191 -0
- package/es-modules/Grid/Core/Options.d.ts +599 -0
- package/es-modules/Grid/Core/Options.js +16 -0
- package/es-modules/Grid/Core/Pagination/Icons.d.ts +7 -0
- package/es-modules/Grid/Core/Pagination/Icons.js +7 -0
- package/es-modules/Grid/Core/Pagination/Pagination.d.ts +278 -0
- package/es-modules/Grid/Core/Pagination/Pagination.js +842 -0
- package/es-modules/Grid/Core/Pagination/PaginationOptions.d.ts +228 -0
- package/es-modules/Grid/Core/Querying/FilteringController.d.ts +66 -0
- package/es-modules/Grid/Core/Querying/FilteringController.js +256 -0
- package/es-modules/Grid/Core/Querying/PaginationController.d.ts +50 -0
- package/es-modules/Grid/Core/Querying/PaginationController.js +101 -0
- package/es-modules/Grid/Core/Querying/QueryingController.d.ts +58 -0
- package/es-modules/Grid/Core/Querying/QueryingController.js +127 -0
- package/es-modules/Grid/Core/Querying/SortingController.d.ts +67 -0
- package/es-modules/Grid/Core/Querying/SortingController.js +136 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/ColumnFiltering.d.ts +114 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/ColumnFiltering.js +351 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.d.ts +14 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterCell.js +86 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterRow.d.ts +19 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilterRow.js +80 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilteringTypes.d.ts +52 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnFiltering/FilteringTypes.js +81 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnSorting.d.ts +56 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnSorting.js +170 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnsResizer.d.ts +55 -0
- package/es-modules/Grid/Core/Table/Actions/ColumnsResizer.js +182 -0
- package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.d.ts +87 -0
- package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.js +346 -0
- package/es-modules/Grid/Core/Table/Body/TableCell.d.ts +88 -0
- package/es-modules/Grid/Core/Table/Body/TableCell.js +231 -0
- package/es-modules/Grid/Core/Table/Body/TableRow.d.ts +79 -0
- package/es-modules/Grid/Core/Table/Body/TableRow.js +177 -0
- package/es-modules/Grid/Core/Table/Cell.d.ts +92 -0
- package/es-modules/Grid/Core/Table/Cell.js +223 -0
- package/es-modules/Grid/Core/Table/CellContent/CellContent.d.ts +30 -0
- package/es-modules/Grid/Core/Table/CellContent/CellContent.js +40 -0
- package/es-modules/Grid/Core/Table/CellContent/TextContent.d.ts +19 -0
- package/es-modules/Grid/Core/Table/CellContent/TextContent.js +98 -0
- package/es-modules/Grid/Core/Table/Column.d.ts +136 -0
- package/es-modules/Grid/Core/Table/Column.js +230 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/AdjacentResizingMode.d.ts +7 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/AdjacentResizingMode.js +62 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/ColumnResizing.d.ts +32 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/ColumnResizing.js +68 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/DistributedResizingMode.d.ts +7 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/DistributedResizingMode.js +53 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/IndependentResizingMode.d.ts +7 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/IndependentResizingMode.js +63 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/ResizingMode.d.ts +92 -0
- package/es-modules/Grid/Core/Table/ColumnResizing/ResizingMode.js +194 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ColumnToolbar.d.ts +68 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ColumnToolbar.js +187 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/FilterPopup.d.ts +29 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/FilterPopup.js +77 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/FilterMenuButton.d.ts +13 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/FilterMenuButton.js +79 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/SortMenuButton.d.ts +12 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuButtons/SortMenuButton.js +71 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuPopup.d.ts +12 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/MenuPopup.js +66 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/StateHelpers.d.ts +25 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/StateHelpers.js +65 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/FilterToolbarButton.d.ts +12 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/FilterToolbarButton.js +81 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/MenuToolbarButton.d.ts +12 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/MenuToolbarButton.js +80 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.d.ts +11 -0
- package/es-modules/Grid/Core/Table/Header/ColumnToolbar/ToolbarButtons/SortToolbarButton.js +81 -0
- package/es-modules/Grid/Core/Table/Header/HeaderCell.d.ts +70 -0
- package/es-modules/Grid/Core/Table/Header/HeaderCell.js +225 -0
- package/es-modules/Grid/Core/Table/Header/HeaderRow.d.ts +53 -0
- package/es-modules/Grid/Core/Table/Header/HeaderRow.js +182 -0
- package/es-modules/Grid/Core/Table/Header/TableHeader.d.ts +65 -0
- package/es-modules/Grid/Core/Table/Header/TableHeader.js +159 -0
- package/es-modules/Grid/Core/Table/Row.d.ts +76 -0
- package/es-modules/Grid/Core/Table/Row.js +131 -0
- package/es-modules/Grid/Core/Table/Table.d.ts +181 -0
- package/es-modules/Grid/Core/Table/Table.js +399 -0
- package/es-modules/Grid/Core/UI/Button.d.ts +31 -0
- package/es-modules/Grid/Core/UI/Button.js +16 -0
- package/es-modules/Grid/Core/UI/ContextMenu.d.ts +38 -0
- package/es-modules/Grid/Core/UI/ContextMenu.js +132 -0
- package/es-modules/Grid/Core/UI/ContextMenuButton.d.ts +126 -0
- package/es-modules/Grid/Core/UI/ContextMenuButton.js +183 -0
- package/es-modules/Grid/Core/UI/Popup.d.ts +149 -0
- package/es-modules/Grid/Core/UI/Popup.js +271 -0
- package/es-modules/Grid/Core/UI/SvgIcons.d.ts +53 -0
- package/es-modules/Grid/Core/UI/SvgIcons.js +158 -0
- package/es-modules/Grid/Core/UI/Toolbar.d.ts +16 -0
- package/es-modules/Grid/Core/UI/Toolbar.js +16 -0
- package/es-modules/Grid/Core/UI/ToolbarButton.d.ts +135 -0
- package/es-modules/Grid/Core/UI/ToolbarButton.js +191 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditMode.d.ts +112 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditing.d.ts +80 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditing.js +211 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditingComposition.d.ts +123 -0
- package/es-modules/Grid/Pro/CellEditing/CellEditingComposition.js +198 -0
- package/es-modules/Grid/Pro/CellRendering/CellContentPro.d.ts +23 -0
- package/es-modules/Grid/Pro/CellRendering/CellContentPro.js +45 -0
- package/es-modules/Grid/Pro/CellRendering/CellRenderer.d.ts +50 -0
- package/es-modules/Grid/Pro/CellRendering/CellRenderer.js +41 -0
- package/es-modules/Grid/Pro/CellRendering/CellRendererRegistry.d.ts +18 -0
- package/es-modules/Grid/Pro/CellRendering/CellRendererRegistry.js +58 -0
- package/es-modules/Grid/Pro/CellRendering/CellRendererType.d.ts +48 -0
- package/es-modules/Grid/Pro/CellRendering/CellRenderersComposition.d.ts +18 -0
- package/es-modules/Grid/Pro/CellRendering/CellRenderersComposition.js +79 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/CheckboxContent.d.ts +30 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/CheckboxContent.js +122 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContent.d.ts +12 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContent.js +39 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContentBase.d.ts +66 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateInputContentBase.js +145 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateTimeInputContent.d.ts +12 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/DateTimeInputContent.js +38 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/NumberInputContent.d.ts +58 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/NumberInputContent.js +158 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SelectContent.d.ts +58 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SelectContent.js +173 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.d.ts +28 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/SparklineContent.js +157 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TextInputContent.d.ts +58 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TextInputContent.js +168 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TimeInputContent.d.ts +13 -0
- package/es-modules/Grid/Pro/CellRendering/ContentTypes/TimeInputContent.js +41 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/CheckboxRenderer.d.ts +50 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/CheckboxRenderer.js +65 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRenderer.d.ts +37 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRenderer.js +65 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRendererBase.d.ts +26 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateInputRendererBase.js +16 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateTimeInputRenderer.d.ts +37 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/DateTimeInputRenderer.js +64 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/NumberInputRenderer.d.ts +52 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/NumberInputRenderer.js +64 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/SelectRenderer.d.ts +74 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/SelectRenderer.js +66 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.d.ts +45 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/SparklineRenderer.js +89 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextInputRenderer.d.ts +54 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextInputRenderer.js +65 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextRenderer.d.ts +43 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TextRenderer.js +74 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TimeInputRenderer.d.ts +37 -0
- package/es-modules/Grid/Pro/CellRendering/Renderers/TimeInputRenderer.js +64 -0
- package/es-modules/Grid/Pro/ColumnTypes/ColumnDataType.d.ts +29 -0
- package/es-modules/Grid/Pro/ColumnTypes/Validator.d.ts +118 -0
- package/es-modules/Grid/Pro/ColumnTypes/Validator.js +270 -0
- package/es-modules/Grid/Pro/ColumnTypes/ValidatorComposition.d.ts +32 -0
- package/es-modules/Grid/Pro/ColumnTypes/ValidatorComposition.js +63 -0
- package/es-modules/Grid/Pro/Credits/CreditsPro.d.ts +35 -0
- package/es-modules/Grid/Pro/Credits/CreditsPro.js +112 -0
- package/es-modules/Grid/Pro/Credits/CreditsProComposition.d.ts +28 -0
- package/es-modules/Grid/Pro/Credits/CreditsProComposition.js +61 -0
- package/es-modules/Grid/Pro/Export/Exporting.d.ts +68 -0
- package/es-modules/Grid/Pro/Export/Exporting.js +202 -0
- package/es-modules/Grid/Pro/Export/ExportingComposition.d.ts +68 -0
- package/es-modules/Grid/Pro/Export/ExportingComposition.js +55 -0
- package/es-modules/Grid/Pro/GridEvents.d.ts +119 -0
- package/es-modules/Grid/Pro/GridEvents.js +107 -0
- package/es-modules/Grid/Pro/Pagination/PaginationComposition.d.ts +75 -0
- package/es-modules/Grid/Pro/Pagination/PaginationComposition.js +76 -0
- package/es-modules/Grid/Pro/highcharts.d.ts +7 -0
- package/es-modules/Grid/index.d.ts +5 -0
- package/es-modules/Grid/index.js +19 -0
- package/es-modules/Shared/BaseForm.d.ts +49 -0
- package/es-modules/Shared/BaseForm.js +126 -0
- package/es-modules/Shared/DownloadURL.d.ts +85 -0
- package/es-modules/Shared/DownloadURL.js +198 -0
- package/es-modules/Shared/LangOptionsCore.d.ts +27 -0
- package/es-modules/Shared/TimeBase.d.ts +353 -0
- package/es-modules/Shared/TimeBase.js +830 -0
- package/es-modules/Shared/Types.d.ts +48 -0
- package/es-modules/masters/grid-pro.src.d.ts +99 -0
- package/es-modules/masters/grid-pro.src.js +129 -0
- package/grid-pro.d.ts +50 -0
- package/grid-pro.js +12 -0
- package/grid-pro.js.map +1 -0
- package/grid-pro.src.d.ts +50 -0
- package/grid-pro.src.js +26623 -0
- package/package.json +21 -0
|
@@ -0,0 +1,971 @@
|
|
|
1
|
+
/* *
|
|
2
|
+
*
|
|
3
|
+
* (c) 2009-2025 Øystein Moseng
|
|
4
|
+
*
|
|
5
|
+
* Default options for accessibility.
|
|
6
|
+
*
|
|
7
|
+
* License: www.highcharts.com/license
|
|
8
|
+
*
|
|
9
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
10
|
+
*
|
|
11
|
+
* */
|
|
12
|
+
'use strict';
|
|
13
|
+
/* *
|
|
14
|
+
*
|
|
15
|
+
* API Options
|
|
16
|
+
*
|
|
17
|
+
* */
|
|
18
|
+
/**
|
|
19
|
+
* Formatter callback for the accessibility announcement.
|
|
20
|
+
*
|
|
21
|
+
* @callback Highcharts.AccessibilityAnnouncementFormatter
|
|
22
|
+
*
|
|
23
|
+
* @param {Array<Highcharts.Series>} updatedSeries
|
|
24
|
+
* Array of all series that received updates. If an announcement is already
|
|
25
|
+
* queued, the series that received updates for that announcement are also
|
|
26
|
+
* included in this array.
|
|
27
|
+
*
|
|
28
|
+
* @param {Highcharts.Series} [addedSeries]
|
|
29
|
+
* This is provided if {@link Highcharts.Chart#addSeries} was called, and there
|
|
30
|
+
* is a new series. In that case, this argument is a reference to the new
|
|
31
|
+
* series.
|
|
32
|
+
*
|
|
33
|
+
* @param {Highcharts.Point} [addedPoint]
|
|
34
|
+
* This is provided if {@link Highcharts.Series#addPoint} was called, and there
|
|
35
|
+
* is a new point. In that case, this argument is a reference to the new point.
|
|
36
|
+
*
|
|
37
|
+
* @return {false|string}
|
|
38
|
+
* The function should return a string with the text to announce to the user.
|
|
39
|
+
* Return empty string to not announce anything. Return `false` to use the
|
|
40
|
+
* default announcement format.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* @interface Highcharts.PointAccessibilityOptionsObject
|
|
44
|
+
*/ /**
|
|
45
|
+
* Provide a description of the data point, announced to screen readers.
|
|
46
|
+
* @name Highcharts.PointAccessibilityOptionsObject#description
|
|
47
|
+
* @type {string|undefined}
|
|
48
|
+
* @requires modules/accessibility
|
|
49
|
+
* @since 7.1.0
|
|
50
|
+
*/ /**
|
|
51
|
+
* Enable or disable exposing the point to assistive technology
|
|
52
|
+
* @name Highcharts.PointAccessibilityOptionsObject#enabled
|
|
53
|
+
* @type {boolean|undefined}
|
|
54
|
+
* @requires modules/accessibility
|
|
55
|
+
* @since 9.0.1
|
|
56
|
+
*/
|
|
57
|
+
/* *
|
|
58
|
+
* @interface Highcharts.PointOptionsObject in parts/Point.ts
|
|
59
|
+
*/ /**
|
|
60
|
+
* @name Highcharts.PointOptionsObject#accessibility
|
|
61
|
+
* @type {Highcharts.PointAccessibilityOptionsObject|undefined}
|
|
62
|
+
* @requires modules/accessibility
|
|
63
|
+
* @since 7.1.0
|
|
64
|
+
*/
|
|
65
|
+
/**
|
|
66
|
+
* @callback Highcharts.ScreenReaderClickCallbackFunction
|
|
67
|
+
*
|
|
68
|
+
* @param {global.MouseEvent} evt
|
|
69
|
+
* Mouse click event
|
|
70
|
+
*
|
|
71
|
+
* @return {void}
|
|
72
|
+
*/
|
|
73
|
+
/**
|
|
74
|
+
* Creates a formatted string for the screen reader module.
|
|
75
|
+
*
|
|
76
|
+
* @callback Highcharts.ScreenReaderFormatterCallbackFunction<T>
|
|
77
|
+
*
|
|
78
|
+
* @param {T} context
|
|
79
|
+
* Context to format
|
|
80
|
+
*
|
|
81
|
+
* @return {string}
|
|
82
|
+
* Formatted string for the screen reader module.
|
|
83
|
+
*/
|
|
84
|
+
const Options = {
|
|
85
|
+
/**
|
|
86
|
+
* Options for configuring accessibility for the chart. Requires the
|
|
87
|
+
* [accessibility module](https://code.highcharts.com/modules/accessibility.js)
|
|
88
|
+
* to be loaded. For a description of the module and information
|
|
89
|
+
* on its features, see
|
|
90
|
+
* [Highcharts Accessibility](https://www.highcharts.com/docs/accessibility/accessibility-module).
|
|
91
|
+
*
|
|
92
|
+
* @since 5.0.0
|
|
93
|
+
* @requires modules/accessibility
|
|
94
|
+
* @optionparent accessibility
|
|
95
|
+
*/
|
|
96
|
+
accessibility: {
|
|
97
|
+
/**
|
|
98
|
+
* Enable accessibility functionality for the chart. For more
|
|
99
|
+
* information on how to include these features, and why this is
|
|
100
|
+
* recommended, see [Highcharts Accessibility](https://www.highcharts.com/docs/accessibility/accessibility-module).
|
|
101
|
+
*
|
|
102
|
+
* Highcharts will by default emit a warning to the console if
|
|
103
|
+
* the [accessibility module](https://code.highcharts.com/modules/accessibility.js)
|
|
104
|
+
* is not loaded. Setting this option to `false` will override
|
|
105
|
+
* and silence the warning.
|
|
106
|
+
*
|
|
107
|
+
* Once the module is loaded, setting this option to `false`
|
|
108
|
+
* will disable the module for this chart.
|
|
109
|
+
*
|
|
110
|
+
* @since 5.0.0
|
|
111
|
+
*/
|
|
112
|
+
enabled: true,
|
|
113
|
+
/**
|
|
114
|
+
* Accessibility options for the screen reader information sections
|
|
115
|
+
* added before and after the chart.
|
|
116
|
+
*
|
|
117
|
+
* @since 8.0.0
|
|
118
|
+
*/
|
|
119
|
+
screenReaderSection: {
|
|
120
|
+
/**
|
|
121
|
+
* Function to run upon clicking the "View as Data Table" link in
|
|
122
|
+
* the screen reader region.
|
|
123
|
+
*
|
|
124
|
+
* By default Highcharts will insert and set focus to a data table
|
|
125
|
+
* representation of the chart.
|
|
126
|
+
*
|
|
127
|
+
* @type {Highcharts.ScreenReaderClickCallbackFunction}
|
|
128
|
+
* @since 8.0.0
|
|
129
|
+
* @apioption accessibility.screenReaderSection.onViewDataTableClick
|
|
130
|
+
*/
|
|
131
|
+
/**
|
|
132
|
+
* Function to run upon clicking the "Play as sound" button in
|
|
133
|
+
* the screen reader region.
|
|
134
|
+
*
|
|
135
|
+
* By default Highcharts will call the `chart.sonify` function.
|
|
136
|
+
*
|
|
137
|
+
* @type {Highcharts.ScreenReaderClickCallbackFunction}
|
|
138
|
+
* @since 8.0.1
|
|
139
|
+
* @apioption accessibility.screenReaderSection.onPlayAsSoundClick
|
|
140
|
+
*/
|
|
141
|
+
/**
|
|
142
|
+
* A formatter function to create the HTML contents of the hidden
|
|
143
|
+
* screen reader information region before the chart. Receives one
|
|
144
|
+
* argument, `chart`, referring to the chart object. Should return a
|
|
145
|
+
* string with the HTML content of the region. By default this
|
|
146
|
+
* returns an automatic description of the chart based on
|
|
147
|
+
* [beforeChartFormat](#accessibility.screenReaderSection.beforeChartFormat).
|
|
148
|
+
*
|
|
149
|
+
* @type {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Chart>}
|
|
150
|
+
* @since 8.0.0
|
|
151
|
+
* @apioption accessibility.screenReaderSection.beforeChartFormatter
|
|
152
|
+
*/
|
|
153
|
+
/**
|
|
154
|
+
* Format for the screen reader information region before the chart.
|
|
155
|
+
* Supported HTML tags are `<h1-6>`, `<p>`, `<div>`, `<a>`, `<ul>`,
|
|
156
|
+
* `<ol>`, `<li>`, and `<button>`. Attributes are not supported,
|
|
157
|
+
* except for id on `<div>`, `<a>`, and `<button>`. Id is required
|
|
158
|
+
* on `<a>` and `<button>` in the format `<tag id="abcd">`. Numbers,
|
|
159
|
+
* lower- and uppercase letters, "-" and "#" are valid characters in
|
|
160
|
+
* IDs.
|
|
161
|
+
*
|
|
162
|
+
* The headingTagName is an auto-detected heading (h1-h6) that
|
|
163
|
+
* corresponds to the heading level below the previous heading in
|
|
164
|
+
* the DOM.
|
|
165
|
+
*
|
|
166
|
+
* Set to empty string to remove the region altogether.
|
|
167
|
+
*
|
|
168
|
+
* @sample highcharts/accessibility/before-chart-format
|
|
169
|
+
* beforeChartFormat
|
|
170
|
+
*
|
|
171
|
+
* @since 8.0.0
|
|
172
|
+
*/
|
|
173
|
+
beforeChartFormat: '<{headingTagName}>{chartTitle}</{headingTagName}>' +
|
|
174
|
+
'<div>{typeDescription}</div>' +
|
|
175
|
+
'<div>{chartSubtitle}</div>' +
|
|
176
|
+
'<div>{chartLongdesc}</div>' +
|
|
177
|
+
'<div>{playAsSoundButton}</div>' +
|
|
178
|
+
'<div>{viewTableButton}</div>' +
|
|
179
|
+
'<div>{xAxisDescription}</div>' +
|
|
180
|
+
'<div>{yAxisDescription}</div>' +
|
|
181
|
+
'<div>{annotationsTitle}{annotationsList}</div>',
|
|
182
|
+
/**
|
|
183
|
+
* A formatter function to create the HTML contents of the hidden
|
|
184
|
+
* screen reader information region after the chart. Analogous to
|
|
185
|
+
* [beforeChartFormatter](#accessibility.screenReaderSection.beforeChartFormatter).
|
|
186
|
+
*
|
|
187
|
+
* @type {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Chart>}
|
|
188
|
+
* @since 8.0.0
|
|
189
|
+
* @apioption accessibility.screenReaderSection.afterChartFormatter
|
|
190
|
+
*/
|
|
191
|
+
/**
|
|
192
|
+
* Format for the screen reader information region after the chart.
|
|
193
|
+
* Analogous to [beforeChartFormat](#accessibility.screenReaderSection.beforeChartFormat).
|
|
194
|
+
*
|
|
195
|
+
* @since 8.0.0
|
|
196
|
+
*/
|
|
197
|
+
afterChartFormat: '{endOfChartMarker}',
|
|
198
|
+
/**
|
|
199
|
+
* Date format to use to describe range of datetime axes.
|
|
200
|
+
*
|
|
201
|
+
* For an overview of the replacement codes, see
|
|
202
|
+
* [dateFormat](/class-reference/Highcharts.Time#dateFormat).
|
|
203
|
+
*
|
|
204
|
+
* @see [point.dateFormat](#accessibility.point.dateFormat)
|
|
205
|
+
*
|
|
206
|
+
* @since 8.0.0
|
|
207
|
+
*/
|
|
208
|
+
axisRangeDateFormat: '%Y-%m-%d %H:%M:%S'
|
|
209
|
+
},
|
|
210
|
+
/**
|
|
211
|
+
* Accessibility options global to all data series. Individual series
|
|
212
|
+
* can also have specific [accessibility options](#plotOptions.series.accessibility)
|
|
213
|
+
* set.
|
|
214
|
+
*
|
|
215
|
+
* @since 8.0.0
|
|
216
|
+
*/
|
|
217
|
+
series: {
|
|
218
|
+
/**
|
|
219
|
+
* Formatter function to use instead of the default for series
|
|
220
|
+
* descriptions. Receives one argument, `series`, referring to the
|
|
221
|
+
* series to describe. Should return a string with the description
|
|
222
|
+
* of the series for a screen reader user. If `false` is returned,
|
|
223
|
+
* the default formatter will be used for that series.
|
|
224
|
+
*
|
|
225
|
+
* @see [series.descriptionFormat](#accessibility.series.descriptionFormat)
|
|
226
|
+
* @see [series.description](#plotOptions.series.description)
|
|
227
|
+
*
|
|
228
|
+
* @type {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Series>}
|
|
229
|
+
* @since 8.0.0
|
|
230
|
+
* @apioption accessibility.series.descriptionFormatter
|
|
231
|
+
*/
|
|
232
|
+
/**
|
|
233
|
+
* Format to use for describing the data series group to assistive
|
|
234
|
+
* technology - including screen readers.
|
|
235
|
+
*
|
|
236
|
+
* The series context and its subproperties are available under the
|
|
237
|
+
* variable `{series}`, for example `{series.name}` for the series
|
|
238
|
+
* name, and `{series.points.length}` for the number of data points.
|
|
239
|
+
*
|
|
240
|
+
* The chart context and its subproperties are available under the
|
|
241
|
+
* variable `{chart}`, for example `{chart.series.length}` for the
|
|
242
|
+
* number of series in the chart.
|
|
243
|
+
*
|
|
244
|
+
* `{seriesDescription}` refers to the automatic description of the
|
|
245
|
+
* series type and number of points added by Highcharts by default.
|
|
246
|
+
* `{authorDescription}` refers to the description added in
|
|
247
|
+
* [series.description](#plotOptions.series.description) if one is
|
|
248
|
+
* present. `{axisDescription}` refers to the description added if
|
|
249
|
+
* the chart has multiple X or Y axes.
|
|
250
|
+
*
|
|
251
|
+
* Note that if [series.descriptionFormatter](#accessibility.series.descriptionFormatter)
|
|
252
|
+
* is declared it will take precedence, and this option will be
|
|
253
|
+
* overridden.
|
|
254
|
+
*
|
|
255
|
+
* @sample highcharts/accessibility/advanced-accessible
|
|
256
|
+
* Accessible low-medium-high chart
|
|
257
|
+
*
|
|
258
|
+
* @type {string}
|
|
259
|
+
* @since 10.1.0
|
|
260
|
+
*/
|
|
261
|
+
descriptionFormat: '{seriesDescription}{authorDescription}{axisDescription}',
|
|
262
|
+
/**
|
|
263
|
+
* Whether or not to add series descriptions to charts with a single
|
|
264
|
+
* series.
|
|
265
|
+
*
|
|
266
|
+
* @since 8.0.0
|
|
267
|
+
*/
|
|
268
|
+
describeSingleSeries: false,
|
|
269
|
+
/**
|
|
270
|
+
* When a series contains more points than this, we no longer expose
|
|
271
|
+
* information about individual points to screen readers.
|
|
272
|
+
* Note that the keyboard navigation remains functional, but points
|
|
273
|
+
* won't have accessible descriptions unless handled separately.
|
|
274
|
+
*
|
|
275
|
+
* Set to `false` to disable.
|
|
276
|
+
*
|
|
277
|
+
* @sample highcharts/accessibility/point-description-enabled-threshold
|
|
278
|
+
* pointDescriptionEnabledThreshold
|
|
279
|
+
*
|
|
280
|
+
* @type {boolean|number}
|
|
281
|
+
* @since 8.0.0
|
|
282
|
+
*/
|
|
283
|
+
pointDescriptionEnabledThreshold: 200
|
|
284
|
+
},
|
|
285
|
+
/**
|
|
286
|
+
* Options for descriptions of individual data points.
|
|
287
|
+
*
|
|
288
|
+
* @since 8.0.0
|
|
289
|
+
*/
|
|
290
|
+
point: {
|
|
291
|
+
/**
|
|
292
|
+
* Date format to use for points on datetime axes when describing
|
|
293
|
+
* them to screen reader users.
|
|
294
|
+
*
|
|
295
|
+
* Defaults to the same format as in tooltip.
|
|
296
|
+
*
|
|
297
|
+
* For an overview of the replacement codes, see
|
|
298
|
+
* [dateFormat](/class-reference/Highcharts.Time#dateFormat).
|
|
299
|
+
*
|
|
300
|
+
* @see [dateFormatter](#accessibility.point.dateFormatter)
|
|
301
|
+
*
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @since 8.0.0
|
|
304
|
+
* @apioption accessibility.point.dateFormat
|
|
305
|
+
*/
|
|
306
|
+
/**
|
|
307
|
+
* Formatter function to determine the date/time format used with
|
|
308
|
+
* points on datetime axes when describing them to screen reader
|
|
309
|
+
* users. Receives one argument, `point`, referring to the point
|
|
310
|
+
* to describe. Should return a date format string compatible with
|
|
311
|
+
* [dateFormat](/class-reference/Highcharts.Time#dateFormat).
|
|
312
|
+
*
|
|
313
|
+
* @see [dateFormat](#accessibility.point.dateFormat)
|
|
314
|
+
*
|
|
315
|
+
* @type {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Point>}
|
|
316
|
+
* @since 8.0.0
|
|
317
|
+
* @apioption accessibility.point.dateFormatter
|
|
318
|
+
*/
|
|
319
|
+
/**
|
|
320
|
+
* Prefix to add to the values in the point descriptions. Uses
|
|
321
|
+
* [tooltip.valuePrefix](#tooltip.valuePrefix) if not defined.
|
|
322
|
+
*
|
|
323
|
+
* @type {string}
|
|
324
|
+
* @since 8.0.0
|
|
325
|
+
* @apioption accessibility.point.valuePrefix
|
|
326
|
+
*/
|
|
327
|
+
/**
|
|
328
|
+
* Suffix to add to the values in the point descriptions. Uses
|
|
329
|
+
* [tooltip.valueSuffix](#tooltip.valueSuffix) if not defined.
|
|
330
|
+
*
|
|
331
|
+
* @type {string}
|
|
332
|
+
* @since 8.0.0
|
|
333
|
+
* @apioption accessibility.point.valueSuffix
|
|
334
|
+
*/
|
|
335
|
+
/**
|
|
336
|
+
* Decimals to use for the values in the point descriptions. Uses
|
|
337
|
+
* [tooltip.valueDecimals](#tooltip.valueDecimals) if not defined.
|
|
338
|
+
*
|
|
339
|
+
* @type {number}
|
|
340
|
+
* @since 8.0.0
|
|
341
|
+
* @apioption accessibility.point.valueDecimals
|
|
342
|
+
*/
|
|
343
|
+
/**
|
|
344
|
+
* A [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)
|
|
345
|
+
* to use instead of the default for point descriptions.
|
|
346
|
+
*
|
|
347
|
+
* The context of the format string is the point instance.
|
|
348
|
+
*
|
|
349
|
+
* As opposed to [accessibility.point.valueDescriptionFormat](#accessibility.point.valueDescriptionFormat),
|
|
350
|
+
* this option replaces the whole description.
|
|
351
|
+
*
|
|
352
|
+
* @type {string}
|
|
353
|
+
* @since 11.1.0
|
|
354
|
+
* @sample highcharts/demo/advanced-accessible
|
|
355
|
+
* Description format
|
|
356
|
+
* @apioption accessibility.point.descriptionFormat
|
|
357
|
+
*/
|
|
358
|
+
/**
|
|
359
|
+
* Formatter function to use instead of the default for point
|
|
360
|
+
* descriptions.
|
|
361
|
+
*
|
|
362
|
+
* Receives one argument, `point`, referring to the point to
|
|
363
|
+
* describe. Should return a string with the description of the
|
|
364
|
+
* point for a screen reader user. If `false` is returned, the
|
|
365
|
+
* default formatter will be used for that point.
|
|
366
|
+
*
|
|
367
|
+
* Note: Prefer using [accessibility.point.valueDescriptionFormat](#accessibility.point.valueDescriptionFormat)
|
|
368
|
+
* instead if possible, as default functionality such as describing
|
|
369
|
+
* annotations will be preserved.
|
|
370
|
+
*
|
|
371
|
+
* @see [accessibility.point.valueDescriptionFormat](#accessibility.point.valueDescriptionFormat)
|
|
372
|
+
* @see [point.accessibility.description](#series.line.data.accessibility.description)
|
|
373
|
+
*
|
|
374
|
+
* @type {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Point>}
|
|
375
|
+
* @since 8.0.0
|
|
376
|
+
* @apioption accessibility.point.descriptionFormatter
|
|
377
|
+
*/
|
|
378
|
+
/**
|
|
379
|
+
* Format to use for describing the values of data points
|
|
380
|
+
* to assistive technology - including screen readers.
|
|
381
|
+
* The point context is available as `{point}`.
|
|
382
|
+
*
|
|
383
|
+
* Other available context variables include `{index}`, `{value}`, and `{xDescription}`.
|
|
384
|
+
*
|
|
385
|
+
* Additionally, the series name, annotation info, and
|
|
386
|
+
* description added in `point.accessibility.description`
|
|
387
|
+
* is added by default if relevant. To override this, use the
|
|
388
|
+
* [accessibility.point.descriptionFormatter](#accessibility.point.descriptionFormatter)
|
|
389
|
+
* option.
|
|
390
|
+
*
|
|
391
|
+
* @see [point.accessibility.description](#series.line.data.accessibility.description)
|
|
392
|
+
* @see [accessibility.point.descriptionFormatter](#accessibility.point.descriptionFormatter)
|
|
393
|
+
*
|
|
394
|
+
* @type {string}
|
|
395
|
+
* @since 8.0.1
|
|
396
|
+
*/
|
|
397
|
+
valueDescriptionFormat: '{xDescription}{separator}{value}.',
|
|
398
|
+
/**
|
|
399
|
+
* Whether or not to describe points with the value `null` to
|
|
400
|
+
* assistive technology, such as screen readers.
|
|
401
|
+
*
|
|
402
|
+
* @sample {highmaps} maps/demo/all-areas-as-null
|
|
403
|
+
* Accessible map with null points
|
|
404
|
+
*
|
|
405
|
+
* @type {boolean}
|
|
406
|
+
* @since 10.1.0
|
|
407
|
+
*/
|
|
408
|
+
describeNull: true
|
|
409
|
+
},
|
|
410
|
+
/**
|
|
411
|
+
* Amount of landmarks/regions to create for screen reader users. More
|
|
412
|
+
* landmarks can make navigation with screen readers easier, but can
|
|
413
|
+
* be distracting if there are lots of charts on the page. Three modes
|
|
414
|
+
* are available:
|
|
415
|
+
* - `all`: Adds regions for all series, legend, information
|
|
416
|
+
* region.
|
|
417
|
+
* - `one`: Adds a single landmark per chart.
|
|
418
|
+
* - `disabled`: No landmarks are added.
|
|
419
|
+
*
|
|
420
|
+
* @since 7.1.0
|
|
421
|
+
* @validvalue ["all", "one", "disabled"]
|
|
422
|
+
*/
|
|
423
|
+
landmarkVerbosity: 'all',
|
|
424
|
+
/**
|
|
425
|
+
* Link the chart to an HTML element describing the contents of the
|
|
426
|
+
* chart.
|
|
427
|
+
*
|
|
428
|
+
* It is always recommended to describe charts using visible text, to
|
|
429
|
+
* improve SEO as well as accessibility for users with disabilities.
|
|
430
|
+
* This option lets an HTML element with a description be linked to the
|
|
431
|
+
* chart, so that screen reader users can connect the two.
|
|
432
|
+
*
|
|
433
|
+
* By setting this option to a string, Highcharts runs the string as an
|
|
434
|
+
* HTML selector query on the entire document. If there is only a single
|
|
435
|
+
* match, this element is linked to the chart. The content of the linked
|
|
436
|
+
* element will be included in the chart description for screen reader
|
|
437
|
+
* users.
|
|
438
|
+
*
|
|
439
|
+
* By default, the chart looks for an adjacent sibling element with the
|
|
440
|
+
* `highcharts-description` class.
|
|
441
|
+
*
|
|
442
|
+
* The feature can be disabled by setting the option to an empty string,
|
|
443
|
+
* or overridden by providing the
|
|
444
|
+
* [accessibility.description](#accessibility.description) option.
|
|
445
|
+
* Alternatively, the HTML element to link can be passed in directly as
|
|
446
|
+
* an HTML node.
|
|
447
|
+
*
|
|
448
|
+
* If you need the description to be part of the exported image,
|
|
449
|
+
* consider using the [caption](#caption) feature.
|
|
450
|
+
*
|
|
451
|
+
* If you need the description to be hidden visually, use the
|
|
452
|
+
* [accessibility.description](#accessibility.description) option.
|
|
453
|
+
*
|
|
454
|
+
* @see [caption](#caption)
|
|
455
|
+
* @see [description](#accessibility.description)
|
|
456
|
+
* @see [typeDescription](#accessibility.typeDescription)
|
|
457
|
+
*
|
|
458
|
+
* @sample highcharts/accessibility/accessible-line
|
|
459
|
+
* Accessible line chart
|
|
460
|
+
*
|
|
461
|
+
* @type {string|Highcharts.HTMLDOMElement}
|
|
462
|
+
* @since 8.0.0
|
|
463
|
+
*/
|
|
464
|
+
linkedDescription: '*[data-highcharts-chart="{index}"] + .highcharts-description', // eslint-disable-line
|
|
465
|
+
/**
|
|
466
|
+
* A hook for adding custom components to the accessibility module.
|
|
467
|
+
* Should be an object mapping component names to instances of classes
|
|
468
|
+
* inheriting from the Highcharts.AccessibilityComponent base class.
|
|
469
|
+
* Remember to add the component to the
|
|
470
|
+
* [keyboardNavigation.order](#accessibility.keyboardNavigation.order)
|
|
471
|
+
* for the keyboard navigation to be usable.
|
|
472
|
+
*
|
|
473
|
+
* @sample highcharts/accessibility/custom-component
|
|
474
|
+
* Custom accessibility component
|
|
475
|
+
*
|
|
476
|
+
* @type {*}
|
|
477
|
+
* @since 7.1.0
|
|
478
|
+
* @apioption accessibility.customComponents
|
|
479
|
+
*/
|
|
480
|
+
/**
|
|
481
|
+
* Theme to apply to the chart when Windows High Contrast Mode is
|
|
482
|
+
* detected. By default, a high contrast theme matching the high
|
|
483
|
+
* contrast system colors is used.
|
|
484
|
+
*
|
|
485
|
+
* @type {*}
|
|
486
|
+
* @since 7.1.3
|
|
487
|
+
* @apioption accessibility.highContrastTheme
|
|
488
|
+
*/
|
|
489
|
+
/**
|
|
490
|
+
* Controls how [highContrastTheme](#accessibility.highContrastTheme)
|
|
491
|
+
* is applied.
|
|
492
|
+
*
|
|
493
|
+
* The default option is `auto`, which applies the high contrast theme
|
|
494
|
+
* the user's system has a high contrast theme active.
|
|
495
|
+
*
|
|
496
|
+
* @sample highcharts/accessibility/high-contrast-mode
|
|
497
|
+
* High contrast mode enabled
|
|
498
|
+
*
|
|
499
|
+
* @since 11.4.0
|
|
500
|
+
*/
|
|
501
|
+
highContrastMode: 'auto',
|
|
502
|
+
/**
|
|
503
|
+
* A text description of the chart.
|
|
504
|
+
*
|
|
505
|
+
* **Note: Prefer using [linkedDescription](#accessibility.linkedDescription)
|
|
506
|
+
* or [caption](#caption.text) instead.**
|
|
507
|
+
*
|
|
508
|
+
* If the Accessibility module is loaded, this option is included by
|
|
509
|
+
* default as a long description of the chart in the hidden screen
|
|
510
|
+
* reader information region.
|
|
511
|
+
*
|
|
512
|
+
* Note: Since Highcharts now supports captions and linked descriptions,
|
|
513
|
+
* it is preferred to define the description using those methods, as a
|
|
514
|
+
* visible caption/description benefits all users. If the
|
|
515
|
+
* `accessibility.description` option is defined, the linked description
|
|
516
|
+
* is ignored, and the caption is hidden from screen reader users.
|
|
517
|
+
*
|
|
518
|
+
* @see [linkedDescription](#accessibility.linkedDescription)
|
|
519
|
+
* @see [caption](#caption)
|
|
520
|
+
* @see [typeDescription](#accessibility.typeDescription)
|
|
521
|
+
*
|
|
522
|
+
* @type {string}
|
|
523
|
+
* @since 5.0.0
|
|
524
|
+
* @apioption accessibility.description
|
|
525
|
+
*/
|
|
526
|
+
/**
|
|
527
|
+
* A text description of the chart type.
|
|
528
|
+
*
|
|
529
|
+
* If the Accessibility module is loaded, this will be included in the
|
|
530
|
+
* description of the chart in the screen reader information region.
|
|
531
|
+
*
|
|
532
|
+
* Highcharts will by default attempt to guess the chart type, but for
|
|
533
|
+
* more complex charts it is recommended to specify this property for
|
|
534
|
+
* clarity.
|
|
535
|
+
*
|
|
536
|
+
* @type {string}
|
|
537
|
+
* @since 5.0.0
|
|
538
|
+
* @apioption accessibility.typeDescription
|
|
539
|
+
*/
|
|
540
|
+
/**
|
|
541
|
+
* Options for keyboard navigation.
|
|
542
|
+
*
|
|
543
|
+
* @declare Highcharts.KeyboardNavigationOptionsObject
|
|
544
|
+
* @since 5.0.0
|
|
545
|
+
*/
|
|
546
|
+
keyboardNavigation: {
|
|
547
|
+
/**
|
|
548
|
+
* Enable keyboard navigation for the chart.
|
|
549
|
+
*
|
|
550
|
+
* @since 5.0.0
|
|
551
|
+
*/
|
|
552
|
+
enabled: true,
|
|
553
|
+
/**
|
|
554
|
+
* Options for the focus border drawn around elements while
|
|
555
|
+
* navigating through them.
|
|
556
|
+
*
|
|
557
|
+
* @sample highcharts/accessibility/custom-focus
|
|
558
|
+
* Custom focus ring
|
|
559
|
+
*
|
|
560
|
+
* @declare Highcharts.KeyboardNavigationFocusBorderOptionsObject
|
|
561
|
+
* @since 6.0.3
|
|
562
|
+
*/
|
|
563
|
+
focusBorder: {
|
|
564
|
+
/**
|
|
565
|
+
* Enable/disable focus border for chart.
|
|
566
|
+
*
|
|
567
|
+
* @since 6.0.3
|
|
568
|
+
*/
|
|
569
|
+
enabled: true,
|
|
570
|
+
/**
|
|
571
|
+
* Hide the browser's default focus indicator.
|
|
572
|
+
*
|
|
573
|
+
* @since 6.0.4
|
|
574
|
+
*/
|
|
575
|
+
hideBrowserFocusOutline: true,
|
|
576
|
+
/**
|
|
577
|
+
* Style options for the focus border drawn around elements
|
|
578
|
+
* while navigating through them. Note that some browsers in
|
|
579
|
+
* addition draw their own borders for focused elements. These
|
|
580
|
+
* automatic borders cannot be styled by Highcharts.
|
|
581
|
+
*
|
|
582
|
+
* In styled mode, the border is given the
|
|
583
|
+
* `.highcharts-focus-border` class.
|
|
584
|
+
*
|
|
585
|
+
* @type {Highcharts.CSSObject}
|
|
586
|
+
* @since 6.0.3
|
|
587
|
+
*/
|
|
588
|
+
style: {
|
|
589
|
+
/** @internal */
|
|
590
|
+
color: "#334eff" /* Palette.highlightColor80 */,
|
|
591
|
+
/** @internal */
|
|
592
|
+
lineWidth: 2,
|
|
593
|
+
/** @internal */
|
|
594
|
+
borderRadius: 3
|
|
595
|
+
},
|
|
596
|
+
/**
|
|
597
|
+
* Focus border margin around the elements.
|
|
598
|
+
*
|
|
599
|
+
* @since 6.0.3
|
|
600
|
+
*/
|
|
601
|
+
margin: 2
|
|
602
|
+
},
|
|
603
|
+
/**
|
|
604
|
+
* Order of tab navigation in the chart. Determines which elements
|
|
605
|
+
* are tabbed to first. Available elements are: `series`, `zoom`,
|
|
606
|
+
* `rangeSelector`, `navigator`, `chartMenu`, `legend` and `container`.
|
|
607
|
+
* In addition, any custom components can be added here. Adding
|
|
608
|
+
* `container` first in order will make the keyboard focus stop on
|
|
609
|
+
* the chart container first, requiring the user to tab again to
|
|
610
|
+
* enter the chart.
|
|
611
|
+
*
|
|
612
|
+
* @sample highcharts/accessibility/custom-component
|
|
613
|
+
* Custom order is set
|
|
614
|
+
*
|
|
615
|
+
* @type {Array<string>}
|
|
616
|
+
* @since 7.1.0
|
|
617
|
+
*/
|
|
618
|
+
order: [
|
|
619
|
+
'series', 'zoom', 'rangeSelector',
|
|
620
|
+
'navigator', 'legend', 'chartMenu'
|
|
621
|
+
],
|
|
622
|
+
/**
|
|
623
|
+
* Whether or not to wrap around when reaching the end of arrow-key
|
|
624
|
+
* navigation for an element in the chart.
|
|
625
|
+
* @since 7.1.0
|
|
626
|
+
*/
|
|
627
|
+
wrapAround: true,
|
|
628
|
+
/**
|
|
629
|
+
* Options for the keyboard navigation of data points and series.
|
|
630
|
+
*
|
|
631
|
+
* @declare Highcharts.KeyboardNavigationSeriesNavigationOptionsObject
|
|
632
|
+
* @since 8.0.0
|
|
633
|
+
*/
|
|
634
|
+
seriesNavigation: {
|
|
635
|
+
/**
|
|
636
|
+
* Set the keyboard navigation mode for the chart. Can be
|
|
637
|
+
* "normal" or "serialize". In normal mode, left/right arrow
|
|
638
|
+
* keys move between points in a series, while up/down arrow
|
|
639
|
+
* keys move between series. Up/down navigation acts
|
|
640
|
+
* intelligently to figure out which series makes sense to move
|
|
641
|
+
* to from any given point.
|
|
642
|
+
*
|
|
643
|
+
* In "serialize" mode, points are instead navigated as a single
|
|
644
|
+
* list. Left/right behaves as in "normal" mode. Up/down arrow
|
|
645
|
+
* keys will behave like left/right. This can be useful for
|
|
646
|
+
* unifying navigation behavior with/without screen readers
|
|
647
|
+
* enabled.
|
|
648
|
+
*
|
|
649
|
+
* @type {string}
|
|
650
|
+
* @default normal
|
|
651
|
+
* @since 8.0.0
|
|
652
|
+
* @validvalue ["normal", "serialize"]
|
|
653
|
+
* @apioption accessibility.keyboardNavigation.seriesNavigation.mode
|
|
654
|
+
*/
|
|
655
|
+
/**
|
|
656
|
+
* Skip null points when navigating through points with the
|
|
657
|
+
* keyboard. By default this is the opposite of
|
|
658
|
+
* [series.nullInteraction](https://api.highcharts.com/highcharts/plotOptions.series.nullInteraction).
|
|
659
|
+
*
|
|
660
|
+
* @since 8.0.0
|
|
661
|
+
*/
|
|
662
|
+
skipNullPoints: void 0,
|
|
663
|
+
/**
|
|
664
|
+
* When a series contains more points than this, we no longer
|
|
665
|
+
* allow keyboard navigation for it.
|
|
666
|
+
*
|
|
667
|
+
* Set to `false` to disable.
|
|
668
|
+
*
|
|
669
|
+
* @type {boolean|number}
|
|
670
|
+
* @since 8.0.0
|
|
671
|
+
*/
|
|
672
|
+
pointNavigationEnabledThreshold: false,
|
|
673
|
+
/**
|
|
674
|
+
* Remember which point was focused even after navigating away
|
|
675
|
+
* from the series, so that when navigating back to the series
|
|
676
|
+
* you start at the last focused point.
|
|
677
|
+
*
|
|
678
|
+
* @type {boolean}
|
|
679
|
+
* @since 10.1.0
|
|
680
|
+
*/
|
|
681
|
+
rememberPointFocus: false
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
/**
|
|
685
|
+
* Options for announcing new data to screen reader users. Useful
|
|
686
|
+
* for dynamic data applications and drilldown.
|
|
687
|
+
*
|
|
688
|
+
* Keep in mind that frequent announcements will not be useful to
|
|
689
|
+
* users, as they won't have time to explore the new data. For these
|
|
690
|
+
* applications, consider making snapshots of the data accessible, and
|
|
691
|
+
* do the announcements in batches.
|
|
692
|
+
*
|
|
693
|
+
* @declare Highcharts.AccessibilityAnnounceNewDataOptionsObject
|
|
694
|
+
* @since 7.1.0
|
|
695
|
+
*/
|
|
696
|
+
announceNewData: {
|
|
697
|
+
/**
|
|
698
|
+
* Optional formatter callback for the announcement. Receives
|
|
699
|
+
* up to three arguments. The first argument is always an array
|
|
700
|
+
* of all series that received updates. If an announcement is
|
|
701
|
+
* already queued, the series that received updates for that
|
|
702
|
+
* announcement are also included in this array. The second
|
|
703
|
+
* argument is provided if `chart.addSeries` was called, and
|
|
704
|
+
* there is a new series. In that case, this argument is a
|
|
705
|
+
* reference to the new series. The third argument, similarly,
|
|
706
|
+
* is provided if `series.addPoint` was called, and there is a
|
|
707
|
+
* new point. In that case, this argument is a reference to the
|
|
708
|
+
* new point.
|
|
709
|
+
*
|
|
710
|
+
* The function should return a string with the text to announce
|
|
711
|
+
* to the user. Return empty string to not announce anything.
|
|
712
|
+
* Return `false` to use the default announcement format.
|
|
713
|
+
*
|
|
714
|
+
* @sample highcharts/accessibility/custom-dynamic
|
|
715
|
+
* High priority live alerts
|
|
716
|
+
*
|
|
717
|
+
* @type {Highcharts.AccessibilityAnnouncementFormatter}
|
|
718
|
+
* @apioption accessibility.announceNewData.announcementFormatter
|
|
719
|
+
*/
|
|
720
|
+
/**
|
|
721
|
+
* Enable announcing new data to screen reader users
|
|
722
|
+
* @sample highcharts/accessibility/accessible-dynamic
|
|
723
|
+
* Dynamic data accessible
|
|
724
|
+
*/
|
|
725
|
+
enabled: false,
|
|
726
|
+
/**
|
|
727
|
+
* Minimum interval between announcements in milliseconds. If
|
|
728
|
+
* new data arrives before this amount of time has passed, it is
|
|
729
|
+
* queued for announcement. If another new data event happens
|
|
730
|
+
* while an announcement is queued, the queued announcement is
|
|
731
|
+
* dropped, and the latest announcement is queued instead. Set
|
|
732
|
+
* to 0 to allow all announcements, but be warned that frequent
|
|
733
|
+
* announcements are disturbing to users.
|
|
734
|
+
*/
|
|
735
|
+
minAnnounceInterval: 5000,
|
|
736
|
+
/**
|
|
737
|
+
* Choose whether or not the announcements should interrupt the
|
|
738
|
+
* screen reader. If not enabled, the user will be notified once
|
|
739
|
+
* idle. It is recommended not to enable this setting unless
|
|
740
|
+
* there is a specific reason to do so.
|
|
741
|
+
*/
|
|
742
|
+
interruptUser: false
|
|
743
|
+
}
|
|
744
|
+
},
|
|
745
|
+
/**
|
|
746
|
+
* Accessibility options for a data point.
|
|
747
|
+
*
|
|
748
|
+
* @declare Highcharts.PointAccessibilityOptionsObject
|
|
749
|
+
* @since 7.1.0
|
|
750
|
+
* @apioption series.line.data.accessibility
|
|
751
|
+
*/
|
|
752
|
+
/**
|
|
753
|
+
* Provide a description of the data point, announced to screen readers.
|
|
754
|
+
*
|
|
755
|
+
* @type {string}
|
|
756
|
+
* @since 7.1.0
|
|
757
|
+
* @apioption series.line.data.accessibility.description
|
|
758
|
+
*/
|
|
759
|
+
/**
|
|
760
|
+
* Set to false to disable accessibility functionality for a specific point.
|
|
761
|
+
* The point will not be included in keyboard navigation, and will not be
|
|
762
|
+
* exposed to assistive technology.
|
|
763
|
+
*
|
|
764
|
+
* @type {boolean}
|
|
765
|
+
* @since 9.0.1
|
|
766
|
+
* @apioption series.line.data.accessibility.enabled
|
|
767
|
+
*/
|
|
768
|
+
/**
|
|
769
|
+
* Accessibility options for a series.
|
|
770
|
+
*
|
|
771
|
+
* @declare Highcharts.SeriesAccessibilityOptionsObject
|
|
772
|
+
* @since 7.1.0
|
|
773
|
+
* @requires modules/accessibility
|
|
774
|
+
* @apioption plotOptions.series.accessibility
|
|
775
|
+
*/
|
|
776
|
+
/**
|
|
777
|
+
* Enable/disable accessibility functionality for a specific series.
|
|
778
|
+
*
|
|
779
|
+
* @type {boolean}
|
|
780
|
+
* @since 7.1.0
|
|
781
|
+
* @apioption plotOptions.series.accessibility.enabled
|
|
782
|
+
*/
|
|
783
|
+
/**
|
|
784
|
+
* Provide a description of the series, announced to screen readers.
|
|
785
|
+
*
|
|
786
|
+
* @type {string}
|
|
787
|
+
* @since 7.1.0
|
|
788
|
+
* @apioption plotOptions.series.accessibility.description
|
|
789
|
+
*/
|
|
790
|
+
/**
|
|
791
|
+
* Format to use for describing the data series group to assistive
|
|
792
|
+
* technology - including screen readers.
|
|
793
|
+
*
|
|
794
|
+
* @see [series.descriptionFormat](#accessibility.series.descriptionFormat)
|
|
795
|
+
* @type {string}
|
|
796
|
+
* @since 11.0.0
|
|
797
|
+
* @apioption plotOptions.series.accessibility.descriptionFormat
|
|
798
|
+
*/
|
|
799
|
+
/**
|
|
800
|
+
* Expose only the series element to screen readers, not its points.
|
|
801
|
+
*
|
|
802
|
+
* @type {boolean}
|
|
803
|
+
* @since 7.1.0
|
|
804
|
+
* @apioption plotOptions.series.accessibility.exposeAsGroupOnly
|
|
805
|
+
*/
|
|
806
|
+
/**
|
|
807
|
+
* Point accessibility options for a series.
|
|
808
|
+
*
|
|
809
|
+
* @extends accessibility.point
|
|
810
|
+
* @since 9.3.0
|
|
811
|
+
* @requires modules/accessibility
|
|
812
|
+
* @apioption plotOptions.series.accessibility.point
|
|
813
|
+
*/
|
|
814
|
+
/**
|
|
815
|
+
* Formatter function to use instead of the default for point
|
|
816
|
+
* descriptions. Same as `accessibility.point.descriptionFormatter`, but
|
|
817
|
+
* applies to a series instead of the whole chart.
|
|
818
|
+
*
|
|
819
|
+
* Note: Prefer using [accessibility.point.valueDescriptionFormat](#plotOptions.series.accessibility.point.valueDescriptionFormat)
|
|
820
|
+
* instead if possible, as default functionality such as describing
|
|
821
|
+
* annotations will be preserved.
|
|
822
|
+
*
|
|
823
|
+
* @see [accessibility.point.valueDescriptionFormat](#plotOptions.series.accessibility.point.valueDescriptionFormat)
|
|
824
|
+
* @see [point.accessibility.description](#series.line.data.accessibility.description)
|
|
825
|
+
* @see [accessibility.point.descriptionFormatter](#accessibility.point.descriptionFormatter)
|
|
826
|
+
*
|
|
827
|
+
* @type {Highcharts.ScreenReaderFormatterCallbackFunction<Highcharts.Point>}
|
|
828
|
+
* @since 9.3.0
|
|
829
|
+
* @apioption plotOptions.series.accessibility.point.descriptionFormatter
|
|
830
|
+
*/
|
|
831
|
+
/**
|
|
832
|
+
* Keyboard navigation for a series
|
|
833
|
+
*
|
|
834
|
+
* @declare Highcharts.SeriesAccessibilityKeyboardNavigationOptionsObject
|
|
835
|
+
* @since 7.1.0
|
|
836
|
+
* @apioption plotOptions.series.accessibility.keyboardNavigation
|
|
837
|
+
*/
|
|
838
|
+
/**
|
|
839
|
+
* Enable/disable keyboard navigation support for a specific series.
|
|
840
|
+
*
|
|
841
|
+
* @type {boolean}
|
|
842
|
+
* @since 7.1.0
|
|
843
|
+
* @apioption plotOptions.series.accessibility.keyboardNavigation.enabled
|
|
844
|
+
*/
|
|
845
|
+
/**
|
|
846
|
+
* Accessibility options for an annotation label.
|
|
847
|
+
*
|
|
848
|
+
* @declare Highcharts.AnnotationLabelAccessibilityOptionsObject
|
|
849
|
+
* @since 8.0.1
|
|
850
|
+
* @requires modules/accessibility
|
|
851
|
+
* @apioption annotations.labelOptions.accessibility
|
|
852
|
+
*/
|
|
853
|
+
/**
|
|
854
|
+
* Description of an annotation label for screen readers and other assistive
|
|
855
|
+
* technology.
|
|
856
|
+
*
|
|
857
|
+
* @type {string}
|
|
858
|
+
* @since 8.0.1
|
|
859
|
+
* @apioption annotations.labelOptions.accessibility.description
|
|
860
|
+
*/
|
|
861
|
+
/**
|
|
862
|
+
* Accessibility options for an axis. Requires the accessibility module.
|
|
863
|
+
*
|
|
864
|
+
* @declare Highcharts.AxisAccessibilityOptionsObject
|
|
865
|
+
* @since 7.1.0
|
|
866
|
+
* @requires modules/accessibility
|
|
867
|
+
* @apioption xAxis.accessibility
|
|
868
|
+
*/
|
|
869
|
+
/**
|
|
870
|
+
* Enable axis accessibility features, including axis information in the
|
|
871
|
+
* screen reader information region. If this is disabled on the xAxis, the
|
|
872
|
+
* x values are not exposed to screen readers for the individual data points
|
|
873
|
+
* by default.
|
|
874
|
+
*
|
|
875
|
+
* @type {boolean}
|
|
876
|
+
* @since 7.1.0
|
|
877
|
+
* @apioption xAxis.accessibility.enabled
|
|
878
|
+
*/
|
|
879
|
+
/**
|
|
880
|
+
* Description for an axis to expose to screen reader users.
|
|
881
|
+
*
|
|
882
|
+
* @type {string}
|
|
883
|
+
* @since 7.1.0
|
|
884
|
+
* @apioption xAxis.accessibility.description
|
|
885
|
+
*/
|
|
886
|
+
/**
|
|
887
|
+
* Range description for an axis. Overrides the default range description.
|
|
888
|
+
* Set to empty to disable range description for this axis.
|
|
889
|
+
*
|
|
890
|
+
* @type {string}
|
|
891
|
+
* @since 7.1.0
|
|
892
|
+
* @apioption xAxis.accessibility.rangeDescription
|
|
893
|
+
*/
|
|
894
|
+
/**
|
|
895
|
+
* @optionparent legend
|
|
896
|
+
*/
|
|
897
|
+
legend: {
|
|
898
|
+
/**
|
|
899
|
+
* Accessibility options for the legend. Requires the Accessibility
|
|
900
|
+
* module.
|
|
901
|
+
*
|
|
902
|
+
* @since 7.1.0
|
|
903
|
+
* @requires modules/accessibility
|
|
904
|
+
*/
|
|
905
|
+
accessibility: {
|
|
906
|
+
/**
|
|
907
|
+
* Enable accessibility support for the legend.
|
|
908
|
+
*
|
|
909
|
+
* @since 7.1.0
|
|
910
|
+
*/
|
|
911
|
+
enabled: true,
|
|
912
|
+
/**
|
|
913
|
+
* Options for keyboard navigation for the legend.
|
|
914
|
+
*
|
|
915
|
+
* @since 7.1.0
|
|
916
|
+
* @requires modules/accessibility
|
|
917
|
+
*/
|
|
918
|
+
keyboardNavigation: {
|
|
919
|
+
/**
|
|
920
|
+
* Enable keyboard navigation for the legend.
|
|
921
|
+
*
|
|
922
|
+
* @see [accessibility.keyboardNavigation](#accessibility.keyboardNavigation.enabled)
|
|
923
|
+
*
|
|
924
|
+
* @since 7.1.0
|
|
925
|
+
*/
|
|
926
|
+
enabled: true
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
},
|
|
930
|
+
/**
|
|
931
|
+
* @optionparent exporting
|
|
932
|
+
*/
|
|
933
|
+
exporting: {
|
|
934
|
+
/**
|
|
935
|
+
* Accessibility options for the exporting menu. Requires the
|
|
936
|
+
* Accessibility module.
|
|
937
|
+
*
|
|
938
|
+
* @since 7.1.0
|
|
939
|
+
* @requires modules/accessibility
|
|
940
|
+
*/
|
|
941
|
+
accessibility: {
|
|
942
|
+
/**
|
|
943
|
+
* Enable accessibility support for the export menu.
|
|
944
|
+
*
|
|
945
|
+
* @since 7.1.0
|
|
946
|
+
*/
|
|
947
|
+
enabled: true
|
|
948
|
+
}
|
|
949
|
+
},
|
|
950
|
+
/**
|
|
951
|
+
* @optionparent navigator
|
|
952
|
+
*/
|
|
953
|
+
navigator: {
|
|
954
|
+
/**
|
|
955
|
+
* Accessibility options for the navigator. Requires the
|
|
956
|
+
* Accessibility module.
|
|
957
|
+
*
|
|
958
|
+
* @since 11.2.0
|
|
959
|
+
* @requires modules/accessibility
|
|
960
|
+
*/
|
|
961
|
+
accessibility: {
|
|
962
|
+
/**
|
|
963
|
+
* Enable accessibility support for the navigator.
|
|
964
|
+
*
|
|
965
|
+
* @since 11.2.0
|
|
966
|
+
*/
|
|
967
|
+
enabled: true
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
};
|
|
971
|
+
export default Options;
|