highcharts 10.2.1 → 10.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (732) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Accessibility/Accessibility.js +1 -1
  3. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +9 -6
  4. package/es-modules/Accessibility/Components/LegendComponent.js +36 -32
  5. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +1 -1
  6. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -16
  7. package/es-modules/Accessibility/Options/LangDefaults.js +4 -0
  8. package/es-modules/Core/Axis/Axis.js +42 -32
  9. package/es-modules/Core/Axis/Axis3DComposition.js +501 -0
  10. package/es-modules/Core/Axis/Axis3DDefaults.js +130 -0
  11. package/es-modules/Core/Axis/AxisDefaults.js +20 -7
  12. package/es-modules/Core/Axis/Color/ColorAxis.js +46 -52
  13. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +4 -2
  14. package/es-modules/Core/Axis/NavigatorAxisComposition.js +161 -0
  15. package/es-modules/Core/Axis/OrdinalAxis.js +2 -1
  16. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +1 -1
  17. package/es-modules/Core/Axis/RadialAxis.js +19 -5
  18. package/es-modules/Core/Axis/Tick.js +1 -1
  19. package/es-modules/Core/Axis/Tick3DComposition.js +71 -0
  20. package/es-modules/Core/Chart/Chart.js +16 -20
  21. package/es-modules/Core/Chart/Chart3D.js +4 -4
  22. package/es-modules/Core/Chart/ChartDefaults.js +33 -43
  23. package/es-modules/Core/Chart/GanttChart.js +1 -1
  24. package/es-modules/Core/Chart/MapChart.js +1 -1
  25. package/es-modules/Core/Chart/StockChart.js +11 -28
  26. package/es-modules/Core/{DefaultOptions.js → Defaults.js} +21 -37
  27. package/es-modules/Core/FormatUtilities.js +1 -1
  28. package/es-modules/Core/Globals.js +1 -1
  29. package/es-modules/Core/Legend/Legend.js +114 -110
  30. package/es-modules/Core/Legend/LegendSymbol.js +9 -6
  31. package/es-modules/Core/MSPointer.js +4 -2
  32. package/es-modules/Core/Pointer.js +125 -75
  33. package/es-modules/Core/Renderer/SVG/SVGElement.js +0 -3
  34. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +28 -14
  35. package/es-modules/Core/Series/DataLabel.js +8 -5
  36. package/es-modules/Core/Series/Point.js +38 -22
  37. package/es-modules/Core/Series/Series.js +12 -9
  38. package/es-modules/Core/Series/SeriesDefaults.js +36 -24
  39. package/es-modules/Core/Series/SeriesRegistry.js +2 -2
  40. package/es-modules/Core/Time.js +6 -5
  41. package/es-modules/Core/Tooltip.js +6 -28
  42. package/es-modules/Core/Utilities.js +6 -8
  43. package/es-modules/Extensions/Annotations/Annotation.js +1 -1
  44. package/es-modules/Extensions/Annotations/AnnotationDefaults.js +13 -8
  45. package/es-modules/Extensions/Annotations/MockPoint.js +2 -1
  46. package/es-modules/Extensions/Annotations/NavigationBindings.js +4 -5
  47. package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
  48. package/es-modules/Extensions/Annotations/Popup/Popup.js +2 -2
  49. package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -4
  50. package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
  51. package/es-modules/Extensions/Boost/BoostSeries.js +11 -8
  52. package/es-modules/Extensions/Breadcrumbs.js +2 -2
  53. package/es-modules/Extensions/Data.js +2 -2
  54. package/es-modules/Extensions/DataGrouping/ApproximationDefaults.js +157 -0
  55. package/es-modules/Extensions/DataGrouping/ApproximationRegistry.js +35 -0
  56. package/es-modules/Extensions/DataGrouping/DataGrouping.js +469 -0
  57. package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +174 -0
  58. package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +143 -0
  59. package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +479 -0
  60. package/es-modules/Extensions/Debugger/Debugger.js +1 -1
  61. package/es-modules/Extensions/DraggablePoints.js +6 -2
  62. package/es-modules/Extensions/Drilldown.js +3 -5
  63. package/es-modules/Extensions/ExportData/ExportData.js +31 -5
  64. package/es-modules/Extensions/Exporting/Exporting.js +47 -60
  65. package/es-modules/Extensions/Exporting/ExportingDefaults.js +22 -24
  66. package/es-modules/Extensions/GeoJSON.js +3 -1
  67. package/es-modules/Extensions/MarkerClusters.js +1 -1
  68. package/es-modules/Extensions/NoDataToDisplay.js +1 -1
  69. package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +5 -5
  70. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  71. package/es-modules/Extensions/Oldie/Oldie.js +3 -3
  72. package/es-modules/Extensions/Oldie/VMLRenderer3D.js +1 -1
  73. package/es-modules/Extensions/OldiePolyfills.js +3 -1
  74. package/es-modules/Extensions/Pane.js +42 -5
  75. package/es-modules/Extensions/ParallelCoordinates.js +5 -1
  76. package/es-modules/Extensions/PatternFill.js +10 -10
  77. package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +2 -2
  78. package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +4 -0
  79. package/es-modules/Extensions/Sonification/Sonification.js +1 -1
  80. package/es-modules/Extensions/Themes/Avocado.js +1 -1
  81. package/es-modules/Extensions/Themes/BrandDark.js +1 -1
  82. package/es-modules/Extensions/Themes/BrandLight.js +1 -1
  83. package/es-modules/Extensions/Themes/DarkBlue.js +1 -1
  84. package/es-modules/Extensions/Themes/DarkGreen.js +1 -1
  85. package/es-modules/Extensions/Themes/DarkUnica.js +1 -1
  86. package/es-modules/Extensions/Themes/Gray.js +1 -1
  87. package/es-modules/Extensions/Themes/Grid.js +1 -1
  88. package/es-modules/Extensions/Themes/GridLight.js +1 -1
  89. package/es-modules/Extensions/Themes/HighContrastDark.js +1 -1
  90. package/es-modules/Extensions/Themes/HighContrastLight.js +1 -1
  91. package/es-modules/Extensions/Themes/SandSignika.js +1 -1
  92. package/es-modules/Extensions/Themes/Skies.js +1 -1
  93. package/es-modules/Extensions/Themes/Sunset.js +1 -1
  94. package/es-modules/Gantt/Connection.js +5 -5
  95. package/es-modules/Gantt/Pathfinder.js +6 -6
  96. package/es-modules/Maps/MapNavigation.js +1 -1
  97. package/es-modules/Maps/{MapNavigationOptionsDefault.js → MapNavigationDefaults.js} +4 -4
  98. package/es-modules/Maps/MapViewOptionsDefault.js +4 -4
  99. package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -5
  100. package/es-modules/Series/AreaRange/AreaRangePoint.js +6 -10
  101. package/es-modules/Series/AreaRange/AreaRangeSeries.js +59 -48
  102. package/es-modules/Series/BoxPlot/BoxPlotSeries.js +4 -1
  103. package/es-modules/Series/Bubble/BubbleLegendComposition.js +22 -16
  104. package/es-modules/Series/Bubble/BubbleLegendItem.js +17 -21
  105. package/es-modules/Series/Candlestick/CandlestickSeries.js +15 -175
  106. package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +179 -0
  107. package/es-modules/Series/Column/ColumnSeries.js +25 -506
  108. package/es-modules/Series/Column/ColumnSeriesDefaults.js +487 -0
  109. package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +40 -36
  110. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +2 -106
  111. package/es-modules/Series/DependencyWheel/DependencyWheelSeriesDefaults.js +183 -0
  112. package/es-modules/Series/DotPlot/DotPlotSeries.js +11 -12
  113. package/es-modules/Series/DrawPointUtilities.js +2 -14
  114. package/es-modules/Series/Dumbbell/DumbbellPoint.js +5 -4
  115. package/es-modules/Series/Dumbbell/DumbbellSeries.js +11 -7
  116. package/es-modules/Series/ErrorBar/ErrorBarSeries.js +19 -136
  117. package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +147 -0
  118. package/es-modules/Series/Flags/FlagsPoint.js +2 -3
  119. package/es-modules/Series/Flags/FlagsSeries.js +31 -298
  120. package/es-modules/Series/Flags/FlagsSeriesDefaults.js +295 -0
  121. package/es-modules/Series/Flags/FlagsSymbols.js +96 -71
  122. package/es-modules/Series/HLC/HLCPoint.js +2 -2
  123. package/es-modules/Series/HLC/HLCSeries.js +7 -172
  124. package/es-modules/Series/HLC/HLCSeriesDefaults.js +184 -0
  125. package/es-modules/Series/Heatmap/HeatmapSeries.js +3 -0
  126. package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -20
  127. package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +78 -139
  128. package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +102 -0
  129. package/es-modules/Series/Item/ItemPoint.js +0 -1
  130. package/es-modules/Series/Item/ItemSeries.js +13 -8
  131. package/es-modules/Series/Line/LineSeries.js +8 -4
  132. package/es-modules/Series/Map/MapPoint.js +19 -1
  133. package/es-modules/Series/Map/MapSeries.js +7 -3
  134. package/es-modules/Series/MapBubble/MapBubbleSeries.js +4 -0
  135. package/es-modules/Series/MapPoint/MapPointPoint.js +0 -5
  136. package/es-modules/Series/MapPoint/MapPointSeries.js +24 -9
  137. package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +2 -5
  138. package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +2 -0
  139. package/es-modules/Series/OHLC/OHLCPoint.js +0 -2
  140. package/es-modules/Series/OHLC/OHLCSeries.js +64 -160
  141. package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +151 -0
  142. package/es-modules/Series/Organization/OrganizationPoint.js +0 -2
  143. package/es-modules/Series/Organization/OrganizationSeries.js +96 -469
  144. package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +415 -0
  145. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +3 -10
  146. package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -0
  147. package/es-modules/Series/PathUtilities.js +74 -0
  148. package/es-modules/Series/Pie/PieSeries.js +2 -644
  149. package/es-modules/Series/Pie/PieSeriesDefaults.js +660 -0
  150. package/es-modules/Series/PolarComposition.js +233 -15
  151. package/es-modules/Series/Sankey/SankeySeries.js +27 -530
  152. package/es-modules/Series/Sankey/SankeySeriesDefaults.js +522 -0
  153. package/es-modules/Series/Scatter/ScatterSeries.js +2 -172
  154. package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +188 -0
  155. package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +12 -182
  156. package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +199 -0
  157. package/es-modules/Series/Sunburst/SunburstNode.js +34 -0
  158. package/es-modules/Series/Sunburst/SunburstPoint.js +2 -1
  159. package/es-modules/Series/Sunburst/SunburstSeries.js +3 -1
  160. package/es-modules/Series/Timeline/TimelineSeries.js +2 -231
  161. package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +248 -0
  162. package/es-modules/Series/TreeUtilities.js +1 -2
  163. package/es-modules/Series/Treegraph/TreegraphLayout.js +338 -0
  164. package/es-modules/Series/Treegraph/TreegraphLink.js +92 -0
  165. package/es-modules/Series/Treegraph/TreegraphNode.js +206 -0
  166. package/es-modules/Series/Treegraph/TreegraphPoint.js +175 -0
  167. package/es-modules/Series/Treegraph/TreegraphSeries.js +510 -0
  168. package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +231 -0
  169. package/es-modules/Series/Treemap/TreemapNode.js +48 -0
  170. package/es-modules/Series/Treemap/TreemapPoint.js +2 -1
  171. package/es-modules/Series/Treemap/TreemapSeries.js +29 -27
  172. package/es-modules/Series/Variwide/VariwideComposition.js +70 -26
  173. package/es-modules/Series/Variwide/VariwidePoint.js +8 -7
  174. package/es-modules/Series/Variwide/VariwideSeries.js +19 -14
  175. package/es-modules/Series/Vector/VectorSeries.js +2 -2
  176. package/es-modules/Series/Venn/VennSeries.js +14 -0
  177. package/es-modules/Series/Waterfall/WaterfallSeries.js +0 -1
  178. package/es-modules/Series/Windbarb/WindbarbSeries.js +3 -2
  179. package/es-modules/Series/Wordcloud/WordcloudSeries.js +3 -0
  180. package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -2
  181. package/es-modules/Stock/Indicators/BB/BBIndicator.js +15 -4
  182. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +21 -18
  183. package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +1 -2
  184. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -2
  185. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +1 -1
  186. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +0 -1
  187. package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +3 -4
  188. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -2
  189. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +6 -7
  190. package/es-modules/{Core → Stock/Navigator}/Navigator.js +112 -686
  191. package/es-modules/Stock/Navigator/NavigatorComposition.js +218 -0
  192. package/es-modules/Stock/Navigator/NavigatorDefaults.js +490 -0
  193. package/es-modules/Stock/Navigator/NavigatorSymbols.js +44 -0
  194. package/es-modules/{Extensions → Stock/RangeSelector}/RangeSelector.js +154 -818
  195. package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +286 -0
  196. package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +521 -0
  197. package/es-modules/{Core → Stock/Scrollbar}/Scrollbar.js +4 -4
  198. package/es-modules/{Core → Stock/Scrollbar}/ScrollbarDefaults.js +1 -1
  199. package/es-modules/Stock/{StockToolbar.js → StockTools/StockToolbar.js} +2 -2
  200. package/es-modules/Stock/{StockTools.js → StockTools/StockTools.js} +3 -3
  201. package/es-modules/Stock/{StockToolsBindings.js → StockTools/StockToolsBindings.js} +3 -3
  202. package/es-modules/Stock/{StockToolsDefaults.js → StockTools/StockToolsDefaults.js} +4 -4
  203. package/es-modules/Stock/{StockToolsGui.js → StockTools/StockToolsGui.js} +4 -4
  204. package/es-modules/Stock/{StockToolsUtilities.js → StockTools/StockToolsUtilities.js} +4 -4
  205. package/es-modules/masters/highcharts-3d.src.js +3 -5
  206. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  207. package/es-modules/masters/highcharts-more.src.js +1 -1
  208. package/es-modules/masters/highcharts.src.js +6 -6
  209. package/es-modules/masters/highmaps.src.js +1 -1
  210. package/es-modules/masters/highstock.src.js +1 -1
  211. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  212. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  213. package/es-modules/masters/indicators/ao.src.js +1 -1
  214. package/es-modules/masters/indicators/apo.src.js +1 -1
  215. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  216. package/es-modules/masters/indicators/aroon.src.js +1 -1
  217. package/es-modules/masters/indicators/atr.src.js +1 -1
  218. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  219. package/es-modules/masters/indicators/cci.src.js +1 -1
  220. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  221. package/es-modules/masters/indicators/cmf.src.js +1 -1
  222. package/es-modules/masters/indicators/cmo.src.js +1 -1
  223. package/es-modules/masters/indicators/dema.src.js +1 -1
  224. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  225. package/es-modules/masters/indicators/dmi.src.js +1 -1
  226. package/es-modules/masters/indicators/dpo.src.js +1 -1
  227. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  228. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  229. package/es-modules/masters/indicators/indicators.src.js +1 -1
  230. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  231. package/es-modules/masters/indicators/klinger.src.js +1 -1
  232. package/es-modules/masters/indicators/macd.src.js +1 -1
  233. package/es-modules/masters/indicators/mfi.src.js +1 -1
  234. package/es-modules/masters/indicators/momentum.src.js +1 -1
  235. package/es-modules/masters/indicators/natr.src.js +1 -1
  236. package/es-modules/masters/indicators/obv.src.js +1 -1
  237. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  238. package/es-modules/masters/indicators/ppo.src.js +1 -1
  239. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  240. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  241. package/es-modules/masters/indicators/psar.src.js +1 -1
  242. package/es-modules/masters/indicators/regressions.src.js +1 -1
  243. package/es-modules/masters/indicators/roc.src.js +1 -1
  244. package/es-modules/masters/indicators/rsi.src.js +1 -1
  245. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  246. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  247. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  248. package/es-modules/masters/indicators/tema.src.js +1 -1
  249. package/es-modules/masters/indicators/trendline.src.js +1 -1
  250. package/es-modules/masters/indicators/trix.src.js +1 -1
  251. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  252. package/es-modules/masters/indicators/vwap.src.js +1 -1
  253. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  254. package/es-modules/masters/indicators/wma.src.js +1 -1
  255. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  256. package/es-modules/masters/modules/accessibility.src.js +1 -1
  257. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  258. package/es-modules/masters/modules/annotations.src.js +1 -1
  259. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  260. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  261. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  262. package/es-modules/masters/modules/boost.src.js +1 -1
  263. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  264. package/es-modules/masters/modules/bullet.src.js +1 -1
  265. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  266. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  267. package/es-modules/masters/modules/cylinder.src.js +1 -1
  268. package/es-modules/masters/modules/data.src.js +1 -1
  269. package/es-modules/masters/modules/datagrouping.src.js +11 -3
  270. package/es-modules/masters/modules/debugger.src.js +1 -1
  271. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  272. package/es-modules/masters/modules/dotplot.src.js +1 -1
  273. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  274. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  275. package/es-modules/masters/modules/drilldown.src.js +1 -1
  276. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  277. package/es-modules/masters/modules/export-data.src.js +1 -1
  278. package/es-modules/masters/modules/exporting.src.js +1 -1
  279. package/es-modules/masters/modules/full-screen.src.js +1 -1
  280. package/es-modules/masters/modules/funnel.src.js +1 -1
  281. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  282. package/es-modules/masters/modules/gantt.src.js +9 -5
  283. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  284. package/es-modules/masters/modules/heatmap.src.js +1 -1
  285. package/es-modules/masters/modules/heikinashi.src.js +5 -2
  286. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  287. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  288. package/es-modules/masters/modules/item-series.src.js +1 -1
  289. package/es-modules/masters/modules/lollipop.src.js +1 -1
  290. package/es-modules/masters/modules/map.src.js +1 -1
  291. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  292. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  293. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  294. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  295. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  296. package/es-modules/masters/modules/oldie.src.js +1 -1
  297. package/es-modules/masters/modules/organization.src.js +1 -1
  298. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  299. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  300. package/es-modules/masters/modules/pareto.src.js +1 -1
  301. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  302. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  303. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  304. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  305. package/es-modules/masters/modules/sankey.src.js +1 -1
  306. package/es-modules/masters/modules/series-label.src.js +1 -1
  307. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  308. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  309. package/es-modules/masters/modules/sonification.src.js +1 -1
  310. package/es-modules/masters/modules/static-scale.src.js +1 -1
  311. package/es-modules/masters/modules/stock-tools.src.js +4 -4
  312. package/es-modules/masters/modules/stock.src.js +17 -11
  313. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  314. package/es-modules/masters/modules/sunburst.src.js +1 -1
  315. package/es-modules/masters/modules/tilemap.src.js +1 -1
  316. package/es-modules/masters/modules/timeline.src.js +1 -1
  317. package/es-modules/masters/modules/treegraph.src.js +13 -0
  318. package/es-modules/masters/modules/treegrid.src.js +1 -1
  319. package/es-modules/masters/modules/treemap.src.js +1 -1
  320. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  321. package/es-modules/masters/modules/variwide.src.js +5 -2
  322. package/es-modules/masters/modules/vector.src.js +1 -1
  323. package/es-modules/masters/modules/venn.src.js +1 -1
  324. package/es-modules/masters/modules/windbarb.src.js +1 -1
  325. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  326. package/es-modules/masters/modules/xrange.src.js +1 -1
  327. package/es-modules/masters/themes/avocado.src.js +1 -1
  328. package/es-modules/masters/themes/brand-dark.src.js +1 -1
  329. package/es-modules/masters/themes/brand-light.src.js +1 -1
  330. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  331. package/es-modules/masters/themes/dark-green.src.js +1 -1
  332. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  333. package/es-modules/masters/themes/gray.src.js +1 -1
  334. package/es-modules/masters/themes/grid-light.src.js +1 -1
  335. package/es-modules/masters/themes/grid.src.js +1 -1
  336. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  337. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  338. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  339. package/es-modules/masters/themes/skies.src.js +1 -1
  340. package/es-modules/masters/themes/sunset.src.js +1 -1
  341. package/highcharts-3d.js +97 -98
  342. package/highcharts-3d.js.map +1 -1
  343. package/highcharts-3d.src.js +476 -449
  344. package/highcharts-gantt.js +811 -808
  345. package/highcharts-gantt.js.map +1 -1
  346. package/highcharts-gantt.src.js +14619 -14112
  347. package/highcharts-more.d.ts +0 -8
  348. package/highcharts-more.js +208 -201
  349. package/highcharts-more.js.map +1 -1
  350. package/highcharts-more.src.d.ts +0 -8
  351. package/highcharts-more.src.js +679 -289
  352. package/highcharts.d.ts +30739 -6156
  353. package/highcharts.js +590 -589
  354. package/highcharts.js.map +1 -1
  355. package/highcharts.src.d.ts +30739 -6156
  356. package/highcharts.src.js +1988 -1799
  357. package/highmaps.js +759 -757
  358. package/highmaps.js.map +1 -1
  359. package/highmaps.src.js +2339 -2077
  360. package/highstock.js +802 -794
  361. package/highstock.js.map +1 -1
  362. package/highstock.src.js +12349 -11416
  363. package/indicators/acceleration-bands.js +1 -1
  364. package/indicators/acceleration-bands.src.js +1 -1
  365. package/indicators/accumulation-distribution.js +1 -1
  366. package/indicators/accumulation-distribution.src.js +1 -1
  367. package/indicators/ao.js +6 -6
  368. package/indicators/ao.js.map +1 -1
  369. package/indicators/ao.src.js +4 -3
  370. package/indicators/apo.js +1 -1
  371. package/indicators/apo.src.js +1 -1
  372. package/indicators/aroon-oscillator.js +1 -1
  373. package/indicators/aroon-oscillator.src.js +1 -1
  374. package/indicators/aroon.js +1 -1
  375. package/indicators/aroon.src.js +1 -1
  376. package/indicators/atr.js +1 -1
  377. package/indicators/atr.src.js +1 -1
  378. package/indicators/bollinger-bands.js +1 -1
  379. package/indicators/bollinger-bands.js.map +1 -1
  380. package/indicators/bollinger-bands.src.js +16 -5
  381. package/indicators/cci.js +1 -1
  382. package/indicators/cci.src.js +1 -1
  383. package/indicators/chaikin.js +1 -1
  384. package/indicators/chaikin.src.js +1 -1
  385. package/indicators/cmf.js +1 -1
  386. package/indicators/cmf.src.js +1 -1
  387. package/indicators/cmo.d.ts +17 -0
  388. package/indicators/cmo.js +1 -1
  389. package/indicators/cmo.src.d.ts +17 -0
  390. package/indicators/cmo.src.js +1 -1
  391. package/indicators/dema.js +1 -1
  392. package/indicators/dema.src.js +1 -1
  393. package/indicators/disparity-index.d.ts +17 -0
  394. package/indicators/disparity-index.js +1 -1
  395. package/indicators/disparity-index.src.d.ts +17 -0
  396. package/indicators/disparity-index.src.js +1 -1
  397. package/indicators/dmi.d.ts +17 -0
  398. package/indicators/dmi.js +1 -1
  399. package/indicators/dmi.src.d.ts +17 -0
  400. package/indicators/dmi.src.js +1 -1
  401. package/indicators/dpo.js +1 -1
  402. package/indicators/dpo.src.js +1 -1
  403. package/indicators/ichimoku-kinko-hyo.js +14 -14
  404. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  405. package/indicators/ichimoku-kinko-hyo.src.js +22 -19
  406. package/indicators/indicators-all.js +198 -199
  407. package/indicators/indicators-all.js.map +1 -1
  408. package/indicators/indicators-all.src.js +63 -57
  409. package/indicators/indicators.js +13 -13
  410. package/indicators/indicators.js.map +1 -1
  411. package/indicators/indicators.src.js +1 -15
  412. package/indicators/keltner-channels.js +1 -1
  413. package/indicators/keltner-channels.src.js +1 -1
  414. package/indicators/klinger.d.ts +17 -0
  415. package/indicators/klinger.js +12 -12
  416. package/indicators/klinger.js.map +1 -1
  417. package/indicators/klinger.src.d.ts +17 -0
  418. package/indicators/klinger.src.js +4 -3
  419. package/indicators/macd.js +1 -1
  420. package/indicators/macd.js.map +1 -1
  421. package/indicators/macd.src.js +4 -3
  422. package/indicators/mfi.js +1 -1
  423. package/indicators/mfi.src.js +1 -1
  424. package/indicators/momentum.js +1 -1
  425. package/indicators/momentum.src.js +1 -1
  426. package/indicators/natr.js +1 -1
  427. package/indicators/natr.src.js +1 -1
  428. package/indicators/obv.d.ts +17 -0
  429. package/indicators/obv.js +1 -1
  430. package/indicators/obv.src.d.ts +17 -0
  431. package/indicators/obv.src.js +1 -1
  432. package/indicators/pivot-points.js +2 -2
  433. package/indicators/pivot-points.js.map +1 -1
  434. package/indicators/pivot-points.src.js +2 -2
  435. package/indicators/ppo.js +1 -1
  436. package/indicators/ppo.src.js +1 -1
  437. package/indicators/price-channel.js +1 -1
  438. package/indicators/price-channel.src.js +1 -1
  439. package/indicators/price-envelopes.js +1 -1
  440. package/indicators/price-envelopes.src.js +1 -1
  441. package/indicators/psar.js +1 -1
  442. package/indicators/psar.src.js +1 -1
  443. package/indicators/regressions.js +1 -1
  444. package/indicators/regressions.src.js +1 -1
  445. package/indicators/roc.js +1 -1
  446. package/indicators/roc.src.js +1 -1
  447. package/indicators/rsi.js +1 -1
  448. package/indicators/rsi.src.js +1 -1
  449. package/indicators/slow-stochastic.js +5 -5
  450. package/indicators/slow-stochastic.js.map +1 -1
  451. package/indicators/slow-stochastic.src.js +6 -5
  452. package/indicators/stochastic.js +1 -1
  453. package/indicators/stochastic.src.js +1 -1
  454. package/indicators/supertrend.js +7 -7
  455. package/indicators/supertrend.js.map +1 -1
  456. package/indicators/supertrend.src.js +4 -3
  457. package/indicators/tema.js +1 -1
  458. package/indicators/tema.src.js +1 -1
  459. package/indicators/trendline.js +1 -1
  460. package/indicators/trendline.src.js +1 -1
  461. package/indicators/trix.js +1 -1
  462. package/indicators/trix.src.js +1 -1
  463. package/indicators/volume-by-price.js +17 -17
  464. package/indicators/volume-by-price.js.map +1 -1
  465. package/indicators/volume-by-price.src.js +9 -8
  466. package/indicators/vwap.js +1 -1
  467. package/indicators/vwap.src.js +1 -1
  468. package/indicators/williams-r.js +1 -1
  469. package/indicators/williams-r.src.js +1 -1
  470. package/indicators/wma.js +1 -1
  471. package/indicators/wma.src.js +1 -1
  472. package/indicators/zigzag.js +1 -1
  473. package/indicators/zigzag.src.js +1 -1
  474. package/modules/accessibility.js +214 -213
  475. package/modules/accessibility.js.map +1 -1
  476. package/modules/accessibility.src.js +991 -835
  477. package/modules/annotations-advanced.js +16 -16
  478. package/modules/annotations-advanced.js.map +1 -1
  479. package/modules/annotations-advanced.src.js +29 -24
  480. package/modules/annotations.js +91 -91
  481. package/modules/annotations.js.map +1 -1
  482. package/modules/annotations.src.js +29 -24
  483. package/modules/arc-diagram.d.ts +17 -0
  484. package/modules/arc-diagram.js +15 -15
  485. package/modules/arc-diagram.js.map +1 -1
  486. package/modules/arc-diagram.src.d.ts +17 -0
  487. package/modules/arc-diagram.src.js +6 -6
  488. package/modules/arrow-symbols.js +1 -1
  489. package/modules/arrow-symbols.src.js +1 -1
  490. package/modules/boost-canvas.js +19 -19
  491. package/modules/boost-canvas.js.map +1 -1
  492. package/modules/boost-canvas.src.js +13 -8
  493. package/modules/boost.js +37 -37
  494. package/modules/boost.js.map +1 -1
  495. package/modules/boost.src.js +13 -8
  496. package/modules/broken-axis.js +1 -1
  497. package/modules/broken-axis.src.js +1 -1
  498. package/modules/bullet.js +1 -1
  499. package/modules/bullet.src.js +1 -1
  500. package/modules/coloraxis.js +25 -24
  501. package/modules/coloraxis.js.map +1 -1
  502. package/modules/coloraxis.src.js +77 -58
  503. package/modules/current-date-indicator.js +1 -1
  504. package/modules/current-date-indicator.src.js +1 -1
  505. package/modules/cylinder.js +1 -1
  506. package/modules/cylinder.src.js +1 -1
  507. package/modules/data.js +27 -27
  508. package/modules/data.js.map +1 -1
  509. package/modules/data.src.js +3 -3
  510. package/modules/datagrouping.d.ts +31 -0
  511. package/modules/datagrouping.js +23 -21
  512. package/modules/datagrouping.js.map +1 -1
  513. package/modules/datagrouping.src.d.ts +31 -0
  514. package/modules/datagrouping.src.js +921 -640
  515. package/modules/debugger.js +3 -3
  516. package/modules/debugger.js.map +1 -1
  517. package/modules/debugger.src.js +2 -2
  518. package/modules/dependency-wheel.js +12 -12
  519. package/modules/dependency-wheel.js.map +1 -1
  520. package/modules/dependency-wheel.src.js +191 -108
  521. package/modules/dotplot.js +6 -6
  522. package/modules/dotplot.js.map +1 -1
  523. package/modules/dotplot.src.js +10 -13
  524. package/modules/drag-panes.js +1 -1
  525. package/modules/drag-panes.src.js +1 -1
  526. package/modules/draggable-points.js +5 -5
  527. package/modules/draggable-points.js.map +1 -1
  528. package/modules/draggable-points.src.js +7 -3
  529. package/modules/drilldown.js +37 -37
  530. package/modules/drilldown.js.map +1 -1
  531. package/modules/drilldown.src.js +5 -6
  532. package/modules/dumbbell.js +17 -17
  533. package/modules/dumbbell.js.map +1 -1
  534. package/modules/dumbbell.src.js +27 -22
  535. package/modules/export-data.js +26 -25
  536. package/modules/export-data.js.map +1 -1
  537. package/modules/export-data.src.js +33 -6
  538. package/modules/exporting.js +36 -35
  539. package/modules/exporting.js.map +1 -1
  540. package/modules/exporting.src.js +81 -88
  541. package/modules/full-screen.js +1 -1
  542. package/modules/full-screen.src.js +1 -1
  543. package/modules/funnel.js +1 -1
  544. package/modules/funnel.src.js +1 -1
  545. package/modules/funnel3d.js +1 -1
  546. package/modules/funnel3d.src.js +1 -1
  547. package/modules/gantt.js +221 -219
  548. package/modules/gantt.js.map +1 -1
  549. package/modules/gantt.src.js +12842 -12524
  550. package/modules/grid-axis.js +1 -1
  551. package/modules/grid-axis.src.js +1 -1
  552. package/modules/heatmap.js +40 -40
  553. package/modules/heatmap.js.map +1 -1
  554. package/modules/heatmap.src.js +80 -58
  555. package/modules/heikinashi.d.ts +17 -0
  556. package/modules/heikinashi.js +9 -8
  557. package/modules/heikinashi.js.map +1 -1
  558. package/modules/heikinashi.src.d.ts +17 -0
  559. package/modules/heikinashi.src.js +192 -165
  560. package/modules/histogram-bellcurve.js +1 -1
  561. package/modules/histogram-bellcurve.src.js +1 -1
  562. package/modules/hollowcandlestick.d.ts +17 -0
  563. package/modules/hollowcandlestick.js +1 -1
  564. package/modules/hollowcandlestick.src.d.ts +17 -0
  565. package/modules/hollowcandlestick.src.js +1 -1
  566. package/modules/item-series.js +12 -12
  567. package/modules/item-series.js.map +1 -1
  568. package/modules/item-series.src.js +14 -10
  569. package/modules/lollipop.js +1 -1
  570. package/modules/lollipop.src.js +1 -1
  571. package/modules/map.js +172 -171
  572. package/modules/map.js.map +1 -1
  573. package/modules/map.src.js +194 -121
  574. package/modules/marker-clusters.js +2 -2
  575. package/modules/marker-clusters.js.map +1 -1
  576. package/modules/marker-clusters.src.js +2 -2
  577. package/modules/networkgraph.js +8 -8
  578. package/modules/networkgraph.js.map +1 -1
  579. package/modules/networkgraph.src.js +5 -6
  580. package/modules/no-data-to-display.js +4 -4
  581. package/modules/no-data-to-display.js.map +1 -1
  582. package/modules/no-data-to-display.src.js +2 -2
  583. package/modules/offline-exporting.js +4 -4
  584. package/modules/offline-exporting.js.map +1 -1
  585. package/modules/offline-exporting.src.js +7 -7
  586. package/modules/oldie-polyfills.js +7 -7
  587. package/modules/oldie-polyfills.js.map +1 -1
  588. package/modules/oldie-polyfills.src.js +9 -7
  589. package/modules/oldie.js +30 -30
  590. package/modules/oldie.js.map +1 -1
  591. package/modules/oldie.src.js +5 -5
  592. package/modules/organization.js +18 -16
  593. package/modules/organization.js.map +1 -1
  594. package/modules/organization.src.js +659 -495
  595. package/modules/overlapping-datalabels.js +1 -1
  596. package/modules/overlapping-datalabels.src.js +1 -1
  597. package/modules/parallel-coordinates.js +10 -10
  598. package/modules/parallel-coordinates.js.map +1 -1
  599. package/modules/parallel-coordinates.src.js +6 -2
  600. package/modules/pareto.js +1 -1
  601. package/modules/pareto.src.js +1 -1
  602. package/modules/pathfinder.js +31 -31
  603. package/modules/pathfinder.js.map +1 -1
  604. package/modules/pathfinder.src.js +19 -23
  605. package/modules/pattern-fill.js +2 -2
  606. package/modules/pattern-fill.js.map +1 -1
  607. package/modules/pattern-fill.src.js +11 -11
  608. package/modules/price-indicator.js +1 -1
  609. package/modules/price-indicator.src.js +1 -1
  610. package/modules/pyramid3d.js +1 -1
  611. package/modules/pyramid3d.src.js +1 -1
  612. package/modules/sankey.js +33 -32
  613. package/modules/sankey.js.map +1 -1
  614. package/modules/sankey.src.js +571 -550
  615. package/modules/series-label.js +17 -17
  616. package/modules/series-label.js.map +1 -1
  617. package/modules/series-label.src.js +7 -3
  618. package/modules/series-on-point.d.ts +17 -0
  619. package/modules/series-on-point.js +1 -1
  620. package/modules/series-on-point.src.d.ts +17 -0
  621. package/modules/series-on-point.src.js +1 -1
  622. package/modules/solid-gauge.js +11 -10
  623. package/modules/solid-gauge.js.map +1 -1
  624. package/modules/solid-gauge.src.js +220 -192
  625. package/modules/sonification.js +2 -2
  626. package/modules/sonification.js.map +1 -1
  627. package/modules/sonification.src.js +2 -2
  628. package/modules/static-scale.js +1 -1
  629. package/modules/static-scale.src.js +1 -1
  630. package/modules/stock-tools.js +59 -59
  631. package/modules/stock-tools.js.map +1 -1
  632. package/modules/stock-tools.src.js +19 -21
  633. package/modules/stock.d.ts +26 -6
  634. package/modules/stock.js +212 -205
  635. package/modules/stock.js.map +1 -1
  636. package/modules/stock.src.d.ts +26 -6
  637. package/modules/stock.src.js +11361 -10617
  638. package/modules/streamgraph.js +1 -1
  639. package/modules/streamgraph.src.js +1 -1
  640. package/modules/sunburst.js +75 -73
  641. package/modules/sunburst.js.map +1 -1
  642. package/modules/sunburst.src.js +133 -57
  643. package/modules/tilemap.js +1 -1
  644. package/modules/tilemap.src.js +1 -1
  645. package/modules/timeline.js +18 -18
  646. package/modules/timeline.js.map +1 -1
  647. package/modules/timeline.src.js +257 -233
  648. package/modules/treegraph.d.ts +17 -0
  649. package/modules/treegraph.js +44 -0
  650. package/modules/treegraph.js.map +1 -0
  651. package/modules/treegraph.src.d.ts +17 -0
  652. package/modules/treegraph.src.js +1829 -0
  653. package/modules/treegrid.js +2 -2
  654. package/modules/treegrid.js.map +1 -1
  655. package/modules/treegrid.src.js +2 -3
  656. package/modules/treemap.js +54 -53
  657. package/modules/treemap.js.map +1 -1
  658. package/modules/treemap.src.js +90 -52
  659. package/modules/variable-pie.js +1 -1
  660. package/modules/variable-pie.src.js +1 -1
  661. package/modules/variwide.js +12 -12
  662. package/modules/variwide.js.map +1 -1
  663. package/modules/variwide.src.js +158 -106
  664. package/modules/vector.js +1 -1
  665. package/modules/vector.src.js +3 -3
  666. package/modules/venn.js +31 -31
  667. package/modules/venn.js.map +1 -1
  668. package/modules/venn.src.js +17 -16
  669. package/modules/windbarb.js +15 -15
  670. package/modules/windbarb.js.map +1 -1
  671. package/modules/windbarb.src.js +41 -4
  672. package/modules/wordcloud.js +23 -23
  673. package/modules/wordcloud.js.map +1 -1
  674. package/modules/wordcloud.src.js +6 -15
  675. package/modules/xrange.js +1 -1
  676. package/modules/xrange.src.js +1 -1
  677. package/package.json +1 -1
  678. package/themes/avocado.js +2 -3
  679. package/themes/avocado.js.map +1 -1
  680. package/themes/avocado.src.js +2 -2
  681. package/themes/brand-dark.d.ts +22 -0
  682. package/themes/brand-dark.js +3 -3
  683. package/themes/brand-dark.js.map +1 -1
  684. package/themes/brand-dark.src.d.ts +22 -0
  685. package/themes/brand-dark.src.js +2 -2
  686. package/themes/brand-light.d.ts +22 -0
  687. package/themes/brand-light.js +2 -2
  688. package/themes/brand-light.js.map +1 -1
  689. package/themes/brand-light.src.d.ts +22 -0
  690. package/themes/brand-light.src.js +2 -2
  691. package/themes/dark-blue.js +2 -2
  692. package/themes/dark-blue.js.map +1 -1
  693. package/themes/dark-blue.src.js +2 -2
  694. package/themes/dark-green.js +2 -2
  695. package/themes/dark-green.js.map +1 -1
  696. package/themes/dark-green.src.js +2 -2
  697. package/themes/dark-unica.js +2 -2
  698. package/themes/dark-unica.js.map +1 -1
  699. package/themes/dark-unica.src.js +2 -2
  700. package/themes/gray.js +2 -2
  701. package/themes/gray.js.map +1 -1
  702. package/themes/gray.src.js +2 -2
  703. package/themes/grid-light.js +2 -2
  704. package/themes/grid-light.js.map +1 -1
  705. package/themes/grid-light.src.js +2 -2
  706. package/themes/grid.js +2 -2
  707. package/themes/grid.js.map +1 -1
  708. package/themes/grid.src.js +2 -2
  709. package/themes/high-contrast-dark.d.ts +22 -0
  710. package/themes/high-contrast-dark.js +2 -2
  711. package/themes/high-contrast-dark.js.map +1 -1
  712. package/themes/high-contrast-dark.src.d.ts +22 -0
  713. package/themes/high-contrast-dark.src.js +2 -2
  714. package/themes/high-contrast-light.d.ts +22 -0
  715. package/themes/high-contrast-light.js +2 -2
  716. package/themes/high-contrast-light.js.map +1 -1
  717. package/themes/high-contrast-light.src.d.ts +22 -0
  718. package/themes/high-contrast-light.src.js +2 -2
  719. package/themes/sand-signika.js +2 -2
  720. package/themes/sand-signika.js.map +1 -1
  721. package/themes/sand-signika.src.js +2 -2
  722. package/themes/skies.js +2 -2
  723. package/themes/skies.js.map +1 -1
  724. package/themes/skies.src.js +2 -2
  725. package/themes/sunset.js +2 -2
  726. package/themes/sunset.js.map +1 -1
  727. package/themes/sunset.src.js +2 -2
  728. package/es-modules/Core/Axis/Axis3D.js +0 -612
  729. package/es-modules/Core/Axis/NavigatorAxis.js +0 -159
  730. package/es-modules/Core/Axis/Tick3D.js +0 -68
  731. package/es-modules/Extensions/DataGrouping.js +0 -1177
  732. package/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -12
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highmaps JS v10.2.1 (2022-08-29)
2
+ * @license Highmaps JS v10.3.1 (2022-10-31)
3
3
  *
