highcharts 13.0.1 → 13.0.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 (915) hide show
  1. package/bower.json +2 -3
  2. package/es-modules/Accessibility/A11yI18n.js +4 -4
  3. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +6 -4
  4. package/es-modules/Accessibility/Components/LegendComponent.js +2 -2
  5. package/es-modules/Accessibility/Components/NavigatorComponent.js +2 -2
  6. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +13 -10
  7. package/es-modules/Accessibility/Components/ZoomComponent.js +2 -2
  8. package/es-modules/Accessibility/FocusBorder.js +2 -2
  9. package/es-modules/Accessibility/Options/DeprecatedOptions.js +1 -2
  10. package/es-modules/Core/Animation/AnimationUtilities.js +3 -2
  11. package/es-modules/Core/Axis/Axis.js +48 -57
  12. package/es-modules/Core/Axis/Axis3DComposition.js +8 -6
  13. package/es-modules/Core/Axis/BrokenAxis.js +6 -5
  14. package/es-modules/Core/Axis/Color/ColorAxis.js +17 -10
  15. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +2 -2
  16. package/es-modules/Core/Axis/GridAxis.js +4 -4
  17. package/es-modules/Core/Axis/LogarithmicAxis.js +5 -3
  18. package/es-modules/Core/Axis/NavigatorAxisComposition.js +2 -2
  19. package/es-modules/Core/Axis/OrdinalAxis.js +9 -7
  20. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -2
  21. package/es-modules/Core/Axis/RadialAxis.js +15 -9
  22. package/es-modules/Core/Axis/ScrollbarAxis.js +3 -3
  23. package/es-modules/Core/Axis/Stacking/StackItem.js +5 -5
  24. package/es-modules/Core/Axis/Stacking/StackingAxis.js +4 -4
  25. package/es-modules/Core/Axis/Tick.js +10 -11
  26. package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -3
  27. package/es-modules/Core/Chart/Chart.js +14 -14
  28. package/es-modules/Core/Chart/Chart3D.js +3 -3
  29. package/es-modules/Core/Chart/ChartDefaults.js +23 -0
  30. package/es-modules/Core/Chart/MapChart.js +7 -5
  31. package/es-modules/Core/Chart/StockChart.js +15 -11
  32. package/es-modules/Core/Color/Color.js +3 -1
  33. package/es-modules/Core/Defaults.js +35 -0
  34. package/es-modules/Core/Globals.js +1 -1
  35. package/es-modules/Core/Legend/Legend.js +16 -12
  36. package/es-modules/Core/Legend/LegendSymbol.js +2 -2
  37. package/es-modules/Core/MSPointer.js +2 -2
  38. package/es-modules/Core/Math3D.js +6 -7
  39. package/es-modules/Core/Pointer.js +9 -9
  40. package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
  41. package/es-modules/Core/Renderer/SVG/SVGElement.js +11 -9
  42. package/es-modules/Core/Renderer/SVG/SVGElement3D.js +2 -2
  43. package/es-modules/Core/Renderer/SVG/SVGLabel.js +5 -5
  44. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +5 -5
  45. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +11 -9
  46. package/es-modules/Core/Renderer/SVG/Symbols.js +6 -5
  47. package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
  48. package/es-modules/Core/Responsive.js +7 -5
  49. package/es-modules/Core/Series/DataLabel.js +8 -6
  50. package/es-modules/Core/Series/OverlappingDataLabels.js +5 -2
  51. package/es-modules/Core/Series/Point.js +3 -3
  52. package/es-modules/Core/Series/Series.js +37 -21
  53. package/es-modules/Core/Series/Series3D.js +2 -2
  54. package/es-modules/Core/Templating.js +2 -2
  55. package/es-modules/Core/Tooltip.js +11 -7
  56. package/es-modules/Core/Utilities.js +4 -3
  57. package/es-modules/Data/Connectors/DataConnector.js +2 -2
  58. package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
  59. package/es-modules/Data/DataTable.js +17 -0
  60. package/es-modules/Extensions/Annotations/Annotation.js +4 -4
  61. package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -2
  62. package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
  63. package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +2 -2
  64. package/es-modules/Extensions/Annotations/EventEmitter.js +4 -4
  65. package/es-modules/Extensions/Annotations/NavigationBindings.js +6 -3
  66. package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +2 -2
  67. package/es-modules/Extensions/Annotations/Popup/Popup.js +3 -2
  68. package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -6
  69. package/es-modules/Extensions/Annotations/Types/Measure.js +3 -3
  70. package/es-modules/Extensions/Annotations/Types/VerticalLine.js +3 -3
  71. package/es-modules/Extensions/Boost/BoostChart.js +11 -4
  72. package/es-modules/Extensions/Boost/BoostSeries.js +8 -9
  73. package/es-modules/Extensions/Boost/WGLRenderer.js +9 -6
  74. package/es-modules/Extensions/Boost/WGLShader.js +3 -3
  75. package/es-modules/Extensions/BoostCanvas.js +2 -2
  76. package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +5 -4
  77. package/es-modules/Extensions/DataGrouping/DataGrouping.js +2 -2
  78. package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +4 -3
  79. package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +2 -2
  80. package/es-modules/Extensions/DraggablePoints/DragDropProps.js +2 -3
  81. package/es-modules/Extensions/ExportData/ExportData.js +17 -16
  82. package/es-modules/Extensions/Exporting/Exporting.js +7 -7
  83. package/es-modules/Extensions/MouseWheelZoom/MouseWheelZoom.js +2 -2
  84. package/es-modules/Extensions/Pane/PaneComposition.js +2 -2
  85. package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -2
  86. package/es-modules/Extensions/PatternFill.js +7 -5
  87. package/es-modules/Extensions/PriceIndication.js +5 -4
  88. package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +7 -7
  89. package/es-modules/Extensions/Sonification/MIDI.js +2 -3
  90. package/es-modules/Extensions/Sonification/Sonification.js +2 -2
  91. package/es-modules/Extensions/Sonification/SonificationSpeaker.js +3 -2
  92. package/es-modules/Extensions/Sonification/SynthPatch.js +3 -3
  93. package/es-modules/Extensions/Sonification/TimelineFromChart.js +11 -11
  94. package/es-modules/Gantt/Legacy.js +2 -2
  95. package/es-modules/Gantt/Pathfinder.js +3 -3
  96. package/es-modules/Gantt/PathfinderAlgorithms.js +4 -3
  97. package/es-modules/Gantt/Tree.js +1 -1
  98. package/es-modules/Maps/MapNavigation.js +4 -4
  99. package/es-modules/Maps/MapPointer.js +2 -2
  100. package/es-modules/Maps/MapView.js +2 -2
  101. package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +8 -6
  102. package/es-modules/Series/Area/AreaSeries.js +4 -5
  103. package/es-modules/Series/BoxPlot/BoxPlotSeries.js +13 -4
  104. package/es-modules/Series/Bubble/BubbleLegendItem.js +10 -6
  105. package/es-modules/Series/Bubble/BubbleSeries.js +10 -9
  106. package/es-modules/Series/Bullet/BulletSeries.js +17 -10
  107. package/es-modules/Series/CenteredUtilities.js +7 -5
  108. package/es-modules/Series/Column/ColumnSeries.js +2 -2
  109. package/es-modules/Series/Column3D/Column3DComposition.js +6 -5
  110. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +4 -4
  111. package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +4 -2
  112. package/es-modules/Series/Cylinder/CylinderComposition.js +2 -2
  113. package/es-modules/Series/DataModifyComposition.js +9 -7
  114. package/es-modules/Series/DotPlot/DotPlotSeries.js +3 -2
  115. package/es-modules/Series/Dumbbell/DumbbellPoint.js +14 -3
  116. package/es-modules/Series/Dumbbell/DumbbellSeries.js +24 -7
  117. package/es-modules/Series/FlowMap/FlowMapPoint.js +5 -3
  118. package/es-modules/Series/FlowMap/FlowMapSeries.js +17 -9
  119. package/es-modules/Series/Funnel/FunnelSeries.js +2 -2
  120. package/es-modules/Series/Funnel3D/Funnel3DSeries.js +7 -5
  121. package/es-modules/Series/Gauge/GaugeSeries.js +2 -2
  122. package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +4 -4
  123. package/es-modules/Series/Heatmap/HeatmapPoint.js +6 -6
  124. package/es-modules/Series/Heatmap/HeatmapPointOptions.js +12 -0
  125. package/es-modules/Series/Heatmap/HeatmapSeries.js +13 -13
  126. package/es-modules/Series/Heatmap/HeatmapSeriesOptions.js +12 -0
  127. package/es-modules/Series/Histogram/HistogramPoint.js +17 -0
  128. package/es-modules/Series/Histogram/HistogramPointOptions.js +12 -0
  129. package/es-modules/Series/Histogram/HistogramSeries.js +14 -2
  130. package/es-modules/Series/Histogram/HistogramSeriesOptions.js +12 -0
  131. package/es-modules/Series/InterpolationUtilities.js +5 -5
  132. package/es-modules/Series/Item/ItemPointOptions.js +14 -0
  133. package/es-modules/Series/Item/ItemSeries.js +18 -6
  134. package/es-modules/Series/Item/ItemSeriesOptions.js +14 -0
  135. package/es-modules/Series/Map/MapPoint.js +5 -3
  136. package/es-modules/Series/Map/MapSeries.js +5 -8
  137. package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +3 -3
  138. package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +4 -2
  139. package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +18 -9
  140. package/es-modules/Series/NodesComposition.js +9 -10
  141. package/es-modules/Series/Organization/OrganizationPoint.js +3 -2
  142. package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -3
  143. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +5 -5
  144. package/es-modules/Series/Pictorial/PictorialSeries.js +4 -2
  145. package/es-modules/Series/Pie/PieDataLabel.js +2 -2
  146. package/es-modules/Series/Pie/PiePoint.js +2 -2
  147. package/es-modules/Series/Pie/PieSeries.js +3 -2
  148. package/es-modules/Series/Pie3D/Pie3DSeries.js +8 -4
  149. package/es-modules/Series/PolarComposition.js +8 -7
  150. package/es-modules/Series/Sankey/SankeySeries.js +11 -5
  151. package/es-modules/Series/Scatter/ScatterSeries.js +6 -5
  152. package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +2 -2
  153. package/es-modules/Series/Spline/SplineSeries.js +5 -5
  154. package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +8 -6
  155. package/es-modules/Series/Tilemap/TilemapShapes.js +2 -2
  156. package/es-modules/Series/Timeline/TimelinePoint.js +2 -2
  157. package/es-modules/Series/Timeline/TimelineSeries.js +4 -3
  158. package/es-modules/Series/TreeUtilities.js +16 -7
  159. package/es-modules/Series/Treegraph/TreegraphLink.js +2 -2
  160. package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
  161. package/es-modules/Series/Treemap/TreemapSeries.js +14 -11
  162. package/es-modules/Series/VariablePie/VariablePieSeries.js +6 -4
  163. package/es-modules/Series/Variwide/VariwideSeries.js +2 -2
  164. package/es-modules/Series/Waterfall/WaterfallSeries.js +2 -2
  165. package/es-modules/Series/Windbarb/WindbarbSeries.js +2 -2
  166. package/es-modules/Shared/TimeBase.js +8 -2
  167. package/es-modules/Shared/Utilities.js +9 -7
  168. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -3
  169. package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +4 -3
  170. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +1 -1
  171. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -2
  172. package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +4 -4
  173. package/es-modules/Stock/Navigator/Navigator.js +26 -26
  174. package/es-modules/Stock/Navigator/StandaloneNavigator.js +4 -4
  175. package/es-modules/Stock/RangeSelector/RangeSelector.js +15 -11
  176. package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +3 -3
  177. package/es-modules/Stock/Scrollbar/Scrollbar.js +8 -7
  178. package/es-modules/Stock/StockTools/StockToolbar.js +5 -5
  179. package/es-modules/Stock/StockTools/StockTools.js +2 -2
  180. package/es-modules/Stock/StockTools/StockToolsGui.js +4 -2
  181. package/es-modules/masters/highcharts-3d.src.js +1 -1
  182. package/es-modules/masters/highcharts-autoload.src.js +1 -1
  183. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  184. package/es-modules/masters/highcharts-more.src.js +1 -1
  185. package/es-modules/masters/highcharts.src.js +7 -2
  186. package/es-modules/masters/highmaps.src.js +1 -1
  187. package/es-modules/masters/highstock.src.js +1 -1
  188. package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
  189. package/es-modules/masters/i18n/fr-FR.src.js +1 -1
  190. package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
  191. package/es-modules/masters/i18n/nb-NO.src.js +1 -1
  192. package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
  193. package/es-modules/masters/i18n/zh-CN.src.js +1 -1
  194. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  195. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  196. package/es-modules/masters/indicators/ao.src.js +1 -1
  197. package/es-modules/masters/indicators/apo.src.js +1 -1
  198. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  199. package/es-modules/masters/indicators/aroon.src.js +1 -1
  200. package/es-modules/masters/indicators/atr.src.js +1 -1
  201. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  202. package/es-modules/masters/indicators/cci.src.js +1 -1
  203. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  204. package/es-modules/masters/indicators/cmf.src.js +1 -1
  205. package/es-modules/masters/indicators/cmo.src.js +1 -1
  206. package/es-modules/masters/indicators/dema.src.js +1 -1
  207. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  208. package/es-modules/masters/indicators/dmi.src.js +1 -1
  209. package/es-modules/masters/indicators/dpo.src.js +1 -1
  210. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  211. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  212. package/es-modules/masters/indicators/indicators.src.js +1 -1
  213. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  214. package/es-modules/masters/indicators/klinger.src.js +1 -1
  215. package/es-modules/masters/indicators/macd.src.js +1 -1
  216. package/es-modules/masters/indicators/mfi.src.js +1 -1
  217. package/es-modules/masters/indicators/momentum.src.js +1 -1
  218. package/es-modules/masters/indicators/natr.src.js +1 -1
  219. package/es-modules/masters/indicators/obv.src.js +1 -1
  220. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  221. package/es-modules/masters/indicators/ppo.src.js +1 -1
  222. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  223. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  224. package/es-modules/masters/indicators/psar.src.js +1 -1
  225. package/es-modules/masters/indicators/regressions.src.js +1 -1
  226. package/es-modules/masters/indicators/roc.src.js +1 -1
  227. package/es-modules/masters/indicators/rsi.src.js +1 -1
  228. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  229. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  230. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  231. package/es-modules/masters/indicators/tema.src.js +1 -1
  232. package/es-modules/masters/indicators/trendline.src.js +1 -1
  233. package/es-modules/masters/indicators/trix.src.js +1 -1
  234. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  235. package/es-modules/masters/indicators/vwap.src.js +1 -1
  236. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  237. package/es-modules/masters/indicators/wma.src.js +1 -1
  238. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  239. package/es-modules/masters/modules/accessibility.src.js +1 -1
  240. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  241. package/es-modules/masters/modules/annotations.src.js +1 -1
  242. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  243. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  244. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  245. package/es-modules/masters/modules/boost.src.js +1 -1
  246. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  247. package/es-modules/masters/modules/bullet.src.js +1 -1
  248. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  249. package/es-modules/masters/modules/contour.src.js +1 -1
  250. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  251. package/es-modules/masters/modules/cylinder.src.js +1 -1
  252. package/es-modules/masters/modules/data-sorting.src.js +1 -1
  253. package/es-modules/masters/modules/data-tools.src.js +1 -1
  254. package/es-modules/masters/modules/data.src.js +1 -1
  255. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  256. package/es-modules/masters/modules/debugger.src.js +1 -1
  257. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  258. package/es-modules/masters/modules/dotplot.src.js +1 -1
  259. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  260. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  261. package/es-modules/masters/modules/drilldown.src.js +1 -1
  262. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  263. package/es-modules/masters/modules/export-data.src.js +1 -1
  264. package/es-modules/masters/modules/exporting.src.js +1 -1
  265. package/es-modules/masters/modules/flowmap.src.js +1 -1
  266. package/es-modules/masters/modules/full-screen.src.js +1 -1
  267. package/es-modules/masters/modules/funnel.src.js +1 -1
  268. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  269. package/es-modules/masters/modules/gantt.src.js +1 -1
  270. package/es-modules/masters/modules/geoheatmap.src.js +1 -1
  271. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  272. package/es-modules/masters/modules/heatmap.src.js +1 -1
  273. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  274. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  275. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  276. package/es-modules/masters/modules/item-series.src.js +1 -1
  277. package/es-modules/masters/modules/lollipop.src.js +1 -1
  278. package/es-modules/masters/modules/map.src.js +1 -1
  279. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  280. package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
  281. package/es-modules/masters/modules/navigator.src.js +1 -1
  282. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  283. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  284. package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
  285. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  286. package/es-modules/masters/modules/organization.src.js +1 -1
  287. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  288. package/es-modules/masters/modules/pareto.src.js +1 -1
  289. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  290. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  291. package/es-modules/masters/modules/pictorial.src.js +1 -1
  292. package/es-modules/masters/modules/pointandfigure.src.js +1 -1
  293. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  294. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  295. package/es-modules/masters/modules/renko.src.js +1 -1
  296. package/es-modules/masters/modules/sankey.src.js +1 -1
  297. package/es-modules/masters/modules/series-label.src.js +1 -1
  298. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  299. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  300. package/es-modules/masters/modules/sonification.src.js +1 -1
  301. package/es-modules/masters/modules/static-scale.src.js +1 -1
  302. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  303. package/es-modules/masters/modules/stock.src.js +1 -1
  304. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  305. package/es-modules/masters/modules/sunburst.src.js +1 -1
  306. package/es-modules/masters/modules/textpath.src.js +1 -1
  307. package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
  308. package/es-modules/masters/modules/tilemap.src.js +1 -1
  309. package/es-modules/masters/modules/timeline.src.js +1 -1
  310. package/es-modules/masters/modules/treegraph.src.js +1 -1
  311. package/es-modules/masters/modules/treegrid.src.js +1 -1
  312. package/es-modules/masters/modules/treemap.src.js +1 -1
  313. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  314. package/es-modules/masters/modules/variwide.src.js +1 -1
  315. package/es-modules/masters/modules/vector.src.js +1 -1
  316. package/es-modules/masters/modules/venn.src.js +1 -1
  317. package/es-modules/masters/modules/windbarb.src.js +1 -1
  318. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  319. package/es-modules/masters/modules/xrange.src.js +1 -1
  320. package/es-modules/masters/standalone-navigator.src.js +1 -1
  321. package/es-modules/masters/themes/adaptive.src.js +1 -1
  322. package/es-modules/masters/themes/avocado.src.js +1 -1
  323. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  324. package/es-modules/masters/themes/grid-light.src.js +1 -1
  325. package/es-modules/masters/themes/high-contrast.src.js +1 -1
  326. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  327. package/es-modules/masters/themes/sunset.src.js +1 -1
  328. package/es-modules/tsconfig.tsbuildinfo +1 -1
  329. package/esm/highcharts-3d.js +2 -2
  330. package/esm/highcharts-3d.src.js +40 -32
  331. package/esm/highcharts-autoload.js +1 -1
  332. package/esm/highcharts-autoload.src.js +1 -1
  333. package/esm/highcharts-gantt.js +1 -1
  334. package/esm/highcharts-gantt.src.js +1 -1
  335. package/esm/highcharts-more.js +2 -2
  336. package/esm/highcharts-more.src.js +90 -56
  337. package/esm/highcharts.js +4 -4
  338. package/esm/highcharts.src.js +312 -207
  339. package/esm/highmaps.js +1 -1
  340. package/esm/highmaps.src.js +1 -1
  341. package/esm/highstock.js +1 -1
  342. package/esm/highstock.src.js +1 -1
  343. package/esm/i18n/fr-FR.js +1 -1
  344. package/esm/i18n/fr-FR.src.js +1 -1
  345. package/esm/i18n/nb-NO.js +1 -1
  346. package/esm/i18n/nb-NO.src.js +1 -1
  347. package/esm/i18n/zh-CN.js +1 -1
  348. package/esm/i18n/zh-CN.src.js +1 -1
  349. package/esm/indicators/acceleration-bands.js +1 -1
  350. package/esm/indicators/acceleration-bands.src.js +1 -1
  351. package/esm/indicators/accumulation-distribution.js +1 -1
  352. package/esm/indicators/accumulation-distribution.src.js +1 -1
  353. package/esm/indicators/ao.js +1 -1
  354. package/esm/indicators/ao.src.js +1 -1
  355. package/esm/indicators/apo.js +1 -1
  356. package/esm/indicators/apo.src.js +1 -1
  357. package/esm/indicators/aroon-oscillator.js +1 -1
  358. package/esm/indicators/aroon-oscillator.src.js +1 -1
  359. package/esm/indicators/aroon.js +2 -2
  360. package/esm/indicators/aroon.src.js +3 -3
  361. package/esm/indicators/atr.js +1 -1
  362. package/esm/indicators/atr.src.js +1 -1
  363. package/esm/indicators/bollinger-bands.js +1 -1
  364. package/esm/indicators/bollinger-bands.src.js +1 -1
  365. package/esm/indicators/cci.js +1 -1
  366. package/esm/indicators/cci.src.js +1 -1
  367. package/esm/indicators/chaikin.js +1 -1
  368. package/esm/indicators/chaikin.src.js +1 -1
  369. package/esm/indicators/cmf.js +1 -1
  370. package/esm/indicators/cmf.src.js +1 -1
  371. package/esm/indicators/cmo.js +1 -1
  372. package/esm/indicators/cmo.src.js +1 -1
  373. package/esm/indicators/dema.js +1 -1
  374. package/esm/indicators/dema.src.js +1 -1
  375. package/esm/indicators/disparity-index.js +1 -1
  376. package/esm/indicators/disparity-index.src.js +1 -1
  377. package/esm/indicators/dmi.js +1 -1
  378. package/esm/indicators/dmi.src.js +1 -1
  379. package/esm/indicators/dpo.js +2 -2
  380. package/esm/indicators/dpo.src.js +4 -3
  381. package/esm/indicators/ichimoku-kinko-hyo.js +1 -1
  382. package/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
  383. package/esm/indicators/indicators-all.js +2 -2
  384. package/esm/indicators/indicators-all.src.js +8 -7
  385. package/esm/indicators/indicators.js +2 -2
  386. package/esm/indicators/indicators.src.js +2 -2
  387. package/esm/indicators/keltner-channels.js +1 -1
  388. package/esm/indicators/keltner-channels.src.js +1 -1
  389. package/esm/indicators/klinger.js +1 -1
  390. package/esm/indicators/klinger.src.js +1 -1
  391. package/esm/indicators/macd.js +1 -1
  392. package/esm/indicators/macd.src.js +1 -1
  393. package/esm/indicators/mfi.js +1 -1
  394. package/esm/indicators/mfi.src.js +1 -1
  395. package/esm/indicators/momentum.js +1 -1
  396. package/esm/indicators/momentum.src.js +1 -1
  397. package/esm/indicators/natr.js +1 -1
  398. package/esm/indicators/natr.src.js +1 -1
  399. package/esm/indicators/obv.js +1 -1
  400. package/esm/indicators/obv.src.js +1 -1
  401. package/esm/indicators/pivot-points.js +1 -1
  402. package/esm/indicators/pivot-points.src.js +1 -1
  403. package/esm/indicators/ppo.js +1 -1
  404. package/esm/indicators/ppo.src.js +1 -1
  405. package/esm/indicators/price-channel.js +1 -1
  406. package/esm/indicators/price-channel.src.js +1 -1
  407. package/esm/indicators/price-envelopes.js +1 -1
  408. package/esm/indicators/price-envelopes.src.js +1 -1
  409. package/esm/indicators/psar.js +1 -1
  410. package/esm/indicators/psar.src.js +1 -1
  411. package/esm/indicators/regressions.js +1 -1
  412. package/esm/indicators/regressions.src.js +1 -1
  413. package/esm/indicators/roc.js +1 -1
  414. package/esm/indicators/roc.src.js +1 -1
  415. package/esm/indicators/rsi.js +1 -1
  416. package/esm/indicators/rsi.src.js +2 -2
  417. package/esm/indicators/slow-stochastic.js +1 -1
  418. package/esm/indicators/slow-stochastic.src.js +1 -1
  419. package/esm/indicators/stochastic.js +1 -1
  420. package/esm/indicators/stochastic.src.js +1 -1
  421. package/esm/indicators/supertrend.js +1 -1
  422. package/esm/indicators/supertrend.src.js +1 -1
  423. package/esm/indicators/tema.js +1 -1
  424. package/esm/indicators/tema.src.js +1 -1
  425. package/esm/indicators/trendline.js +1 -1
  426. package/esm/indicators/trendline.src.js +1 -1
  427. package/esm/indicators/trix.js +1 -1
  428. package/esm/indicators/trix.src.js +1 -1
  429. package/esm/indicators/volume-by-price.js +1 -1
  430. package/esm/indicators/volume-by-price.src.js +1 -1
  431. package/esm/indicators/vwap.js +1 -1
  432. package/esm/indicators/vwap.src.js +1 -1
  433. package/esm/indicators/williams-r.js +1 -1
  434. package/esm/indicators/williams-r.src.js +1 -1
  435. package/esm/indicators/wma.js +1 -1
  436. package/esm/indicators/wma.src.js +1 -1
  437. package/esm/indicators/zigzag.js +1 -1
  438. package/esm/indicators/zigzag.src.js +1 -1
  439. package/esm/modules/accessibility.js +2 -2
  440. package/esm/modules/accessibility.src.js +69 -63
  441. package/esm/modules/annotations-advanced.js +3 -3
  442. package/esm/modules/annotations-advanced.src.js +25 -23
  443. package/esm/modules/annotations.js +3 -3
  444. package/esm/modules/annotations.src.js +21 -19
  445. package/esm/modules/arc-diagram.js +2 -2
  446. package/esm/modules/arc-diagram.src.js +16 -15
  447. package/esm/modules/arrow-symbols.js +1 -1
  448. package/esm/modules/arrow-symbols.src.js +1 -1
  449. package/esm/modules/boost-canvas.js +2 -2
  450. package/esm/modules/boost-canvas.src.js +29 -20
  451. package/esm/modules/boost.js +2 -2
  452. package/esm/modules/boost.src.js +28 -19
  453. package/esm/modules/broken-axis.js +2 -2
  454. package/esm/modules/broken-axis.src.js +6 -5
  455. package/esm/modules/bullet.js +2 -2
  456. package/esm/modules/bullet.src.js +17 -10
  457. package/esm/modules/coloraxis.js +2 -2
  458. package/esm/modules/coloraxis.src.js +18 -11
  459. package/esm/modules/contour.js +1 -1
  460. package/esm/modules/contour.src.js +1 -1
  461. package/esm/modules/current-date-indicator.js +1 -1
  462. package/esm/modules/current-date-indicator.src.js +1 -1
  463. package/esm/modules/cylinder.js +2 -2
  464. package/esm/modules/cylinder.src.js +9 -10
  465. package/esm/modules/data-sorting.js +1 -1
  466. package/esm/modules/data-sorting.src.js +1 -1
  467. package/esm/modules/data-tools.js +2 -2
  468. package/esm/modules/data-tools.src.js +20 -3
  469. package/esm/modules/data.js +1 -1
  470. package/esm/modules/data.src.js +1 -1
  471. package/esm/modules/datagrouping.js +2 -2
  472. package/esm/modules/datagrouping.src.js +6 -5
  473. package/esm/modules/debugger.js +1 -1
  474. package/esm/modules/debugger.src.js +1 -1
  475. package/esm/modules/dependency-wheel.js +1 -1
  476. package/esm/modules/dependency-wheel.src.js +1 -1
  477. package/esm/modules/dotplot.js +2 -2
  478. package/esm/modules/dotplot.src.js +3 -2
  479. package/esm/modules/drag-panes.js +1 -1
  480. package/esm/modules/drag-panes.src.js +1 -1
  481. package/esm/modules/draggable-points.js +2 -2
  482. package/esm/modules/draggable-points.src.js +2 -3
  483. package/esm/modules/drilldown.js +2 -2
  484. package/esm/modules/drilldown.src.js +5 -4
  485. package/esm/modules/dumbbell.js +2 -2
  486. package/esm/modules/dumbbell.src.js +37 -9
  487. package/esm/modules/export-data.js +2 -2
  488. package/esm/modules/export-data.src.js +17 -16
  489. package/esm/modules/exporting.js +2 -2
  490. package/esm/modules/exporting.src.js +7 -7
  491. package/esm/modules/flowmap.js +2 -2
  492. package/esm/modules/flowmap.src.js +21 -11
  493. package/esm/modules/full-screen.js +1 -1
  494. package/esm/modules/full-screen.src.js +1 -1
  495. package/esm/modules/funnel.js +2 -2
  496. package/esm/modules/funnel.src.js +2 -2
  497. package/esm/modules/funnel3d.js +2 -2
  498. package/esm/modules/funnel3d.src.js +14 -13
  499. package/esm/modules/gantt.js +2 -2
  500. package/esm/modules/gantt.src.js +93 -76
  501. package/esm/modules/geoheatmap.js +2 -2
  502. package/esm/modules/geoheatmap.src.js +8 -8
  503. package/esm/modules/grid-axis.js +2 -2
  504. package/esm/modules/grid-axis.src.js +4 -4
  505. package/esm/modules/heatmap.js +2 -2
  506. package/esm/modules/heatmap.src.js +22 -22
  507. package/esm/modules/heikinashi.js +1 -1
  508. package/esm/modules/heikinashi.src.js +1 -1
  509. package/esm/modules/histogram-bellcurve.js +1 -1
  510. package/esm/modules/histogram-bellcurve.src.js +15 -3
  511. package/esm/modules/hollowcandlestick.js +1 -1
  512. package/esm/modules/hollowcandlestick.src.js +1 -1
  513. package/esm/modules/item-series.js +2 -2
  514. package/esm/modules/item-series.src.js +18 -6
  515. package/esm/modules/lollipop.js +1 -1
  516. package/esm/modules/lollipop.src.js +1 -1
  517. package/esm/modules/map.js +2 -2
  518. package/esm/modules/map.src.js +65 -57
  519. package/esm/modules/marker-clusters.js +1 -1
  520. package/esm/modules/marker-clusters.src.js +1 -1
  521. package/esm/modules/mouse-wheel-zoom.js +2 -2
  522. package/esm/modules/mouse-wheel-zoom.src.js +3 -3
  523. package/esm/modules/navigator.js +2 -2
  524. package/esm/modules/navigator.src.js +47 -45
  525. package/esm/modules/networkgraph.js +2 -2
  526. package/esm/modules/networkgraph.src.js +31 -21
  527. package/esm/modules/no-data-to-display.js +1 -1
  528. package/esm/modules/no-data-to-display.src.js +1 -1
  529. package/esm/modules/non-cartesian-zoom.js +1 -1
  530. package/esm/modules/non-cartesian-zoom.src.js +1 -1
  531. package/esm/modules/offline-exporting.js +1 -1
  532. package/esm/modules/offline-exporting.src.js +1 -1
  533. package/esm/modules/organization.js +2 -2
  534. package/esm/modules/organization.src.js +3 -2
  535. package/esm/modules/parallel-coordinates.js +2 -2
  536. package/esm/modules/parallel-coordinates.src.js +2 -2
  537. package/esm/modules/pareto.js +1 -1
  538. package/esm/modules/pareto.src.js +1 -1
  539. package/esm/modules/pathfinder.js +2 -2
  540. package/esm/modules/pathfinder.src.js +7 -6
  541. package/esm/modules/pattern-fill.js +2 -2
  542. package/esm/modules/pattern-fill.src.js +7 -5
  543. package/esm/modules/pictorial.js +2 -2
  544. package/esm/modules/pictorial.src.js +10 -6
  545. package/esm/modules/pointandfigure.js +1 -1
  546. package/esm/modules/pointandfigure.src.js +1 -1
  547. package/esm/modules/price-indicator.js +2 -2
  548. package/esm/modules/price-indicator.src.js +5 -4
  549. package/esm/modules/pyramid3d.js +1 -1
  550. package/esm/modules/pyramid3d.src.js +1 -1
  551. package/esm/modules/renko.js +1 -1
  552. package/esm/modules/renko.src.js +1 -1
  553. package/esm/modules/sankey.js +2 -2
  554. package/esm/modules/sankey.src.js +34 -20
  555. package/esm/modules/series-label.js +2 -2
  556. package/esm/modules/series-label.src.js +7 -7
  557. package/esm/modules/series-on-point.js +1 -1
  558. package/esm/modules/series-on-point.src.js +1 -1
  559. package/esm/modules/solid-gauge.js +2 -2
  560. package/esm/modules/solid-gauge.src.js +2 -2
  561. package/esm/modules/sonification.js +2 -2
  562. package/esm/modules/sonification.src.js +19 -19
  563. package/esm/modules/static-scale.js +1 -1
  564. package/esm/modules/static-scale.src.js +1 -1
  565. package/esm/modules/stock-tools.js +3 -3
  566. package/esm/modules/stock-tools.src.js +15 -10
  567. package/esm/modules/stock.js +2 -2
  568. package/esm/modules/stock.src.js +90 -76
  569. package/esm/modules/streamgraph.js +1 -1
  570. package/esm/modules/streamgraph.src.js +1 -1
  571. package/esm/modules/sunburst.js +2 -2
  572. package/esm/modules/sunburst.src.js +41 -26
  573. package/esm/modules/textpath.js +1 -1
  574. package/esm/modules/textpath.src.js +1 -1
  575. package/esm/modules/tiledwebmap.js +2 -2
  576. package/esm/modules/tiledwebmap.src.js +8 -6
  577. package/esm/modules/tilemap.js +2 -2
  578. package/esm/modules/tilemap.src.js +3 -3
  579. package/esm/modules/timeline.js +2 -2
  580. package/esm/modules/timeline.src.js +5 -4
  581. package/esm/modules/treegraph.js +2 -2
  582. package/esm/modules/treegraph.src.js +17 -8
  583. package/esm/modules/treegrid.js +2 -2
  584. package/esm/modules/treegrid.src.js +28 -18
  585. package/esm/modules/treemap.js +2 -2
  586. package/esm/modules/treemap.src.js +35 -22
  587. package/esm/modules/variable-pie.js +2 -2
  588. package/esm/modules/variable-pie.src.js +6 -4
  589. package/esm/modules/variwide.js +2 -2
  590. package/esm/modules/variwide.src.js +2 -2
  591. package/esm/modules/vector.js +1 -1
  592. package/esm/modules/vector.src.js +1 -1
  593. package/esm/modules/venn.js +1 -1
  594. package/esm/modules/venn.src.js +1 -1
  595. package/esm/modules/windbarb.js +2 -2
  596. package/esm/modules/windbarb.src.js +2 -2
  597. package/esm/modules/wordcloud.js +1 -1
  598. package/esm/modules/wordcloud.src.js +1 -1
  599. package/esm/modules/xrange.js +1 -1
  600. package/esm/modules/xrange.src.js +1 -1
  601. package/esm/standalone-navigator.js +4 -4
  602. package/esm/standalone-navigator.src.js +355 -249
  603. package/esm/themes/adaptive.js +1 -1
  604. package/esm/themes/adaptive.src.js +1 -1
  605. package/esm/themes/avocado.js +1 -1
  606. package/esm/themes/avocado.src.js +1 -1
  607. package/esm/themes/dark-unica.js +1 -1
  608. package/esm/themes/dark-unica.src.js +1 -1
  609. package/esm/themes/grid-light.js +1 -1
  610. package/esm/themes/grid-light.src.js +1 -1
  611. package/esm/themes/high-contrast.js +1 -1
  612. package/esm/themes/high-contrast.src.js +1 -1
  613. package/esm/themes/sand-signika.js +1 -1
  614. package/esm/themes/sand-signika.src.js +1 -1
  615. package/esm/themes/sunset.js +1 -1
  616. package/esm/themes/sunset.src.js +1 -1
  617. package/highcharts-3d.js +2 -2
  618. package/highcharts-3d.src.js +40 -32
  619. package/highcharts-autoload.d.ts +8 -2
  620. package/highcharts-autoload.js +4 -4
  621. package/highcharts-autoload.src.d.ts +8 -2
  622. package/highcharts-autoload.src.js +313 -208
  623. package/highcharts-gantt.js +4 -4
  624. package/highcharts-gantt.src.js +404 -283
  625. package/highcharts-more.js +2 -2
  626. package/highcharts-more.src.js +90 -56
  627. package/highcharts.d.ts +61 -4
  628. package/highcharts.js +4 -4
  629. package/highcharts.src.d.ts +61 -4
  630. package/highcharts.src.js +312 -207
  631. package/highmaps.js +4 -4
  632. package/highmaps.src.js +390 -272
  633. package/highstock.js +4 -4
  634. package/highstock.src.js +413 -293
  635. package/i18n/fr-FR.js +1 -1
  636. package/i18n/fr-FR.src.js +1 -1
  637. package/i18n/nb-NO.js +1 -1
  638. package/i18n/nb-NO.src.js +1 -1
  639. package/i18n/zh-CN.js +1 -1
  640. package/i18n/zh-CN.src.js +1 -1
  641. package/indicators/acceleration-bands.js +1 -1
  642. package/indicators/acceleration-bands.src.js +1 -1
  643. package/indicators/accumulation-distribution.js +1 -1
  644. package/indicators/accumulation-distribution.src.js +1 -1
  645. package/indicators/ao.js +1 -1
  646. package/indicators/ao.src.js +1 -1
  647. package/indicators/apo.js +1 -1
  648. package/indicators/apo.src.js +1 -1
  649. package/indicators/aroon-oscillator.js +1 -1
  650. package/indicators/aroon-oscillator.src.js +1 -1
  651. package/indicators/aroon.js +2 -2
  652. package/indicators/aroon.src.js +3 -3
  653. package/indicators/atr.js +1 -1
  654. package/indicators/atr.src.js +1 -1
  655. package/indicators/bollinger-bands.js +1 -1
  656. package/indicators/bollinger-bands.src.js +1 -1
  657. package/indicators/cci.js +1 -1
  658. package/indicators/cci.src.js +1 -1
  659. package/indicators/chaikin.js +1 -1
  660. package/indicators/chaikin.src.js +1 -1
  661. package/indicators/cmf.js +1 -1
  662. package/indicators/cmf.src.js +1 -1
  663. package/indicators/cmo.js +1 -1
  664. package/indicators/cmo.src.js +1 -1
  665. package/indicators/dema.js +1 -1
  666. package/indicators/dema.src.js +1 -1
  667. package/indicators/disparity-index.js +1 -1
  668. package/indicators/disparity-index.src.js +1 -1
  669. package/indicators/dmi.js +1 -1
  670. package/indicators/dmi.src.js +1 -1
  671. package/indicators/dpo.js +2 -2
  672. package/indicators/dpo.src.js +4 -3
  673. package/indicators/ichimoku-kinko-hyo.js +1 -1
  674. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  675. package/indicators/indicators-all.js +2 -2
  676. package/indicators/indicators-all.src.js +8 -7
  677. package/indicators/indicators.js +2 -2
  678. package/indicators/indicators.src.js +2 -2
  679. package/indicators/keltner-channels.js +1 -1
  680. package/indicators/keltner-channels.src.js +1 -1
  681. package/indicators/klinger.js +1 -1
  682. package/indicators/klinger.src.js +1 -1
  683. package/indicators/macd.js +1 -1
  684. package/indicators/macd.src.js +1 -1
  685. package/indicators/mfi.js +1 -1
  686. package/indicators/mfi.src.js +1 -1
  687. package/indicators/momentum.js +1 -1
  688. package/indicators/momentum.src.js +1 -1
  689. package/indicators/natr.js +1 -1
  690. package/indicators/natr.src.js +1 -1
  691. package/indicators/obv.js +1 -1
  692. package/indicators/obv.src.js +1 -1
  693. package/indicators/pivot-points.js +1 -1
  694. package/indicators/pivot-points.src.js +1 -1
  695. package/indicators/ppo.js +1 -1
  696. package/indicators/ppo.src.js +1 -1
  697. package/indicators/price-channel.js +1 -1
  698. package/indicators/price-channel.src.js +1 -1
  699. package/indicators/price-envelopes.js +1 -1
  700. package/indicators/price-envelopes.src.js +1 -1
  701. package/indicators/psar.js +1 -1
  702. package/indicators/psar.src.js +1 -1
  703. package/indicators/regressions.js +1 -1
  704. package/indicators/regressions.src.js +1 -1
  705. package/indicators/roc.js +1 -1
  706. package/indicators/roc.src.js +1 -1
  707. package/indicators/rsi.js +1 -1
  708. package/indicators/rsi.src.js +2 -2
  709. package/indicators/slow-stochastic.js +1 -1
  710. package/indicators/slow-stochastic.src.js +1 -1
  711. package/indicators/stochastic.js +1 -1
  712. package/indicators/stochastic.src.js +1 -1
  713. package/indicators/supertrend.js +1 -1
  714. package/indicators/supertrend.src.js +1 -1
  715. package/indicators/tema.js +1 -1
  716. package/indicators/tema.src.js +1 -1
  717. package/indicators/trendline.js +1 -1
  718. package/indicators/trendline.src.js +1 -1
  719. package/indicators/trix.js +1 -1
  720. package/indicators/trix.src.js +1 -1
  721. package/indicators/volume-by-price.js +1 -1
  722. package/indicators/volume-by-price.src.js +1 -1
  723. package/indicators/vwap.js +1 -1
  724. package/indicators/vwap.src.js +1 -1
  725. package/indicators/williams-r.js +1 -1
  726. package/indicators/williams-r.src.js +1 -1
  727. package/indicators/wma.js +1 -1
  728. package/indicators/wma.src.js +1 -1
  729. package/indicators/zigzag.js +1 -1
  730. package/indicators/zigzag.src.js +1 -1
  731. package/modules/accessibility.js +2 -2
  732. package/modules/accessibility.src.js +69 -63
  733. package/modules/annotations-advanced.js +3 -3
  734. package/modules/annotations-advanced.src.js +25 -23
  735. package/modules/annotations.js +3 -3
  736. package/modules/annotations.src.js +21 -19
  737. package/modules/arc-diagram.js +2 -2
  738. package/modules/arc-diagram.src.js +16 -15
  739. package/modules/arrow-symbols.js +1 -1
  740. package/modules/arrow-symbols.src.js +1 -1
  741. package/modules/boost-canvas.js +2 -2
  742. package/modules/boost-canvas.src.js +29 -20
  743. package/modules/boost.js +2 -2
  744. package/modules/boost.src.js +28 -19
  745. package/modules/broken-axis.js +2 -2
  746. package/modules/broken-axis.src.js +6 -5
  747. package/modules/bullet.js +2 -2
  748. package/modules/bullet.src.js +17 -10
  749. package/modules/coloraxis.js +2 -2
  750. package/modules/coloraxis.src.js +18 -11
  751. package/modules/contour.js +4 -4
  752. package/modules/contour.src.js +19 -12
  753. package/modules/current-date-indicator.js +1 -1
  754. package/modules/current-date-indicator.src.js +1 -1
  755. package/modules/cylinder.js +2 -2
  756. package/modules/cylinder.src.js +9 -10
  757. package/modules/data-sorting.js +1 -1
  758. package/modules/data-sorting.src.js +1 -1
  759. package/modules/data-tools.js +2 -2
  760. package/modules/data-tools.src.js +20 -3
  761. package/modules/data.js +1 -1
  762. package/modules/data.src.js +1 -1
  763. package/modules/datagrouping.js +2 -2
  764. package/modules/datagrouping.src.js +6 -5
  765. package/modules/debugger.js +1 -1
  766. package/modules/debugger.src.js +1 -1
  767. package/modules/dependency-wheel.js +1 -1
  768. package/modules/dependency-wheel.src.js +1 -1
  769. package/modules/dotplot.js +2 -2
  770. package/modules/dotplot.src.js +3 -2
  771. package/modules/drag-panes.js +1 -1
  772. package/modules/drag-panes.src.js +1 -1
  773. package/modules/draggable-points.js +2 -2
  774. package/modules/draggable-points.src.js +2 -3
  775. package/modules/drilldown.js +2 -2
  776. package/modules/drilldown.src.js +5 -4
  777. package/modules/dumbbell.js +2 -2
  778. package/modules/dumbbell.src.js +37 -9
  779. package/modules/export-data.js +2 -2
  780. package/modules/export-data.src.js +17 -16
  781. package/modules/exporting.js +2 -2
  782. package/modules/exporting.src.js +7 -7
  783. package/modules/flowmap.js +2 -2
  784. package/modules/flowmap.src.js +21 -11
  785. package/modules/full-screen.js +1 -1
  786. package/modules/full-screen.src.js +1 -1
  787. package/modules/funnel.js +2 -2
  788. package/modules/funnel.src.js +2 -2
  789. package/modules/funnel3d.js +2 -2
  790. package/modules/funnel3d.src.js +14 -13
  791. package/modules/gantt.js +6 -6
  792. package/modules/gantt.src.js +96 -79
  793. package/modules/geoheatmap.d.ts +0 -12
  794. package/modules/geoheatmap.js +2 -2
  795. package/modules/geoheatmap.src.d.ts +0 -12
  796. package/modules/geoheatmap.src.js +8 -8
  797. package/modules/grid-axis.js +2 -2
  798. package/modules/grid-axis.src.js +4 -4
  799. package/modules/heatmap.d.ts +0 -12
  800. package/modules/heatmap.js +4 -4
  801. package/modules/heatmap.src.d.ts +0 -12
  802. package/modules/heatmap.src.js +40 -33
  803. package/modules/heikinashi.js +1 -1
  804. package/modules/heikinashi.src.js +1 -1
  805. package/modules/histogram-bellcurve.js +1 -1
  806. package/modules/histogram-bellcurve.src.js +15 -3
  807. package/modules/hollowcandlestick.js +1 -1
  808. package/modules/hollowcandlestick.src.js +1 -1
  809. package/modules/item-series.js +2 -2
  810. package/modules/item-series.src.js +18 -6
  811. package/modules/lollipop.js +1 -1
  812. package/modules/lollipop.src.js +1 -1
  813. package/modules/map.d.ts +0 -12
  814. package/modules/map.js +4 -4
  815. package/modules/map.src.d.ts +0 -12
  816. package/modules/map.src.js +83 -68
  817. package/modules/marker-clusters.js +1 -1
  818. package/modules/marker-clusters.src.js +1 -1
  819. package/modules/mouse-wheel-zoom.js +2 -2
  820. package/modules/mouse-wheel-zoom.src.js +3 -3
  821. package/modules/navigator.js +2 -2
  822. package/modules/navigator.src.js +47 -45
  823. package/modules/networkgraph.js +2 -2
  824. package/modules/networkgraph.src.js +31 -21
  825. package/modules/no-data-to-display.js +1 -1
  826. package/modules/no-data-to-display.src.js +1 -1
  827. package/modules/non-cartesian-zoom.js +1 -1
  828. package/modules/non-cartesian-zoom.src.js +1 -1
  829. package/modules/offline-exporting.js +1 -1
  830. package/modules/offline-exporting.src.js +1 -1
  831. package/modules/organization.js +2 -2
  832. package/modules/organization.src.js +3 -2
  833. package/modules/parallel-coordinates.js +2 -2
  834. package/modules/parallel-coordinates.src.js +2 -2
  835. package/modules/pareto.js +1 -1
  836. package/modules/pareto.src.js +1 -1
  837. package/modules/pathfinder.js +2 -2
  838. package/modules/pathfinder.src.js +7 -6
  839. package/modules/pattern-fill.js +2 -2
  840. package/modules/pattern-fill.src.js +7 -5
  841. package/modules/pictorial.js +2 -2
  842. package/modules/pictorial.src.js +10 -6
  843. package/modules/pointandfigure.js +1 -1
  844. package/modules/pointandfigure.src.js +1 -1
  845. package/modules/price-indicator.js +2 -2
  846. package/modules/price-indicator.src.js +5 -4
  847. package/modules/pyramid3d.js +1 -1
  848. package/modules/pyramid3d.src.js +1 -1
  849. package/modules/renko.js +1 -1
  850. package/modules/renko.src.js +1 -1
  851. package/modules/sankey.js +2 -2
  852. package/modules/sankey.src.js +34 -20
  853. package/modules/series-label.js +2 -2
  854. package/modules/series-label.src.js +7 -7
  855. package/modules/series-on-point.js +1 -1
  856. package/modules/series-on-point.src.js +1 -1
  857. package/modules/solid-gauge.js +2 -2
  858. package/modules/solid-gauge.src.js +2 -2
  859. package/modules/sonification.js +2 -2
  860. package/modules/sonification.src.js +19 -19
  861. package/modules/static-scale.js +1 -1
  862. package/modules/static-scale.src.js +1 -1
  863. package/modules/stock-tools.js +3 -3
  864. package/modules/stock-tools.src.js +15 -10
  865. package/modules/stock.js +6 -6
  866. package/modules/stock.src.js +105 -89
  867. package/modules/streamgraph.js +1 -1
  868. package/modules/streamgraph.src.js +1 -1
  869. package/modules/sunburst.js +2 -2
  870. package/modules/sunburst.src.js +41 -26
  871. package/modules/textpath.js +1 -1
  872. package/modules/textpath.src.js +1 -1
  873. package/modules/tiledwebmap.js +2 -2
  874. package/modules/tiledwebmap.src.js +8 -6
  875. package/modules/tilemap.js +2 -2
  876. package/modules/tilemap.src.js +3 -3
  877. package/modules/timeline.js +2 -2
  878. package/modules/timeline.src.js +5 -4
  879. package/modules/treegraph.js +2 -2
  880. package/modules/treegraph.src.js +17 -8
  881. package/modules/treegrid.js +2 -2
  882. package/modules/treegrid.src.js +28 -18
  883. package/modules/treemap.js +2 -2
  884. package/modules/treemap.src.js +35 -22
  885. package/modules/variable-pie.js +2 -2
  886. package/modules/variable-pie.src.js +6 -4
  887. package/modules/variwide.js +2 -2
  888. package/modules/variwide.src.js +2 -2
  889. package/modules/vector.js +1 -1
  890. package/modules/vector.src.js +1 -1
  891. package/modules/venn.js +1 -1
  892. package/modules/venn.src.js +1 -1
  893. package/modules/windbarb.js +2 -2
  894. package/modules/windbarb.src.js +2 -2
  895. package/modules/wordcloud.js +1 -1
  896. package/modules/wordcloud.src.js +1 -1
  897. package/modules/xrange.js +1 -1
  898. package/modules/xrange.src.js +1 -1
  899. package/package.json +2 -3
  900. package/standalone-navigator.js +4 -4
  901. package/standalone-navigator.src.js +355 -249
  902. package/themes/adaptive.js +1 -1
  903. package/themes/adaptive.src.js +1 -1
  904. package/themes/avocado.js +1 -1
  905. package/themes/avocado.src.js +1 -1
  906. package/themes/dark-unica.js +1 -1
  907. package/themes/dark-unica.src.js +1 -1
  908. package/themes/grid-light.js +1 -1
  909. package/themes/grid-light.src.js +1 -1
  910. package/themes/high-contrast.js +1 -1
  911. package/themes/high-contrast.src.js +1 -1
  912. package/themes/sand-signika.js +1 -1
  913. package/themes/sand-signika.src.js +1 -1
  914. package/themes/sunset.js +1 -1
  915. package/themes/sunset.src.js +1 -1
