highcharts 9.2.1 → 9.3.2

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 (896) hide show
  1. package/README.md +13 -6
  2. package/bower.json +1 -1
  3. package/css/annotations/popup.css +48 -8
  4. package/css/annotations/popup.scss +70 -22
  5. package/css/highcharts.css +46 -1
  6. package/css/highcharts.scss +40 -0
  7. package/css/stocktools/gui.css +1 -1
  8. package/css/themes/dark-unica.css +46 -1
  9. package/css/themes/grid-light.css +46 -1
  10. package/css/themes/sand-signika.css +46 -1
  11. package/es-modules/Accessibility/A11yI18n.js +269 -224
  12. package/es-modules/Accessibility/Accessibility.js +244 -129
  13. package/es-modules/Accessibility/AccessibilityComponent.js +78 -313
  14. package/es-modules/Accessibility/Components/AnnotationsA11y.js +19 -5
  15. package/es-modules/Accessibility/Components/ContainerComponent.js +53 -28
  16. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +178 -120
  17. package/es-modules/Accessibility/Components/LegendComponent.js +251 -129
  18. package/es-modules/Accessibility/Components/MenuComponent.js +239 -154
  19. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +172 -93
  20. package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +161 -115
  21. package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +138 -69
  22. package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +67 -28
  23. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +48 -56
  24. package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +387 -343
  25. package/es-modules/Accessibility/Components/ZoomComponent.js +156 -70
  26. package/es-modules/Accessibility/FocusBorder.js +192 -152
  27. package/es-modules/Accessibility/HighContrastMode.js +79 -66
  28. package/es-modules/Accessibility/HighContrastTheme.js +10 -0
  29. package/es-modules/Accessibility/KeyboardNavigation.js +151 -75
  30. package/es-modules/Accessibility/KeyboardNavigationHandler.js +71 -44
  31. package/es-modules/Accessibility/Options/DeprecatedOptions.js +21 -4
  32. package/es-modules/Accessibility/Options/LangOptions.js +4 -5
  33. package/es-modules/Accessibility/Options/Options.js +32 -17
  34. package/es-modules/Accessibility/ProxyElement.js +218 -0
  35. package/es-modules/Accessibility/ProxyProvider.js +302 -0
  36. package/es-modules/Accessibility/Utils/Announcer.js +17 -10
  37. package/es-modules/Accessibility/Utils/ChartUtilities.js +55 -45
  38. package/es-modules/Accessibility/Utils/DOMElementProvider.js +27 -15
  39. package/es-modules/Accessibility/Utils/EventProvider.js +27 -17
  40. package/es-modules/Accessibility/Utils/HTMLUtilities.js +125 -42
  41. package/es-modules/Core/Animation/Fx.js +5 -14
  42. package/es-modules/Core/Axis/Axis.js +77 -96
  43. package/es-modules/Core/Axis/Axis3D.js +10 -4
  44. package/es-modules/Core/Axis/AxisDefaults.js +35 -24
  45. package/es-modules/Core/Axis/BrokenAxis.js +17 -11
  46. package/es-modules/Core/Axis/Color/ColorAxis.js +7 -4
  47. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +55 -5
  48. package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +5 -5
  49. package/es-modules/Core/Axis/DateTimeAxis.js +3 -14
  50. package/es-modules/Core/Axis/GridAxis.js +26 -16
  51. package/es-modules/Core/Axis/NavigatorAxis.js +0 -5
  52. package/es-modules/Core/Axis/OrdinalAxis.js +88 -92
  53. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +4 -5
  54. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +0 -5
  55. package/es-modules/Core/Axis/RadialAxis.js +7 -28
  56. package/es-modules/Core/Axis/ScrollbarAxis.js +27 -12
  57. package/es-modules/Core/Axis/StackingAxis.js +2 -1
  58. package/es-modules/Core/Axis/Tick.js +2 -4
  59. package/es-modules/Core/Axis/TreeGridAxis.js +28 -19
  60. package/es-modules/Core/Axis/TreeGridTick.js +5 -3
  61. package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
  62. package/es-modules/Core/Axis/ZAxis.js +1 -1
  63. package/es-modules/Core/Chart/Chart.js +44 -47
  64. package/es-modules/Core/Chart/Chart3D.js +23 -10
  65. package/es-modules/Core/Chart/ChartDefaults.js +3 -4
  66. package/es-modules/Core/Chart/ChartNavigationComposition.js +92 -0
  67. package/es-modules/Core/Chart/GanttChart.js +4 -4
  68. package/es-modules/Core/Chart/MapChart.js +13 -25
  69. package/es-modules/Core/Chart/StockChart.js +13 -316
  70. package/es-modules/Core/Color/Palettes.js +22 -0
  71. package/es-modules/Core/DefaultOptions.js +22 -19
  72. package/es-modules/Core/Foundation.js +39 -31
  73. package/es-modules/Core/Geometry/CircleUtilities.js +2 -1
  74. package/es-modules/Core/Globals.js +1 -1
  75. package/es-modules/Core/HttpUtilities.js +8 -7
  76. package/es-modules/Core/Legend/Legend.js +19 -16
  77. package/es-modules/Core/Navigator.js +41 -30
  78. package/es-modules/Core/Pointer.js +52 -45
  79. package/es-modules/Core/Renderer/HTML/AST.js +29 -14
  80. package/es-modules/Core/Renderer/HTML/HTMLElement.js +27 -20
  81. package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +8 -6
  82. package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
  83. package/es-modules/Core/Renderer/SVG/SVGElement.js +11 -20
  84. package/es-modules/Core/Renderer/SVG/SVGLabel.js +17 -8
  85. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +25 -29
  86. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +12 -5
  87. package/es-modules/Core/Renderer/SVG/TextBuilder.js +18 -12
  88. package/es-modules/Core/Responsive.js +2 -3
  89. package/es-modules/Core/Scrollbar.js +14 -12
  90. package/es-modules/Core/ScrollbarDefaults.js +10 -9
  91. package/es-modules/Core/Series/DataLabel.js +19 -15
  92. package/es-modules/Core/Series/Point.js +22 -19
  93. package/es-modules/Core/Series/Series.js +200 -235
  94. package/es-modules/Core/Series/SeriesDefaults.js +8 -8
  95. package/es-modules/Core/Series/SeriesRegistry.js +1 -2
  96. package/es-modules/Core/Time.js +14 -11
  97. package/es-modules/Core/Tooltip.js +63 -53
  98. package/es-modules/Core/Utilities.js +20 -24
  99. package/es-modules/Data/DataConverter.js +483 -0
  100. package/es-modules/Data/DataPromise.js +252 -0
  101. package/es-modules/Data/DataSeriesConverter.js +207 -0
  102. package/es-modules/Data/DataTable.js +1205 -0
  103. package/es-modules/Data/Modifiers/ChainModifier.js +299 -0
  104. package/es-modules/Data/Modifiers/DataModifier.js +303 -0
  105. package/es-modules/Data/Modifiers/GroupModifier.js +144 -0
  106. package/es-modules/Data/Modifiers/InvertModifier.js +254 -0
  107. package/es-modules/Data/Modifiers/RangeModifier.js +143 -0
  108. package/es-modules/Data/Modifiers/SeriesPointsModifier.js +110 -0
  109. package/es-modules/Data/Modifiers/SortModifier.js +249 -0
  110. package/es-modules/Data/Parsers/CSVParser.js +400 -0
  111. package/es-modules/Data/Parsers/DataParser.js +101 -0
  112. package/es-modules/Data/Parsers/GoogleSheetsParser.js +223 -0
  113. package/es-modules/Data/Parsers/HTMLTableParser.js +213 -0
  114. package/es-modules/Data/Stores/CSVStore.js +317 -0
  115. package/es-modules/Data/Stores/DataStore.js +276 -0
  116. package/es-modules/Data/Stores/GoogleSheetsStore.js +169 -0
  117. package/es-modules/Data/Stores/HTMLTableStore.js +353 -0
  118. package/es-modules/Extensions/Annotations/Annotations.js +69 -18
  119. package/es-modules/Extensions/Annotations/ControlPoint.js +1 -3
  120. package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +1 -1
  121. package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +199 -0
  122. package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +1 -1
  123. package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +3 -6
  124. package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +3 -2
  125. package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +1 -1
  126. package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +13 -4
  127. package/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +0 -1
  128. package/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +5 -4
  129. package/es-modules/Extensions/Annotations/NavigationBindings.js +120 -53
  130. package/es-modules/Extensions/Annotations/Popup.js +494 -148
  131. package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +51 -2
  132. package/es-modules/Extensions/Annotations/Types/CrookedLine.js +5 -3
  133. package/es-modules/Extensions/Annotations/Types/ElliottWave.js +1 -1
  134. package/es-modules/Extensions/Annotations/Types/Fibonacci.js +2 -3
  135. package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +219 -0
  136. package/es-modules/Extensions/Annotations/Types/InfinityLine.js +1 -1
  137. package/es-modules/Extensions/Annotations/Types/Measure.js +29 -19
  138. package/es-modules/Extensions/Annotations/Types/Pitchfork.js +7 -6
  139. package/es-modules/Extensions/Annotations/Types/TimeCycles.js +211 -0
  140. package/es-modules/Extensions/Annotations/Types/Tunnel.js +13 -10
  141. package/es-modules/Extensions/Annotations/Types/VerticalLine.js +1 -1
  142. package/es-modules/Extensions/Boost/BoostOptions.js +2 -2
  143. package/es-modules/Extensions/Boost/BoostOverrides.js +6 -10
  144. package/es-modules/Extensions/Boost/BoostUtils.js +0 -6
  145. package/es-modules/Extensions/Boost/WGLRenderer.js +16 -12
  146. package/es-modules/Extensions/Boost/WGLShader.js +13 -11
  147. package/es-modules/Extensions/Boost/WGLVBuffer.js +4 -7
  148. package/es-modules/Extensions/BoostCanvas.js +1 -2
  149. package/es-modules/Extensions/CurrentDateIndication.js +2 -3
  150. package/es-modules/Extensions/Data.js +77 -115
  151. package/es-modules/Extensions/DataGrouping.js +54 -32
  152. package/es-modules/Extensions/Debugger/ErrorMessages.js +2 -2
  153. package/es-modules/Extensions/DownloadURL.js +2 -2
  154. package/es-modules/Extensions/DragPanes.js +1 -2
  155. package/es-modules/Extensions/DraggablePoints.js +7 -8
  156. package/es-modules/Extensions/Drilldown.js +11 -7
  157. package/es-modules/Extensions/ExportData.js +6 -5
  158. package/es-modules/Extensions/Exporting/Exporting.js +35 -48
  159. package/es-modules/Extensions/Exporting/ExportingDefaults.js +8 -15
  160. package/es-modules/Extensions/FullScreen.js +4 -3
  161. package/es-modules/Extensions/GeoJSON.js +42 -66
  162. package/es-modules/Extensions/MarkerClusters.js +118 -98
  163. package/es-modules/Extensions/Math3D.js +4 -4
  164. package/es-modules/Extensions/NoDataToDisplay.js +1 -2
  165. package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +33 -33
  166. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  167. package/es-modules/Extensions/Oldie/Oldie.js +14 -79
  168. package/es-modules/Extensions/Oldie/VMLAxis3D.js +5 -1
  169. package/es-modules/Extensions/OverlappingDataLabels.js +10 -6
  170. package/es-modules/Extensions/Pane.js +11 -12
  171. package/es-modules/Extensions/ParallelCoordinates.js +5 -3
  172. package/es-modules/Extensions/PatternFill.js +17 -11
  173. package/es-modules/Extensions/Polar.js +7 -4
  174. package/es-modules/Extensions/PriceIndication.js +2 -1
  175. package/es-modules/Extensions/RangeSelector.js +22 -59
  176. package/es-modules/Extensions/ScrollablePlotArea.js +2 -2
  177. package/es-modules/Extensions/SeriesLabel.js +1 -1
  178. package/es-modules/Extensions/Sonification/ChartSonify.js +279 -663
  179. package/es-modules/Extensions/Sonification/Earcon.js +136 -102
  180. package/es-modules/Extensions/Sonification/Instrument.js +493 -426
  181. package/es-modules/Extensions/Sonification/MusicalFrequencies.js +10 -0
  182. package/es-modules/Extensions/Sonification/Options.js +10 -0
  183. package/es-modules/Extensions/Sonification/PointSonify.js +207 -152
  184. package/es-modules/Extensions/Sonification/SeriesSonify.js +474 -0
  185. package/es-modules/Extensions/Sonification/SignalHandler.js +122 -0
  186. package/es-modules/Extensions/Sonification/Sonification.js +27 -53
  187. package/es-modules/Extensions/Sonification/{Utilities.js → SonificationUtilities.js} +70 -88
  188. package/es-modules/Extensions/Sonification/Timeline.js +250 -567
  189. package/es-modules/Extensions/Sonification/TimelineEvent.js +157 -0
  190. package/es-modules/Extensions/Sonification/TimelinePath.js +311 -0
  191. package/es-modules/Extensions/Stacking.js +5 -23
  192. package/es-modules/Extensions/Themes/BrandDark.js +293 -0
  193. package/es-modules/Extensions/Themes/BrandLight.js +259 -0
  194. package/es-modules/Extensions/Themes/DarkUnica.js +4 -2
  195. package/es-modules/Extensions/Themes/Grid.js +4 -2
  196. package/es-modules/Extensions/Themes/GridLight.js +4 -2
  197. package/es-modules/Gantt/Connection.js +2 -2
  198. package/es-modules/Gantt/Pathfinder.js +6 -5
  199. package/es-modules/Gantt/PathfinderAlgorithms.js +12 -12
  200. package/es-modules/Maps/MapNavigation.js +30 -68
  201. package/es-modules/Maps/MapNavigationOptionsDefault.js +3 -0
  202. package/es-modules/Maps/MapPointer.js +8 -5
  203. package/es-modules/Maps/MapSymbols.js +23 -3
  204. package/es-modules/Maps/MapView.js +450 -0
  205. package/es-modules/Maps/MapViewOptionsDefault.js +97 -0
  206. package/es-modules/Maps/Projection.js +436 -0
  207. package/es-modules/Maps/ProjectionDefinition.js +9 -0
  208. package/es-modules/Maps/Projections/EqualEarth.js +42 -0
  209. package/es-modules/Maps/Projections/LambertConformalConic.js +52 -0
  210. package/es-modules/Maps/Projections/Miller.js +16 -0
  211. package/es-modules/Maps/Projections/Orthographic.js +26 -0
  212. package/es-modules/Maps/Projections/ProjectionRegistry.js +19 -0
  213. package/es-modules/Maps/Projections/WebMercator.js +24 -0
  214. package/es-modules/Series/Area/AreaSeries.js +13 -13
  215. package/es-modules/Series/Area3DSeries.js +4 -2
  216. package/es-modules/Series/AreaRange/AreaRangeSeries.js +28 -17
  217. package/es-modules/Series/Bellcurve/BellcurveSeries.js +4 -9
  218. package/es-modules/Series/BoxPlot/BoxPlotSeries.js +1 -2
  219. package/es-modules/Series/Bubble/BubbleLegendDefaults.js +1 -2
  220. package/es-modules/Series/Bubble/BubbleLegendItem.js +5 -15
  221. package/es-modules/Series/Bubble/BubblePoint.js +5 -0
  222. package/es-modules/Series/Bubble/BubbleSeries.js +90 -50
  223. package/es-modules/Series/Candlestick/CandlestickSeries.js +10 -19
  224. package/es-modules/{Mixins/CenteredSeries.js → Series/CenteredUtilities.js} +45 -23
  225. package/es-modules/{Mixins/ColorMapSeries.js → Series/ColorMapMixin.js} +10 -8
  226. package/es-modules/Series/Column/ColumnDataLabel.js +5 -5
  227. package/es-modules/Series/Column/ColumnSeries.js +19 -18
  228. package/es-modules/Series/Column3D/Column3DComposition.js +1 -2
  229. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +11 -8
  230. package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +2 -1
  231. package/es-modules/Series/Cylinder/CylinderComposition.js +36 -4
  232. package/es-modules/Series/DataModifyComposition.js +539 -0
  233. package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +2 -6
  234. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +1 -1
  235. package/es-modules/Series/DerivedComposition.js +137 -0
  236. package/es-modules/Series/DrawPointComposition.js +111 -0
  237. package/es-modules/Series/Dumbbell/DumbbellPoint.js +0 -1
  238. package/es-modules/Series/Dumbbell/DumbbellSeries.js +2 -6
  239. package/es-modules/Series/ErrorBar/ErrorBarSeries.js +1 -2
  240. package/es-modules/Series/Flags/FlagsSeries.js +18 -25
  241. package/es-modules/Series/Flags/FlagsSymbols.js +2 -2
  242. package/es-modules/Series/Funnel/FunnelSeries.js +6 -5
  243. package/es-modules/Series/Funnel3D/Funnel3DComposition.js +14 -8
  244. package/es-modules/Series/Funnel3D/Funnel3DSeries.js +2 -1
  245. package/es-modules/Series/Gantt/GanttPoint.js +1 -1
  246. package/es-modules/Series/Gantt/GanttSeries.js +3 -3
  247. package/es-modules/Series/Gauge/GaugePoint.js +1 -1
  248. package/es-modules/Series/Gauge/GaugeSeries.js +7 -7
  249. package/es-modules/Series/HLC/HLCPoint.js +55 -0
  250. package/es-modules/Series/HLC/HLCSeries.js +378 -0
  251. package/es-modules/Series/Heatmap/HeatmapPoint.js +13 -14
  252. package/es-modules/Series/Heatmap/HeatmapSeries.js +24 -12
  253. package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +10 -9
  254. package/es-modules/Series/Histogram/HistogramSeries.js +7 -11
  255. package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +1 -4
  256. package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +28 -30
  257. package/es-modules/Series/Item/ItemSeries.js +4 -5
  258. package/es-modules/Series/Line/LineSeries.js +1 -2
  259. package/es-modules/Series/Map/MapPoint.js +27 -14
  260. package/es-modules/Series/Map/MapSeries.js +283 -322
  261. package/es-modules/Series/MapBubble/MapBubblePoint.js +0 -3
  262. package/es-modules/Series/MapBubble/MapBubbleSeries.js +10 -1
  263. package/es-modules/Series/MapLine/MapLineSeries.js +2 -4
  264. package/es-modules/Series/MapPoint/MapPointPoint.js +5 -1
  265. package/es-modules/Series/MapPoint/MapPointSeries.js +99 -14
  266. package/es-modules/Series/Networkgraph/DraggableNodes.js +0 -4
  267. package/es-modules/Series/Networkgraph/Integrations.js +8 -22
  268. package/es-modules/Series/Networkgraph/Networkgraph.js +6 -10
  269. package/es-modules/Series/Networkgraph/QuadTree.js +1 -3
  270. package/es-modules/{Mixins/Nodes.js → Series/NodesComposition.js} +78 -30
  271. package/es-modules/Series/OHLC/OHLCPoint.js +2 -7
  272. package/es-modules/Series/OHLC/OHLCSeries.js +55 -183
  273. package/es-modules/{Mixins/OnSeries.js → Series/OnSeriesComposition.js} +53 -21
  274. package/es-modules/Series/Organization/OrganizationSeries.js +6 -5
  275. package/es-modules/Series/PackedBubble/PackedBubbleComposition.js +1 -0
  276. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
  277. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +48 -10
  278. package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -7
  279. package/es-modules/Series/Pie/PieDataLabel.js +1 -2
  280. package/es-modules/Series/Pie/PiePoint.js +2 -2
  281. package/es-modules/Series/Pie/PieSeries.js +7 -8
  282. package/es-modules/Series/Pie3D/Pie3DComposition.js +2 -1
  283. package/es-modules/Series/Pie3D/Pie3DPoint.js +2 -1
  284. package/es-modules/Series/Pie3D/Pie3DSeries.js +1 -1
  285. package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +2 -1
  286. package/es-modules/Series/Sankey/SankeyPoint.js +0 -4
  287. package/es-modules/Series/Sankey/SankeySeries.js +92 -22
  288. package/es-modules/Series/SolidGauge/SolidGaugeComposition.js +3 -1
  289. package/es-modules/Series/Spline/SplineSeries.js +0 -8
  290. package/es-modules/Series/Sunburst/SunburstPoint.js +2 -3
  291. package/es-modules/Series/Sunburst/SunburstSeries.js +6 -6
  292. package/es-modules/Series/Sunburst/SunburstUtilities.js +3 -2
  293. package/es-modules/Series/Tilemap/TilemapPoint.js +2 -5
  294. package/es-modules/Series/Tilemap/TilemapShapes.js +0 -7
  295. package/es-modules/Series/Timeline/TimelineSeries.js +3 -4
  296. package/es-modules/{Mixins/TreeSeries.js → Series/TreeUtilities.js} +88 -78
  297. package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
  298. package/es-modules/Series/Treemap/TreemapSeries.js +22 -25
  299. package/es-modules/Series/Variwide/VariwideSeries.js +5 -1
  300. package/es-modules/Series/Venn/VennPoint.js +16 -7
  301. package/es-modules/Series/Venn/VennSeries.js +11 -17
  302. package/es-modules/Series/Venn/VennUtils.js +551 -439
  303. package/es-modules/Series/Waterfall/WaterfallSeries.js +8 -6
  304. package/es-modules/Series/Windbarb/WindbarbSeries.js +23 -24
  305. package/es-modules/Series/Wordcloud/WordcloudPoint.js +8 -6
  306. package/es-modules/Series/Wordcloud/WordcloudSeries.js +26 -22
  307. package/es-modules/Series/Wordcloud/WordcloudUtils.js +669 -484
  308. package/es-modules/Series/XRange/XRangePoint.js +7 -12
  309. package/es-modules/Series/XRange/XRangeSeries.js +4 -20
  310. package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +15 -6
  311. package/es-modules/Stock/Indicators/AO/AOIndicator.js +2 -3
  312. package/es-modules/Stock/Indicators/APO/APOIndicator.js +14 -20
  313. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +4 -6
  314. package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +11 -13
  315. package/es-modules/Stock/Indicators/ArrayUtilities.js +47 -0
  316. package/es-modules/Stock/Indicators/BB/BBIndicator.js +39 -11
  317. package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +35 -15
  318. package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +6 -12
  319. package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +1 -11
  320. package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +28 -16
  321. package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +18 -11
  322. package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +1 -3
  323. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +6 -6
  324. package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +23 -9
  325. package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +16 -19
  326. package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +32 -14
  327. package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js +2 -2
  328. package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js +2 -2
  329. package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js +2 -2
  330. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +2 -3
  331. package/es-modules/Stock/Indicators/MultipleLinesComposition.js +294 -0
  332. package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +1 -3
  333. package/es-modules/Stock/Indicators/PC/PCIndicator.js +25 -13
  334. package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -11
  335. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +2 -1
  336. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +2 -1
  337. package/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -26
  338. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +32 -50
  339. package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +0 -8
  340. package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +18 -9
  341. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +4 -6
  342. package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +26 -11
  343. package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +6 -12
  344. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +26 -10
  345. package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +19 -7
  346. package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +2 -3
  347. package/es-modules/Stock/StockToolsBindings.js +156 -47
  348. package/es-modules/Stock/StockToolsGui.js +442 -37
  349. package/es-modules/masters/highcharts-3d.src.js +1 -1
  350. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  351. package/es-modules/masters/highcharts-more.src.js +1 -1
  352. package/es-modules/masters/highcharts.src.js +1 -1
  353. package/es-modules/masters/highmaps.src.js +1 -1
  354. package/es-modules/masters/highstock.src.js +1 -1
  355. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  356. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  357. package/es-modules/masters/indicators/ao.src.js +1 -1
  358. package/es-modules/masters/indicators/apo.src.js +1 -1
  359. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  360. package/es-modules/masters/indicators/aroon.src.js +1 -1
  361. package/es-modules/masters/indicators/atr.src.js +1 -1
  362. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  363. package/es-modules/masters/indicators/cci.src.js +1 -1
  364. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  365. package/es-modules/masters/indicators/cmf.src.js +1 -1
  366. package/es-modules/masters/indicators/cmo.src.js +1 -1
  367. package/es-modules/masters/indicators/dema.src.js +1 -1
  368. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  369. package/es-modules/masters/indicators/dmi.src.js +1 -1
  370. package/es-modules/masters/indicators/dpo.src.js +1 -1
  371. package/es-modules/masters/indicators/ema.src.js +4 -10
  372. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  373. package/es-modules/masters/indicators/indicators-all.src.js +2 -2
  374. package/es-modules/masters/indicators/indicators.src.js +2 -1
  375. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  376. package/es-modules/masters/indicators/klinger.src.js +1 -1
  377. package/es-modules/masters/indicators/macd.src.js +1 -1
  378. package/es-modules/masters/indicators/mfi.src.js +1 -1
  379. package/es-modules/masters/indicators/momentum.src.js +1 -1
  380. package/es-modules/masters/indicators/natr.src.js +1 -1
  381. package/es-modules/masters/indicators/obv.src.js +1 -1
  382. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  383. package/es-modules/masters/indicators/ppo.src.js +1 -1
  384. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  385. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  386. package/es-modules/masters/indicators/psar.src.js +1 -1
  387. package/es-modules/masters/indicators/regressions.src.js +1 -1
  388. package/es-modules/masters/indicators/roc.src.js +1 -1
  389. package/es-modules/masters/indicators/rsi.src.js +1 -1
  390. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  391. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  392. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  393. package/es-modules/masters/indicators/tema.src.js +1 -1
  394. package/es-modules/masters/indicators/trendline.src.js +1 -1
  395. package/es-modules/masters/indicators/trix.src.js +1 -1
  396. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  397. package/es-modules/masters/indicators/vwap.src.js +1 -1
  398. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  399. package/es-modules/masters/indicators/wma.src.js +1 -1
  400. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  401. package/es-modules/masters/modules/accessibility.src.js +16 -2
  402. package/es-modules/masters/modules/annotations-advanced.src.js +3 -1
  403. package/es-modules/masters/modules/annotations.src.js +1 -1
  404. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  405. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  406. package/es-modules/masters/modules/boost.src.js +1 -1
  407. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  408. package/es-modules/masters/modules/bullet.src.js +1 -1
  409. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  410. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  411. package/es-modules/masters/modules/cylinder.src.js +1 -1
  412. package/es-modules/masters/modules/data.src.js +6 -3
  413. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  414. package/es-modules/masters/modules/debugger.src.js +1 -1
  415. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  416. package/es-modules/masters/modules/dotplot.src.js +1 -1
  417. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  418. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  419. package/es-modules/masters/modules/drilldown.src.js +1 -1
  420. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  421. package/es-modules/masters/modules/export-data.src.js +1 -1
  422. package/es-modules/masters/modules/exporting.src.js +1 -1
  423. package/es-modules/masters/modules/full-screen.src.js +1 -1
  424. package/es-modules/masters/modules/funnel.src.js +1 -1
  425. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  426. package/es-modules/masters/modules/gantt.src.js +1 -1
  427. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  428. package/es-modules/masters/modules/heatmap.src.js +1 -2
  429. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  430. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  431. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  432. package/es-modules/masters/modules/item-series.src.js +1 -1
  433. package/es-modules/masters/modules/lollipop.src.js +1 -1
  434. package/es-modules/masters/modules/map.src.js +1 -3
  435. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  436. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  437. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  438. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  439. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  440. package/es-modules/masters/modules/oldie.src.js +1 -1
  441. package/es-modules/masters/modules/organization.src.js +1 -1
  442. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  443. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  444. package/es-modules/masters/modules/pareto.src.js +1 -1
  445. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  446. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  447. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  448. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  449. package/es-modules/masters/modules/sankey.src.js +1 -1
  450. package/es-modules/masters/modules/series-label.src.js +1 -1
  451. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  452. package/es-modules/masters/modules/sonification.src.js +33 -2
  453. package/es-modules/masters/modules/static-scale.src.js +1 -1
  454. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  455. package/es-modules/masters/modules/stock.src.js +4 -1
  456. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  457. package/es-modules/masters/modules/sunburst.src.js +1 -1
  458. package/es-modules/masters/modules/tilemap.src.js +1 -1
  459. package/es-modules/masters/modules/timeline.src.js +1 -1
  460. package/es-modules/masters/modules/treegrid.src.js +1 -1
  461. package/es-modules/masters/modules/treemap.src.js +1 -1
  462. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  463. package/es-modules/masters/modules/variwide.src.js +1 -1
  464. package/es-modules/masters/modules/vector.src.js +1 -1
  465. package/es-modules/masters/modules/venn.src.js +1 -1
  466. package/es-modules/masters/modules/windbarb.src.js +1 -1
  467. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  468. package/es-modules/masters/modules/xrange.src.js +1 -1
  469. package/es-modules/masters/themes/avocado.src.js +1 -1
  470. package/es-modules/masters/themes/brand-dark.src.js +14 -0
  471. package/es-modules/masters/themes/brand-light.src.js +14 -0
  472. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  473. package/es-modules/masters/themes/dark-green.src.js +1 -1
  474. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  475. package/es-modules/masters/themes/gray.src.js +1 -1
  476. package/es-modules/masters/themes/grid-light.src.js +1 -1
  477. package/es-modules/masters/themes/grid.src.js +1 -1
  478. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  479. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  480. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  481. package/es-modules/masters/themes/skies.src.js +1 -1
  482. package/es-modules/masters/themes/sunset.src.js +1 -1
  483. package/highcharts-3d.js +1 -1
  484. package/highcharts-3d.js.map +1 -1
  485. package/highcharts-3d.src.js +65 -35
  486. package/highcharts-gantt.js +800 -803
  487. package/highcharts-gantt.js.map +1 -1
  488. package/highcharts-gantt.src.js +1359 -1429
  489. package/highcharts-more.js +194 -193
  490. package/highcharts-more.js.map +1 -1
  491. package/highcharts-more.src.js +280 -222
  492. package/highcharts.d.ts +10228 -768
  493. package/highcharts.js +585 -588
  494. package/highcharts.js.map +1 -1
  495. package/highcharts.src.d.ts +10228 -768
  496. package/highcharts.src.js +995 -1066
  497. package/highmaps.js +727 -707
  498. package/highmaps.js.map +1 -1
  499. package/highmaps.src.js +3243 -2135
  500. package/highstock.js +788 -783
  501. package/highstock.js.map +1 -1
  502. package/highstock.src.js +2492 -1981
  503. package/indicators/acceleration-bands.d.ts +17 -1
  504. package/indicators/acceleration-bands.js +11 -9
  505. package/indicators/acceleration-bands.js.map +1 -1
  506. package/indicators/acceleration-bands.src.d.ts +17 -1
  507. package/indicators/acceleration-bands.src.js +238 -112
  508. package/indicators/accumulation-distribution.js +1 -1
  509. package/indicators/accumulation-distribution.src.js +1 -1
  510. package/indicators/ao.js +6 -6
  511. package/indicators/ao.js.map +1 -1
  512. package/indicators/ao.src.js +4 -4
  513. package/indicators/apo.js +5 -6
  514. package/indicators/apo.js.map +1 -1
  515. package/indicators/apo.src.js +16 -84
  516. package/indicators/aroon-oscillator.d.ts +17 -1
  517. package/indicators/aroon-oscillator.js +10 -9
  518. package/indicators/aroon-oscillator.js.map +1 -1
  519. package/indicators/aroon-oscillator.src.d.ts +17 -1
  520. package/indicators/aroon-oscillator.src.js +230 -177
  521. package/indicators/aroon.d.ts +17 -1
  522. package/indicators/aroon.js +11 -9
  523. package/indicators/aroon.js.map +1 -1
  524. package/indicators/aroon.src.d.ts +17 -1
  525. package/indicators/aroon.src.js +227 -112
  526. package/indicators/atr.js +1 -1
  527. package/indicators/atr.src.js +1 -1
  528. package/indicators/bollinger-bands.d.ts +17 -1
  529. package/indicators/bollinger-bands.js +12 -9
  530. package/indicators/bollinger-bands.js.map +1 -1
  531. package/indicators/bollinger-bands.src.d.ts +17 -1
  532. package/indicators/bollinger-bands.src.js +262 -117
  533. package/indicators/cci.js +1 -1
  534. package/indicators/cci.src.js +1 -1
  535. package/indicators/chaikin.js +8 -9
  536. package/indicators/chaikin.js.map +1 -1
  537. package/indicators/chaikin.src.js +8 -76
  538. package/indicators/cmf.js +1 -1
  539. package/indicators/cmf.js.map +1 -1
  540. package/indicators/cmf.src.js +36 -16
  541. package/indicators/cmo.js +1 -1
  542. package/indicators/cmo.src.js +1 -1
  543. package/indicators/dema.js +5 -6
  544. package/indicators/dema.js.map +1 -1
  545. package/indicators/dema.src.js +3 -75
  546. package/indicators/disparity-index.js +6 -7
  547. package/indicators/disparity-index.js.map +1 -1
  548. package/indicators/disparity-index.src.js +20 -74
  549. package/indicators/dmi.js +12 -11
  550. package/indicators/dmi.js.map +1 -1
  551. package/indicators/dmi.src.js +252 -121
  552. package/indicators/dpo.js +1 -1
  553. package/indicators/dpo.src.js +1 -1
  554. package/indicators/ema.js +1 -13
  555. package/indicators/ema.js.map +1 -1
  556. package/indicators/ema.src.js +7 -188
  557. package/indicators/ichimoku-kinko-hyo.js +1 -1
  558. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  559. package/indicators/ichimoku-kinko-hyo.src.js +7 -7
  560. package/indicators/indicators-all.d.ts +17 -1
  561. package/indicators/indicators-all.js +198 -203
  562. package/indicators/indicators-all.js.map +1 -1
  563. package/indicators/indicators-all.src.d.ts +17 -1
  564. package/indicators/indicators-all.src.js +892 -777
  565. package/indicators/indicators.js +12 -12
  566. package/indicators/indicators.js.map +1 -1
  567. package/indicators/indicators.src.js +213 -144
  568. package/indicators/keltner-channels.d.ts +17 -1
  569. package/indicators/keltner-channels.js +11 -10
  570. package/indicators/keltner-channels.js.map +1 -1
  571. package/indicators/keltner-channels.src.d.ts +17 -1
  572. package/indicators/keltner-channels.src.js +246 -118
  573. package/indicators/klinger.js +14 -13
  574. package/indicators/klinger.js.map +1 -1
  575. package/indicators/klinger.src.js +239 -187
  576. package/indicators/macd.js +2 -2
  577. package/indicators/macd.js.map +1 -1
  578. package/indicators/macd.src.js +3 -4
  579. package/indicators/mfi.js +1 -1
  580. package/indicators/mfi.src.js +1 -1
  581. package/indicators/momentum.js +1 -1
  582. package/indicators/momentum.src.js +1 -1
  583. package/indicators/natr.js +3 -3
  584. package/indicators/natr.js.map +1 -1
  585. package/indicators/natr.src.js +2 -4
  586. package/indicators/obv.js +1 -1
  587. package/indicators/obv.src.js +1 -1
  588. package/indicators/pivot-points.js +1 -1
  589. package/indicators/pivot-points.js.map +1 -1
  590. package/indicators/pivot-points.src.js +3 -2
  591. package/indicators/ppo.js +5 -6
  592. package/indicators/ppo.js.map +1 -1
  593. package/indicators/ppo.src.js +3 -75
  594. package/indicators/price-channel.d.ts +17 -1
  595. package/indicators/price-channel.js +11 -9
  596. package/indicators/price-channel.js.map +1 -1
  597. package/indicators/price-channel.src.d.ts +17 -1
  598. package/indicators/price-channel.src.js +288 -168
  599. package/indicators/price-envelopes.js +1 -1
  600. package/indicators/price-envelopes.src.js +1 -1
  601. package/indicators/psar.js +1 -1
  602. package/indicators/psar.src.js +1 -1
  603. package/indicators/regressions.js +1 -1
  604. package/indicators/regressions.js.map +1 -1
  605. package/indicators/regressions.src.js +39 -21
  606. package/indicators/roc.js +1 -1
  607. package/indicators/roc.src.js +1 -1
  608. package/indicators/rsi.js +1 -1
  609. package/indicators/rsi.js.map +1 -1
  610. package/indicators/rsi.src.js +3 -2
  611. package/indicators/slow-stochastic.js +5 -6
  612. package/indicators/slow-stochastic.js.map +1 -1
  613. package/indicators/slow-stochastic.src.js +2 -72
  614. package/indicators/stochastic.d.ts +17 -1
  615. package/indicators/stochastic.js +12 -10
  616. package/indicators/stochastic.js.map +1 -1
  617. package/indicators/stochastic.src.d.ts +17 -1
  618. package/indicators/stochastic.src.js +282 -165
  619. package/indicators/supertrend.js +10 -10
  620. package/indicators/supertrend.js.map +1 -1
  621. package/indicators/supertrend.src.js +6 -7
  622. package/indicators/tema.js +6 -7
  623. package/indicators/tema.js.map +1 -1
  624. package/indicators/tema.src.js +28 -75
  625. package/indicators/trendline.js +1 -1
  626. package/indicators/trendline.src.js +1 -1
  627. package/indicators/trix.js +4 -5
  628. package/indicators/trix.js.map +1 -1
  629. package/indicators/trix.src.js +8 -76
  630. package/indicators/volume-by-price.js +16 -16
  631. package/indicators/volume-by-price.js.map +1 -1
  632. package/indicators/volume-by-price.src.js +27 -10
  633. package/indicators/vwap.js +1 -1
  634. package/indicators/vwap.js.map +1 -1
  635. package/indicators/vwap.src.js +20 -8
  636. package/indicators/williams-r.js +5 -6
  637. package/indicators/williams-r.js.map +1 -1
  638. package/indicators/williams-r.src.js +41 -51
  639. package/indicators/wma.js +1 -1
  640. package/indicators/wma.src.js +1 -1
  641. package/indicators/zigzag.js +1 -1
  642. package/indicators/zigzag.src.js +1 -1
  643. package/modules/accessibility.d.ts +0 -30
  644. package/modules/accessibility.js +240 -216
  645. package/modules/accessibility.js.map +1 -1
  646. package/modules/accessibility.src.d.ts +0 -30
  647. package/modules/accessibility.src.js +7807 -6400
  648. package/modules/annotations-advanced.d.ts +30 -0
  649. package/modules/annotations-advanced.js +192 -165
  650. package/modules/annotations-advanced.js.map +1 -1
  651. package/modules/annotations-advanced.src.d.ts +30 -0
  652. package/modules/annotations-advanced.src.js +1716 -416
  653. package/modules/annotations.js +125 -110
  654. package/modules/annotations.js.map +1 -1
  655. package/modules/annotations.src.js +1059 -304
  656. package/modules/arrow-symbols.js +1 -1
  657. package/modules/arrow-symbols.src.js +1 -1
  658. package/modules/boost-canvas.js +15 -15
  659. package/modules/boost-canvas.js.map +1 -1
  660. package/modules/boost-canvas.src.js +3 -3
  661. package/modules/boost.js +79 -79
  662. package/modules/boost.js.map +1 -1
  663. package/modules/boost.src.js +42 -51
  664. package/modules/broken-axis.js +1 -1
  665. package/modules/broken-axis.js.map +1 -1
  666. package/modules/broken-axis.src.js +18 -12
  667. package/modules/bullet.js +1 -1
  668. package/modules/bullet.src.js +1 -1
  669. package/modules/coloraxis.js +24 -24
  670. package/modules/coloraxis.js.map +1 -1
  671. package/modules/coloraxis.src.js +77 -103
  672. package/modules/current-date-indicator.js +4 -4
  673. package/modules/current-date-indicator.js.map +1 -1
  674. package/modules/current-date-indicator.src.js +4 -4
  675. package/modules/cylinder.js +1 -1
  676. package/modules/cylinder.js.map +1 -1
  677. package/modules/cylinder.src.js +37 -5
  678. package/modules/data.d.ts +6 -6
  679. package/modules/data.js +32 -32
  680. package/modules/data.js.map +1 -1
  681. package/modules/data.src.d.ts +6 -6
  682. package/modules/data.src.js +94 -140
  683. package/modules/datagrouping.js +20 -20
  684. package/modules/datagrouping.js.map +1 -1
  685. package/modules/datagrouping.src.js +56 -33
  686. package/modules/debugger.js +3 -3
  687. package/modules/debugger.js.map +1 -1
  688. package/modules/debugger.src.js +3 -3
  689. package/modules/dependency-wheel.js +11 -11
  690. package/modules/dependency-wheel.js.map +1 -1
  691. package/modules/dependency-wheel.src.js +5 -8
  692. package/modules/dotplot.js +1 -1
  693. package/modules/dotplot.src.js +1 -1
  694. package/modules/drag-panes.js +8 -8
  695. package/modules/drag-panes.js.map +1 -1
  696. package/modules/drag-panes.src.js +3 -3
  697. package/modules/draggable-points.js +1 -1
  698. package/modules/draggable-points.js.map +1 -1
  699. package/modules/draggable-points.src.js +8 -9
  700. package/modules/drilldown.js +24 -24
  701. package/modules/drilldown.js.map +1 -1
  702. package/modules/drilldown.src.js +13 -8
  703. package/modules/dumbbell.js +17 -17
  704. package/modules/dumbbell.js.map +1 -1
  705. package/modules/dumbbell.src.js +4 -8
  706. package/modules/export-data.js +19 -19
  707. package/modules/export-data.js.map +1 -1
  708. package/modules/export-data.src.js +9 -8
  709. package/modules/exporting.js +39 -38
  710. package/modules/exporting.js.map +1 -1
  711. package/modules/exporting.src.js +134 -116
  712. package/modules/full-screen.js +1 -1
  713. package/modules/full-screen.js.map +1 -1
  714. package/modules/full-screen.src.js +5 -4
  715. package/modules/funnel.js +12 -12
  716. package/modules/funnel.js.map +1 -1
  717. package/modules/funnel.src.js +9 -6
  718. package/modules/funnel3d.js +1 -1
  719. package/modules/funnel3d.js.map +1 -1
  720. package/modules/funnel3d.src.js +17 -10
  721. package/modules/gantt.js +217 -218
  722. package/modules/gantt.js.map +1 -1
  723. package/modules/gantt.src.js +364 -363
  724. package/modules/grid-axis.js +1 -1
  725. package/modules/grid-axis.js.map +1 -1
  726. package/modules/grid-axis.src.js +27 -19
  727. package/modules/heatmap.js +39 -39
  728. package/modules/heatmap.js.map +1 -1
  729. package/modules/heatmap.src.js +132 -141
  730. package/modules/heikinashi.js +1 -1
  731. package/modules/heikinashi.js.map +1 -1
  732. package/modules/heikinashi.src.js +12 -10
  733. package/modules/histogram-bellcurve.js +13 -13
  734. package/modules/histogram-bellcurve.js.map +1 -1
  735. package/modules/histogram-bellcurve.src.js +97 -91
  736. package/modules/hollowcandlestick.js +9 -9
  737. package/modules/hollowcandlestick.js.map +1 -1
  738. package/modules/hollowcandlestick.src.js +31 -35
  739. package/modules/item-series.js +6 -6
  740. package/modules/item-series.js.map +1 -1
  741. package/modules/item-series.src.js +6 -6
  742. package/modules/lollipop.js +1 -1
  743. package/modules/lollipop.src.js +1 -1
  744. package/modules/map.d.ts +138 -14
  745. package/modules/map.js +144 -122
  746. package/modules/map.js.map +1 -1
  747. package/modules/map.src.d.ts +138 -14
  748. package/modules/map.src.js +2253 -1074
  749. package/modules/marker-clusters.js +36 -36
  750. package/modules/marker-clusters.js.map +1 -1
  751. package/modules/marker-clusters.src.js +176 -143
  752. package/modules/networkgraph.d.ts +12 -1
  753. package/modules/networkgraph.js +49 -49
  754. package/modules/networkgraph.js.map +1 -1
  755. package/modules/networkgraph.src.d.ts +12 -1
  756. package/modules/networkgraph.src.js +103 -78
  757. package/modules/no-data-to-display.js +5 -5
  758. package/modules/no-data-to-display.js.map +1 -1
  759. package/modules/no-data-to-display.src.js +3 -3
  760. package/modules/offline-exporting.js +18 -17
  761. package/modules/offline-exporting.js.map +1 -1
  762. package/modules/offline-exporting.src.js +39 -44
  763. package/modules/oldie-polyfills.js +1 -1
  764. package/modules/oldie-polyfills.src.js +1 -1
  765. package/modules/oldie.js +26 -26
  766. package/modules/oldie.js.map +1 -1
  767. package/modules/oldie.src.js +21 -81
  768. package/modules/organization.js +13 -13
  769. package/modules/organization.js.map +1 -1
  770. package/modules/organization.src.js +8 -6
  771. package/modules/overlapping-datalabels.js +1 -1
  772. package/modules/overlapping-datalabels.src.js +1 -1
  773. package/modules/parallel-coordinates.js +1 -1
  774. package/modules/parallel-coordinates.js.map +1 -1
  775. package/modules/parallel-coordinates.src.js +6 -4
  776. package/modules/pareto.js +7 -7
  777. package/modules/pareto.js.map +1 -1
  778. package/modules/pareto.src.js +89 -78
  779. package/modules/pathfinder.js +1 -1
  780. package/modules/pathfinder.js.map +1 -1
  781. package/modules/pathfinder.src.js +21 -20
  782. package/modules/pattern-fill.js +1 -1
  783. package/modules/pattern-fill.js.map +1 -1
  784. package/modules/pattern-fill.src.js +18 -12
  785. package/modules/price-indicator.js +1 -1
  786. package/modules/price-indicator.js.map +1 -1
  787. package/modules/price-indicator.src.js +3 -2
  788. package/modules/pyramid3d.js +1 -1
  789. package/modules/pyramid3d.js.map +1 -1
  790. package/modules/pyramid3d.src.js +3 -2
  791. package/modules/sankey.d.ts +12 -1
  792. package/modules/sankey.js +29 -29
  793. package/modules/sankey.js.map +1 -1
  794. package/modules/sankey.src.d.ts +12 -1
  795. package/modules/sankey.src.js +307 -181
  796. package/modules/series-label.js +1 -1
  797. package/modules/series-label.js.map +1 -1
  798. package/modules/series-label.src.js +2 -2
  799. package/modules/solid-gauge.js +1 -1
  800. package/modules/solid-gauge.js.map +1 -1
  801. package/modules/solid-gauge.src.js +17 -2
  802. package/modules/sonification.js +59 -55
  803. package/modules/sonification.js.map +1 -1
  804. package/modules/sonification.src.js +3093 -2594
  805. package/modules/static-scale.js +1 -1
  806. package/modules/static-scale.src.js +1 -1
  807. package/modules/stock-tools.js +178 -163
  808. package/modules/stock-tools.js.map +1 -1
  809. package/modules/stock-tools.src.js +1136 -229
  810. package/modules/stock.d.ts +39 -6
  811. package/modules/stock.js +204 -196
  812. package/modules/stock.js.map +1 -1
  813. package/modules/stock.src.d.ts +39 -6
  814. package/modules/stock.src.js +1822 -1240
  815. package/modules/streamgraph.js +1 -1
  816. package/modules/streamgraph.src.js +1 -1
  817. package/modules/sunburst.js +60 -60
  818. package/modules/sunburst.js.map +1 -1
  819. package/modules/sunburst.src.js +281 -248
  820. package/modules/tilemap.js +17 -17
  821. package/modules/tilemap.js.map +1 -1
  822. package/modules/tilemap.src.js +3 -13
  823. package/modules/timeline.js +18 -18
  824. package/modules/timeline.js.map +1 -1
  825. package/modules/timeline.src.js +5 -5
  826. package/modules/treegrid.js +56 -57
  827. package/modules/treegrid.js.map +1 -1
  828. package/modules/treegrid.src.js +201 -169
  829. package/modules/treemap.js +41 -41
  830. package/modules/treemap.js.map +1 -1
  831. package/modules/treemap.src.js +266 -232
  832. package/modules/variable-pie.js +1 -1
  833. package/modules/variable-pie.src.js +1 -1
  834. package/modules/variwide.js +1 -1
  835. package/modules/variwide.js.map +1 -1
  836. package/modules/variwide.src.js +7 -3
  837. package/modules/vector.js +1 -1
  838. package/modules/vector.src.js +1 -1
  839. package/modules/venn.js +31 -31
  840. package/modules/venn.js.map +1 -1
  841. package/modules/venn.src.js +740 -731
  842. package/modules/windbarb.js +15 -15
  843. package/modules/windbarb.js.map +1 -1
  844. package/modules/windbarb.src.js +90 -62
  845. package/modules/wordcloud.js +23 -24
  846. package/modules/wordcloud.js.map +1 -1
  847. package/modules/wordcloud.src.js +898 -954
  848. package/modules/xrange.js +2 -2
  849. package/modules/xrange.js.map +1 -1
  850. package/modules/xrange.src.js +12 -33
  851. package/package.json +1 -1
  852. package/themes/avocado.js +1 -1
  853. package/themes/avocado.src.js +1 -1
  854. package/themes/brand-dark.js +15 -0
  855. package/themes/brand-dark.js.map +1 -0
  856. package/themes/brand-dark.src.js +328 -0
  857. package/themes/brand-light.js +15 -0
  858. package/themes/brand-light.js.map +1 -0
  859. package/themes/brand-light.src.js +294 -0
  860. package/themes/dark-blue.js +1 -1
  861. package/themes/dark-blue.src.js +1 -1
  862. package/themes/dark-green.js +1 -1
  863. package/themes/dark-green.src.js +1 -1
  864. package/themes/dark-unica.js +1 -1
  865. package/themes/dark-unica.js.map +1 -1
  866. package/themes/dark-unica.src.js +5 -3
  867. package/themes/gray.js +1 -1
  868. package/themes/gray.src.js +1 -1
  869. package/themes/grid-light.js +1 -1
  870. package/themes/grid-light.js.map +1 -1
  871. package/themes/grid-light.src.js +5 -3
  872. package/themes/grid.js +1 -1
  873. package/themes/grid.js.map +1 -1
  874. package/themes/grid.src.js +5 -3
  875. package/themes/high-contrast-dark.js +1 -1
  876. package/themes/high-contrast-dark.src.js +1 -1
  877. package/themes/high-contrast-light.js +1 -1
  878. package/themes/high-contrast-light.src.js +1 -1
  879. package/themes/sand-signika.js +1 -1
  880. package/themes/sand-signika.src.js +1 -1
  881. package/themes/skies.js +1 -1
  882. package/themes/skies.src.js +1 -1
  883. package/themes/sunset.js +1 -1
  884. package/themes/sunset.src.js +1 -1
  885. package/es-modules/Core/Axis/MapAxis.js +0 -157
  886. package/es-modules/Core/Color/Palette.js +0 -82
  887. package/es-modules/Extensions/Sonification/InstrumentDefinitions.js +0 -32
  888. package/es-modules/Mixins/ColorSeries.js +0 -77
  889. package/es-modules/Mixins/DerivedSeries.js +0 -118
  890. package/es-modules/Mixins/DrawPoint.js +0 -81
  891. package/es-modules/Mixins/IndicatorRequired.js +0 -56
  892. package/es-modules/Mixins/MultipleLines.js +0 -181
  893. package/es-modules/Mixins/Navigation.js +0 -54
  894. package/es-modules/Mixins/NelderMead.js +0 -132
  895. package/es-modules/Mixins/Polygon.js +0 -259
  896. package/es-modules/Mixins/ReduceArray.js +0 -54
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts JS v9.2.1 (2021-08-19)
2
+ * @license Highcharts JS v9.3.2 (2021-11-29)
3
3
  *