4
4
  * Highmaps as a plugin for Highcharts or Highcharts Stock.
5
5
  *
@@ -199,7 +199,7 @@
199
199
  */
200
200
  function onLegendAfterColorizeItem(e) {
201
201
  if (e.visible && e.item.legendColor) {
202
- e.item.legendSymbol.attr({
202
+ e.item.legendItem.symbol.attr({
203
203
  fill: e.item.legendColor
204
204
  });
205
205
  }
@@ -281,7 +281,9 @@
281
281
  point.color || series.color);
282
282
  if (color && point.color !== color) {
283
283
  point.color = color;
284
- if (series.options.legendType === 'point' && point.legendItem) {
284
+ if (series.options.legendType === 'point' &&
285
+ point.legendItem &&
286
+ point.legendItem.label) {
285
287
  series.chart.legend.colorizeItem(point, point.visible);
286
288
  }
287
289
  }
@@ -850,8 +852,6 @@
850
852
  _this.chart = void 0;
851
853
  _this.coll = 'colorAxis';
852
854
  _this.dataClasses = void 0;
853
- _this.legendItem = void 0;
854
- _this.legendItems = void 0;
855
855
  _this.name = ''; // Prevents 'undefined' in legend in IE8
856
856
  _this.options = void 0;
857
857
  _this.stops = void 0;
@@ -921,13 +921,14 @@
921
921
  ColorAxis.prototype.initDataClasses = function (userOptions) {
922
922
  var axis = this,
923
923
  chart = axis.chart,
924
- options = axis.options,
925
- len = userOptions.dataClasses.length;
924
+ legendItem = axis.legendItem = axis.legendItem || {},
925
+ len = userOptions.dataClasses.length,
926
+ options = axis.options;
926
927
  var dataClasses,
927
928
  colorCounter = 0,
928
929
  colorCount = chart.options.chart.colorCount;
929
930
  axis.dataClasses = dataClasses = [];
930
- axis.legendItems = [];
931
+ legendItem.labels = [];
931
932
  (userOptions.dataClasses || []).forEach(function (dataClass, i) {
932
933
  var colors;
933
934
  dataClass = merge(dataClass);
@@ -1001,7 +1002,7 @@
1001
1002
  */
1002
1003
  ColorAxis.prototype.setAxisSize = function () {
1003
1004
  var axis = this;
1004
- var symbol = axis.legendSymbol;
1005
+ var symbol = axis.legendItem && axis.legendItem.symbol;
1005
1006
  var chart = axis.chart;
1006
1007
  var legendOptions = chart.options.legend || {};
1007
1008
  var x,
@@ -1091,7 +1092,7 @@
1091
1092
  */
1092
1093
  ColorAxis.prototype.getOffset = function () {
1093
1094
  var axis = this;
1094
- var group = axis.legendGroup;
1095
+ var group = axis.legendItem && axis.legendItem.group;
1095
1096
  var sideOffset = axis.chart.axisOffset[axis.side];
1096
1097
  if (group) {
1097
1098
  // Hook for the getOffset method to add groups to this parent
@@ -1148,34 +1149,35 @@
1148
1149
  * @private
1149
1150
  */
1150
1151
  ColorAxis.prototype.drawLegendSymbol = function (legend, item) {
1151
- var axis = this;
1152
- var padding = legend.padding;
1153
- var legendOptions = legend.options;
1154
- var horiz = axis.horiz;
1155
- var width = pick(legendOptions.symbolWidth,
1156
- horiz ? ColorAxis.defaultLegendLength : 12);
1157
- var height = pick(legendOptions.symbolHeight,
1158
- horiz ? 12 : ColorAxis.defaultLegendLength);
1159
- var labelPadding = pick(
1152
+ var axis = this,
1153
+ legendItem = item.legendItem || {},
1154
+ padding = legend.padding,
1155
+ legendOptions = legend.options,
1156
+ itemDistance = pick(legendOptions.itemDistance, 10),
1157
+ horiz = axis.horiz,
1158
+ width = pick(legendOptions.symbolWidth,
1159
+ horiz ? ColorAxis.defaultLegendLength : 12),
1160
+ height = pick(legendOptions.symbolHeight,
1161
+ horiz ? 12 : ColorAxis.defaultLegendLength),
1162
+ labelPadding = pick(
1160
1163
  // @todo: This option is not documented, nor implemented when
1161
1164
  // vertical
1162
1165
  legendOptions.labelPadding,
1163
1166
  horiz ? 16 : 30);
1164
- var itemDistance = pick(legendOptions.itemDistance, 10);
1165
1167
  this.setLegendColor();
1166
1168
  // Create the gradient
1167
- if (!item.legendSymbol) {
1168
- item.legendSymbol = this.chart.renderer.rect(0, legend.baseline - 11, width, height).attr({
1169
+ if (!legendItem.symbol) {
1170
+ legendItem.symbol = this.chart.renderer.rect(0, legend.baseline - 11, width, height).attr({
1169
1171
  zIndex: 1
1170
- }).add(item.legendGroup);
1172
+ }).add(legendItem.group);
1171
1173
  }
1172
1174
  // Set how much space this legend item takes up
1173
- axis.legendItemWidth = (width +
1175
+ legendItem.labelWidth = (width +
1174
1176
  padding +
1175
1177
  (horiz ?
1176
1178
  itemDistance :
1177
1179
  this.options.labels.x + this.maxLabelLength));
1178
- axis.legendItemHeight = height + padding + (horiz ? labelPadding : 0);
1180
+ legendItem.labelHeight = height + padding + (horiz ? labelPadding : 0);
1179
1181
  };
1180
1182
  /**
1181
1183
  * Fool the legend.
@@ -1270,11 +1272,12 @@
1270
1272
  * @emits Highcharts.ColorAxis#event:drawCrosshair
1271
1273
  */
1272
1274
  ColorAxis.prototype.drawCrosshair = function (e, point) {
1273
- var axis = this;
1274
- var plotX = point && point.plotX;
1275
- var plotY = point && point.plotY;
1276
- var axisPos = axis.pos;
1277
- var axisLen = axis.len;
1275
+ var axis = this,
1276
+ legendItem = axis.legendItem || {},
1277
+ plotX = point && point.plotX,
1278
+ plotY = point && point.plotY,
1279
+ axisPos = axis.pos,
1280
+ axisLen = axis.len;
1278
1281
  var crossPos;
1279
1282
  if (point) {
1280
1283
  crossPos = axis.toPixels(point.getNestedProperty(point.series.colorKey));
@@ -1291,10 +1294,10 @@
1291
1294
  point.plotY = plotY;
1292
1295
  if (axis.cross &&
1293
1296
  !axis.cross.addedToColorAxis &&
1294
- axis.legendGroup) {
1297
+ legendItem.group) {
1295
1298
  axis.cross
1296
1299
  .addClass('highcharts-coloraxis-marker')
1297
- .add(axis.legendGroup);
1300
+ .add(legendItem.group);
1298
1301
  axis.cross.addedToColorAxis = true;
1299
1302
  if (!axis.chart.styledMode &&
1300
1303
  typeof axis.crosshair === 'object') {
@@ -1358,7 +1361,7 @@
1358
1361
  axis.destroyItems();
1359
1362
  }
1360
1363
  _super.prototype.update.call(this, newOptions, redraw);
1361
- if (axis.legendItem) {
1364
+ if (axis.legendItem && axis.legendItem.label) {
1362
1365
  axis.setLegendColor();
1363
1366
  legend.colorizeItem(this, true);
1364
1367
  }
@@ -1368,15 +1371,17 @@
1368
1371
  * @private
1369
1372
  */
1370
1373
  ColorAxis.prototype.destroyItems = function () {
1371
- var axis = this;
1372
- var chart = axis.chart;
1373
- if (axis.legendItem) {
1374
+ var axis = this,
1375
+ chart = axis.chart,
1376
+ legendItem = axis.legendItem || {};
1377
+ if (legendItem.label) {
1374
1378
  chart.legend.destroyItem(axis);
1375
1379
  }
1376
- else if (axis.legendItems) {
1377
- axis.legendItems.forEach(function (item) {
1380
+ else if (legendItem.labels) {
1381
+ for (var _i = 0, _a = legendItem.labels; _i < _a.length; _i++) {
1382
+ var item = _a[_i];
1378
1383
  chart.legend.destroyItem(item);
1379
- });
1384
+ }
1380
1385
  }
1381
1386
  chart.isDirtyLegend = true;
1382
1387
  };
@@ -1403,12 +1408,24 @@
1403
1408
  * @private
1404
1409
  */
1405
1410
  ColorAxis.prototype.getDataClassLegendSymbols = function () {
1406
- var axis = this;
1407
- var chart = axis.chart;
1408
- var legendItems = axis.legendItems;
1409
- var legendOptions = chart.options.legend;
1410
- var valueDecimals = legendOptions.valueDecimals;
1411
- var valueSuffix = legendOptions.valueSuffix || '';
1411
+ var axis = this,
1412
+ chart = axis.chart,
1413
+ legendItems = (axis.legendItem &&
1414
+ axis.legendItem.labels ||
1415
+ []),
1416
+ legendOptions = chart.options.legend,
1417
+ valueDecimals = pick(legendOptions.valueDecimals, -1),
1418
+ valueSuffix = pick(legendOptions.valueSuffix, '');
1419
+ var getPointsInDataClass = function (i) {
1420
+ return axis.series.reduce(function (points,
1421
+ s) {
1422
+ points.push.apply(points,
1423
+ s.points.filter(function (point) {
1424
+ return point.dataClass === i;
1425
+ }));
1426
+ return points;
1427
+ }, []);
1428
+ };
1412
1429
  var name;
1413
1430
  if (!legendItems.length) {
1414
1431
  axis.dataClasses.forEach(function (dataClass, i) {
@@ -1441,17 +1458,23 @@
1441
1458
  options: {},
1442
1459
  drawLegendSymbol: LegendSymbol.drawRectangle,
1443
1460
  visible: true,
1444
- setState: noop,
1445
1461
  isDataClass: true,
1462
+ // Override setState to set either normal or inactive
1463
+ // state to all points in this data class
1464
+ setState: function (state) {
1465
+ for (var _i = 0, _a = getPointsInDataClass(i); _i < _a.length; _i++) {
1466
+ var point = _a[_i];
1467
+ point.setState(state);
1468
+ }
1469
+ },
1470
+ // Override setState to show or hide all points in this
1471
+ // data class
1446
1472
  setVisible: function () {
1447
1473
  this.visible = vis = axis.visible = !vis;
1448
- axis.series.forEach(function (series) {
1449
- series.points.forEach(function (point) {
1450
- if (point.dataClass === i) {
1451
- point.setVisible(vis);
1452
- }
1453
- });
1454
- });
1474
+ for (var _i = 0, _a = getPointsInDataClass(i); _i < _a.length; _i++) {
1475
+ var point = _a[_i];
1476
+ point.setVisible(vis);
1477
+ }
1455
1478
  chart.legend.colorizeItem(this, vis);
1456
1479
  }
1457
1480
  }, dataClass));
@@ -1470,11 +1493,7 @@
1470
1493
  * @private
1471
1494
  */
1472
1495
  ColorAxis.keepProps = [
1473
- 'legendGroup',
1474
- 'legendItemHeight',
1475
- 'legendItemWidth',
1476
- 'legendItem',
1477
- 'legendSymbol'
1496
+ 'legendItem'
1478
1497
  ];
1479
1498
  return ColorAxis;
1480
1499
  }(Axis));
@@ -1504,7 +1523,7 @@
1504
1523
 
1505
1524
  return ColorAxis;
1506
1525
  });
1507
- _registerModule(_modules, 'Maps/MapNavigationOptionsDefault.js', [_modules['Core/DefaultOptions.js'], _modules['Core/Utilities.js']], function (D, U) {
1526
+ _registerModule(_modules, 'Maps/MapNavigationDefaults.js', [_modules['Core/Defaults.js'], _modules['Core/Utilities.js']], function (D, U) {
1508
1527
  /* *
1509
1528
  *
1510
1529
  * (c) 2010-2021 Torstein Honsi
@@ -1527,7 +1546,7 @@
1527
1546
  * @product highmaps
1528
1547
  * @optionparent mapNavigation
1529
1548
  */
1530
- var defaultOptions = {
1549
+ var MapNavigationDefaults = {
1531
1550
  /**
1532
1551
  * General options for the map navigation buttons. Individual options
1533
1552
  * can be given from the [mapNavigation.buttons](#mapNavigation.buttons)
@@ -1759,14 +1778,14 @@
1759
1778
  zoomOut: 'Zoom out'
1760
1779
  });
1761
1780
  // Set the default map navigation options
1762
- D.defaultOptions.mapNavigation = defaultOptions;
1781
+ D.defaultOptions.mapNavigation = MapNavigationDefaults;
1763
1782
  /* *
1764
1783
  *
1765
1784
  * Default Export
1766
1785
  *
1767
1786
  * */
1768
1787
 
1769
- return defaultOptions;
1788
+ return MapNavigationDefaults;
1770
1789
  });
1771
1790
  _registerModule(_modules, 'Maps/MapNavigation.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (Chart, H, U) {
1772
1791
  /* *
@@ -2393,7 +2412,7 @@
2393
2412
 
2394
2413
  return symbols;
2395
2414
  });
2396
- _registerModule(_modules, 'Core/Chart/MapChart.js', [_modules['Core/Chart/Chart.js'], _modules['Core/DefaultOptions.js'], _modules['Core/Renderer/SVG/SVGRenderer.js'], _modules['Core/Utilities.js']], function (Chart, D, SVGRenderer, U) {
2415
+ _registerModule(_modules, 'Core/Chart/MapChart.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Defaults.js'], _modules['Core/Renderer/SVG/SVGRenderer.js'], _modules['Core/Utilities.js']], function (Chart, D, SVGRenderer, U) {
2397
2416
  /* *
2398
2417
  *
2399
2418
  * (c) 2010-2021 Torstein Honsi
@@ -2770,7 +2789,11 @@
2770
2789
  */
2771
2790
  MapPoint.prototype.onMouseOver = function (e) {
2772
2791
  U.clearTimeout(this.colorInterval);
2773
- if (!this.isNull || this.series.options.nullInteraction) {
2792
+ if (
2793
+ // Valid...
2794
+ (!this.isNull && this.visible) ||
2795
+ // ... or interact anyway
2796
+ this.series.options.nullInteraction) {
2774
2797
  _super.prototype.onMouseOver.call(this, e);
2775
2798
  }
2776
2799
  else {
@@ -2778,6 +2801,20 @@
2778
2801
  this.series.onMouseOut(e);
2779
2802
  }
2780
2803
  };
2804
+ MapPoint.prototype.setVisible = function (vis) {
2805
+ var method = vis ? 'show' : 'hide';
2806
+ this.visible = this.options.visible = !!vis;
2807
+ // Show and hide associated elements
2808
+ if (this.dataLabel) {
2809
+ this.dataLabel[method]();
2810
+ }
2811
+ // For invisible map points, render them as null points rather than
2812
+ // fully removing them. Makes more sense for color axes with data
2813
+ // classes.
2814
+ if (this.graphic) {
2815
+ this.graphic.attr(this.series.pointAttribs(this));
2816
+ }
2817
+ };
2781
2818
  /**
2782
2819
  * Highmaps only. Zoom in on the point using the global animation.
2783
2820
  *
@@ -2876,7 +2913,7 @@
2876
2913
  *
2877
2914
  * @type {Object}
2878
2915
  *
2879
- * @sample maps/mapview/projection-explorer
2916
+ * @sample maps/demo/projection-explorer
2880
2917
  * Projection explorer
2881
2918
  * @sample maps/demo/topojson-projection
2882
2919
  * Orthographic projection
@@ -2893,7 +2930,7 @@
2893
2930
  `Orthographic` and `WebMercator`.
2894
2931
  *
2895
2932
  * @type {string}
2896
- * @sample maps/mapview/projection-explorer
2933
+ * @sample maps/demo/projection-explorer
2897
2934
  * Projection explorer
2898
2935
  * @sample maps/mapview/projection-custom-proj4js
2899
2936
  * Custom UTM projection definition
@@ -2912,7 +2949,7 @@
2912
2949
  *
2913
2950
  * @sample maps/mapview/projection-parallels
2914
2951
  * LCC projection with parallels
2915
- * @sample maps/mapview/projection-explorer
2952
+ * @sample maps/demo/projection-explorer
2916
2953
  * Projection explorer
2917
2954
  * @type {Array<number>}
2918
2955
  */
@@ -2928,7 +2965,7 @@
2928
2965
  * * `phi` shifts the latitudes by the given value. Can be omitted.
2929
2966
  * * `gamma` applies a _roll_. Can be omitted.
2930
2967
  *
2931
- * @sample maps/mapview/projection-explorer
2968
+ * @sample maps/demo/projection-explorer
2932
2969
  * Projection explorer
2933
2970
  * @sample maps/mapview/projection-america-centric
2934
2971
  * America-centric world map
@@ -3571,8 +3608,12 @@
3571
3608
  }
3572
3609
  }
3573
3610
  if (pointOptions) {
3574
- var name_1 = properties && (properties.name || properties.NAME);
3611
+ var name_1 = properties && (properties.name || properties.NAME),
3612
+ lon = properties && properties.lon,
3613
+ lat = properties && properties.lat;
3575
3614
  mapData.push(extend(pointOptions, {
3615
+ lat: typeof lat === 'number' ? lat : void 0,
3616
+ lon: typeof lon === 'number' ? lon : void 0,
3576
3617
  name: typeof name_1 === 'string' ? name_1 : void 0,
3577
3618
  /**
3578
3619
  * In Highcharts Maps, when data is loaded from GeoJSON, the
@@ -6168,6 +6209,13 @@
6168
6209
  isNumber(seriesStrokeWidth)) {
6169
6210
  pointStrokeWidth = seriesStrokeWidth / mapView.getScale();
6170
6211
  }
6212
+ // Invisible map points means that the data value is removed from the
6213
+ // map, but not the map area shape itself. Instead it is rendered like a
6214
+ // null point. To fully remove a map area, it should be removed from the
6215
+ // mapData.
6216
+ if (!point.visible) {
6217
+ attr.fill = this.options.nullColor;
6218
+ }
6171
6219
  attr['stroke-width'] = pick(pointStrokeWidth,
6172
6220
  // By default set the stroke-width on the group element and let all
6173
6221
  // point graphics inherit. That way we don't have to iterate over
@@ -6669,9 +6717,6 @@
6669
6717
  * @apioption plotOptions.series.states.select.color
6670
6718
  */
6671
6719
  color: "#cccccc" /* Palette.neutralColor20 */
6672
- },
6673
- inactive: {
6674
- opacity: 1
6675
6720
  }
6676
6721
  }
6677
6722
  });
@@ -7182,11 +7227,6 @@
7182
7227
  var MapPointPoint = /** @class */ (function (_super) {
7183
7228
  __extends(MapPointPoint, _super);
7184
7229
  function MapPointPoint() {
7185
- /* *
7186
- *
7187
- * Properties
7188
- *
7189
- * */
7190
7230
  var _this = _super !== null && _super.apply(this,
7191
7231
  arguments) || this;
7192
7232
  _this.options = void 0;
@@ -7242,7 +7282,9 @@
7242
7282
  };
7243
7283
  })();
7244
7284
  var noop = H.noop;
7245
- var ScatterSeries = SeriesRegistry.seriesTypes.scatter;
7285
+ var _a = SeriesRegistry.seriesTypes,
7286
+ MapSeries = _a.map,
7287
+ ScatterSeries = _a.scatter;
7246
7288
  var extend = U.extend,
7247
7289
  fireEvent = U.fireEvent,
7248
7290
  isNumber = U.isNumber,
@@ -7278,6 +7320,7 @@
7278
7320
  _this.data = void 0;
7279
7321
  _this.options = void 0;
7280
7322
  _this.points = void 0;
7323
+ _this.clearBounds = MapSeries.prototype.clearBounds;
7281
7324
  return _this;
7282
7325
  /* eslint-enable valid-jsdoc */
7283
7326
  }
@@ -7332,13 +7375,19 @@
7332
7375
  }
7333
7376
  // Create map based translation
7334
7377
  if (mapView) {
7335
- var hasCoordinates_1 = mapView.projection.hasCoordinates;
7378
+ var mainSvgTransform_1 = mapView.getSVGTransform(),
7379
+ hasCoordinates_1 = mapView.projection.hasCoordinates;
7336
7380
  this.points.forEach(function (p) {
7337
7381
  var _a = p.x,
7338
7382
  x = _a === void 0 ? void 0 : _a,
7339
7383
  _b = p.y,
7340
7384
  y = _b === void 0 ? void 0 : _b;
7341
- var xy = _this.projectPoint(p.options);
7385
+ var svgTransform = (isNumber(p.insetIndex) &&
7386
+ mapView.insets[p.insetIndex].getSVGTransform()) || mainSvgTransform_1;
7387
+ var xy = (_this.projectPoint(p.options) ||
7388
+ (p.properties &&
7389
+ _this.projectPoint(p.properties)));
7390
+ var didBounds;
7342
7391
  if (xy) {
7343
7392
  x = xy.x;
7344
7393
  y = xy.y;
@@ -7347,15 +7396,24 @@
7347
7396
  else if (p.bounds) {
7348
7397
  x = p.bounds.midX;
7349
7398
  y = p.bounds.midY;
7399
+ if (svgTransform && isNumber(x) && isNumber(y)) {
7400
+ p.plotX = x * svgTransform.scaleX +
7401
+ svgTransform.translateX;
7402
+ p.plotY = y * svgTransform.scaleY +
7403
+ svgTransform.translateY;
7404
+ didBounds = true;
7405
+ }
7350
7406
  }
7351
7407
  if (isNumber(x) && isNumber(y)) {
7352
7408
  // Establish plotX and plotY
7353
- var plotCoords = mapView.projectedUnitsToPixels({ x: x,
7354
- y: y });
7355
- p.plotX = plotCoords.x;
7356
- p.plotY = hasCoordinates_1 ?
7357
- plotCoords.y :
7358
- _this.chart.plotHeight - plotCoords.y;
7409
+ if (!didBounds) {
7410
+ var plotCoords = mapView.projectedUnitsToPixels({ x: x,
7411
+ y: y });
7412
+ p.plotX = plotCoords.x;
7413
+ p.plotY = hasCoordinates_1 ?
7414
+ plotCoords.y :
7415
+ _this.chart.plotHeight - plotCoords.y;
7416
+ }
7359
7417
  }
7360
7418
  else {
7361
7419
  p.y = p.plotX = p.plotY = void 0;
@@ -7899,11 +7957,6 @@
7899
7957
  this.chart = void 0;
7900
7958
  this.fontMetrics = void 0;
7901
7959
  this.legend = void 0;
7902
- this.legendGroup = void 0;
7903
- this.legendItem = void 0;
7904
- this.legendItemHeight = void 0;
7905
- this.legendItemWidth = void 0;
7906
- this.legendSymbol = void 0;
7907
7960
  this.maxLabel = void 0;
7908
7961
  this.movementX = void 0;
7909
7962
  this.ranges = void 0;
@@ -7952,8 +8005,9 @@
7952
8005
  */
7953
8006
  BubbleLegendItem.prototype.drawLegendSymbol = function (legend) {
7954
8007
  var chart = this.chart,
7955
- options = this.options,
7956
8008
  itemDistance = pick(legend.options.itemDistance, 20),
8009
+ legendItem = this.legendItem || {},
8010
+ options = this.options,
7957
8011
  ranges = options.ranges,
7958
8012
  connectorDistance = options.connectorDistance;
7959
8013
  var connectorSpace;
@@ -7983,8 +8037,8 @@
7983
8037
  this.maxLabel = maxLabel;
7984
8038
  this.movementX = options.labels.align === 'left' ?
7985
8039
  connectorSpace : 0;
7986
- this.legendItemWidth = size + connectorSpace + itemDistance;
7987
- this.legendItemHeight = size + this.fontMetrics.h / 2;
8040
+ legendItem.labelWidth = size + connectorSpace + itemDistance;
8041
+ legendItem.labelHeight = size + this.fontMetrics.h / 2;
7988
8042
  };
7989
8043
  /**
7990
8044
  * Set style options for each bubbleLegend range.
@@ -8058,11 +8112,12 @@
8058
8112
  return bubbleSeries.getRadius.call(this, zMin, zMax, minSize, maxSize, value);
8059
8113
  };
8060
8114
  /**
8061
- * Render the legendSymbol group.
8115
+ * Render the legendItem group.
8062
8116
  * @private
8063
8117
  */
8064
8118
  BubbleLegendItem.prototype.render = function () {
8065
- var renderer = this.chart.renderer,
8119
+ var legendItem = this.legendItem || {},
8120
+ renderer = this.chart.renderer,
8066
8121
  zThreshold = this.options.zThreshold;
8067
8122
  if (!this.symbols) {
8068
8123
  this.symbols = {
@@ -8072,19 +8127,20 @@
8072
8127
  };
8073
8128
  }
8074
8129
  // Nesting SVG groups to enable handleOverflow
8075
- this.legendSymbol = renderer.g('bubble-legend');
8076
- this.legendItem = renderer.g('bubble-legend-item');
8130
+ legendItem.symbol = renderer.g('bubble-legend');
8131
+ legendItem.label = renderer.g('bubble-legend-item');
8077
8132
  // To enable default 'hideOverlappingLabels' method
8078
- this.legendSymbol.translateX = 0;
8079
- this.legendSymbol.translateY = 0;
8080
- this.ranges.forEach(function (range) {
8133
+ legendItem.symbol.translateX = 0;
8134
+ legendItem.symbol.translateY = 0;
8135
+ for (var _i = 0, _a = this.ranges; _i < _a.length; _i++) {
8136
+ var range = _a[_i];
8081
8137
  if (range.value >= zThreshold) {
8082
8138
  this.renderRange(range);
8083
8139
  }
8084
- }, this);
8140
+ }
8085
8141
  // To use handleOverflow method
8086
- this.legendSymbol.add(this.legendItem);
8087
- this.legendItem.add(this.legendGroup);
8142
+ legendItem.symbol.add(legendItem.label);
8143
+ legendItem.label.add(legendItem.group);
8088
8144
  this.hideOverlappingLabels();
8089
8145
  };
8090
8146
  /**
@@ -8140,7 +8196,7 @@
8140
8196
  bubbleSeries.colorIndex + ' ' :
8141
8197
  '') +
8142
8198
  'highcharts-bubble-legend-symbol ' +
8143
- (options.className || '')).add(this.legendSymbol));
8199
+ (options.className || '')).add(this.legendItem.symbol));
8144
8200
  // Render connector
8145
8201
  symbols.connectors.push(renderer
8146
8202
  .path(renderer.crispLine([
@@ -8152,7 +8208,7 @@
8152
8208
  'highcharts-color-' +
8153
8209
  this.options.seriesIndex + ' ' : '') +
8154
8210
  'highcharts-bubble-legend-connectors ' +
8155
- (options.connectorClassName || '')).add(this.legendSymbol));
8211
+ (options.connectorClassName || '')).add(this.legendItem.symbol));
8156
8212
  // Render label
8157
8213
  var label = renderer
8158
8214
  .text(this.formatLabel(range),
@@ -8161,7 +8217,7 @@
8161
8217
  .attr((styledMode ? {} : range.labelAttribs))
8162
8218
  .css(styledMode ? {} : labelsOptions.style)
8163
8219
  .addClass('highcharts-bubble-legend-labels ' +
8164
- (options.labels.className || '')).add(this.legendSymbol);
8220
+ (options.labels.className || '')).add(this.legendItem.symbol);
8165
8221
  labels.push(label);
8166
8222
  // To enable default 'hideOverlappingLabels' method
8167
8223
  label.placed = true;
@@ -8387,7 +8443,7 @@
8387
8443
 
8388
8444
  return BubbleLegendItem;
8389
8445
  });
8390
- _registerModule(_modules, 'Series/Bubble/BubbleLegendComposition.js', [_modules['Series/Bubble/BubbleLegendDefaults.js'], _modules['Series/Bubble/BubbleLegendItem.js'], _modules['Core/DefaultOptions.js'], _modules['Core/Utilities.js']], function (BubbleLegendDefaults, BubbleLegendItem, D, U) {
8446
+ _registerModule(_modules, 'Series/Bubble/BubbleLegendComposition.js', [_modules['Series/Bubble/BubbleLegendDefaults.js'], _modules['Series/Bubble/BubbleLegendItem.js'], _modules['Core/Defaults.js'], _modules['Core/Utilities.js']], function (BubbleLegendDefaults, BubbleLegendItem, D, U) {
8391
8447
  /* *
8392
8448
  *
8393
8449
  * (c) 2010-2021 Highsoft AS
@@ -8423,7 +8479,8 @@
8423
8479
  legend = chart.legend,
8424
8480
  bubbleSeries = getVisibleBubbleSeriesIndex(chart) >= 0;
8425
8481
  var bubbleLegendOptions,
8426
- bubbleSizes;
8482
+ bubbleSizes,
8483
+ legendItem;
8427
8484
  if (legend && legend.options.enabled && legend.bubbleLegend &&
8428
8485
  legend.options.bubbleLegend.autoRanges && bubbleSeries) {
8429
8486
  bubbleLegendOptions = legend.bubbleLegend.options;
@@ -8433,7 +8490,10 @@
8433
8490
  if (!bubbleLegendOptions.placed) {
8434
8491
  legend.group.placed = false;
8435
8492
  legend.allItems.forEach(function (item) {
8436
- item.legendGroup.translateY = null;
8493
+ legendItem = item.legendItem || {};
8494
+ if (legendItem.group) {
8495
+ legendItem.group.translateY = null;
8496
+ }
8437
8497
  });
8438
8498
  }
8439
8499
  // Create legend with bubbleLegend
@@ -8546,18 +8606,20 @@
8546
8606
  lines = [],
8547
8607
  length = items.length;
8548
8608
  var lastLine,
8609
+ legendItem,
8610
+ legendItem2,
8549
8611
  i = 0,
8550
8612
  j = 0;
8551
8613
  for (i = 0; i < length; i++) {
8552
- if (items[i].legendItemHeight) {
8614
+ legendItem = items[i].legendItem || {};
8615
+ legendItem2 = (items[i + 1] || {}).legendItem || {};
8616
+ if (legendItem.labelHeight) {
8553
8617
  // for bubbleLegend
8554
- items[i].itemHeight = items[i].legendItemHeight;
8618
+ items[i].itemHeight = legendItem.labelHeight;
8555
8619
  }
8556
8620
  if ( // Line break
8557
8621
  items[i] === items[length - 1] ||
8558
- items[i + 1] &&
8559
- items[i]._legendItemPos[1] !==
8560
- items[i + 1]._legendItemPos[1]) {
8622
+ legendItem.y !== legendItem2.y) {
8561
8623
  lines.push({ height: 0 });
8562
8624
  lastLine = lines[lines.length - 1];
8563
8625
  // Find the highest item in line
@@ -8644,25 +8706,29 @@
8644
8706
  var orgTranslateX,
8645
8707
  orgTranslateY,
8646
8708
  movementX,
8709
+ legendItem,
8647
8710
  actualLine = 0;
8648
8711
  items.forEach(function (item, index) {
8649
- orgTranslateX = item.legendGroup.translateX;
8650
- orgTranslateY = item._legendItemPos[1];
8712
+ legendItem = item.legendItem || {};
8713
+ if (!legendItem.group) {
8714
+ return;
8715
+ }
8716
+ orgTranslateX = legendItem.group.translateX || 0;
8717
+ orgTranslateY = legendItem.y || 0;
8651
8718
  movementX = item.movementX;
8652
8719
  if (movementX || (rtl && item.ranges)) {
8653
8720
  movementX = rtl ?
8654
8721
  orgTranslateX - item.options.maxSize / 2 :
8655
8722
  orgTranslateX + movementX;
8656
- item.legendGroup.attr({ translateX: movementX });
8723
+ legendItem.group.attr({ translateX: movementX });
8657
8724
  }
8658
8725
  if (index > lines[actualLine].step) {
8659
8726
  actualLine++;
8660
8727
  }
8661
- item.legendGroup.attr({
8728
+ legendItem.group.attr({
8662
8729
  translateY: Math.round(orgTranslateY + lines[actualLine].height / 2)
8663
8730
  });
8664
- item._legendItemPos[1] = orgTranslateY +
8665
- lines[actualLine].height / 2;
8731
+ legendItem.y = orgTranslateY + lines[actualLine].height / 2;
8666
8732
  });
8667
8733
  }
8668
8734
  /* *
@@ -9628,6 +9694,7 @@
9628
9694
  _this.data = void 0;
9629
9695
  _this.options = void 0;
9630
9696
  _this.points = void 0;
9697
+ _this.clearBounds = mapProto.clearBounds;
9631
9698
  return _this;
9632
9699
  }
9633
9700
  MapBubbleSeries.prototype.searchPoint = function (e, compareX) {
@@ -9811,6 +9878,9 @@
9811
9878
  * @default 500
9812
9879
  */
9813
9880
  animationLimit: 500,
9881
+ /**
9882
+ * @type {string|Array<string>}
9883
+ */
9814
9884
  joinBy: 'hc-key',
9815
9885
  tooltip: {
9816
9886
  pointFormat: '{point.name}: {point.z}'
@@ -10504,6 +10574,9 @@
10504
10574
  inside: true,
10505
10575
  verticalAlign: 'middle',
10506
10576
  crop: false,
10577
+ /**
10578
+ * @ignore-option
10579
+ */
10507
10580
  overflow: false,
10508
10581
  padding: 0 // #3837
10509
10582
  },