highcharts 10.2.0 → 10.2.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 (763) hide show
  1. package/bower.json +1 -1
  2. package/css/highcharts.css +10 -20
  3. package/css/themes/dark-unica.css +10 -20
  4. package/css/themes/grid-light.css +10 -20
  5. package/css/themes/sand-signika.css +10 -20
  6. package/es-modules/Accessibility/Accessibility.js +6 -0
  7. package/es-modules/Accessibility/Components/LegendComponent.js +8 -8
  8. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +3 -2
  9. package/es-modules/Accessibility/Options/A11yDefaults.js +1 -1
  10. package/es-modules/Core/Axis/Axis.js +3 -0
  11. package/es-modules/Core/Axis/Axis3D.js +1 -1
  12. package/es-modules/Core/Axis/AxisDefaults.js +1 -1
  13. package/es-modules/Core/Axis/BrokenAxis.js +1 -1
  14. package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +4 -0
  15. package/es-modules/Core/Axis/NavigatorAxis.js +2 -2
  16. package/es-modules/Core/Axis/OrdinalAxis.js +2 -2
  17. package/es-modules/Core/Axis/RadialAxis.js +1 -1
  18. package/es-modules/Core/Axis/Stacking/StackItem.js +262 -0
  19. package/es-modules/Core/Axis/Stacking/StackingAxis.js +468 -0
  20. package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +732 -0
  21. package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +313 -0
  22. package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
  23. package/es-modules/Core/Axis/ZAxis.js +73 -70
  24. package/es-modules/Core/Chart/Chart.js +16 -2
  25. package/es-modules/Core/Chart/Chart3D.js +2 -2
  26. package/es-modules/Core/Chart/ChartDefaults.js +151 -2
  27. package/es-modules/Core/Chart/StockChart.js +5 -3
  28. package/es-modules/Core/DefaultOptions.js +2 -1
  29. package/es-modules/Core/Geometry/CircleUtilities.js +4 -4
  30. package/es-modules/Core/Globals.js +2 -1
  31. package/es-modules/{Extensions → Core}/Math3D.js +48 -43
  32. package/es-modules/Core/Navigator.js +24 -7
  33. package/es-modules/Core/Pointer.js +7 -9
  34. package/es-modules/Core/Renderer/HTML/AST.js +4 -1
  35. package/es-modules/Core/Renderer/SVG/SVGElement.js +103 -163
  36. package/es-modules/Core/Renderer/SVG/SVGLabel.js +29 -27
  37. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +3 -3
  38. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +1 -1
  39. package/es-modules/Core/Renderer/SVG/TextBuilder.js +5 -3
  40. package/es-modules/Core/Scrollbar.js +3 -1
  41. package/es-modules/Core/Series/DataLabel.js +8 -6
  42. package/es-modules/Core/Series/Point.js +2 -2
  43. package/es-modules/Core/Series/Series.js +36 -31
  44. package/es-modules/Core/Series/Series3D.js +1 -1
  45. package/es-modules/Core/Series/SeriesDefaults.js +8 -3
  46. package/es-modules/Core/Series/SeriesRegistry.js +6 -29
  47. package/es-modules/Core/Tooltip.js +14 -3
  48. package/es-modules/Core/Utilities.js +1 -3
  49. package/es-modules/Data/DataConverter.js +5 -0
  50. package/es-modules/Data/DataPromise.js +1 -1
  51. package/es-modules/Data/DataSeriesComposition.js +288 -0
  52. package/es-modules/Data/DataSeriesConverter.js +1 -1
  53. package/es-modules/Data/DataTable.js +2 -2
  54. package/es-modules/Data/Modifiers/ChainModifier.js +1 -1
  55. package/es-modules/Data/Modifiers/DataModifier.js +1 -1
  56. package/es-modules/Data/Modifiers/GroupModifier.js +1 -1
  57. package/es-modules/Data/Modifiers/InvertModifier.js +1 -1
  58. package/es-modules/Data/Modifiers/RangeModifier.js +1 -1
  59. package/es-modules/Data/Modifiers/SeriesPointsModifier.js +1 -1
  60. package/es-modules/Data/Modifiers/SortModifier.js +1 -1
  61. package/es-modules/Data/Parsers/DataParser.js +1 -1
  62. package/es-modules/Data/Stores/DataStore.js +1 -1
  63. package/es-modules/Extensions/Annotations/Annotation.js +347 -1156
  64. package/es-modules/Extensions/Annotations/AnnotationChart.js +291 -0
  65. package/es-modules/Extensions/Annotations/AnnotationDefaults.js +624 -0
  66. package/es-modules/Extensions/Annotations/ControlPoint.js +89 -64
  67. package/es-modules/Extensions/Annotations/{Mixins/ControllableMixin.js → Controllables/Controllable.js} +300 -241
  68. package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +63 -50
  69. package/es-modules/Extensions/Annotations/Controllables/ControllableDefaults.js +95 -0
  70. package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +90 -61
  71. package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +50 -44
  72. package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +95 -78
  73. package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +167 -51
  74. package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +53 -52
  75. package/es-modules/Extensions/Annotations/{Mixins/EventEmitterMixin.js → EventEmitter.js} +136 -116
  76. package/es-modules/Extensions/Annotations/MockPoint.js +210 -145
  77. package/es-modules/Extensions/Annotations/NavigationBindings.js +272 -674
  78. package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +396 -0
  79. package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +98 -0
  80. package/es-modules/Extensions/Annotations/Popup/Popup.js +295 -0
  81. package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +177 -0
  82. package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +81 -0
  83. package/es-modules/Extensions/Annotations/Popup/PopupIndicators.js +609 -0
  84. package/es-modules/Extensions/Annotations/Popup/PopupTabs.js +134 -0
  85. package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +10 -14
  86. package/es-modules/Extensions/Annotations/Types/CrookedLine.js +11 -19
  87. package/es-modules/Extensions/Annotations/Types/ElliottWave.js +10 -10
  88. package/es-modules/Extensions/Annotations/Types/Fibonacci.js +28 -20
  89. package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +63 -63
  90. package/es-modules/Extensions/Annotations/Types/InfinityLine.js +10 -19
  91. package/es-modules/Extensions/Annotations/Types/Measure.js +255 -249
  92. package/es-modules/Extensions/Annotations/Types/Pitchfork.js +11 -17
  93. package/es-modules/Extensions/Annotations/Types/TimeCycles.js +20 -17
  94. package/es-modules/Extensions/Annotations/Types/Tunnel.js +12 -13
  95. package/es-modules/Extensions/Annotations/Types/VerticalLine.js +11 -15
  96. package/es-modules/Extensions/Boost/Boost.js +320 -15
  97. package/es-modules/Extensions/Boost/BoostChart.js +245 -0
  98. package/es-modules/Extensions/Boost/BoostSeries.js +927 -0
  99. package/es-modules/Extensions/Boost/BoostableMap.js +21 -5
  100. package/es-modules/Extensions/Boost/Boostables.js +13 -2
  101. package/es-modules/Extensions/Boost/NamedColors.js +15 -6
  102. package/es-modules/Extensions/Boost/WGLDrawMode.js +36 -0
  103. package/es-modules/Extensions/Boost/WGLRenderer.js +288 -295
  104. package/es-modules/Extensions/Boost/WGLShader.js +370 -376
  105. package/es-modules/Extensions/Boost/WGLVertexBuffer.js +192 -0
  106. package/es-modules/Extensions/BoostCanvas.js +62 -46
  107. package/es-modules/Extensions/Breadcrumbs.js +4 -0
  108. package/es-modules/Extensions/DataGrouping.js +65 -27
  109. package/es-modules/Extensions/Debugger/Debugger.js +60 -22
  110. package/es-modules/Extensions/DraggablePoints.js +4 -3
  111. package/es-modules/Extensions/Drilldown.js +7 -8
  112. package/es-modules/Extensions/{ExportData.js → ExportData/ExportData.js} +341 -530
  113. package/es-modules/Extensions/ExportData/ExportDataDefaults.js +272 -0
  114. package/es-modules/Extensions/Exporting/Exporting.js +5 -1
  115. package/es-modules/Extensions/Exporting/ExportingDefaults.js +3 -1
  116. package/es-modules/Extensions/{FullScreen.js → Exporting/Fullscreen.js} +72 -27
  117. package/es-modules/Extensions/MarkerClusters.js +2 -0
  118. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  119. package/es-modules/Extensions/Oldie/Oldie.js +1 -1
  120. package/es-modules/Extensions/ParallelCoordinates.js +11 -7
  121. package/es-modules/Extensions/ScrollablePlotArea.js +1 -1
  122. package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +2 -2
  123. package/es-modules/Extensions/Sonification/ChartSonify.js +1 -1
  124. package/es-modules/Maps/MapPointer.js +1 -1
  125. package/es-modules/Maps/MapView.js +2 -1
  126. package/es-modules/Series/{Area3DSeries.js → Area3D/Area3DSeries.js} +42 -20
  127. package/es-modules/Series/AreaRange/AreaRangeSeries.js +8 -2
  128. package/es-modules/Series/Bubble/BubbleLegendComposition.js +223 -231
  129. package/es-modules/Series/Bubble/BubbleLegendItem.js +46 -45
  130. package/es-modules/Series/Bubble/BubbleSeries.js +85 -66
  131. package/es-modules/Series/Column/ColumnSeries.js +2 -0
  132. package/es-modules/Series/Column3D/Column3DComposition.js +2 -2
  133. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +1 -1
  134. package/es-modules/Series/Cylinder/CylinderComposition.js +1 -1
  135. package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +24 -11
  136. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +16 -2
  137. package/es-modules/Series/DragNodesComposition.js +166 -0
  138. package/es-modules/Series/Funnel3D/Funnel3DSeries.js +1 -1
  139. package/es-modules/Series/Gantt/GanttSeries.js +1 -1
  140. package/es-modules/Series/GraphLayoutComposition.js +130 -0
  141. package/es-modules/Series/Heatmap/HeatmapSeries.js +5 -1
  142. package/es-modules/Series/Lollipop/LollipopPoint.js +21 -11
  143. package/es-modules/Series/Lollipop/LollipopSeries.js +15 -10
  144. package/es-modules/Series/Map/MapSeries.js +6 -1
  145. package/es-modules/Series/MapBubble/MapBubblePoint.js +15 -17
  146. package/es-modules/Series/MapBubble/MapBubbleSeries.js +19 -19
  147. package/es-modules/Series/Networkgraph/EulerIntegration.js +199 -0
  148. package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +290 -0
  149. package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +401 -0
  150. package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +545 -0
  151. package/es-modules/Series/Networkgraph/QuadTree.js +66 -272
  152. package/es-modules/Series/Networkgraph/QuadTreeNode.js +271 -0
  153. package/es-modules/Series/Networkgraph/{Layouts.js → ReingoldFruchtermanLayout.js} +240 -259
  154. package/es-modules/Series/Networkgraph/VerletIntegration.js +193 -0
  155. package/es-modules/Series/Organization/OrganizationSeries.js +9 -1
  156. package/es-modules/Series/PackedBubble/PackedBubbleIntegration.js +81 -0
  157. package/es-modules/Series/PackedBubble/{PackedBubbleComposition.js → PackedBubbleLayout.js} +114 -77
  158. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +2 -2
  159. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +197 -570
  160. package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +394 -0
  161. package/es-modules/Series/Pie/PieSeries.js +3 -1
  162. package/es-modules/Series/PolarComposition.js +12 -12
  163. package/es-modules/Series/Sankey/SankeySeries.js +13 -1
  164. package/es-modules/Series/Scatter/ScatterSeries.js +4 -1
  165. package/es-modules/Series/Scatter3D/Scatter3DSeries.js +1 -1
  166. package/es-modules/Series/SeriesOnPointComposition.js +5 -1
  167. package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +1 -1
  168. package/es-modules/Series/Sunburst/SunburstPoint.js +5 -6
  169. package/es-modules/Series/Sunburst/SunburstSeries.js +24 -2
  170. package/es-modules/Series/Timeline/TimelineSeries.js +2 -0
  171. package/es-modules/Series/Treemap/TreemapSeries.js +3 -3
  172. package/es-modules/Series/Vector/VectorSeries.js +2 -4
  173. package/es-modules/Series/Wordcloud/WordcloudSeries.js +1 -1
  174. package/es-modules/Series/Wordcloud/WordcloudUtils.js +1 -1
  175. package/es-modules/Series/XRange/XRangePoint.js +54 -45
  176. package/es-modules/Series/XRange/XRangeSeries.js +121 -273
  177. package/es-modules/Series/XRange/XRangeSeriesDefaults.js +211 -0
  178. package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +10 -2
  179. package/es-modules/Stock/Indicators/AD/ADIndicator.js +5 -0
  180. package/es-modules/Stock/Indicators/AO/AOIndicator.js +22 -11
  181. package/es-modules/Stock/Indicators/APO/APOIndicator.js +6 -1
  182. package/es-modules/Stock/Indicators/ATR/ATRIndicator.js +16 -3
  183. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +15 -2
  184. package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +6 -2
  185. package/es-modules/Stock/Indicators/BB/BBIndicator.js +5 -1
  186. package/es-modules/Stock/Indicators/CCI/CCIIndicator.js +16 -3
  187. package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +20 -0
  188. package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +15 -1
  189. package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +7 -2
  190. package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +25 -0
  191. package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +5 -0
  192. package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +19 -8
  193. package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +10 -0
  194. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +34 -15
  195. package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +25 -0
  196. package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +12 -1
  197. package/es-modules/Stock/Indicators/LinearRegression/{LinearRegression.js → LinearRegressionIndicator.js} +11 -1
  198. package/es-modules/Stock/Indicators/LinearRegressionAngle/{LinearRegressionAngle.js → LinearRegressionAngleIndicator.js} +12 -7
  199. package/es-modules/Stock/Indicators/LinearRegressionIntercept/{LinearRegressionIntercept.js → LinearRegressionInterceptIndicator.js} +11 -1
  200. package/es-modules/Stock/Indicators/LinearRegressionSlopes/{LinearRegressionSlopes.js → LinearRegressionSlopesIndicator.js} +11 -1
  201. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +21 -10
  202. package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +23 -10
  203. package/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +30 -2
  204. package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +16 -1
  205. package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +10 -0
  206. package/es-modules/Stock/Indicators/PC/PCIndicator.js +13 -8
  207. package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +14 -4
  208. package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +16 -3
  209. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +16 -6
  210. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsPoint.js +16 -12
  211. package/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +25 -0
  212. package/es-modules/Stock/Indicators/ROC/ROCIndicator.js +15 -2
  213. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +20 -2
  214. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
  215. package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +25 -0
  216. package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +15 -0
  217. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +17 -3
  218. package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +25 -0
  219. package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +14 -4
  220. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +32 -3
  221. package/es-modules/Stock/Indicators/VBP/VBPPoint.js +6 -6
  222. package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +11 -1
  223. package/es-modules/Stock/Indicators/WMA/WMAIndicator.js +30 -2
  224. package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +10 -0
  225. package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +11 -1
  226. package/es-modules/Stock/StockToolbar.js +568 -0
  227. package/es-modules/Stock/StockTools.js +256 -0
  228. package/es-modules/Stock/StockToolsBindings.js +114 -629
  229. package/es-modules/Stock/StockToolsDefaults.js +1190 -0
  230. package/es-modules/Stock/StockToolsGui.js +150 -1771
  231. package/es-modules/Stock/StockToolsUtilities.js +423 -0
  232. package/es-modules/masters/highcharts-3d.src.js +5 -4
  233. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  234. package/es-modules/masters/highcharts-more.src.js +4 -3
  235. package/es-modules/masters/highcharts.src.js +5 -2
  236. package/es-modules/masters/highmaps.src.js +1 -1
  237. package/es-modules/masters/highstock.src.js +1 -1
  238. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  239. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  240. package/es-modules/masters/indicators/ao.src.js +1 -1
  241. package/es-modules/masters/indicators/apo.src.js +1 -1
  242. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  243. package/es-modules/masters/indicators/aroon.src.js +1 -1
  244. package/es-modules/masters/indicators/atr.src.js +1 -1
  245. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  246. package/es-modules/masters/indicators/cci.src.js +1 -1
  247. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  248. package/es-modules/masters/indicators/cmf.src.js +1 -1
  249. package/es-modules/masters/indicators/cmo.src.js +1 -1
  250. package/es-modules/masters/indicators/dema.src.js +1 -1
  251. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  252. package/es-modules/masters/indicators/dmi.src.js +1 -1
  253. package/es-modules/masters/indicators/dpo.src.js +1 -1
  254. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  255. package/es-modules/masters/indicators/indicators-all.src.js +5 -7
  256. package/es-modules/masters/indicators/indicators.src.js +1 -1
  257. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  258. package/es-modules/masters/indicators/klinger.src.js +1 -1
  259. package/es-modules/masters/indicators/macd.src.js +1 -1
  260. package/es-modules/masters/indicators/mfi.src.js +1 -1
  261. package/es-modules/masters/indicators/momentum.src.js +1 -1
  262. package/es-modules/masters/indicators/natr.src.js +1 -1
  263. package/es-modules/masters/indicators/obv.src.js +1 -1
  264. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  265. package/es-modules/masters/indicators/ppo.src.js +1 -1
  266. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  267. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  268. package/es-modules/masters/indicators/psar.src.js +1 -1
  269. package/es-modules/masters/indicators/regressions.src.js +5 -5
  270. package/es-modules/masters/indicators/roc.src.js +1 -1
  271. package/es-modules/masters/indicators/rsi.src.js +1 -1
  272. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  273. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  274. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  275. package/es-modules/masters/indicators/tema.src.js +1 -1
  276. package/es-modules/masters/indicators/trendline.src.js +1 -1
  277. package/es-modules/masters/indicators/trix.src.js +1 -1
  278. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  279. package/es-modules/masters/indicators/vwap.src.js +1 -1
  280. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  281. package/es-modules/masters/indicators/wma.src.js +1 -1
  282. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  283. package/es-modules/masters/modules/accessibility.src.js +1 -1
  284. package/es-modules/masters/modules/annotations-advanced.src.js +6 -4
  285. package/es-modules/masters/modules/annotations.src.js +6 -4
  286. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  287. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  288. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  289. package/es-modules/masters/modules/boost.src.js +6 -2
  290. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  291. package/es-modules/masters/modules/bullet.src.js +1 -1
  292. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  293. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  294. package/es-modules/masters/modules/cylinder.src.js +1 -1
  295. package/es-modules/masters/modules/data.src.js +1 -1
  296. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  297. package/es-modules/masters/modules/debugger.src.js +5 -3
  298. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  299. package/es-modules/masters/modules/dotplot.src.js +1 -1
  300. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  301. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  302. package/es-modules/masters/modules/drilldown.src.js +1 -1
  303. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  304. package/es-modules/masters/modules/export-data.src.js +5 -2
  305. package/es-modules/masters/modules/exporting.src.js +1 -2
  306. package/es-modules/masters/modules/full-screen.src.js +6 -2
  307. package/es-modules/masters/modules/funnel.src.js +1 -1
  308. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  309. package/es-modules/masters/modules/gantt.src.js +3 -2
  310. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  311. package/es-modules/masters/modules/heatmap.src.js +1 -1
  312. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  313. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  314. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  315. package/es-modules/masters/modules/item-series.src.js +1 -1
  316. package/es-modules/masters/modules/lollipop.src.js +1 -1
  317. package/es-modules/masters/modules/map.src.js +2 -2
  318. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  319. package/es-modules/masters/modules/networkgraph.src.js +5 -2
  320. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  321. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  322. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  323. package/es-modules/masters/modules/oldie.src.js +1 -1
  324. package/es-modules/masters/modules/organization.src.js +1 -1
  325. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  326. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  327. package/es-modules/masters/modules/pareto.src.js +1 -1
  328. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  329. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  330. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  331. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  332. package/es-modules/masters/modules/sankey.src.js +1 -1
  333. package/es-modules/masters/modules/series-label.src.js +1 -1
  334. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  335. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  336. package/es-modules/masters/modules/sonification.src.js +1 -1
  337. package/es-modules/masters/modules/static-scale.src.js +1 -1
  338. package/es-modules/masters/modules/stock-tools.src.js +10 -3
  339. package/es-modules/masters/modules/stock.src.js +1 -1
  340. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  341. package/es-modules/masters/modules/sunburst.src.js +1 -1
  342. package/es-modules/masters/modules/tilemap.src.js +1 -1
  343. package/es-modules/masters/modules/timeline.src.js +1 -1
  344. package/es-modules/masters/modules/treegrid.src.js +2 -2
  345. package/es-modules/masters/modules/treemap.src.js +1 -1
  346. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  347. package/es-modules/masters/modules/variwide.src.js +1 -1
  348. package/es-modules/masters/modules/vector.src.js +1 -1
  349. package/es-modules/masters/modules/venn.src.js +1 -1
  350. package/es-modules/masters/modules/windbarb.src.js +1 -1
  351. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  352. package/es-modules/masters/modules/xrange.src.js +5 -2
  353. package/es-modules/masters/themes/avocado.src.js +1 -1
  354. package/es-modules/masters/themes/brand-dark.src.js +1 -1
  355. package/es-modules/masters/themes/brand-light.src.js +1 -1
  356. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  357. package/es-modules/masters/themes/dark-green.src.js +1 -1
  358. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  359. package/es-modules/masters/themes/gray.src.js +1 -1
  360. package/es-modules/masters/themes/grid-light.src.js +1 -1
  361. package/es-modules/masters/themes/grid.src.js +1 -1
  362. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  363. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  364. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  365. package/es-modules/masters/themes/skies.src.js +1 -1
  366. package/es-modules/masters/themes/sunset.src.js +1 -1
  367. package/highcharts-3d.js +98 -99
  368. package/highcharts-3d.js.map +1 -1
  369. package/highcharts-3d.src.js +232 -211
  370. package/highcharts-gantt.js +808 -809
  371. package/highcharts-gantt.js.map +1 -1
  372. package/highcharts-gantt.src.js +2308 -2136
  373. package/highcharts-more.d.ts +5 -8
  374. package/highcharts-more.js +201 -194
  375. package/highcharts-more.js.map +1 -1
  376. package/highcharts-more.src.d.ts +5 -8
  377. package/highcharts-more.src.js +3671 -3275
  378. package/highcharts.d.ts +1400 -885
  379. package/highcharts.js +593 -595
  380. package/highcharts.js.map +1 -1
  381. package/highcharts.src.d.ts +1400 -885
  382. package/highcharts.src.js +847 -716
  383. package/highmaps.js +762 -763
  384. package/highmaps.js.map +1 -1
  385. package/highmaps.src.js +1288 -1129
  386. package/highstock.js +796 -798
  387. package/highstock.js.map +1 -1
  388. package/highstock.src.js +953 -762
  389. package/indicators/acceleration-bands.js +1 -1
  390. package/indicators/acceleration-bands.js.map +1 -1
  391. package/indicators/acceleration-bands.src.js +11 -3
  392. package/indicators/accumulation-distribution.js +1 -1
  393. package/indicators/accumulation-distribution.js.map +1 -1
  394. package/indicators/accumulation-distribution.src.js +6 -1
  395. package/indicators/ao.js +6 -6
  396. package/indicators/ao.js.map +1 -1
  397. package/indicators/ao.src.js +23 -14
  398. package/indicators/apo.js +1 -1
  399. package/indicators/apo.js.map +1 -1
  400. package/indicators/apo.src.js +6 -1
  401. package/indicators/aroon-oscillator.js +10 -10
  402. package/indicators/aroon-oscillator.js.map +1 -1
  403. package/indicators/aroon-oscillator.src.js +7 -3
  404. package/indicators/aroon.js +1 -1
  405. package/indicators/aroon.js.map +1 -1
  406. package/indicators/aroon.src.js +16 -3
  407. package/indicators/atr.js +1 -1
  408. package/indicators/atr.js.map +1 -1
  409. package/indicators/atr.src.js +17 -4
  410. package/indicators/bollinger-bands.js +1 -1
  411. package/indicators/bollinger-bands.js.map +1 -1
  412. package/indicators/bollinger-bands.src.js +6 -2
  413. package/indicators/cci.js +1 -1
  414. package/indicators/cci.js.map +1 -1
  415. package/indicators/cci.src.js +17 -4
  416. package/indicators/chaikin.js +8 -8
  417. package/indicators/chaikin.js.map +1 -1
  418. package/indicators/chaikin.src.js +13 -5
  419. package/indicators/cmf.js +1 -1
  420. package/indicators/cmf.js.map +1 -1
  421. package/indicators/cmf.src.js +21 -1
  422. package/indicators/cmo.js +1 -1
  423. package/indicators/cmo.js.map +1 -1
  424. package/indicators/cmo.src.js +16 -2
  425. package/indicators/dema.js +1 -1
  426. package/indicators/dema.js.map +1 -1
  427. package/indicators/dema.src.js +26 -1
  428. package/indicators/disparity-index.js +1 -1
  429. package/indicators/disparity-index.src.js +1 -1
  430. package/indicators/dmi.js +1 -1
  431. package/indicators/dmi.js.map +1 -1
  432. package/indicators/dmi.src.js +6 -1
  433. package/indicators/dpo.js +1 -1
  434. package/indicators/dpo.js.map +1 -1
  435. package/indicators/dpo.src.js +20 -9
  436. package/indicators/ichimoku-kinko-hyo.js +1 -1
  437. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  438. package/indicators/ichimoku-kinko-hyo.src.js +35 -16
  439. package/indicators/indicators-all.js +199 -199
  440. package/indicators/indicators-all.js.map +1 -1
  441. package/indicators/indicators-all.src.js +754 -162
  442. package/indicators/indicators.js +1 -1
  443. package/indicators/indicators.js.map +1 -1
  444. package/indicators/indicators.src.js +12 -2
  445. package/indicators/keltner-channels.js +1 -1
  446. package/indicators/keltner-channels.js.map +1 -1
  447. package/indicators/keltner-channels.src.js +26 -1
  448. package/indicators/klinger.js +12 -12
  449. package/indicators/klinger.js.map +1 -1
  450. package/indicators/klinger.src.js +13 -4
  451. package/indicators/macd.js +1 -1
  452. package/indicators/macd.js.map +1 -1
  453. package/indicators/macd.src.js +22 -13
  454. package/indicators/mfi.js +1 -1
  455. package/indicators/mfi.js.map +1 -1
  456. package/indicators/mfi.src.js +24 -11
  457. package/indicators/momentum.js +1 -1
  458. package/indicators/momentum.js.map +1 -1
  459. package/indicators/momentum.src.js +31 -3
  460. package/indicators/natr.js +1 -1
  461. package/indicators/natr.js.map +1 -1
  462. package/indicators/natr.src.js +17 -3
  463. package/indicators/obv.js +1 -1
  464. package/indicators/obv.js.map +1 -1
  465. package/indicators/obv.src.js +11 -1
  466. package/indicators/pivot-points.js +1 -1
  467. package/indicators/pivot-points.js.map +1 -1
  468. package/indicators/pivot-points.src.js +32 -19
  469. package/indicators/ppo.js +1 -1
  470. package/indicators/ppo.js.map +1 -1
  471. package/indicators/ppo.src.js +15 -5
  472. package/indicators/price-channel.js +1 -1
  473. package/indicators/price-channel.js.map +1 -1
  474. package/indicators/price-channel.src.js +14 -9
  475. package/indicators/price-envelopes.js +1 -1
  476. package/indicators/price-envelopes.js.map +1 -1
  477. package/indicators/price-envelopes.src.js +26 -1
  478. package/indicators/psar.js +1 -1
  479. package/indicators/psar.js.map +1 -1
  480. package/indicators/psar.src.js +17 -4
  481. package/indicators/regressions.js +12 -11
  482. package/indicators/regressions.js.map +1 -1
  483. package/indicators/regressions.src.js +50 -15
  484. package/indicators/roc.js +1 -1
  485. package/indicators/roc.js.map +1 -1
  486. package/indicators/roc.src.js +16 -3
  487. package/indicators/rsi.js +1 -1
  488. package/indicators/rsi.js.map +1 -1
  489. package/indicators/rsi.src.js +21 -3
  490. package/indicators/slow-stochastic.js +1 -1
  491. package/indicators/slow-stochastic.js.map +1 -1
  492. package/indicators/slow-stochastic.src.js +26 -1
  493. package/indicators/stochastic.js +1 -1
  494. package/indicators/stochastic.js.map +1 -1
  495. package/indicators/stochastic.src.js +16 -1
  496. package/indicators/supertrend.js +7 -7
  497. package/indicators/supertrend.js.map +1 -1
  498. package/indicators/supertrend.src.js +18 -6
  499. package/indicators/tema.js +1 -1
  500. package/indicators/tema.src.js +1 -1
  501. package/indicators/trendline.js +1 -1
  502. package/indicators/trendline.js.map +1 -1
  503. package/indicators/trendline.src.js +15 -5
  504. package/indicators/trix.js +1 -1
  505. package/indicators/trix.js.map +1 -1
  506. package/indicators/trix.src.js +26 -1
  507. package/indicators/volume-by-price.js +17 -17
  508. package/indicators/volume-by-price.js.map +1 -1
  509. package/indicators/volume-by-price.src.js +38 -10
  510. package/indicators/vwap.js +1 -1
  511. package/indicators/vwap.js.map +1 -1
  512. package/indicators/vwap.src.js +12 -2
  513. package/indicators/williams-r.js +1 -1
  514. package/indicators/williams-r.js.map +1 -1
  515. package/indicators/williams-r.src.js +11 -1
  516. package/indicators/wma.js +1 -1
  517. package/indicators/wma.js.map +1 -1
  518. package/indicators/wma.src.js +31 -3
  519. package/indicators/zigzag.js +1 -1
  520. package/indicators/zigzag.js.map +1 -1
  521. package/indicators/zigzag.src.js +12 -2
  522. package/modules/accessibility.js +183 -182
  523. package/modules/accessibility.js.map +1 -1
  524. package/modules/accessibility.src.js +559 -554
  525. package/modules/annotations-advanced.d.ts +1 -1
  526. package/modules/annotations-advanced.js +193 -192
  527. package/modules/annotations-advanced.js.map +1 -1
  528. package/modules/annotations-advanced.src.d.ts +1 -1
  529. package/modules/annotations-advanced.src.js +9263 -8654
  530. package/modules/annotations.d.ts +1 -1
  531. package/modules/annotations.js +128 -126
  532. package/modules/annotations.js.map +1 -1
  533. package/modules/annotations.src.d.ts +1 -1
  534. package/modules/annotations.src.js +6699 -6063
  535. package/modules/arc-diagram.js +1 -1
  536. package/modules/arc-diagram.src.js +1 -1
  537. package/modules/arrow-symbols.js +1 -1
  538. package/modules/arrow-symbols.src.js +1 -1
  539. package/modules/boost-canvas.d.ts +19 -0
  540. package/modules/boost-canvas.js +81 -16
  541. package/modules/boost-canvas.js.map +1 -1
  542. package/modules/boost-canvas.src.d.ts +19 -0
  543. package/modules/boost-canvas.src.js +3334 -50
  544. package/modules/boost.d.ts +8 -26
  545. package/modules/boost.js +84 -77
  546. package/modules/boost.js.map +1 -1
  547. package/modules/boost.src.d.ts +8 -26
  548. package/modules/boost.src.js +2423 -1888
  549. package/modules/broken-axis.js +2 -2
  550. package/modules/broken-axis.js.map +1 -1
  551. package/modules/broken-axis.src.js +2 -2
  552. package/modules/bullet.js +1 -1
  553. package/modules/bullet.src.js +1 -1
  554. package/modules/coloraxis.js +1 -1
  555. package/modules/coloraxis.js.map +1 -1
  556. package/modules/coloraxis.src.js +5 -1
  557. package/modules/current-date-indicator.js +1 -1
  558. package/modules/current-date-indicator.src.js +1 -1
  559. package/modules/cylinder.js +9 -9
  560. package/modules/cylinder.js.map +1 -1
  561. package/modules/cylinder.src.js +2 -2
  562. package/modules/data.js +1 -1
  563. package/modules/data.src.js +1 -1
  564. package/modules/datagrouping.d.ts +22 -0
  565. package/modules/datagrouping.js +4 -4
  566. package/modules/datagrouping.js.map +1 -1
  567. package/modules/datagrouping.src.d.ts +22 -0
  568. package/modules/datagrouping.src.js +66 -28
  569. package/modules/debugger.js +6 -5
  570. package/modules/debugger.js.map +1 -1
  571. package/modules/debugger.src.js +81 -40
  572. package/modules/dependency-wheel.js +12 -12
  573. package/modules/dependency-wheel.js.map +1 -1
  574. package/modules/dependency-wheel.src.js +41 -14
  575. package/modules/dotplot.js +1 -1
  576. package/modules/dotplot.src.js +1 -1
  577. package/modules/drag-panes.js +1 -1
  578. package/modules/drag-panes.src.js +1 -1
  579. package/modules/draggable-points.js +5 -5
  580. package/modules/draggable-points.js.map +1 -1
  581. package/modules/draggable-points.src.js +5 -4
  582. package/modules/drilldown.d.ts +0 -10
  583. package/modules/drilldown.js +29 -29
  584. package/modules/drilldown.js.map +1 -1
  585. package/modules/drilldown.src.d.ts +0 -10
  586. package/modules/drilldown.src.js +12 -9
  587. package/modules/dumbbell.js +1 -1
  588. package/modules/dumbbell.src.js +1 -1
  589. package/modules/export-data.js +25 -24
  590. package/modules/export-data.js.map +1 -1
  591. package/modules/export-data.src.js +607 -499
  592. package/modules/exporting.js +38 -38
  593. package/modules/exporting.js.map +1 -1
  594. package/modules/exporting.src.js +559 -507
  595. package/modules/full-screen.js +8 -8
  596. package/modules/full-screen.js.map +1 -1
  597. package/modules/full-screen.src.js +76 -26
  598. package/modules/funnel.js +1 -1
  599. package/modules/funnel.src.js +1 -1
  600. package/modules/funnel3d.js +2 -2
  601. package/modules/funnel3d.js.map +1 -1
  602. package/modules/funnel3d.src.js +2 -2
  603. package/modules/gantt.js +217 -216
  604. package/modules/gantt.js.map +1 -1
  605. package/modules/gantt.src.js +1481 -1440
  606. package/modules/grid-axis.js +1 -1
  607. package/modules/grid-axis.src.js +1 -1
  608. package/modules/heatmap.js +1 -1
  609. package/modules/heatmap.js.map +1 -1
  610. package/modules/heatmap.src.js +10 -2
  611. package/modules/heikinashi.js +1 -1
  612. package/modules/heikinashi.src.js +1 -1
  613. package/modules/histogram-bellcurve.js +1 -1
  614. package/modules/histogram-bellcurve.src.js +1 -1
  615. package/modules/hollowcandlestick.js +1 -1
  616. package/modules/hollowcandlestick.src.js +1 -1
  617. package/modules/item-series.js +1 -1
  618. package/modules/item-series.src.js +1 -1
  619. package/modules/lollipop.js +6 -6
  620. package/modules/lollipop.js.map +1 -1
  621. package/modules/lollipop.src.js +37 -22
  622. package/modules/map.d.ts +3 -3
  623. package/modules/map.js +171 -171
  624. package/modules/map.js.map +1 -1
  625. package/modules/map.src.d.ts +3 -3
  626. package/modules/map.src.js +442 -414
  627. package/modules/marker-clusters.js +1 -1
  628. package/modules/marker-clusters.js.map +1 -1
  629. package/modules/marker-clusters.src.js +3 -1
  630. package/modules/networkgraph.js +55 -50
  631. package/modules/networkgraph.js.map +1 -1
  632. package/modules/networkgraph.src.js +2259 -1938
  633. package/modules/no-data-to-display.js +1 -1
  634. package/modules/no-data-to-display.src.js +1 -1
  635. package/modules/offline-exporting.js +2 -2
  636. package/modules/offline-exporting.src.js +2 -2
  637. package/modules/oldie-polyfills.js +1 -1
  638. package/modules/oldie-polyfills.src.js +1 -1
  639. package/modules/oldie.js +2 -2
  640. package/modules/oldie.src.js +2 -2
  641. package/modules/organization.js +15 -15
  642. package/modules/organization.js.map +1 -1
  643. package/modules/organization.src.js +10 -2
  644. package/modules/overlapping-datalabels.js +1 -1
  645. package/modules/overlapping-datalabels.src.js +1 -1
  646. package/modules/parallel-coordinates.js +11 -11
  647. package/modules/parallel-coordinates.js.map +1 -1
  648. package/modules/parallel-coordinates.src.js +13 -8
  649. package/modules/pareto.js +1 -1
  650. package/modules/pareto.src.js +1 -1
  651. package/modules/pathfinder.js +1 -1
  652. package/modules/pathfinder.src.js +1 -1
  653. package/modules/pattern-fill.js +1 -1
  654. package/modules/pattern-fill.src.js +1 -1
  655. package/modules/price-indicator.js +1 -1
  656. package/modules/price-indicator.src.js +1 -1
  657. package/modules/pyramid3d.js +1 -1
  658. package/modules/pyramid3d.src.js +1 -1
  659. package/modules/sankey.js +1 -1
  660. package/modules/sankey.js.map +1 -1
  661. package/modules/sankey.src.js +14 -2
  662. package/modules/series-label.js +5 -5
  663. package/modules/series-label.js.map +1 -1
  664. package/modules/series-label.src.js +3 -3
  665. package/modules/series-on-point.js +1 -1
  666. package/modules/series-on-point.js.map +1 -1
  667. package/modules/series-on-point.src.js +6 -2
  668. package/modules/solid-gauge.js +1 -1
  669. package/modules/solid-gauge.src.js +2 -2
  670. package/modules/sonification.d.ts +2 -2
  671. package/modules/sonification.js +1 -1
  672. package/modules/sonification.src.d.ts +2 -2
  673. package/modules/sonification.src.js +2 -2
  674. package/modules/static-scale.js +1 -1
  675. package/modules/static-scale.src.js +1 -1
  676. package/modules/stock-tools.d.ts +1 -23
  677. package/modules/stock-tools.js +109 -179
  678. package/modules/stock-tools.js.map +1 -1
  679. package/modules/stock-tools.src.d.ts +1 -23
  680. package/modules/stock-tools.src.js +2605 -6335
  681. package/modules/stock.d.ts +8 -0
  682. package/modules/stock.js +105 -105
  683. package/modules/stock.js.map +1 -1
  684. package/modules/stock.src.d.ts +8 -0
  685. package/modules/stock.src.js +105 -45
  686. package/modules/streamgraph.js +1 -1
  687. package/modules/streamgraph.src.js +1 -1
  688. package/modules/sunburst.js +72 -72
  689. package/modules/sunburst.js.map +1 -1
  690. package/modules/sunburst.src.js +38 -12
  691. package/modules/tilemap.js +1 -1
  692. package/modules/tilemap.src.js +1 -1
  693. package/modules/timeline.js +1 -1
  694. package/modules/timeline.js.map +1 -1
  695. package/modules/timeline.src.js +3 -1
  696. package/modules/treegrid.js +57 -57
  697. package/modules/treegrid.js.map +1 -1
  698. package/modules/treegrid.src.js +1022 -1014
  699. package/modules/treemap.js +1 -1
  700. package/modules/treemap.js.map +1 -1
  701. package/modules/treemap.src.js +8 -4
  702. package/modules/variable-pie.js +1 -1
  703. package/modules/variable-pie.src.js +1 -1
  704. package/modules/variwide.js +1 -1
  705. package/modules/variwide.src.js +1 -1
  706. package/modules/vector.js +2 -2
  707. package/modules/vector.js.map +1 -1
  708. package/modules/vector.src.js +3 -5
  709. package/modules/venn.js +1 -1
  710. package/modules/venn.src.js +5 -5
  711. package/modules/windbarb.js +1 -1
  712. package/modules/windbarb.src.js +1 -1
  713. package/modules/wordcloud.js +1 -1
  714. package/modules/wordcloud.src.js +3 -3
  715. package/modules/xrange.js +17 -17
  716. package/modules/xrange.js.map +1 -1
  717. package/modules/xrange.src.js +411 -397
  718. package/package.json +1 -1
  719. package/themes/avocado.js +1 -1
  720. package/themes/avocado.src.js +1 -1
  721. package/themes/brand-dark.js +1 -1
  722. package/themes/brand-dark.src.js +1 -1
  723. package/themes/brand-light.js +1 -1
  724. package/themes/brand-light.src.js +1 -1
  725. package/themes/dark-blue.js +1 -1
  726. package/themes/dark-blue.src.js +1 -1
  727. package/themes/dark-green.js +1 -1
  728. package/themes/dark-green.src.js +1 -1
  729. package/themes/dark-unica.js +1 -1
  730. package/themes/dark-unica.src.js +1 -1
  731. package/themes/gray.js +1 -1
  732. package/themes/gray.src.js +1 -1
  733. package/themes/grid-light.js +1 -1
  734. package/themes/grid-light.src.js +1 -1
  735. package/themes/grid.js +1 -1
  736. package/themes/grid.src.js +1 -1
  737. package/themes/high-contrast-dark.js +1 -1
  738. package/themes/high-contrast-dark.src.js +1 -1
  739. package/themes/high-contrast-light.js +1 -1
  740. package/themes/high-contrast-light.src.js +1 -1
  741. package/themes/sand-signika.js +1 -1
  742. package/themes/sand-signika.src.js +1 -1
  743. package/themes/skies.js +1 -1
  744. package/themes/skies.src.js +1 -1
  745. package/themes/sunset.js +1 -1
  746. package/themes/sunset.src.js +1 -1
  747. package/es-modules/Core/Axis/StackingAxis.js +0 -215
  748. package/es-modules/Core/Axis/TreeGridAxis.js +0 -720
  749. package/es-modules/Core/Axis/TreeGridTick.js +0 -317
  750. package/es-modules/Extensions/Annotations/AnnotationsDefaults.js +0 -0
  751. package/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +0 -179
  752. package/es-modules/Extensions/Annotations/Popup.js +0 -1123
  753. package/es-modules/Extensions/Boost/BoostAttach.js +0 -154
  754. package/es-modules/Extensions/Boost/BoostInit.js +0 -324
  755. package/es-modules/Extensions/Boost/BoostOptions.js +0 -245
  756. package/es-modules/Extensions/Boost/BoostOverrides.js +0 -386
  757. package/es-modules/Extensions/Boost/BoostUtils.js +0 -255
  758. package/es-modules/Extensions/Boost/WGLVBuffer.js +0 -153
  759. package/es-modules/Extensions/Stacking.js +0 -517
  760. package/es-modules/Series/Networkgraph/DraggableNodes.js +0 -132
  761. package/es-modules/Series/Networkgraph/Integrations.js +0 -348
  762. package/es-modules/Series/Networkgraph/Networkgraph.js +0 -1180
  763. package/es-modules/Series/XRange/XRangeComposition.js +0 -49
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highmaps JS v10.2.0 (2022-07-05)
2
+ * @license Highmaps JS v10.2.1 (2022-08-29)
3
3
  *