@@ -17,7 +17,7 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
17
17
  const { gauge: GaugeSeries, pie: PieSeries } = SeriesRegistry.seriesTypes;
18
18
  import SolidGaugeAxis from '../../Core/Axis/SolidGaugeAxis.js';
19
19
  import SolidGaugeSeriesDefaults from './SolidGaugeSeriesDefaults.js';
20
- import { clamp, extend, isNumber, merge, pick, relativeLength } from '../../Shared/Utilities.js';
20
+ import { clamp, extend, isNumber, merge, relativeLength } from '../../Shared/Utilities.js';
21
21
  /* *
22
22
  *
23
23
  * Class
@@ -62,7 +62,7 @@ class SolidGaugeSeries extends GaugeSeries {
62
62
  if (isNumber(options.threshold)) {
63
63
  thresholdAngleRad = yAxis.startAngleRad + yAxis.translate(options.threshold, void 0, void 0, void 0, true);
64
64
  }
65
- this.thresholdAngleRad = pick(thresholdAngleRad, yAxis.startAngleRad);
65
+ this.thresholdAngleRad = (thresholdAngleRad ?? yAxis.startAngleRad);
66
66
  for (const point of series.points) {
67
67
  // #10630 null point should not be draw
68
68
  if (!point.isNull) { // Condition like in pie chart
@@ -12,7 +12,7 @@
12
12
  'use strict';
13
13
  import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
14
14
  const { line: LineSeries } = SeriesRegistry.seriesTypes;
15
- import { merge, pick } from '../../Shared/Utilities.js';
15
+ import { merge } from '../../Shared/Utilities.js';
16
16
  /* *
17
17
  *
18
18
  * Class
@@ -157,10 +157,10 @@ class SplineSeries extends LineSeries {
157
157
  }
158
158
  const ret = [
159
159
  'C',
160
- pick(lastPoint.rightContX, lastPoint.plotX, 0),
161
- pick(lastPoint.rightContY, lastPoint.plotY, 0),
162
- pick(leftContX, plotX, 0),
163
- pick(leftContY, plotY, 0),
160
+ (lastPoint.rightContX ?? lastPoint.plotX ?? 0),
161
+ (lastPoint.rightContY ?? lastPoint.plotY ?? 0),
162
+ (leftContX ?? plotX ?? 0),
163
+ (leftContY ?? plotY ?? 0),
164
164
  plotX,
165
165
  plotY
166
166
  ];
@@ -18,7 +18,7 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
18
18
  const { map: MapSeries } = SeriesRegistry.seriesTypes;
19
19
  import TilesProviderRegistry from '../../Maps/TilesProviders/TilesProviderRegistry.js';
20
20
  import TiledWebMapSeriesDefaults from './TiledWebMapSeriesDefaults.js';
21
- import { addEvent, defined, merge, pick, pushUnique } from '../../Shared/Utilities.js';
21
+ import { addEvent, defined, merge, pushUnique } from '../../Shared/Utilities.js';
22
22
  import { error } from '../../Core/Utilities.js';
23
23
  /* *
24
24
  *
@@ -129,8 +129,8 @@ class TiledWebMapSeries extends MapSeries {
129
129
  if (!mapView) {
130
130
  return;
131
131
  }
132
- const tiles = (this.tiles = this.tiles || {}), transformGroups = (this.transformGroups = this.transformGroups || []), series = this, options = this.options, provider = options.provider, { zoom } = mapView, lambda = pick((mapView.projection.options.rotation &&
133
- mapView.projection.options.rotation[0]), 0), worldSize = 400.979322, tileSize = 256, duration = chart.renderer.forExport ? 0 : 200, animateTiles = (duration) => {
132
+ const tiles = (this.tiles = this.tiles || {}), transformGroups = (this.transformGroups = this.transformGroups || []), series = this, options = this.options, provider = options.provider, { zoom } = mapView, lambda = ((mapView.projection.options.rotation &&
133
+ mapView.projection.options.rotation[0]) ?? 0), worldSize = 400.979322, tileSize = 256, duration = chart.renderer.forExport ? 0 : 200, animateTiles = (duration) => {
134
134
  for (const zoomKey of Object.keys(tiles)) {
135
135
  if ((parseFloat(zoomKey) === (mapView.zoom < 0 ? 0 :
136
136
  Math.floor(mapView.zoom))) ||
@@ -211,7 +211,7 @@ class TiledWebMapSeries extends MapSeries {
211
211
  else if (defined(def.subdomains) &&
212
212
  // Do not show warning if no subdomain in URL
213
213
  theme.url.indexOf('{s}') !== -1) {
214
- subdomain = pick(def.subdomains && def.subdomains[0], '');
214
+ subdomain = ((def.subdomains && def.subdomains[0]) ?? '');
215
215
  error('Highcharts warning: The Tiles Provider\'s Subdomain ' +
216
216
  '\'' + provider.subdomain + '\' is not defined in ' +
217
217
  'the Provider definition - falling back to \'' +
@@ -234,7 +234,9 @@ class TiledWebMapSeries extends MapSeries {
234
234
  this.minZoom = theme.minZoom;
235
235
  this.maxZoom = theme.maxZoom;
236
236
  // Add as credits.text, to prevent changing the default mapText
237
- const creditsText = pick(chart.userOptions.credits && chart.userOptions.credits.text, 'Highcharts.com ' + pick(theme.credits, def.defaultCredits));
237
+ const creditsText = ((chart.userOptions.credits &&
238
+ chart.userOptions.credits.text) ??
239
+ ('Highcharts.com ' + (theme.credits ?? def.defaultCredits)));
238
240
  if (chart.credits) {
239
241
  chart.credits.update({
240
242
  text: creditsText
@@ -243,7 +245,7 @@ class TiledWebMapSeries extends MapSeries {
243
245
  else {
244
246
  chart.addCredits({
245
247
  text: creditsText,
246
- style: pick(chart.options.credits?.style, {})
248
+ style: (chart.options.credits?.style ?? {})
247
249
  });
248
250
  }
249
251
  if (mapView.projection.options.name !== providerProjection) {
@@ -16,7 +16,7 @@ import H from '../../Core/Globals.js';
16
16
  const { noop } = H;
17
17
  import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
18
18
  const { heatmap: HeatmapSeries, scatter: ScatterSeries } = SeriesRegistry.seriesTypes;
19
- import { clamp, pick } from '../../Shared/Utilities.js';
19
+ import { clamp } from '../../Shared/Utilities.js';
20
20
  /* *
21
21
  *
22
22
  * Functions
@@ -150,7 +150,7 @@ const TilemapShapes = {
150
150
  xAxis.translate(point.x - xPad, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len), x3 = clamp(Math.round(xAxis.len -
151
151
  xAxis.translate(point.x + xPad, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len), y1 = clamp(Math.round(yAxis.translate(point.y - yPad, 0, 1, 0, 0)), -yAxis.len, 2 * yAxis.len), y2 = clamp(Math.round(yAxis.translate(point.y, 0, 1, 0, 0)), -yAxis.len, 2 * yAxis.len), y3 = clamp(Math.round(yAxis.translate(point.y + yPad, 0, 1, 0, 0)), -yAxis.len, 2 * yAxis.len);
152
152
  const x2 = clamp(Math.round(xAxis.len -
153
- xAxis.translate(point.x, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len), pointPadding = pick(point.pointPadding, seriesPointPadding),
153
+ xAxis.translate(point.x, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len), pointPadding = (point.pointPadding ?? seriesPointPadding),
154
154
  // We calculate the point padding of the midpoints to
155
155
  // preserve the angles of the shape.
156
156
  midPointPadding = pointPadding *
@@ -16,7 +16,7 @@
16
16
  import Point from '../../Core/Series/Point.js';
17
17
  import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
18
18
  const { line: { prototype: { pointClass: LinePoint } }, pie: { prototype: { pointClass: PiePoint } } } = SeriesRegistry.seriesTypes;
19
- import { defined, isNumber, merge, objectEach, pick } from '../../Shared/Utilities.js';
19
+ import { defined, isNumber, merge, objectEach } from '../../Shared/Utilities.js';
20
20
  /* *
21
21
  *
22
22
  * Class
@@ -129,7 +129,7 @@ class TimelinePoint extends LinePoint {
129
129
  }
130
130
  setVisible(visible, redraw) {
131
131
  const point = this, series = point.series;
132
- redraw = pick(redraw, series.options.ignoreHiddenPoint);
132
+ redraw = (redraw ?? series.options.ignoreHiddenPoint);
133
133
  PiePoint.prototype.setVisible.call(point, visible, false);
134
134
  // Process new data
135
135
  series.processData();
@@ -17,7 +17,7 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
17
17
  const { column: ColumnSeries, line: LineSeries } = SeriesRegistry.seriesTypes;
18
18
  import TimelinePoint from './TimelinePoint.js';
19
19
  import TimelineSeriesDefaults from './TimelineSeriesDefaults.js';
20
- import { addEvent, arrayMax, arrayMin, defined, extend, merge, pick } from '../../Shared/Utilities.js';
20
+ import { addEvent, arrayMax, arrayMin, defined, extend, merge } from '../../Shared/Utilities.js';
21
21
  /* *
22
22
  *
23
23
  * Class
@@ -55,7 +55,7 @@ class TimelineSeries extends LineSeries {
55
55
  if (isInverted) {
56
56
  targetDLWidth = ((distance - pad) * 2 - ((point.itemHeight || 0) / 2));
57
57
  styles = {
58
- width: pick(dataLabelsOptions.style?.width, `${series.yAxis.len * 0.4}px`),
58
+ width: (dataLabelsOptions.style?.width ?? `${series.yAxis.len * 0.4}px`),
59
59
  // Apply ellipsis when data label height is exceeded.
60
60
  textOverflow: (dataLabel.width || 0) / targetDLWidth *
61
61
  (dataLabel.height || 0) / 2 > availableSpace *
@@ -89,7 +89,8 @@ class TimelineSeries extends LineSeries {
89
89
  const series = this, dataLabelsOptions = series.options.dataLabels, inverted = series.chart.inverted;
90
90
  let visibilityIndex = 1;
91
91
  if (dataLabelsOptions) {
92
- const distance = pick(dataLabelsOptions.distance, inverted ? 20 : 100);
92
+ const distance = dataLabelsOptions.distance ??
93
+ (inverted ? 20 : 100);
93
94
  for (const point of series.points) {
94
95
  const defaults = {
95
96
  [inverted ? 'x' : 'y']: dataLabelsOptions.alternate && visibilityIndex % 2 ?
@@ -12,7 +12,7 @@
12
12
  * */
