highcharts 10.0.0 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/es-modules/Accessibility/A11yI18n.js +4 -4
- package/es-modules/Accessibility/Components/ContainerComponent.js +8 -9
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +14 -9
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +31 -15
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +23 -4
- package/es-modules/Accessibility/FocusBorder.js +6 -5
- package/es-modules/Accessibility/Options/LangOptions.js +36 -31
- package/es-modules/Accessibility/Options/Options.js +66 -3
- package/es-modules/Accessibility/Utils/ChartUtilities.js +9 -4
- package/es-modules/Core/Axis/Axis.js +30 -27
- package/es-modules/Core/Axis/GridAxis.js +5 -2
- package/es-modules/Core/Axis/LogarithmicAxis.js +1 -1
- package/es-modules/Core/Axis/OrdinalAxis.js +3 -2
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +1 -1
- package/es-modules/Core/Axis/StackingAxis.js +0 -1
- package/es-modules/Core/Axis/Tick.js +2 -2
- package/es-modules/Core/Chart/Chart.js +21 -3
- package/es-modules/Core/Chart/ChartDefaults.js +11 -0
- package/es-modules/Core/Chart/StockChart.js +1 -1
- package/es-modules/Core/DefaultOptions.js +6 -4
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +1 -1
- package/es-modules/Core/Navigator.js +1 -1
- package/es-modules/Core/Renderer/HTML/AST.js +9 -6
- package/es-modules/Core/Renderer/SVG/SVGElement.js +22 -22
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +16 -13
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +1 -1
- package/es-modules/Core/Scrollbar.js +9 -5
- package/es-modules/Core/Series/DataLabel.js +54 -33
- package/es-modules/Core/Series/Series.js +19 -7
- package/es-modules/Core/Utilities.js +1 -1
- package/es-modules/Extensions/Annotations/Annotations.js +2 -2
- package/es-modules/Extensions/Annotations/ControlPoint.js +1 -1
- package/es-modules/Extensions/Annotations/NavigationBindings.js +9 -1
- package/es-modules/Extensions/Annotations/Popup.js +1 -1
- package/es-modules/Extensions/Breadcrumbs.js +2 -3
- package/es-modules/Extensions/DataGrouping.js +3 -1
- package/es-modules/Extensions/Debugger/ErrorMessages.js +4 -0
- package/es-modules/Extensions/Drilldown.js +6 -4
- package/es-modules/Extensions/ExportData.js +1 -2
- package/es-modules/Extensions/Exporting/Exporting.js +22 -13
- package/es-modules/Extensions/FullScreen.js +121 -54
- package/es-modules/Extensions/GeoJSON.js +3 -2
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +1 -1
- package/es-modules/Extensions/OverlappingDataLabels.js +5 -4
- package/es-modules/Extensions/Polar.js +4 -1
- package/es-modules/Extensions/Stacking.js +1 -1
- package/es-modules/Extensions/Themes/HighContrastDark.js +10 -10
- package/es-modules/Extensions/Themes/HighContrastLight.js +9 -9
- package/es-modules/Maps/MapNavigation.js +1 -5
- package/es-modules/Maps/MapView.js +6 -2
- package/es-modules/Maps/MapViewOptionsDefault.js +3 -1
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +9 -1
- package/es-modules/Series/CenteredUtilities.js +6 -1
- package/es-modules/Series/Flags/FlagsSeries.js +7 -12
- package/es-modules/Series/Gauge/GaugeSeries.js +1 -1
- package/es-modules/Series/Heatmap/HeatmapSeries.js +13 -20
- package/es-modules/Series/Map/MapSeries.js +11 -1
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +49 -3
- package/es-modules/Series/MapPoint/MapPointSeries.js +4 -0
- package/es-modules/Series/Pie/PieDataLabel.js +3 -1
- package/es-modules/Series/Pie/PieSeries.js +12 -1
- package/es-modules/Series/Sankey/SankeySeries.js +3 -1
- package/es-modules/Series/Sunburst/SunburstSeries.js +1 -1
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +4 -4
- package/es-modules/Stock/StockToolsBindings.js +31 -24
- package/es-modules/Stock/StockToolsGui.js +1 -1
- 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 +1 -1
- 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/arc-diagram.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/brand-dark.src.js +1 -1
- package/es-modules/masters/themes/brand-light.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 +2 -2
- package/highcharts-3d.src.js +2 -2
- package/highcharts-gantt.js +805 -802
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +261 -144
- package/highcharts-more.js +5 -5
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +6 -3
- package/highcharts.d.ts +1077 -53
- package/highcharts.js +591 -588
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +1077 -53
- package/highcharts.src.js +246 -136
- package/highmaps.js +758 -756
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +336 -171
- package/highstock.js +792 -789
- package/highstock.js.map +1 -1
- package/highstock.src.js +272 -157
- 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 +240 -238
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +220 -87
- package/modules/annotations-advanced.js +6 -6
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +14 -6
- package/modules/annotations.js +6 -6
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +14 -6
- package/modules/arc-diagram.js +7 -7
- package/modules/arc-diagram.js.map +1 -1
- package/modules/arc-diagram.src.js +10 -2
- 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 +7 -7
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.js +4 -2
- package/modules/debugger.js +6 -5
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +5 -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 +36 -37
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +9 -9
- package/modules/dumbbell.js +1 -1
- package/modules/dumbbell.src.js +1 -1
- package/modules/export-data.js +13 -13
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +2 -3
- package/modules/exporting.js +39 -39
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +146 -75
- package/modules/full-screen.js +8 -8
- package/modules/full-screen.js.map +1 -1
- package/modules/full-screen.src.js +125 -57
- 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 +218 -217
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +16 -9
- package/modules/grid-axis.js +21 -21
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +6 -3
- package/modules/heatmap.js +40 -40
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +14 -21
- 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 +169 -169
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +91 -36
- 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 +5 -5
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +4 -2
- 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 +137 -137
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +46 -30
- package/modules/stock.js +204 -204
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +27 -22
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +69 -69
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +4 -6
- 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 +56 -56
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +6 -3
- package/modules/treemap.js +50 -50
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +3 -5
- 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 +4 -3
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +5 -5
- 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/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 +2 -2
- package/themes/high-contrast-dark.src.js +11 -11
- package/themes/high-contrast-light.js +2 -2
- package/themes/high-contrast-light.src.js +10 -10
- 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
|
@@ -11,7 +11,7 @@ import H from '../Core/Globals.js';
|
|
|
11
11
|
var doc = H.doc;
|
|
12
12
|
import AST from '../Core/Renderer/HTML/AST.js';
|
|
13
13
|
import U from '../Core/Utilities.js';
|
|
14
|
-
var addEvent = U.addEvent;
|
|
14
|
+
var addEvent = U.addEvent, fireEvent = U.fireEvent;
|
|
15
15
|
/**
|
|
16
16
|
* The module allows user to enable display chart in full screen mode.
|
|
17
17
|
* Used in StockTools too.
|
|
@@ -101,26 +101,30 @@ var Fullscreen = /** @class */ (function () {
|
|
|
101
101
|
*/
|
|
102
102
|
Fullscreen.prototype.close = function () {
|
|
103
103
|
var fullscreen = this, chart = fullscreen.chart, optionsChart = chart.options.chart;
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
104
|
+
fireEvent(chart, 'fullscreenClose', null, function () {
|
|
105
|
+
// Don't fire exitFullscreen() when user exited
|
|
106
|
+
// using 'Escape' button.
|
|
107
|
+
if (fullscreen.isOpen &&
|
|
108
|
+
fullscreen.browserProps &&
|
|
109
|
+
chart.container.ownerDocument instanceof Document) {
|
|
110
|
+
chart.container.ownerDocument[fullscreen.browserProps.exitFullscreen]();
|
|
111
|
+
}
|
|
112
|
+
// Unbind event as it's necessary only before exiting
|
|
113
|
+
// from fullscreen.
|
|
114
|
+
if (fullscreen.unbindFullscreenEvent) {
|
|
115
|
+
fullscreen.unbindFullscreenEvent = fullscreen
|
|
116
|
+
.unbindFullscreenEvent();
|
|
117
|
+
}
|
|
118
|
+
chart.setSize(fullscreen.origWidth, fullscreen.origHeight, false);
|
|
119
|
+
fullscreen.origWidth = void 0;
|
|
120
|
+
fullscreen.origHeight = void 0;
|
|
121
|
+
optionsChart.width = fullscreen.origWidthOption;
|
|
122
|
+
optionsChart.height = fullscreen.origHeightOption;
|
|
123
|
+
fullscreen.origWidthOption = void 0;
|
|
124
|
+
fullscreen.origHeightOption = void 0;
|
|
125
|
+
fullscreen.isOpen = false;
|
|
126
|
+
fullscreen.setButtonText();
|
|
127
|
+
});
|
|
124
128
|
};
|
|
125
129
|
/**
|
|
126
130
|
* Displays the chart in fullscreen mode.
|
|
@@ -136,41 +140,44 @@ var Fullscreen = /** @class */ (function () {
|
|
|
136
140
|
*/
|
|
137
141
|
Fullscreen.prototype.open = function () {
|
|
138
142
|
var fullscreen = this, chart = fullscreen.chart, optionsChart = chart.options.chart;
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
fullscreen.
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
fullscreen.unbindFullscreenEvent = function () {
|
|
162
|
-
unbindChange_1();
|
|
163
|
-
unbindDestroy_1();
|
|
164
|
-
};
|
|
165
|
-
var promise = chart.renderTo[fullscreen.browserProps.requestFullscreen]();
|
|
166
|
-
if (promise) {
|
|
167
|
-
// No dot notation because of IE8 compatibility
|
|
168
|
-
promise['catch'](function () {
|
|
169
|
-
alert(// eslint-disable-line no-alert
|
|
170
|
-
'Full screen is not supported inside a frame.');
|
|
143
|
+
fireEvent(chart, 'fullscreenOpen', null, function () {
|
|
144
|
+
if (optionsChart) {
|
|
145
|
+
fullscreen.origWidthOption = optionsChart.width;
|
|
146
|
+
fullscreen.origHeightOption = optionsChart.height;
|
|
147
|
+
}
|
|
148
|
+
fullscreen.origWidth = chart.chartWidth;
|
|
149
|
+
fullscreen.origHeight = chart.chartHeight;
|
|
150
|
+
// Handle exitFullscreen() method when user clicks 'Escape' button.
|
|
151
|
+
if (fullscreen.browserProps) {
|
|
152
|
+
var unbindChange_1 = addEvent(chart.container.ownerDocument, // chart's document
|
|
153
|
+
fullscreen.browserProps.fullscreenChange, function () {
|
|
154
|
+
// Handle lack of async of browser's
|
|
155
|
+
// fullScreenChange event.
|
|
156
|
+
if (fullscreen.isOpen) {
|
|
157
|
+
fullscreen.isOpen = false;
|
|
158
|
+
fullscreen.close();
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
chart.setSize(null, null, false);
|
|
162
|
+
fullscreen.isOpen = true;
|
|
163
|
+
fullscreen.setButtonText();
|
|
164
|
+
}
|
|
171
165
|
});
|
|
166
|
+
var unbindDestroy_1 = addEvent(chart, 'destroy', unbindChange_1);
|
|
167
|
+
fullscreen.unbindFullscreenEvent = function () {
|
|
168
|
+
unbindChange_1();
|
|
169
|
+
unbindDestroy_1();
|
|
170
|
+
};
|
|
171
|
+
var promise = chart.renderTo[fullscreen.browserProps.requestFullscreen]();
|
|
172
|
+
if (promise) {
|
|
173
|
+
// No dot notation because of IE8 compatibility
|
|
174
|
+
promise['catch'](function () {
|
|
175
|
+
alert(// eslint-disable-line no-alert
|
|
176
|
+
'Full screen is not supported inside a frame.');
|
|
177
|
+
});
|
|
178
|
+
}
|
|
172
179
|
}
|
|
173
|
-
}
|
|
180
|
+
});
|
|
174
181
|
};
|
|
175
182
|
/**
|
|
176
183
|
* Replaces the exporting context button's text when toogling the
|
|
@@ -238,3 +245,63 @@ addEvent(Chart, 'beforeRender', function () {
|
|
|
238
245
|
*/
|
|
239
246
|
this.fullscreen = new H.Fullscreen(this);
|
|
240
247
|
});
|
|
248
|
+
/* *
|
|
249
|
+
*
|
|
250
|
+
* API Declarations
|
|
251
|
+
*
|
|
252
|
+
* */
|
|
253
|
+
/**
|
|
254
|
+
* Gets fired when closing the fullscreen
|
|
255
|
+
*
|
|
256
|
+
* @callback Highcharts.FullScreenfullscreenCloseCallbackFunction
|
|
257
|
+
*
|
|
258
|
+
* @param {Highcharts.Chart} chart
|
|
259
|
+
* The chart on which the event occured.
|
|
260
|
+
*
|
|
261
|
+
* @param {global.Event} event
|
|
262
|
+
* The event that occured.
|
|
263
|
+
*/
|
|
264
|
+
/**
|
|
265
|
+
* Gets fired when opening the fullscreen
|
|
266
|
+
*
|
|
267
|
+
* @callback Highcharts.FullScreenfullscreenOpenCallbackFunction
|
|
268
|
+
*
|
|
269
|
+
* @param {Highcharts.Chart} chart
|
|
270
|
+
* The chart on which the event occured.
|
|
271
|
+
*
|
|
272
|
+
* @param {global.Event} event
|
|
273
|
+
* The event that occured.
|
|
274
|
+
*/
|
|
275
|
+
/* *
|
|
276
|
+
*
|
|
277
|
+
* API Options
|
|
278
|
+
*
|
|
279
|
+
* */
|
|
280
|
+
/**
|
|
281
|
+
* Fires when a fullscreen is closed through the context menu item,
|
|
282
|
+
* or a fullscreen is closed on the `Escape` button click,
|
|
283
|
+
* or the `Chart.fullscreen.close` method.
|
|
284
|
+
*
|
|
285
|
+
* @sample highcharts/chart/events-fullscreen
|
|
286
|
+
* Title size change on fullscreen open
|
|
287
|
+
*
|
|
288
|
+
* @type {Highcharts.FullScreenfullscreenCloseCallbackFunction}
|
|
289
|
+
* @since 10.1.0
|
|
290
|
+
* @context Highcharts.Chart
|
|
291
|
+
* @requires modules/full-screen
|
|
292
|
+
* @apioption chart.events.fullscreenClose
|
|
293
|
+
*/
|
|
294
|
+
/**
|
|
295
|
+
* Fires when a fullscreen is opened through the context menu item,
|
|
296
|
+
* or the `Chart.fullscreen.open` method.
|
|
297
|
+
*
|
|
298
|
+
* @sample highcharts/chart/events-fullscreen
|
|
299
|
+
* Title size change on fullscreen open
|
|
300
|
+
*
|
|
301
|
+
* @type {Highcharts.FullScreenfullscreenOpenCallbackFunction}
|
|
302
|
+
* @since 10.1.0
|
|
303
|
+
* @context Highcharts.Chart
|
|
304
|
+
* @requires modules/full-screen
|
|
305
|
+
* @apioption chart.events.fullscreenOpen
|
|
306
|
+
*/
|
|
307
|
+
(''); // keeps doclets above in transpiled file
|
|
@@ -246,7 +246,7 @@ Chart.prototype.transformToLatLon = function (point, transform) {
|
|
|
246
246
|
(transform.rotation && Math.cos(transform.rotation)), sinAngle = transform.sinAngle ||
|
|
247
247
|
(transform.rotation && Math.sin(transform.rotation)),
|
|
248
248
|
// Note: Inverted sinAngle to reverse rotation direction
|
|
249
|
-
projected =
|
|
249
|
+
projected = proj4(transform.crs, 'WGS84', transform.rotation ? {
|
|
250
250
|
x: normalized.x * cosAngle + normalized.y * -sinAngle,
|
|
251
251
|
y: normalized.x * sinAngle + normalized.y * cosAngle
|
|
252
252
|
} : normalized);
|
|
@@ -355,7 +355,8 @@ function topo2geo(topology, objectName) {
|
|
|
355
355
|
copyrightUrl: topology.copyrightUrl,
|
|
356
356
|
features: features,
|
|
357
357
|
'hc-recommended-mapview': object['hc-recommended-mapview'],
|
|
358
|
-
bbox: topology.bbox
|
|
358
|
+
bbox: topology.bbox,
|
|
359
|
+
title: topology.title
|
|
359
360
|
};
|
|
360
361
|
object['hc-decoded-geojson'] = geojson;
|
|
361
362
|
return geojson;
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* */
|
|
16
16
|
var OfflineExportingDefaults = {
|
|
17
|
-
libURL: 'https://code.highcharts.com/10.
|
|
17
|
+
libURL: 'https://code.highcharts.com/10.1.0/lib/',
|
|
18
18
|
// When offline-exporting is loaded, redefine the menu item definitions
|
|
19
19
|
// related to download.
|
|
20
20
|
menuItemDefinitions: {
|
|
@@ -36,7 +36,7 @@ var VMLRenderer, VMLElement;
|
|
|
36
36
|
* @apioption global.VMLRadialGradientURL
|
|
37
37
|
*/
|
|
38
38
|
getOptions().global.VMLRadialGradientURL =
|
|
39
|
-
'http://code.highcharts.com/10.
|
|
39
|
+
'http://code.highcharts.com/10.1.0/gfx/vml-radial-gradient.png';
|
|
40
40
|
// Utilites
|
|
41
41
|
if (doc && !doc.defaultView) {
|
|
42
42
|
H.getStyle = U.getStyle = function getStyle(el, prop) {
|
|
@@ -34,9 +34,7 @@ addEvent(Chart, 'render', function collectAndHide() {
|
|
|
34
34
|
!yAxis.options.stackLabels.allowOverlap) {
|
|
35
35
|
objectEach(yAxis.stacking.stacks, function (stack) {
|
|
36
36
|
objectEach(stack, function (stackItem) {
|
|
37
|
-
if (stackItem.label
|
|
38
|
-
stackItem.label.visibility !== 'hidden' // #15607
|
|
39
|
-
) {
|
|
37
|
+
if (stackItem.label) {
|
|
40
38
|
labels.push(stackItem.label);
|
|
41
39
|
}
|
|
42
40
|
});
|
|
@@ -162,7 +160,10 @@ Chart.prototype.hideOverlappingLabels = function (labels) {
|
|
|
162
160
|
box2 &&
|
|
163
161
|
label1 !== label2 && // #6465, polar chart with connectEnds
|
|
164
162
|
label1.newOpacity !== 0 &&
|
|
165
|
-
label2.newOpacity !== 0
|
|
163
|
+
label2.newOpacity !== 0 &&
|
|
164
|
+
// #15863 dataLabels are no longer hidden by translation
|
|
165
|
+
label1.visibility !== 'hidden' &&
|
|
166
|
+
label2.visibility !== 'hidden') {
|
|
166
167
|
if (isIntersectRect(box1, box2)) {
|
|
167
168
|
(label1.labelrank < label2.labelrank ? label1 : label2)
|
|
168
169
|
.newOpacity = 0;
|
|
@@ -652,7 +652,10 @@ if (seriesTypes.column) {
|
|
|
652
652
|
// visible y range
|
|
653
653
|
if (this.isRadialBar && point.shapeArgs &&
|
|
654
654
|
point.shapeArgs.start === point.shapeArgs.end) {
|
|
655
|
-
dataLabel.hide(
|
|
655
|
+
dataLabel.hide();
|
|
656
|
+
}
|
|
657
|
+
else {
|
|
658
|
+
dataLabel.show();
|
|
656
659
|
}
|
|
657
660
|
}
|
|
658
661
|
else {
|
|
@@ -31,16 +31,16 @@ var HighContrastDarkTheme;
|
|
|
31
31
|
var textBright = '#F0F0F3';
|
|
32
32
|
HighContrastDarkTheme.options = {
|
|
33
33
|
colors: [
|
|
34
|
-
'#
|
|
35
|
-
'#
|
|
36
|
-
'#
|
|
37
|
-
'#
|
|
38
|
-
'#
|
|
39
|
-
'#
|
|
40
|
-
'#
|
|
41
|
-
'#
|
|
42
|
-
'#
|
|
43
|
-
'#
|
|
34
|
+
'#67B9EE',
|
|
35
|
+
'#CEEDA5',
|
|
36
|
+
'#9F6AE1',
|
|
37
|
+
'#FEA26E',
|
|
38
|
+
'#6BA48F',
|
|
39
|
+
'#EA3535',
|
|
40
|
+
'#8D96B7',
|
|
41
|
+
'#ECCA15',
|
|
42
|
+
'#20AA09',
|
|
43
|
+
'#E0C3E4'
|
|
44
44
|
],
|
|
45
45
|
chart: {
|
|
46
46
|
backgroundColor: '#1f1f20',
|
|
@@ -30,16 +30,16 @@ var HighContrastLightTheme;
|
|
|
30
30
|
* */
|
|
31
31
|
HighContrastLightTheme.options = {
|
|
32
32
|
colors: [
|
|
33
|
-
'#
|
|
33
|
+
'#265FB5',
|
|
34
34
|
'#222',
|
|
35
|
-
'#
|
|
36
|
-
'#
|
|
37
|
-
'#
|
|
38
|
-
'#
|
|
39
|
-
'#
|
|
40
|
-
'#
|
|
41
|
-
'#
|
|
42
|
-
'#
|
|
35
|
+
'#698F01',
|
|
36
|
+
'#F4693E',
|
|
37
|
+
'#4C0684',
|
|
38
|
+
'#0FA388',
|
|
39
|
+
'#B7104A',
|
|
40
|
+
'#AF9023',
|
|
41
|
+
'#1A704C',
|
|
42
|
+
'#B02FDD'
|
|
43
43
|
],
|
|
44
44
|
navigator: {
|
|
45
45
|
series: {
|
|
@@ -96,13 +96,9 @@ MapNavigation.prototype.update = function (options) {
|
|
|
96
96
|
attr = buttonOptions.theme;
|
|
97
97
|
attr.style = merge(buttonOptions.theme.style, buttonOptions.style // #3203
|
|
98
98
|
);
|
|
99
|
-
states = attr.states;
|
|
100
|
-
hoverStates = states && states.hover;
|
|
101
|
-
selectStates = states && states.select;
|
|
102
|
-
delete attr.states;
|
|
103
99
|
}
|
|
104
100
|
var button = chart.renderer
|
|
105
|
-
.button(buttonOptions.text || '', 0, 0, outerHandler, attr,
|
|
101
|
+
.button(buttonOptions.text || '', 0, 0, outerHandler, attr, void 0, void 0, void 0, n === 'zoomIn' ? 'topbutton' : 'bottombutton')
|
|
106
102
|
.addClass('highcharts-map-navigation highcharts-' + {
|
|
107
103
|
zoomIn: 'zoom-in',
|
|
108
104
|
zoomOut: 'zoom-out'
|
|
@@ -38,7 +38,7 @@ import MU from './MapUtilities.js';
|
|
|
38
38
|
var boundsFromPath = MU.boundsFromPath, pointInPolygon = MU.pointInPolygon;
|
|
39
39
|
import Projection from './Projection.js';
|
|
40
40
|
import U from '../Core/Utilities.js';
|
|
41
|
-
var addEvent = U.addEvent, clamp = U.clamp,
|
|
41
|
+
var addEvent = U.addEvent, clamp = U.clamp, fireEvent = U.fireEvent, isArray = U.isArray, isNumber = U.isNumber, isObject = U.isObject, isString = U.isString, merge = U.merge, pick = U.pick, relativeLength = U.relativeLength;
|
|
42
42
|
/**
|
|
43
43
|
* The world size in terms of 10k meters in the Web Mercator projection, to
|
|
44
44
|
* match a 256 square tile to zoom level 0
|
|
@@ -174,7 +174,11 @@ var MapView = /** @class */ (function () {
|
|
|
174
174
|
_this.minZoom === _this.zoom // When resizing the chart
|
|
175
175
|
) {
|
|
176
176
|
_this.fitToBounds(void 0, void 0, false);
|
|
177
|
-
if (
|
|
177
|
+
if (
|
|
178
|
+
// Set zoom only when initializing the chart
|
|
179
|
+
// (do not overwrite when zooming in/out, #17082)
|
|
180
|
+
!_this.chart.hasRendered &&
|
|
181
|
+
isNumber(_this.userOptions.zoom)) {
|
|
178
182
|
_this.zoom = _this.userOptions.zoom;
|
|
179
183
|
}
|
|
180
184
|
if (_this.userOptions.center) {
|
|
@@ -76,8 +76,10 @@ var defaultOptions = {
|
|
|
76
76
|
* @type {string}
|
|
77
77
|
* @sample maps/mapview/projection-explorer
|
|
78
78
|
* Projection explorer
|
|
79
|
-
* @sample maps/mapview/projection-custom
|
|
79
|
+
* @sample maps/mapview/projection-custom-proj4js
|
|
80
80
|
* Custom UTM projection definition
|
|
81
|
+
* @sample maps/mapview/projection-custom-d3geo
|
|
82
|
+
* Custom Robinson projection definition
|
|
81
83
|
* @sample maps/demo/topojson-projection
|
|
82
84
|
* Orthographic projection
|
|
83
85
|
*/
|
|
@@ -250,6 +250,7 @@ var ArcDiagramSeries = /** @class */ (function (_super) {
|
|
|
250
250
|
];
|
|
251
251
|
// Pass test in drawPoints
|
|
252
252
|
point.y = point.plotY = 1;
|
|
253
|
+
point.x = point.plotX = 1;
|
|
253
254
|
if (!point.color) {
|
|
254
255
|
point.color = fromNode.color;
|
|
255
256
|
}
|
|
@@ -460,11 +461,18 @@ var ArcDiagramSeries = /** @class */ (function (_super) {
|
|
|
460
461
|
* **Note:** Only SVG-based renderer supports this option. Setting
|
|
461
462
|
* `useHTML` to true will disable this option.
|
|
462
463
|
*
|
|
463
|
-
* @extends plotOptions.
|
|
464
|
+
* @extends plotOptions.networkgraph.dataLabels.linkTextPath
|
|
464
465
|
* @since 10.0.0
|
|
465
466
|
*/
|
|
466
467
|
linkTextPath: {
|
|
468
|
+
/**
|
|
469
|
+
* @type {Highcharts.SVGAttributes}
|
|
470
|
+
* @default {"startOffset":"25%"}
|
|
471
|
+
*/
|
|
467
472
|
attributes: {
|
|
473
|
+
/**
|
|
474
|
+
* @ignore-option
|
|
475
|
+
*/
|
|
468
476
|
startOffset: '25%'
|
|
469
477
|
}
|
|
470
478
|
}
|
|
@@ -37,7 +37,7 @@ var CenteredUtilities;
|
|
|
37
37
|
* @function Highcharts.CenteredSeriesMixin.getCenter
|
|
38
38
|
*/
|
|
39
39
|
function getCenter() {
|
|
40
|
-
var options = this.options, chart = this.chart, slicingRoom = 2 * (options.slicedOffset || 0), plotWidth = chart.plotWidth - 2 * slicingRoom, plotHeight = chart.plotHeight - 2 * slicingRoom, centerOption = options.center, smallestSize = Math.min(plotWidth, plotHeight);
|
|
40
|
+
var options = this.options, chart = this.chart, slicingRoom = 2 * (options.slicedOffset || 0), plotWidth = chart.plotWidth - 2 * slicingRoom, plotHeight = chart.plotHeight - 2 * slicingRoom, centerOption = options.center, smallestSize = Math.min(plotWidth, plotHeight), thickness = options.thickness;
|
|
41
41
|
var handleSlicingRoom, size = options.size, innerSize = options.innerSize || 0, i, value;
|
|
42
42
|
if (typeof size === 'string') {
|
|
43
43
|
size = parseFloat(size);
|
|
@@ -70,6 +70,11 @@ var CenteredUtilities;
|
|
|
70
70
|
if (positions[3] > positions[2]) {
|
|
71
71
|
positions[3] = positions[2];
|
|
72
72
|
}
|
|
73
|
+
// thickness overrides innerSize, need to be less than pie size (#6647)
|
|
74
|
+
if (isNumber(thickness) &&
|
|
75
|
+
thickness * 2 < positions[2] && thickness > 0) {
|
|
76
|
+
positions[3] = positions[2] - thickness * 2;
|
|
77
|
+
}
|
|
73
78
|
return positions;
|
|
74
79
|
}
|
|
75
80
|
CenteredUtilities.getCenter = getCenter;
|
|
@@ -191,23 +191,18 @@ var FlagsSeries = /** @class */ (function (_super) {
|
|
|
191
191
|
// depending on the label width or a hardcoded value, #16041.
|
|
192
192
|
distribute(boxes, inverted ? yAxis.len : this.xAxis.len, maxDistance_1);
|
|
193
193
|
points.forEach(function (point) {
|
|
194
|
-
var
|
|
195
|
-
if (box) {
|
|
196
|
-
point.graphic[point.graphic.isNew ? 'attr' : 'animate']({
|
|
197
|
-
x: box.pos + box.align * box.size,
|
|
198
|
-
anchorX: point.anchorX
|
|
199
|
-
});
|
|
194
|
+
var plotX = point.plotX, graphic = point.graphic, box = graphic && boxesMap[plotX];
|
|
195
|
+
if (box && graphic) {
|
|
200
196
|
// Hide flag when its box position is not specified
|
|
201
197
|
// (#8573, #9299)
|
|
202
198
|
if (!defined(box.pos)) {
|
|
203
|
-
|
|
204
|
-
x: -9999,
|
|
205
|
-
anchorX: -9999
|
|
206
|
-
});
|
|
207
|
-
point.graphic.isNew = true;
|
|
199
|
+
graphic.hide().isNew = true;
|
|
208
200
|
}
|
|
209
201
|
else {
|
|
210
|
-
|
|
202
|
+
graphic[graphic.isNew ? 'attr' : 'animate']({
|
|
203
|
+
x: box.pos + (box.align || 0) * box.size,
|
|
204
|
+
anchorX: point.anchorX
|
|
205
|
+
}).show().isNew = false;
|
|
211
206
|
}
|
|
212
207
|
}
|
|
213
208
|
});
|
|
@@ -198,7 +198,7 @@ var GaugeSeries = /** @class */ (function (_super) {
|
|
|
198
198
|
* @private
|
|
199
199
|
*/
|
|
200
200
|
GaugeSeries.prototype.render = function () {
|
|
201
|
-
this.group = this.plotGroup('group', 'series', this.visible ? '
|
|
201
|
+
this.group = this.plotGroup('group', 'series', this.visible ? 'inherit' : 'hidden', this.options.zIndex, this.chart.seriesGroup);
|
|
202
202
|
Series.prototype.render.call(this);
|
|
203
203
|
this.group.clip(this.chart.clipRect);
|
|
204
204
|
};
|
|
@@ -85,25 +85,6 @@ var HeatmapSeries = /** @class */ (function (_super) {
|
|
|
85
85
|
this.points.forEach(function (point) {
|
|
86
86
|
if (point.graphic) {
|
|
87
87
|
point.graphic[_this.chart.styledMode ? 'css' : 'animate'](_this.colorAttribs(point));
|
|
88
|
-
// @todo
|
|
89
|
-
// Applying the border radius here is not optimal. It should
|
|
90
|
-
// be set in the shapeArgs or returned from `markerAttribs`.
|
|
91
|
-
// However, Series.drawPoints does not pick up markerAttribs
|
|
92
|
-
// to be passed over to `renderer.symbol`. Also, image
|
|
93
|
-
// symbols are not positioned by their top left corner like
|
|
94
|
-
// other symbols are. This should be refactored, then we
|
|
95
|
-
// could save ourselves some tests for .hasImage etc. And
|
|
96
|
-
// the evaluation of borderRadius would be moved to
|
|
97
|
-
// `markerAttribs`.
|
|
98
|
-
if (_this.options.borderRadius) {
|
|
99
|
-
point.graphic.attr({
|
|
100
|
-
r: _this.options.borderRadius
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
// Saving option for reapplying later
|
|
104
|
-
// when changing point's states (#16165)
|
|
105
|
-
(point.shapeArgs || {}).r = _this.options.borderRadius;
|
|
106
|
-
(point.shapeArgs || {}).d = point.graphic.pathArray;
|
|
107
88
|
if (point.value === null) { // #15708
|
|
108
89
|
point.graphic.addClass('highcharts-null-point');
|
|
109
90
|
}
|
|
@@ -157,6 +138,18 @@ var HeatmapSeries = /** @class */ (function (_super) {
|
|
|
157
138
|
this.yAxis.axisPointRange = options.rowsize || 1;
|
|
158
139
|
// Bind new symbol names
|
|
159
140
|
symbols.ellipse = symbols.circle;
|
|
141
|
+
// @todo
|
|
142
|
+
//
|
|
143
|
+
// Setting the border radius here is a workaround. It should be set in
|
|
144
|
+
// the shapeArgs or returned from `markerAttribs`. However,
|
|
145
|
+
// Series.drawPoints does not pick up markerAttribs to be passed over to
|
|
146
|
+
// `renderer.symbol`. Also, image symbols are not positioned by their
|
|
147
|
+
// top left corner like other symbols are. This should be refactored,
|
|
148
|
+
// then we could save ourselves some tests for .hasImage etc. And the
|
|
149
|
+
// evaluation of borderRadius would be moved to `markerAttribs`.
|
|
150
|
+
if (options.marker) {
|
|
151
|
+
options.marker.r = options.borderRadius;
|
|
152
|
+
}
|
|
160
153
|
};
|
|
161
154
|
/**
|
|
162
155
|
* @private
|
|
@@ -270,7 +263,7 @@ var HeatmapSeries = /** @class */ (function (_super) {
|
|
|
270
263
|
clientX: (cellAttr.x1 + cellAttr.x2) / 2,
|
|
271
264
|
shapeType: 'path',
|
|
272
265
|
shapeArgs: merge(true, shapeArgs, {
|
|
273
|
-
d: symbols[shape](shapeArgs.x, shapeArgs.y, shapeArgs.width, shapeArgs.height)
|
|
266
|
+
d: symbols[shape](shapeArgs.x, shapeArgs.y, shapeArgs.width, shapeArgs.height, { r: options.borderRadius })
|
|
274
267
|
})
|
|
275
268
|
};
|
|
276
269
|
if (hasImage) {
|
|
@@ -321,7 +321,7 @@ var MapSeries = /** @class */ (function (_super) {
|
|
|
321
321
|
*/
|
|
322
322
|
MapSeries.prototype.getProjectedBounds = function () {
|
|
323
323
|
if (!this.bounds && this.chart.mapView) {
|
|
324
|
-
var
|
|
324
|
+
var _a = this.chart.mapView, insets_1 = _a.insets, projection_1 = _a.projection, allBounds_1 = [];
|
|
325
325
|
// Find the bounding box of each point
|
|
326
326
|
(this.points || []).forEach(function (point) {
|
|
327
327
|
if (point.path || point.geometry) {
|
|
@@ -408,6 +408,16 @@ var MapSeries = /** @class */ (function (_super) {
|
|
|
408
408
|
'inherit');
|
|
409
409
|
return attr;
|
|
410
410
|
};
|
|
411
|
+
/**
|
|
412
|
+
* @private
|
|
413
|
+
*/
|
|
414
|
+
MapSeries.prototype.updateData = function () {
|
|
415
|
+
// #16782
|
|
416
|
+
if (this.processedData) {
|
|
417
|
+
return false;
|
|
418
|
+
}
|
|
419
|
+
return _super.prototype.updateData.apply(this, arguments);
|
|
420
|
+
};
|
|
411
421
|
/**
|
|
412
422
|
* Extend setData to call processData and generatePoints immediately.
|
|
413
423
|
* @private
|
|
@@ -25,8 +25,6 @@ import BubbleSeries from '../Bubble/BubbleSeries.js';
|
|
|
25
25
|
import MapBubblePoint from './MapBubblePoint.js';
|
|
26
26
|
import MapSeries from '../Map/MapSeries.js';
|
|
27
27
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
28
|
-
import H from '../../Core/Globals.js';
|
|
29
|
-
var noop = H.noop;
|
|
30
28
|
var MapPointSeries = SeriesRegistry.seriesTypes.mappoint;
|
|
31
29
|
import U from '../../Core/Utilities.js';
|
|
32
30
|
var extend = U.extend, merge = U.merge;
|
|
@@ -110,15 +108,62 @@ var MapBubbleSeries = /** @class */ (function (_super) {
|
|
|
110
108
|
* @apioption plotOptions.mapbubble.displayNegative
|
|
111
109
|
*/
|
|
112
110
|
/**
|
|
113
|
-
*
|
|
111
|
+
* Color of the line connecting bubbles. The default value is the same
|
|
112
|
+
* as series' color.
|
|
113
|
+
*
|
|
114
|
+
* In styled mode, the color can be defined by the
|
|
115
|
+
* [colorIndex](#plotOptions.series.colorIndex) option. Also, the series
|
|
116
|
+
* color can be set with the `.highcharts-series`,
|
|
117
|
+
* `.highcharts-color-{n}`, `.highcharts-{type}-series` or
|
|
118
|
+
* `.highcharts-series-{n}` class, or individual classes given by the
|
|
119
|
+
* `className` option.
|
|
120
|
+
*
|
|
121
|
+
*
|
|
122
|
+
* @sample {highmaps} maps/demo/spider-map/
|
|
123
|
+
* Spider map
|
|
124
|
+
* @sample {highmaps} maps/plotoptions/spider-map-line-color/
|
|
125
|
+
* Different line color
|
|
126
|
+
*
|
|
127
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
128
|
+
* @apioption plotOptions.mapbubble.lineColor
|
|
129
|
+
*/
|
|
130
|
+
/**
|
|
131
|
+
* Pixel width of the line connecting bubbles.
|
|
132
|
+
*
|
|
133
|
+
* @sample {highmaps} maps/demo/spider-map/
|
|
134
|
+
* Spider map
|
|
135
|
+
*
|
|
136
|
+
* @product highmaps
|
|
137
|
+
* @apioption plotOptions.mapbubble.lineWidth
|
|
138
|
+
*/
|
|
139
|
+
lineWidth: 0,
|
|
140
|
+
/**
|
|
141
|
+
* Maximum bubble size. Bubbles will automatically size between the
|
|
142
|
+
* `minSize` and `maxSize` to reflect the `z` value of each bubble.
|
|
143
|
+
* Can be either pixels (when no unit is given), or a percentage of
|
|
144
|
+
* the smallest one of the plot width and height.
|
|
145
|
+
*
|
|
146
|
+
* @sample {highmaps} highcharts/plotoptions/bubble-size/
|
|
114
147
|
* Bubble size
|
|
148
|
+
* @sample {highmaps} maps/demo/spider-map/
|
|
149
|
+
* Spider map
|
|
115
150
|
*
|
|
151
|
+
* @product highmaps
|
|
116
152
|
* @apioption plotOptions.mapbubble.maxSize
|
|
153
|
+
|
|
117
154
|
*/
|
|
118
155
|
/**
|
|
156
|
+
* Minimum bubble size. Bubbles will automatically size between the
|
|
157
|
+
* `minSize` and `maxSize` to reflect the `z` value of each bubble.
|
|
158
|
+
* Can be either pixels (when no unit is given), or a percentage of
|
|
159
|
+
* the smallest one of the plot width and height.
|
|
160
|
+
*
|
|
119
161
|
* @sample {highmaps} maps/demo/map-bubble/
|
|
120
162
|
* Bubble size
|
|
163
|
+
* @sample {highmaps} maps/demo/spider-map/
|
|
164
|
+
* Spider map
|
|
121
165
|
*
|
|
166
|
+
* @product highmaps
|
|
122
167
|
* @apioption plotOptions.mapbubble.minSize
|
|
123
168
|
*/
|
|
124
169
|
/**
|
|
@@ -216,6 +261,7 @@ extend(MapBubbleSeries.prototype, {
|
|
|
216
261
|
projectPoint: MapPointSeries.prototype.projectPoint,
|
|
217
262
|
setData: MapSeries.prototype.setData,
|
|
218
263
|
setOptions: MapSeries.prototype.setOptions,
|
|
264
|
+
updateData: MapSeries.prototype.updateData,
|
|
219
265
|
useMapGeometry: true,
|
|
220
266
|
xyFromShape: true
|
|
221
267
|
});
|