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
@@ -23,7 +23,7 @@ import { downloadURL, getBlobFromContent } from '../../Shared/DownloadURL.js';
23
23
  import ExportDataDefaults from './ExportDataDefaults.js';
24
24
  import G from '../../Core/Globals.js';
25
25
  const { composed, doc, win } = G;
26
- import { addEvent, defined, extend, find, fireEvent, isNumber, pick, pushUnique } from '../../Shared/Utilities.js';
26
+ import { addEvent, defined, extend, find, fireEvent, isNumber, pushUnique } from '../../Shared/Utilities.js';
27
27
  /* *
28
28
  *
29
29
  * Composition
@@ -220,11 +220,11 @@ var ExportData;
220
220
  */
221
221
  function getCSV(useLocalDecimalPoint) {
222
222
  let csv = '';
223
- const rows = this.getDataRows(), csvOptions = this.options?.csv, decimalPoint = pick(csvOptions?.decimalPoint, csvOptions?.itemDelimiter !== ',' && useLocalDecimalPoint ?
223
+ const rows = this.getDataRows(), csvOptions = this.options?.csv, decimalPoint = csvOptions?.decimalPoint ?? (csvOptions?.itemDelimiter !== ',' && useLocalDecimalPoint ?
224
224
  (1.1).toLocaleString()[1] :
225
225
  '.'),
226
226
  // Use ';' for direct to Excel
227
- itemDelimiter = pick(csvOptions?.itemDelimiter, decimalPoint === ',' ? ';' : ','),
227
+ itemDelimiter = csvOptions?.itemDelimiter ?? (decimalPoint === ',' ? ';' : ','),
228
228
  // '\n' isn't working with the js csv data extraction
229
229
  lineDelimiter = csvOptions?.lineDelimiter;
230
230
  // Transform the rows to CSV
@@ -444,15 +444,13 @@ var ExportData;
444
444
  val =
445
445
  series.pointClass.prototype.getNestedProperty.apply(mockPoint, [prop]);
446
446
  // Allow values from nested properties (#20470)
447
- rows[key][i + j] = pick(
448
- // Y axis category if present
449
- categoryAndDatetimeMap.categoryMap[prop][val],
450
- // Datetime yAxis
451
- categoryAndDatetimeMap.dateTimeValueAxisMap[prop] ?
452
- time.dateFormat(csvOptions.dateFormat, val) :
453
- null,
454
- // Linear/log yAxis
455
- val);
447
+ rows[key][i + j] =
448
+ categoryAndDatetimeMap.categoryMap[prop][val] ??
449
+ (categoryAndDatetimeMap
450
+ .dateTimeValueAxisMap[prop] ?
451
+ time.dateFormat(csvOptions.dateFormat, val) :
452
+ null) ??
453
+ val;
456
454
  j++;
457
455
  }
458
456
  });
@@ -499,7 +497,10 @@ var ExportData;
499
497
  category = time.dateFormat(csvOptions.dateFormat, row.x);
500
498
  }
501
499
  else if (xAxis.categories) {
502
- category = pick(xAxis.names[row.x], xAxis.categories[row.x], row.x);
500
+ category =
501
+ xAxis.names[row.x] ??
502
+ xAxis.categories[row.x] ??
503
+ row.x;
503
504
  }