13
13
  'use strict';
14
14
  import Color from '../Core/Color/Color.js';
15
- import { extend, isArray, isNumber, isObject, merge, pick, relativeLength } from '../Shared/Utilities.js';
15
+ import { extend, isArray, isNumber, isObject, merge, relativeLength } from '../Shared/Utilities.js';
16
16
  /* *
17
17
  *
18
18
  * Functions
@@ -49,9 +49,17 @@ function getColor(node, options) {
49
49
  }
50
50
  // Select either point color, level color or inherited color.
51
51
  if (!series.chart.styledMode) {
52
- color = pick(point && point.options.color, level && level.color, colorByPoint, parentColor && variateColor(parentColor), series.color);
52
+ color = ((point && point.options.color) ??
53
+ (level && level.color) ??
54
+ colorByPoint ??
55
+ (parentColor && variateColor(parentColor)) ??
56
+ series.color);
53
57
  }
54
- colorIndex = pick(point && point.options.colorIndex, level && level.colorIndex, colorIndexByPoint, parentColorIndex, options.colorIndex);
58
+ colorIndex = ((point && point.options.colorIndex) ??
59
+ (level && level.colorIndex) ??
60
+ colorIndexByPoint ??
61
+ parentColorIndex ??
62
+ options.colorIndex);
55
63
  }
56
64
  return {
57
65
  color: color,
@@ -88,7 +96,8 @@ function getLevelOptions(params) {
88
96
  let level, levelIsConstant, options;
89
97
  if (isObject(item) && isNumber(item.level)) {
90
98
  options = merge({}, item);
91
- levelIsConstant = pick(options.levelIsConstant, defaults.levelIsConstant);
99
+ levelIsConstant =
100
+ options.levelIsConstant ?? defaults.levelIsConstant;
92
101
  // Delete redundant properties.
93
102
  delete options.levelIsConstant;
94
103
  delete options.level;
@@ -120,7 +129,7 @@ function setTreeValues(tree, options) {
120
129
  const before = options.before, idRoot = options.idRoot, mapIdToNode = options.mapIdToNode, nodeRoot = mapIdToNode[idRoot], levelIsConstant = (options.levelIsConstant !== false), points = options.points, point = points[tree.i], optionsPoint = point && point.options || {}, children = [];
121
130
  let childrenTotal = 0;
122
131
  tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
123
- tree.name = pick(point && point.name, '');
132
+ tree.name = ((point && point.name) ?? '');
124
133
  tree.visible = (idRoot === tree.id ||
125
134
  options.visible === true);
126
135
  if (typeof before === 'function') {
@@ -141,7 +150,7 @@ function setTreeValues(tree, options) {
141
150
  }
142
151
  });
143
152
  // Set the values
144
- const value = pick(optionsPoint.value, childrenTotal);
153
+ const value = (optionsPoint.value ?? childrenTotal);
145
154
  tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
146
155
  tree.children = children;
147
156
  tree.childrenTotal = childrenTotal;
@@ -167,7 +176,7 @@ function updateRootId(series) {
167
176
  // Get the series options.
168
177
  options = isObject(series.options) ? series.options : {};
169
178
  // Calculate the rootId.
170
- rootId = pick(series.rootNode, options.rootId, '');
179
+ rootId = (series.rootNode ?? options.rootId ?? '');
171
180
  // Set rootId on series.userOptions to pick it up in exporting.
172
181
  if (isObject(series.userOptions)) {
173
182
  series.userOptions.rootId = rootId;
@@ -12,7 +12,7 @@
12
12
  'use strict';
13
13
  import Point from '../../Core/Series/Point.js';
14
14
  import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
15
- import { extend, pick } from '../../Shared/Utilities.js';
15
+ import { extend } from '../../Shared/Utilities.js';
16
16
  const { seriesTypes: { column: { prototype: { pointClass: ColumnPoint } } } } = SeriesRegistry;
17
17
  /* *
18
18
  *
@@ -63,7 +63,7 @@ class LinkPoint extends ColumnPoint {
63
63
  animation, runEvent);
64
64
  this.visible = this.toNode.visible;
65
65
  extend(this, oldOptions);
66
- if (pick(redraw, true)) {
66
+ if (redraw ?? true) {
67
67
  this.series.chart.redraw(animation);
68
68
  }
69
69
  }
@@ -14,7 +14,7 @@
14
14
  import DPU from '../DrawPointUtilities.js';
15
15
  import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
16
16
  const { pie: { prototype: { pointClass: PiePoint } }, scatter: { prototype: { pointClass: ScatterPoint } } } = SeriesRegistry.seriesTypes;
17
- import { extend, isNumber, pick } from '../../Shared/Utilities.js';
17
+ import { extend, isNumber } from '../../Shared/Utilities.js';
18
18
  /* *
19
19
  *
20
20
  * Class
@@ -50,7 +50,7 @@ class TreemapPoint extends ScatterPoint {
50
50
  else if (!this.node.isGroup &&
51
51
  !this.node.isLeaf &&
52
52
  !series.nodeMap[series.rootNode].isGroup &&
53
- !pick(options.interactByLeaf, !options.allowTraversingTree)) {
53
+ !(options.interactByLeaf ?? !options.allowTraversingTree)) {
54
54
  className += ' highcharts-internal-node-interactive';
55
55
  }
56
56
  else if (!this.node.isGroup &&
@@ -27,7 +27,7 @@ import TreemapSeriesDefaults from './TreemapSeriesDefaults.js';
27
27
  import TreemapUtilities from './TreemapUtilities.js';
28
28
  import TU from '../TreeUtilities.js';
29
29
  const { getColor, getLevelOptions, updateRootId } = TU;
30
- import { addEvent, arrayMax, clamp, correctFloat, crisp, defined, extend, fireEvent, isArray, isNumber, isObject, isString, merge, pick, pushUnique, splat, stableSort } from '../../Shared/Utilities.js';
30
+ import { addEvent, arrayMax, clamp, correctFloat, crisp, defined, extend, fireEvent, isArray, isNumber, isObject, isString, merge, pushUnique, splat, stableSort } from '../../Shared/Utilities.js';
31
31
  import { error } from '../../Core/Utilities.js';
32
32
  Series.keepProps.push('simulation', 'hadOutsideDataLabels');
33
33
  /* *
@@ -342,9 +342,9 @@ class TreemapSeries extends ScatterSeries {
342
342
  * The rectangular area of the parent.
343
343
  */
