highcharts 11.4.6 → 11.4.8
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 +15 -3
- package/es-modules/Accessibility/AccessibilityComponent.js +38 -30
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +12 -1
- package/es-modules/Core/Axis/Axis.js +15 -12
- package/es-modules/Core/Axis/AxisDefaults.js +4 -2
- package/es-modules/Core/Axis/DateTimeAxis.js +3 -3
- package/es-modules/Core/Axis/GridAxis.js +2 -2
- package/es-modules/Core/Axis/LogarithmicAxis.js +5 -10
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +54 -13
- package/es-modules/Core/Axis/ScrollbarAxis.js +12 -2
- package/es-modules/Core/Axis/Tick.js +1 -1
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +6 -9
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +2 -2
- package/es-modules/Core/Chart/Chart.js +31 -13
- package/es-modules/Core/Chart/StockChart.js +3 -5
- package/es-modules/Core/Color/Color.js +1 -0
- package/es-modules/Core/Defaults.js +10 -8
- package/es-modules/Core/Legend/LegendSymbol.js +1 -1
- package/es-modules/Core/Pointer.js +3 -2
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -0
- package/es-modules/Core/Renderer/SVG/Symbols.js +2 -2
- package/es-modules/Core/Series/DataLabel.js +9 -0
- package/es-modules/Core/Series/Series.js +1 -1
- package/es-modules/Core/Tooltip.js +14 -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 -252
- package/es-modules/Data/Modifiers/ChainModifier.js +17 -18
- package/es-modules/Data/Modifiers/MathModifier.js +4 -4
- package/es-modules/Data/Modifiers/RangeModifier.js +15 -4
- package/es-modules/Data/Modifiers/SortModifier.js +7 -1
- package/es-modules/Extensions/Annotations/Annotation.js +6 -2
- package/es-modules/Extensions/Boost/BoostSeries.js +5 -1
- package/es-modules/Extensions/Boost/WGLRenderer.js +0 -6
- package/es-modules/Extensions/Data.js +125 -98
- package/es-modules/Extensions/Exporting/Exporting.js +5 -1
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +4 -1
- package/es-modules/Maps/GeoJSONComposition.js +0 -5
- package/es-modules/Series/Bubble/BubblePoint.js +9 -1
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +1 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +6 -1
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +3 -3
- package/es-modules/Series/Pictorial/PictorialSeries.js +2 -1
- package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +1 -0
- package/es-modules/Series/Treegraph/TreegraphSeries.js +1 -1
- package/es-modules/Stock/Navigator/Navigator.js +8 -2
- package/es-modules/masters/highcharts.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 +190 -94
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.js +10 -2
- package/highcharts.d.ts +2092 -528
- package/highcharts.js +3 -3
- package/highcharts.src.d.ts +2092 -528
- package/highcharts.src.js +160 -77
- package/highmaps.js +3 -3
- package/highmaps.src.js +178 -87
- package/highstock.js +3 -3
- package/highstock.src.js +183 -86
- 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.d.ts +11 -5
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.d.ts +11 -5
- package/modules/accessibility.src.js +87 -39
- package/modules/annotations-advanced.js +2 -2
- package/modules/annotations-advanced.src.js +9 -5
- package/modules/annotations.js +2 -2
- package/modules/annotations.src.js +9 -5
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +7 -6
- 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 +6 -8
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +6 -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 +1 -1
- package/modules/cylinder.src.js +1 -1
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +225 -296
- package/modules/data.d.ts +10 -1
- package/modules/data.js +2 -2
- package/modules/data.src.d.ts +10 -1
- package/modules/data.src.js +126 -100
- 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 +2 -2
- package/modules/exporting.src.js +6 -2
- 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 +1 -1
- package/modules/funnel3d.src.js +2 -1
- package/modules/gantt.js +2 -2
- package/modules/gantt.src.js +31 -18
- package/modules/geoheatmap.js +1 -1
- package/modules/geoheatmap.src.js +1 -1
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +3 -3
- 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 +19 -11
- 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 +21 -5
- 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 +6 -3
- 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 +3 -2
- 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 +2 -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/series-on-point.js +1 -1
- package/modules/series-on-point.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 +2 -2
- package/modules/stock-tools.src.js +3 -3
- package/modules/stock.js +2 -2
- package/modules/stock.src.js +24 -10
- 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 +2 -2
- package/modules/treegraph.src.js +2 -2
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +11 -14
- 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 +179 -80
- 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/es-modules/Core/Series/KDPointSearchObjectLike.js +0 -10
|
@@ -852,10 +852,22 @@ class Chart {
|
|
|
852
852
|
* @function Highcharts.Chart#getContainerBox
|
|
853
853
|
*/
|
|
854
854
|
getContainerBox() {
|
|
855
|
-
|
|
855
|
+
// Temporarily hide support divs from a11y and others, #21888
|
|
856
|
+
const nonContainers = [].map.call(this.renderTo.children, (child) => {
|
|
857
|
+
if (child !== this.container) {
|
|
858
|
+
const display = child.style.display;
|
|
859
|
+
child.style.display = 'none';
|
|
860
|
+
return [child, display];
|
|
861
|
+
}
|
|
862
|
+
}), box = {
|
|
856
863
|
width: getStyle(this.renderTo, 'width', true) || 0,
|
|
857
|
-
height: getStyle(this.renderTo, 'height', true) || 0
|
|
864
|
+
height: (getStyle(this.renderTo, 'height', true) || 0)
|
|
858
865
|
};
|
|
866
|
+
// Restore the non-containers
|
|
867
|
+
nonContainers.filter(Boolean).forEach(([div, display]) => {
|
|
868
|
+
div.style.display = display;
|
|
869
|
+
});
|
|
870
|
+
return box;
|
|
859
871
|
}
|
|
860
872
|
/**
|
|
861
873
|
* Internal function to get the chart width and height according to options
|
|
@@ -866,7 +878,10 @@ class Chart {
|
|
|
866
878
|
* @function Highcharts.Chart#getChartSize
|
|
867
879
|
*/
|
|
868
880
|
getChartSize() {
|
|
869
|
-
const chart = this, optionsChart = chart.options.chart, widthOption = optionsChart.width, heightOption = optionsChart.height, containerBox = chart.getContainerBox()
|
|
881
|
+
const chart = this, optionsChart = chart.options.chart, widthOption = optionsChart.width, heightOption = optionsChart.height, containerBox = chart.getContainerBox(), enableDefaultHeight = containerBox.height > 1 &&
|
|
882
|
+
!( // #21510, prevent infinite reflow
|
|
883
|
+
!chart.renderTo.parentElement?.style.height &&
|
|
884
|
+
chart.renderTo.style.height === '100%');
|
|
870
885
|
/**
|
|
871
886
|
* The current pixel width of the chart.
|
|
872
887
|
*
|
|
@@ -883,7 +898,7 @@ class Chart {
|
|
|
883
898
|
* @type {number}
|
|
884
899
|
*/
|
|
885
900
|
chart.chartHeight = Math.max(0, relativeLength(heightOption, chart.chartWidth) ||
|
|
886
|
-
(
|
|
901
|
+
(enableDefaultHeight ? containerBox.height : 400));
|
|
887
902
|
chart.containerBox = containerBox;
|
|
888
903
|
}
|
|
889
904
|
/**
|
|
@@ -1015,11 +1030,7 @@ class Chart {
|
|
|
1015
1030
|
let chartWidth = chart.chartWidth;
|
|
1016
1031
|
// Allow table cells and flex-boxes to shrink without the chart blocking
|
|
1017
1032
|
// 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
|
-
});
|
|
1033
|
+
css(renderTo, { overflow: 'hidden' });
|
|
1023
1034
|
// Create the inner container
|
|
1024
1035
|
if (!chart.styledMode) {
|
|
1025
1036
|
containerStyle = extend({
|
|
@@ -1035,7 +1046,8 @@ class Chart {
|
|
|
1035
1046
|
'-webkit-tap-highlight-color': 'rgba(0,0,0,0)',
|
|
1036
1047
|
userSelect: 'none', // #13503
|
|
1037
1048
|
'touch-action': 'manipulation',
|
|
1038
|
-
outline: 'none'
|
|
1049
|
+
outline: 'none',
|
|
1050
|
+
padding: '0px'
|
|
1039
1051
|
}, optionsChart.style || {});
|
|
1040
1052
|
}
|
|
1041
1053
|
/**
|
|
@@ -2603,8 +2615,11 @@ class Chart {
|
|
|
2603
2615
|
}
|
|
2604
2616
|
let newMin = axis.toValue(minPx, true) +
|
|
2605
2617
|
// Don't apply offset for selection (#20784)
|
|
2606
|
-
(selection
|
|
2607
|
-
|
|
2618
|
+
(selection || axis.isOrdinal ?
|
|
2619
|
+
0 : minPointOffset * pointRangeDirection), newMax = axis.toValue(minPx + len / scale, true) -
|
|
2620
|
+
(
|
|
2621
|
+
// Don't apply offset for selection (#20784)
|
|
2622
|
+
selection || axis.isOrdinal ?
|
|
2608
2623
|
0 :
|
|
2609
2624
|
((minPointOffset * pointRangeDirection) ||
|
|
2610
2625
|
// Polar zoom tests failed when this was not
|
|
@@ -2649,7 +2664,10 @@ class Chart {
|
|
|
2649
2664
|
// It is not necessary to calculate extremes on ordinal axis,
|
|
2650
2665
|
// because they are already calculated, so we don't want to override
|
|
2651
2666
|
// them.
|
|
2652
|
-
if (!axis.isOrdinal ||
|
|
2667
|
+
if (!axis.isOrdinal ||
|
|
2668
|
+
axis.options.overscroll || // #21316
|
|
2669
|
+
scale !== 1 ||
|
|
2670
|
+
reset) {
|
|
2653
2671
|
// If the new range spills over, either to the min or max,
|
|
2654
2672
|
// adjust it.
|
|
2655
2673
|
if (newMin < floor) {
|
|
@@ -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
|
|
@@ -2104,8 +2104,9 @@ const defaultOptions = {
|
|
|
2104
2104
|
* @apioption tooltip.positioner
|
|
2105
2105
|
*/
|
|
2106
2106
|
/**
|
|
2107
|
-
*
|
|
2108
|
-
*
|
|
2107
|
+
* Shows tooltip for all points with the same X value. Splits the
|
|
2108
|
+
* tooltip into one label per series, with the header close to the axis.
|
|
2109
|
+
* This is recommended over [shared](#tooltip.shared)
|
|
2109
2110
|
* tooltips for charts with multiple line series, generally making them
|
|
2110
2111
|
* easier to read. This option takes precedence over `tooltip.shared`.
|
|
2111
2112
|
*
|
|
@@ -2343,11 +2344,12 @@ const defaultOptions = {
|
|
|
2343
2344
|
*/
|
|
2344
2345
|
shape: 'callout',
|
|
2345
2346
|
/**
|
|
2346
|
-
*
|
|
2347
|
-
*
|
|
2348
|
-
*
|
|
2349
|
-
*
|
|
2350
|
-
*
|
|
2347
|
+
* Shows information in the tooltip for all points with the same X
|
|
2348
|
+
* value. When the tooltip is shared, the entire plot area will capture
|
|
2349
|
+
* mouse movement or touch events. Tooltip texts for series types with
|
|
2350
|
+
* ordered data (not pie, scatter, flags etc) will be shown in a single
|
|
2351
|
+
* bubble. This is recommended for single series charts and for
|
|
2352
|
+
* tablet/mobile optimized charts.
|
|
2351
2353
|
*
|
|
2352
2354
|
* See also [tooltip.split](#tooltip.split), that is better suited for
|
|
2353
2355
|
* charts with many series, especially line-type series. The
|
|
@@ -45,7 +45,7 @@ var LegendSymbol;
|
|
|
45
45
|
* The legend object.
|
|
46
46
|
*/
|
|
47
47
|
function lineMarker(legend, item, hasArea) {
|
|
48
|
-
const legendItem = this.legendItem = this.legendItem || {}, { chart, options } = this, { baseline = 0, symbolWidth, symbolHeight } = legend, symbol = this.symbol || 'circle', generalRadius = symbolHeight / 2, renderer = chart.renderer, legendItemGroup = legendItem.group, verticalCenter = baseline - Math.round(symbolHeight *
|
|
48
|
+
const legendItem = this.legendItem = this.legendItem || {}, { chart, options } = this, { baseline = 0, symbolWidth, symbolHeight } = legend, symbol = this.symbol || 'circle', generalRadius = symbolHeight / 2, renderer = chart.renderer, legendItemGroup = legendItem.group, verticalCenter = baseline - Math.round((legend.fontMetrics?.b || symbolHeight) *
|
|
49
49
|
// Render line and marker slightly higher to make room for the
|
|
50
50
|
// area
|
|
51
51
|
(hasArea ? 0.4 : 0.3)), attr = {};
|
|
@@ -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 = [
|
|
@@ -387,6 +387,15 @@ var DataLabel;
|
|
|
387
387
|
// read text bounding box
|
|
388
388
|
dataLabel.css(style).shadow(labelOptions.shadow);
|
|
389
389
|
}
|
|
390
|
+
else if (style.width) {
|
|
391
|
+
// In styled mode with a width property set,
|
|
392
|
+
// the width should be applied to the
|
|
393
|
+
// dataLabel. (#20499)
|
|
394
|
+
dataLabel.css({
|
|
395
|
+
width: style.width,
|
|
396
|
+
textOverflow: style.textOverflow
|
|
397
|
+
});
|
|
398
|
+
}
|
|
390
399
|
fireEvent(dataLabel, 'beforeAddingDataLabel', { labelOptions, point });
|
|
391
400
|
if (!dataLabel.added) {
|
|
392
401
|
dataLabel.add(dataLabelsGroup);
|
|
@@ -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) {
|
|
@@ -728,6 +729,15 @@ class Tooltip {
|
|
|
728
729
|
text.join('') :
|
|
729
730
|
text
|
|
730
731
|
});
|
|
732
|
+
// When the length of the label has increased, immediately
|
|
733
|
+
// update the x position to prevent tooltip from flowing
|
|
734
|
+
// outside the viewport during animation (#21371)
|
|
735
|
+
if (this.outside) {
|
|
736
|
+
label.attr({
|
|
737
|
+
x: clamp(label.x || 0, 0, this.getPlayingField().width -
|
|
738
|
+
(label.width || 0))
|
|
739
|
+
});
|
|
740
|
+
}
|
|
731
741
|
if (!styledMode) {
|
|
732
742
|
label.attr({
|
|
733
743
|
stroke: (options.borderColor ||
|
|
@@ -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
|
})
|