4
4
  * Highmaps as a plugin for Highcharts or Highcharts Stock.
5
5
  *
@@ -707,6 +707,10 @@
707
707
  * first item is a float between 0 and 1 assigning the relative
708
708
  * position in the gradient, and the second item is the color.
709
709
  *
710
+ * @sample highcharts/coloraxis/coloraxis-stops/
711
+ * Color axis stops
712
+ * @sample highcharts/coloraxis/color-key-with-stops/
713
+ * Color axis stops with custom colorKey
710
714
  * @sample {highmaps} maps/demo/heatmap/
711
715
  * Heatmap with three color stops
712
716
  *
@@ -2180,7 +2184,7 @@
2180
2184
  var mapNavigation = this.chart.options.mapNavigation;
2181
2185
  // Pinch status
2182
2186
  if (pick(mapNavigation.enableTouchZoom, mapNavigation.enabled)) {
2183
- this.chart.options.chart.pinchType = 'xy';
2187
+ this.chart.options.chart.zooming.pinchType = 'xy';
2184
2188
  }
2185
2189
  proceed.apply(this, [].slice.call(arguments, 1));
2186
2190
  });
@@ -4664,7 +4668,8 @@
4664
4668
  relativeLength = U.relativeLength;
4665
4669
  /**
4666
4670
  * The world size in terms of 10k meters in the Web Mercator projection, to
4667
- * match a 256 square tile to zoom level 0
4671
+ * match a 256 square tile to zoom level 0.
4672
+ * @private
4668
4673
  */