344
344
  calculateChildrenAreas(parent, area) {
345
- const series = this, options = series.options, mapOptionsToLevel = series.mapOptionsToLevel, level = mapOptionsToLevel[parent.level + 1], algorithm = pick((level?.layoutAlgorithm &&
345
+ const series = this, options = series.options, mapOptionsToLevel = series.mapOptionsToLevel, level = mapOptionsToLevel[parent.level + 1], algorithm = ((level?.layoutAlgorithm &&
346
346
  series[level?.layoutAlgorithm] &&
347
- level.layoutAlgorithm), options.layoutAlgorithm), alternate = options.alternateStartingDirection,
347
+ level.layoutAlgorithm) ?? options.layoutAlgorithm), alternate = options.alternateStartingDirection,
348
348
  // Collect all children which should be included
349
349
  children = parent.children.filter((n) => parent.isGroup || !n.ignore), groupPadding = level?.groupPadding ?? options.groupPadding ?? 0, rootNode = series.nodeMap[series.rootNode];
350
350
  if (!algorithm) {
@@ -726,7 +726,7 @@ class TreemapSeries extends ScatterSeries {
726
726
  */
727
727
  getListOfParents(data, existingIds) {
728
728
  const arr = isArray(data) ? data : [], ids = isArray(existingIds) ? existingIds : [], listOfParents = arr.reduce(function (prev, curr, i) {
729
- const parent = pick(curr.parent, '');
729
+ const parent = (curr.parent ?? '');
730
730
  if (typeof prev[parent] === 'undefined') {
731
731
  prev[parent] = [];
732
732
  }
@@ -879,13 +879,16 @@ class TreemapSeries extends ScatterSeries {
879
879
  series.mapOptionsToLevel :
880
880
  {}), level = point?.node && mapOptionsToLevel[point.node.level] || {}, options = this.options, stateOptions = state && options.states && options.states[state] || {}, className = point?.node && point.getClassName() || '',
881
881
  // Set attributes by precedence. Point trumps level trumps series.
882
- // Stroke width uses pick because it can be 0.
882
+ // Stroke width uses nullish coalescing because it can be 0.
883
883
  attr = {
884
884
  'stroke': (point && point.borderColor) ||
885
885
  level.borderColor ||
886
886
  stateOptions.borderColor ||
887
887
  options.borderColor,
888
- 'stroke-width': pick(point && point.borderWidth, level.borderWidth, stateOptions.borderWidth, options.borderWidth),
888
+ 'stroke-width': ((point && point.borderWidth) ??
889
+ level.borderWidth ??
890
+ stateOptions.borderWidth ??
891
+ options.borderWidth),
889
892
  'dashstyle': point?.borderDashStyle ||
890
893
  level.borderDashStyle ||
891
894
  stateOptions.borderDashStyle ||
@@ -1026,7 +1029,7 @@ class TreemapSeries extends ScatterSeries {
1026
1029
  const series = this, eventArgs = extend({
1027
1030
  newRootId: id,
1028
1031
  previousRootId: series.rootNode,
1029
- redraw: pick(redraw, true),
1032
+ redraw: (redraw ?? true),
1030
1033
  series: series
1031
1034
  }, eventArguments);
1032
1035
  /**
@@ -1083,7 +1086,7 @@ class TreemapSeries extends ScatterSeries {
1083
1086
  // Sort the children
1084
1087
  stableSort(children, (a, b) => ((a.sortIndex || 0) - (b.sortIndex || 0)));
1085
1088
  // Set the values
1086
- let val = pick(point?.simulatedValue, point?.options.value, childrenTotal);
1089
+ let val = point?.simulatedValue ?? point?.options.value ?? childrenTotal;
1087
1090
  if (point) {
1088
1091
  point.value = val;
1089
1092
  }
@@ -1097,14 +1100,14 @@ class TreemapSeries extends ScatterSeries {
1097
1100
  children: children,
1098
1101
  childrenTotal: childrenTotal,
1099
1102
  // Ignore this node if point is not visible
1100
- ignore: !(pick(point?.visible, true) && (val > 0)),
1103
+ ignore: !((point?.visible ?? true) && (val > 0)),
1101
1104
  isLeaf: tree.visible && !(series.type === 'treegraph' ?
1102
1105
  children.length > 0 :
1103
1106
  childrenTotal),
1104
1107
  isGroup: point?.isGroup,
1105
1108
  levelDynamic: (tree.level - (levelIsConstant ? 0 : nodeRoot.level)),
1106
- name: pick(point?.name, ''),
1107
- sortIndex: pick(point?.sortIndex, -val),
1109
+ name: (point?.name ?? ''),
1110
+ sortIndex: (point?.sortIndex ?? -val),
1108
1111
  val: val
1109
1112
  });
1110
1113
  return tree;
@@ -15,7 +15,7 @@
15
15
  import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
16
16
  const { pie: PieSeries } = SeriesRegistry.seriesTypes;
17
17
  import VariablePieSeriesDefaults from './VariablePieSeriesDefaults.js';
18
- import { arrayMax, arrayMin, clamp, extend, fireEvent, merge, pick } from '../../Shared/Utilities.js';
18
+ import { arrayMax, arrayMin, clamp, extend, fireEvent, merge } from '../../Shared/Utilities.js';
19
19
  /* *
20
20
  *
21
21
  * Class
@@ -60,8 +60,10 @@ class VariablePieSeries extends PieSeries {
60
60
  series.minPxSize = positions[3] + extremes.minPointSize;
61
61
  series.maxPxSize = clamp(positions[2], positions[3] + extremes.minPointSize, extremes.maxPointSize);
62
62
  if (zData.length) {
63
- zMin = pick(seriesOptions.zMin, arrayMin(zData.filter(series.zValEval)));
64
- zMax = pick(seriesOptions.zMax, arrayMax(zData.filter(series.zValEval)));
63
+ zMin =
64
+ seriesOptions.zMin ?? arrayMin(zData.filter(series.zValEval));
65
+ zMax =
66
+ seriesOptions.zMax ?? arrayMax(zData.filter(series.zValEval));
65
67
  this.getRadii(zMin, zMax, series.minPxSize, series.maxPxSize);
66
68
  }
67
69
  }
@@ -164,7 +166,7 @@ class VariablePieSeries extends PieSeries {
164
166
  translate(positions) {
165
167
  this.generatePoints();
166
168
  const series = this, precision = 1000, // Issue #172
167
- options = series.options, slicedOffset = options.slicedOffset, startAngle = options.startAngle || 0, startAngleRad = Math.PI / 180 * (startAngle - 90), endAngleRad = Math.PI / 180 * (pick(options.endAngle, startAngle + 360) - 90), circ = endAngleRad - startAngleRad, // 2 * Math.PI,
169
+ options = series.options, slicedOffset = options.slicedOffset, startAngle = options.startAngle || 0, startAngleRad = Math.PI / 180 * (startAngle - 90), endAngleRad = Math.PI / 180 * ((options.endAngle ?? startAngle + 360) - 90), circ = endAngleRad - startAngleRad, // 2 * Math.PI,
168
170
  points = series.points, ignoreHiddenPoint = options.ignoreHiddenPoint;
169
171
  let cumulative = 0, start, end, angle,
170
172
  // The x component of the radius vector for a given point
@@ -17,7 +17,7 @@ const { column: ColumnSeries } = SeriesRegistry.seriesTypes;
17
17
  import VariwideComposition from './VariwideComposition.js';
18
18
  import VariwidePoint from './VariwidePoint.js';
19
19
  import VariwideSeriesDefaults from './VariwideSeriesDefaults.js';
20
- import { addEvent, arrayMax, arrayMin, crisp, extend, merge, pick } from '../../Shared/Utilities.js';
20
+ import { addEvent, arrayMax, arrayMin, crisp, extend, merge } from '../../Shared/Utilities.js';
21
21
  /* *
22
22
  *
23
23
  * Class
@@ -79,7 +79,7 @@ class VariwideSeries extends ColumnSeries {
79
79
  (axis.dataMin || 0) :
80
80
  (axis.dataMax || 0) + axis.pointRange), len = Math.abs(maxPx - minPx), totalZ = this.totalZ, left = this.chart.inverted ?
81
81
  maxPx - (this.chart.plotTop - goRight * axis.minPixelPadding) :
82
- minPx - this.chart.plotLeft - goRight * axis.minPixelPadding, linearSlotLeft = i / relZ.length * len, linearSlotRight = (i + goRight) / relZ.length * len, slotLeft = (pick(relZ[i], totalZ) / totalZ) * len, slotRight = (pick(relZ[i + goRight], totalZ) / totalZ) * len, xInsideLinearSlot = (x - (left + linearSlotLeft));
82
+ minPx - this.chart.plotLeft - goRight * axis.minPixelPadding, linearSlotLeft = i / relZ.length * len, linearSlotRight = (i + goRight) / relZ.length * len, slotLeft = ((relZ[i] ?? totalZ) / totalZ) * len, slotRight = ((relZ[i + goRight] ?? totalZ) / totalZ) * len, xInsideLinearSlot = (x - (left + linearSlotLeft));
83
83
  // Set crosshairWidth for every point (#8173)
84
84
  if (point) {
85
85
  point.crosshairWidth = slotRight - slotLeft;
@@ -15,7 +15,7 @@ const { column: ColumnSeries, line: LineSeries } = SeriesRegistry.seriesTypes;
15
15
  import WaterfallAxis from '../../Core/Axis/WaterfallAxis.js';
16
16
  import WaterfallPoint from './WaterfallPoint.js';
17
17
  import WaterfallSeriesDefaults from './WaterfallSeriesDefaults.js';
18
- import { addEvent, arrayMax, arrayMin, correctFloat, crisp, extend, isNumber, isObject, merge, objectEach, pick } from '../../Shared/Utilities.js';
18
+ import { addEvent, arrayMax, arrayMin, correctFloat, crisp, extend, isNumber, isObject, merge, objectEach } from '../../Shared/Utilities.js';
19
19
  /* *
20
20
  *
21
21
  * Functions
@@ -350,7 +350,7 @@ extend(WaterfallSeries.prototype, {
350
350
  });
351
351
  // Translate data points from raw values
352
352
  addEvent(WaterfallSeries, 'afterColumnTranslate', function () {
353
- const series = this, { options, points, yAxis } = series, minPointLength = pick(options.minPointLength, 5), halfMinPointLength = minPointLength / 2, threshold = options.threshold || 0, stacking = options.stacking, actualStack = yAxis.waterfall?.stacks[series.stackKey], processedYData = series.getColumn('y', true);
353
+ const series = this, { options, points, yAxis } = series, minPointLength = (options.minPointLength ?? 5), halfMinPointLength = minPointLength / 2, threshold = options.threshold || 0, stacking = options.stacking, actualStack = yAxis.waterfall?.stacks[series.stackKey], processedYData = series.getColumn('y', true);
354
354
  let previousIntermediate = threshold, previousY = threshold, y, total, hPos;
355
355
  for (let i = 0; i < points.length; i++) {
356
356
  const point = points[i], yValue = processedYData[i], shapeArgs = point.shapeArgs, box = extend({
@@ -20,7 +20,7 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
20
20
  const { column: ColumnSeries } = SeriesRegistry.seriesTypes;
21
21
  import WindbarbPoint from './WindbarbPoint.js';
22
22
  import WindbarbSeriesDefaults from './WindbarbSeriesDefaults.js';
23
- import { extend, merge, pick } from '../../Shared/Utilities.js';
23
+ import { extend, merge } from '../../Shared/Utilities.js';
24
24
  /* *
25
25
  *
26
26
  * Functions
@@ -150,7 +150,7 @@ class WindbarbSeries extends ColumnSeries {
150
150
  .add(this.markerGroup)
151
151
  .addClass('highcharts-point ' +
152
152
  'highcharts-color-' +
153
- pick(point.colorIndex, point.series.colorIndex));
153
+ (point.colorIndex ?? point.series.colorIndex));
154
154
  }
155
155
  // Position the graphic
156
156
  point.graphic
@@ -85,6 +85,10 @@ const isDateTimeFormatOptions = (obj) => obj.main === void 0;
85
85
  *
86
86
  * @param {Highcharts.TimeOptions} [options] Time options as defined in
87
87
  * [chart.options.time](/highcharts/time).
88
+ *
89
+ * @param {Highcharts.LangOptions} [lang]
90
+ * Language options. When `options.locale` is not set, `lang.locale` is used as
91
+ * the locale fallback for locale-aware date formatting.
88
92
  */
89
93
  class TimeBase {
90
94
  /* *
@@ -103,8 +107,8 @@ class TimeBase {
103
107
  };
104
108
  this.variableTimezone = false;
105
109
  this.Date = win.Date;
106
- this.update(options);
107
110
  this.lang = lang;
111
+ this.update(options);
108
112
  }
109
113
  /* *
110
114
  *
@@ -216,7 +220,9 @@ class TimeBase {
216
220
  /**
217
221
  * Shorthand to get a cached `Intl.DateTimeFormat` instance.
218
222
  */
219
- dateTimeFormat(options, timestamp, locale = this.options.locale || pageLang) {
223
+ dateTimeFormat(options, timestamp, locale = (this.options.locale ||
224
+ this.lang?.locale ||
225
+ pageLang)) {
220
226
  const cacheKey = JSON.stringify(options) + locale;
221
227
  if (isString(options)) {
222
228
  options = this.str2dtf(options);
@@ -708,7 +708,7 @@ export function getStyle(el, prop, toInt) {
708
708
  const css = win.getComputedStyle(el, void 0); // eslint-disable-line no-undefined
709
709
  if (css) {
710
710
  style = css.getPropertyValue(prop);
711
- if (pick(toInt, prop !== 'opacity')) {
711
+ if (toInt ?? prop !== 'opacity') {
712
712
  style = pInt(style);
713
713
  }
714
714
  }
@@ -958,7 +958,7 @@ export function merge(extendOrSource, ...sources) {
958
958
  export function normalizeTickInterval(interval, multiples, magnitude, allowDecimals, hasTickAmount) {
959
959
  let i, retInterval = interval;
960
960
  // Round to a tenfold of 1, 2, 2.5 or 5
961
- magnitude = pick(magnitude, getMagnitude(interval));
961
+ magnitude = (magnitude ?? getMagnitude(interval));
962
962
  const normalized = interval / magnitude;
963
963
  // Multiples for a linear scale
964
964
  if (!multiples) {
@@ -1071,20 +1071,22 @@ export function pad(number, length, padder) {
1071
1071
  .replace('-', '')
1072
1072
  .length).join(padder || '0') + number;
1073
1073
  }
1074
- /* eslint-disable jsdoc/check-param-names */
1074
+ /* eslint-disable valid-jsdoc */
1075
1075
  /**
1076
1076
  * Return the first value that is not null or undefined.
1077
1077
  *
1078
+ * @deprecated 13.0.2
1079
+ * Use nullish coalescing (`??`) or explicit fallback logic instead.
1080
+ *
1078
1081
  * @function Highcharts.pick<T>
1079
1082
  *
1080
- * @param {...Array<T|null|undefined>} items
1083
+ * @param {...(T|null|undefined)} args
1081
1084
  * Variable number of arguments to inspect.
1082
1085
  *
1083
1086
  * @return {T}
1084
1087
  * The value of the first argument that is not null or undefined.
1085
1088
  */
1086
- export function pick() {
1087
- const args = arguments;
1089
+ export function pick(...args) {
1088
1090
  const length = args.length;
1089
1091
  for (let i = 0; i < length; i++) {
1090
1092
  const arg = args[i];
@@ -1093,7 +1095,7 @@ export function pick() {
1093
1095
  }
1094
1096
  }
1095
1097
  }
1096
- /* eslint-enable jsdoc/check-param-names */
1098
+ /* eslint-enable valid-jsdoc */
1097
1099
  /**
1098
1100
  * Shortcut for parseInt
1099
1101
  *
@@ -10,7 +10,7 @@
10
10
  import MultipleLinesComposition from '../MultipleLinesComposition.js';
11
11
  import SeriesRegistry from '../../../Core/Series/SeriesRegistry.js';
12
12
  const { sma: SMAIndicator } = SeriesRegistry.seriesTypes;
13
- import { extend, merge, pick } from '../../../Shared/Utilities.js';
13
+ import { extend, merge } from '../../../Shared/Utilities.js';
14
14
  /* *
15
15
  *
16
16
  * Functions
@@ -61,10 +61,10 @@ class AroonIndicator extends SMAIndicator {
61
61
  for (i = period - 1; i < yValLen; i++) {
62
62
  slicedY = yVal.slice(i - period + 1, i + 2);
63
63
  xLow = getExtremeIndexInArray(slicedY.map(function (elem) {
64
- return pick(elem[low], elem);
64
+ return (elem[low] ?? elem);
65
65
  }), 'min');
66
66
  xHigh = getExtremeIndexInArray(slicedY.map(function (elem) {
67
- return pick(elem[high], elem);
67
+ return (elem[high] ?? elem);
68
68
  }), 'max');
69
69
  aroonUp = (xHigh / period) * 100;
70
70
  aroonDown = (xLow / period) * 100;
@@ -9,7 +9,7 @@
9
9
  'use strict';
10
10
  import SeriesRegistry from '../../../Core/Series/SeriesRegistry.js';
11
11
  const { sma: SMAIndicator } = SeriesRegistry.seriesTypes;
12
- import { correctFloat, extend, merge, pick } from '../../../Shared/Utilities.js';
12
+ import { correctFloat, extend, merge } from '../../../Shared/Utilities.js';
13
13
  /* *
14
14
  *
15
15
  * Functions
@@ -18,7 +18,7 @@ import { correctFloat, extend, merge, pick } from '../../../Shared/Utilities.js'
18
18
  // Utils:
19
19
  /** @internal */
20
20
  function accumulatePoints(sum, yVal, i, index, subtract) {
21
- const price = pick(yVal[i][index], yVal[i]);
21
+ const price = (yVal[i][index] ?? yVal[i]);
22
22
  if (subtract) {
23
23
  return correctFloat(sum - price);
24
24
  }
@@ -63,7 +63,8 @@ class DPOIndicator extends SMAIndicator {
63
63
  rangeIndex = j + range - 1;
64
64
  // Adding the last period point
65
65
  sum = accumulatePoints(sum, yVal, periodIndex, index);
66
- price = pick(yVal[rangeIndex][index], yVal[rangeIndex]);
66
+ price = yVal[rangeIndex][index] ??
67
+ yVal[rangeIndex];
67
68
  oscillator = price - sum / period;
68
69
  // Subtracting the first period point
69
70
  sum = accumulatePoints(sum, yVal, j, index, true);
@@ -46,7 +46,7 @@ class RSIIndicator extends SMAIndicator {
46
46
  // Cause we need to calculate change between two points
47
47
  RSI = [], xData = [], yData = [];
48
48
  let gain = 0, loss = 0, index = params.index, range = 1, RSIPoint, change, avgGain, avgLoss, i, values;
49
- if ((xVal.length < period)) {
49
+ if (xVal.length < period) {
50
50
  return;
51
51
  }
52
52
  if (isNumber(yVal[0])) {
@@ -11,7 +11,7 @@ import Chart from '../../../Core/Chart/Chart.js';
11
11
  import DataTableCore from '../../../Data/DataTableCore.js';
12
12
  import SeriesRegistry from '../../../Core/Series/SeriesRegistry.js';
13
13
  const { line: LineSeries } = SeriesRegistry.seriesTypes;
14
- import { addEvent, extend, fireEvent, isArray, merge, pick } from '../../../Shared/Utilities.js';
14
+ import { addEvent, extend, fireEvent, isArray, merge } from '../../../Shared/Utilities.js';
15
15
  import { error } from '../../../Core/Utilities.js';
16
16
  /**
17
17
  *
@@ -61,7 +61,7 @@ class SMAIndicator extends LineSeries {
61
61
  if (!name) {
62
62
  (this.nameComponents || []).forEach(function (component, index) {
63
63
  params.push(this.options.params[component] +
64
- pick(this.nameSuffixes[index], ''));
64
+ (this.nameSuffixes[index] ?? ''));
65
65
  }, this);
66
66
  name = (this.nameBase || this.type.toUpperCase()) +
67
67
  (this.nameComponents ? ' (' + params.join(', ') + ')' : '');
@@ -12,7 +12,7 @@
12
12
  'use strict';
13
13
  import H from '../../Core/Globals.js';
14
14
  const { isTouchDevice } = H;
15
- import { addEvent, merge, pick, pushUnique } from '../../Shared/Utilities.js';
15
+ import { addEvent, merge, pushUnique } from '../../Shared/Utilities.js';
16
16
  /* *
17
17
  *
18
18
  * Constants
@@ -78,7 +78,7 @@ function onChartAfterSetChartSize() {
78
78
  navigator.top = this.plotTop + scrollButtonSize;
79
79
  }
80
80
  else {
81
- navigator.left = pick(xAxis.left, this.plotLeft + scrollButtonSize);
81
+ navigator.left = (xAxis.left ?? this.plotLeft + scrollButtonSize);
82
82
  navigator.top = navigator.navigatorOptions.top ||
83
83
  this.chartHeight -
84
84
  navigator.height -
@@ -94,7 +94,7 @@ function onChartAfterSetChartSize() {
94
94
  legendOptions.enabled &&
95
95
  !legendOptions.floating) ?
96
96
  legend.legendHeight +
97
- pick(legendOptions.margin, 10) :
97
+ (legendOptions.margin ?? 10) :
98
98
  0) -
99
99
  (this.titleOffset ? this.titleOffset[2] : 0);
100
100
  }
@@ -119,7 +119,7 @@ function onChartAfterUpdate(event) {
119
119
  (this.options.navigator.enabled ||
120
120
  this.options.scrollbar.enabled)) {
121
121
  this.scroller = this.navigator = new NavigatorConstructor(this);
122
- if (pick(event.redraw, true)) {
122
+ if (event.redraw ?? true) {
123
123
  this.redraw(event.animation); // #7067
124
124
  }
125
125
  }