highcharts 11.4.3 → 11.4.5

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 (571) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Accessibility/Accessibility.js +1 -1
  3. package/es-modules/Accessibility/AccessibilityComponent.js +1 -1
  4. package/es-modules/Accessibility/Components/NavigatorComponent.js +2 -2
  5. package/es-modules/Accessibility/KeyboardNavigation.js +1 -1
  6. package/es-modules/Accessibility/KeyboardNavigationHandler.js +5 -5
  7. package/es-modules/Accessibility/Options/A11yDefaults.js +1 -1
  8. package/es-modules/Accessibility/Options/LangDefaults.js +3 -3
  9. package/es-modules/Accessibility/Utils/EventProvider.js +1 -1
  10. package/es-modules/Accessibility/Utils/HTMLUtilities.js +1 -1
  11. package/es-modules/Core/Animation/Fx.js +4 -2
  12. package/es-modules/Core/Axis/Axis.js +6 -4
  13. package/es-modules/Core/Axis/AxisDefaults.js +1 -0
  14. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +2 -1
  15. package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +7 -3
  16. package/es-modules/Core/Axis/GridAxis.js +1 -1
  17. package/es-modules/Core/Axis/OrdinalAxis.js +5 -2
  18. package/es-modules/Core/Axis/RadialAxisDefaults.js +3 -3
  19. package/es-modules/Core/Axis/Stacking/StackItem.js +1 -1
  20. package/es-modules/Core/Chart/Chart.js +16 -7
  21. package/es-modules/Core/Chart/MapChart.js +3 -3
  22. package/es-modules/Core/Chart/StockChart.js +1 -1
  23. package/es-modules/Core/Color/Color.js +2 -2
  24. package/es-modules/Core/Defaults.js +27 -1
  25. package/es-modules/Core/Geometry/GeometryUtilities.js +22 -0
  26. package/es-modules/Core/Globals.js +1 -1
  27. package/es-modules/Core/Legend/Legend.js +82 -14
  28. package/es-modules/Core/MSPointer.js +42 -1
  29. package/es-modules/Core/Pointer.js +10 -6
  30. package/es-modules/Core/Renderer/HTML/AST.js +6 -0
  31. package/es-modules/Core/Renderer/HTML/HTMLElement.js +2 -2
  32. package/es-modules/Core/Renderer/SVG/SVGElement.js +31 -98
  33. package/es-modules/Core/Renderer/SVG/SVGLabel.js +20 -0
  34. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +29 -14
  35. package/es-modules/Core/Renderer/SVG/Symbols.js +18 -18
  36. package/es-modules/Core/Responsive.js +6 -1
  37. package/es-modules/Core/Series/DataLabel.js +1 -10
  38. package/es-modules/Core/Series/DataSeriesComposition.js +0 -2
  39. package/es-modules/Core/Series/Point.js +7 -10
  40. package/es-modules/Core/Series/Series.js +40 -24
  41. package/es-modules/Core/Series/SeriesDefaults.js +18 -12
  42. package/es-modules/Core/Templating.js +2 -2
  43. package/es-modules/Core/Tooltip.js +6 -3
  44. package/es-modules/Data/Connectors/JSONConnector.js +1 -0
  45. package/es-modules/Data/Converters/CSVConverter.js +1 -1
  46. package/es-modules/Data/Converters/DataConverter.js +7 -7
  47. package/es-modules/Data/Converters/GoogleSheetsConverter.js +8 -3
  48. package/es-modules/Data/DataTable.js +106 -5
  49. package/es-modules/Data/Formula/FormulaParser.js +2 -2
  50. package/es-modules/Extensions/Annotations/Controllables/ControllableDefaults.js +1 -1
  51. package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +1 -1
  52. package/es-modules/Extensions/Annotations/NavigationBindings.js +1 -2
  53. package/es-modules/Extensions/Boost/Boost.js +1 -1
  54. package/es-modules/Extensions/Boost/BoostChart.js +8 -2
  55. package/es-modules/Extensions/Boost/BoostSeries.js +41 -10
  56. package/es-modules/Extensions/Boost/WGLShader.js +1 -1
  57. package/es-modules/Extensions/BorderRadius.js +3 -3
  58. package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +0 -38
  59. package/es-modules/Extensions/Data.js +11 -11
  60. package/es-modules/Extensions/DataGrouping/DataGrouping.js +1 -2
  61. package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +1 -1
  62. package/es-modules/Extensions/DownloadURL.js +1 -1
  63. package/es-modules/Extensions/Drilldown/Drilldown.js +0 -2
  64. package/es-modules/Extensions/Exporting/Exporting.js +14 -14
  65. package/es-modules/Extensions/OverlappingDataLabels.js +36 -5
  66. package/es-modules/Extensions/Pane/PaneDefaults.js +3 -2
  67. package/es-modules/Extensions/ParallelCoordinates/ParallelCoordinates.js +1 -1
  68. package/es-modules/Extensions/Sonification/MIDI.js +7 -7
  69. package/es-modules/Extensions/Sonification/SonificationInstrument.js +0 -1
  70. package/es-modules/Extensions/Sonification/TimelineFromChart.js +1 -3
  71. package/es-modules/Extensions/TextPath.js +227 -0
  72. package/es-modules/Maps/MapUtilities.js +1 -20
  73. package/es-modules/Maps/MapView.js +3 -1
  74. package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -0
  75. package/es-modules/Series/Area/AreaSeries.js +5 -0
  76. package/es-modules/Series/Area/AreaSeriesDefaults.js +1 -1
  77. package/es-modules/Series/Bar/BarSeries.js +1 -1
  78. package/es-modules/Series/Bellcurve/BellcurveSeriesDefaults.js +2 -2
  79. package/es-modules/Series/BoxPlot/BoxPlotSeries.js +2 -1
  80. package/es-modules/Series/Bubble/BubbleLegendComposition.js +4 -7
  81. package/es-modules/Series/Bubble/BubbleLegendDefaults.js +3 -3
  82. package/es-modules/Series/Bubble/BubbleSeries.js +4 -4
  83. package/es-modules/Series/Column/ColumnSeriesDefaults.js +1 -1
  84. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +5 -2
  85. package/es-modules/Series/Dumbbell/DumbbellSeriesDefaults.js +2 -2
  86. package/es-modules/Series/ErrorBar/ErrorBarSeries.js +2 -2
  87. package/es-modules/Series/Flags/FlagsSeries.js +2 -2
  88. package/es-modules/Series/Flags/FlagsSeriesDefaults.js +1 -1
  89. package/es-modules/Series/Gantt/GanttSeriesDefaults.js +1 -1
  90. package/es-modules/Series/Gauge/GaugeSeries.js +1 -1
  91. package/es-modules/Series/HLC/HLCSeries.js +1 -1
  92. package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +2 -2
  93. package/es-modules/Series/Item/ItemSeries.js +1 -1
  94. package/es-modules/Series/Map/MapSeries.js +1 -1
  95. package/es-modules/Series/Map/MapSeriesDefaults.js +2 -2
  96. package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +4 -1
  97. package/es-modules/Series/Organization/OrganizationSeries.js +3 -0
  98. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
  99. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +8 -5
  100. package/es-modules/Series/Pie/PieDataLabel.js +7 -6
  101. package/es-modules/Series/Pie/PiePoint.js +6 -6
  102. package/es-modules/Series/Pie/PieSeriesDefaults.js +11 -10
  103. package/es-modules/Series/Pie3D/Pie3DSeries.js +1 -1
  104. package/es-modules/Series/Sankey/SankeySeries.js +7 -4
  105. package/es-modules/Series/Sankey/SankeySeriesDefaults.js +1 -1
  106. package/es-modules/Series/Sunburst/SunburstSeries.js +8 -5
  107. package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +2 -2
  108. package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +2 -2
  109. package/es-modules/Series/Treegraph/TreegraphSeries.js +23 -2
  110. package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +2 -2
  111. package/es-modules/Series/Treemap/TreemapPoint.js +2 -1
  112. package/es-modules/Series/Treemap/TreemapSeries.js +15 -7
  113. package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +15 -1
  114. package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +2 -2
  115. package/es-modules/Series/Variwide/VariwideComposition.js +1 -1
  116. package/es-modules/Series/Vector/VectorSeries.js +1 -1
  117. package/es-modules/Series/Windbarb/WindbarbSeries.js +2 -2
  118. package/es-modules/Series/Wordcloud/WordcloudSeries.js +2 -2
  119. package/es-modules/Series/Wordcloud/WordcloudSeriesDefaults.js +1 -1
  120. package/es-modules/Stock/Indicators/AD/ADIndicator.js +1 -1
  121. package/es-modules/Stock/Indicators/APO/APOIndicator.js +1 -1
  122. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -1
  123. package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +1 -1
  124. package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +1 -1
  125. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +3 -3
  126. package/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +1 -1
  127. package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +1 -1
  128. package/es-modules/Stock/Indicators/PC/PCIndicator.js +1 -1
  129. package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
  130. package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +1 -1
  131. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +3 -3
  132. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
  133. package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +2 -2
  134. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +3 -3
  135. package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +1 -1
  136. package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +1 -1
  137. package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
  138. package/es-modules/Stock/Navigator/Navigator.js +141 -55
  139. package/es-modules/Stock/Navigator/NavigatorDefaults.js +1 -1
  140. package/es-modules/Stock/RangeSelector/RangeSelector.js +1 -1
  141. package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +1 -1
  142. package/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -1
  143. package/es-modules/Stock/StockTools/StockToolbar.js +115 -37
  144. package/es-modules/Stock/StockTools/StockToolsDefaults.js +7 -1
  145. package/es-modules/Stock/StockTools/StockToolsGui.js +24 -23
  146. package/es-modules/Stock/StockTools/StockToolsUtilities.js +26 -0
  147. package/es-modules/masters/highcharts-more.src.js +2 -2
  148. package/es-modules/masters/modules/arc-diagram.src.js +1 -2
  149. package/es-modules/masters/modules/cylinder.src.js +1 -1
  150. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  151. package/es-modules/masters/modules/map.src.js +1 -1
  152. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  153. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  154. package/es-modules/masters/modules/textpath.src.d.ts +1 -0
  155. package/es-modules/masters/modules/textpath.src.js +16 -0
  156. package/es-modules/tsconfig.tsbuildinfo +1 -1
  157. package/highcharts-3d.js +2 -2
  158. package/highcharts-3d.src.js +4 -4
  159. package/highcharts-gantt.js +3 -3
  160. package/highcharts-gantt.src.js +3376 -3042
  161. package/highcharts-more.d.ts +42 -2
  162. package/highcharts-more.js +2 -2
  163. package/highcharts-more.src.d.ts +42 -2
  164. package/highcharts-more.src.js +262 -35
  165. package/highcharts.d.ts +840 -407
  166. package/highcharts.js +3 -3
  167. package/highcharts.src.d.ts +840 -407
  168. package/highcharts.src.js +6064 -5818
  169. package/highmaps.js +3 -3
  170. package/highmaps.src.js +3276 -3046
  171. package/highstock.js +3 -3
  172. package/highstock.src.js +3395 -3062
  173. package/indicators/acceleration-bands.js +2 -2
  174. package/indicators/acceleration-bands.src.js +3 -3
  175. package/indicators/accumulation-distribution.js +2 -2
  176. package/indicators/accumulation-distribution.src.js +4 -4
  177. package/indicators/ao.js +2 -2
  178. package/indicators/ao.src.js +3 -3
  179. package/indicators/apo.js +2 -2
  180. package/indicators/apo.src.js +4 -4
  181. package/indicators/aroon-oscillator.js +2 -2
  182. package/indicators/aroon-oscillator.src.js +3 -3
  183. package/indicators/aroon.js +2 -2
  184. package/indicators/aroon.src.js +4 -4
  185. package/indicators/atr.js +2 -2
  186. package/indicators/atr.src.js +3 -3
  187. package/indicators/bollinger-bands.js +2 -2
  188. package/indicators/bollinger-bands.src.js +3 -3
  189. package/indicators/cci.js +2 -2
  190. package/indicators/cci.src.js +3 -3
  191. package/indicators/chaikin.js +2 -2
  192. package/indicators/chaikin.src.js +5 -5
  193. package/indicators/cmf.js +2 -2
  194. package/indicators/cmf.src.js +4 -4
  195. package/indicators/cmo.js +2 -2
  196. package/indicators/cmo.src.js +3 -3
  197. package/indicators/dema.js +2 -2
  198. package/indicators/dema.src.js +3 -3
  199. package/indicators/disparity-index.js +2 -2
  200. package/indicators/disparity-index.src.js +3 -3
  201. package/indicators/dmi.js +2 -2
  202. package/indicators/dmi.src.js +3 -3
  203. package/indicators/dpo.js +2 -2
  204. package/indicators/dpo.src.js +3 -3
  205. package/indicators/ema.js +1 -1
  206. package/indicators/ema.src.js +2 -2
  207. package/indicators/ichimoku-kinko-hyo.js +2 -2
  208. package/indicators/ichimoku-kinko-hyo.src.js +6 -6
  209. package/indicators/indicators-all.js +2 -2
  210. package/indicators/indicators-all.src.js +28 -28
  211. package/indicators/indicators.js +2 -2
  212. package/indicators/indicators.src.js +4 -4
  213. package/indicators/keltner-channels.js +2 -2
  214. package/indicators/keltner-channels.src.js +3 -3
  215. package/indicators/klinger.js +2 -2
  216. package/indicators/klinger.src.js +3 -3
  217. package/indicators/macd.js +2 -2
  218. package/indicators/macd.src.js +3 -3
  219. package/indicators/mfi.js +2 -2
  220. package/indicators/mfi.src.js +4 -4
  221. package/indicators/momentum.js +2 -2
  222. package/indicators/momentum.src.js +3 -3
  223. package/indicators/natr.js +2 -2
  224. package/indicators/natr.src.js +3 -3
  225. package/indicators/obv.js +2 -2
  226. package/indicators/obv.src.js +3 -3
  227. package/indicators/pivot-points.js +2 -2
  228. package/indicators/pivot-points.src.js +6 -6
  229. package/indicators/ppo.js +2 -2
  230. package/indicators/ppo.src.js +4 -4
  231. package/indicators/price-channel.js +2 -2
  232. package/indicators/price-channel.src.js +4 -4
  233. package/indicators/price-envelopes.js +2 -2
  234. package/indicators/price-envelopes.src.js +3 -3
  235. package/indicators/psar.js +2 -2
  236. package/indicators/psar.src.js +4 -4
  237. package/indicators/regressions.js +2 -2
  238. package/indicators/regressions.src.js +4 -4
  239. package/indicators/roc.js +2 -2
  240. package/indicators/roc.src.js +3 -3
  241. package/indicators/rsi.js +2 -2
  242. package/indicators/rsi.src.js +3 -3
  243. package/indicators/slow-stochastic.js +2 -2
  244. package/indicators/slow-stochastic.src.js +5 -5
  245. package/indicators/stochastic.js +2 -2
  246. package/indicators/stochastic.src.js +3 -3
  247. package/indicators/supertrend.js +2 -2
  248. package/indicators/supertrend.src.js +6 -6
  249. package/indicators/tema.js +2 -2
  250. package/indicators/tema.src.js +3 -3
  251. package/indicators/trendline.js +2 -2
  252. package/indicators/trendline.src.js +4 -4
  253. package/indicators/trix.js +2 -2
  254. package/indicators/trix.src.js +3 -3
  255. package/indicators/volume-by-price.js +2 -2
  256. package/indicators/volume-by-price.src.js +3 -3
  257. package/indicators/vwap.js +2 -2
  258. package/indicators/vwap.src.js +4 -4
  259. package/indicators/williams-r.js +2 -2
  260. package/indicators/williams-r.src.js +4 -4
  261. package/indicators/wma.js +2 -2
  262. package/indicators/wma.src.js +3 -3
  263. package/indicators/zigzag.js +2 -2
  264. package/indicators/zigzag.src.js +3 -3
  265. package/modules/accessibility.js +2 -2
  266. package/modules/accessibility.src.js +162 -77
  267. package/modules/annotations-advanced.js +2 -2
  268. package/modules/annotations-advanced.src.js +8 -9
  269. package/modules/annotations.js +2 -2
  270. package/modules/annotations.src.js +8 -9
  271. package/modules/arc-diagram.d.ts +120 -1
  272. package/modules/arc-diagram.js +2 -2
  273. package/modules/arc-diagram.src.d.ts +120 -1
  274. package/modules/arc-diagram.src.js +9363 -5
  275. package/modules/arrow-symbols.js +2 -2
  276. package/modules/arrow-symbols.src.js +3 -3
  277. package/modules/boost-canvas.js +2 -2
  278. package/modules/boost-canvas.src.js +53 -16
  279. package/modules/boost.js +2 -2
  280. package/modules/boost.src.js +54 -17
  281. package/modules/broken-axis.js +2 -2
  282. package/modules/broken-axis.src.js +3 -3
  283. package/modules/bullet.js +2 -2
  284. package/modules/bullet.src.js +3 -3
  285. package/modules/coloraxis.js +2 -2
  286. package/modules/coloraxis.src.js +12 -7
  287. package/modules/current-date-indicator.js +2 -2
  288. package/modules/current-date-indicator.src.js +3 -3
  289. package/modules/cylinder.js +2 -2
  290. package/modules/cylinder.src.js +4 -4
  291. package/modules/data-tools.js +2 -2
  292. package/modules/data-tools.src.js +128 -21
  293. package/modules/data.js +2 -2
  294. package/modules/data.src.js +14 -14
  295. package/modules/datagrouping.js +2 -2
  296. package/modules/datagrouping.src.js +5 -6
  297. package/modules/debugger.js +2 -2
  298. package/modules/debugger.src.js +3 -3
  299. package/modules/dependency-wheel.js +2 -2
  300. package/modules/dependency-wheel.src.js +7 -6
  301. package/modules/dotplot.js +2 -2
  302. package/modules/dotplot.src.js +3 -3
  303. package/modules/drag-panes.js +2 -2
  304. package/modules/drag-panes.src.js +3 -3
  305. package/modules/draggable-points.js +2 -2
  306. package/modules/draggable-points.src.js +3 -3
  307. package/modules/drilldown.js +2 -2
  308. package/modules/drilldown.src.js +3 -43
  309. package/modules/dumbbell.js +2 -2
  310. package/modules/dumbbell.src.js +5 -5
  311. package/modules/export-data.js +2 -2
  312. package/modules/export-data.src.js +4 -4
  313. package/modules/exporting.js +2 -2
  314. package/modules/exporting.src.js +17 -17
  315. package/modules/flowmap.js +2 -2
  316. package/modules/flowmap.src.js +3 -3
  317. package/modules/full-screen.js +2 -2
  318. package/modules/full-screen.src.js +3 -3
  319. package/modules/funnel.js +2 -2
  320. package/modules/funnel.src.js +3 -3
  321. package/modules/funnel3d.js +2 -2
  322. package/modules/funnel3d.src.js +4 -4
  323. package/modules/gantt.js +2 -2
  324. package/modules/gantt.src.js +155 -67
  325. package/modules/geoheatmap.js +2 -2
  326. package/modules/geoheatmap.src.js +3 -3
  327. package/modules/grid-axis.js +2 -2
  328. package/modules/grid-axis.src.js +4 -4
  329. package/modules/heatmap.js +2 -2
  330. package/modules/heatmap.src.js +14 -9
  331. package/modules/heikinashi.js +2 -2
  332. package/modules/heikinashi.src.js +3 -3
  333. package/modules/histogram-bellcurve.js +2 -2
  334. package/modules/histogram-bellcurve.src.js +5 -5
  335. package/modules/hollowcandlestick.js +2 -2
  336. package/modules/hollowcandlestick.src.js +3 -3
  337. package/modules/item-series.js +2 -2
  338. package/modules/item-series.src.js +4 -4
  339. package/modules/lollipop.js +2 -2
  340. package/modules/lollipop.src.js +3 -3
  341. package/modules/map.d.ts +1 -1
  342. package/modules/map.js +2 -2
  343. package/modules/map.src.d.ts +1 -1
  344. package/modules/map.src.js +36 -52
  345. package/modules/marker-clusters.js +2 -2
  346. package/modules/marker-clusters.src.js +3 -3
  347. package/modules/mouse-wheel-zoom.js +2 -2
  348. package/modules/mouse-wheel-zoom.src.js +3 -3
  349. package/modules/navigator.js +2 -2
  350. package/modules/navigator.src.js +146 -61
  351. package/modules/networkgraph.d.ts +40 -0
  352. package/modules/networkgraph.js +2 -2
  353. package/modules/networkgraph.src.d.ts +40 -0
  354. package/modules/networkgraph.src.js +233 -5
  355. package/modules/no-data-to-display.js +2 -2
  356. package/modules/no-data-to-display.src.js +3 -3
  357. package/modules/offline-exporting.js +2 -2
  358. package/modules/offline-exporting.src.js +5 -5
  359. package/modules/organization.js +2 -2
  360. package/modules/organization.src.js +5 -4
  361. package/modules/overlapping-datalabels.js +2 -2
  362. package/modules/overlapping-datalabels.src.js +3 -3
  363. package/modules/parallel-coordinates.js +2 -2
  364. package/modules/parallel-coordinates.src.js +4 -4
  365. package/modules/pareto.js +2 -2
  366. package/modules/pareto.src.js +3 -3
  367. package/modules/pathfinder.js +2 -2
  368. package/modules/pathfinder.src.js +3 -3
  369. package/modules/pattern-fill.js +2 -2
  370. package/modules/pattern-fill.src.js +3 -3
  371. package/modules/pictorial.js +2 -2
  372. package/modules/pictorial.src.js +3 -3
  373. package/modules/price-indicator.js +2 -2
  374. package/modules/price-indicator.src.js +3 -3
  375. package/modules/pyramid3d.js +2 -2
  376. package/modules/pyramid3d.src.js +4 -4
  377. package/modules/sankey.d.ts +42 -1
  378. package/modules/sankey.js +2 -2
  379. package/modules/sankey.src.d.ts +42 -1
  380. package/modules/sankey.src.js +237 -9
  381. package/modules/series-label.js +2 -2
  382. package/modules/series-label.src.js +3 -3
  383. package/modules/series-on-point.js +2 -2
  384. package/modules/series-on-point.src.js +3 -3
  385. package/modules/solid-gauge.js +2 -2
  386. package/modules/solid-gauge.src.js +4 -4
  387. package/modules/sonification.js +2 -2
  388. package/modules/sonification.src.js +12 -15
  389. package/modules/static-scale.js +2 -2
  390. package/modules/static-scale.src.js +3 -3
  391. package/modules/stock-tools.d.ts +15 -1
  392. package/modules/stock-tools.js +2 -2
  393. package/modules/stock-tools.src.d.ts +15 -1
  394. package/modules/stock-tools.src.js +177 -69
  395. package/modules/stock.js +2 -2
  396. package/modules/stock.src.js +160 -73
  397. package/modules/streamgraph.js +2 -2
  398. package/modules/streamgraph.src.js +3 -3
  399. package/modules/sunburst.d.ts +40 -0
  400. package/modules/sunburst.js +2 -2
  401. package/modules/sunburst.src.d.ts +40 -0
  402. package/modules/sunburst.src.js +271 -58
  403. package/modules/textpath.d.ts +58 -0
  404. package/modules/textpath.js +7 -0
  405. package/modules/textpath.src.d.ts +58 -0
  406. package/modules/textpath.src.js +271 -0
  407. package/modules/tiledwebmap.js +3 -3
  408. package/modules/tiledwebmap.src.js +3 -3
  409. package/modules/tilemap.js +2 -2
  410. package/modules/tilemap.src.js +5 -5
  411. package/modules/timeline.js +2 -2
  412. package/modules/timeline.src.js +3 -3
  413. package/modules/treegraph.d.ts +40 -0
  414. package/modules/treegraph.js +2 -2
  415. package/modules/treegraph.src.d.ts +40 -0
  416. package/modules/treegraph.src.js +254 -8
  417. package/modules/treegrid.js +2 -2
  418. package/modules/treegrid.src.js +4 -4
  419. package/modules/treemap.js +2 -2
  420. package/modules/treemap.src.js +35 -50
  421. package/modules/variable-pie.js +2 -2
  422. package/modules/variable-pie.src.js +5 -5
  423. package/modules/variwide.js +2 -2
  424. package/modules/variwide.src.js +4 -4
  425. package/modules/vector.js +2 -2
  426. package/modules/vector.src.js +4 -4
  427. package/modules/venn.js +2 -2
  428. package/modules/venn.src.js +3 -88
  429. package/modules/windbarb.js +2 -2
  430. package/modules/windbarb.src.js +5 -5
  431. package/modules/wordcloud.js +2 -2
  432. package/modules/wordcloud.src.js +6 -6
  433. package/modules/xrange.js +2 -2
  434. package/modules/xrange.src.js +3 -3
  435. package/options/ad.d.ts +17 -9
  436. package/options/ad.src.d.ts +17 -9
  437. package/options/apo.d.ts +17 -9
  438. package/options/apo.src.d.ts +17 -9
  439. package/options/arearange.d.ts +17 -9
  440. package/options/arearange.src.d.ts +17 -9
  441. package/options/areaspline.d.ts +17 -9
  442. package/options/areaspline.src.d.ts +17 -9
  443. package/options/bar.d.ts +17 -9
  444. package/options/bar.src.d.ts +17 -9
  445. package/options/bb.d.ts +17 -9
  446. package/options/bb.src.d.ts +17 -9
  447. package/options/bubble.d.ts +17 -9
  448. package/options/bubble.src.d.ts +17 -9
  449. package/options/candlestick.d.ts +17 -9
  450. package/options/candlestick.src.d.ts +17 -9
  451. package/options/cci.d.ts +17 -9
  452. package/options/cci.src.d.ts +17 -9
  453. package/options/cmf.d.ts +17 -9
  454. package/options/cmf.src.d.ts +17 -9
  455. package/options/column.d.ts +17 -9
  456. package/options/column.src.d.ts +17 -9
  457. package/options/columnpyramid.d.ts +17 -9
  458. package/options/columnpyramid.src.d.ts +17 -9
  459. package/options/columnrange.d.ts +17 -9
  460. package/options/columnrange.src.d.ts +17 -9
  461. package/options/cylinder.d.ts +17 -9
  462. package/options/cylinder.src.d.ts +17 -9
  463. package/options/dema.d.ts +17 -9
  464. package/options/dema.src.d.ts +17 -9
  465. package/options/dependencywheel.d.ts +17 -9
  466. package/options/dependencywheel.src.d.ts +17 -9
  467. package/options/disparityindex.d.ts +17 -9
  468. package/options/disparityindex.src.d.ts +17 -9
  469. package/options/dpo.d.ts +17 -9
  470. package/options/dpo.src.d.ts +17 -9
  471. package/options/dumbbell.d.ts +17 -9
  472. package/options/dumbbell.src.d.ts +17 -9
  473. package/options/ema.d.ts +17 -9
  474. package/options/ema.src.d.ts +17 -9
  475. package/options/funnel.d.ts +17 -9
  476. package/options/funnel.src.d.ts +17 -9
  477. package/options/gantt.d.ts +16 -8
  478. package/options/gantt.src.d.ts +16 -8
  479. package/options/klinger.d.ts +17 -9
  480. package/options/klinger.src.d.ts +17 -9
  481. package/options/linearregression.d.ts +17 -9
  482. package/options/linearregression.src.d.ts +17 -9
  483. package/options/lollipop.d.ts +17 -9
  484. package/options/lollipop.src.d.ts +17 -9
  485. package/options/macd.d.ts +17 -9
  486. package/options/macd.src.d.ts +17 -9
  487. package/options/momentum.d.ts +17 -9
  488. package/options/momentum.src.d.ts +17 -9
  489. package/options/ohlc.d.ts +17 -9
  490. package/options/ohlc.src.d.ts +17 -9
  491. package/options/organization.d.ts +17 -9
  492. package/options/organization.src.d.ts +17 -9
  493. package/options/pareto.d.ts +16 -8
  494. package/options/pareto.src.d.ts +16 -8
  495. package/options/pc.d.ts +17 -9
  496. package/options/pc.src.d.ts +17 -9
  497. package/options/polygon.d.ts +17 -9
  498. package/options/polygon.src.d.ts +17 -9
  499. package/options/ppo.d.ts +17 -9
  500. package/options/ppo.src.d.ts +17 -9
  501. package/options/psar.d.ts +17 -9
  502. package/options/psar.src.d.ts +17 -9
  503. package/options/pyramid.d.ts +17 -9
  504. package/options/pyramid.src.d.ts +17 -9
  505. package/options/roc.d.ts +17 -9
  506. package/options/roc.src.d.ts +17 -9
  507. package/options/sankey.d.ts +17 -9
  508. package/options/sankey.src.d.ts +17 -9
  509. package/options/scatter.d.ts +17 -9
  510. package/options/scatter.src.d.ts +17 -9
  511. package/options/series.d.ts +17 -9
  512. package/options/series.src.d.ts +17 -9
  513. package/options/sma.d.ts +17 -9
  514. package/options/sma.src.d.ts +17 -9
  515. package/options/spline.d.ts +17 -9
  516. package/options/spline.src.d.ts +17 -9
  517. package/options/stochastic.d.ts +17 -9
  518. package/options/stochastic.src.d.ts +17 -9
  519. package/options/supertrend.d.ts +17 -9
  520. package/options/supertrend.src.d.ts +17 -9
  521. package/options/tilemap.d.ts +17 -9
  522. package/options/tilemap.src.d.ts +17 -9
  523. package/options/treegraph.d.ts +24 -9
  524. package/options/treegraph.src.d.ts +24 -9
  525. package/options/treemap.d.ts +23 -8
  526. package/options/treemap.src.d.ts +23 -8
  527. package/options/trendline.d.ts +17 -9
  528. package/options/trendline.src.d.ts +17 -9
  529. package/options/variwide.d.ts +17 -9
  530. package/options/variwide.src.d.ts +17 -9
  531. package/options/vbp.d.ts +17 -9
  532. package/options/vbp.src.d.ts +17 -9
  533. package/options/vector.d.ts +17 -9
  534. package/options/vector.src.d.ts +17 -9
  535. package/options/waterfall.d.ts +17 -9
  536. package/options/waterfall.src.d.ts +17 -9
  537. package/options/williamsr.d.ts +17 -9
  538. package/options/williamsr.src.d.ts +17 -9
  539. package/options/xrange.d.ts +17 -9
  540. package/options/xrange.src.d.ts +17 -9
  541. package/package.json +1 -1
  542. package/standalone-navigator.js +2 -2
  543. package/standalone-navigator.src.js +3380 -3049
  544. package/themes/avocado.js +2 -2
  545. package/themes/avocado.src.js +3 -3
  546. package/themes/brand-dark.js +2 -2
  547. package/themes/brand-dark.src.js +3 -3
  548. package/themes/brand-light.js +2 -2
  549. package/themes/brand-light.src.js +3 -3
  550. package/themes/dark-blue.js +2 -2
  551. package/themes/dark-blue.src.js +3 -3
  552. package/themes/dark-green.js +2 -2
  553. package/themes/dark-green.src.js +3 -3
  554. package/themes/dark-unica.js +2 -2
  555. package/themes/dark-unica.src.js +3 -3
  556. package/themes/gray.js +2 -2
  557. package/themes/gray.src.js +3 -3
  558. package/themes/grid-light.js +2 -2
  559. package/themes/grid-light.src.js +3 -3
  560. package/themes/grid.js +2 -2
  561. package/themes/grid.src.js +3 -3
  562. package/themes/high-contrast-dark.js +2 -2
  563. package/themes/high-contrast-dark.src.js +3 -3
  564. package/themes/high-contrast-light.js +2 -2
  565. package/themes/high-contrast-light.src.js +3 -3
  566. package/themes/sand-signika.js +2 -2
  567. package/themes/sand-signika.src.js +3 -3
  568. package/themes/skies.js +2 -2
  569. package/themes/skies.src.js +3 -3
  570. package/themes/sunset.js +2 -2
  571. package/themes/sunset.src.js +3 -3