4
4
  * (c) 2009-2021 Torstein Honsi
5
5
  *
@@ -26,7 +26,7 @@
26
26
  obj[path] = fn.apply(null, args);
27
27
  }
28
28
  }
29
- _registerModule(_modules, 'Extensions/Pane.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Globals.js'], _modules['Core/Color/Palette.js'], _modules['Core/Pointer.js'], _modules['Core/Utilities.js'], _modules['Mixins/CenteredSeries.js']], function (Chart, H, palette, Pointer, U, centeredSeriesMixin) {
29
+ _registerModule(_modules, 'Extensions/Pane.js', [_modules['Core/Chart/Chart.js'], _modules['Series/CenteredUtilities.js'], _modules['Core/Globals.js'], _modules['Core/Pointer.js'], _modules['Core/Utilities.js']], function (Chart, CU, H, Pointer, U) {
30
30
  /* *
31
31
  *
32
32
  * (c) 2010-2021 Torstein Honsi
@@ -185,7 +185,7 @@
185
185
  * @since 2.3.0
186
186
  * @product highcharts
187
187
  */
188
- borderColor: palette.neutralColor20,
188
+ borderColor: "#cccccc" /* neutralColor20 */,
189
189
  /**
190
190
  * The background color or gradient for the pane.
191
191
  *
@@ -199,8 +199,8 @@
199
199
  linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
200
200
  /** @ignore-option */
201
201
  stops: [
202
- [0, palette.backgroundColor],
203
- [1, palette.neutralColor10]
202
+ [0, "#ffffff" /* backgroundColor */],
203
+ [1, "#e6e6e6" /* neutralColor10 */]
204
204
  ]
205
205
  },
206
206
  /** @ignore-option */
@@ -329,12 +329,11 @@
329
329
  * @private
330
330
  * @function Highcharts.Pane#updateCenter
331
331
  * @param {Highcharts.Axis} [axis]
332
- * @return {void}
333
332
  */
334
333
  Pane.prototype.updateCenter = function (axis) {
335
334
  this.center = (axis ||
336
335
  this.axis ||
337
- {}).center = centeredSeriesMixin.getCenter.call(this);
336
+ {}).center = CU.getCenter.call(this);
338
337
  };
339
338
  /**
340
339
  * Destroy the pane item
@@ -360,7 +359,6 @@
360
359
  * @param {Highcharts.PaneOptions} options
361
360
  * New pane options
362
361
  * @param {boolean} [redraw]
363
- * @return {void}
364
362
  */
365
363
  Pane.prototype.update = function (options, redraw) {
366
364
  merge(true, this.options, options);
@@ -378,10 +376,12 @@
378
376
  /**
379
377
  * Check whether element is inside or outside pane.
380
378
  * @private
381
- * @param {number} x Element's x coordinate
382
- * @param {number} y Element's y coordinate
383
- * @param {Array<number>} center Pane's center (x, y) and diameter
384
- * @return {boolean}
379
+ * @param {number} x
380
+ * Element's x coordinate
381
+ * @param {number} y
382
+ * Element's y coordinate
383
+ * @param {Array<number>} center
384
+ * Pane's center (x, y) and diameter
385
385
  */
386
386
  function isInsidePane(x, y, center) {
387
387
  return Math.sqrt(Math.pow(x - center[0], 2) + Math.pow(y - center[1], 2)) <= center[2] / 2;
@@ -645,8 +645,6 @@
645
645
  * anti-collision.
646
646
  *
647
647
  * @private
648
- *
649
- * @return {Highcharts.ChartLabelCollectorFunction}
650
648
  */
651
649
  function createLabelCollector() {
652
650
  var _this = this;
@@ -724,17 +722,12 @@
724
722
  * getPlotLinePath method.
725
723
  *
726
724
  * @private
727
- *
728
725
  * @param {number} _lineWidth
729
726
  * Line width is not used.
730
- *
731
727
  * @param {number} [radius]
732
728
  * Radius of radial path.
733
- *
734
729
  * @param {number} [innerRadius]
735
730
  * Inner radius of radial path.
736
- *
737
- * @return {Highcharts.RadialAxisPath}
738
731
  */
739
732
  function getLinePath(_lineWidth, radius, innerRadius) {
740
733
  var center = this.pane.center,
@@ -767,7 +760,11 @@
767
760
  else {
768
761
  end = this.postTranslate(this.angleRad, r);
769
762
  path = [
770
- ['M', this.center[0] + chart.plotLeft, this.center[1] + chart.plotTop],
763
+ [
764
+ 'M',
765
+ this.center[0] + chart.plotLeft,
766
+ this.center[1] + chart.plotTop
767
+ ],
771
768
  ['L', end.x, end.y]
772
769
  ];
773
770
  }
@@ -789,17 +786,6 @@
789
786
  * Find the path for plot bands along the radial axis.
790
787
  *
791
788
  * @private
792
- *
793
- * @param {number} from
794
- * From value.
795
- *
796
- * @param {number} to
797
- * To value.
798
- *
799
- * @param {Highcharts.AxisPlotBandsOptions} options
800
- * Band options.
801
- *
802
- * @return {Highcharts.RadialAxisPath}
803
789
  */
804
790
  function getPlotBandPath(from, to, options) {
805
791
  var chart = this.chart,
@@ -994,14 +980,10 @@
994
980
  * distance from center.
995
981
  *
996
982
  * @private
997
- *
998
983
  * @param {number} value
999
984
  * Point value.
1000
- *
1001
985
  * @param {number} [length]
1002
986
  * Distance from center.
1003
- *
1004
- * @return {Highcharts.PositionObject}
1005
987
  */
1006
988
  function getPosition(value, length) {
1007
989
  var translatedVal = this.translate(value);
@@ -1162,7 +1144,8 @@
1162
1144
  AxisDefaults.defaultYAxisOptions, defaultRadialOptions);
1163
1145
  // Apply the stack labels for yAxis in case of inverted chart
1164
1146
  if (inverted && coll === 'yAxis') {
1165
- this.defaultPolarOptions.stackLabels = AxisDefaults.defaultYAxisOptions.stackLabels;
1147
+ this.defaultPolarOptions.stackLabels = AxisDefaults
1148
+ .defaultYAxisOptions.stackLabels;
1166
1149
  this.defaultPolarOptions.reversedStacks = true;
1167
1150
  }
1168
1151
  }
@@ -1336,14 +1319,10 @@
1336
1319
  * to final chart coordinates.
1337
1320
  *
1338
1321
  * @private
1339
- *
1340
1322
  * @param {number} angle
1341
1323
  * Translation angle.
1342
- *
1343
1324
  * @param {number} radius
1344
1325
  * Translation radius.
1345
- *
1346
- * @return {Highcharts.PositionObject}
1347
1326
  */
1348
1327
  function postTranslate(angle, radius) {
1349
1328
  var chart = this.chart,
@@ -1716,8 +1695,7 @@
1716
1695
  */
1717
1696
  AreaRangeSeries.prototype.translate = function () {
1718
1697
  var series = this,
1719
- yAxis = series.yAxis,
1720
- hasModifyValue = !!series.modifyValue;
1698
+ yAxis = series.yAxis;
1721
1699
  areaProto.translate.apply(series);
1722
1700
  // Set plotLow and plotHigh
1723
1701
  series.points.forEach(function (point) {
@@ -1728,10 +1706,9 @@
1728
1706
  }
1729
1707
  else {
1730
1708
  point.plotLow = plotY;
1731
- point.plotHigh = yAxis.translate(hasModifyValue ?
1732
- series.modifyValue(high, point) :
1733
- high, 0, 1, 0, 1);
1734
- if (hasModifyValue) {
1709
+ point.plotHigh = yAxis.translate(series.dataModify ?
1710
+ series.dataModify.modifyValue(high) : high, 0, 1, 0, 1);
1711
+ if (series.dataModify) {
1735
1712
  point.yBottom = point.plotHigh;
1736
1713
  }
1737
1714
  }
@@ -1827,11 +1804,17 @@
1827
1804
  // Create a line on both top and bottom of the range
1828
1805
  linePath = []
1829
1806
  .concat(lowerPath, higherPath);
1830
- // For the area path, we need to change the 'move' statement
1831
- // into 'lineTo'
1832
- if (!this.chart.polar && higherAreaPath[0] && higherAreaPath[0][0] === 'M') {
1807
+ // For the area path, we need to change the 'move' statement into
1808
+ // 'lineTo'
1809
+ if (!this.chart.polar &&
1810
+ higherAreaPath[0] &&
1811
+ higherAreaPath[0][0] === 'M') {
1833
1812
  // This probably doesn't work for spline
1834
- higherAreaPath[0] = ['L', higherAreaPath[0][1], higherAreaPath[0][2]];
1813
+ higherAreaPath[0] = [
1814
+ 'L',
1815
+ higherAreaPath[0][1],
1816
+ higherAreaPath[0][2]
1817
+ ];
1835
1818
  }
1836
1819
  this.graphPath = linePath;
1837
1820
  this.areaPath = lowerPath.concat(higherAreaPath);
@@ -1863,13 +1846,17 @@
1863
1846
  //
1864
1847
  // TODO: We want to change this and allow multiple labels for both
1865
1848
  // upper and lower values in the future - introducing some options
1866
- // for which point value to use as Y for the dataLabel, so that
1867
- // this could be handled in Series.drawDataLabels. This would also
1868
- // improve performance since we now have to loop over all the
1869
- // points multiple times to work around the data label logic.
1849
+ // for which point value to use as Y for the dataLabel, so that this
1850
+ // could be handled in Series.drawDataLabels. This would also
1851
+ // improve performance since we now have to loop over all the points
1852
+ // multiple times to work around the data label logic.
1870
1853
  if (isArray(dataLabelOptions)) {
1871
- upperDataLabelOptions = dataLabelOptions[0] || { enabled: false };
1872
- lowerDataLabelOptions = dataLabelOptions[1] || { enabled: false };
1854
+ upperDataLabelOptions = dataLabelOptions[0] || {
1855
+ enabled: false
1856
+ };
1857
+ lowerDataLabelOptions = dataLabelOptions[1] || {
1858
+ enabled: false
1859
+ };
1873
1860
  }
1874
1861
  else {
1875
1862
  // Make copies
@@ -1902,7 +1889,8 @@
1902
1889
  point.below = up;
1903
1890
  if (inverted) {
1904
1891
  if (!upperDataLabelOptions.align) {
1905
- upperDataLabelOptions.align = up ? 'right' : 'left';
1892
+ upperDataLabelOptions.align = up ?
1893
+ 'right' : 'left';
1906
1894
  }
1907
1895
  }
1908
1896
  else {
@@ -1947,7 +1935,8 @@
1947
1935
  point.below = !up;
1948
1936
  if (inverted) {
1949
1937
  if (!lowerDataLabelOptions.align) {
1950
- lowerDataLabelOptions.align = up ? 'left' : 'right';
1938
+ lowerDataLabelOptions.align = up ?
1939
+ 'left' : 'right';
1951
1940
  }
1952
1941
  }
1953
1942
  else {
@@ -2489,7 +2478,7 @@
2489
2478
 
2490
2479
  return AreaSplineRangeSeries;
2491
2480
  });
2492
- _registerModule(_modules, 'Series/BoxPlot/BoxPlotSeries.js', [_modules['Series/Column/ColumnSeries.js'], _modules['Core/Globals.js'], _modules['Core/Color/Palette.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (ColumnSeries, H, palette, SeriesRegistry, U) {
2481
+ _registerModule(_modules, 'Series/BoxPlot/BoxPlotSeries.js', [_modules['Series/Column/ColumnSeries.js'], _modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (ColumnSeries, H, SeriesRegistry, U) {
2493
2482
  /* *
2494
2483
  *
2495
2484
  * (c) 2010-2021 Torstein Honsi
@@ -2805,7 +2794,7 @@
2805
2794
  * @since 3.0
2806
2795
  * @product highcharts
2807
2796
  */
2808
- fillColor: palette.backgroundColor,
2797
+ fillColor: "#ffffff" /* backgroundColor */,
2809
2798
  /**
2810
2799
  * The width of the line surrounding the box. If any of
2811
2800
  * [stemWidth](#plotOptions.boxplot.stemWidth),
@@ -3202,7 +3191,7 @@
3202
3191
 
3203
3192
  return BoxPlotSeries;
3204
3193
  });
3205
- _registerModule(_modules, 'Series/Bubble/BubbleLegendDefaults.js', [_modules['Core/Color/Palette.js']], function (Palette) {
3194
+ _registerModule(_modules, 'Series/Bubble/BubbleLegendDefaults.js', [], function () {
3206
3195
  /* *
3207
3196
  *
3208
3197
  * (c) 2010-2021 Highsoft AS
@@ -3375,7 +3364,7 @@
3375
3364
  /** @ignore-option */
3376
3365
  fontSize: '10px',
3377
3366
  /** @ignore-option */
3378
- color: Palette.neutralColor100
3367
+ color: "#000000" /* neutralColor100 */
3379
3368
  },
3380
3369
  /**
3381
3370
  * The x position offset of the label relative to the
@@ -3567,7 +3556,6 @@
3567
3556
  * Bubble legend options
3568
3557
  * @param {Highcharts.Legend} legend
3569
3558
  * Legend
3570
- * @return {void}
3571
3559
  */
3572
3560
  BubbleLegendItem.prototype.init = function (options, legend) {
3573
3561
  this.options = options;
@@ -3580,9 +3568,8 @@
3580
3568
  *
3581
3569
  * @private
3582
3570
  * @function Highcharts.BubbleLegend#addToLegend
3583
- * @param {Array<(Highcharts.Point|Highcharts.Series)>}
3584
- * All legend items
3585
- * @return {void}
3571
+ * @param {Array<(Highcharts.Point|Highcharts.Series)>} items
3572
+ * All legend items
3586
3573
  */
3587
3574
  BubbleLegendItem.prototype.addToLegend = function (items) {
3588
3575
  // Insert bubbleLegend into legend items
@@ -3596,7 +3583,6 @@
3596
3583
  * @function Highcharts.BubbleLegend#drawLegendSymbol
3597
3584
  * @param {Highcharts.Legend} legend
3598
3585
  * Legend instance
3599
- * @return {void}
3600
3586
  */
3601
3587
  BubbleLegendItem.prototype.drawLegendSymbol = function (legend) {
3602
3588
  var chart = this.chart,
@@ -3639,7 +3625,6 @@
3639
3625
  *
3640
3626
  * @private
3641
3627
  * @function Highcharts.BubbleLegend#setOptions
3642
- * @return {void}
3643
3628
  */
3644
3629
  BubbleLegendItem.prototype.setOptions = function () {
3645
3630
  var ranges = this.ranges,
@@ -3712,7 +3697,6 @@
3712
3697
  *
3713
3698
  * @private
3714
3699
  * @function Highcharts.BubbleLegend#render
3715
- * @return {void}
3716
3700
  */
3717
3701
  BubbleLegendItem.prototype.render = function () {
3718
3702
  var renderer = this.chart.renderer,
@@ -3747,7 +3731,6 @@
3747
3731
  * @function Highcharts.BubbleLegend#renderRange
3748
3732
  * @param {Highcharts.LegendBubbleLegendRangesOptions} range
3749
3733
  * Range options
3750
- * @return {void}
3751
3734
  */
3752
3735
  BubbleLegendItem.prototype.renderRange = function (range) {
3753
3736
  var mainRange = this.ranges[0],
@@ -3829,7 +3812,6 @@
3829
3812
  *
3830
3813
  * @private
3831
3814
  * @function Highcharts.BubbleLegend#getMaxLabelSize
3832
- * @return {Highcharts.BBoxObject}
3833
3815
  */
3834
3816
  BubbleLegendItem.prototype.getMaxLabelSize = function () {
3835
3817
  var labels = this.symbols.labels;
@@ -3872,7 +3854,6 @@
3872
3854
  *
3873
3855
  * @private
3874
3856
  * @function Highcharts.BubbleLegend#hideOverlappingLabels
3875
- * @return {void}
3876
3857
  */
3877
3858
  BubbleLegendItem.prototype.hideOverlappingLabels = function () {
3878
3859
  var chart = this.chart,
@@ -3961,8 +3942,9 @@
3961
3942
  plotSizeX = chart.plotSizeX,
3962
3943
  plotSizeY = chart.plotSizeY,
3963
3944
  bubbleSeries = chart.series[this.options.seriesIndex],
3964
- minSize = Math.ceil(bubbleSeries.minPxSize),
3965
- maxPxSize = Math.ceil(bubbleSeries.maxPxSize),
3945
+ pxSizes = bubbleSeries.getPxExtremes(),
3946
+ minSize = Math.ceil(pxSizes.minPxSize),
3947
+ maxPxSize = Math.ceil(pxSizes.maxPxSize),
3966
3948
  plotSize = Math.min(plotSizeY,
3967
3949
  plotSizeX);
3968
3950
  var calculatedSize,
@@ -3992,7 +3974,6 @@
3992
3974
  * @function Highcharts.BubbleLegend#updateRanges
3993
3975
  * @param {number} min
3994
3976
  * @param {number} max
3995
- * @return {void}
3996
3977
  */
3997
3978
  BubbleLegendItem.prototype.updateRanges = function (min, max) {
3998
3979
  var bubbleLegendOptions = this.legend.options.bubbleLegend;
@@ -4007,17 +3988,17 @@
4007
3988
  *
4008
3989
  * @private
4009
3990
  * @function Highcharts.BubbleLegend#correctSizes
4010
- * @return {void}
4011
3991
  */
4012
3992
  BubbleLegendItem.prototype.correctSizes = function () {
4013
3993
  var legend = this.legend,
4014
3994
  chart = this.chart,
4015
3995
  bubbleSeries = chart.series[this.options.seriesIndex],
4016
- bubbleSeriesSize = bubbleSeries.maxPxSize,
3996
+ pxSizes = bubbleSeries.getPxExtremes(),
3997
+ bubbleSeriesSize = pxSizes.maxPxSize,
4017
3998
  bubbleLegendSize = this.options.maxSize;
4018
3999
  if (Math.abs(Math.ceil(bubbleSeriesSize) - bubbleLegendSize) >
4019
4000
  1) {
4020
- this.updateRanges(this.options.minSize, bubbleSeries.maxPxSize);
4001
+ this.updateRanges(this.options.minSize, pxSizes.maxPxSize);
4021
4002
  legend.render();
4022
4003
  }
4023
4004
  };
@@ -4392,6 +4373,11 @@
4392
4373
  };
4393
4374
  return BubblePoint;
4394
4375
  }(ScatterPoint));
4376
+ /* *
4377
+ *
4378
+ * Class Prototype
4379
+ *
4380
+ * */
4395
4381
  extend(BubblePoint.prototype, {
4396
4382
  ttBelow: false
4397
4383
  });
@@ -4434,14 +4420,14 @@
4434
4420
  var _a = SeriesRegistry.seriesTypes,
4435
4421
  ColumnSeries = _a.column,
4436
4422
  ScatterSeries = _a.scatter;
4437
- var arrayMax = U.arrayMax,
4423
+ var addEvent = U.addEvent,
4424
+ arrayMax = U.arrayMax,
4438
4425
  arrayMin = U.arrayMin,
4439
4426
  clamp = U.clamp,
4440
4427
  extend = U.extend,
4441
4428
  isNumber = U.isNumber,
4442
4429
  merge = U.merge,
4443
- pick = U.pick,
4444
- pInt = U.pInt;
4430
+ pick = U.pick;
4445
4431
  /* *
4446
4432
  *
4447
4433
  * Class
@@ -4511,20 +4497,49 @@
4511
4497
  * the axis needs to add padding in accordance with the point sizes.
4512
4498
  * @private
4513
4499
  */
4514
- BubbleSeries.prototype.getRadii = function (zMin, zMax, series) {
4500
+ BubbleSeries.prototype.getRadii = function () {
4501
+ var _this = this;
4515
4502
  var len,
4516
4503
  i,
4517
4504
  zData = this.zData,
4518
4505
  yData = this.yData,
4519
- minSize = series.minPxSize,
4520
- maxSize = series.maxPxSize,
4521
4506
  radii = [],
4522
- value;
4507
+ value,
4508
+ zExtremes = this.chart.bubbleZExtremes;
4509
+ var _a = this.getPxExtremes(),
4510
+ minPxSize = _a.minPxSize,
4511
+ maxPxSize = _a.maxPxSize;
4512
+ // Get the collective Z extremes of all bubblish series. The chart-level
4513
+ // `bubbleZExtremes` are only computed once, and reset on `updatedData`
4514
+ // in any member series.
4515
+ if (!zExtremes) {
4516
+ var zMin_1 = Number.MAX_VALUE;
4517
+ var zMax_1 = -Number.MAX_VALUE;
4518
+ var valid_1;
4519
+ this.chart.series.forEach(function (otherSeries) {
4520
+ if (otherSeries.bubblePadding && (otherSeries.visible ||
4521
+ !_this.chart.options.chart.ignoreHiddenSeries)) {
4522
+ var zExtremes_1 = otherSeries.getZExtremes();
4523
+ if (zExtremes_1) {
4524
+ zMin_1 = Math.min(zMin_1 || zExtremes_1.zMin, zExtremes_1.zMin);
4525
+ zMax_1 = Math.max(zMax_1 || zExtremes_1.zMax, zExtremes_1.zMax);
4526
+ valid_1 = true;
4527
+ }
4528
+ }
4529
+ });
4530
+ if (valid_1) {
4531
+ zExtremes = { zMin: zMin_1, zMax: zMax_1 };
4532
+ this.chart.bubbleZExtremes = zExtremes;
4533
+ }
4534
+ else {
4535
+ zExtremes = { zMin: 0, zMax: 0 };
4536
+ }
4537
+ }
4523
4538
  // Set the shape type and arguments to be picked up in drawPoints
4524
4539
  for (i = 0, len = zData.length; i < len; i++) {
4525
4540
  value = zData[i];
4526
4541
  // Separate method to get individual radius for bubbleLegend
4527
- radii.push(this.getRadius(zMin, zMax, minSize, maxSize, value, yData[i]));
4542
+ radii.push(this.getRadius(zExtremes.zMin, zExtremes.zMax, minPxSize, maxPxSize, value, yData[i]));
4528
4543
  }
4529
4544
  this.radii = radii;
4530
4545
  };
@@ -4594,25 +4609,28 @@
4594
4609
  * @private
4595
4610
  */
4596
4611
  BubbleSeries.prototype.translate = function () {
4597
- var i,
4598
- data = this.data,
4599
- point,
4600
- radius,
4601
- radii = this.radii;
4602
4612
  // Run the parent method
4603
4613
  _super.prototype.translate.call(this);
4614
+ this.getRadii();
4615
+ this.translateBubble();
4616
+ };
4617
+ BubbleSeries.prototype.translateBubble = function () {
4618
+ var _a = this,
4619
+ data = _a.data,
4620
+ radii = _a.radii;
4621
+ var minPxSize = this.getPxExtremes().minPxSize;
4604
4622
  // Set the shape type and arguments to be picked up in drawPoints
4605
- i = data.length;
4623
+ var i = data.length;
4606
4624
  while (i--) {
4607
- point = data[i];
4608
- radius = radii ? radii[i] : 0; // #1737
4609
- if (isNumber(radius) && radius >= this.minPxSize / 2) {
4610
- // Shape arguments
4611
- point.marker = extend(point.marker, {
4612
- radius: radius,
4613
- width: 2 * radius,
4614
- height: 2 * radius
4615
- });
4625
+ var point = data[i];
4626
+ var radius = radii ? radii[i] : 0; // #1737
4627
+ if (isNumber(radius) && radius >= minPxSize / 2) {
4628
+ // Shape arguments
4629
+ point.marker = extend(point.marker, {
4630
+ radius: radius,
4631
+ width: 2 * radius,
4632
+ height: 2 * radius
4633
+ });
4616
4634
  // Alignment box for the data label
4617
4635
  point.dlBox = {
4618
4636
  x: point.plotX - radius,
@@ -4627,6 +4645,41 @@
4627
4645
  }
4628
4646
  }
4629
4647
  };
4648
+ BubbleSeries.prototype.getPxExtremes = function () {
4649
+ var smallestSize = Math.min(this.chart.plotWidth,
4650
+ this.chart.plotHeight);
4651
+ var getPxSize = function (length) {
4652
+ var isPercent;
4653
+ if (typeof length === 'string') {
4654
+ isPercent = /%$/.test(length);
4655
+ length = parseInt(length, 10);
4656
+ }
4657
+ return isPercent ? smallestSize * length / 100 : length;
4658
+ };
4659
+ var minPxSize = getPxSize(pick(this.options.minSize, 8));
4660
+ // Prioritize min size if conflict to make sure bubbles are
4661
+ // always visible. #5873
4662
+ var maxPxSize = Math.max(getPxSize(pick(this.options.maxSize, '20%')),
4663
+ minPxSize);
4664
+ return { minPxSize: minPxSize, maxPxSize: maxPxSize };
4665
+ };
4666
+ BubbleSeries.prototype.getZExtremes = function () {
4667
+ var options = this.options,
4668
+ zData = (this.zData || []).filter(isNumber);
4669
+ if (zData.length) {
4670
+ var zMin = pick(options.zMin,
4671
+ clamp(arrayMin(zData),
4672
+ options.displayNegative === false ?
4673
+ (options.zThreshold || 0) :
4674
+ -Number.MAX_VALUE,
4675
+ Number.MAX_VALUE));
4676
+ var zMax = pick(options.zMax,
4677
+ arrayMax(zData));
4678
+ if (isNumber(zMin) && isNumber(zMax)) {
4679
+ return { zMin: zMin, zMax: zMax };
4680
+ }
4681
+ }
4682
+ };
4630
4683
  BubbleSeries.compose = BubbleLegendComposition.compose;
4631
4684
  /**
4632
4685
  * A bubble series is a three dimensional series type where each point
@@ -4879,6 +4932,10 @@
4879
4932
  specialGroup: 'group',
4880
4933
  zoneAxis: 'z'
4881
4934
  });
4935
+ // On updated data in any series, delete the chart-level Z extremes cache
4936
+ addEvent(BubbleSeries, 'updatedData', function (e) {
4937
+ delete e.target.chart.bubbleZExtremes;
4938
+ });
4882
4939
  /* *
4883
4940
  *
4884
4941
  * Axis ?
@@ -4895,70 +4952,36 @@
4895
4952
  isXAxis = this.isXAxis,
4896
4953
  dataKey = isXAxis ? 'xData' : 'yData',
4897
4954
  min = this.min,
4898
- extremes = {},
4899
- smallestSize = Math.min(chart.plotWidth,
4900
- chart.plotHeight),
4901
- zMin = Number.MAX_VALUE,
4902
- zMax = -Number.MAX_VALUE,
4903
4955
  range = this.max - min,
4904
4956
  transA = axisLength / range,
4905
- activeSeries = [];
4957
+ hasActiveSeries;
4906
4958
  // Handle padding on the second pass, or on redraw
4907
4959
  this.series.forEach(function (series) {
4908
- var seriesOptions = series.options,
4909
- zData;
4910
4960
  if (series.bubblePadding &&
4911
4961
  (series.visible || !chart.options.chart.ignoreHiddenSeries)) {
4912
4962
  // Correction for #1673
4913
4963
  axis.allowZoomOutside = true;
4914
- // Cache it
4915
- activeSeries.push(series);
4916
- if (isXAxis) { // because X axis is evaluated first
4917
- // For each series, translate the size extremes to pixel values
4918
- ['minSize', 'maxSize'].forEach(function (prop) {
4919
- var length = seriesOptions[prop],
4920
- isPercent = /%$/.test(length);
4921
- length = pInt(length);
4922
- extremes[prop] = isPercent ?
4923
- smallestSize * length / 100 :
4924
- length;
4925
- });
4926
- series.minPxSize = extremes.minSize;
4927
- // Prioritize min size if conflict to make sure bubbles are
4928
- // always visible. #5873
4929
- series.maxPxSize = Math.max(extremes.maxSize, extremes.minSize);
4930
- // Find the min and max Z
4931
- zData = series.zData.filter(isNumber);
4932
- if (zData.length) { // #1735
4933
- zMin = pick(seriesOptions.zMin, clamp(arrayMin(zData), seriesOptions.displayNegative === false ?
4934
- seriesOptions.zThreshold :
4935
- -Number.MAX_VALUE, zMin));
4936
- zMax = pick(seriesOptions.zMax, Math.max(zMax, arrayMax(zData)));
4937
- }
4964
+ hasActiveSeries = true;
4965
+ var data = series[dataKey];
4966
+ if (isXAxis) {
4967
+ series.getRadii(0, 0, series);
4938
4968
  }
4939
- }
4940
- });
4941
- activeSeries.forEach(function (series) {
4942
- var data = series[dataKey],
4943
- i = data.length,
4944
- radius;
4945
- if (isXAxis) {
4946
- series.getRadii(zMin, zMax, series);
4947
- }
4948
- if (range > 0) {
4949
- while (i--) {
4950
- if (isNumber(data[i]) &&
4951
- axis.dataMin <= data[i] &&
4952
- data[i] <= axis.max) {
4953
- radius = series.radii ? series.radii[i] : 0;
4954
- pxMin = Math.min(((data[i] - min) * transA) - radius, pxMin);
4955
- pxMax = Math.max(((data[i] - min) * transA) + radius, pxMax);
4969
+ if (range > 0) {
4970
+ var i = data.length;
4971
+ while (i--) {
4972
+ if (isNumber(data[i]) &&
4973
+ axis.dataMin <= data[i] &&
4974
+ data[i] <= axis.max) {
4975
+ var radius = series.radii && series.radii[i] || 0;
4976
+ pxMin = Math.min(((data[i] - min) * transA) - radius, pxMin);
4977
+ pxMax = Math.max(((data[i] - min) * transA) + radius, pxMax);
4978
+ }
4956
4979
  }
4957
4980
  }
4958
4981
  }
4959
4982
  });
4960
4983
  // Apply the padding to the min and max properties
4961
- if (activeSeries.length && range > 0 && !this.logarithmic) {
4984
+ if (hasActiveSeries && range > 0 && !this.logarithmic) {
4962
4985
  pxMax -= axisLength;
4963
4986
  transA *= (axisLength +
4964
4987
  Math.max(0, pxMin) - // #8901
@@ -5266,7 +5289,8 @@
5266
5289
  *
5267
5290
  * */
5268
5291
  ColumnRangeSeries.prototype.setOptions = function () {
5269
- merge(true, arguments[0], { stacking: void 0 }); // #14359 Prevent side-effect from stacking.
5292
+ // #14359 Prevent side-effect from stacking.
5293
+ merge(true, arguments[0], { stacking: void 0 });
5270
5294
  return arearangeProto.setOptions.apply(this, arguments);
5271
5295
  };
5272
5296
  // eslint-disable-next-line valid-jsdoc
@@ -5644,15 +5668,18 @@
5644
5668
  // topXwidth and bottomXwidth = width of lines from the center
5645
5669
  // calculated from tanges proportion.
5646
5670
  // Can not be a NaN #12514
5647
- topXwidth = stackHeight ? (barW * (barY - topPointY)) / stackHeight : 0;
5671
+ topXwidth = stackHeight ?
5672
+ (barW * (barY - topPointY)) / stackHeight : 0;
5648
5673
  // like topXwidth, but with height of point
5649
- bottomXwidth = stackHeight ? (barW * (barY + barH - topPointY)) / stackHeight : 0;
5674
+ bottomXwidth = stackHeight ?
5675
+ (barW * (barY + barH - topPointY)) / stackHeight :
5676
+ 0;
5650
5677
  /*
5651
5678
  /\
5652
- / \
5679
+ / \
5653
5680
  x1,y1,------ x2,y1
5654
- / \
5655
- ----------
5681
+ / \
5682
+ ----------
5656
5683
  x4,y2 x3,y2
5657
5684
  */
5658
5685
  x1 = barX - topXwidth + barW;
@@ -5667,9 +5694,9 @@
5667
5694
  }
5668
5695
  // inverted chart
5669
5696
  if (chart.inverted) {
5670
- invBarPos = chart.plotWidth - barY;
5671
- stackHeight = (topPointY -
5672
- (chart.plotWidth - translatedThreshold));
5697
+ invBarPos = yAxis.width - barY;
5698
+ stackHeight =
5699
+ topPointY - (yAxis.width - translatedThreshold);
5673
5700
  // proportion tanges
5674
5701
  topXwidth = (barW *
5675
5702
  (topPointY - invBarPos)) / stackHeight;
@@ -5826,7 +5853,7 @@
5826
5853
 
5827
5854
  return ColumnPyramidSeries;
5828
5855
  });
5829
- _registerModule(_modules, 'Series/ErrorBar/ErrorBarSeries.js', [_modules['Series/BoxPlot/BoxPlotSeries.js'], _modules['Series/Column/ColumnSeries.js'], _modules['Core/Color/Palette.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (BoxPlotSeries, ColumnSeries, palette, SeriesRegistry, U) {
5856
+ _registerModule(_modules, 'Series/ErrorBar/ErrorBarSeries.js', [_modules['Series/BoxPlot/BoxPlotSeries.js'], _modules['Series/Column/ColumnSeries.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (BoxPlotSeries, ColumnSeries, SeriesRegistry, U) {
5830
5857
  /* *
5831
5858
  *
5832
5859
  * (c) 2010-2021 Torstein Honsi
@@ -5941,7 +5968,7 @@
5941
5968
  * @since 3.0
5942
5969
  * @product highcharts
5943
5970
  */
5944
- color: palette.neutralColor100,
5971
+ color: "#000000" /* neutralColor100 */,
5945
5972
  grouping: false,
5946
5973
  /**
5947
5974
  * The parent series of the error bar. The default value links it to
@@ -6122,13 +6149,13 @@
6122
6149
  }(Point));
6123
6150
  /* *
6124
6151
  *
6125
- * Default export
6152
+ * Default Export
6126
6153
  *
6127
6154
  * */
6128
6155
 
6129
6156
  return GaugePoint;
6130
6157
  });
6131
- _registerModule(_modules, 'Series/Gauge/GaugeSeries.js', [_modules['Series/Gauge/GaugePoint.js'], _modules['Core/Globals.js'], _modules['Core/Color/Palette.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (GaugePoint, H, palette, SeriesRegistry, U) {
6158
+ _registerModule(_modules, 'Series/Gauge/GaugeSeries.js', [_modules['Series/Gauge/GaugePoint.js'], _modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (GaugePoint, H, SeriesRegistry, U) {
6132
6159
  /* *
6133
6160
  *
6134
6161
  * (c) 2010-2021 Torstein Honsi
@@ -6226,8 +6253,8 @@
6226
6253
  rearLength = ((pInt(pick(dialOptions.rearLength, '10%')) * radius) /
6227
6254
  100),
6228
6255
  baseWidth = dialOptions.baseWidth || 3,
6229
- topWidth = dialOptions.topWidth || 1,
6230
- overshoot = options.overshoot,
6256
+ topWidth = dialOptions.topWidth || 1;
6257
+ var overshoot = options.overshoot,
6231
6258
  rotation = yAxis.startAngleRad + yAxis.translate(point.y,
6232
6259
  null,
6233
6260
  null,
@@ -6307,7 +6334,7 @@
6307
6334
  stroke: dialOptions.borderColor || 'none',
6308
6335
  'stroke-width': dialOptions.borderWidth || 0,
6309
6336
  fill: dialOptions.backgroundColor ||
6310
- palette.neutralColor100
6337
+ "#000000" /* neutralColor100 */
6311
6338
  });
6312
6339
  }
6313
6340
  });
@@ -6332,9 +6359,9 @@
6332
6359
  series.pivot.attr({
6333
6360
  'stroke-width': pivotOptions.borderWidth || 0,
6334
6361
  stroke: pivotOptions.borderColor ||
6335
- palette.neutralColor20,
6362
+ "#cccccc" /* neutralColor20 */,
6336
6363
  fill: pivotOptions.backgroundColor ||
6337
- palette.neutralColor100
6364
+ "#000000" /* neutralColor100 */
6338
6365
  });
6339
6366
  }
6340
6367
  }
@@ -6431,7 +6458,7 @@
6431
6458
  * @product highcharts
6432
6459
  */
6433
6460
  dataLabels: {
6434
- borderColor: palette.neutralColor20,
6461
+ borderColor: "#cccccc" /* neutralColor20 */,
6435
6462
  borderRadius: 3,
6436
6463
  borderWidth: 1,
6437
6464
  crop: false,
@@ -6669,7 +6696,7 @@
6669
6696
  SeriesRegistry.registerSeriesType('gauge', GaugeSeries);
6670
6697
  /* *
6671
6698
  *
6672
- * Default export
6699
+ * Default Export
6673
6700
  *
6674
6701
  * */
6675
6702
  /* *
@@ -6809,7 +6836,7 @@
6809
6836
  seriesOptions = series.options;
6810
6837
  if (this.isParentNode && seriesOptions.parentNode) {
6811
6838
  var temp = seriesOptions.allowPointSelect;
6812
- seriesOptions.allowPointSelect = seriesOptions.parentNode.allowPointSelect;
6839
+ seriesOptions.allowPointSelect = (seriesOptions.parentNode.allowPointSelect);
6813
6840
  Point.prototype.firePointEvent.apply(this, arguments);
6814
6841
  seriesOptions.allowPointSelect = temp;
6815
6842
  }
@@ -6861,7 +6888,6 @@
6861
6888
  * @private
6862
6889
  * @param {Highcharts.Point} point The point that event occured.
6863
6890
  * @param {Highcharts.PointerEventObject} event Browser event, before normalization.
6864
- * @return {void}
6865
6891
  */
6866
6892
  onMouseDown: function (point, event) {
6867
6893
  var normalizedEvent = this.chart.pointer.normalize(event);
@@ -6881,7 +6907,6 @@
6881
6907
  * @param {global.Event} event Browser event, before normalization.
6882
6908
  * @param {Highcharts.Point} point The point that event occured.
6883
6909
  *
6884
- * @return {void}
6885
6910
  */
6886
6911
  onMouseMove: function (point, event) {
6887
6912
  if (point.fixedPosition && point.inDragMode) {
@@ -6914,7 +6939,6 @@
6914
6939
  *
6915
6940
  * @private
6916
6941
  * @param {Highcharts.Point} point The point that event occured.
6917
- * @return {void}
6918
6942
  */
6919
6943
  onMouseUp: function (point, event) {
6920
6944
  if (point.fixedPosition) {
@@ -6938,7 +6962,6 @@
6938
6962
  *
6939
6963
  * @private
6940
6964
  * @param {Highcharts.Point} point The point that should show halo.
6941
- * @return {void}
6942
6965
  */
6943
6966
  redrawHalo: function (point) {
6944
6967
  if (point && this.halo) {
@@ -7034,8 +7057,7 @@
7034
7057
  * `plotX` and `plotY` position.
7035
7058
  *
7036
7059
  * @private
7037
- * @return {void}
7038
- */
7060
+ */
7039
7061
  barycenter: function () {
7040
7062
  var gravitationalConstant = this.options.gravitationalConstant,
7041
7063
  xFactor = this.barycenter.xFactor,
@@ -7067,8 +7089,7 @@
7067
7089
  * Force calcualated in `repulsiveForceFunction`
7068
7090
  * @param {Highcharts.PositionObject} distance
7069
7091
  * Distance between two nodes e.g. `{x, y}`
7070
- * @return {void}
7071
- */
7092
+ */
7072
7093
  repulsive: function (node, force, distanceXY) {
7073
7094
  var factor = force * this.diffTemperature / node.mass / node.degree;
7074
7095
  if (!node.fixedPosition) {
@@ -7089,8 +7110,7 @@
7089
7110
  * Force calcualated in `repulsiveForceFunction`
7090
7111
  * @param {Highcharts.PositionObject} distance
7091
7112
  * Distance between two nodes e.g. `{x, y}`
7092
- * @return {void}
7093
- */
7113
+ */
7094
7114
  attractive: function (link, force, distanceXY) {
7095
7115
  var massFactor = link.getMass(),
7096
7116
  translatedX = -distanceXY.x * force * this.diffTemperature,
@@ -7138,8 +7158,7 @@
7138
7158
  * @private
7139
7159
  * @param {Highcharts.NetworkgraphLayout} layout layout object
7140
7160
  * @param {Highcharts.Point} node node that should be translated
7141
- * @return {void}
7142
- */
7161
+ */
7143
7162
  integrate: function (layout, node) {
7144
7163
  var friction = -layout.options.friction,
7145
7164
  maxSpeed = layout.options.maxSpeed,
@@ -7170,10 +7189,7 @@
7170
7189
  /**
7171
7190
  * Estiamte the best possible distance between two nodes, making graph
7172
7191
  * readable.
7173
- *
7174
7192
  * @private
7175
- * @param {Highcharts.NetworkgraphLayout} layout layout object
7176
- * @return {number}
7177
7193
  */
7178
7194
  getK: function (layout) {
7179
7195
  return Math.pow(layout.box.width * layout.box.height / layout.nodes.length, 0.5);
@@ -7228,8 +7244,7 @@
7228
7244
  * position. Later, in `integrate()` forces are applied on nodes.
7229
7245
  *
7230
7246
  * @private
7231
- * @return {void}
7232
- */
7247
+ */
7233
7248
  barycenter: function () {
7234
7249
  var gravitationalConstant = this.options.gravitationalConstant,
7235
7250
  xFactor = this.barycenter.xFactor,
@@ -7257,8 +7272,7 @@
7257
7272
  * Force calcualated in `repulsiveForceFunction`
7258
7273
  * @param {Highcharts.PositionObject} distanceXY
7259
7274
  * Distance between two nodes e.g. `{x, y}`
7260
- * @return {void}
7261
- */
7275
+ */
7262
7276
  repulsive: function (node, force, distanceXY, distanceR) {
7263
7277
  node.dispX +=
7264
7278
  (distanceXY.x / distanceR) * force / node.degree;
@@ -7279,8 +7293,7 @@
7279
7293
  * @param {Highcharts.PositionObject} distanceXY
7280
7294
  * Distance between two nodes e.g. `{x, y}`
7281
7295
  * @param {number} distanceR
7282
- * @return {void}
7283
- */
7296
+ */
7284
7297
  attractive: function (link, force, distanceXY, distanceR) {
7285
7298
  var massFactor = link.getMass(),
7286
7299
  translatedX = (distanceXY.x / distanceR) * force,
@@ -7329,8 +7342,7 @@
7329
7342
  * Layout object
7330
7343
  * @param {Highcharts.Point} node
7331
7344
  * Node that should be translated
7332
- * @return {void}
7333
- */
7345
+ */
7334
7346
  integrate: function (layout, node) {
7335
7347
  var distanceR;
7336
7348
  node.dispX +=
@@ -7351,10 +7363,7 @@
7351
7363
  /**
7352
7364
  * Estiamte the best possible distance between two nodes, making graph
7353
7365
  * readable.
7354
- *
7355
7366
  * @private
7356
- * @param {object} layout layout object
7357
- * @return {number}
7358
7367
  */
7359
7368
  getK: function (layout) {
7360
7369
  return Math.pow(layout.box.width * layout.box.height / layout.nodes.length, 0.3);
@@ -7584,9 +7593,7 @@
7584
7593
  /**
7585
7594
  * Determine which of the quadrants should be used when placing node in
7586
7595
  * the QuadTree. Returned index is always in range `< 0 , 3 >`.
7587
- *
7588
- * @param {Highcharts.Point} point
7589
- * @return {number}
7596
+ * @private
7590
7597
  */
7591
7598
  getBoxPosition: function (point) {
7592
7599
  var left = point.plotX < this.box.left + this.box.width / 2,
@@ -8396,6 +8403,7 @@
8396
8403
  });
8397
8404
  }
8398
8405
  },
8406
+ // #14439, new stable check.
8399
8407
  isStable: function () {
8400
8408
  var tempDiff = Math.abs(this.prevSystemTemperature -
8401
8409
  this.systemTemperature);
@@ -8730,9 +8738,6 @@
8730
8738
  /**
8731
8739
  * Check if two bubbles overlaps.
8732
8740
  * @private
8733
- * @param {Array} first bubble
8734
- * @param {Array} second bubble
8735
- * @return {Boolean} overlap or not
8736
8741
  */
8737
8742
  PackedBubbleSeries.prototype.checkOverlap = function (bubble1, bubble2) {
8738
8743
  var diffX = bubble1[0] - bubble2[0], // diff of X center values
@@ -8752,7 +8757,16 @@
8752
8757
  parentNodeLayout = series.parentNodeLayout,
8753
8758
  nodeAdded,
8754
8759
  parentNode = series.parentNode,
8755
- PackedBubblePoint = series.pointClass;
8760
+ PackedBubblePoint = series.pointClass,
8761
+ layoutOptions = series.layout.options,
8762
+ parentMarkerOptions = {
8763
+ radius: series.parentNodeRadius,
8764
+ lineColor: series.color,
8765
+ fillColor: color(series.color).brighten(0.4).get()
8766
+ };
8767
+ if (layoutOptions.parentNodeOptions) {
8768
+ parentMarkerOptions = merge(layoutOptions.parentNodeOptions.marker || {}, parentMarkerOptions);
8769
+ }
8756
8770
  series.parentNodeMass = 0;
8757
8771
  series.points.forEach(function (p) {
8758
8772
  series.parentNodeMass +=
@@ -8769,12 +8783,18 @@
8769
8783
  if (!parentNode) {
8770
8784
  parentNode = (new PackedBubblePoint()).init(this, {
8771
8785
  mass: series.parentNodeRadius / 2,
8772
- marker: {
8773
- radius: series.parentNodeRadius
8774
- },
8786
+ marker: parentMarkerOptions,
8775
8787
  dataLabels: {
8776
8788
  inside: false
8777
8789
  },
8790
+ states: {
8791
+ normal: {
8792
+ marker: parentMarkerOptions
8793
+ },
8794
+ hover: {
8795
+ marker: parentMarkerOptions
8796
+ }
8797
+ },
8778
8798
  dataLabelOnNull: true,
8779
8799
  degree: series.parentNodeRadius,
8780
8800
  isParentNode: true,
@@ -8860,10 +8880,12 @@
8860
8880
  parentAttribs = {},
8861
8881
  nodeMarker = this.layout.options.parentNodeOptions.marker,
8862
8882
  parentOptions = {
8863
- fill: nodeMarker.fillColor || color(series.color).brighten(0.4).get(),
8883
+ fill: (nodeMarker.fillColor ||
8884
+ color(series.color).brighten(0.4).get()),
8864
8885
  opacity: nodeMarker.fillOpacity,
8865
8886
  stroke: nodeMarker.lineColor || series.color,
8866
- 'stroke-width': nodeMarker.lineWidth
8887
+ 'stroke-width': pick(nodeMarker.lineWidth,
8888
+ series.options.lineWidth)
8867
8889
  };
8868
8890
  // create the group for parent Nodes if doesn't exist
8869
8891
  if (!this.parentNodesGroup) {
@@ -9117,6 +9139,36 @@
9117
9139
  }
9118
9140
  return arr;
9119
9141
  };
9142
+ /**
9143
+ * Function that checks for a parentMarker and sets the correct opacity.
9144
+ * @private
9145
+ * @param {Highcharts.Pack} point
9146
+ * Candidate point for opacity correction.
9147
+ * @param {string} [state]
9148
+ * The point state, can be either `hover`, `select` or 'normal'. If
9149
+ * undefined, normal state is assumed.
9150
+ *
9151
+ * @return {Highcharts.SVGAttributes}
9152
+ * The presentational attributes to be set on the point.
9153
+ */
9154
+ PackedBubbleSeries.prototype.pointAttribs = function (point, state) {
9155
+ var options = this.options,
9156
+ hasParentMarker = point && point.isParentNode;
9157
+ var attr,
9158
+ fillOpacity,
9159
+ markerOptions = options.marker;
9160
+ if (hasParentMarker &&
9161
+ options.layoutAlgorithm &&
9162
+ options.layoutAlgorithm.parentNodeOptions) {
9163
+ markerOptions = options.layoutAlgorithm.parentNodeOptions.marker;
9164
+ }
9165
+ fillOpacity = markerOptions.fillOpacity;
9166
+ attr = Series.prototype.pointAttribs.call(this, point, state);
9167
+ if (fillOpacity !== 1) {
9168
+ attr['fill-opacity'] = fillOpacity;
9169
+ }
9170
+ return attr;
9171
+ };
9120
9172
  /**
9121
9173
  * Function that is adding one bubble based on positions and sizes of
9122
9174
  * two other bubbles, lastBubble is the last added bubble, newOrigin is
@@ -9648,7 +9700,7 @@
9648
9700
  marker: {
9649
9701
  fillColor: null,
9650
9702
  fillOpacity: 1,
9651
- lineWidth: 1,
9703
+ lineWidth: null,
9652
9704
  lineColor: null,
9653
9705
  symbol: 'circle'
9654
9706
  }
@@ -10119,7 +10171,7 @@
10119
10171
  Composition.prototype.renderStackTotals = function () {
10120
10172
  var yAxis = this.axis,
10121
10173
  waterfallStacks = yAxis.waterfall.stacks,
10122
- stackTotalGroup = yAxis.stacking && yAxis.stacking.stackTotalGroup,
10174
+ stackTotalGroup = (yAxis.stacking && yAxis.stacking.stackTotalGroup),
10123
10175
  dummyStackItem = new StackItem(yAxis,
10124
10176
  yAxis.options.stackLabels,
10125
10177
  false, 0,
@@ -10288,7 +10340,7 @@
10288
10340
 
10289
10341
  return WaterfallPoint;
10290
10342
  });
10291
- _registerModule(_modules, 'Series/Waterfall/WaterfallSeries.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Chart/Chart.js'], _modules['Core/Color/Palette.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js'], _modules['Core/Axis/WaterfallAxis.js'], _modules['Series/Waterfall/WaterfallPoint.js']], function (Axis, Chart, palette, SeriesRegistry, U, WaterfallAxis, WaterfallPoint) {
10343
+ _registerModule(_modules, 'Series/Waterfall/WaterfallSeries.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Chart/Chart.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js'], _modules['Core/Axis/WaterfallAxis.js'], _modules['Series/Waterfall/WaterfallPoint.js']], function (Axis, Chart, SeriesRegistry, U, WaterfallAxis, WaterfallPoint) {
10292
10344
  /* *
10293
10345
  *
10294
10346
  * (c) 2010-2021 Torstein Honsi
@@ -10328,9 +10380,12 @@
10328
10380
  /**
10329
10381
  * Returns true if the key is a direct property of the object.
10330
10382
  * @private
10331
- * @param {*} obj - Object with property to test
10332
- * @param {string} key - Property key to test
10333
- * @return {boolean} - Whether it is a direct property
10383
+ * @param {*} obj
10384
+ * Object with property to test
10385
+ * @param {string} key
10386
+ * Property key to test
10387
+ * @return {boolean}
10388
+ * Whether it is a direct property
10334
10389
  */
10335
10390
  function ownProp(obj, key) {
10336
10391
  return Object.hasOwnProperty.call(obj, key);
@@ -10954,7 +11009,7 @@
10954
11009
  * @since 3.0
10955
11010
  * @product highcharts
10956
11011
  */
10957
- lineColor: palette.neutralColor80,
11012
+ lineColor: "#333333" /* neutralColor80 */,
10958
11013
  /**
10959
11014
  * A name for the dash style to use for the line connecting the columns
10960
11015
  * of the waterfall series. Possible values: Dash, DashDot, Dot,
@@ -10979,7 +11034,7 @@
10979
11034
  * @since 3.0
10980
11035
  * @product highcharts
10981
11036
  */
10982
- borderColor: palette.neutralColor80,
11037
+ borderColor: "#333333" /* neutralColor80 */,
10983
11038
  states: {
10984
11039
  hover: {
10985
11040
  lineWidthPlus: 0 // #3126
@@ -11299,8 +11354,10 @@
11299
11354
  }
11300
11355
  else { // curve from last point to this
11301
11356
  connectors = this.getConnectors(segment, i, true, this.connectEnds);
11302
- var rightContX = connectors.prevPointCont && connectors.prevPointCont.rightContX;
11303
- var rightContY = connectors.prevPointCont && connectors.prevPointCont.rightContY;
11357
+ var rightContX = connectors.prevPointCont &&
11358
+ connectors.prevPointCont.rightContX;
11359
+ var rightContY = connectors.prevPointCont &&
11360
+ connectors.prevPointCont.rightContY;
11304
11361
  ret = [
11305
11362
  'C',
11306
11363
  isNumber(rightContX) ? rightContX : connectors.plotX,
@@ -11324,7 +11381,8 @@
11324
11381
  // #6430 Areasplinerange series use unwrapped getPointSpline method, so
11325
11382
  // we need to set this method again.
11326
11383
  if (seriesTypes.areasplinerange) {
11327
- seriesTypes.areasplinerange.prototype.getPointSpline = seriesTypes.spline.prototype.getPointSpline;
11384
+ seriesTypes.areasplinerange.prototype
11385
+ .getPointSpline = seriesTypes.spline.prototype.getPointSpline;
11328
11386
  }
11329
11387
  }
11330
11388
  /**
@@ -11454,7 +11512,7 @@
11454
11512
  animation = this.options.animation,
11455
11513
  group = this.group,
11456
11514
  markerGroup = this.markerGroup,
11457
- center = this.xAxis.center,
11515
+ center = this.xAxis && this.xAxis.center,
11458
11516
  plotLeft = chart.plotLeft,
11459
11517
  plotTop = chart.plotTop,
11460
11518
  attribs,