4669
4674
  var worldSize = 400.979322;
4670
4675
  var tileSize = 256;
@@ -6426,6 +6431,8 @@
6426
6431
  * @excluding marker, cluster
6427
6432
  * @product highmaps
6428
6433
  * @optionparent plotOptions.map
6434
+ *
6435
+ * @private
6429
6436
  */
6430
6437
  MapSeries.defaultOptions = merge(ScatterSeries.defaultOptions, {
6431
6438
  /**
@@ -6436,6 +6443,8 @@
6436
6443
  * US map with world map backdrop
6437
6444
  *
6438
6445
  * @since 10.0.0
6446
+ *
6447
+ * @private
6439
6448
  */
6440
6449
  affectsMapView: true,
6441
6450
  animation: false,
@@ -6829,8 +6838,9 @@
6829
6838
  * The geometry type. Can be one of `LineString`, `Polygon`, `MultiLineString`
6830
6839
  * or `MultiPolygon`.
6831
6840
  *
6841
+ * @declare Highcharts.MapGeometryTypeValue
6832
6842
  * @type {string}
6833
- * @since 9.3.0
6843
+ * @since 9.3.0
6834
6844
  * @product highmaps
6835
6845
  * @validvalue ["LineString", "Polygon", "MultiLineString", "MultiPolygon"]
6836
6846
  * @apioption series.map.data.geometry.type
@@ -7857,28 +7867,11 @@
7857
7867
  merge = U.merge,
7858
7868
  pick = U.pick,
7859
7869
  stableSort = U.stableSort;
7860
- /**
7861
- * @interface Highcharts.BubbleLegendFormatterContextObject
7862
- */ /**
7863
- * The center y position of the range.
7864
- * @name Highcharts.BubbleLegendFormatterContextObject#center
7865
- * @type {number}
7866
- */ /**
7867
- * The radius of the bubble range.
7868
- * @name Highcharts.BubbleLegendFormatterContextObject#radius
7869
- * @type {number}
7870
- */ /**
7871
- * The bubble value.
7872
- * @name Highcharts.BubbleLegendFormatterContextObject#value
7873
- * @type {number}
7874
- */
7875
- ''; // detach doclets above
7876
7870
  /* *
7877
7871
  *
7878
7872
  * Class
7879
7873
  *
7880
7874
  * */
7881
- /* eslint-disable no-invalid-this, valid-jsdoc */
7882
7875
  /**
7883
7876
  * BubbleLegend class.
7884
7877
  *
@@ -7892,7 +7885,17 @@
7892
7885
  * Legend of item.
7893
7886
  */
7894
7887
  var BubbleLegendItem = /** @class */ (function () {
7888
+ /* *
7889
+ *
7890
+ * Constructor
7891
+ *
7892
+ * */
7895
7893
  function BubbleLegendItem(options, legend) {
7894
+ /* *
7895
+ *
7896
+ * Properties
7897
+ *
7898
+ * */
7896
7899
  this.chart = void 0;
7897
7900
  this.fontMetrics = void 0;
7898
7901
  this.legend = void 0;
@@ -7911,15 +7914,14 @@
7911
7914
  this.setState = noop;
7912
7915
  this.init(options, legend);
7913
7916
  }
7917
+ /* *
7918
+ *
7919
+ * Functions
7920
+ *
7921
+ * */
7914
7922
  /**
7915
7923
  * Create basic bubbleLegend properties similar to item in legend.
7916
- *
7917
7924
  * @private
7918
- * @function Highcharts.BubbleLegend#init
7919
- * @param {Highcharts.LegendBubbleLegendOptions} options
7920
- * Bubble legend options
7921
- * @param {Highcharts.Legend} legend
7922
- * Legend
7923
7925
  */
7924
7926
  BubbleLegendItem.prototype.init = function (options, legend) {
7925
7927
  this.options = options;
@@ -7931,9 +7933,9 @@
7931
7933
  * Depending on the position option, add bubbleLegend to legend items.
7932
7934
  *
7933
7935
  * @private
7934
- * @function Highcharts.BubbleLegend#addToLegend
7936
+ *
7935
7937
  * @param {Array<(Highcharts.Point|Highcharts.Series)>} items
7936
- * All legend items
7938
+ * All legend items
7937
7939
  */
7938
7940
  BubbleLegendItem.prototype.addToLegend = function (items) {
7939
7941
  // Insert bubbleLegend into legend items
@@ -7944,7 +7946,7 @@
7944
7946
  * creation.
7945
7947
  *
7946
7948
  * @private
7947
- * @function Highcharts.BubbleLegend#drawLegendSymbol
7949
+ *
7948
7950
  * @param {Highcharts.Legend} legend
7949
7951
  * Legend instance
7950
7952
  */
@@ -7986,9 +7988,7 @@
7986
7988
  };
7987
7989
  /**
7988
7990
  * Set style options for each bubbleLegend range.
7989
- *
7990
7991
  * @private
7991
- * @function Highcharts.BubbleLegend#setOptions
7992
7992
  */
7993
7993
  BubbleLegendItem.prototype.setOptions = function () {
7994
7994
  var ranges = this.ranges,
@@ -8040,9 +8040,10 @@
8040
8040
  * used code from BubbleSeries.js 'getRadius' method.
8041
8041
  *
8042
8042
  * @private
8043
- * @function Highcharts.BubbleLegend#getRangeRadius
8043
+ *
8044
8044
  * @param {number} value
8045
8045
  * Range value
8046
+ *
8046
8047
  * @return {number|null}
8047
8048
  * Radius for one range
8048
8049
  */
@@ -8058,9 +8059,7 @@
8058
8059
  };
8059
8060
  /**
8060
8061
  * Render the legendSymbol group.
8061
- *
8062
8062
  * @private
8063
- * @function Highcharts.BubbleLegend#render
8064
8063
  */
8065
8064
  BubbleLegendItem.prototype.render = function () {
8066
8065
  var renderer = this.chart.renderer,
@@ -8092,7 +8091,7 @@
8092
8091
  * Render one range, consisting of bubble symbol, connector and label.
8093
8092
  *
8094
8093
  * @private
8095
- * @function Highcharts.BubbleLegend#renderRange
8094
+ *
8096
8095
  * @param {Highcharts.LegendBubbleLegendRangesOptions} range
8097
8096
  * Range options
8098
8097
  */
@@ -8173,9 +8172,7 @@
8173
8172
  };
8174
8173
  /**
8175
8174
  * Get the label which takes up the most space.
8176
- *
8177
8175
  * @private
8178
- * @function Highcharts.BubbleLegend#getMaxLabelSize
8179
8176
  */
8180
8177
  BubbleLegendItem.prototype.getMaxLabelSize = function () {
8181
8178
  var labels = this.symbols.labels;
@@ -8197,9 +8194,10 @@
8197
8194
  * Get formatted label for range.
8198
8195
  *
8199
8196
  * @private
8200
- * @function Highcharts.BubbleLegend#formatLabel
8197
+ *
8201
8198
  * @param {Highcharts.LegendBubbleLegendRangesOptions} range
8202
8199
  * Range options
8200
+ *
8203
8201
  * @return {string}
8204
8202
  * Range label text
8205
8203
  */
@@ -8215,9 +8213,7 @@
8215
8213
  /**
8216
8214
  * By using default chart 'hideOverlappingLabels' method, hide or show
8217
8215
  * labels and connectors.
8218
- *
8219
8216
  * @private
8220
- * @function Highcharts.BubbleLegend#hideOverlappingLabels
8221
8217
  */
8222
8218
  BubbleLegendItem.prototype.hideOverlappingLabels = function () {
8223
8219
  var chart = this.chart,
@@ -8240,7 +8236,7 @@
8240
8236
  * Calculate ranges from created series.
8241
8237
  *
8242
8238
  * @private
8243
- * @function Highcharts.BubbleLegend#getRanges
8239
+ *
8244
8240
  * @return {Array<Highcharts.LegendBubbleLegendRangesOptions>}
8245
8241
  * Array of range objects
8246
8242
  */
@@ -8292,7 +8288,7 @@
8292
8288
  * Calculate bubble legend sizes from rendered series.
8293
8289
  *
8294
8290
  * @private
8295
- * @function Highcharts.BubbleLegend#predictBubbleSizes
8291
+ *
8296
8292
  * @return {Array<number,number>}
8297
8293
  * Calculated min and max bubble sizes
8298
8294
  */
@@ -8333,11 +8329,7 @@
8333
8329
  };
8334
8330
  /**
8335
8331
  * Correct ranges with calculated sizes.
8336
- *
8337
8332
  * @private
8338
- * @function Highcharts.BubbleLegend#updateRanges
8339
- * @param {number} min
8340
- * @param {number} max
8341
8333
  */
8342
8334
  BubbleLegendItem.prototype.updateRanges = function (min, max) {
8343
8335
  var bubbleLegendOptions = this.legend.options.bubbleLegend;
@@ -8349,9 +8341,7 @@
8349
8341
  * Because of the possibility of creating another legend line, predicted
8350
8342
  * bubble legend sizes may differ by a few pixels, so it is necessary to
8351
8343
  * correct them.
8352
- *
8353
8344
  * @private
8354
- * @function Highcharts.BubbleLegend#correctSizes
8355
8345
  */
8356
8346
  BubbleLegendItem.prototype.correctSizes = function () {
8357
8347
  var legend = this.legend,
@@ -8373,6 +8363,27 @@
8373
8363
  * Default Export
8374
8364
  *
8375
8365
  * */
8366
+ /* *
8367
+ *
8368
+ * API Declarations
8369
+ *
8370
+ * */
8371
+ /**
8372
+ * @interface Highcharts.BubbleLegendFormatterContextObject
8373
+ */ /**
8374
+ * The center y position of the range.
8375
+ * @name Highcharts.BubbleLegendFormatterContextObject#center
8376
+ * @type {number}
8377
+ */ /**
8378
+ * The radius of the bubble range.
8379
+ * @name Highcharts.BubbleLegendFormatterContextObject#radius
8380
+ * @type {number}
8381
+ */ /**
8382
+ * The bubble value.
8383
+ * @name Highcharts.BubbleLegendFormatterContextObject#value
8384
+ * @type {number}
8385
+ */
8386
+ ''; // detach doclets above
8376
8387
 
8377
8388
  return BubbleLegendItem;
8378
8389
  });
@@ -8394,282 +8405,274 @@
8394
8405
  wrap = U.wrap;
8395
8406
  /* *
8396
8407
  *
8397
- * Namespace
8408
+ * Constants
8398
8409
  *
8399
8410
  * */
8400
- var BubbleLegendComposition;
8401
- (function (BubbleLegendComposition) {
8402
- /* *
8403
- *
8404
- * Constants
8405
- *
8406
- * */
8407
- var composedClasses = [];
8408
- /* *
8409
- *
8410
- * Functions
8411
- *
8412
- * */
8413
- /* eslint-disable valid-jsdoc */
8414
- /**
8415
- * If ranges are not specified, determine ranges from rendered bubble series
8416
- * and render legend again.
8417
- */
8418
- function chartDrawChartBox(proceed, options, callback) {
8419
- var chart = this,
8420
- legend = chart.legend,
8421
- bubbleSeries = getVisibleBubbleSeriesIndex(chart) >= 0;
8422
- var bubbleLegendOptions,
8423
- bubbleSizes;
8424
- if (legend && legend.options.enabled && legend.bubbleLegend &&
8425
- legend.options.bubbleLegend.autoRanges && bubbleSeries) {
8426
- bubbleLegendOptions = legend.bubbleLegend.options;
8427
- bubbleSizes = legend.bubbleLegend.predictBubbleSizes();
8428
- legend.bubbleLegend.updateRanges(bubbleSizes[0], bubbleSizes[1]);
8429
- // Disable animation on init
8411
+ var composedClasses = [];
8412
+ /* *
8413
+ *
8414
+ * Functions
8415
+ *
8416
+ * */
8417
+ /**
8418
+ * If ranges are not specified, determine ranges from rendered bubble series
8419
+ * and render legend again.
8420
+ */
8421
+ function chartDrawChartBox(proceed, options, callback) {
8422
+ var chart = this,
8423
+ legend = chart.legend,
8424
+ bubbleSeries = getVisibleBubbleSeriesIndex(chart) >= 0;
8425
+ var bubbleLegendOptions,
8426
+ bubbleSizes;
8427
+ if (legend && legend.options.enabled && legend.bubbleLegend &&
8428
+ legend.options.bubbleLegend.autoRanges && bubbleSeries) {
8429
+ bubbleLegendOptions = legend.bubbleLegend.options;
8430
+ bubbleSizes = legend.bubbleLegend.predictBubbleSizes();
8431
+ legend.bubbleLegend.updateRanges(bubbleSizes[0], bubbleSizes[1]);
8432
+ // Disable animation on init
8433
+ if (!bubbleLegendOptions.placed) {
8434
+ legend.group.placed = false;
8435
+ legend.allItems.forEach(function (item) {
8436
+ item.legendGroup.translateY = null;
8437
+ });
8438
+ }
8439
+ // Create legend with bubbleLegend
8440
+ legend.render();
8441
+ chart.getMargins();
8442
+ chart.axes.forEach(function (axis) {
8443
+ if (axis.visible) { // #11448
8444
+ axis.render();
8445
+ }
8430
8446
  if (!bubbleLegendOptions.placed) {
8431
- legend.group.placed = false;
8432
- legend.allItems.forEach(function (item) {
8433
- item.legendGroup.translateY = null;
8447
+ axis.setScale();
8448
+ axis.updateNames();
8449
+ // Disable axis animation on init
8450
+ objectEach(axis.ticks, function (tick) {
8451
+ tick.isNew = true;
8452
+ tick.isNewLabel = true;
8434
8453
  });
8435
8454
  }
8436
- // Create legend with bubbleLegend
8455
+ });
8456
+ bubbleLegendOptions.placed = true;
8457
+ // After recalculate axes, calculate margins again.
8458
+ chart.getMargins();
8459
+ // Call default 'drawChartBox' method.
8460
+ proceed.call(chart, options, callback);
8461
+ // Check bubble legend sizes and correct them if necessary.
8462
+ legend.bubbleLegend.correctSizes();
8463
+ // Correct items positions with different dimensions in legend.
8464
+ retranslateItems(legend, getLinesHeights(legend));
8465
+ }
8466
+ else {
8467
+ proceed.call(chart, options, callback);
8468
+ // Allow color change on static bubble legend after click on legend
8469
+ if (legend && legend.options.enabled && legend.bubbleLegend) {
8437
8470
  legend.render();
8438
- chart.getMargins();
8439
- chart.axes.forEach(function (axis) {
8440
- if (axis.visible) { // #11448
8441
- axis.render();
8442
- }
8443
- if (!bubbleLegendOptions.placed) {
8444
- axis.setScale();
8445
- axis.updateNames();
8446
- // Disable axis animation on init
8447
- objectEach(axis.ticks, function (tick) {
8448
- tick.isNew = true;
8449
- tick.isNewLabel = true;
8450
- });
8451
- }
8452
- });
8453
- bubbleLegendOptions.placed = true;
8454
- // After recalculate axes, calculate margins again.
8455
- chart.getMargins();
8456
- // Call default 'drawChartBox' method.
8457
- proceed.call(chart, options, callback);
8458
- // Check bubble legend sizes and correct them if necessary.
8459
- legend.bubbleLegend.correctSizes();
8460
- // Correct items positions with different dimensions in legend.
8461
8471
  retranslateItems(legend, getLinesHeights(legend));
8462
8472
  }
8463
- else {
8464
- proceed.call(chart, options, callback);
8465
- // Allow color change on static bubble legend after click on legend
8466
- if (legend && legend.options.enabled && legend.bubbleLegend) {
8467
- legend.render();
8468
- retranslateItems(legend, getLinesHeights(legend));
8473
+ }
8474
+ }
8475
+ /**
8476
+ * Compose classes for use with Bubble series.
8477
+ * @private
8478
+ *
8479
+ * @param {Highcharts.Chart} ChartClass
8480
+ * Core chart class to use with Bubble series.
8481
+ *
8482
+ * @param {Highcharts.Legend} LegendClass
8483
+ * Core legend class to use with Bubble series.
8484
+ *
8485
+ * @param {Highcharts.Series} SeriesClass
8486
+ * Core series class to use with Bubble series.
8487
+ */
8488
+ function compose(ChartClass, LegendClass, SeriesClass) {
8489
+ if (composedClasses.indexOf(ChartClass) === -1) {
8490
+ composedClasses.push(ChartClass);
8491
+ setOptions({
8492
+ // Set default bubble legend options
8493
+ legend: {
8494
+ bubbleLegend: BubbleLegendDefaults
8469
8495
  }
8470
- }
8496
+ });
8497
+ wrap(ChartClass.prototype, 'drawChartBox', chartDrawChartBox);
8471
8498
  }
8472
- /**
8473
- * Compose classes for use with Bubble series.
8474
- * @private
8475
- *
8476
- * @param {Highcharts.Chart} ChartClass
8477
- * Core chart class to use with Bubble series.
8478
- *
8479
- * @param {Highcharts.Legend} LegendClass
8480
- * Core legend class to use with Bubble series.
8481
- *
8482
- * @param {Highcharts.Series} SeriesClass
8483
- * Core series class to use with Bubble series.
8484
- */
8485
- function compose(ChartClass, LegendClass, SeriesClass) {
8486
- if (composedClasses.indexOf(ChartClass) === -1) {
8487
- composedClasses.push(ChartClass);
8488
- setOptions({
8489
- // Set default bubble legend options
8490
- legend: {
8491
- bubbleLegend: BubbleLegendDefaults
8492
- }
8493
- });
8494
- wrap(ChartClass.prototype, 'drawChartBox', chartDrawChartBox);
8495
- }
8496
- if (composedClasses.indexOf(LegendClass) === -1) {
8497
- composedClasses.push(LegendClass);
8498
- addEvent(LegendClass, 'afterGetAllItems', onLegendAfterGetAllItems);
8499
- }
8500
- if (composedClasses.indexOf(SeriesClass) === -1) {
8501
- composedClasses.push(SeriesClass);
8502
- addEvent(SeriesClass, 'legendItemClick', onSeriesLegendItemClick);
8503
- }
8499
+ if (composedClasses.indexOf(LegendClass) === -1) {
8500
+ composedClasses.push(LegendClass);
8501
+ addEvent(LegendClass, 'afterGetAllItems', onLegendAfterGetAllItems);
8504
8502
  }
8505
- BubbleLegendComposition.compose = compose;
8506
- /**
8507
- * Check if there is at least one visible bubble series.
8508
- *
8509
- * @private
8510
- * @function getVisibleBubbleSeriesIndex
8511
- * @param {Highcharts.Chart} chart
8512
- * Chart to check.
8513
- * @return {number}
8514
- * First visible bubble series index
8515
- */
8516
- function getVisibleBubbleSeriesIndex(chart) {
8517
- var series = chart.series;
8518
- var i = 0;
8519
- while (i < series.length) {
8520
- if (series[i] &&
8521
- series[i].isBubble &&
8522
- series[i].visible &&
8523
- series[i].zData.length) {
8524
- return i;
8525
- }
8526
- i++;
8527
- }
8528
- return -1;
8503
+ if (composedClasses.indexOf(SeriesClass) === -1) {
8504
+ composedClasses.push(SeriesClass);
8505
+ addEvent(SeriesClass, 'legendItemClick', onSeriesLegendItemClick);
8529
8506
  }
8530
- /**
8531
- * Calculate height for each row in legend.
8532
- *
8533
- * @private
8534
- * @function getLinesHeights
8535
- *
8536
- * @param {Highcharts.Legend} legend
8537
- * Legend to calculate from.
8538
- *
8539
- * @return {Array<Highcharts.Dictionary<number>>}
8540
- * Informations about line height and items amount
8541
- */
8542
- function getLinesHeights(legend) {
8543
- var items = legend.allItems,
8544
- lines = [],
8545
- length = items.length;
8546
- var lastLine,
8547
- i = 0,
8548
- j = 0;
8549
- for (i = 0; i < length; i++) {
8550
- if (items[i].legendItemHeight) {
8551
- // for bubbleLegend
8552
- items[i].itemHeight = items[i].legendItemHeight;
8553
- }
8554
- if ( // Line break
8555
- items[i] === items[length - 1] ||
8556
- items[i + 1] &&
8557
- items[i]._legendItemPos[1] !==
8558
- items[i + 1]._legendItemPos[1]) {
8559
- lines.push({ height: 0 });
8560
- lastLine = lines[lines.length - 1];
8561
- // Find the highest item in line
8562
- for (j; j <= i; j++) {
8563
- if (items[j].itemHeight > lastLine.height) {
8564
- lastLine.height = items[j].itemHeight;
8565
- }
8507
+ }
8508
+ /**
8509
+ * Check if there is at least one visible bubble series.
8510
+ *
8511
+ * @private
8512
+ * @function getVisibleBubbleSeriesIndex
8513
+ * @param {Highcharts.Chart} chart
8514
+ * Chart to check.
8515
+ * @return {number}
8516
+ * First visible bubble series index
8517
+ */
8518
+ function getVisibleBubbleSeriesIndex(chart) {
8519
+ var series = chart.series;
8520
+ var i = 0;
8521
+ while (i < series.length) {
8522
+ if (series[i] &&
8523
+ series[i].isBubble &&
8524
+ series[i].visible &&
8525
+ series[i].zData.length) {
8526
+ return i;
8527
+ }
8528
+ i++;
8529
+ }
8530
+ return -1;
8531
+ }
8532
+ /**
8533
+ * Calculate height for each row in legend.
8534
+ *
8535
+ * @private
8536
+ * @function getLinesHeights
8537
+ *
8538
+ * @param {Highcharts.Legend} legend
8539
+ * Legend to calculate from.
8540
+ *
8541
+ * @return {Array<Highcharts.Dictionary<number>>}
8542
+ * Informations about line height and items amount
8543
+ */
8544
+ function getLinesHeights(legend) {
8545
+ var items = legend.allItems,
8546
+ lines = [],
8547
+ length = items.length;
8548
+ var lastLine,
8549
+ i = 0,
8550
+ j = 0;
8551
+ for (i = 0; i < length; i++) {
8552
+ if (items[i].legendItemHeight) {
8553
+ // for bubbleLegend
8554
+ items[i].itemHeight = items[i].legendItemHeight;
8555
+ }
8556
+ if ( // Line break
8557
+ items[i] === items[length - 1] ||
8558
+ items[i + 1] &&
8559
+ items[i]._legendItemPos[1] !==
8560
+ items[i + 1]._legendItemPos[1]) {
8561
+ lines.push({ height: 0 });
8562
+ lastLine = lines[lines.length - 1];
8563
+ // Find the highest item in line
8564
+ for (j; j <= i; j++) {
8565
+ if (items[j].itemHeight > lastLine.height) {
8566
+ lastLine.height = items[j].itemHeight;
8566
8567
  }
8567
- lastLine.step = i;
8568
8568
  }
8569
+ lastLine.step = i;
8569
8570
  }
8570
- return lines;
8571
8571
  }
8572
- /**
8573
- * Start the bubble legend creation process.
8574
- */
8575
- function onLegendAfterGetAllItems(e) {
8576
- var legend = this,
8577
- bubbleLegend = legend.bubbleLegend,
8578
- legendOptions = legend.options,
8579
- options = legendOptions.bubbleLegend,
8580
- bubbleSeriesIndex = getVisibleBubbleSeriesIndex(legend.chart);
8581
- // Remove unnecessary element
8582
- if (bubbleLegend && bubbleLegend.ranges && bubbleLegend.ranges.length) {
8583
- // Allow change the way of calculating ranges in update
8584
- if (options.ranges.length) {
8585
- options.autoRanges =
8586
- !!options.ranges[0].autoRanges;
8587
- }
8588
- // Update bubbleLegend dimensions in each redraw
8589
- legend.destroyItem(bubbleLegend);
8590
- }
8591
- // Create bubble legend
8592
- if (bubbleSeriesIndex >= 0 &&
8593
- legendOptions.enabled &&
8594
- options.enabled) {
8595
- options.seriesIndex = bubbleSeriesIndex;
8596
- legend.bubbleLegend = new BubbleLegendItem(options, legend);
8597
- legend.bubbleLegend.addToLegend(e.allItems);
8598
- }
8572
+ return lines;
8573
+ }
8574
+ /**
8575
+ * Start the bubble legend creation process.
8576
+ */
8577
+ function onLegendAfterGetAllItems(e) {
8578
+ var legend = this,
8579
+ bubbleLegend = legend.bubbleLegend,
8580
+ legendOptions = legend.options,
8581
+ options = legendOptions.bubbleLegend,
8582
+ bubbleSeriesIndex = getVisibleBubbleSeriesIndex(legend.chart);
8583
+ // Remove unnecessary element
8584
+ if (bubbleLegend && bubbleLegend.ranges && bubbleLegend.ranges.length) {
8585
+ // Allow change the way of calculating ranges in update
8586
+ if (options.ranges.length) {
8587
+ options.autoRanges =
8588
+ !!options.ranges[0].autoRanges;
8589
+ }
8590
+ // Update bubbleLegend dimensions in each redraw
8591
+ legend.destroyItem(bubbleLegend);
8599
8592
  }
8600
- /**
8601
- * Toggle bubble legend depending on the visible status of bubble series.
8602
- */
8603
- function onSeriesLegendItemClick() {
8604
- var series = this,
8605
- chart = series.chart,
8606
- visible = series.visible,
8607
- legend = series.chart.legend;
8608
- var status;
8609
- if (legend && legend.bubbleLegend) {
8610
- // Temporary correct 'visible' property
8611
- series.visible = !visible;
8612
- // Save future status for getRanges method
8613
- series.ignoreSeries = visible;
8614
- // Check if at lest one bubble series is visible
8615
- status = getVisibleBubbleSeriesIndex(chart) >= 0;
8616
- // Hide bubble legend if all bubble series are disabled
8617
- if (legend.bubbleLegend.visible !== status) {
8618
- // Show or hide bubble legend
8619
- legend.update({
8620
- bubbleLegend: { enabled: status }
8621
- });
8622
- legend.bubbleLegend.visible = status; // Restore default status
8623
- }
8624
- series.visible = visible;
8625
- }
8593
+ // Create bubble legend
8594
+ if (bubbleSeriesIndex >= 0 &&
8595
+ legendOptions.enabled &&
8596
+ options.enabled) {
8597
+ options.seriesIndex = bubbleSeriesIndex;
8598
+ legend.bubbleLegend = new BubbleLegendItem(options, legend);
8599
+ legend.bubbleLegend.addToLegend(e.allItems);
8626
8600
  }
8627
- /**
8628
- * Correct legend items translation in case of different elements heights.
8629
- *
8630
- * @private
8631
- * @function Highcharts.Legend#retranslateItems
8632
- *
8633
- * @param {Highcharts.Legend} legend
8634
- * Legend to translate in.
8635
- *
8636
- * @param {Array<Highcharts.Dictionary<number>>} lines
8637
- * Informations about line height and items amount
8638
- */
8639
- function retranslateItems(legend, lines) {
8640
- var items = legend.allItems,
8641
- rtl = legend.options.rtl;
8642
- var orgTranslateX,
8643
- orgTranslateY,
8644
- movementX,
8645
- actualLine = 0;
8646
- items.forEach(function (item, index) {
8647
- orgTranslateX = item.legendGroup.translateX;
8648
- orgTranslateY = item._legendItemPos[1];
8649
- movementX = item.movementX;
8650
- if (movementX || (rtl && item.ranges)) {
8651
- movementX = rtl ?
8652
- orgTranslateX - item.options.maxSize / 2 :
8653
- orgTranslateX + movementX;
8654
- item.legendGroup.attr({ translateX: movementX });
8655
- }
8656
- if (index > lines[actualLine].step) {
8657
- actualLine++;
8658
- }
8659
- item.legendGroup.attr({
8660
- translateY: Math.round(orgTranslateY + lines[actualLine].height / 2)
8601
+ }
8602
+ /**
8603
+ * Toggle bubble legend depending on the visible status of bubble series.
8604
+ */
8605
+ function onSeriesLegendItemClick() {
8606
+ var series = this,
8607
+ chart = series.chart,
8608
+ visible = series.visible,
8609
+ legend = series.chart.legend;
8610
+ var status;
8611
+ if (legend && legend.bubbleLegend) {
8612
+ // Temporary correct 'visible' property
8613
+ series.visible = !visible;
8614
+ // Save future status for getRanges method
8615
+ series.ignoreSeries = visible;
8616
+ // Check if at lest one bubble series is visible
8617
+ status = getVisibleBubbleSeriesIndex(chart) >= 0;
8618
+ // Hide bubble legend if all bubble series are disabled
8619
+ if (legend.bubbleLegend.visible !== status) {
8620
+ // Show or hide bubble legend
8621
+ legend.update({
8622
+ bubbleLegend: { enabled: status }
8661
8623
  });
8662
- item._legendItemPos[1] = orgTranslateY +
8663
- lines[actualLine].height / 2;
8664
- });
8624
+ legend.bubbleLegend.visible = status; // Restore default status
8625
+ }
8626
+ series.visible = visible;
8665
8627
  }
8666
- /* eslint-disable valid-jsdoc */
8667
- })(BubbleLegendComposition || (BubbleLegendComposition = {}));
8628
+ }
8629
+ /**
8630
+ * Correct legend items translation in case of different elements heights.
8631
+ *
8632
+ * @private
8633
+ * @function Highcharts.Legend#retranslateItems
8634
+ *
8635
+ * @param {Highcharts.Legend} legend
8636
+ * Legend to translate in.
8637
+ *
8638
+ * @param {Array<Highcharts.Dictionary<number>>} lines
8639
+ * Informations about line height and items amount
8640
+ */
8641
+ function retranslateItems(legend, lines) {
8642
+ var items = legend.allItems,
8643
+ rtl = legend.options.rtl;
8644
+ var orgTranslateX,
8645
+ orgTranslateY,
8646
+ movementX,
8647
+ actualLine = 0;
8648
+ items.forEach(function (item, index) {
8649
+ orgTranslateX = item.legendGroup.translateX;
8650
+ orgTranslateY = item._legendItemPos[1];
8651
+ movementX = item.movementX;
8652
+ if (movementX || (rtl && item.ranges)) {
8653
+ movementX = rtl ?
8654
+ orgTranslateX - item.options.maxSize / 2 :
8655
+ orgTranslateX + movementX;
8656
+ item.legendGroup.attr({ translateX: movementX });
8657
+ }
8658
+ if (index > lines[actualLine].step) {
8659
+ actualLine++;
8660
+ }
8661
+ item.legendGroup.attr({
8662
+ translateY: Math.round(orgTranslateY + lines[actualLine].height / 2)
8663
+ });
8664
+ item._legendItemPos[1] = orgTranslateY +
8665
+ lines[actualLine].height / 2;
8666
+ });
8667
+ }
8668
8668
  /* *
8669
8669
  *
8670
8670
  * Default Export
8671
8671
  *
8672
8672
  * */
8673
+ var BubbleLegendComposition = {
8674
+ compose: compose
8675
+ };
8673
8676
 
8674
8677
  return BubbleLegendComposition;
8675
8678
  });
@@ -8753,7 +8756,7 @@
8753
8756
 
8754
8757
  return BubblePoint;
8755
8758
  });
8756
- _registerModule(_modules, 'Series/Bubble/BubbleSeries.js', [_modules['Core/Axis/Axis.js'], _modules['Series/Bubble/BubbleLegendComposition.js'], _modules['Series/Bubble/BubblePoint.js'], _modules['Core/Color/Color.js'], _modules['Core/Globals.js'], _modules['Core/Series/Series.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (Axis, BubbleLegendComposition, BubblePoint, Color, H, Series, SeriesRegistry, U) {
8759
+ _registerModule(_modules, 'Series/Bubble/BubbleSeries.js', [_modules['Series/Bubble/BubbleLegendComposition.js'], _modules['Series/Bubble/BubblePoint.js'], _modules['Core/Color/Color.js'], _modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (BubbleLegendComposition, BubblePoint, Color, H, SeriesRegistry, U) {
8757
8760
  /* *
8758
8761
  *
8759
8762
  * (c) 2010-2021 Torstein Honsi
@@ -8781,8 +8784,9 @@
8781
8784
  })();
8782
8785
  var color = Color.parse;
8783
8786
  var noop = H.noop;
8784
- var _a = SeriesRegistry.seriesTypes,
8785
- ColumnSeries = _a.column,
8787
+ var Series = SeriesRegistry.series,
8788
+ _a = SeriesRegistry.seriesTypes,
8789
+ columnProto = _a.column.prototype,
8786
8790
  ScatterSeries = _a.scatter;
8787
8791
  var addEvent = U.addEvent,
8788
8792
  arrayMax = U.arrayMax,
@@ -8792,6 +8796,77 @@
8792
8796
  isNumber = U.isNumber,
8793
8797
  merge = U.merge,
8794
8798
  pick = U.pick;
8799
+ /* *
8800
+ *
8801
+ * Constants
8802
+ *
8803
+ * */
8804
+ var composedClasses = [];
8805
+ /* *
8806
+ *
8807
+ * Functions
8808
+ *
8809
+ * */
8810
+ /**
8811
+ * Add logic to pad each axis with the amount of pixels necessary to avoid the
8812
+ * bubbles to overflow.
8813
+ */
8814
+ function axisBeforePadding() {
8815
+ var _this = this;
8816
+ var axisLength = this.len,
8817
+ chart = this.chart,
8818
+ isXAxis = this.isXAxis,
8819
+ dataKey = isXAxis ? 'xData' : 'yData',
8820
+ min = this.min,
8821
+ range = this.max - min;
8822
+ var pxMin = 0,
8823
+ pxMax = axisLength,
8824
+ transA = axisLength / range,
8825
+ hasActiveSeries;
8826
+ // Handle padding on the second pass, or on redraw
8827
+ this.series.forEach(function (series) {
8828
+ if (series.bubblePadding &&
8829
+ (series.visible || !chart.options.chart.ignoreHiddenSeries)) {
8830
+ // Correction for #1673
8831
+ _this.allowZoomOutside = true;
8832
+ hasActiveSeries = true;
8833
+ var data = series[dataKey];
8834
+ if (isXAxis) {
8835
+ (series.onPoint || series).getRadii(0, 0, series);
8836
+ if (series.onPoint) {
8837
+ series.radii = series.onPoint.radii;
8838
+ }
8839
+ }
8840
+ if (range > 0) {
8841
+ var i = data.length;
8842
+ while (i--) {
8843
+ if (isNumber(data[i]) &&
8844
+ _this.dataMin <= data[i] &&
8845
+ data[i] <= _this.max) {
8846
+ var radius = series.radii && series.radii[i] || 0;
8847
+ pxMin = Math.min(((data[i] - min) * transA) - radius, pxMin);
8848
+ pxMax = Math.max(((data[i] - min) * transA) + radius, pxMax);
8849
+ }
8850
+ }
8851
+ }
8852
+ }
8853
+ });
8854
+ // Apply the padding to the min and max properties
8855
+ if (hasActiveSeries && range > 0 && !this.logarithmic) {
8856
+ pxMax -= axisLength;
8857
+ transA *= (axisLength +
8858
+ Math.max(0, pxMin) - // #8901
8859
+ Math.min(pxMax, axisLength)) / axisLength;
8860
+ [
8861
+ ['min', 'userMin', pxMin],
8862
+ ['max', 'userMax', pxMax]
8863
+ ].forEach(function (keys) {
8864
+ if (typeof pick(_this.options[keys[0]], _this[keys[1]]) === 'undefined') {
8865
+ _this[keys[0]] += keys[2] / transA;
8866
+ }
8867
+ });
8868
+ }
8869
+ }
8795
8870
  /* *
8796
8871
  *
8797
8872
  * Class
@@ -8821,14 +8896,24 @@
8821
8896
  _this.yData = void 0;
8822
8897
  _this.zData = void 0;
8823
8898
  return _this;
8824
- /* eslint-enable valid-jsdoc */
8825
8899
  }
8900
+ /* *
8901
+ *
8902
+ * Static Functions
8903
+ *
8904
+ * */
8905
+ BubbleSeries.compose = function (AxisClass, ChartClass, LegendClass, SeriesClass) {
8906
+ BubbleLegendComposition.compose(ChartClass, LegendClass, SeriesClass);
8907
+ if (composedClasses.indexOf(AxisClass) === -1) {
8908
+ composedClasses.push(AxisClass);
8909
+ AxisClass.prototype.beforePadding = axisBeforePadding;
8910
+ }
8911
+ };
8826
8912
  /* *
8827
8913
  *
8828
8914
  * Functions
8829
8915
  *
8830
8916
  * */
8831
- /* eslint-disable valid-jsdoc */
8832
8917
  /**
8833
8918
  * Perform animation on the bubbles
8834
8919
  * @private
@@ -8863,11 +8948,11 @@
8863
8948
  */
8864
8949
  BubbleSeries.prototype.getRadii = function () {
8865
8950
  var _this = this;
8951
+ var zData = this.zData,
8952
+ yData = this.yData,
8953
+ radii = [];
8866
8954
  var len,
8867
8955
  i,
8868
- zData = this.zData,
8869
- yData = this.yData,
8870
- radii = [],
8871
8956
  value,
8872
8957
  zExtremes = this.chart.bubbleZExtremes;
8873
8958
  var _a = this.getPxExtremes(),
@@ -8914,8 +8999,8 @@
8914
8999
  BubbleSeries.prototype.getRadius = function (zMin, zMax, minSize, maxSize, value, yValue) {
8915
9000
  var options = this.options,
8916
9001
  sizeByArea = options.sizeBy !== 'width',
8917
- zThreshold = options.zThreshold,
8918
- zRange = zMax - zMin,
9002
+ zThreshold = options.zThreshold;
9003
+ var zRange = zMax - zMin,
8919
9004
  pos = 0.5;
8920
9005
  // #8608 - bubble should be visible when z is undefined
8921
9006
  if (yValue === null || value === null) {
@@ -9048,7 +9133,6 @@
9048
9133
  }
9049
9134
  }
9050
9135
  };
9051
- BubbleSeries.compose = BubbleLegendComposition.compose;
9052
9136
  /**
9053
9137
  * A bubble series is a three dimensional series type where each point
9054
9138
  * renders an X, Y and Z value. Each points is drawn as a bubble where the
@@ -9287,7 +9371,7 @@
9287
9371
  return BubbleSeries;
9288
9372
  }(ScatterSeries));
9289
9373
  extend(BubbleSeries.prototype, {
9290
- alignDataLabel: ColumnSeries.prototype.alignDataLabel,
9374
+ alignDataLabel: columnProto.alignDataLabel,
9291
9375
  applyZones: noop,
9292
9376
  bubblePadding: true,
9293
9377
  buildKDTree: noop,
@@ -9304,70 +9388,10 @@
9304
9388
  addEvent(BubbleSeries, 'updatedData', function (e) {
9305
9389
  delete e.target.chart.bubbleZExtremes;
9306
9390
  });
9307
- /* *
9308
- *
9309
- * Axis ?
9310
- *
9311
- * */
9312
- // Add logic to pad each axis with the amount of pixels necessary to avoid the
9313
- // bubbles to overflow.
9314
- Axis.prototype.beforePadding = function () {
9315
- var axis = this,
9316
- axisLength = this.len,
9317
- chart = this.chart,
9318
- pxMin = 0,
9319
- pxMax = axisLength,
9320
- isXAxis = this.isXAxis,
9321
- dataKey = isXAxis ? 'xData' : 'yData',
9322
- min = this.min,
9323
- range = this.max - min,
9324
- transA = axisLength / range,
9325
- hasActiveSeries;
9326
- // Handle padding on the second pass, or on redraw
9327
- this.series.forEach(function (series) {
9328
- if (series.bubblePadding &&
9329
- (series.visible || !chart.options.chart.ignoreHiddenSeries)) {
9330
- // Correction for #1673
9331
- axis.allowZoomOutside = true;
9332
- hasActiveSeries = true;
9333
- var data = series[dataKey];
9334
- if (isXAxis) {
9335
- (series.onPoint || series).getRadii(0, 0, series);
9336
- if (series.onPoint) {
9337
- series.radii = series.onPoint.radii;
9338
- }
9339
- }
9340
- if (range > 0) {
9341
- var i = data.length;
9342
- while (i--) {
9343
- if (isNumber(data[i]) &&
9344
- axis.dataMin <= data[i] &&
9345
- data[i] <= axis.max) {
9346
- var radius = series.radii && series.radii[i] || 0;
9347
- pxMin = Math.min(((data[i] - min) * transA) - radius, pxMin);
9348
- pxMax = Math.max(((data[i] - min) * transA) + radius, pxMax);
9349
- }
9350
- }
9351
- }
9352
- }
9353
- });
9354
- // Apply the padding to the min and max properties
9355
- if (hasActiveSeries && range > 0 && !this.logarithmic) {
9356
- pxMax -= axisLength;
9357
- transA *= (axisLength +
9358
- Math.max(0, pxMin) - // #8901
9359
- Math.min(pxMax, axisLength)) / axisLength;
9360
- [
9361
- ['min', 'userMin', pxMin],
9362
- ['max', 'userMax', pxMax]
9363
- ].forEach(function (keys) {
9364
- if (typeof pick(axis.options[keys[0]], axis[keys[1]]) === 'undefined') {
9365
- axis[keys[0]] += keys[2] / transA;
9366
- }
9367
- });
9368
- }
9369
- /* eslint-enable valid-jsdoc */
9370
- };
9391
+ // After removing series, delete the chart-level Z extremes cache, #17502.
9392
+ addEvent(BubbleSeries, 'remove', function (e) {
9393
+ delete e.target.chart.bubbleZExtremes;
9394
+ });
9371
9395
  SeriesRegistry.registerSeriesType('bubble', BubbleSeries);
9372
9396
  /* *
9373
9397
  *
@@ -9475,7 +9499,7 @@
9475
9499
 
9476
9500
  return BubbleSeries;
9477
9501
  });
9478
- _registerModule(_modules, 'Series/MapBubble/MapBubblePoint.js', [_modules['Series/Map/MapPoint.js'], _modules['Core/Series/SeriesRegistry.js']], function (MapPoint, SeriesRegistry) {
9502
+ _registerModule(_modules, 'Series/MapBubble/MapBubblePoint.js', [_modules['Series/Bubble/BubblePoint.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (BubblePoint, SeriesRegistry, U) {
9479
9503
  /* *
9480
9504
  *
9481
9505
  * (c) 2010-2021 Torstein Honsi
@@ -9506,9 +9530,8 @@
9506
9530
  * Imports
9507
9531
  *
9508
9532
  * */
9509
- var _a = SeriesRegistry.seriesTypes,
9510
- BubbleSeries = _a.bubble,
9511
- MapSeries = _a.map;
9533
+ var mapPointProto = SeriesRegistry.seriesTypes.map.prototype.pointClass.prototype;
9534
+ var extend = U.extend;
9512
9535
  /* *
9513
9536
  *
9514
9537
  * Class
@@ -9517,27 +9540,22 @@
9517
9540
  var MapBubblePoint = /** @class */ (function (_super) {
9518
9541
  __extends(MapBubblePoint, _super);
9519
9542
  function MapBubblePoint() {
9520
- /* *
9521
- *
9522
- * Functions
9523
- *
9524
- * */
9525
- var _this = _super !== null && _super.apply(this,
9526
- arguments) || this;
9527
- _this.applyOptions = MapSeries.prototype.pointClass.prototype.applyOptions;
9528
- _this.getProjectedBounds = MapPoint.prototype.getProjectedBounds;
9529
- return _this;
9530
- /* eslint-enable valid-jsdoc */
9543
+ return _super !== null && _super.apply(this, arguments) || this;
9531
9544
  }
9532
- /* eslint-disable valid-jsdoc */
9533
- /**
9534
- * @private
9535
- */
9545
+ /* *
9546
+ *
9547
+ * Functions
9548
+ *
9549
+ * */
9536
9550
  MapBubblePoint.prototype.isValid = function () {
9537
9551
  return typeof this.z === 'number';
9538
9552
  };
9539
9553
  return MapBubblePoint;
9540
- }(BubbleSeries.prototype.pointClass));
9554
+ }(BubblePoint));
9555
+ extend(MapBubblePoint.prototype, {
9556
+ applyOptions: mapPointProto.applyOptions,
9557
+ getProjectedBounds: mapPointProto.getProjectedBounds
9558
+ });
9541
9559
  /* *
9542
9560
  *
9543
9561
  * Default Export
@@ -9546,7 +9564,7 @@
9546
9564
 
9547
9565
  return MapBubblePoint;
9548
9566
  });
9549
- _registerModule(_modules, 'Series/MapBubble/MapBubbleSeries.js', [_modules['Series/Bubble/BubbleSeries.js'], _modules['Series/MapBubble/MapBubblePoint.js'], _modules['Series/Map/MapSeries.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (BubbleSeries, MapBubblePoint, MapSeries, SeriesRegistry, U) {
9567
+ _registerModule(_modules, 'Series/MapBubble/MapBubbleSeries.js', [_modules['Series/Bubble/BubbleSeries.js'], _modules['Series/MapBubble/MapBubblePoint.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (BubbleSeries, MapBubblePoint, SeriesRegistry, U) {
9550
9568
  /* *
9551
9569
  *
9552
9570
  * (c) 2010-2021 Torstein Honsi
@@ -9572,7 +9590,9 @@
9572
9590
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9573
9591
  };
9574
9592
  })();
9575
- var MapPointSeries = SeriesRegistry.seriesTypes.mappoint;
9593
+ var _a = SeriesRegistry.seriesTypes,
9594
+ mapProto = _a.map.prototype,
9595
+ mapPointProto = _a.mappoint.prototype;
9576
9596
  var extend = U.extend,
9577
9597
  merge = U.merge;
9578
9598
  /* *
@@ -9586,10 +9606,18 @@
9586
9606
  * @name Highcharts.seriesTypes.mapbubble
9587
9607
  *
9588
9608
  * @augments Highcharts.Series
9609
+ *
9610
+ * @requires BubbleSeries
9611
+ * @requires MapPointSeries
9589
9612
  */
9590
9613
  var MapBubbleSeries = /** @class */ (function (_super) {
9591
9614
  __extends(MapBubbleSeries, _super);
9592
9615
  function MapBubbleSeries() {
9616
+ /* *
9617
+ *
9618
+ * Static Properties
9619
+ *
9620
+ * */
9593
9621
  var _this = _super !== null && _super.apply(this,
9594
9622
  arguments) || this;
9595
9623
  /* *
@@ -9609,16 +9637,10 @@
9609
9637
  }, compareX, e);
9610
9638
  };
9611
9639
  MapBubbleSeries.prototype.translate = function () {
9612
- MapPointSeries.prototype.translate.call(this);
9640
+ mapPointProto.translate.call(this);
9613
9641
  this.getRadii();
9614
9642
  this.translateBubble();
9615
9643
  };
9616
- /* *
9617
- *
9618
- * Static Properties
9619
- *
9620
- * */
9621
- MapBubbleSeries.compose = BubbleSeries.compose;
9622
9644
  /**
9623
9645
  * A map bubble series is a bubble series laid out on top of a map
9624
9646
  * series, where each bubble is tied to a specific map area.
@@ -9695,7 +9717,6 @@
9695
9717
  *
9696
9718
  * @product highmaps
9697
9719
  * @apioption plotOptions.mapbubble.maxSize
9698
-
9699
9720
  */
9700
9721
  /**
9701
9722
  * Minimum bubble size. Bubbles will automatically size between the
@@ -9786,6 +9807,9 @@
9786
9807
  * @default 0
9787
9808
  * @apioption plotOptions.mapbubble.zThreshold
9788
9809
  */
9810
+ /**
9811
+ * @default 500
9812
+ */
9789
9813
  animationLimit: 500,
9790
9814
  joinBy: 'hc-key',
9791
9815
  tooltip: {
@@ -9797,16 +9821,16 @@
9797
9821
  extend(MapBubbleSeries.prototype, {
9798
9822
  type: 'mapbubble',
9799
9823
  axisTypes: ['colorAxis'],
9800
- getProjectedBounds: MapSeries.prototype.getProjectedBounds,
9824
+ getProjectedBounds: mapProto.getProjectedBounds,
9801
9825
  isCartesian: false,
9802
9826
  // If one single value is passed, it is interpreted as z
9803
9827
  pointArrayMap: ['z'],
9804
9828
  pointClass: MapBubblePoint,
9805
- processData: MapSeries.prototype.processData,
9806
- projectPoint: MapPointSeries.prototype.projectPoint,
9807
- setData: MapSeries.prototype.setData,
9808
- setOptions: MapSeries.prototype.setOptions,
9809
- updateData: MapSeries.prototype.updateData,
9829
+ processData: mapProto.processData,
9830
+ projectPoint: mapPointProto.projectPoint,
9831
+ setData: mapProto.setData,
9832
+ setOptions: mapProto.setOptions,
9833
+ updateData: mapProto.updateData,
9810
9834
  useMapGeometry: true,
9811
9835
  xyFromShape: true
9812
9836
  });
@@ -10401,7 +10425,11 @@
10401
10425
  */
10402
10426
  animation: false,
10403
10427
  /**
10404
- * The border radius for each heatmap item.
10428
+ * The border radius for each heatmap item. The border's color and
10429
+ * width can be set in marker options.
10430
+ *
10431
+ * @see [lineColor](#plotOptions.heatmap.marker.lineColor)
10432
+ * @see [lineWidth](#plotOptions.heatmap.marker.lineWidth)
10405
10433
  */
10406
10434
  borderRadius: 0,
10407
10435
  /**
@@ -11048,7 +11076,7 @@
11048
11076
  G.maps = MapChart.maps;
11049
11077
  G.Projection = Projection;
11050
11078
  ColorAxis.compose(G.Chart, G.Fx, G.Legend, G.Series);
11051
- MapBubbleSeries.compose(G.Chart, G.Legend, G.Series);
11079
+ MapBubbleSeries.compose(G.Axis, G.Chart, G.Legend, G.Series);
11052
11080
 
11053
11081
  });
11054
11082
  }));