@@ -191,6 +191,11 @@ class AreaSeries extends LineSeries {
191
191
  // TODO: don't set leftCliff and rightCliff when connectNulls?
192
192
  const graphPath = getGraphPath
193
193
  .call(this, graphPoints, false, connectNulls);
194
+ if (this.chart.series.length > 1 &&
195
+ stacking &&
196
+ graphPoints.some((point) => point.isCliff)) {
197
+ areaPath.hasStackedCliffs = graphPath.hasStackedCliffs = true;
198
+ }
194
199
  areaPath.xMap = topPath.xMap;
195
200
  this.areaPath = areaPath;
196
201
  return graphPath;
@@ -16,7 +16,7 @@
16
16
  /**
17
17
  * The area series type.
18
18
  *
19
- * @sample {highcharts} highcharts/demo/area-basic/
19
+ * @sample {highcharts} highcharts/demo/area-chart/
20
20
  * Area chart
21
21
  * @sample {highstock} stock/demo/area/
22
22
  * Area chart
@@ -37,7 +37,7 @@ class BarSeries extends ColumnSeries {
37
37
  * A bar series is a special type of column series where the columns are
38
38
  * horizontal.
39
39
  *
40
- * @sample highcharts/demo/bar-basic/
40
+ * @sample highcharts/demo/bar-chart/
41
41
  * Bar chart
42
42
  *
43
43
  * @extends plotOptions.column
@@ -29,7 +29,7 @@
29
29
  * @product highcharts
30
30
  * @excluding boostThreshold, connectNulls, dragDrop, stacking,
31
31
  * pointInterval, pointIntervalUnit
32
- * @requires modules/bellcurve
32
+ * @requires modules/histogram-bellcurve
33
33
  * @optionparent plotOptions.bellcurve
34
34
  */
35
35
  const BellcurveSeriesDefaults = {
@@ -86,7 +86,7 @@ const BellcurveSeriesDefaults = {
86
86
  * @since 6.0.0
87
87
  * @product highcharts
88
88
  * @excluding dataParser, dataURL, data, boostThreshold, boostBlending
89
- * @requires modules/bellcurve
89
+ * @requires modules/histogram-bellcurve
90
90
  * @apioption series.bellcurve
91
91
  */
92
92
  /**
@@ -139,7 +139,8 @@ class BoxPlotSeries extends ColumnSeries {
139
139
  }
140
140
  let d;
141
141
  // The stem
142
- const stemX = crisp(point.plotX || 0, point.stem.strokeWidth());
142
+ const stemX = crisp((point.plotX || 0) + (series.pointXOffset || 0) +
143
+ ((series.barW || 0) / 2), point.stem.strokeWidth());
143
144
  d = [
144
145
  // Stem up
145
146
  ['M', stemX, q3Plot],
@@ -92,11 +92,8 @@ function chartDrawChartBox(proceed, options, callback) {
92
92
  *
93
93
  * @param {Highcharts.Legend} LegendClass
94
94
  * Core legend class to use with Bubble series.
95
- *
96
- * @param {Highcharts.Series} SeriesClass
97
- * Core series class to use with Bubble series.
98
95
  */
99
- function compose(ChartClass, LegendClass, SeriesClass) {
96
+ function compose(ChartClass, LegendClass) {
100
97
  if (pushUnique(composed, 'Series.BubbleLegend')) {
101
98
  setOptions({
102
99
  // Set default bubble legend options
@@ -106,7 +103,7 @@ function compose(ChartClass, LegendClass, SeriesClass) {
106
103
  });
107
104
  wrap(ChartClass.prototype, 'drawChartBox', chartDrawChartBox);
108
105
  addEvent(LegendClass, 'afterGetAllItems', onLegendAfterGetAllItems);
109
- addEvent(SeriesClass, 'legendItemClick', onSeriesLegendItemClick);
106
+ addEvent(LegendClass, 'itemClick', onLegendItemClick);
110
107
  }
111
108
  }
112
109
  /**
@@ -198,12 +195,12 @@ function onLegendAfterGetAllItems(e) {
198
195
  /**
199
196
  * Toggle bubble legend depending on the visible status of bubble series.
200
197
  */
201
- function onSeriesLegendItemClick(e) {
198
+ function onLegendItemClick(e) {
202
199
  // #14080 don't fire this code if click function is prevented
203
200
  if (e.defaultPrevented) {
204
201
  return false;
205
202
  }
206
- const series = this, chart = series.chart, visible = series.visible, legend = series.chart.legend;
203
+ const legend = this, series = e.legendItem, chart = legend.chart, visible = series.visible;
207
204
  let status;
208
205
  if (legend && legend.bubbleLegend) {
209
206
  // Temporary correct 'visible' property
@@ -183,19 +183,19 @@ const BubbleLegendDefaults = {
183
183
  * not specified, the `minSize` and the `maxSize` are calculated
184
184
  * from bubble series.
185
185
  */
186
- maxSize: 60,
186
+ maxSize: 60, // Number
187
187
  /**
188
188
  * Minimum bubble legend range size. If values for ranges are
189
189
  * not specified, the `minSize` and the `maxSize` are calculated
190
190
  * from bubble series.
191
191
  */
192
- minSize: 10,
192
+ minSize: 10, // Number
193
193
  /**
194
194
  * The position of the bubble legend in the legend.
195
195
  * @sample highcharts/bubble-legend/connectorandlabels/
196
196
  * Bubble legend as last item in legend
197
197
  */
198
- legendIndex: 0,
198
+ legendIndex: 0, // Number
199
199
  /**
200
200
  * Options for specific range. One range consists of bubble,
201
201
  * label and connector.
@@ -87,8 +87,8 @@ class BubbleSeries extends ScatterSeries {
87
87
  * Static Functions
88
88
  *
89
89
  * */
90
- static compose(AxisClass, ChartClass, LegendClass, SeriesClass) {
91
- BubbleLegendComposition.compose(ChartClass, LegendClass, SeriesClass);
90
+ static compose(AxisClass, ChartClass, LegendClass) {
91
+ BubbleLegendComposition.compose(ChartClass, LegendClass);
92
92
  if (pushUnique(composed, 'Series.Bubble')) {
93
93
  addEvent(AxisClass, 'foundExtremes', onAxisFoundExtremes);
94
94
  }
@@ -363,7 +363,7 @@ BubbleSeries.defaultOptions = merge(ScatterSeries.defaultOptions, {
363
363
  * @excluding enabled, enabledThreshold, height, radius, width
364
364
  */
365
365
  marker: {
366
- lineColor: null,
366
+ lineColor: null, // Inherit from series.color
367
367
  lineWidth: 1,
368
368
  /**
369
369
  * The fill opacity of the bubble markers.
@@ -555,7 +555,7 @@ extend(BubbleSeries.prototype, {
555
555
  pointClass: BubblePoint,
556
556
  parallelArrays: ['x', 'y', 'z'],
557
557
  trackerGroups: ['group', 'dataLabelsGroup'],
558
- specialGroup: 'group',
558
+ specialGroup: 'group', // To allow clipping (#6296)
559
559
  zoneAxis: 'z'
560
560
  });
561
561
  // On updated data in any series, delete the chart-level Z extremes cache
@@ -117,7 +117,7 @@ const ColumnSeriesDefaults = {
117
117
  * @apioption plotOptions.column.grouping
118
118
  */
119
119
  /** @ignore-option */
120
- marker: null,
120
+ marker: null, // Point options are specified in the base options
121
121
  /**
122
122
  * The maximum allowed pixel width for a column, translated to the
123
123
  * height of a bar in a bar chart. This prevents the columns from
@@ -21,6 +21,9 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
21
21
  const { pie: PieSeries, sankey: SankeySeries } = SeriesRegistry.seriesTypes;
22
22
  import U from '../../Core/Utilities.js';
23
23
  const { extend, merge, relativeLength } = U;
24
+ import SVGElement from '../../Core/Renderer/SVG/SVGElement.js';
25
+ import TextPath from '../../Extensions/TextPath.js';
26
+ TextPath.compose(SVGElement);
24
27
  /* *
25
28
  *
26
29
  * Class
@@ -193,8 +196,8 @@ class DependencyWheelSeries extends SankeySeries {
193
196
  'A',
194
197
  innerR, innerR,
195
198
  0,
196
- 0,
197
- 1,
199
+ 0, // Long arc
200
+ 1, // Clockwise
198
201
  corners[1].x, corners[1].y
199
202
  ], [
200
203
  'C',
@@ -162,14 +162,14 @@ const DumbbellSeriesDefaults = {
162
162
  * @apioption series.dumbbell.data
163
163
  */
164
164
  /**
165
- * Color of the start markers in a twojastara dumbbell graph. This option takes
165
+ * Color of the start markers in a dumbbell graph. This option takes
166
166
  * priority over the series color. To avoid this, set `lowColor` to
167
167
  * `undefined`.
168
168
  *
169
169
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
170
170
  * @since 8.0.0
171
171
  * @product highcharts highstock
172
- * @apioption series.dumbell.lowColor
172
+ * @apioption series.dumbbell.lowColor
173
173
  */
174
174
  /**
175
175
  * Options for the lower markers of the dumbbell-like series. When `lowMarker`
@@ -70,8 +70,8 @@ addEvent(ErrorBarSeries, 'afterTranslate', function () {
70
70
  }
71
71
  }, { order: 0 });
72
72
  extend(ErrorBarSeries.prototype, {
73
- pointArrayMap: ['low', 'high'],
74
- pointValKey: 'high',
73
+ pointArrayMap: ['low', 'high'], // Array point configs are mapped to this
74
+ pointValKey: 'high', // Defines the top of the tracker
75
75
  doQuartiles: false
76
76
  });
77
77
  SeriesRegistry.registerSeriesType('errorbar', ErrorBarSeries);
@@ -276,11 +276,11 @@ OnSeriesComposition.compose(FlagsSeries);
276
276
  extend(FlagsSeries.prototype, {
277
277
  allowDG: false,
278
278
  forceCrop: true,
279
- invertible: false,
279
+ invertible: false, // Flags series group should not be invertible (#14063).
280
280
  noSharedTooltip: true,
281
281
  pointClass: FlagsPoint,
282
282
  sorted: false,
283
- takeOrdinalPosition: false,
283
+ takeOrdinalPosition: false, // #1074
284
284
  trackerGroups: ['markerGroup'],
285
285
  buildKDTree: noop,
286
286
  /**
@@ -61,7 +61,7 @@ const FlagsSeriesDefaults = {
61
61
  * @product highstock
62
62
  * @apioption plotOptions.flags.onSeries
63
63
  */
64
- pointRange: 0,
64
+ pointRange: 0, // #673
65
65
  /**
66
66
  * Whether the flags are allowed to overlap sideways. If `false`, the
67
67
  * flags are moved sideways using an algorithm that seeks to place every
@@ -73,7 +73,7 @@ const GanttSeriesDefaults = {
73
73
  align: 'left'
74
74
  },
75
75
  endMarker: {
76
- enabled: false,
76
+ enabled: false, // Only show arrow on the dependent task
77
77
  align: 'right'
78
78
  }
79
79
  }
@@ -480,7 +480,7 @@ extend(GaugeSeries.prototype, {
480
480
  // `chart.angular` will be set to true when a gauge series is present, and
481
481
  // this will be used on the axes
482
482
  angular: true,
483
- directTouch: true,
483
+ directTouch: true, // #5063
484
484
  drawGraph: noop,
485
485
  drawTracker: ColumnSeries.prototype.drawTracker,
486
486
  fixedBox: true,
@@ -164,7 +164,7 @@ class HLCSeries extends ColumnSeries {
164
164
  HLCSeries.defaultOptions = merge(ColumnSeries.defaultOptions, HLCSeriesDefaults);
165
165
  extend(HLCSeries.prototype, {
166
166
  pointClass: HLCPoint,
167
- animate: null,
167
+ animate: null, // Disable animation
168
168
  directTouch: false,
169
169
  pointArrayMap: ['high', 'low', 'close'],
170
170
  pointAttrToOptions: {
@@ -282,14 +282,14 @@ const HeatmapSeriesDefaults = {
282
282
  },
283
283
  clip: true,
284
284
  /** @ignore-option */
285
- pointRange: null,
285
+ pointRange: null, // Dynamically set to colsize by default
286
286
  tooltip: {
287
287
  pointFormat: '{point.x}, {point.y}: {point.value}<br/>'
288
288
  },
289
289
  states: {
290
290
  hover: {
291
291
  /** @ignore-option */
292
- halo: false,
292
+ halo: false, // #3406, halo is disabled on heatmaps by default
293
293
  /**
294
294
  * How much to brighten the point on interaction. Requires the
295
295
  * main color to be defined in hex or rgb(a) format.
@@ -26,7 +26,7 @@ const { defined, extend, fireEvent, isNumber, merge, pick } = U;
26
26
  /**
27
27
  * The item series type.
28
28
  *
29
- * @requires module:modules/item-series
29
+ * @requires modules/item-series
30
30
  *
31
31
  * @private
32
32
  * @class
@@ -65,7 +65,7 @@ class MapSeries extends ScatterSeries {
65
65
  group.attr({
66
66
  translateX: chart.plotLeft + chart.plotWidth / 2,
67
67
  translateY: chart.plotTop + chart.plotHeight / 2,
68
- scaleX: 0.001,
68
+ scaleX: 0.001, // #1499
69
69
  scaleY: 0.001
70
70
  });
71
71
  // Run the animation
@@ -42,7 +42,7 @@ const MapSeriesDefaults = {
42
42
  * @private
43
43
  */
44
44
  affectsMapView: true,
45
- animation: false,
45
+ animation: false, // Makes the complex shapes slow
46
46
  dataLabels: {
47
47
  crop: false,
48
48
  formatter: function () {
@@ -52,7 +52,7 @@ const MapSeriesDefaults = {
52
52
  numberFormatter(value, -1) :
53
53
  this.point.name; // #20231
54
54
  },
55
- inside: true,
55
+ inside: true, // For the color
56
56
  overflow: false,
57
57
  padding: 0,
58
58
  verticalAlign: 'middle'
@@ -10,6 +10,7 @@
10
10
  *
11
11
  * */
12
12
  'use strict';
13
+ import SVGElement from '../../Core/Renderer/SVG/SVGElement.js';
13
14
  import DragNodesComposition from '../DragNodesComposition.js';
14
15
  import GraphLayout from '../GraphLayoutComposition.js';
15
16
  import H from '../../Core/Globals.js';
@@ -24,6 +25,8 @@ import D from '../SimulationSeriesUtilities.js';
24
25
  const { initDataLabels, initDataLabelsDefer } = D;
25
26
  import U from '../../Core/Utilities.js';
26
27
  const { addEvent, defined, extend, merge, pick } = U;
28
+ import TextPath from '../../Extensions/TextPath.js';
29
+ TextPath.compose(SVGElement);
27
30
  /* *
28
31
  *
29
32
  * Class
@@ -329,7 +332,7 @@ class NetworkgraphSeries extends Series {
329
332
  NetworkgraphSeries.defaultOptions = merge(Series.defaultOptions, NetworkgraphSeriesDefaults);
330
333
  extend(NetworkgraphSeries.prototype, {
331
334
  pointClass: NetworkgraphPoint,
332
- animate: void 0,
335
+ animate: void 0, // Animation is run in `series.simulation`
333
336
  directTouch: true,
334
337
  drawGraph: void 0,
335
338
  forces: ['barycenter', 'repulsive', 'attractive'],
@@ -17,6 +17,9 @@ import PathUtilities from '../PathUtilities.js';
17
17
  const { sankey: SankeySeries } = SeriesRegistry.seriesTypes;
18
18
  import U from '../../Core/Utilities.js';
19
19
  const { css, crisp, extend, isNumber, merge, pick } = U;
20
+ import SVGElement from '../../Core/Renderer/SVG/SVGElement.js';
21
+ import TextPath from '../../Extensions/TextPath.js';
22
+ TextPath.compose(SVGElement);
20
23
  /* *
21
24
  *
22
25
  * Class
@@ -30,7 +30,7 @@ class PackedBubblePoint extends BubblePoint {
30
30
  * @private
31
31
  */
32
32
  destroy() {
33
- if (this.series.layout) {
33
+ if (this.series?.layout) {
34
34
  this.series.layout.removeElementFromCollection(this, this.series.layout.nodes);
35
35
  }
36
36
  return Point.prototype.destroy.apply(this, arguments);
@@ -23,6 +23,9 @@ import D from '../SimulationSeriesUtilities.js';
23
23
  const { initDataLabels, initDataLabelsDefer } = D;
24
24
  import U from '../../Core/Utilities.js';
25
25
  const { addEvent, clamp, defined, extend, fireEvent, isArray, isNumber, merge, pick } = U;
26
+ import SVGElement from '../../Core/Renderer/SVG/SVGElement.js';
27
+ import TextPath from '../../Extensions/TextPath.js';
28
+ TextPath.compose(SVGElement);
26
29
  /* *
27
30
  *
28
31
  * Class
@@ -52,8 +55,8 @@ class PackedBubbleSeries extends BubbleSeries {
52
55
  * Static Functions
53
56
  *
54
57
  * */
55
- static compose(AxisClass, ChartClass, LegendClass, SeriesClass) {
56
- BubbleSeries.compose(AxisClass, ChartClass, LegendClass, SeriesClass);
58
+ static compose(AxisClass, ChartClass, LegendClass) {
59
+ BubbleSeries.compose(AxisClass, ChartClass, LegendClass);
57
60
  DragNodesComposition.compose(ChartClass);
58
61
  PackedBubbleLayout.compose(ChartClass);
59
62
  }
@@ -480,10 +483,10 @@ class PackedBubbleSeries extends BubbleSeries {
480
483
  // Create first bubble in the middle of the chart
481
484
  bubblePos.push([
482
485
  [
486
+ 0, // Starting in 0,0 coordinates
483
487
  0,
484
- 0,
485
- sortedArr[0][2],
486
- sortedArr[0][3],
488
+ sortedArr[0][2], // Radius
489
+ sortedArr[0][3], // Series index
487
490
  sortedArr[0][4]
488
491
  ] // Point index
489
492
  ]); // 0 level bubble
@@ -131,7 +131,7 @@ var ColumnDataLabel;
131
131
  */
132
132
  function drawDataLabels() {
133
133
  const series = this, points = series.points, chart = series.chart, plotWidth = chart.plotWidth, plotHeight = chart.plotHeight, plotLeft = chart.plotLeft, maxWidth = Math.round(chart.chartWidth / 3), seriesCenter = series.center, radius = seriesCenter[2] / 2, centerY = seriesCenter[1], halves = [
134
- [],
134
+ [], // Right
135
135
  [] // Left
136
136
  ], overflow = [0, 0, 0, 0], // Top, right, bottom, left
137
137
  dataLabelPositioners = series.dataLabelPositioners;
@@ -207,11 +207,12 @@ var ColumnDataLabel;
207
207
  labelPosition.top = Math.max(0, centerY - radius - labelPosition.distance);
208
208
  labelPosition.bottom = Math.min(centerY + radius + labelPosition.distance, chart.plotHeight);
209
209
  size = dataLabel.getBBox().height || 21;
210
+ dataLabel.lineHeight = chart.renderer.fontMetrics(dataLabel.text || dataLabel).h + 2 * dataLabel.padding;
210
211
  point.distributeBox = {
211
212
  target: ((dataLabel.dataLabelPosition
212
213
  ?.natural.y || 0) -
213
214
  labelPosition.top +
214
- size / 2),
215
+ dataLabel.lineHeight / 2),
215
216
  size,
216
217
  rank: point.y
217
218
  };
@@ -226,7 +227,7 @@ var ColumnDataLabel;
226
227
  points.forEach((point) => {
227
228
  (point.dataLabels || []).forEach((dataLabel) => {
228
229
  const dataLabelOptions = (dataLabel.options || {}), distributeBox = point.distributeBox, labelPosition = dataLabel.dataLabelPosition, naturalY = labelPosition?.natural.y || 0, connectorPadding = dataLabelOptions
229
- .connectorPadding || 0;
230
+ .connectorPadding || 0, lineHeight = dataLabel.lineHeight || 21, bBox = dataLabel.getBBox(), topOffset = (lineHeight - bBox.height) / 2;
230
231
  let x = 0, y = naturalY, visibility = 'inherit';
231
232
  if (labelPosition) {
232
233
  if (positions &&
@@ -256,7 +257,7 @@ var ColumnDataLabel;
256
257
  x = dataLabelPositioners.alignToPlotEdges(dataLabel, halfIdx, plotWidth, plotLeft);
257
258
  break;
258
259
  default:
259
- x = dataLabelPositioners.radialDistributionX(series, point, y, naturalY, dataLabel);
260
+ x = dataLabelPositioners.radialDistributionX(series, point, y - topOffset, naturalY, dataLabel);
260
261
  }
261
262
  }
262
263
  // Record the placement and visibility
@@ -274,10 +275,10 @@ var ColumnDataLabel;
274
275
  y: y +
275
276
  (dataLabelOptions.y || 0) - // (#12985)
276
277
  // Vertically center
277
- dataLabel.getBBox().height / 2
278
+ lineHeight / 2
278
279
  };
279
280
  labelPosition.computed.x = x;
280
- labelPosition.computed.y = y;
281
+ labelPosition.computed.y = y - topOffset;
281
282
  // Detect overflowing data labels
282
283
  if (pick(dataLabelOptions.crop, true)) {
283
284
  dataLabelWidth = dataLabel.getBBox().width;
@@ -148,18 +148,18 @@ extend(PiePoint.prototype, {
148
148
  // Only one available before v7.0.0
149
149
  fixedOffset: function (labelPosition, connectorPosition, options) {
150
150
  const breakAt = connectorPosition.breakAt, touchingSliceAt = connectorPosition.touchingSliceAt, lineSegment = options.softConnector ? [
151
- 'C',
151
+ 'C', // Soft break
152
152
  // 1st control point (of the curve)
153
153
  labelPosition.x +
154
154
  // 5 gives the connector a little horizontal bend
155
155
  (labelPosition.alignment === 'left' ? -5 : 5),
156
- labelPosition.y,
157
- 2 * breakAt.x - touchingSliceAt.x,
158
- 2 * breakAt.y - touchingSliceAt.y,
159
- breakAt.x,
156
+ labelPosition.y, //
157
+ 2 * breakAt.x - touchingSliceAt.x, // 2nd control point
158
+ 2 * breakAt.y - touchingSliceAt.y, //
159
+ breakAt.x, // End of the curve
160
160
  breakAt.y //
161
161
  ] : [
162
- 'L',
162
+ 'L', // Pointy break
163
163
  breakAt.x,
164
164
  breakAt.y
165
165
  ];
@@ -74,13 +74,14 @@ const PieSeriesDefaults = {
74
74
  * event information. The default action is to toggle the visibility of
75
75
  * the point. This can be prevented by calling `event.preventDefault()`.
76
76
  *
77
- * @sample {highcharts} highcharts/plotoptions/pie-point-events-legenditemclick/
78
- * Confirm toggle visibility
79
- *
80
- * @type {Highcharts.PointLegendItemClickCallbackFunction}
81
- * @since 1.2.0
82
- * @product highcharts highmaps
83
- * @apioption plotOptions.pie.point.events.legendItemClick
77
+ * **Note:** This option is deprecated in favor of
78
+ * [legend.events.itemClick](#legend.events.itemClick).
79
+ *
80
+ * @deprecated 11.4.4
81
+ * @type {Highcharts.PointLegendItemClickCallbackFunction}
82
+ * @since 1.2.0
83
+ * @product highcharts highmaps
84
+ * @apioption plotOptions.pie.point.events.legendItemClick
84
85
  */
85
86
  /**
86
87
  * The center of the pie chart relative to the plot area. Can be
@@ -130,7 +131,7 @@ const PieSeriesDefaults = {
130
131
  *
131
132
  * @private
132
133
  */
133
- colorByPoint: true,
134
+ colorByPoint: true, // Always true for pies
134
135
  /**
135
136
  * A series specific or series type specific color set to use instead
136
137
  * of the global [colors](#colors).
@@ -426,7 +427,7 @@ const PieSeriesDefaults = {
426
427
  *
427
428
  * @private
428
429
  */
429
- marker: null,
430
+ marker: null, // Point options are specified in the base options
430
431
  /**
431
432
  * The minimum size for a pie in response to auto margins. The pie will
432
433
  * try to shrink to make room for data labels in side the plot area,
@@ -553,7 +554,7 @@ const PieSeriesDefaults = {
553
554
  * @ignore-option
554
555
  * @private
555
556
  */
556
- lineWidth: void 0,
557
+ lineWidth: void 0, // #12222
557
558
  states: {
558
559
  /**
559
560
  * @extends plotOptions.series.states.hover
@@ -69,7 +69,7 @@ class Pie3DSeries extends PieSeries {
69
69
  attribs = {
70
70
  translateX: center[0],
71
71
  translateY: center[1],
72
- scaleX: 0.001,
72
+ scaleX: 0.001, // #1499
73
73
  scaleY: 0.001
74
74
  };
75
75
  group.attr(attribs);
@@ -23,6 +23,9 @@ import TU from '../TreeUtilities.js';
23
23
  const { getLevelOptions, getNodeWidth } = TU;
24
24
  import U from '../../Core/Utilities.js';
25
25
  const { clamp, crisp, extend, isObject, merge, pick, relativeLength, stableSort } = U;
26
+ import SVGElement from '../../Core/Renderer/SVG/SVGElement.js';
27
+ import TextPath from '../../Extensions/TextPath.js';
28
+ TextPath.compose(SVGElement);
26
29
  /* *
27
30
  *
28
31
  * Class
@@ -214,18 +217,18 @@ class SankeySeries extends ColumnSeries {
214
217
  // should be the level of the root node.
215
218
  from: 1,
216
219
  levels: options.levels,
217
- to: nodeColumns.length - 1,
220
+ to: nodeColumns.length - 1, // Height of the tree
218
221
  defaults: {
219
222
  borderColor: options.borderColor,
220
- borderRadius: options.borderRadius,
223
+ borderRadius: options.borderRadius, // Organization series
221
224
  borderWidth: options.borderWidth,
222
225
  color: series.color,
223
226
  colorByPoint: options.colorByPoint,
224
227
  // NOTE: if support for allowTraversingTree is added, then
225
228
  // levelIsConstant should be optional.
226
229
  levelIsConstant: true,
227
- linkColor: options.linkColor,
228
- linkLineWidth: options.linkLineWidth,
230
+ linkColor: options.linkColor, // Organization series
231
+ linkLineWidth: options.linkLineWidth, // Organization series
229
232
  linkOpacity: options.linkOpacity,
230
233
  states: options.states
231
234
  }
@@ -66,7 +66,7 @@ const SankeySeriesDefaults = {
66
66
  */
67
67
  dataLabels: {
68
68
  enabled: true,
69
- backgroundColor: 'none',
69
+ backgroundColor: 'none', // Enable padding
70
70
  crop: false,
71
71
  /**
72
72
  * The
@@ -26,6 +26,9 @@ import U from '../../Core/Utilities.js';
26
26
  import SunburstNode from './SunburstNode.js';
27
27
  import SunburstSeriesDefaults from './SunburstSeriesDefaults.js';
28
28
  const { defined, error, extend, fireEvent, isNumber, isObject, isString, merge, splat } = U;
29
+ import SVGElement from '../../Core/Renderer/SVG/SVGElement.js';
30
+ import TextPath from '../../Extensions/TextPath.js';
31
+ TextPath.compose(SVGElement);
29
32
  /* *
30
33
  *
31
34
  * Constants
@@ -333,7 +336,7 @@ class SunburstSeries extends TreemapSeries {
333
336
  attribs = {
334
337
  translateX: center[0] + plotLeft,
335
338
  translateY: center[1] + plotTop,
336
- scaleX: 0.001,
339
+ scaleX: 0.001, // #1499
337
340
  scaleY: 0.001,
338
341
  rotation: 10,
339
342
  opacity: 0.01
@@ -408,12 +411,12 @@ class SunburstSeries extends TreemapSeries {
408
411
  };
409
412
  }
410
413
  extend(point, {
411
- shapeExisting: shape,
414
+ shapeExisting: shape, // Store for use in animation
412
415
  tooltipPos: [shape.plotX, shape.plotY],
413
416
  drillId: getDrillId(point, idRoot, nodeMap),
414
417
  name: '' + (point.name || point.id || point.index),
415
- plotX: shape.plotX,
416
- plotY: shape.plotY,
418
+ plotX: shape.plotX, // Used for data label position
419
+ plotY: shape.plotY, // Used for data label position
417
420
  value: node.val,
418
421
  isInside: visible,
419
422
  isNull: !visible // Used for dataLabels & point.draw
@@ -615,7 +618,7 @@ class SunburstSeries extends TreemapSeries {
615
618
  SunburstSeries.defaultOptions = merge(TreemapSeries.defaultOptions, SunburstSeriesDefaults);
616
619
  extend(SunburstSeries.prototype, {
617
620
  axisTypes: [],
618
- drawDataLabels: noop,
621
+ drawDataLabels: noop, // `drawDataLabels` is called in `drawPoints`
619
622
  getCenter: getCenter,
620
623
  isCartesian: false,
621
624
  // Mark that the sunburst is supported by the series on point feature.