highcharts 11.4.5 → 11.4.7
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/Components/InfoRegionsComponent.js +12 -1
- package/es-modules/Core/Chart/Chart.js +1 -5
- package/es-modules/Core/Chart/StockChart.js +3 -5
- package/es-modules/Core/Defaults.js +1 -1
- package/es-modules/Core/Pointer.js +3 -2
- package/es-modules/Core/Renderer/SVG/Symbols.js +2 -2
- package/es-modules/Core/Tooltip.js +5 -4
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +18 -13
- package/es-modules/Data/Connectors/JSONConnector.js +0 -1
- package/es-modules/Data/Converters/DataConverter.js +0 -2
- package/es-modules/Data/DataTable.js +163 -253
- package/es-modules/Data/Modifiers/ChainModifier.js +17 -19
- package/es-modules/Data/Modifiers/DataModifier.js +0 -2
- package/es-modules/Data/Modifiers/MathModifier.js +4 -5
- package/es-modules/Data/Modifiers/RangeModifier.js +15 -5
- package/es-modules/Data/Modifiers/SortModifier.js +7 -2
- package/es-modules/Extensions/Annotations/Annotation.js +2 -2
- package/es-modules/Extensions/Boost/BoostSeries.js +3 -1
- package/es-modules/Extensions/Boost/WGLRenderer.js +0 -6
- package/es-modules/Series/Bubble/BubblePoint.js +9 -1
- package/es-modules/Series/Heatmap/HeatmapSeries.js +6 -1
- package/es-modules/Stock/Navigator/Navigator.js +1 -0
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +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 +17 -18
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.js +10 -2
- package/highcharts.d.ts +2034 -452
- package/highcharts.js +3 -3
- package/highcharts.src.d.ts +2034 -452
- package/highcharts.src.js +16 -18
- package/highmaps.js +3 -3
- package/highmaps.src.js +31 -20
- package/highstock.js +3 -3
- package/highstock.src.js +20 -23
- 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 +1 -1
- package/indicators/indicators-all.src.js +1 -1
- package/indicators/indicators.js +1 -1
- package/indicators/indicators.src.js +1 -1
- 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 +1 -1
- package/indicators/volume-by-price.src.js +1 -1
- 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 +2 -2
- package/modules/accessibility.src.js +14 -2
- package/modules/annotations-advanced.js +2 -2
- package/modules/annotations-advanced.src.js +5 -5
- package/modules/annotations.js +2 -2
- package/modules/annotations.src.js +5 -5
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +4 -4
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +4 -8
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +4 -8
- 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 +2 -2
- package/modules/cylinder.src.js +2 -2
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +225 -303
- 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 +1 -1
- package/modules/exporting.src.js +1 -1
- package/modules/flowmap.js +1 -1
- package/modules/flowmap.src.js +1 -1
- 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 +2 -2
- package/modules/funnel3d.src.js +2 -2
- package/modules/gantt.js +2 -2
- package/modules/gantt.src.js +2 -1
- package/modules/geoheatmap.js +1 -1
- package/modules/geoheatmap.src.js +1 -1
- package/modules/grid-axis.js +1 -1
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.js +2 -2
- package/modules/heatmap.src.js +7 -2
- 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.js +2 -2
- package/modules/map.src.js +16 -3
- package/modules/marker-clusters.js +1 -1
- package/modules/marker-clusters.src.js +1 -1
- package/modules/mouse-wheel-zoom.js +1 -1
- package/modules/mouse-wheel-zoom.src.js +1 -1
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +2 -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/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/pictorial.js +1 -1
- package/modules/pictorial.src.js +1 -1
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +2 -2
- 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/series-on-point.js +1 -1
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +2 -2
- 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 +2 -2
- package/modules/stock-tools.src.js +3 -3
- package/modules/stock.js +2 -2
- package/modules/stock.src.js +5 -6
- 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/textpath.js +1 -1
- package/modules/textpath.src.js +1 -1
- package/modules/tiledwebmap.js +1 -1
- package/modules/tiledwebmap.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/treegraph.js +1 -1
- package/modules/treegraph.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/options/abands.d.ts +9 -2
- package/options/abands.src.d.ts +9 -2
- package/options/ad.d.ts +18 -4
- package/options/ad.src.d.ts +18 -4
- package/options/apo.d.ts +18 -4
- package/options/apo.src.d.ts +18 -4
- package/options/arearange.d.ts +18 -4
- package/options/arearange.src.d.ts +18 -4
- package/options/areaspline.d.ts +18 -4
- package/options/areaspline.src.d.ts +18 -4
- package/options/areasplinerange.d.ts +9 -2
- package/options/areasplinerange.src.d.ts +9 -2
- package/options/aroonoscillator.d.ts +9 -2
- package/options/aroonoscillator.src.d.ts +9 -2
- package/options/bar.d.ts +9 -2
- package/options/bar.src.d.ts +9 -2
- package/options/bb.d.ts +18 -4
- package/options/bb.src.d.ts +18 -4
- package/options/bubble.d.ts +9 -2
- package/options/bubble.src.d.ts +9 -2
- package/options/bullet.d.ts +9 -2
- package/options/bullet.src.d.ts +9 -2
- package/options/candlestick.d.ts +18 -4
- package/options/candlestick.src.d.ts +18 -4
- package/options/cci.d.ts +9 -2
- package/options/cci.src.d.ts +9 -2
- package/options/chaikin.d.ts +9 -2
- package/options/chaikin.src.d.ts +9 -2
- package/options/cmf.d.ts +9 -2
- package/options/cmf.src.d.ts +9 -2
- package/options/cmo.d.ts +9 -2
- package/options/cmo.src.d.ts +9 -2
- package/options/column.d.ts +18 -4
- package/options/column.src.d.ts +18 -4
- package/options/columnpyramid.d.ts +18 -4
- package/options/columnpyramid.src.d.ts +18 -4
- package/options/columnrange.d.ts +18 -4
- package/options/columnrange.src.d.ts +18 -4
- package/options/cylinder.d.ts +9 -2
- package/options/cylinder.src.d.ts +9 -2
- package/options/dema.d.ts +18 -4
- package/options/dema.src.d.ts +18 -4
- package/options/dependencywheel.d.ts +18 -4
- package/options/dependencywheel.src.d.ts +18 -4
- package/options/disparityindex.d.ts +9 -2
- package/options/disparityindex.src.d.ts +9 -2
- package/options/dmi.d.ts +9 -2
- package/options/dmi.src.d.ts +9 -2
- package/options/dpo.d.ts +9 -2
- package/options/dpo.src.d.ts +9 -2
- package/options/dumbbell.d.ts +9 -2
- package/options/dumbbell.src.d.ts +9 -2
- package/options/ema.d.ts +18 -4
- package/options/ema.src.d.ts +18 -4
- package/options/flags.d.ts +9 -2
- package/options/flags.src.d.ts +9 -2
- package/options/funnel.d.ts +18 -4
- package/options/funnel.src.d.ts +18 -4
- package/options/gantt.d.ts +18 -4
- package/options/gantt.src.d.ts +18 -4
- package/options/gauge.d.ts +9 -2
- package/options/gauge.src.d.ts +9 -2
- package/options/histogram.d.ts +9 -2
- package/options/histogram.src.d.ts +9 -2
- package/options/hlc.d.ts +9 -2
- package/options/hlc.src.d.ts +9 -2
- package/options/hollowcandlestick.d.ts +9 -2
- package/options/hollowcandlestick.src.d.ts +9 -2
- package/options/keltnerchannels.d.ts +9 -2
- package/options/keltnerchannels.src.d.ts +9 -2
- package/options/klinger.d.ts +9 -2
- package/options/klinger.src.d.ts +9 -2
- package/options/line.d.ts +9 -2
- package/options/line.src.d.ts +9 -2
- package/options/linearregression.d.ts +18 -4
- package/options/linearregression.src.d.ts +18 -4
- package/options/linearregressionangle.d.ts +9 -2
- package/options/linearregressionangle.src.d.ts +9 -2
- package/options/lollipop.d.ts +18 -4
- package/options/lollipop.src.d.ts +18 -4
- package/options/macd.d.ts +9 -2
- package/options/macd.src.d.ts +9 -2
- package/options/map.d.ts +18 -4
- package/options/map.src.d.ts +18 -4
- package/options/mapbubble.d.ts +9 -2
- package/options/mapbubble.src.d.ts +9 -2
- package/options/mapline.d.ts +9 -2
- package/options/mapline.src.d.ts +9 -2
- package/options/mfi.d.ts +9 -2
- package/options/mfi.src.d.ts +9 -2
- package/options/momentum.d.ts +9 -2
- package/options/momentum.src.d.ts +9 -2
- package/options/natr.d.ts +9 -2
- package/options/natr.src.d.ts +9 -2
- package/options/obv.d.ts +9 -2
- package/options/obv.src.d.ts +9 -2
- package/options/ohlc.d.ts +18 -4
- package/options/ohlc.src.d.ts +18 -4
- package/options/organization.d.ts +9 -2
- package/options/organization.src.d.ts +9 -2
- package/options/packedbubble.d.ts +9 -2
- package/options/packedbubble.src.d.ts +9 -2
- package/options/pareto.d.ts +18 -4
- package/options/pareto.src.d.ts +18 -4
- package/options/pc.d.ts +9 -2
- package/options/pc.src.d.ts +9 -2
- package/options/pie.d.ts +9 -2
- package/options/pie.src.d.ts +9 -2
- package/options/polygon.d.ts +9 -2
- package/options/polygon.src.d.ts +9 -2
- package/options/ppo.d.ts +18 -4
- package/options/ppo.src.d.ts +18 -4
- package/options/psar.d.ts +18 -4
- package/options/psar.src.d.ts +18 -4
- package/options/pyramid.d.ts +36 -8
- package/options/pyramid.src.d.ts +36 -8
- package/options/roc.d.ts +9 -2
- package/options/roc.src.d.ts +9 -2
- package/options/rsi.d.ts +9 -2
- package/options/rsi.src.d.ts +9 -2
- package/options/sankey.d.ts +18 -4
- package/options/sankey.src.d.ts +18 -4
- package/options/scatter.d.ts +9 -2
- package/options/scatter.src.d.ts +9 -2
- package/options/series.d.ts +9 -2
- package/options/series.src.d.ts +9 -2
- package/options/slowstochastic.d.ts +9 -2
- package/options/slowstochastic.src.d.ts +9 -2
- package/options/sma.d.ts +9 -2
- package/options/sma.src.d.ts +9 -2
- package/options/solidgauge.d.ts +9 -2
- package/options/solidgauge.src.d.ts +9 -2
- package/options/spline.d.ts +9 -2
- package/options/spline.src.d.ts +9 -2
- package/options/stochastic.d.ts +18 -4
- package/options/stochastic.src.d.ts +18 -4
- package/options/streamgraph.d.ts +9 -2
- package/options/streamgraph.src.d.ts +9 -2
- package/options/sunburst.d.ts +18 -4
- package/options/sunburst.src.d.ts +18 -4
- package/options/supertrend.d.ts +9 -2
- package/options/supertrend.src.d.ts +9 -2
- package/options/tema.d.ts +9 -2
- package/options/tema.src.d.ts +9 -2
- package/options/tiledwebmap.d.ts +9 -2
- package/options/tiledwebmap.src.d.ts +9 -2
- package/options/tilemap.d.ts +9 -2
- package/options/tilemap.src.d.ts +9 -2
- package/options/treegraph.d.ts +18 -4
- package/options/treegraph.src.d.ts +18 -4
- package/options/treemap.d.ts +18 -4
- package/options/treemap.src.d.ts +18 -4
- package/options/trendline.d.ts +9 -2
- package/options/trendline.src.d.ts +9 -2
- package/options/trix.d.ts +9 -2
- package/options/trix.src.d.ts +9 -2
- package/options/variablepie.d.ts +18 -4
- package/options/variablepie.src.d.ts +18 -4
- package/options/variwide.d.ts +18 -4
- package/options/variwide.src.d.ts +18 -4
- package/options/vbp.d.ts +9 -2
- package/options/vbp.src.d.ts +9 -2
- package/options/vector.d.ts +9 -2
- package/options/vector.src.d.ts +9 -2
- package/options/vwap.d.ts +9 -2
- package/options/vwap.src.d.ts +9 -2
- package/options/waterfall.d.ts +18 -4
- package/options/waterfall.src.d.ts +18 -4
- package/options/williamsr.d.ts +9 -2
- package/options/williamsr.src.d.ts +9 -2
- package/options/wma.d.ts +9 -2
- package/options/wma.src.d.ts +9 -2
- package/options/wordcloud.d.ts +9 -2
- package/options/wordcloud.src.d.ts +9 -2
- package/options/xrange.d.ts +18 -4
- package/options/xrange.src.d.ts +18 -4
- package/package.json +1 -1
- package/standalone-navigator.js +2 -2
- package/standalone-navigator.src.js +16 -17
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/brand-dark.js +1 -1
- package/themes/brand-dark.src.js +1 -1
- package/themes/brand-light.js +1 -1
- package/themes/brand-light.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
|
@@ -157,6 +157,14 @@ class InfoRegionsComponent extends AccessibilityComponent {
|
|
|
157
157
|
.setAttribute('aria-expanded', 'false');
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
|
+
if (chart.exporting) {
|
|
161
|
+
// Needed when print logic in exporting does not trigger
|
|
162
|
+
// rerendering thus repositioning of screen reader DOM elements
|
|
163
|
+
// (#21554)
|
|
164
|
+
this.addEvent(chart, 'afterPrint', function () {
|
|
165
|
+
component.updateAllScreenReaderSections();
|
|
166
|
+
});
|
|
167
|
+
}
|
|
160
168
|
this.announcer = new Announcer(chart, 'assertive');
|
|
161
169
|
}
|
|
162
170
|
/**
|
|
@@ -211,9 +219,12 @@ class InfoRegionsComponent extends AccessibilityComponent {
|
|
|
211
219
|
* to get a11y info from series.
|
|
212
220
|
*/
|
|
213
221
|
onChartRender() {
|
|
214
|
-
const component = this;
|
|
215
222
|
this.linkedDescriptionElement = this.getLinkedDescriptionElement();
|
|
216
223
|
this.setLinkedDescriptionAttrs();
|
|
224
|
+
this.updateAllScreenReaderSections();
|
|
225
|
+
}
|
|
226
|
+
updateAllScreenReaderSections() {
|
|
227
|
+
const component = this;
|
|
217
228
|
Object.keys(this.screenReaderSections).forEach(function (regionKey) {
|
|
218
229
|
component.updateScreenReaderSection(regionKey);
|
|
219
230
|
});
|
|
@@ -1015,11 +1015,7 @@ class Chart {
|
|
|
1015
1015
|
let chartWidth = chart.chartWidth;
|
|
1016
1016
|
// Allow table cells and flex-boxes to shrink without the chart blocking
|
|
1017
1017
|
// them out (#6427)
|
|
1018
|
-
css(renderTo, {
|
|
1019
|
-
overflow: 'hidden',
|
|
1020
|
-
// #21144, retest and remove in future version of Chrome
|
|
1021
|
-
pointerEvents: H.isChrome ? 'fill' : 'auto'
|
|
1022
|
-
});
|
|
1018
|
+
css(renderTo, { overflow: 'hidden' });
|
|
1023
1019
|
// Create the inner container
|
|
1024
1020
|
if (!chart.styledMode) {
|
|
1025
1021
|
containerStyle = extend({
|
|
@@ -472,13 +472,11 @@ addEvent(Chart, 'update', function (e) {
|
|
|
472
472
|
// Get the related axes based options.*Axis setting #2810
|
|
473
473
|
axes2 = (axis.isXAxis ? chart.yAxis : chart.xAxis);
|
|
474
474
|
for (const A of axes2) {
|
|
475
|
-
if (
|
|
476
|
-
A.
|
|
477
|
-
true) {
|
|
478
|
-
const a = (A.isXAxis ? 'yAxis' : 'xAxis'), rax = (defined(A.options[a]) ?
|
|
475
|
+
if (!A.options.isInternal) {
|
|
476
|
+
const a = (A.isXAxis ? 'yAxis' : 'xAxis'), relatedAxis = (defined(A.options[a]) ?
|
|
479
477
|
chart[a][A.options[a]] :
|
|
480
478
|
chart[a][0]);
|
|
481
|
-
if (axis ===
|
|
479
|
+
if (axis === relatedAxis) {
|
|
482
480
|
axes.push(A);
|
|
483
481
|
}
|
|
484
482
|
}
|
|
@@ -1053,7 +1053,7 @@ const defaultOptions = {
|
|
|
1053
1053
|
* can be prevented by returning `false` or calling
|
|
1054
1054
|
* `event.preventDefault()`.
|
|
1055
1055
|
*
|
|
1056
|
-
* @sample {highcharts} highcharts/legend/
|
|
1056
|
+
* @sample {highcharts} highcharts/legend/itemclick/
|
|
1057
1057
|
* Confirm hiding and showing
|
|
1058
1058
|
* @sample {highcharts} highcharts/legend/pie-legend-itemclick/
|
|
1059
1059
|
* Confirm toggle visibility of pie slices
|
|
@@ -94,7 +94,7 @@ class Pointer {
|
|
|
94
94
|
this.eventsToUnbind = [];
|
|
95
95
|
if (!H.chartCount) {
|
|
96
96
|
if (Pointer.unbindDocumentMouseUp) {
|
|
97
|
-
Pointer.unbindDocumentMouseUp
|
|
97
|
+
Pointer.unbindDocumentMouseUp.forEach((e) => e());
|
|
98
98
|
}
|
|
99
99
|
if (Pointer.unbindDocumentTouchEnd) {
|
|
100
100
|
Pointer.unbindDocumentTouchEnd = (Pointer.unbindDocumentTouchEnd());
|
|
@@ -1284,8 +1284,9 @@ class Pointer {
|
|
|
1284
1284
|
container.onclick = this.onContainerClick.bind(this);
|
|
1285
1285
|
this.eventsToUnbind.push(addEvent(container, 'mouseenter', this.onContainerMouseEnter.bind(this)), addEvent(container, 'mouseleave', this.onContainerMouseLeave.bind(this)));
|
|
1286
1286
|
if (!Pointer.unbindDocumentMouseUp) {
|
|
1287
|
-
Pointer.unbindDocumentMouseUp =
|
|
1287
|
+
Pointer.unbindDocumentMouseUp = [];
|
|
1288
1288
|
}
|
|
1289
|
+
Pointer.unbindDocumentMouseUp.push(addEvent(ownerDoc, 'mouseup', this.onDocumentMouseUp.bind(this)));
|
|
1289
1290
|
// In case we are dealing with overflow, reset the chart position when
|
|
1290
1291
|
// scrolling parent elements
|
|
1291
1292
|
let parent = this.chart.renderTo.parentElement;
|
|
@@ -29,8 +29,8 @@ function arc(cx, cy, w, h, options) {
|
|
|
29
29
|
// proximity is too small, the arc disappears. If it is too great, a
|
|
30
30
|
// gap appears. This can be seen in the animation of the official
|
|
31
31
|
// bubble demo (#20586).
|
|
32
|
-
proximity = 0.0002 / Math.max(rx, 1), fullCircle = (Math.abs((options.end || 0) - start - 2 * Math.PI) <
|
|
33
|
-
proximity), end = (options.end || 0) - proximity, innerRadius = options.innerR, open = pick(options.open, fullCircle), cosStart = Math.cos(start), sinStart = Math.sin(start), cosEnd = Math.cos(end), sinEnd = Math.sin(end),
|
|
32
|
+
proximity = 0.0002 / (options.borderRadius ? 1 : Math.max(rx, 1)), fullCircle = (Math.abs((options.end || 0) - start - 2 * Math.PI) <
|
|
33
|
+
proximity), end = (options.end || 0) - (fullCircle ? proximity : 0), innerRadius = options.innerR, open = pick(options.open, fullCircle), cosStart = Math.cos(start), sinStart = Math.sin(start), cosEnd = Math.cos(end), sinEnd = Math.sin(end),
|
|
34
34
|
// Proximity takes care of rounding errors around PI (#6971)
|
|
35
35
|
longArc = pick(options.longArc, end - start - Math.PI < proximity ? 0 : 1);
|
|
36
36
|
let arcSegment = [
|
|
@@ -238,7 +238,7 @@ class Tooltip {
|
|
|
238
238
|
* @return {Highcharts.SVGElement}
|
|
239
239
|
* Tooltip label
|
|
240
240
|
*/
|
|
241
|
-
getLabel() {
|
|
241
|
+
getLabel({ anchorX, anchorY } = { anchorX: 0, anchorY: 0 }) {
|
|
242
242
|
const tooltip = this, styledMode = this.chart.styledMode, options = this.options, doSplit = this.split && this.allowShared;
|
|
243
243
|
let container = this.container, renderer = this.chart.renderer;
|
|
244
244
|
// If changing from a split tooltip to a non-split tooltip, we must
|
|
@@ -287,7 +287,7 @@ class Tooltip {
|
|
|
287
287
|
}
|
|
288
288
|
else {
|
|
289
289
|
this.label = renderer
|
|
290
|
-
.label('',
|
|
290
|
+
.label('', anchorX, anchorY, options.shape, void 0, void 0, options.useHTML, void 0, 'tooltip')
|
|
291
291
|
.attr({
|
|
292
292
|
padding: options.padding,
|
|
293
293
|
r: options.borderRadius
|
|
@@ -654,7 +654,7 @@ class Tooltip {
|
|
|
654
654
|
*/
|
|
655
655
|
refresh(pointOrPoints, mouseEvent) {
|
|
656
656
|
const tooltip = this, { chart, options, pointer, shared } = this, points = splat(pointOrPoints), point = points[0], pointConfig = [], formatString = options.format, formatter = options.formatter || tooltip.defaultFormatter, styledMode = chart.styledMode;
|
|
657
|
-
let formatterContext = {};
|
|
657
|
+
let formatterContext = {}, wasShared = tooltip.allowShared;
|
|
658
658
|
if (!options.enabled || !point.series) { // #16820
|
|
659
659
|
return;
|
|
660
660
|
}
|
|
@@ -664,6 +664,7 @@ class Tooltip {
|
|
|
664
664
|
tooltip.allowShared = !(!isArray(pointOrPoints) &&
|
|
665
665
|
pointOrPoints.series &&
|
|
666
666
|
pointOrPoints.series.noSharedTooltip);
|
|
667
|
+
wasShared = wasShared && !tooltip.allowShared;
|
|
667
668
|
// Get the reference point coordinates (pie charts use tooltipPos)
|
|
668
669
|
tooltip.followPointer = (!tooltip.split && point.series.tooltipOptions.followPointer);
|
|
669
670
|
const anchor = tooltip.getAnchor(pointOrPoints, mouseEvent), x = anchor[0], y = anchor[1];
|
|
@@ -711,7 +712,7 @@ class Tooltip {
|
|
|
711
712
|
points.some((p) => // #16004
|
|
712
713
|
pointer.isDirectTouch || // ##17929
|
|
713
714
|
p.series.shouldShowTooltip(checkX, checkY))) {
|
|
714
|
-
const label = tooltip.getLabel();
|
|
715
|
+
const label = tooltip.getLabel(wasShared && tooltip.tt || {});
|
|
715
716
|
// Prevent the tooltip from flowing over the chart box
|
|
716
717
|
// (#6659)
|
|
717
718
|
if (!options.style.width || styledMode) {
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* - Gøran Slettemark
|
|
12
12
|
* - Wojciech Chmiel
|
|
13
13
|
* - Sophie Bremer
|
|
14
|
+
* - Jomar Hønsi
|
|
14
15
|
*
|
|
15
16
|
* */
|
|
16
17
|
'use strict';
|
|
@@ -83,6 +84,9 @@ class GoogleSheetsConnector extends DataConnector {
|
|
|
83
84
|
table,
|
|
84
85
|
url
|
|
85
86
|
});
|
|
87
|
+
if (!URL.canParse(url)) {
|
|
88
|
+
throw new Error('Invalid URL: ' + url);
|
|
89
|
+
}
|
|
86
90
|
return fetch(url)
|
|
87
91
|
.then((response) => (response.json()))
|
|
88
92
|
.then((json) => {
|
|
@@ -129,7 +133,6 @@ class GoogleSheetsConnector extends DataConnector {
|
|
|
129
133
|
GoogleSheetsConnector.defaultOptions = {
|
|
130
134
|
googleAPIKey: '',
|
|
131
135
|
googleSpreadsheetKey: '',
|
|
132
|
-
worksheet: 1,
|
|
133
136
|
enablePolling: false,
|
|
134
137
|
dataRefreshRate: 2,
|
|
135
138
|
firstRowAsNames: true
|
|
@@ -161,18 +164,20 @@ GoogleSheetsConnector.defaultOptions = {
|
|
|
161
164
|
* @private
|
|
162
165
|
*/
|
|
163
166
|
function buildFetchURL(apiKey, sheetKey, options = {}) {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
167
|
+
const url = new URL(`https://sheets.googleapis.com/v4/spreadsheets/${sheetKey}/values/`);
|
|
168
|
+
const range = options.onlyColumnNames ?
|
|
169
|
+
'A1:Z1' : buildQueryRange(options);
|
|
170
|
+
url.pathname += range;
|
|
171
|
+
const searchParams = url.searchParams;
|
|
172
|
+
searchParams.set('alt', 'json');
|
|
173
|
+
if (!options.onlyColumnNames) {
|
|
174
|
+
searchParams.set('dateTimeRenderOption', 'FORMATTED_STRING');
|
|
175
|
+
searchParams.set('majorDimension', 'COLUMNS');
|
|
176
|
+
searchParams.set('valueRenderOption', 'UNFORMATTED_VALUE');
|
|
177
|
+
}
|
|
178
|
+
searchParams.set('prettyPrint', 'false');
|
|
179
|
+
searchParams.set('key', apiKey);
|
|
180
|
+
return url.href;
|
|
176
181
|
}
|
|
177
182
|
GoogleSheetsConnector.buildFetchURL = buildFetchURL;
|
|
178
183
|
/**
|
|
@@ -78,7 +78,6 @@ class JSONConnector extends DataConnector {
|
|
|
78
78
|
table.deleteColumns();
|
|
79
79
|
converter.parse({ data });
|
|
80
80
|
table.setColumns(converter.getTable().getColumns());
|
|
81
|
-
table.setRowKeysColumn(data.length);
|
|
82
81
|
}
|
|
83
82
|
return connector.setModifierOptions(dataModifier).then(() => data);
|
|
84
83
|
})
|