504
505
  else {
505
506
  category = row.x;
@@ -580,7 +581,7 @@ var ExportData;
580
581
  */
581
582
  function getTableAST(useLocalDecimalPoint) {
582
583
  let rowLength = 0;
583
- const treeChildren = [], exporting = this, chart = exporting.chart, options = chart.options, decimalPoint = useLocalDecimalPoint ? (1.1).toLocaleString()[1] : void 0, useMultiLevelHeaders = pick(exporting.options.useMultiLevelHeaders, true), rows = exporting.getDataRows(useMultiLevelHeaders), topHeaders = useMultiLevelHeaders ? rows.shift() : null, subHeaders = rows.shift(),
584
+ const treeChildren = [], exporting = this, chart = exporting.chart, options = chart.options, decimalPoint = useLocalDecimalPoint ? (1.1).toLocaleString()[1] : void 0, useMultiLevelHeaders = exporting.options.useMultiLevelHeaders ?? true, rows = exporting.getDataRows(useMultiLevelHeaders), topHeaders = useMultiLevelHeaders ? rows.shift() : null, subHeaders = rows.shift(),
584
585
  // Compare two rows for equality
585
586
  isRowEqual = function (row1, row2) {
586
587
  let i = row1.length;
@@ -599,7 +600,7 @@ var ExportData;
599
600
  // Get table cell HTML from value
600
601
  getCellHTMLFromValue = function (tagName, classes, attributes, value) {
601
602
  const children = [];
602
- let textContent = pick(value, ''), className = 'highcharts-text' + (classes ? ' ' + classes : '');
603
+ let textContent = (value ?? ''), className = 'highcharts-text' + (classes ? ' ' + classes : '');
603
604
  // Convert to string if number
604
605
  if (typeof textContent === 'number') {
605
606
  textContent = chart.numberFormatter(textContent, -1, decimalPoint, tagName === 'th' ? '' : void 0);
@@ -791,7 +792,7 @@ var ExportData;
791
792
  function toggleDataTable(show) {
792
793
  const chart = this.chart,
793
794
  // Create the div
794
- createContainer = (show = pick(show, !this.isDataTableVisible)) &&
795
+ createContainer = (show = (show ?? !this.isDataTableVisible)) &&
795
796
  !this.dataTableDiv;
796
797
  if (createContainer) {
797
798
  this.dataTableDiv = doc.createElement('div');
@@ -24,7 +24,7 @@ import Fullscreen from './Fullscreen.js';
24
24
  import G from '../../Core/Globals.js';
25
25
  const { composed, doc, isFirefox, isMS, isSafari, SVG_NS, win } = G;
26
26
  import HU from '../../Core/HttpUtilities.js';
27
- import { addEvent, createElement, css, discardElement, extend, find, fireEvent, internalClearTimeout, isObject, merge, objectEach, pick, pushUnique, removeEvent, splat } from '../../Shared/Utilities.js';
27
+ import { addEvent, createElement, css, discardElement, extend, find, fireEvent, internalClearTimeout, isObject, merge, objectEach, pushUnique, removeEvent, splat } from '../../Shared/Utilities.js';
28
28
  import { error, uniqueKey } from '../../Core/Utilities.js';
29
29
  AST.allowedAttributes.push('data-z-index', 'fill-opacity', 'filter', 'preserveAspectRatio', 'rx', 'ry', 'stroke-dasharray', 'stroke-linejoin', 'stroke-opacity', 'text-anchor', 'transform', 'transform-origin', 'version', 'viewBox', 'visibility', 'xmlns', 'xmlns:xlink');
30
30
  AST.allowedTags.push('desc', 'clippath', 'fedropshadow', 'femorphology', 'g', 'image');
@@ -532,7 +532,7 @@ export class Exporting {
532
532
  };
533
533
  }
534
534
  if (btnOptions.text && btnOptions.symbol) {
535
- theme.paddingLeft = pick(theme.paddingLeft, 30);
535
+ theme.paddingLeft = (theme.paddingLeft ?? 30);
536
536
  }
537
537
  else if (!btnOptions.text) {
538
538
  extend(theme, {
@@ -545,8 +545,8 @@ export class Exporting {
545
545
  .button(btnOptions.text || '', 0, 0, callback, theme, void 0, void 0, void 0, void 0, btnOptions.useHTML)
546
546
  .addClass(options.className || '')
547
547
  .attr({
548
- title: pick(chart.options.lang[(btnOptions._titleKey ||
549
- btnOptions.titleKey)], '')
548
+ title: (chart.options.lang[(btnOptions._titleKey ||
549
+ btnOptions.titleKey)] ?? '')
550
550
  });
551
551
  button.menuClassName = (options.menuClassName ||
552
552
  'highcharts-menu-' + exporting.btnCount++);
@@ -575,7 +575,7 @@ export class Exporting {
575
575
  .add(exporting.group)
576
576
  .align(extend(btnOptions, {
577
577
  width: button.width,
578
- x: pick(btnOptions.x, exporting.buttonOffset) // #1654
578
+ x: (btnOptions.x ?? exporting.buttonOffset) // #1654
579
579
  }), true, 'spacingBox');
580
580
  exporting.buttonOffset += (((button.width || 0) + (btnOptions.buttonSpacing || 0)) *
581
581
  (btnOptions.align === 'right' ? -1 : 1));
@@ -1829,7 +1829,7 @@ export class Exporting {
1829
1829
  update(exportingOptions, redraw) {
1830
1830
  this.isDirty = true;
1831
1831
  merge(true, this.options, exportingOptions);
1832
- if (pick(redraw, true)) {
1832
+ if (redraw ?? true) {
1833
1833
  this.chart.redraw();
1834
1834
  }
1835
1835
  }
@@ -2051,7 +2051,7 @@ Exporting.unstyledElements = [
2051
2051
  if (chart.exporting) {
2052
2052
  chart.exporting.isDirty = true;
2053
2053
  merge(true, chart.options.navigation, options);
2054
- if (pick(redraw, true)) {
2054
+ if (redraw ?? true) {
2055
2055
  chart.redraw();
2056
2056
  }
2057
2057
  }
@@ -11,7 +11,7 @@
11
11
  * */
12
12
  'use strict';
13
13
  import NBU from '../Annotations/NavigationBindingsUtilities.js';
14
- import { addEvent, defined, internalClearTimeout, isObject, merge, pick } from '../../Shared/Utilities.js';
14
+ import { addEvent, defined, internalClearTimeout, isObject, merge } from '../../Shared/Utilities.js';
15
15
  const { getAssignedAxis } = NBU;
16
16
  /* *
17
17
  *
@@ -40,7 +40,7 @@ const optionsToObject = (options) => {
40
40
  };
41
41
  /** @internal */
42
42
  const zoomBy = function (chart, howMuch, xAxis, yAxis, mouseX, mouseY, options) {
43
- const type = pick(options.type, chart.zooming.type, '');
43
+ const type = (options.type ?? chart.zooming.type ?? '');
44
44
  let axes = [];
45
45
  if (type === 'x') {
46
46
  axes = xAxis;
@@ -3,7 +3,7 @@
3
3
  * Imports
4
4
  *
5
5
  * */
6
- import { addEvent, correctFloat, defined, pick } from '../../Shared/Utilities.js';
6
+ import { addEvent, correctFloat, defined } from '../../Shared/Utilities.js';
7
7
  /* *
8
8
  *
9
9
  * Functions
@@ -119,7 +119,7 @@ function onPointerBeforeGetHoverData(eventArgs) {
119
119
  eventArgs.filter = function (s) {
120
120
  return (s.visible &&
121
121
  !(!eventArgs.shared && s.directTouch) && // #3821
122
- pick(s.options.enableMouseTracking, true) &&
122
+ (s.options.enableMouseTracking ?? true) &&
123
123
  (!chart.hoverPane || s.xAxis.pane === chart.hoverPane));
124
124
  };
125
125
  }
@@ -13,7 +13,7 @@
13
13
  * */
14
14
  'use strict';
15
15
  import ParallelCoordinatesDefaults from './ParallelCoordinatesDefaults.js';
16
- import { addEvent, arrayMax, arrayMin, isNumber, merge, pick } from '../../Shared/Utilities.js';
16
+ import { addEvent, arrayMax, arrayMin, isNumber, merge } from '../../Shared/Utilities.js';
17
17
  /* *
18
18
  *
19
19
  * Class
@@ -118,7 +118,7 @@ var ParallelAxis;
118
118
  else {
119
119
  const axisIndex = chart.yAxis.indexOf(axis); // #13608
120
120
  axis.options = merge(axis.options, axis.chart.options.chart.parallelAxes, e.userOptions);
121
- parallelCoordinates.position = pick(parallelCoordinates.position, axisIndex >= 0 ? axisIndex : chart.yAxis.length);
121
+ parallelCoordinates.position = parallelCoordinates.position ?? (axisIndex >= 0 ? axisIndex : chart.yAxis.length);
122
122
  parallelCoordinates.setPosition(axisPosition, axis.options);
123
123
  }
124
124
  }
@@ -15,7 +15,7 @@
15
15
  import { animObject } from '../Core/Animation/AnimationUtilities.js';
16
16
  import D from '../Core/Defaults.js';
17
17
  const { getOptions } = D;
18
- import { addEvent, defined, erase, extend, isObject, merge, pick, removeEvent, wrap } from '../Shared/Utilities.js';
18
+ import { addEvent, defined, erase, extend, isObject, merge, removeEvent, wrap } from '../Shared/Utilities.js';
19
19
  /* *
20
20
  *
21
21
  * Constants
@@ -284,7 +284,9 @@ function onRendererComplexColor(args) {
284
284
  }
285
285
  // Add it. This function does nothing if an element with this ID
286
286
  // already exists.
287
- this.addPattern(pattern, !this.forExport && pick(pattern.animation, this.globalAnimation, { duration: 100 }));
287
+ this.addPattern(pattern, !this.forExport && (pattern.animation ??
288
+ this.globalAnimation ??
289
+ { duration: 100 }));
288
290
  value = `url(${this.url}#${pattern.id + (this.forExport ? '-export' : '')})`;
289
291
  }
290
292
  else {
@@ -448,7 +450,7 @@ function pointCalculatePatternDimensions(pattern) {
448
450
  * @requires modules/pattern-fill
449
451
  */
450
452
  function rendererAddPattern(options, animation) {
451
- const animate = pick(animation, true), animationOptions = animObject(animate), color = options.color ||
453
+ const animate = (animation ?? true), animationOptions = animObject(animate), color = options.color ||
452
454
  'var(--highcharts-neutral-color-80)', defaultSize = 32, height = options.height ||
453
455
  (typeof options._height === 'number' ? options._height : 0) ||
454
456
  defaultSize, width = options.width ||
@@ -516,7 +518,7 @@ function rendererAddPattern(options, animation) {
516
518
  };
517
519
  if (!this.styledMode) {
518
520
  attribs.stroke = path.stroke || color;
519
- attribs['stroke-width'] = pick(path.strokeWidth, 2);
521
+ attribs['stroke-width'] = (path.strokeWidth ?? 2);
520
522
  attribs.fill = path.fill || 'none';
521
523
  }
522
524
  if (path.transform) {
@@ -531,7 +533,7 @@ function rendererAddPattern(options, animation) {
531
533
  this.image(options.image, 0, 0, width, height, function () {
532
534
  // Onload
533
535
  this.animate({
534
- opacity: pick(options.opacity, 1)
536
+ opacity: (options.opacity ?? 1)
535
537
  }, animationOptions);
536
538
  removeEvent(this.element, 'load');
537
539
  }).attr({ opacity: 0 }).add(pattern);
@@ -13,7 +13,7 @@
13
13
  'use strict';
14
14
  import H from '../Core/Globals.js';
15
15
  const { composed } = H;
16
- import { addEvent, merge, pushUnique } from '../Shared/Utilities.js';
16
+ import { addEvent, clamp, merge, pushUnique } from '../Shared/Utilities.js';
17
17
  /* *
18
18
  *
19
19
  * Composition
@@ -56,7 +56,7 @@ function onSeriesAfterRender() {
56
56
  seriesOptions.id !== 'highcharts-navigator-series' &&
57
57
  series.visible) {
58
58
  const { points, xAxis, yAxis } = series, { cross, crosshair, crossLabel } = yAxis, pLength = points.length, dataLength = series.dataTable.rowCount, x = series.getColumn('x')[dataLength - 1], y = series.getColumn('y')[dataLength - 1] ??
59
- series.getColumn('close')[dataLength - 1];
59
+ series.getColumn('close')[dataLength - 1], modifiedY = series.dataModify?.modifyValue(y) ?? y;
60
60
  if (lastPrice?.enabled) {
61
61
  yAxis.crosshair = yAxis.options.crosshair = seriesOptions.lastPrice;
62
62
  if (!series.chart.styledMode &&
@@ -75,8 +75,9 @@ function onSeriesAfterRender() {
75
75
  yAxis.drawCrosshair(void 0, ({
76
76
  x: x,
77
77
  y,
78
- plotX: xAxis.toPixels(x, true),
79
- plotY: yAxis.toPixels(y, true)
78
+ series,
79
+ plotX: clamp(xAxis.toPixels(x, true), 0, xAxis.len),
80
+ plotY: yAxis.toPixels(modifiedY, true)
80
81
  }));
81
82
  // Save price
82
83
  if (series.yAxis.cross) {
@@ -32,7 +32,7 @@ const { composed } = H;
32
32
  import SeriesLabelDefaults from './SeriesLabelDefaults.js';
33
33
  import SLU from './SeriesLabelUtilities.js';
34
34
  const { boxIntersectLine, intersectRect } = SLU;
35
- import { addEvent, extend, fireEvent, internalClearTimeout, isNumber, pick, pushUnique, syncTimeout } from '../../Shared/Utilities.js';
35
+ import { addEvent, extend, fireEvent, internalClearTimeout, isNumber, pushUnique, syncTimeout } from '../../Shared/Utilities.js';
36
36
  /* *
37
37
  *
38
38
  * Constants
@@ -49,7 +49,7 @@ const labelDistance = 3;
49
49
  * @internal
50
50
  */
51
51
  function checkClearPoint(series, x, y, bBox, checkDistance) {
52
- const chart = series.chart, seriesLabelOptions = series.options.label || {}, onArea = pick(seriesLabelOptions.onArea, !!series.area), findDistanceToOthers = (onArea || seriesLabelOptions.connectorAllowed), leastDistance = 16, boxesToAvoid = chart.boxesToAvoid;
52
+ const chart = series.chart, seriesLabelOptions = series.options.label || {}, onArea = (seriesLabelOptions.onArea ?? !!series.area), findDistanceToOthers = (onArea || seriesLabelOptions.connectorAllowed), leastDistance = 16, boxesToAvoid = chart.boxesToAvoid;
53
53
  let distToOthersSquared = Number.MAX_VALUE, // Distance to other graphs
54
54
  distToPointSquared = Number.MAX_VALUE, dist, connectorPoint, withinRange, xDist, yDist, i, j;
55
55
  /**
@@ -196,7 +196,7 @@ function drawSeriesLabels(chart) {
196
196
  if (!labelOptions || (!series.xAxis && !series.yAxis)) {
197
197
  return;
198
198
  }
199
- const colorClass = ('highcharts-color-' + pick(series.colorIndex, 'none')), isNew = !series.labelBySeries, minFontSize = labelOptions.minFontSize, maxFontSize = labelOptions.maxFontSize, inverted = chart.inverted, paneLeft = (inverted ? series.yAxis.pos : series.xAxis.pos), paneTop = (inverted ? series.xAxis.pos : series.yAxis.pos), paneWidth = chart.inverted ? series.yAxis.len : series.xAxis.len, paneHeight = chart.inverted ? series.xAxis.len : series.yAxis.len, points = series.interpolatedPoints, onArea = pick(labelOptions.onArea, !!series.area), results = [], xData = series.getColumn('x');
199
+ const colorClass = ('highcharts-color-' + (series.colorIndex ?? 'none')), isNew = !series.labelBySeries, minFontSize = labelOptions.minFontSize, maxFontSize = labelOptions.maxFontSize, inverted = chart.inverted, paneLeft = (inverted ? series.yAxis.pos : series.xAxis.pos), paneTop = (inverted ? series.xAxis.pos : series.yAxis.pos), paneWidth = chart.inverted ? series.yAxis.len : series.xAxis.len, paneHeight = chart.inverted ? series.xAxis.len : series.yAxis.len, points = series.interpolatedPoints, onArea = (labelOptions.onArea ?? !!series.area), results = [], xData = series.getColumn('x');
200
200
  let bBox, x, y, clearPoint, i, best, label = series.labelBySeries, dataExtremes, areaMin, areaMax;
201
201
  // Stay within the area data bounds (#10038)
202
202
  if (onArea && !inverted) {
@@ -211,7 +211,7 @@ function drawSeriesLabels(chart) {
211
211
  * @internal
212
212
  */
213
213
  function insidePane(x, y, bBox) {
214
- const leftBound = Math.max(paneLeft, pick(areaMin, -Infinity)), rightBound = Math.min(paneLeft + paneWidth, pick(areaMax, Infinity));
214
+ const leftBound = Math.max(paneLeft, (areaMin ?? -Infinity)), rightBound = Math.min(paneLeft + paneWidth, (areaMax ?? Infinity));
215
215
  return (x > leftBound &&
216
216
  x <= rightBound - bBox.width &&
217
217
  y >= paneTop &&
@@ -418,7 +418,7 @@ function getPointsOnGraph(series) {
418
418
  if (!series.xAxis && !series.yAxis) {
419
419
  return;
420
420
  }
421
- const distance = 16, points = series.points, interpolated = [], graph = series.graph || series.area, node = graph && graph.element, inverted = series.chart.inverted, xAxis = series.xAxis, yAxis = series.yAxis, paneLeft = inverted ? yAxis.pos : xAxis.pos, paneTop = inverted ? xAxis.pos : yAxis.pos, paneHeight = inverted ? xAxis.len : yAxis.len, paneWidth = inverted ? yAxis.len : xAxis.len, seriesLabelOptions = series.options.label || {}, onArea = pick(seriesLabelOptions.onArea, !!series.area), translatedThreshold = yAxis.getThreshold(series.options.threshold), grid = {}, chartCenterKey = inverted ? 'chartCenterX' : 'chartCenterY';
421
+ const distance = 16, points = series.points, interpolated = [], graph = series.graph || series.area, node = graph && graph.element, inverted = series.chart.inverted, xAxis = series.xAxis, yAxis = series.yAxis, paneLeft = inverted ? yAxis.pos : xAxis.pos, paneTop = inverted ? xAxis.pos : yAxis.pos, paneHeight = inverted ? xAxis.len : yAxis.len, paneWidth = inverted ? yAxis.len : xAxis.len, seriesLabelOptions = series.options.label || {}, onArea = (seriesLabelOptions.onArea ?? !!series.area), translatedThreshold = yAxis.getThreshold(series.options.threshold), grid = {}, chartCenterKey = inverted ? 'chartCenterX' : 'chartCenterY';
422
422
  let i, deltaX, deltaY, delta, len, n, j;
423
423
  /**
424
424
  * Push the point to the interpolated points, but only if that position in
@@ -491,11 +491,11 @@ function getPointsOnGraph(series) {
491
491
  }
492
492
  if (inverted) {
493
493
  ctlPoint.chartCenterX = paneLeft + paneWidth - ((plotHigh ? plotHigh : point.plotY || 0) +
494
- pick(point.yBottom, translatedThreshold)) / 2;
494
+ (point.yBottom ?? translatedThreshold)) / 2;
495
495
  }
496
496
  else {
497
497
  ctlPoint.chartCenterY = paneTop + ((plotHigh ? plotHigh : plotY) +
498
- pick(point.yBottom, translatedThreshold)) / 2;
498
+ (point.yBottom ?? translatedThreshold)) / 2;
499
499
  }
500
500
  }
501
501
  // Add interpolated points
@@ -14,7 +14,6 @@
14
14
  /* eslint-disable no-multi-spaces */
15
15
  'use strict';
16
16
  import SonificationInstrument from './SonificationInstrument.js';
17
- import { pick } from '../../Shared/Utilities.js';
18
17
  const freqToNote = (f) => Math.round(12 * Math.log(f) / Math.LN2 - 48.37632), b = (byte, n) => n >>> 8 * byte & 0xFF, getHeader = (nTracks) => [
19
18
  0x4D, 0x54, 0x68, 0x64, // HD_TYPE
20
19
  0, 0, 0, 6, // HD_SIZE
@@ -49,7 +48,7 @@ varLenEnc = (n) => {
49
48
  res.splice(ix + 1, 0, el);
50
49
  };
51
50
  events.forEach((e) => {
52
- const o = e.instrumentEventOptions || {}, t = e.time, dur = cachedDur = pick(o.noteDuration, cachedDur), tNOF = dur && e.time + dur, ctrl = [{
51
+ const o = e.instrumentEventOptions || {}, t = e.time, dur = cachedDur = (o.noteDuration ?? cachedDur), tNOF = dur && e.time + dur, ctrl = [{
53
52
  valMap: (n) => 64 + 63 * n & 0x7F,
54
53
  data: {
55
54
  0x0A: o.pan, // Use MSB only, no need for fine adjust
@@ -69,7 +68,7 @@ varLenEnc = (n) => {
69
68
  0x4C: o.highpassResonance
70
69
  }
71
70
  }], v = cachedVel = o.volume === void 0 ?
72
- pick(cachedVel, 127) : 127 * o.volume & 0x7F, freq = o.frequency, note = o.note || 0, noteVal = 12 + (freq ? freqToNote(freq) : // MIDI note #0 is C-1
71
+ (cachedVel ?? 127) : 127 * o.volume & 0x7F, freq = o.frequency, note = o.note || 0, noteVal = 12 + (freq ? freqToNote(freq) : // MIDI note #0 is C-1
73
72
  typeof note === 'string' ? SonificationInstrument
74
73
  .noteStringToC0Distance(note) : note) & 0x7F;
75
74
  // CTRL_CHANGE events
@@ -27,7 +27,7 @@ import SonificationSpeaker from './SonificationSpeaker.js';
27
27
  import SynthPatch from './SynthPatch.js';
28
28
  import InstrumentPresets from './InstrumentPresets.js';
29
29
  import timelineFromChart from './TimelineFromChart.js';
30
- import { addEvent, extend, fireEvent, internalClearTimeout, merge, pick } from '../../Shared/Utilities.js';
30
+ import { addEvent, extend, fireEvent, internalClearTimeout, merge } from '../../Shared/Utilities.js';
31
31
  /**
32
32
  * The Sonification class. This class represents a chart's sonification
33
33
  * capabilities. A chart automatically gets an instance of this class when
@@ -371,7 +371,7 @@ class Sonification {
371
371
  if (this.audioContext && this.audioDestination) {
372
372
  this.timeline = timelineFromChart(this.audioContext, this.audioDestination, this.chart);
373
373
  const sOpts = this.chart.options.sonification;
374
- this.timeline.setMasterVolume(pick(sOpts && sOpts.masterVolume, 1));
374
+ this.timeline.setMasterVolume(((sOpts && sOpts.masterVolume) ?? 1));
375
375
  }
376
376
  if (events.afterUpdate) {
377
377
  events.afterUpdate({ chart: this.chart, timeline: this.timeline });
@@ -12,7 +12,6 @@
12
12
  *
13
13
  * */
14
14
  'use strict';
15
- import { pick } from '../../Shared/Utilities.js';
16
15
  /**
17
16
  * The SonificationSpeaker class. This class represents an announcer using
18
17
  * speech synthesis. It allows for scheduling speech announcements, as well
@@ -59,7 +58,9 @@ class SonificationSpeaker {
59
58
  utterance.rate = options && options.rate || this.options.rate || 1;
60
59
  utterance.pitch = options && options.pitch ||
61
60
  this.options.pitch || 1;
62
- utterance.volume = pick(options && options.volume, this.options.volume, 1) * this.masterVolume;
61
+ utterance.volume = ((options && options.volume) ??
62
+ this.options.volume ??
63
+ 1) * this.masterVolume;
63
64
  this.synthesis.speak(utterance);
64
65
  }
65
66
  }
@@ -13,7 +13,7 @@
13
13
  *
14
14
  * */
15
15
  'use strict';
16
- import { clamp, defined, pick } from '../../Shared/Utilities.js';
16
+ import { clamp, defined } from '../../Shared/Utilities.js';
17
17
  /**
18
18
  * Get the multiplier value from a pitch tracked multiplier. The parameter
19
19
  * specifies the multiplier at ca 3200Hz. It is 1 at ca 50Hz. In between
@@ -191,7 +191,7 @@ class Oscillator {
191
191
  }
192
192
  }
193
193
  setFreqAtTime(time, frequency, glideDuration = 0) {
194
- const opts = this.options, f = clamp(pick(opts.fixedFrequency, frequency) *
194
+ const opts = this.options, f = clamp((opts.fixedFrequency ?? frequency) *
195
195
  (opts.freqMultiplier || 1), 0, 21000), oscTarget = this.getOscTarget(), timeConstant = glideDuration / 5000;
196
196
  if (oscTarget) {
197
197
  oscTarget.cancelScheduledValues(time);
@@ -280,7 +280,7 @@ class Oscillator {
280
280
  opts.releaseEnvelope && opts.releaseEnvelope.length;
281
281
  if (needsGainNode) {
282
282
  this.gainNode = new GainNode(this.audioContext, {
283
- gain: pick(opts.volume, 1)
283
+ gain: (opts.volume ?? 1)
284
284
  });
285
285
  }
286
286
  // We always need VM gain, so make that
@@ -16,7 +16,7 @@ import SonificationTimeline from './SonificationTimeline.js';
16
16
  import SonificationInstrument from './SonificationInstrument.js';
17
17
  import SonificationSpeaker from './SonificationSpeaker.js';
18
18
  import T from '../../Core/Templating.js';
19
- import { clamp, defined, extend, getNestedProperty, merge, pick } from '../../Shared/Utilities.js';
19
+ import { clamp, defined, extend, getNestedProperty, merge } from '../../Shared/Utilities.js';
20
20
  const { format } = T;
21
21
  const isNoteDefinition = (str) => (/^([a-g][#b]?)[0-8]$/i).test(str);
22
22
  /**
@@ -219,8 +219,8 @@ function getMappingParameterValue(context, propMetrics, useSeriesExtremes, defau
219
219
  if (typeof mappingOptions === 'object') {
220
220
  mapTo = mappingOptions.mapTo;
221
221
  mapFunc = mappingOptions.mapFunction || mapFunc;
222
- min = pick(mappingOptions.min, min);
223
- max = pick(mappingOptions.max, max);
222
+ min = (mappingOptions.min ?? min);
223
+ max = (mappingOptions.max ?? max);
224
224
  within = mappingOptions.within || defaultMapping.within;
225
225
  scale = mappingOptions.scale;
226
226
  }
@@ -294,9 +294,9 @@ function getMappingParameterValue(context, propMetrics, useSeriesExtremes, defau
294
294
  * @internal
295
295
  */
296
296
  function getParamValWithDefault(context, propMetrics, useSeriesExtremes, mappingParamOptions, fallback, defaults, contextValueProp) {
297
- return pick(getMappingParameterValue(context, propMetrics, useSeriesExtremes, extend({
297
+ return (getMappingParameterValue(context, propMetrics, useSeriesExtremes, extend({
298
298
  min: 0, max: 1, mapTo: 'y', mapFunction: 'linear', within: 'chart'
299
- }, (defaults || {})), mappingParamOptions, contextValueProp), fallback);
299
+ }, (defaults || {})), mappingParamOptions, contextValueProp) ?? fallback);
300
300
  }
301
301
  /**
302
302
  * Get time value for a point event.
@@ -358,7 +358,7 @@ function addTimelineChannelFromTrack(timeline, audioContext, destinationNode, op
358
358
  synthPatch: options.instrument,
359
359
  midiTrackName: options.midiName
360
360
  });
361
- return timeline.addChannel(options.type || 'instrument', engine, pick(options.showPlayMarker, true));
361
+ return timeline.addChannel(options.type || 'instrument', engine, (options.showPlayMarker ?? true));
362
362
  }
363
363
  /**
364
364
  * Add event from a point to a mapped instrument track.
@@ -474,8 +474,8 @@ function addMappedEventForPoint(context, channel, trackOptions, propMetrics) {
474
474
  }
475
475
  }
476
476
  else if (trackOptions.mapping) {
477
- eventsAdded = addMappedInstrumentEvent(context, channel, trackOptions.mapping, propMetrics, pick(trackOptions
478
- .roundToMusicalNotes, true));
477
+ eventsAdded = addMappedInstrumentEvent(context, channel, trackOptions.mapping, propMetrics, (trackOptions
478
+ .roundToMusicalNotes ?? true));
479
479
  }
480
480
  return eventsAdded;
481
481
  }
@@ -534,7 +534,7 @@ function isActive(context, activeWhen, lastPropValue) {
534
534
  return activeWhen(context);
535
535
  }
536
536
  if (typeof activeWhen === 'object') {
537
- const prop = activeWhen.prop, val = pick(context.value, context.point && getPointPropValue(context.point, prop));
537
+ const prop = activeWhen.prop, val = context.value ?? (context.point && getPointPropValue(context.point, prop));
538
538
  if (typeof val !== 'number') {
539
539
  return false;
540
540
  }
@@ -551,7 +551,7 @@ function isActive(context, activeWhen, lastPropValue) {
551
551
  hasLastValue && lastPropValue > crossingDown &&
552
552
  val <= crossingDown);
553
553
  }
554
- const max = pick(activeWhen.max, Infinity), min = pick(activeWhen.min, -Infinity);
554
+ const max = (activeWhen.max ?? Infinity), min = (activeWhen.min ?? -Infinity);
555
555
  return val <= max && val >= min && crossingOk;
556
556
  }
557
557
  return true;
@@ -703,7 +703,7 @@ function timelineFromChart(audioContext, destinationNode, chart) {
703
703
  addMappedSpeechEvent({ time, value }, contextChannel, mergedOpts.mapping, propMetrics, valueProp);
704
704
  }
705
705
  else {
706
- addMappedInstrumentEvent({ time, value }, contextChannel, mergedOpts.mapping, propMetrics, pick(mergedOpts.roundToMusicalNotes, true), valueProp);
706
+ addMappedInstrumentEvent({ time, value }, contextChannel, mergedOpts.mapping, propMetrics, (mergedOpts.roundToMusicalNotes ?? true), valueProp);
707
707
  }
708
708
  };
709
709
  if (timeInterval) {
@@ -11,7 +11,7 @@
11
11
  * */
12
12
  'use strict';
13
13
  import { error } from '../Core/Utilities.js';
14
- import { merge, pick } from '../Shared/Utilities.js';
14
+ import { merge } from '../Shared/Utilities.js';
15
15
  /* *
16
16
  *
17
17
  * Constants
@@ -68,7 +68,7 @@ function calculateObstacleMargin(obstacles) {
68
68
  */
69
69
  function distance(a, b, bbMargin) {
70
70
  // Count the distance even if we are slightly off
71
- const margin = pick(bbMargin, 10), yOverlap = a.yMax + margin > b.yMin - margin &&
71
+ const margin = (bbMargin ?? 10), yOverlap = a.yMax + margin > b.yMin - margin &&
72
72
  a.yMin - margin < b.yMax + margin, xOverlap = a.xMax + margin > b.xMin - margin &&
73
73
  a.xMin - margin < b.xMax + margin, xDistance = yOverlap ? (a.xMin > b.xMax ? a.xMin - b.xMax : b.xMin - a.xMax) : Infinity, yDistance = xOverlap ? (a.yMin > b.yMax ? a.yMin - b.yMax : b.yMin - a.yMax) : Infinity;
74
74
  // If the rectangles collide, try recomputing with smaller margin.
@@ -14,7 +14,7 @@ import Connection from './Connection.js';
14
14
  import PathfinderAlgorithms from './PathfinderAlgorithms.js';
15
15
  import PathfinderComposition from './PathfinderComposition.js';
16
16
  import Point from '../Core/Series/Point.js';
17
- import { addEvent, defined, pick, splat } from '../Shared/Utilities.js';
17
+ import { addEvent, defined, splat } from '../Shared/Utilities.js';
18
18
  /* *
19
19
  *
20
20
  * Constants
@@ -65,7 +65,7 @@ function getPointBB(point) {
65
65
  */
66
66
  function calculateObstacleDistance(a, b, bbMargin) {
67
67
  // Count the distance even if we are slightly off
68
- const margin = pick(bbMargin, 10), yOverlap = a.yMax + margin > b.yMin - margin &&
68
+ const margin = (bbMargin ?? 10), yOverlap = a.yMax + margin > b.yMin - margin &&
69
69
  a.yMin - margin < b.yMax + margin, xOverlap = a.xMax + margin > b.xMin - margin &&
70
70
  a.xMin - margin < b.xMax + margin, xDistance = yOverlap ? (a.xMin > b.xMax ? a.xMin - b.xMax : b.xMin - a.xMax) : Infinity, yDistance = xOverlap ? (a.yMin > b.yMax ? a.yMin - b.yMax : b.yMin - a.yMax) : Infinity;
71
71
  // If the rectangles collide, try recomputing with smaller margin.
@@ -310,7 +310,7 @@ class Pathfinder {
310
310
  * with xMin, xMax, yMin and yMax properties.
311
311
  */
312
312
  getChartObstacles(options) {
313
- const series = this.chart.series, margin = pick(options.algorithmMargin, 0);
313
+ const series = this.chart.series, margin = (options.algorithmMargin ?? 0);
314
314
  let obstacles = [], calculatedMargin;
315
315
  for (let i = 0, sLen = series.length; i < sLen; ++i) {
316
316
  if (series[i].visible && !series[i].options.isInternal) {
@@ -11,7 +11,6 @@
11
11
  * */
12
12
  'use strict';
13
13
  import PathUtilities from '../Series/PathUtilities.js';
14
- import { pick } from '../Shared/Utilities.js';
15
14
  /* *
16
15
  *
17
16
  * Constants
@@ -208,7 +207,8 @@ function straight(start, end) {
208
207
  */
209
208
  const simpleConnect = function (start, end, options) {
210
209
  const segments = [], chartObstacles = options.chartObstacles, startObstacleIx = findObstacleFromPoint(chartObstacles, start), endObstacleIx = findObstacleFromPoint(chartObstacles, end);
211
- let endSegment, dir = pick(options.startDirectionX, abs(end.x - start.x) > abs(end.y - start.y)) ? 'x' : 'y', startObstacle, endObstacle, waypoint, useMax, endPoint;
210
+ let endSegment, dir = (options.startDirectionX ??
211
+ (abs(end.x - start.x) > abs(end.y - start.y))) ? 'x' : 'y', startObstacle, endObstacle, waypoint, useMax, endPoint;
212
212
  // eslint-disable-next-line valid-jsdoc
213
213
  /**
214
214
  * Return a clone of a point with a property set from a target object,
@@ -350,7 +350,8 @@ function fastAvoid(start, end, options) {
350
350
  - When going around the end obstacle we should not always go the
351
351
  shortest route, rather pick the one closer to the end point
352
352
  */
353
- const dirIsX = pick(options.startDirectionX, abs(end.x - start.x) > abs(end.y - start.y)), dir = dirIsX ? 'x' : 'y', endSegments = [],
353
+ const dirIsX = options.startDirectionX ??
354
+ (abs(end.x - start.x) > abs(end.y - start.y)), dir = dirIsX ? 'x' : 'y', endSegments = [],
354
355
  // Boundaries to stay within. If beyond soft boundary, prefer to
355
356
  // change direction ASAP. If at hard max, always change immediately.
356
357
  metrics = options.obstacleMetrics, softMinX = min(start.x, end.x) - metrics.maxWidth - 10, softMaxX = max(start.x, end.x) + metrics.maxWidth + 10, softMinY = min(start.y, end.y) - metrics.maxHeight - 10, softMaxY = max(start.y, end.y) + metrics.maxHeight + 10;
@@ -74,7 +74,7 @@ function getNode(id, parent, level, data, mapOfIdToChildren, options) {
74
74
  }
75
75
  // Call getNode recursively on the children. Calculate the height of the
76
76
  // node, and the number of descendants.
77
- const children = ((mapOfIdToChildren[id] || [])).map((child) => {
77
+ const children = (mapOfIdToChildren[id] || []).map((child) => {
78
78
  const node = getNode(child.id, id, (level + 1), child, mapOfIdToChildren, options), childStart = child.start || NaN, childEnd = (child.milestone === true ?
79
79
  childStart :
80
80
  child.end ||
@@ -17,7 +17,7 @@ const { composed } = H;
17
17
  import MapNavigationDefaults from './MapNavigationDefaults.js';
18
18
  import MapPointer from './MapPointer.js';
19
19
  import MapSymbols from './MapSymbols.js';
20
- import { extend, objectEach, merge, pick, pushUnique, addEvent } from '../Shared/Utilities.js';
20
+ import { extend, objectEach, merge, pushUnique, addEvent } from '../Shared/Utilities.js';
21
21
  /* *
22
22
  *
23
23
  * Functions
@@ -107,7 +107,7 @@ class MapNavigation {
107
107
  navButtons.pop()?.destroy();
108
108
  }
109
109
  if (!chart.renderer.forExport &&
110
- pick(navOptions.enableButtons, navOptions.enabled)) {
110
+ (navOptions.enableButtons ?? navOptions.enabled)) {
111
111
  if (!mapNav.navButtonsGroup) {
112
112
  mapNav.navButtonsGroup = chart.renderer.g()
113
113
  .attr({
@@ -238,7 +238,7 @@ class MapNavigation {
238
238
  updateEvents(options) {
239
239
  const chart = this.chart;
240
240
  // Add the double click event
241
- if (pick(options.enableDoubleClickZoom, options.enabled) ||
241
+ if ((options.enableDoubleClickZoom ?? options.enabled) ||
242
242
  options.enableDoubleClickZoomTo) {
243
243
  this.unbindDblClick = this.unbindDblClick || addEvent(chart.container, 'dblclick', function (e) {
244
244
  chart.pointer.onContainerDblClick(e);
@@ -249,7 +249,7 @@ class MapNavigation {
249
249
  this.unbindDblClick = this.unbindDblClick();
250
250
  }
251
251
  // Add the mousewheel event
252
- if (pick(options.enableMouseWheelZoom, options.enabled)) {
252
+ if (options.enableMouseWheelZoom ?? options.enabled) {
253
253
  this.unbindMouseWheel = this.unbindMouseWheel || addEvent(chart.container, 'wheel', function (e) {
254
254
  // Prevent scrolling when the pointer is over the element
255
255
  // with that class, for example annotation popup #12100.