highcharts 9.3.0 → 9.3.1
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/bower.json +1 -1
- package/es-modules/Accessibility/Accessibility.js +5 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +130 -84
- package/es-modules/Accessibility/Components/MenuComponent.js +195 -120
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +166 -81
- package/es-modules/Accessibility/KeyboardNavigation.js +2 -1
- package/es-modules/Core/Axis/OrdinalAxis.js +0 -4
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
- package/es-modules/Extensions/Annotations/NavigationBindings.js +23 -10
- package/es-modules/Extensions/Annotations/Popup.js +1 -1
- package/es-modules/Extensions/Boost/BoostOptions.js +2 -2
- package/es-modules/Extensions/Exporting/Exporting.js +2 -2
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +1 -1
- package/es-modules/Extensions/Polar.js +1 -1
- package/es-modules/Maps/MapView.js +5 -5
- package/es-modules/Maps/MapViewOptionsDefault.js +4 -2
- package/es-modules/Maps/Projection.js +3 -0
- package/es-modules/Maps/Projections/EqualEarth.js +7 -7
- package/es-modules/Maps/Projections/LambertConformalConic.js +52 -0
- package/es-modules/Maps/Projections/Miller.js +5 -6
- package/es-modules/Maps/Projections/Orthographic.js +4 -4
- package/es-modules/Maps/Projections/ProjectionRegistry.js +2 -0
- package/es-modules/Maps/Projections/WebMercator.js +2 -3
- package/es-modules/Series/Map/MapSeries.js +3 -0
- package/es-modules/Series/MapLine/MapLineSeries.js +2 -0
- package/es-modules/Series/MapPoint/MapPointSeries.js +13 -11
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +23 -17
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +3 -4
- package/es-modules/Stock/StockToolsGui.js +5 -5
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +1 -1
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +2 -2
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
- package/es-modules/masters/modules/oldie.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/es-modules/masters/themes/dark-green.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/gray.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/grid.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/highcharts-3d.js +1 -1
- package/highcharts-3d.src.js +1 -1
- package/highcharts-gantt.js +3 -3
- package/highcharts-gantt.src.js +3 -3
- package/highcharts-more.js +2 -2
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +2 -2
- package/highcharts.d.ts +126 -9
- package/highcharts.js +3 -3
- package/highcharts.src.d.ts +126 -9
- package/highcharts.src.js +3 -3
- package/highmaps.js +655 -653
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +131 -43
- package/highstock.js +61 -61
- package/highstock.js.map +1 -1
- package/highstock.src.js +3 -7
- package/indicators/acceleration-bands.js +1 -1
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +1 -1
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +1 -1
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +1 -1
- package/indicators/aroon.src.js +1 -1
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.js +1 -1
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.js +72 -72
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +29 -24
- package/indicators/indicators.js +10 -10
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +26 -20
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.js +1 -1
- package/indicators/klinger.src.js +1 -1
- package/indicators/macd.js +1 -1
- package/indicators/macd.src.js +1 -1
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +1 -1
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +1 -1
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +1 -1
- package/indicators/slow-stochastic.js +1 -1
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +1 -1
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.js.map +1 -1
- package/indicators/volume-by-price.src.js +4 -5
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +225 -222
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +1306 -1085
- package/modules/annotations-advanced.js +153 -152
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +26 -12
- package/modules/annotations.js +81 -80
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +26 -12
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +1 -1
- package/modules/boost-canvas.src.js +1 -1
- package/modules/boost.js +1 -1
- package/modules/boost.src.js +1 -1
- package/modules/broken-axis.js +1 -1
- package/modules/broken-axis.src.js +1 -1
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.js +1 -1
- package/modules/coloraxis.src.js +1 -1
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +1 -1
- package/modules/cylinder.src.js +1 -1
- package/modules/data.js +1 -1
- package/modules/data.src.js +1 -1
- package/modules/datagrouping.js +1 -1
- package/modules/datagrouping.src.js +1 -1
- package/modules/debugger.js +1 -1
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.js +1 -1
- package/modules/dependency-wheel.src.js +1 -1
- package/modules/dotplot.js +1 -1
- package/modules/dotplot.src.js +1 -1
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +1 -1
- package/modules/draggable-points.src.js +1 -1
- package/modules/drilldown.js +1 -1
- package/modules/drilldown.src.js +1 -1
- package/modules/dumbbell.js +1 -1
- package/modules/dumbbell.src.js +1 -1
- package/modules/export-data.js +1 -1
- package/modules/export-data.src.js +1 -1
- package/modules/exporting.js +35 -35
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +3 -3
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +1 -1
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.js +1 -1
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.js +1 -1
- package/modules/gantt.src.js +1 -1
- package/modules/grid-axis.js +1 -1
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.js +1 -1
- package/modules/heatmap.src.js +1 -1
- package/modules/heikinashi.js +1 -1
- package/modules/heikinashi.src.js +1 -1
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +1 -1
- package/modules/item-series.src.js +1 -1
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.d.ts +2 -2
- package/modules/map.js +143 -141
- package/modules/map.js.map +1 -1
- package/modules/map.src.d.ts +2 -2
- package/modules/map.src.js +129 -41
- package/modules/marker-clusters.js +1 -1
- package/modules/marker-clusters.src.js +1 -1
- package/modules/networkgraph.js +1 -1
- package/modules/networkgraph.src.js +1 -1
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +2 -2
- package/modules/oldie-polyfills.js +1 -1
- package/modules/oldie-polyfills.src.js +1 -1
- package/modules/oldie.js +2 -2
- package/modules/oldie.src.js +2 -2
- package/modules/organization.js +1 -1
- package/modules/organization.src.js +1 -1
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +1 -1
- package/modules/parallel-coordinates.src.js +1 -1
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +1 -1
- package/modules/pathfinder.src.js +1 -1
- package/modules/pattern-fill.js +1 -1
- package/modules/pattern-fill.src.js +1 -1
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- package/modules/sankey.js +1 -1
- package/modules/sankey.src.js +1 -1
- package/modules/series-label.js +1 -1
- package/modules/series-label.src.js +1 -1
- package/modules/solid-gauge.js +1 -1
- package/modules/solid-gauge.src.js +1 -1
- package/modules/sonification.js +1 -1
- package/modules/sonification.src.js +1 -1
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +86 -84
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +30 -16
- package/modules/stock.js +90 -90
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +1 -5
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +1 -1
- package/modules/sunburst.src.js +1 -1
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.js +1 -1
- package/modules/timeline.src.js +1 -1
- package/modules/treegrid.js +1 -1
- package/modules/treegrid.src.js +1 -1
- package/modules/treemap.js +1 -1
- package/modules/treemap.src.js +1 -1
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +1 -1
- package/modules/variwide.src.js +1 -1
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +1 -1
- package/modules/venn.js +1 -1
- package/modules/venn.src.js +1 -1
- package/modules/windbarb.js +1 -1
- package/modules/windbarb.src.js +1 -1
- package/modules/wordcloud.js +1 -1
- package/modules/wordcloud.src.js +1 -1
- package/modules/xrange.js +1 -1
- package/modules/xrange.src.js +1 -1
- package/package.json +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/dark-blue.js +1 -1
- package/themes/dark-blue.src.js +1 -1
- package/themes/dark-green.js +1 -1
- package/themes/dark-green.src.js +1 -1
- package/themes/dark-unica.js +1 -1
- package/themes/dark-unica.src.js +1 -1
- package/themes/gray.js +1 -1
- package/themes/gray.src.js +1 -1
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.src.js +1 -1
- package/themes/grid.js +1 -1
- package/themes/grid.src.js +1 -1
- package/themes/high-contrast-dark.js +1 -1
- package/themes/high-contrast-dark.src.js +1 -1
- package/themes/high-contrast-light.js +1 -1
- package/themes/high-contrast-light.src.js +1 -1
- package/themes/sand-signika.js +1 -1
- package/themes/sand-signika.src.js +1 -1
- package/themes/skies.js +1 -1
- package/themes/skies.src.js +1 -1
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -1
package/bower.json
CHANGED
|
@@ -315,12 +315,16 @@ var Accessibility = /** @class */ (function () {
|
|
|
315
315
|
/**
|
|
316
316
|
* @private
|
|
317
317
|
*/
|
|
318
|
-
function compose(ChartClass, PointClass, SeriesClass, SVGElementClass) {
|
|
318
|
+
function compose(ChartClass, PointClass, SeriesClass, SVGElementClass, RangeSelectorClass) {
|
|
319
319
|
A11yI18n.compose(ChartClass);
|
|
320
320
|
FocusBorder.compose(ChartClass, SVGElementClass);
|
|
321
321
|
KeyboardNavigation.compose(ChartClass);
|
|
322
|
+
MenuComponent.compose(ChartClass);
|
|
322
323
|
NewDataAnnouncer.compose(SeriesClass);
|
|
323
324
|
SeriesComponent.compose(ChartClass, PointClass, SeriesClass);
|
|
325
|
+
if (RangeSelectorClass) {
|
|
326
|
+
RangeSelectorComponent.compose(ChartClass, RangeSelectorClass);
|
|
327
|
+
}
|
|
324
328
|
if (composedClasses.indexOf(ChartClass) === -1) {
|
|
325
329
|
composedClasses.push(ChartClass);
|
|
326
330
|
var chartProto = ChartClass.prototype;
|
|
@@ -10,29 +10,46 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
+
var __extends = (this && this.__extends) || (function () {
|
|
14
|
+
var extendStatics = function (d, b) {
|
|
15
|
+
extendStatics = Object.setPrototypeOf ||
|
|
16
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
18
|
+
return extendStatics(d, b);
|
|
19
|
+
};
|
|
20
|
+
return function (d, b) {
|
|
21
|
+
extendStatics(d, b);
|
|
22
|
+
function __() { this.constructor = d; }
|
|
23
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
24
|
+
};
|
|
25
|
+
})();
|
|
26
|
+
import A11yI18n from '../A11yI18n.js';
|
|
27
|
+
import AccessibilityComponent from '../AccessibilityComponent.js';
|
|
28
|
+
import Announcer from '../Utils/Announcer.js';
|
|
29
|
+
import AnnotationsA11y from './AnnotationsA11y.js';
|
|
30
|
+
var getAnnotationsInfoHTML = AnnotationsA11y.getAnnotationsInfoHTML;
|
|
13
31
|
import AST from '../../Core/Renderer/HTML/AST.js';
|
|
14
|
-
import
|
|
32
|
+
import CU from '../Utils/ChartUtilities.js';
|
|
33
|
+
var getAxisDescription = CU.getAxisDescription, getAxisRangeDescription = CU.getAxisRangeDescription, getChartTitle = CU.getChartTitle, unhideChartElementFromAT = CU.unhideChartElementFromAT;
|
|
15
34
|
import F from '../../Core/FormatUtilities.js';
|
|
16
35
|
var format = F.format;
|
|
17
36
|
import H from '../../Core/Globals.js';
|
|
18
37
|
var doc = H.doc;
|
|
38
|
+
import HU from '../Utils/HTMLUtilities.js';
|
|
39
|
+
var addClass = HU.addClass, getElement = HU.getElement, getHeadingTagNameForElement = HU.getHeadingTagNameForElement, stripHTMLTagsFromString = HU.stripHTMLTagsFromString, visuallyHideElement = HU.visuallyHideElement;
|
|
19
40
|
import U from '../../Core/Utilities.js';
|
|
20
|
-
var attr = U.attr,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
var getAxisDescription = ChartUtilities.getAxisDescription, getAxisRangeDescription = ChartUtilities.getAxisRangeDescription, getChartTitle = ChartUtilities.getChartTitle, unhideChartElementFromAT = ChartUtilities.unhideChartElementFromAT;
|
|
28
|
-
import HTMLUtilities from '../Utils/HTMLUtilities.js';
|
|
29
|
-
var addClass = HTMLUtilities.addClass, getElement = HTMLUtilities.getElement, getHeadingTagNameForElement = HTMLUtilities.getHeadingTagNameForElement, stripHTMLTagsFromString = HTMLUtilities.stripHTMLTagsFromString, visuallyHideElement = HTMLUtilities.visuallyHideElement;
|
|
30
|
-
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
41
|
+
var attr = U.attr, pick = U.pick;
|
|
42
|
+
/* *
|
|
43
|
+
*
|
|
44
|
+
* Functions
|
|
45
|
+
*
|
|
46
|
+
* */
|
|
47
|
+
/* eslint-disable valid-jsdoc */
|
|
31
48
|
/**
|
|
32
49
|
* @private
|
|
33
50
|
*/
|
|
34
|
-
function
|
|
35
|
-
return
|
|
51
|
+
function getTableSummary(chart) {
|
|
52
|
+
return chart.langFormat('accessibility.table.tableSummary', { chart: chart });
|
|
36
53
|
}
|
|
37
54
|
/**
|
|
38
55
|
* @private
|
|
@@ -63,38 +80,44 @@ function buildTypeDescriptionFromSeries(chart, types, context) {
|
|
|
63
80
|
chart.langFormat('accessibility.chartTypes.default' + multi, context)) + (typeExplaination ? ' ' + typeExplaination : '');
|
|
64
81
|
}
|
|
65
82
|
/**
|
|
66
|
-
*
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return chart.langFormat('accessibility.table.tableSummary', { chart: chart });
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Return simplified explaination of chart type. Some types will not be familiar
|
|
73
|
-
* to most users, but in those cases we try to add an explaination of the type.
|
|
83
|
+
* Return simplified explaination of chart type. Some types will not be
|
|
84
|
+
* familiar to most users, but in those cases we try to add an explaination
|
|
85
|
+
* of the type.
|
|
74
86
|
*
|
|
75
87
|
* @private
|
|
76
88
|
* @function Highcharts.Chart#getTypeDescription
|
|
77
89
|
* @param {Array<string>} types The series types in this chart.
|
|
78
90
|
* @return {string} The text description of the chart type.
|
|
79
91
|
*/
|
|
80
|
-
|
|
81
|
-
var firstType = types[0], firstSeries =
|
|
82
|
-
numSeries:
|
|
92
|
+
function getTypeDescription(chart, types) {
|
|
93
|
+
var firstType = types[0], firstSeries = chart.series && chart.series[0] || {}, formatContext = {
|
|
94
|
+
numSeries: chart.series.length,
|
|
83
95
|
numPoints: firstSeries.points && firstSeries.points.length,
|
|
84
|
-
chart:
|
|
96
|
+
chart: chart,
|
|
85
97
|
mapTitle: firstSeries.mapTitle
|
|
86
98
|
};
|
|
87
99
|
if (!firstType) {
|
|
88
|
-
return getTypeDescForEmptyChart(
|
|
100
|
+
return getTypeDescForEmptyChart(chart, formatContext);
|
|
89
101
|
}
|
|
90
102
|
if (firstType === 'map') {
|
|
91
|
-
return getTypeDescForMapChart(
|
|
103
|
+
return getTypeDescForMapChart(chart, formatContext);
|
|
92
104
|
}
|
|
93
|
-
if (
|
|
94
|
-
return getTypeDescForCombinationChart(
|
|
105
|
+
if (chart.types.length > 1) {
|
|
106
|
+
return getTypeDescForCombinationChart(chart, formatContext);
|
|
95
107
|
}
|
|
96
|
-
return buildTypeDescriptionFromSeries(
|
|
97
|
-
}
|
|
108
|
+
return buildTypeDescriptionFromSeries(chart, types, formatContext);
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* @private
|
|
112
|
+
*/
|
|
113
|
+
function stripEmptyHTMLTags(str) {
|
|
114
|
+
return str.replace(/<(\w+)[^>]*?>\s*<\/\1>/g, '');
|
|
115
|
+
}
|
|
116
|
+
/* *
|
|
117
|
+
*
|
|
118
|
+
* Class
|
|
119
|
+
*
|
|
120
|
+
* */
|
|
98
121
|
/**
|
|
99
122
|
* The InfoRegionsComponent class
|
|
100
123
|
*
|
|
@@ -102,14 +125,30 @@ Chart.prototype.getTypeDescription = function (types) {
|
|
|
102
125
|
* @class
|
|
103
126
|
* @name Highcharts.InfoRegionsComponent
|
|
104
127
|
*/
|
|
105
|
-
var InfoRegionsComponent = function () {
|
|
106
|
-
InfoRegionsComponent
|
|
107
|
-
|
|
128
|
+
var InfoRegionsComponent = /** @class */ (function (_super) {
|
|
129
|
+
__extends(InfoRegionsComponent, _super);
|
|
130
|
+
function InfoRegionsComponent() {
|
|
131
|
+
/* *
|
|
132
|
+
*
|
|
133
|
+
* Properties
|
|
134
|
+
*
|
|
135
|
+
* */
|
|
136
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
137
|
+
_this.announcer = void 0;
|
|
138
|
+
_this.screenReaderSections = {};
|
|
139
|
+
return _this;
|
|
140
|
+
}
|
|
141
|
+
/* *
|
|
142
|
+
*
|
|
143
|
+
* Functions
|
|
144
|
+
*
|
|
145
|
+
* */
|
|
146
|
+
/* eslint-disable valid-jsdoc */
|
|
108
147
|
/**
|
|
109
148
|
* Init the component
|
|
110
149
|
* @private
|
|
111
150
|
*/
|
|
112
|
-
init
|
|
151
|
+
InfoRegionsComponent.prototype.init = function () {
|
|
113
152
|
var chart = this.chart;
|
|
114
153
|
var component = this;
|
|
115
154
|
this.initRegionsDefinitions();
|
|
@@ -124,11 +163,11 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
124
163
|
}, 300);
|
|
125
164
|
});
|
|
126
165
|
this.announcer = new Announcer(chart, 'assertive');
|
|
127
|
-
}
|
|
166
|
+
};
|
|
128
167
|
/**
|
|
129
168
|
* @private
|
|
130
169
|
*/
|
|
131
|
-
initRegionsDefinitions
|
|
170
|
+
InfoRegionsComponent.prototype.initRegionsDefinitions = function () {
|
|
132
171
|
var component = this;
|
|
133
172
|
this.screenReaderSections = {
|
|
134
173
|
before: {
|
|
@@ -170,23 +209,23 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
170
209
|
}
|
|
171
210
|
}
|
|
172
211
|
};
|
|
173
|
-
}
|
|
212
|
+
};
|
|
174
213
|
/**
|
|
175
214
|
* Called on chart render. Have to update the sections on render, in order
|
|
176
215
|
* to get a11y info from series.
|
|
177
216
|
*/
|
|
178
|
-
onChartRender
|
|
217
|
+
InfoRegionsComponent.prototype.onChartRender = function () {
|
|
179
218
|
var component = this;
|
|
180
219
|
this.linkedDescriptionElement = this.getLinkedDescriptionElement();
|
|
181
220
|
this.setLinkedDescriptionAttrs();
|
|
182
221
|
Object.keys(this.screenReaderSections).forEach(function (regionKey) {
|
|
183
222
|
component.updateScreenReaderSection(regionKey);
|
|
184
223
|
});
|
|
185
|
-
}
|
|
224
|
+
};
|
|
186
225
|
/**
|
|
187
226
|
* @private
|
|
188
227
|
*/
|
|
189
|
-
getLinkedDescriptionElement
|
|
228
|
+
InfoRegionsComponent.prototype.getLinkedDescriptionElement = function () {
|
|
190
229
|
var chartOptions = this.chart.options, linkedDescOption = chartOptions.accessibility.linkedDescription;
|
|
191
230
|
if (!linkedDescOption) {
|
|
192
231
|
return;
|
|
@@ -198,22 +237,23 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
198
237
|
if (queryMatch.length === 1) {
|
|
199
238
|
return queryMatch[0];
|
|
200
239
|
}
|
|
201
|
-
}
|
|
240
|
+
};
|
|
202
241
|
/**
|
|
203
242
|
* @private
|
|
204
243
|
*/
|
|
205
|
-
setLinkedDescriptionAttrs
|
|
244
|
+
InfoRegionsComponent.prototype.setLinkedDescriptionAttrs = function () {
|
|
206
245
|
var el = this.linkedDescriptionElement;
|
|
207
246
|
if (el) {
|
|
208
247
|
el.setAttribute('aria-hidden', 'true');
|
|
209
248
|
addClass(el, 'highcharts-linked-description');
|
|
210
249
|
}
|
|
211
|
-
}
|
|
250
|
+
};
|
|
212
251
|
/**
|
|
213
252
|
* @private
|
|
214
|
-
* @param {string} regionKey
|
|
253
|
+
* @param {string} regionKey
|
|
254
|
+
* The name/key of the region to update
|
|
215
255
|
*/
|
|
216
|
-
updateScreenReaderSection
|
|
256
|
+
InfoRegionsComponent.prototype.updateScreenReaderSection = function (regionKey) {
|
|
217
257
|
var chart = this.chart;
|
|
218
258
|
var region = this.screenReaderSections[regionKey];
|
|
219
259
|
var content = region.buildContent(chart);
|
|
@@ -241,13 +281,13 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
241
281
|
}
|
|
242
282
|
delete region.element;
|
|
243
283
|
}
|
|
244
|
-
}
|
|
284
|
+
};
|
|
245
285
|
/**
|
|
246
286
|
* @private
|
|
247
287
|
* @param {Highcharts.HTMLDOMElement} sectionDiv The section element
|
|
248
288
|
* @param {string} regionKey Name/key of the region we are setting attrs for
|
|
249
289
|
*/
|
|
250
|
-
setScreenReaderSectionAttribs
|
|
290
|
+
InfoRegionsComponent.prototype.setScreenReaderSectionAttribs = function (sectionDiv, regionKey) {
|
|
251
291
|
var labelLangKey = ('accessibility.screenReaderSection.' + regionKey + 'RegionLabel'), chart = this.chart, labelText = chart.langFormat(labelLangKey, { chart: chart, chartTitle: getChartTitle(chart) }), sectionId = 'highcharts-screen-reader-region-' + regionKey + '-' +
|
|
252
292
|
chart.index;
|
|
253
293
|
attr(sectionDiv, {
|
|
@@ -261,12 +301,12 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
261
301
|
labelText) {
|
|
262
302
|
sectionDiv.setAttribute('role', 'region');
|
|
263
303
|
}
|
|
264
|
-
}
|
|
304
|
+
};
|
|
265
305
|
/**
|
|
266
306
|
* @private
|
|
267
307
|
* @return {string}
|
|
268
308
|
*/
|
|
269
|
-
defaultBeforeChartFormatter
|
|
309
|
+
InfoRegionsComponent.prototype.defaultBeforeChartFormatter = function () {
|
|
270
310
|
var chart = this.chart;
|
|
271
311
|
var format = chart.options.accessibility.screenReaderSection.beforeChartFormat;
|
|
272
312
|
if (!format) {
|
|
@@ -294,12 +334,12 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
294
334
|
this.dataTableButtonId = dataTableButtonId;
|
|
295
335
|
this.sonifyButtonId = sonifyButtonId;
|
|
296
336
|
return stripEmptyHTMLTags(formattedString);
|
|
297
|
-
}
|
|
337
|
+
};
|
|
298
338
|
/**
|
|
299
339
|
* @private
|
|
300
340
|
* @return {string}
|
|
301
341
|
*/
|
|
302
|
-
defaultAfterChartFormatter
|
|
342
|
+
InfoRegionsComponent.prototype.defaultAfterChartFormatter = function () {
|
|
303
343
|
var chart = this.chart;
|
|
304
344
|
var format = chart.options.accessibility.screenReaderSection.afterChartFormat;
|
|
305
345
|
if (!format) {
|
|
@@ -308,51 +348,51 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
308
348
|
var context = { endOfChartMarker: this.getEndOfChartMarkerText() };
|
|
309
349
|
var formattedString = A11yI18n.i18nFormat(format, context, chart);
|
|
310
350
|
return stripEmptyHTMLTags(formattedString);
|
|
311
|
-
}
|
|
351
|
+
};
|
|
312
352
|
/**
|
|
313
353
|
* @private
|
|
314
354
|
* @return {string}
|
|
315
355
|
*/
|
|
316
|
-
getLinkedDescription
|
|
356
|
+
InfoRegionsComponent.prototype.getLinkedDescription = function () {
|
|
317
357
|
var el = this.linkedDescriptionElement, content = el && el.innerHTML || '';
|
|
318
358
|
return stripHTMLTagsFromString(content);
|
|
319
|
-
}
|
|
359
|
+
};
|
|
320
360
|
/**
|
|
321
361
|
* @private
|
|
322
362
|
* @return {string}
|
|
323
363
|
*/
|
|
324
|
-
getLongdescText
|
|
364
|
+
InfoRegionsComponent.prototype.getLongdescText = function () {
|
|
325
365
|
var chartOptions = this.chart.options, captionOptions = chartOptions.caption, captionText = captionOptions && captionOptions.text, linkedDescription = this.getLinkedDescription();
|
|
326
366
|
return (chartOptions.accessibility.description ||
|
|
327
367
|
linkedDescription ||
|
|
328
368
|
captionText ||
|
|
329
369
|
'');
|
|
330
|
-
}
|
|
370
|
+
};
|
|
331
371
|
/**
|
|
332
372
|
* @private
|
|
333
373
|
* @return {string}
|
|
334
374
|
*/
|
|
335
|
-
getTypeDescriptionText
|
|
375
|
+
InfoRegionsComponent.prototype.getTypeDescriptionText = function () {
|
|
336
376
|
var chart = this.chart;
|
|
337
377
|
return chart.types ?
|
|
338
378
|
chart.options.accessibility.typeDescription ||
|
|
339
|
-
|
|
340
|
-
}
|
|
379
|
+
getTypeDescription(chart, chart.types) : '';
|
|
380
|
+
};
|
|
341
381
|
/**
|
|
342
382
|
* @private
|
|
343
383
|
* @param {string} buttonId
|
|
344
384
|
* @return {string}
|
|
345
385
|
*/
|
|
346
|
-
getDataTableButtonText
|
|
386
|
+
InfoRegionsComponent.prototype.getDataTableButtonText = function (buttonId) {
|
|
347
387
|
var chart = this.chart, buttonText = chart.langFormat('accessibility.table.viewAsDataTableButtonText', { chart: chart, chartTitle: getChartTitle(chart) });
|
|
348
388
|
return '<button id="' + buttonId + '">' + buttonText + '</button>';
|
|
349
|
-
}
|
|
389
|
+
};
|
|
350
390
|
/**
|
|
351
391
|
* @private
|
|
352
392
|
* @param {string} buttonId
|
|
353
393
|
* @return {string}
|
|
354
394
|
*/
|
|
355
|
-
getSonifyButtonText
|
|
395
|
+
InfoRegionsComponent.prototype.getSonifyButtonText = function (buttonId) {
|
|
356
396
|
var chart = this.chart;
|
|
357
397
|
if (chart.options.sonification &&
|
|
358
398
|
chart.options.sonification.enabled === false) {
|
|
@@ -360,28 +400,28 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
360
400
|
}
|
|
361
401
|
var buttonText = chart.langFormat('accessibility.sonification.playAsSoundButtonText', { chart: chart, chartTitle: getChartTitle(chart) });
|
|
362
402
|
return '<button id="' + buttonId + '">' + buttonText + '</button>';
|
|
363
|
-
}
|
|
403
|
+
};
|
|
364
404
|
/**
|
|
365
405
|
* @private
|
|
366
406
|
* @return {string}
|
|
367
407
|
*/
|
|
368
|
-
getSubtitleText
|
|
408
|
+
InfoRegionsComponent.prototype.getSubtitleText = function () {
|
|
369
409
|
var subtitle = (this.chart.options.subtitle);
|
|
370
410
|
return stripHTMLTagsFromString(subtitle && subtitle.text || '');
|
|
371
|
-
}
|
|
411
|
+
};
|
|
372
412
|
/**
|
|
373
413
|
* @private
|
|
374
414
|
* @return {string}
|
|
375
415
|
*/
|
|
376
|
-
getEndOfChartMarkerText
|
|
416
|
+
InfoRegionsComponent.prototype.getEndOfChartMarkerText = function () {
|
|
377
417
|
var chart = this.chart, markerText = chart.langFormat('accessibility.screenReaderSection.endOfChartMarker', { chart: chart }), id = 'highcharts-end-of-chart-marker-' + chart.index;
|
|
378
418
|
return '<div id="' + id + '">' + markerText + '</div>';
|
|
379
|
-
}
|
|
419
|
+
};
|
|
380
420
|
/**
|
|
381
421
|
* @private
|
|
382
422
|
* @param {Highcharts.Dictionary<string>} e
|
|
383
423
|
*/
|
|
384
|
-
onDataTableCreated
|
|
424
|
+
InfoRegionsComponent.prototype.onDataTableCreated = function (e) {
|
|
385
425
|
var chart = this.chart;
|
|
386
426
|
if (chart.options.accessibility.enabled) {
|
|
387
427
|
if (this.viewDataTableButton) {
|
|
@@ -392,21 +432,21 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
392
432
|
attributes.summary = getTableSummary(chart);
|
|
393
433
|
e.tree.attributes = attributes;
|
|
394
434
|
}
|
|
395
|
-
}
|
|
435
|
+
};
|
|
396
436
|
/**
|
|
397
437
|
* @private
|
|
398
438
|
*/
|
|
399
|
-
focusDataTable
|
|
439
|
+
InfoRegionsComponent.prototype.focusDataTable = function () {
|
|
400
440
|
var tableDiv = this.dataTableDiv, table = tableDiv && tableDiv.getElementsByTagName('table')[0];
|
|
401
441
|
if (table && table.focus) {
|
|
402
442
|
table.focus();
|
|
403
443
|
}
|
|
404
|
-
}
|
|
444
|
+
};
|
|
405
445
|
/**
|
|
406
446
|
* @private
|
|
407
447
|
* @param {string} sonifyButtonId
|
|
408
448
|
*/
|
|
409
|
-
initSonifyButton
|
|
449
|
+
InfoRegionsComponent.prototype.initSonifyButton = function (sonifyButtonId) {
|
|
410
450
|
var _this = this;
|
|
411
451
|
var el = this.sonifyButton = getElement(sonifyButtonId);
|
|
412
452
|
var chart = this.chart;
|
|
@@ -437,13 +477,13 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
437
477
|
(onPlayAsSoundClick || defaultHandler).call(this, e, chart);
|
|
438
478
|
};
|
|
439
479
|
}
|
|
440
|
-
}
|
|
480
|
+
};
|
|
441
481
|
/**
|
|
442
482
|
* Set attribs and handlers for default viewAsDataTable button if exists.
|
|
443
483
|
* @private
|
|
444
484
|
* @param {string} tableButtonId
|
|
445
485
|
*/
|
|
446
|
-
initDataTableButton
|
|
486
|
+
InfoRegionsComponent.prototype.initDataTableButton = function (tableButtonId) {
|
|
447
487
|
var el = this.viewDataTableButton = getElement(tableButtonId), chart = this.chart, tableId = tableButtonId.replace('hc-linkto-', '');
|
|
448
488
|
if (el) {
|
|
449
489
|
attr(el, {
|
|
@@ -456,13 +496,13 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
456
496
|
chart.viewData();
|
|
457
497
|
};
|
|
458
498
|
}
|
|
459
|
-
}
|
|
499
|
+
};
|
|
460
500
|
/**
|
|
461
501
|
* Return object with text description of each of the chart's axes.
|
|
462
502
|
* @private
|
|
463
503
|
* @return {Highcharts.Dictionary<string>}
|
|
464
504
|
*/
|
|
465
|
-
getAxesDescription
|
|
505
|
+
InfoRegionsComponent.prototype.getAxesDescription = function () {
|
|
466
506
|
var chart = this.chart, shouldDescribeColl = function (collectionKey, defaultCondition) {
|
|
467
507
|
var axes = chart[collectionKey];
|
|
468
508
|
return axes.length > 1 || axes[0] &&
|
|
@@ -476,13 +516,13 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
476
516
|
desc.yAxis = this.getAxisDescriptionText('yAxis');
|
|
477
517
|
}
|
|
478
518
|
return desc;
|
|
479
|
-
}
|
|
519
|
+
};
|
|
480
520
|
/**
|
|
481
521
|
* @private
|
|
482
522
|
* @param {string} collectionKey
|
|
483
523
|
* @return {string}
|
|
484
524
|
*/
|
|
485
|
-
getAxisDescriptionText
|
|
525
|
+
InfoRegionsComponent.prototype.getAxisDescriptionText = function (collectionKey) {
|
|
486
526
|
var chart = this.chart;
|
|
487
527
|
var axes = chart[collectionKey];
|
|
488
528
|
return chart.langFormat('accessibility.axis.' + collectionKey + 'Description' + (axes.length > 1 ? 'Plural' : 'Singular'), {
|
|
@@ -495,14 +535,20 @@ extend(InfoRegionsComponent.prototype, /** @lends Highcharts.InfoRegionsComponen
|
|
|
495
535
|
}),
|
|
496
536
|
numAxes: axes.length
|
|
497
537
|
});
|
|
498
|
-
}
|
|
538
|
+
};
|
|
499
539
|
/**
|
|
500
540
|
* Remove component traces
|
|
501
541
|
*/
|
|
502
|
-
destroy
|
|
542
|
+
InfoRegionsComponent.prototype.destroy = function () {
|
|
503
543
|
if (this.announcer) {
|
|
504
544
|
this.announcer.destroy();
|
|
505
545
|
}
|
|
506
|
-
}
|
|
507
|
-
|
|
546
|
+
};
|
|
547
|
+
return InfoRegionsComponent;
|
|
548
|
+
}(AccessibilityComponent));
|
|
549
|
+
/* *
|
|
550
|
+
*
|
|
551
|
+
* Default Export
|
|
552
|
+
*
|
|
553
|
+
* */
|
|
508
554
|
export default InfoRegionsComponent;
|