highcharts 9.2.1 → 9.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (896) hide show
  1. package/README.md +13 -6
  2. package/bower.json +1 -1
  3. package/css/annotations/popup.css +48 -8
  4. package/css/annotations/popup.scss +70 -22
  5. package/css/highcharts.css +46 -1
  6. package/css/highcharts.scss +40 -0
  7. package/css/stocktools/gui.css +1 -1
  8. package/css/themes/dark-unica.css +46 -1
  9. package/css/themes/grid-light.css +46 -1
  10. package/css/themes/sand-signika.css +46 -1
  11. package/es-modules/Accessibility/A11yI18n.js +269 -224
  12. package/es-modules/Accessibility/Accessibility.js +244 -129
  13. package/es-modules/Accessibility/AccessibilityComponent.js +78 -313
  14. package/es-modules/Accessibility/Components/AnnotationsA11y.js +19 -5
  15. package/es-modules/Accessibility/Components/ContainerComponent.js +53 -28
  16. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +178 -120
  17. package/es-modules/Accessibility/Components/LegendComponent.js +251 -129
  18. package/es-modules/Accessibility/Components/MenuComponent.js +239 -154
  19. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +172 -93
  20. package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +161 -115
  21. package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +138 -69
  22. package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +67 -28
  23. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +48 -56
  24. package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +387 -343
  25. package/es-modules/Accessibility/Components/ZoomComponent.js +156 -70
  26. package/es-modules/Accessibility/FocusBorder.js +192 -152
  27. package/es-modules/Accessibility/HighContrastMode.js +79 -66
  28. package/es-modules/Accessibility/HighContrastTheme.js +10 -0
  29. package/es-modules/Accessibility/KeyboardNavigation.js +151 -75
  30. package/es-modules/Accessibility/KeyboardNavigationHandler.js +71 -44
  31. package/es-modules/Accessibility/Options/DeprecatedOptions.js +21 -4
  32. package/es-modules/Accessibility/Options/LangOptions.js +4 -5
  33. package/es-modules/Accessibility/Options/Options.js +32 -17
  34. package/es-modules/Accessibility/ProxyElement.js +218 -0
  35. package/es-modules/Accessibility/ProxyProvider.js +302 -0
  36. package/es-modules/Accessibility/Utils/Announcer.js +17 -10
  37. package/es-modules/Accessibility/Utils/ChartUtilities.js +55 -45
  38. package/es-modules/Accessibility/Utils/DOMElementProvider.js +27 -15
  39. package/es-modules/Accessibility/Utils/EventProvider.js +27 -17
  40. package/es-modules/Accessibility/Utils/HTMLUtilities.js +125 -42
  41. package/es-modules/Core/Animation/Fx.js +5 -14
  42. package/es-modules/Core/Axis/Axis.js +77 -96
  43. package/es-modules/Core/Axis/Axis3D.js +10 -4
  44. package/es-modules/Core/Axis/AxisDefaults.js +35 -24
  45. package/es-modules/Core/Axis/BrokenAxis.js +17 -11
  46. package/es-modules/Core/Axis/Color/ColorAxis.js +7 -4
  47. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +55 -5
  48. package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +5 -5
  49. package/es-modules/Core/Axis/DateTimeAxis.js +3 -14
  50. package/es-modules/Core/Axis/GridAxis.js +26 -16
  51. package/es-modules/Core/Axis/NavigatorAxis.js +0 -5
  52. package/es-modules/Core/Axis/OrdinalAxis.js +88 -92
  53. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +4 -5
  54. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +0 -5
  55. package/es-modules/Core/Axis/RadialAxis.js +7 -28
  56. package/es-modules/Core/Axis/ScrollbarAxis.js +27 -12
  57. package/es-modules/Core/Axis/StackingAxis.js +2 -1
  58. package/es-modules/Core/Axis/Tick.js +2 -4
  59. package/es-modules/Core/Axis/TreeGridAxis.js +28 -19
  60. package/es-modules/Core/Axis/TreeGridTick.js +5 -3
  61. package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
  62. package/es-modules/Core/Axis/ZAxis.js +1 -1
  63. package/es-modules/Core/Chart/Chart.js +44 -47
  64. package/es-modules/Core/Chart/Chart3D.js +23 -10
  65. package/es-modules/Core/Chart/ChartDefaults.js +3 -4
  66. package/es-modules/Core/Chart/ChartNavigationComposition.js +92 -0
  67. package/es-modules/Core/Chart/GanttChart.js +4 -4
  68. package/es-modules/Core/Chart/MapChart.js +13 -25
  69. package/es-modules/Core/Chart/StockChart.js +13 -316
  70. package/es-modules/Core/Color/Palettes.js +22 -0
  71. package/es-modules/Core/DefaultOptions.js +22 -19
  72. package/es-modules/Core/Foundation.js +39 -31
  73. package/es-modules/Core/Geometry/CircleUtilities.js +2 -1
  74. package/es-modules/Core/Globals.js +1 -1
  75. package/es-modules/Core/HttpUtilities.js +8 -7
  76. package/es-modules/Core/Legend/Legend.js +19 -16
  77. package/es-modules/Core/Navigator.js +41 -30
  78. package/es-modules/Core/Pointer.js +52 -45
  79. package/es-modules/Core/Renderer/HTML/AST.js +29 -14
  80. package/es-modules/Core/Renderer/HTML/HTMLElement.js +27 -20
  81. package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +8 -6
  82. package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
  83. package/es-modules/Core/Renderer/SVG/SVGElement.js +11 -20
  84. package/es-modules/Core/Renderer/SVG/SVGLabel.js +17 -8
  85. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +25 -29
  86. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +12 -5
  87. package/es-modules/Core/Renderer/SVG/TextBuilder.js +18 -12
  88. package/es-modules/Core/Responsive.js +2 -3
  89. package/es-modules/Core/Scrollbar.js +14 -12
  90. package/es-modules/Core/ScrollbarDefaults.js +10 -9
  91. package/es-modules/Core/Series/DataLabel.js +19 -15
  92. package/es-modules/Core/Series/Point.js +22 -19
  93. package/es-modules/Core/Series/Series.js +200 -235
  94. package/es-modules/Core/Series/SeriesDefaults.js +8 -8
  95. package/es-modules/Core/Series/SeriesRegistry.js +1 -2
  96. package/es-modules/Core/Time.js +14 -11
  97. package/es-modules/Core/Tooltip.js +63 -53
  98. package/es-modules/Core/Utilities.js +20 -24
  99. package/es-modules/Data/DataConverter.js +483 -0
  100. package/es-modules/Data/DataPromise.js +252 -0
  101. package/es-modules/Data/DataSeriesConverter.js +207 -0
  102. package/es-modules/Data/DataTable.js +1205 -0
  103. package/es-modules/Data/Modifiers/ChainModifier.js +299 -0
  104. package/es-modules/Data/Modifiers/DataModifier.js +303 -0
  105. package/es-modules/Data/Modifiers/GroupModifier.js +144 -0
  106. package/es-modules/Data/Modifiers/InvertModifier.js +254 -0
  107. package/es-modules/Data/Modifiers/RangeModifier.js +143 -0
  108. package/es-modules/Data/Modifiers/SeriesPointsModifier.js +110 -0
  109. package/es-modules/Data/Modifiers/SortModifier.js +249 -0
  110. package/es-modules/Data/Parsers/CSVParser.js +400 -0
  111. package/es-modules/Data/Parsers/DataParser.js +101 -0
  112. package/es-modules/Data/Parsers/GoogleSheetsParser.js +223 -0
  113. package/es-modules/Data/Parsers/HTMLTableParser.js +213 -0
  114. package/es-modules/Data/Stores/CSVStore.js +317 -0
  115. package/es-modules/Data/Stores/DataStore.js +276 -0
  116. package/es-modules/Data/Stores/GoogleSheetsStore.js +169 -0
  117. package/es-modules/Data/Stores/HTMLTableStore.js +353 -0
  118. package/es-modules/Extensions/Annotations/Annotations.js +69 -18
  119. package/es-modules/Extensions/Annotations/ControlPoint.js +1 -3
  120. package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +1 -1
  121. package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +199 -0
  122. package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +1 -1
  123. package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +3 -6
  124. package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +3 -2
  125. package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +1 -1
  126. package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +13 -4
  127. package/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +0 -1
  128. package/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +5 -4
  129. package/es-modules/Extensions/Annotations/NavigationBindings.js +120 -53
  130. package/es-modules/Extensions/Annotations/Popup.js +494 -148
  131. package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +51 -2
  132. package/es-modules/Extensions/Annotations/Types/CrookedLine.js +5 -3
  133. package/es-modules/Extensions/Annotations/Types/ElliottWave.js +1 -1
  134. package/es-modules/Extensions/Annotations/Types/Fibonacci.js +2 -3
  135. package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +219 -0
  136. package/es-modules/Extensions/Annotations/Types/InfinityLine.js +1 -1
  137. package/es-modules/Extensions/Annotations/Types/Measure.js +29 -19
  138. package/es-modules/Extensions/Annotations/Types/Pitchfork.js +7 -6
  139. package/es-modules/Extensions/Annotations/Types/TimeCycles.js +211 -0
  140. package/es-modules/Extensions/Annotations/Types/Tunnel.js +13 -10
  141. package/es-modules/Extensions/Annotations/Types/VerticalLine.js +1 -1
  142. package/es-modules/Extensions/Boost/BoostOptions.js +2 -2
  143. package/es-modules/Extensions/Boost/BoostOverrides.js +6 -10
  144. package/es-modules/Extensions/Boost/BoostUtils.js +0 -6
  145. package/es-modules/Extensions/Boost/WGLRenderer.js +16 -12
  146. package/es-modules/Extensions/Boost/WGLShader.js +13 -11
  147. package/es-modules/Extensions/Boost/WGLVBuffer.js +4 -7
  148. package/es-modules/Extensions/BoostCanvas.js +1 -2
  149. package/es-modules/Extensions/CurrentDateIndication.js +2 -3
  150. package/es-modules/Extensions/Data.js +77 -115
  151. package/es-modules/Extensions/DataGrouping.js +54 -32
  152. package/es-modules/Extensions/Debugger/ErrorMessages.js +2 -2
  153. package/es-modules/Extensions/DownloadURL.js +2 -2
  154. package/es-modules/Extensions/DragPanes.js +1 -2
  155. package/es-modules/Extensions/DraggablePoints.js +7 -8
  156. package/es-modules/Extensions/Drilldown.js +11 -7
  157. package/es-modules/Extensions/ExportData.js +6 -5
  158. package/es-modules/Extensions/Exporting/Exporting.js +35 -48
  159. package/es-modules/Extensions/Exporting/ExportingDefaults.js +8 -15
  160. package/es-modules/Extensions/FullScreen.js +4 -3
  161. package/es-modules/Extensions/GeoJSON.js +42 -66
  162. package/es-modules/Extensions/MarkerClusters.js +118 -98
  163. package/es-modules/Extensions/Math3D.js +4 -4
  164. package/es-modules/Extensions/NoDataToDisplay.js +1 -2
  165. package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +33 -33
  166. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  167. package/es-modules/Extensions/Oldie/Oldie.js +14 -79
  168. package/es-modules/Extensions/Oldie/VMLAxis3D.js +5 -1
  169. package/es-modules/Extensions/OverlappingDataLabels.js +10 -6
  170. package/es-modules/Extensions/Pane.js +11 -12
  171. package/es-modules/Extensions/ParallelCoordinates.js +5 -3
  172. package/es-modules/Extensions/PatternFill.js +17 -11
  173. package/es-modules/Extensions/Polar.js +7 -4
  174. package/es-modules/Extensions/PriceIndication.js +2 -1
  175. package/es-modules/Extensions/RangeSelector.js +22 -59
  176. package/es-modules/Extensions/ScrollablePlotArea.js +2 -2
  177. package/es-modules/Extensions/SeriesLabel.js +1 -1
  178. package/es-modules/Extensions/Sonification/ChartSonify.js +279 -663
  179. package/es-modules/Extensions/Sonification/Earcon.js +136 -102
  180. package/es-modules/Extensions/Sonification/Instrument.js +493 -426
  181. package/es-modules/Extensions/Sonification/MusicalFrequencies.js +10 -0
  182. package/es-modules/Extensions/Sonification/Options.js +10 -0
  183. package/es-modules/Extensions/Sonification/PointSonify.js +207 -152
  184. package/es-modules/Extensions/Sonification/SeriesSonify.js +474 -0
  185. package/es-modules/Extensions/Sonification/SignalHandler.js +122 -0
  186. package/es-modules/Extensions/Sonification/Sonification.js +27 -53
  187. package/es-modules/Extensions/Sonification/{Utilities.js → SonificationUtilities.js} +70 -88
  188. package/es-modules/Extensions/Sonification/Timeline.js +250 -567
  189. package/es-modules/Extensions/Sonification/TimelineEvent.js +157 -0
  190. package/es-modules/Extensions/Sonification/TimelinePath.js +311 -0
  191. package/es-modules/Extensions/Stacking.js +5 -23
  192. package/es-modules/Extensions/Themes/BrandDark.js +293 -0
  193. package/es-modules/Extensions/Themes/BrandLight.js +259 -0
  194. package/es-modules/Extensions/Themes/DarkUnica.js +4 -2
  195. package/es-modules/Extensions/Themes/Grid.js +4 -2
  196. package/es-modules/Extensions/Themes/GridLight.js +4 -2
  197. package/es-modules/Gantt/Connection.js +2 -2
  198. package/es-modules/Gantt/Pathfinder.js +6 -5
  199. package/es-modules/Gantt/PathfinderAlgorithms.js +12 -12
  200. package/es-modules/Maps/MapNavigation.js +30 -68
  201. package/es-modules/Maps/MapNavigationOptionsDefault.js +3 -0
  202. package/es-modules/Maps/MapPointer.js +8 -5
  203. package/es-modules/Maps/MapSymbols.js +23 -3
  204. package/es-modules/Maps/MapView.js +450 -0
  205. package/es-modules/Maps/MapViewOptionsDefault.js +97 -0
  206. package/es-modules/Maps/Projection.js +436 -0
  207. package/es-modules/Maps/ProjectionDefinition.js +9 -0
  208. package/es-modules/Maps/Projections/EqualEarth.js +42 -0
  209. package/es-modules/Maps/Projections/LambertConformalConic.js +52 -0
  210. package/es-modules/Maps/Projections/Miller.js +16 -0
  211. package/es-modules/Maps/Projections/Orthographic.js +26 -0
  212. package/es-modules/Maps/Projections/ProjectionRegistry.js +19 -0
  213. package/es-modules/Maps/Projections/WebMercator.js +24 -0
  214. package/es-modules/Series/Area/AreaSeries.js +13 -13
  215. package/es-modules/Series/Area3DSeries.js +4 -2
  216. package/es-modules/Series/AreaRange/AreaRangeSeries.js +28 -17
  217. package/es-modules/Series/Bellcurve/BellcurveSeries.js +4 -9
  218. package/es-modules/Series/BoxPlot/BoxPlotSeries.js +1 -2
  219. package/es-modules/Series/Bubble/BubbleLegendDefaults.js +1 -2
  220. package/es-modules/Series/Bubble/BubbleLegendItem.js +5 -15
  221. package/es-modules/Series/Bubble/BubblePoint.js +5 -0
  222. package/es-modules/Series/Bubble/BubbleSeries.js +90 -50
  223. package/es-modules/Series/Candlestick/CandlestickSeries.js +10 -19
  224. package/es-modules/{Mixins/CenteredSeries.js → Series/CenteredUtilities.js} +45 -23
  225. package/es-modules/{Mixins/ColorMapSeries.js → Series/ColorMapMixin.js} +10 -8
  226. package/es-modules/Series/Column/ColumnDataLabel.js +5 -5
  227. package/es-modules/Series/Column/ColumnSeries.js +19 -18
  228. package/es-modules/Series/Column3D/Column3DComposition.js +1 -2
  229. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +11 -8
  230. package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +2 -1
  231. package/es-modules/Series/Cylinder/CylinderComposition.js +36 -4
  232. package/es-modules/Series/DataModifyComposition.js +539 -0
  233. package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +2 -6
  234. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +1 -1
  235. package/es-modules/Series/DerivedComposition.js +137 -0
  236. package/es-modules/Series/DrawPointComposition.js +111 -0
  237. package/es-modules/Series/Dumbbell/DumbbellPoint.js +0 -1
  238. package/es-modules/Series/Dumbbell/DumbbellSeries.js +2 -6
  239. package/es-modules/Series/ErrorBar/ErrorBarSeries.js +1 -2
  240. package/es-modules/Series/Flags/FlagsSeries.js +18 -25
  241. package/es-modules/Series/Flags/FlagsSymbols.js +2 -2
  242. package/es-modules/Series/Funnel/FunnelSeries.js +6 -5
  243. package/es-modules/Series/Funnel3D/Funnel3DComposition.js +14 -8
  244. package/es-modules/Series/Funnel3D/Funnel3DSeries.js +2 -1
  245. package/es-modules/Series/Gantt/GanttPoint.js +1 -1
  246. package/es-modules/Series/Gantt/GanttSeries.js +3 -3
  247. package/es-modules/Series/Gauge/GaugePoint.js +1 -1
  248. package/es-modules/Series/Gauge/GaugeSeries.js +7 -7
  249. package/es-modules/Series/HLC/HLCPoint.js +55 -0
  250. package/es-modules/Series/HLC/HLCSeries.js +378 -0
  251. package/es-modules/Series/Heatmap/HeatmapPoint.js +13 -14
  252. package/es-modules/Series/Heatmap/HeatmapSeries.js +24 -12
  253. package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +10 -9
  254. package/es-modules/Series/Histogram/HistogramSeries.js +7 -11
  255. package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +1 -4
  256. package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +28 -30
  257. package/es-modules/Series/Item/ItemSeries.js +4 -5
  258. package/es-modules/Series/Line/LineSeries.js +1 -2
  259. package/es-modules/Series/Map/MapPoint.js +27 -14
  260. package/es-modules/Series/Map/MapSeries.js +283 -322
  261. package/es-modules/Series/MapBubble/MapBubblePoint.js +0 -3
  262. package/es-modules/Series/MapBubble/MapBubbleSeries.js +10 -1
  263. package/es-modules/Series/MapLine/MapLineSeries.js +2 -4
  264. package/es-modules/Series/MapPoint/MapPointPoint.js +5 -1
  265. package/es-modules/Series/MapPoint/MapPointSeries.js +99 -14
  266. package/es-modules/Series/Networkgraph/DraggableNodes.js +0 -4
  267. package/es-modules/Series/Networkgraph/Integrations.js +8 -22
  268. package/es-modules/Series/Networkgraph/Networkgraph.js +6 -10
  269. package/es-modules/Series/Networkgraph/QuadTree.js +1 -3
  270. package/es-modules/{Mixins/Nodes.js → Series/NodesComposition.js} +78 -30
  271. package/es-modules/Series/OHLC/OHLCPoint.js +2 -7
  272. package/es-modules/Series/OHLC/OHLCSeries.js +55 -183
  273. package/es-modules/{Mixins/OnSeries.js → Series/OnSeriesComposition.js} +53 -21
  274. package/es-modules/Series/Organization/OrganizationSeries.js +6 -5
  275. package/es-modules/Series/PackedBubble/PackedBubbleComposition.js +1 -0
  276. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
  277. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +48 -10
  278. package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -7
  279. package/es-modules/Series/Pie/PieDataLabel.js +1 -2
  280. package/es-modules/Series/Pie/PiePoint.js +2 -2
  281. package/es-modules/Series/Pie/PieSeries.js +7 -8
  282. package/es-modules/Series/Pie3D/Pie3DComposition.js +2 -1
  283. package/es-modules/Series/Pie3D/Pie3DPoint.js +2 -1
  284. package/es-modules/Series/Pie3D/Pie3DSeries.js +1 -1
  285. package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +2 -1
  286. package/es-modules/Series/Sankey/SankeyPoint.js +0 -4
  287. package/es-modules/Series/Sankey/SankeySeries.js +92 -22
  288. package/es-modules/Series/SolidGauge/SolidGaugeComposition.js +3 -1
  289. package/es-modules/Series/Spline/SplineSeries.js +0 -8
  290. package/es-modules/Series/Sunburst/SunburstPoint.js +2 -3
  291. package/es-modules/Series/Sunburst/SunburstSeries.js +6 -6
  292. package/es-modules/Series/Sunburst/SunburstUtilities.js +3 -2
  293. package/es-modules/Series/Tilemap/TilemapPoint.js +2 -5
  294. package/es-modules/Series/Tilemap/TilemapShapes.js +0 -7
  295. package/es-modules/Series/Timeline/TimelineSeries.js +3 -4
  296. package/es-modules/{Mixins/TreeSeries.js → Series/TreeUtilities.js} +88 -78
  297. package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
  298. package/es-modules/Series/Treemap/TreemapSeries.js +22 -25
  299. package/es-modules/Series/Variwide/VariwideSeries.js +5 -1
  300. package/es-modules/Series/Venn/VennPoint.js +16 -7
  301. package/es-modules/Series/Venn/VennSeries.js +11 -17
  302. package/es-modules/Series/Venn/VennUtils.js +551 -439
  303. package/es-modules/Series/Waterfall/WaterfallSeries.js +8 -6
  304. package/es-modules/Series/Windbarb/WindbarbSeries.js +23 -24
  305. package/es-modules/Series/Wordcloud/WordcloudPoint.js +8 -6
  306. package/es-modules/Series/Wordcloud/WordcloudSeries.js +26 -22
  307. package/es-modules/Series/Wordcloud/WordcloudUtils.js +669 -484
  308. package/es-modules/Series/XRange/XRangePoint.js +7 -12
  309. package/es-modules/Series/XRange/XRangeSeries.js +4 -20
  310. package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +15 -6
  311. package/es-modules/Stock/Indicators/AO/AOIndicator.js +2 -3
  312. package/es-modules/Stock/Indicators/APO/APOIndicator.js +14 -20
  313. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +4 -6
  314. package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +11 -13
  315. package/es-modules/Stock/Indicators/ArrayUtilities.js +47 -0
  316. package/es-modules/Stock/Indicators/BB/BBIndicator.js +39 -11
  317. package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +35 -15
  318. package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +6 -12
  319. package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +1 -11
  320. package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +28 -16
  321. package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +18 -11
  322. package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +1 -3
  323. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +6 -6
  324. package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +23 -9
  325. package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +16 -19
  326. package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +32 -14
  327. package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js +2 -2
  328. package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js +2 -2
  329. package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js +2 -2
  330. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +2 -3
  331. package/es-modules/Stock/Indicators/MultipleLinesComposition.js +294 -0
  332. package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +1 -3
  333. package/es-modules/Stock/Indicators/PC/PCIndicator.js +25 -13
  334. package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -11
  335. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +2 -1
  336. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +2 -1
  337. package/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -26
  338. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +32 -50
  339. package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +0 -8
  340. package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +18 -9
  341. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +4 -6
  342. package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +26 -11
  343. package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +6 -12
  344. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +26 -10
  345. package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +19 -7
  346. package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +2 -3
  347. package/es-modules/Stock/StockToolsBindings.js +156 -47
  348. package/es-modules/Stock/StockToolsGui.js +442 -37
  349. package/es-modules/masters/highcharts-3d.src.js +1 -1
  350. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  351. package/es-modules/masters/highcharts-more.src.js +1 -1
  352. package/es-modules/masters/highcharts.src.js +1 -1
  353. package/es-modules/masters/highmaps.src.js +1 -1
  354. package/es-modules/masters/highstock.src.js +1 -1
  355. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  356. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  357. package/es-modules/masters/indicators/ao.src.js +1 -1
  358. package/es-modules/masters/indicators/apo.src.js +1 -1
  359. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  360. package/es-modules/masters/indicators/aroon.src.js +1 -1
  361. package/es-modules/masters/indicators/atr.src.js +1 -1
  362. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  363. package/es-modules/masters/indicators/cci.src.js +1 -1
  364. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  365. package/es-modules/masters/indicators/cmf.src.js +1 -1
  366. package/es-modules/masters/indicators/cmo.src.js +1 -1
  367. package/es-modules/masters/indicators/dema.src.js +1 -1
  368. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  369. package/es-modules/masters/indicators/dmi.src.js +1 -1
  370. package/es-modules/masters/indicators/dpo.src.js +1 -1
  371. package/es-modules/masters/indicators/ema.src.js +4 -10
  372. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  373. package/es-modules/masters/indicators/indicators-all.src.js +2 -2
  374. package/es-modules/masters/indicators/indicators.src.js +2 -1
  375. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  376. package/es-modules/masters/indicators/klinger.src.js +1 -1
  377. package/es-modules/masters/indicators/macd.src.js +1 -1
  378. package/es-modules/masters/indicators/mfi.src.js +1 -1
  379. package/es-modules/masters/indicators/momentum.src.js +1 -1
  380. package/es-modules/masters/indicators/natr.src.js +1 -1
  381. package/es-modules/masters/indicators/obv.src.js +1 -1
  382. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  383. package/es-modules/masters/indicators/ppo.src.js +1 -1
  384. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  385. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  386. package/es-modules/masters/indicators/psar.src.js +1 -1
  387. package/es-modules/masters/indicators/regressions.src.js +1 -1
  388. package/es-modules/masters/indicators/roc.src.js +1 -1
  389. package/es-modules/masters/indicators/rsi.src.js +1 -1
  390. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  391. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  392. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  393. package/es-modules/masters/indicators/tema.src.js +1 -1
  394. package/es-modules/masters/indicators/trendline.src.js +1 -1
  395. package/es-modules/masters/indicators/trix.src.js +1 -1
  396. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  397. package/es-modules/masters/indicators/vwap.src.js +1 -1
  398. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  399. package/es-modules/masters/indicators/wma.src.js +1 -1
  400. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  401. package/es-modules/masters/modules/accessibility.src.js +16 -2
  402. package/es-modules/masters/modules/annotations-advanced.src.js +3 -1
  403. package/es-modules/masters/modules/annotations.src.js +1 -1
  404. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  405. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  406. package/es-modules/masters/modules/boost.src.js +1 -1
  407. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  408. package/es-modules/masters/modules/bullet.src.js +1 -1
  409. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  410. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  411. package/es-modules/masters/modules/cylinder.src.js +1 -1
  412. package/es-modules/masters/modules/data.src.js +6 -3
  413. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  414. package/es-modules/masters/modules/debugger.src.js +1 -1
  415. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  416. package/es-modules/masters/modules/dotplot.src.js +1 -1
  417. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  418. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  419. package/es-modules/masters/modules/drilldown.src.js +1 -1
  420. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  421. package/es-modules/masters/modules/export-data.src.js +1 -1
  422. package/es-modules/masters/modules/exporting.src.js +1 -1
  423. package/es-modules/masters/modules/full-screen.src.js +1 -1
  424. package/es-modules/masters/modules/funnel.src.js +1 -1
  425. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  426. package/es-modules/masters/modules/gantt.src.js +1 -1
  427. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  428. package/es-modules/masters/modules/heatmap.src.js +1 -2
  429. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  430. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  431. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  432. package/es-modules/masters/modules/item-series.src.js +1 -1
  433. package/es-modules/masters/modules/lollipop.src.js +1 -1
  434. package/es-modules/masters/modules/map.src.js +1 -3
  435. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  436. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  437. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  438. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  439. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  440. package/es-modules/masters/modules/oldie.src.js +1 -1
  441. package/es-modules/masters/modules/organization.src.js +1 -1
  442. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  443. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  444. package/es-modules/masters/modules/pareto.src.js +1 -1
  445. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  446. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  447. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  448. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  449. package/es-modules/masters/modules/sankey.src.js +1 -1
  450. package/es-modules/masters/modules/series-label.src.js +1 -1
  451. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  452. package/es-modules/masters/modules/sonification.src.js +33 -2
  453. package/es-modules/masters/modules/static-scale.src.js +1 -1
  454. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  455. package/es-modules/masters/modules/stock.src.js +4 -1
  456. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  457. package/es-modules/masters/modules/sunburst.src.js +1 -1
  458. package/es-modules/masters/modules/tilemap.src.js +1 -1
  459. package/es-modules/masters/modules/timeline.src.js +1 -1
  460. package/es-modules/masters/modules/treegrid.src.js +1 -1
  461. package/es-modules/masters/modules/treemap.src.js +1 -1
  462. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  463. package/es-modules/masters/modules/variwide.src.js +1 -1
  464. package/es-modules/masters/modules/vector.src.js +1 -1
  465. package/es-modules/masters/modules/venn.src.js +1 -1
  466. package/es-modules/masters/modules/windbarb.src.js +1 -1
  467. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  468. package/es-modules/masters/modules/xrange.src.js +1 -1
  469. package/es-modules/masters/themes/avocado.src.js +1 -1
  470. package/es-modules/masters/themes/brand-dark.src.js +14 -0
  471. package/es-modules/masters/themes/brand-light.src.js +14 -0
  472. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  473. package/es-modules/masters/themes/dark-green.src.js +1 -1
  474. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  475. package/es-modules/masters/themes/gray.src.js +1 -1
  476. package/es-modules/masters/themes/grid-light.src.js +1 -1
  477. package/es-modules/masters/themes/grid.src.js +1 -1
  478. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  479. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  480. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  481. package/es-modules/masters/themes/skies.src.js +1 -1
  482. package/es-modules/masters/themes/sunset.src.js +1 -1
  483. package/highcharts-3d.js +1 -1
  484. package/highcharts-3d.js.map +1 -1
  485. package/highcharts-3d.src.js +65 -35
  486. package/highcharts-gantt.js +800 -803
  487. package/highcharts-gantt.js.map +1 -1
  488. package/highcharts-gantt.src.js +1359 -1429
  489. package/highcharts-more.js +194 -193
  490. package/highcharts-more.js.map +1 -1
  491. package/highcharts-more.src.js +280 -222
  492. package/highcharts.d.ts +10228 -768
  493. package/highcharts.js +585 -588
  494. package/highcharts.js.map +1 -1
  495. package/highcharts.src.d.ts +10228 -768
  496. package/highcharts.src.js +995 -1066
  497. package/highmaps.js +727 -707
  498. package/highmaps.js.map +1 -1
  499. package/highmaps.src.js +3243 -2135
  500. package/highstock.js +788 -783
  501. package/highstock.js.map +1 -1
  502. package/highstock.src.js +2492 -1981
  503. package/indicators/acceleration-bands.d.ts +17 -1
  504. package/indicators/acceleration-bands.js +11 -9
  505. package/indicators/acceleration-bands.js.map +1 -1
  506. package/indicators/acceleration-bands.src.d.ts +17 -1
  507. package/indicators/acceleration-bands.src.js +238 -112
  508. package/indicators/accumulation-distribution.js +1 -1
  509. package/indicators/accumulation-distribution.src.js +1 -1
  510. package/indicators/ao.js +6 -6
  511. package/indicators/ao.js.map +1 -1
  512. package/indicators/ao.src.js +4 -4
  513. package/indicators/apo.js +5 -6
  514. package/indicators/apo.js.map +1 -1
  515. package/indicators/apo.src.js +16 -84
  516. package/indicators/aroon-oscillator.d.ts +17 -1
  517. package/indicators/aroon-oscillator.js +10 -9
  518. package/indicators/aroon-oscillator.js.map +1 -1
  519. package/indicators/aroon-oscillator.src.d.ts +17 -1
  520. package/indicators/aroon-oscillator.src.js +230 -177
  521. package/indicators/aroon.d.ts +17 -1
  522. package/indicators/aroon.js +11 -9
  523. package/indicators/aroon.js.map +1 -1
  524. package/indicators/aroon.src.d.ts +17 -1
  525. package/indicators/aroon.src.js +227 -112
  526. package/indicators/atr.js +1 -1
  527. package/indicators/atr.src.js +1 -1
  528. package/indicators/bollinger-bands.d.ts +17 -1
  529. package/indicators/bollinger-bands.js +12 -9
  530. package/indicators/bollinger-bands.js.map +1 -1
  531. package/indicators/bollinger-bands.src.d.ts +17 -1
  532. package/indicators/bollinger-bands.src.js +262 -117
  533. package/indicators/cci.js +1 -1
  534. package/indicators/cci.src.js +1 -1
  535. package/indicators/chaikin.js +8 -9
  536. package/indicators/chaikin.js.map +1 -1
  537. package/indicators/chaikin.src.js +8 -76
  538. package/indicators/cmf.js +1 -1
  539. package/indicators/cmf.js.map +1 -1
  540. package/indicators/cmf.src.js +36 -16
  541. package/indicators/cmo.js +1 -1
  542. package/indicators/cmo.src.js +1 -1
  543. package/indicators/dema.js +5 -6
  544. package/indicators/dema.js.map +1 -1
  545. package/indicators/dema.src.js +3 -75
  546. package/indicators/disparity-index.js +6 -7
  547. package/indicators/disparity-index.js.map +1 -1
  548. package/indicators/disparity-index.src.js +20 -74
  549. package/indicators/dmi.js +12 -11
  550. package/indicators/dmi.js.map +1 -1
  551. package/indicators/dmi.src.js +252 -121
  552. package/indicators/dpo.js +1 -1
  553. package/indicators/dpo.src.js +1 -1
  554. package/indicators/ema.js +1 -13
  555. package/indicators/ema.js.map +1 -1
  556. package/indicators/ema.src.js +7 -188
  557. package/indicators/ichimoku-kinko-hyo.js +1 -1
  558. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  559. package/indicators/ichimoku-kinko-hyo.src.js +7 -7
  560. package/indicators/indicators-all.d.ts +17 -1
  561. package/indicators/indicators-all.js +198 -203
  562. package/indicators/indicators-all.js.map +1 -1
  563. package/indicators/indicators-all.src.d.ts +17 -1
  564. package/indicators/indicators-all.src.js +892 -777
  565. package/indicators/indicators.js +12 -12
  566. package/indicators/indicators.js.map +1 -1
  567. package/indicators/indicators.src.js +213 -144
  568. package/indicators/keltner-channels.d.ts +17 -1
  569. package/indicators/keltner-channels.js +11 -10
  570. package/indicators/keltner-channels.js.map +1 -1
  571. package/indicators/keltner-channels.src.d.ts +17 -1
  572. package/indicators/keltner-channels.src.js +246 -118
  573. package/indicators/klinger.js +14 -13
  574. package/indicators/klinger.js.map +1 -1
  575. package/indicators/klinger.src.js +239 -187
  576. package/indicators/macd.js +2 -2
  577. package/indicators/macd.js.map +1 -1
  578. package/indicators/macd.src.js +3 -4
  579. package/indicators/mfi.js +1 -1
  580. package/indicators/mfi.src.js +1 -1
  581. package/indicators/momentum.js +1 -1
  582. package/indicators/momentum.src.js +1 -1
  583. package/indicators/natr.js +3 -3
  584. package/indicators/natr.js.map +1 -1
  585. package/indicators/natr.src.js +2 -4
  586. package/indicators/obv.js +1 -1
  587. package/indicators/obv.src.js +1 -1
  588. package/indicators/pivot-points.js +1 -1
  589. package/indicators/pivot-points.js.map +1 -1
  590. package/indicators/pivot-points.src.js +3 -2
  591. package/indicators/ppo.js +5 -6
  592. package/indicators/ppo.js.map +1 -1
  593. package/indicators/ppo.src.js +3 -75
  594. package/indicators/price-channel.d.ts +17 -1
  595. package/indicators/price-channel.js +11 -9
  596. package/indicators/price-channel.js.map +1 -1
  597. package/indicators/price-channel.src.d.ts +17 -1
  598. package/indicators/price-channel.src.js +288 -168
  599. package/indicators/price-envelopes.js +1 -1
  600. package/indicators/price-envelopes.src.js +1 -1
  601. package/indicators/psar.js +1 -1
  602. package/indicators/psar.src.js +1 -1
  603. package/indicators/regressions.js +1 -1
  604. package/indicators/regressions.js.map +1 -1
  605. package/indicators/regressions.src.js +39 -21
  606. package/indicators/roc.js +1 -1
  607. package/indicators/roc.src.js +1 -1
  608. package/indicators/rsi.js +1 -1
  609. package/indicators/rsi.js.map +1 -1
  610. package/indicators/rsi.src.js +3 -2
  611. package/indicators/slow-stochastic.js +5 -6
  612. package/indicators/slow-stochastic.js.map +1 -1
  613. package/indicators/slow-stochastic.src.js +2 -72
  614. package/indicators/stochastic.d.ts +17 -1
  615. package/indicators/stochastic.js +12 -10
  616. package/indicators/stochastic.js.map +1 -1
  617. package/indicators/stochastic.src.d.ts +17 -1
  618. package/indicators/stochastic.src.js +282 -165
  619. package/indicators/supertrend.js +10 -10
  620. package/indicators/supertrend.js.map +1 -1
  621. package/indicators/supertrend.src.js +6 -7
  622. package/indicators/tema.js +6 -7
  623. package/indicators/tema.js.map +1 -1
  624. package/indicators/tema.src.js +28 -75
  625. package/indicators/trendline.js +1 -1
  626. package/indicators/trendline.src.js +1 -1
  627. package/indicators/trix.js +4 -5
  628. package/indicators/trix.js.map +1 -1
  629. package/indicators/trix.src.js +8 -76
  630. package/indicators/volume-by-price.js +16 -16
  631. package/indicators/volume-by-price.js.map +1 -1
  632. package/indicators/volume-by-price.src.js +27 -10
  633. package/indicators/vwap.js +1 -1
  634. package/indicators/vwap.js.map +1 -1
  635. package/indicators/vwap.src.js +20 -8
  636. package/indicators/williams-r.js +5 -6
  637. package/indicators/williams-r.js.map +1 -1
  638. package/indicators/williams-r.src.js +41 -51
  639. package/indicators/wma.js +1 -1
  640. package/indicators/wma.src.js +1 -1
  641. package/indicators/zigzag.js +1 -1
  642. package/indicators/zigzag.src.js +1 -1
  643. package/modules/accessibility.d.ts +0 -30
  644. package/modules/accessibility.js +240 -216
  645. package/modules/accessibility.js.map +1 -1
  646. package/modules/accessibility.src.d.ts +0 -30
  647. package/modules/accessibility.src.js +7807 -6400
  648. package/modules/annotations-advanced.d.ts +30 -0
  649. package/modules/annotations-advanced.js +192 -165
  650. package/modules/annotations-advanced.js.map +1 -1
  651. package/modules/annotations-advanced.src.d.ts +30 -0
  652. package/modules/annotations-advanced.src.js +1716 -416
  653. package/modules/annotations.js +125 -110
  654. package/modules/annotations.js.map +1 -1
  655. package/modules/annotations.src.js +1059 -304
  656. package/modules/arrow-symbols.js +1 -1
  657. package/modules/arrow-symbols.src.js +1 -1
  658. package/modules/boost-canvas.js +15 -15
  659. package/modules/boost-canvas.js.map +1 -1
  660. package/modules/boost-canvas.src.js +3 -3
  661. package/modules/boost.js +79 -79
  662. package/modules/boost.js.map +1 -1
  663. package/modules/boost.src.js +42 -51
  664. package/modules/broken-axis.js +1 -1
  665. package/modules/broken-axis.js.map +1 -1
  666. package/modules/broken-axis.src.js +18 -12
  667. package/modules/bullet.js +1 -1
  668. package/modules/bullet.src.js +1 -1
  669. package/modules/coloraxis.js +24 -24
  670. package/modules/coloraxis.js.map +1 -1
  671. package/modules/coloraxis.src.js +77 -103
  672. package/modules/current-date-indicator.js +4 -4
  673. package/modules/current-date-indicator.js.map +1 -1
  674. package/modules/current-date-indicator.src.js +4 -4
  675. package/modules/cylinder.js +1 -1
  676. package/modules/cylinder.js.map +1 -1
  677. package/modules/cylinder.src.js +37 -5
  678. package/modules/data.d.ts +6 -6
  679. package/modules/data.js +32 -32
  680. package/modules/data.js.map +1 -1
  681. package/modules/data.src.d.ts +6 -6
  682. package/modules/data.src.js +94 -140
  683. package/modules/datagrouping.js +20 -20
  684. package/modules/datagrouping.js.map +1 -1
  685. package/modules/datagrouping.src.js +56 -33
  686. package/modules/debugger.js +3 -3
  687. package/modules/debugger.js.map +1 -1
  688. package/modules/debugger.src.js +3 -3
  689. package/modules/dependency-wheel.js +11 -11
  690. package/modules/dependency-wheel.js.map +1 -1
  691. package/modules/dependency-wheel.src.js +5 -8
  692. package/modules/dotplot.js +1 -1
  693. package/modules/dotplot.src.js +1 -1
  694. package/modules/drag-panes.js +8 -8
  695. package/modules/drag-panes.js.map +1 -1
  696. package/modules/drag-panes.src.js +3 -3
  697. package/modules/draggable-points.js +1 -1
  698. package/modules/draggable-points.js.map +1 -1
  699. package/modules/draggable-points.src.js +8 -9
  700. package/modules/drilldown.js +24 -24
  701. package/modules/drilldown.js.map +1 -1
  702. package/modules/drilldown.src.js +13 -8
  703. package/modules/dumbbell.js +17 -17
  704. package/modules/dumbbell.js.map +1 -1
  705. package/modules/dumbbell.src.js +4 -8
  706. package/modules/export-data.js +19 -19
  707. package/modules/export-data.js.map +1 -1
  708. package/modules/export-data.src.js +9 -8
  709. package/modules/exporting.js +39 -38
  710. package/modules/exporting.js.map +1 -1
  711. package/modules/exporting.src.js +134 -116
  712. package/modules/full-screen.js +1 -1
  713. package/modules/full-screen.js.map +1 -1
  714. package/modules/full-screen.src.js +5 -4
  715. package/modules/funnel.js +12 -12
  716. package/modules/funnel.js.map +1 -1
  717. package/modules/funnel.src.js +9 -6
  718. package/modules/funnel3d.js +1 -1
  719. package/modules/funnel3d.js.map +1 -1
  720. package/modules/funnel3d.src.js +17 -10
  721. package/modules/gantt.js +217 -218
  722. package/modules/gantt.js.map +1 -1
  723. package/modules/gantt.src.js +364 -363
  724. package/modules/grid-axis.js +1 -1
  725. package/modules/grid-axis.js.map +1 -1
  726. package/modules/grid-axis.src.js +27 -19
  727. package/modules/heatmap.js +39 -39
  728. package/modules/heatmap.js.map +1 -1
  729. package/modules/heatmap.src.js +132 -141
  730. package/modules/heikinashi.js +1 -1
  731. package/modules/heikinashi.js.map +1 -1
  732. package/modules/heikinashi.src.js +12 -10
  733. package/modules/histogram-bellcurve.js +13 -13
  734. package/modules/histogram-bellcurve.js.map +1 -1
  735. package/modules/histogram-bellcurve.src.js +97 -91
  736. package/modules/hollowcandlestick.js +9 -9
  737. package/modules/hollowcandlestick.js.map +1 -1
  738. package/modules/hollowcandlestick.src.js +31 -35
  739. package/modules/item-series.js +6 -6
  740. package/modules/item-series.js.map +1 -1
  741. package/modules/item-series.src.js +6 -6
  742. package/modules/lollipop.js +1 -1
  743. package/modules/lollipop.src.js +1 -1
  744. package/modules/map.d.ts +138 -14
  745. package/modules/map.js +144 -122
  746. package/modules/map.js.map +1 -1
  747. package/modules/map.src.d.ts +138 -14
  748. package/modules/map.src.js +2253 -1074
  749. package/modules/marker-clusters.js +36 -36
  750. package/modules/marker-clusters.js.map +1 -1
  751. package/modules/marker-clusters.src.js +176 -143
  752. package/modules/networkgraph.d.ts +12 -1
  753. package/modules/networkgraph.js +49 -49
  754. package/modules/networkgraph.js.map +1 -1
  755. package/modules/networkgraph.src.d.ts +12 -1
  756. package/modules/networkgraph.src.js +103 -78
  757. package/modules/no-data-to-display.js +5 -5
  758. package/modules/no-data-to-display.js.map +1 -1
  759. package/modules/no-data-to-display.src.js +3 -3
  760. package/modules/offline-exporting.js +18 -17
  761. package/modules/offline-exporting.js.map +1 -1
  762. package/modules/offline-exporting.src.js +39 -44
  763. package/modules/oldie-polyfills.js +1 -1
  764. package/modules/oldie-polyfills.src.js +1 -1
  765. package/modules/oldie.js +26 -26
  766. package/modules/oldie.js.map +1 -1
  767. package/modules/oldie.src.js +21 -81
  768. package/modules/organization.js +13 -13
  769. package/modules/organization.js.map +1 -1
  770. package/modules/organization.src.js +8 -6
  771. package/modules/overlapping-datalabels.js +1 -1
  772. package/modules/overlapping-datalabels.src.js +1 -1
  773. package/modules/parallel-coordinates.js +1 -1
  774. package/modules/parallel-coordinates.js.map +1 -1
  775. package/modules/parallel-coordinates.src.js +6 -4
  776. package/modules/pareto.js +7 -7
  777. package/modules/pareto.js.map +1 -1
  778. package/modules/pareto.src.js +89 -78
  779. package/modules/pathfinder.js +1 -1
  780. package/modules/pathfinder.js.map +1 -1
  781. package/modules/pathfinder.src.js +21 -20
  782. package/modules/pattern-fill.js +1 -1
  783. package/modules/pattern-fill.js.map +1 -1
  784. package/modules/pattern-fill.src.js +18 -12
  785. package/modules/price-indicator.js +1 -1
  786. package/modules/price-indicator.js.map +1 -1
  787. package/modules/price-indicator.src.js +3 -2
  788. package/modules/pyramid3d.js +1 -1
  789. package/modules/pyramid3d.js.map +1 -1
  790. package/modules/pyramid3d.src.js +3 -2
  791. package/modules/sankey.d.ts +12 -1
  792. package/modules/sankey.js +29 -29
  793. package/modules/sankey.js.map +1 -1
  794. package/modules/sankey.src.d.ts +12 -1
  795. package/modules/sankey.src.js +307 -181
  796. package/modules/series-label.js +1 -1
  797. package/modules/series-label.js.map +1 -1
  798. package/modules/series-label.src.js +2 -2
  799. package/modules/solid-gauge.js +1 -1
  800. package/modules/solid-gauge.js.map +1 -1
  801. package/modules/solid-gauge.src.js +17 -2
  802. package/modules/sonification.js +59 -55
  803. package/modules/sonification.js.map +1 -1
  804. package/modules/sonification.src.js +3093 -2594
  805. package/modules/static-scale.js +1 -1
  806. package/modules/static-scale.src.js +1 -1
  807. package/modules/stock-tools.js +178 -163
  808. package/modules/stock-tools.js.map +1 -1
  809. package/modules/stock-tools.src.js +1136 -229
  810. package/modules/stock.d.ts +39 -6
  811. package/modules/stock.js +204 -196
  812. package/modules/stock.js.map +1 -1
  813. package/modules/stock.src.d.ts +39 -6
  814. package/modules/stock.src.js +1822 -1240
  815. package/modules/streamgraph.js +1 -1
  816. package/modules/streamgraph.src.js +1 -1
  817. package/modules/sunburst.js +60 -60
  818. package/modules/sunburst.js.map +1 -1
  819. package/modules/sunburst.src.js +281 -248
  820. package/modules/tilemap.js +17 -17
  821. package/modules/tilemap.js.map +1 -1
  822. package/modules/tilemap.src.js +3 -13
  823. package/modules/timeline.js +18 -18
  824. package/modules/timeline.js.map +1 -1
  825. package/modules/timeline.src.js +5 -5
  826. package/modules/treegrid.js +56 -57
  827. package/modules/treegrid.js.map +1 -1
  828. package/modules/treegrid.src.js +201 -169
  829. package/modules/treemap.js +41 -41
  830. package/modules/treemap.js.map +1 -1
  831. package/modules/treemap.src.js +266 -232
  832. package/modules/variable-pie.js +1 -1
  833. package/modules/variable-pie.src.js +1 -1
  834. package/modules/variwide.js +1 -1
  835. package/modules/variwide.js.map +1 -1
  836. package/modules/variwide.src.js +7 -3
  837. package/modules/vector.js +1 -1
  838. package/modules/vector.src.js +1 -1
  839. package/modules/venn.js +31 -31
  840. package/modules/venn.js.map +1 -1
  841. package/modules/venn.src.js +740 -731
  842. package/modules/windbarb.js +15 -15
  843. package/modules/windbarb.js.map +1 -1
  844. package/modules/windbarb.src.js +90 -62
  845. package/modules/wordcloud.js +23 -24
  846. package/modules/wordcloud.js.map +1 -1
  847. package/modules/wordcloud.src.js +898 -954
  848. package/modules/xrange.js +2 -2
  849. package/modules/xrange.js.map +1 -1
  850. package/modules/xrange.src.js +12 -33
  851. package/package.json +1 -1
  852. package/themes/avocado.js +1 -1
  853. package/themes/avocado.src.js +1 -1
  854. package/themes/brand-dark.js +15 -0
  855. package/themes/brand-dark.js.map +1 -0
  856. package/themes/brand-dark.src.js +328 -0
  857. package/themes/brand-light.js +15 -0
  858. package/themes/brand-light.js.map +1 -0
  859. package/themes/brand-light.src.js +294 -0
  860. package/themes/dark-blue.js +1 -1
  861. package/themes/dark-blue.src.js +1 -1
  862. package/themes/dark-green.js +1 -1
  863. package/themes/dark-green.src.js +1 -1
  864. package/themes/dark-unica.js +1 -1
  865. package/themes/dark-unica.js.map +1 -1
  866. package/themes/dark-unica.src.js +5 -3
  867. package/themes/gray.js +1 -1
  868. package/themes/gray.src.js +1 -1
  869. package/themes/grid-light.js +1 -1
  870. package/themes/grid-light.js.map +1 -1
  871. package/themes/grid-light.src.js +5 -3
  872. package/themes/grid.js +1 -1
  873. package/themes/grid.js.map +1 -1
  874. package/themes/grid.src.js +5 -3
  875. package/themes/high-contrast-dark.js +1 -1
  876. package/themes/high-contrast-dark.src.js +1 -1
  877. package/themes/high-contrast-light.js +1 -1
  878. package/themes/high-contrast-light.src.js +1 -1
  879. package/themes/sand-signika.js +1 -1
  880. package/themes/sand-signika.src.js +1 -1
  881. package/themes/skies.js +1 -1
  882. package/themes/skies.src.js +1 -1
  883. package/themes/sunset.js +1 -1
  884. package/themes/sunset.src.js +1 -1
  885. package/es-modules/Core/Axis/MapAxis.js +0 -157
  886. package/es-modules/Core/Color/Palette.js +0 -82
  887. package/es-modules/Extensions/Sonification/InstrumentDefinitions.js +0 -32
  888. package/es-modules/Mixins/ColorSeries.js +0 -77
  889. package/es-modules/Mixins/DerivedSeries.js +0 -118
  890. package/es-modules/Mixins/DrawPoint.js +0 -81
  891. package/es-modules/Mixins/IndicatorRequired.js +0 -56
  892. package/es-modules/Mixins/MultipleLines.js +0 -181
  893. package/es-modules/Mixins/Navigation.js +0 -54
  894. package/es-modules/Mixins/NelderMead.js +0 -132
  895. package/es-modules/Mixins/Polygon.js +0 -259
  896. package/es-modules/Mixins/ReduceArray.js +0 -54
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts Gantt JS v9.2.1 (2021-08-19)
2
+ * @license Highcharts Gantt JS v9.3.2 (2021-11-29)
3
3
  *
4
4
  * Gantt series
5
5
  *
@@ -89,14 +89,14 @@
89
89
  * @private
90
90
  * @function getColorByCategory
91
91
  *
92
- * @param {object} series
93
- * The series which the point belongs to.
92
+ * @param {Object} series
93
+ * The series which the point belongs to.
94
94
  *
95
- * @param {object} point
96
- * The point to calculate its color for.
95
+ * @param {Object} point
96
+ * The point to calculate its color for.
97
97
  *
98
- * @return {object}
99
- * Returns an object containing the properties color and colorIndex.
98
+ * @return {Object}
99
+ * Returns an object containing the properties color and colorIndex.
100
100
  */
101
101
  XRangePoint.getColorByCategory = function (series, point) {
102
102
  var colors = series.options.colors || series.chart.options.colors,
@@ -155,8 +155,6 @@
155
155
  *
156
156
  * @private
157
157
  * @function Highcharts.Point#init
158
- *
159
- * @return {Highcharts.Point}
160
158
  */
161
159
  XRangePoint.prototype.init = function () {
162
160
  Point.prototype.init.apply(this, arguments);
@@ -176,8 +174,6 @@
176
174
  /**
177
175
  * @private
178
176
  * @function Highcharts.Point#getLabelConfig
179
- *
180
- * @return {Highcharts.PointLabelObject}
181
177
  */
182
178
  // Add x2 and yCategory to the available properties for tooltip formats
183
179
  XRangePoint.prototype.getLabelConfig = function () {
@@ -191,8 +187,6 @@
191
187
  /**
192
188
  * @private
193
189
  * @function Highcharts.Point#isValid
194
- *
195
- * @return {boolean}
196
190
  */
197
191
  XRangePoint.prototype.isValid = function () {
198
192
  return typeof this.x === 'number' &&
@@ -201,6 +195,7 @@
201
195
  return XRangePoint;
202
196
  }(ColumnSeries.prototype.pointClass));
203
197
  extend(XRangePoint.prototype, {
198
+ ttBelow: false,
204
199
  tooltipDateKeys: ['x', 'x2']
205
200
  });
206
201
  /* *
@@ -355,7 +350,6 @@
355
350
  /**
356
351
  * @private
357
352
  * @function Highcarts.seriesTypes.xrange#init
358
- * @return {void}
359
353
  */
360
354
  XRangeSeries.prototype.init = function () {
361
355
  ColumnSeries.prototype.init.apply(this, arguments);
@@ -367,8 +361,6 @@
367
361
  *
368
362
  * @private
369
363
  * @function Highcharts.Series#getColumnMetrics
370
- *
371
- * @return {Highcharts.ColumnMetricsObject}
372
364
  */
373
365
  XRangeSeries.prototype.getColumnMetrics = function () {
374
366
  var metrics,
@@ -394,18 +386,6 @@
394
386
  *
395
387
  * @private
396
388
  * @function Highcharts.Series#cropData
397
- *
398
- * @param {Array<number>} xData
399
- *
400
- * @param {Array<number>} yData
401
- *
402
- * @param {number} min
403
- *
404
- * @param {number} max
405
- *
406
- * @param {number} [cropShoulder]
407
- *
408
- * @return {*}
409
389
  */
410
390
  XRangeSeries.prototype.cropData = function (xData, yData, min, max) {
411
391
  // Replace xData with x2Data to find the appropriate cropStart
@@ -425,9 +405,10 @@
425
405
  *
426
406
  * @private
427
407
  * @function Highcharts.Series#findPointIndex
428
- * @param {object} options The options of the point.
429
- * @returns {number|undefined} Returns index of a matching point,
430
- * returns undefined if no match is found.
408
+ * @param {Object} options
409
+ * The options of the point.
410
+ * @return {number|undefined}
411
+ * Returns index of a matching point, or undefined if no match is found.
431
412
  */
432
413
  XRangeSeries.prototype.findPointIndex = function (options) {
433
414
  var _a = this,
@@ -713,8 +694,6 @@
713
694
  *
714
695
  * @private
715
696
  * @function Highcharts.Series#getAnimationVerb
716
- *
717
- * @return {string}
718
697
  */
719
698
  XRangeSeries.prototype.getAnimationVerb = function () {
720
699
  return (this.chart.pointCount < (this.options.animationLimit || 250) ?
@@ -1035,7 +1014,7 @@
1035
1014
  * @private
1036
1015
  * @function Highcharts.Point#applyOptions
1037
1016
  *
1038
- * @param {object} options
1017
+ * @param {Object} options
1039
1018
  * The point options
1040
1019
  *
1041
1020
  * @param {number} x
@@ -1251,8 +1230,11 @@
1251
1230
  (threshold > brk.from && y < brk.from)) {
1252
1231
  eventName = 'pointBreak';
1253
1232
  }
1254
- else if ((threshold < brk.from && y > brk.from && y < brk.to) ||
1255
- (threshold > brk.from && y > brk.to && y < brk.from)) {
1233
+ else if ((threshold < brk.from &&
1234
+ y > brk.from &&
1235
+ y < brk.to) || (threshold > brk.from &&
1236
+ y > brk.to &&
1237
+ y < brk.from)) {
1256
1238
  eventName = 'pointInBreak';
1257
1239
  }
1258
1240
  if (eventName) {
@@ -1371,12 +1353,9 @@
1371
1353
  isNull: true,
1372
1354
  x: xRange
1373
1355
  });
1374
- // For stacked chart generate empty stack items,
1375
- // #6546
1356
+ // For stacked chart generate empty stack items, #6546
1376
1357
  if (yAxis.stacking && this.options.stacking) {
1377
- stack = yAxis.stacking.stacks[this.stackKey][xRange] =
1378
- new StackItem(yAxis, yAxis.options
1379
- .stackLabels, false, xRange, this.stack);
1358
+ stack = yAxis.stacking.stacks[this.stackKey][xRange] = new StackItem(yAxis, yAxis.options.stackLabels, false, xRange, this.stack);
1380
1359
  stack.total = 0;
1381
1360
  }
1382
1361
  }
@@ -1613,10 +1592,12 @@
1613
1592
  repeat_1 = brk.repeat || Infinity;
1614
1593
  if (isNumber(min_1) && isNumber(max_1)) {
1615
1594
  if (Additions.isInBreak(brk, min_1)) {
1616
- min_1 += (brk.to % repeat_1) - (min_1 % repeat_1);
1595
+ min_1 += ((brk.to % repeat_1) -
1596
+ (min_1 % repeat_1));
1617
1597
  }
1618
1598
  if (Additions.isInBreak(brk, max_1)) {
1619
- max_1 -= (max_1 % repeat_1) - (brk.from % repeat_1);
1599
+ max_1 -= ((max_1 % repeat_1) -
1600
+ (brk.from % repeat_1));
1620
1601
  }
1621
1602
  }
1622
1603
  });
@@ -1664,13 +1645,17 @@
1664
1645
  to: brk.value,
1665
1646
  len: brk.value - start_1 - (brk.size || 0)
1666
1647
  });
1667
- length_1 += brk.value - start_1 - (brk.size || 0);
1648
+ length_1 += (brk.value -
1649
+ start_1 -
1650
+ (brk.size || 0));
1668
1651
  }
1669
1652
  });
1670
1653
  brokenAxis.breakArray = breakArray_1;
1671
1654
  // Used with staticScale, and below the actual axis
1672
1655
  // length, when breaks are substracted.
1673
- if (isNumber(min_1) && isNumber(max_1) && isNumber(axis.min)) {
1656
+ if (isNumber(min_1) &&
1657
+ isNumber(max_1) &&
1658
+ isNumber(axis.min)) {
1674
1659
  brokenAxis.unitLength = max_1 - min_1 - length_1 +
1675
1660
  pointRangePadding;
1676
1661
  fireEvent(axis, 'afterBreaks');
@@ -1876,7 +1861,8 @@
1876
1861
  this.treeGrid &&
1877
1862
  this.treeGrid.mapOfPosToGridNode) {
1878
1863
  var treeDepth = this.treeGrid.mapOfPosToGridNode[-1].height || 0;
1879
- dimensions.width += this.options.labels.indentation * (treeDepth - 1);
1864
+ dimensions.width += (this.options.labels.indentation *
1865
+ (treeDepth - 1));
1880
1866
  }
1881
1867
  return dimensions;
1882
1868
  }
@@ -2042,8 +2028,10 @@
2042
2028
  axis.left,
2043
2029
  startPoint[2] || 0
2044
2030
  ],
2045
- upperBorderPath = [upperBorderStartPoint,
2046
- upperBorderEndPoint],
2031
+ upperBorderPath = [
2032
+ upperBorderStartPoint,
2033
+ upperBorderEndPoint
2034
+ ],
2047
2035
  lowerBorderEndPoint = [
2048
2036
  'L',
2049
2037
  axis.chart.chartWidth - axis.chart.marginRight,
@@ -2054,8 +2042,10 @@
2054
2042
  endPoint[1] || 0,
2055
2043
  axis.toPixels(max + axis.tickmarkOffset)
2056
2044
  ],
2057
- lowerBorderPath = [lowerBorderStartPoint,
2058
- lowerBorderEndPoint];
2045
+ lowerBorderPath = [
2046
+ lowerBorderStartPoint,
2047
+ lowerBorderEndPoint
2048
+ ];
2059
2049
  if (!axis.grid.upperBorder && min % 1 !== 0) {
2060
2050
  axis.grid.upperBorder = axis.grid.renderBorder(upperBorderPath);
2061
2051
  }
@@ -2081,8 +2071,8 @@
2081
2071
  });
2082
2072
  }
2083
2073
  }
2084
- // Render an extra line parallel to the existing axes,
2085
- // to close the grid.
2074
+ // Render an extra line parallel to the existing axes, to
2075
+ // close the grid.
2086
2076
  if (!axis.grid.axisLineExtra) {
2087
2077
  axis.grid.axisLineExtra = axis.grid.renderBorder(linePath);
2088
2078
  }
@@ -2095,8 +2085,7 @@
2095
2085
  d: linePath
2096
2086
  });
2097
2087
  }
2098
- // show or hide the line depending on
2099
- // options.showEmpty
2088
+ // show or hide the line depending on options.showEmpty
2100
2089
  axis.axisLine[axis.showAxis ? 'show' : 'hide'](true);
2101
2090
  }
2102
2091
  }
@@ -2138,7 +2127,8 @@
2138
2127
  }
2139
2128
  var mark = axis.ticks[lastTick].mark;
2140
2129
  if (mark) {
2141
- if (lastTick - max < tickmarkOffset && lastTick - max > 0 && axis.ticks[lastTick].isLast) {
2130
+ if (lastTick - max < tickmarkOffset &&
2131
+ lastTick - max > 0 && axis.ticks[lastTick].isLast) {
2142
2132
  mark.hide();
2143
2133
  }
2144
2134
  else if (axis.ticks[lastTick - 1]) {
@@ -2171,7 +2161,8 @@
2171
2161
  options.dateTimeLabelFormats &&
2172
2162
  options.labels &&
2173
2163
  !defined(userLabels.align) &&
2174
- (options.dateTimeLabelFormats[tickInfo.unitName].range === false ||
2164
+ (options.dateTimeLabelFormats[tickInfo.unitName]
2165
+ .range === false ||
2175
2166
  tickInfo.count > 1 // years
2176
2167
  )) {
2177
2168
  options.labels.align = 'left';
@@ -2385,7 +2376,8 @@
2385
2376
  if (gridOptions.enabled && maxLabelDimensions) {
2386
2377
  var labelPadding = (Math.abs(defaultLeftAxisOptions.labels.x) * 2);
2387
2378
  var distance = horiz ?
2388
- gridOptions.cellHeight || labelPadding + maxLabelDimensions.height :
2379
+ (gridOptions.cellHeight ||
2380
+ labelPadding + maxLabelDimensions.height) :
2389
2381
  labelPadding + maxLabelDimensions.width;
2390
2382
  if (isArray(e.tickSize)) {
2391
2383
  e.tickSize[0] = distance;
@@ -2425,7 +2417,7 @@
2425
2417
  var userOptions = e.userOptions || {};
2426
2418
  var gridOptions = userOptions.grid || {};
2427
2419
  if (gridOptions.enabled && defined(gridOptions.borderColor)) {
2428
- userOptions.tickColor = userOptions.lineColor = gridOptions.borderColor;
2420
+ userOptions.tickColor = userOptions.lineColor = (gridOptions.borderColor);
2429
2421
  }
2430
2422
  if (!axis.grid) {
2431
2423
  axis.grid = new Additions(axis);
@@ -2672,7 +2664,8 @@
2672
2664
  var thisIndex = -1,
2673
2665
  lastIndex = 0;
2674
2666
  chart[axis.coll].forEach(function (otherAxis, index) {
2675
- if (otherAxis.side === axis.side && !otherAxis.options.isInternal) {
2667
+ if (otherAxis.side === axis.side &&
2668
+ !otherAxis.options.isInternal) {
2676
2669
  lastIndex = index;
2677
2670
  if (otherAxis === parentAxis) {
2678
2671
  // Get the index of the axis in question
@@ -2681,17 +2674,17 @@
2681
2674
  }
2682
2675
  });
2683
2676
  return (lastIndex === thisIndex &&
2684
- (isNumber(columnIndex) ? columns.length === columnIndex : true));
2677
+ (isNumber(columnIndex) ?
2678
+ columns.length === columnIndex :
2679
+ true));
2685
2680
  };
2686
2681
  /**
2687
2682
  * Add extra border based on the provided path.
2688
- * *
2689
2683
  * @private
2690
- *
2691
2684
  * @param {SVGPath} path
2692
2685
  * The path of the border.
2693
- *
2694
2686
  * @return {Highcharts.SVGElement}
2687
+ * Border
2695
2688
  */
2696
2689
  Additions.prototype.renderBorder = function (path) {
2697
2690
  var axis = this.axis,
@@ -2956,7 +2949,7 @@
2956
2949
 
2957
2950
  return Tree;
2958
2951
  });
2959
- _registerModule(_modules, 'Core/Axis/TreeGridTick.js', [_modules['Core/Color/Palette.js'], _modules['Core/Utilities.js']], function (palette, U) {
2952
+ _registerModule(_modules, 'Core/Axis/TreeGridTick.js', [_modules['Core/Utilities.js']], function (U) {
2960
2953
  /* *
2961
2954
  *
2962
2955
  * (c) 2016 Highsoft AS
@@ -3077,7 +3070,7 @@
3077
3070
  icon
3078
3071
  .attr({
3079
3072
  cursor: 'pointer',
3080
- 'fill': pick(params.color, palette.neutralColor60),
3073
+ 'fill': pick(params.color, "#666666" /* neutralColor60 */),
3081
3074
  'stroke-width': 1,
3082
3075
  stroke: options.lineColor,
3083
3076
  strokeWidth: options.lineWidth || 0
@@ -3160,7 +3153,10 @@
3160
3153
  node.descendants > 0) {
3161
3154
  collapsed = axis.treeGrid.isCollapsed(node);
3162
3155
  renderLabelIcon(tick, {
3163
- color: !styledMode && label.styles && label.styles.color || '',
3156
+ color: (!styledMode &&
3157
+ label.styles &&
3158
+ label.styles.color ||
3159
+ ''),
3164
3160
  collapsed: collapsed,
3165
3161
  group: label.parentGroup,
3166
3162
  options: symbolOptions,
@@ -3306,8 +3302,14 @@
3306
3302
 
3307
3303
  return TreeGridTick;
3308
3304
  });
3309
- _registerModule(_modules, 'Mixins/TreeSeries.js', [_modules['Core/Color/Color.js'], _modules['Core/Utilities.js']], function (Color, U) {
3305
+ _registerModule(_modules, 'Series/TreeUtilities.js', [_modules['Core/Color/Color.js'], _modules['Core/Utilities.js']], function (Color, U) {
3310
3306
  /* *
3307
+ *
3308
+ * (c) 2014-2021 Highsoft AS
3309
+ *
3310
+ * Authors: Jon Arild Nygard / Oystein Moseng
3311
+ *
3312
+ * License: www.highcharts.com/license
3311
3313
  *
3312
3314
  * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
3313
3315
  *
@@ -3318,96 +3320,45 @@
3318
3320
  isObject = U.isObject,
3319
3321
  merge = U.merge,
3320
3322
  pick = U.pick;
3321
- var isBoolean = function (x) {
3322
- return typeof x === 'boolean';
3323
- }, isFn = function (x) {
3324
- return typeof x === 'function';
3325
- };
3323
+ /* *
3324
+ *
3325
+ * Functions
3326
+ *
3327
+ * */
3326
3328
  /* eslint-disable valid-jsdoc */
3327
3329
  /**
3328
- * @todo Combine buildTree and buildNode with setTreeValues
3329
- * @todo Remove logic from Treemap and make it utilize this mixin.
3330
3330
  * @private
3331
3331
  */
3332
- var setTreeValues = function setTreeValues(tree,
3333
- options) {
3334
- var before = options.before,
3335
- idRoot = options.idRoot,
3336
- mapIdToNode = options.mapIdToNode,
3337
- nodeRoot = mapIdToNode[idRoot],
3338
- levelIsConstant = (isBoolean(options.levelIsConstant) ?
3339
- options.levelIsConstant :
3340
- true),
3341
- points = options.points,
3342
- point = points[tree.i],
3343
- optionsPoint = point && point.options || {},
3344
- childrenTotal = 0,
3345
- children = [],
3346
- value;
3347
- tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
3348
- tree.name = pick(point && point.name, '');
3349
- tree.visible = (idRoot === tree.id ||
3350
- (isBoolean(options.visible) ? options.visible : false));
3351
- if (isFn(before)) {
3352
- tree = before(tree, options);
3353
- }
3354
- // First give the children some values
3355
- tree.children.forEach(function (child, i) {
3356
- var newOptions = extend({},
3357
- options);
3358
- extend(newOptions, {
3359
- index: i,
3360
- siblings: tree.children.length,
3361
- visible: tree.visible
3362
- });
3363
- child = setTreeValues(child, newOptions);
3364
- children.push(child);
3365
- if (child.visible) {
3366
- childrenTotal += child.val;
3367
- }
3368
- });
3369
- // Set the values
3370
- value = pick(optionsPoint.value, childrenTotal);
3371
- tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
3372
- tree.children = children;
3373
- tree.childrenTotal = childrenTotal;
3374
- tree.isLeaf = tree.visible && !childrenTotal;
3375
- tree.val = value;
3376
- return tree;
3377
- };
3378
- /**
3379
- * @private
3380
- */
3381
- var getColor = function getColor(node,
3382
- options) {
3383
- var index = options.index,
3384
- mapOptionsToLevel = options.mapOptionsToLevel,
3385
- parentColor = options.parentColor,
3386
- parentColorIndex = options.parentColorIndex,
3387
- series = options.series,
3388
- colors = options.colors,
3389
- siblings = options.siblings,
3390
- points = series.points,
3391
- getColorByPoint,
3392
- chartOptionsChart = series.chart.options.chart,
3393
- point,
3394
- level,
3395
- colorByPoint,
3396
- colorIndexByPoint,
3397
- color,
3398
- colorIndex;
3399
- /**
3400
- * @private
3401
- */
3402
- function variation(color) {
3403
- var colorVariation = level && level.colorVariation;
3404
- if (colorVariation) {
3405
- if (colorVariation.key === 'brightness') {
3406
- return Color.parse(color).brighten(colorVariation.to * (index / siblings)).get();
3407
- }
3332
+ function getColor(node, options) {
3333
+ var index = options.index,
3334
+ mapOptionsToLevel = options.mapOptionsToLevel,
3335
+ parentColor = options.parentColor,
3336
+ parentColorIndex = options.parentColorIndex,
3337
+ series = options.series,
3338
+ colors = options.colors,
3339
+ siblings = options.siblings,
3340
+ points = series.points,
3341
+ chartOptionsChart = series.chart.options.chart;
3342
+ var getColorByPoint,
3343
+ point,
3344
+ level,
3345
+ colorByPoint,
3346
+ colorIndexByPoint,
3347
+ color,
3348
+ colorIndex;
3349
+ /**
3350
+ * @private
3351
+ */
3352
+ var variateColor = function (color) {
3353
+ var colorVariation = level && level.colorVariation;
3354
+ if (colorVariation &&
3355
+ colorVariation.key === 'brightness' &&
3356
+ index &&
3357
+ siblings) {
3358
+ return Color.parse(color).brighten(colorVariation.to * (index / siblings)).get();
3408
3359
  }
3409
3360
  return color;
3410
- }
3361
+ };
3411
3362
  if (node) {
3412
3363
  point = points[node.i];
3413
3364
  level = mapOptionsToLevel[node.level] || {};
@@ -3420,7 +3371,7 @@
3420
3371
  }
3421
3372
  // Select either point color, level color or inherited color.
3422
3373
  if (!series.chart.styledMode) {
3423
- color = pick(point && point.options.color, level && level.color, colorByPoint, parentColor && variation(parentColor), series.color);
3374
+ color = pick(point && point.options.color, level && level.color, colorByPoint, parentColor && variateColor(parentColor), series.color);
3424
3375
  }
3425
3376
  colorIndex = pick(point && point.options.colorIndex, level && level.colorIndex, colorIndexByPoint, parentColorIndex, options.colorIndex);
3426
3377
  }
@@ -3428,31 +3379,32 @@
3428
3379
  color: color,
3429
3380
  colorIndex: colorIndex
3430
3381
  };
3431
- };
3382
+ }
3432
3383
  /**
3433
3384
  * Creates a map from level number to its given options.
3434
3385
  *
3435
3386
  * @private
3436
- * @function getLevelOptions
3437
- * @param {object} params
3438
- * Object containing parameters.
3439
- * - `defaults` Object containing default options. The default options
3440
- * are merged with the userOptions to get the final options for a
3441
- * specific level.
3442
- * - `from` The lowest level number.
3443
- * - `levels` User options from series.levels.
3444
- * - `to` The highest level number.
3387
+ *
3388
+ * @param {Object} params
3389
+ * Object containing parameters.
3390
+ * - `defaults` Object containing default options. The default options are
3391
+ * merged with the userOptions to get the final options for a specific
3392
+ * level.
3393
+ * - `from` The lowest level number.
3394
+ * - `levels` User options from series.levels.
3395
+ * - `to` The highest level number.
3396
+ *
3445
3397
  * @return {Highcharts.Dictionary<object>|null}
3446
- * Returns a map from level number to its given options.
3398
+ * Returns a map from level number to its given options.
3447
3399
  */
3448
- var getLevelOptions = function getLevelOptions(params) {
3449
- var result = null,
3450
- defaults,
3451
- converted,
3452
- i,
3453
- from,
3454
- to,
3455
- levels;
3400
+ function getLevelOptions(params) {
3401
+ var result = null,
3402
+ defaults,
3403
+ converted,
3404
+ i,
3405
+ from,
3406
+ to,
3407
+ levels;
3456
3408
  if (isObject(params)) {
3457
3409
  result = {};
3458
3410
  from = isNumber(params.from) ? params.from : 1;
@@ -3466,16 +3418,14 @@
3466
3418
  options;
3467
3419
  if (isObject(item) && isNumber(item.level)) {
3468
3420
  options = merge({}, item);
3469
- levelIsConstant = (isBoolean(options.levelIsConstant) ?
3470
- options.levelIsConstant :
3471
- defaults.levelIsConstant);
3421
+ levelIsConstant = pick(options.levelIsConstant, defaults.levelIsConstant);
3472
3422
  // Delete redundant properties.
3473
3423
  delete options.levelIsConstant;
3474
3424
  delete options.level;
3475
3425
  // Calculate which level these options apply to.
3476
3426
  level = item.level + (levelIsConstant ? 0 : from - 1);
3477
3427
  if (isObject(obj[level])) {
3478
- extend(obj[level], options);
3428
+ merge(true, obj[level], options); // #16329
3479
3429
  }
3480
3430
  else {
3481
3431
  obj[level] = options;
@@ -3490,23 +3440,70 @@
3490
3440
  }
3491
3441
  }
3492
3442
  return result;
3493
- };
3443
+ }
3444
+ /**
3445
+ * @private
3446
+ * @todo Combine buildTree and buildNode with setTreeValues
3447
+ * @todo Remove logic from Treemap and make it utilize this mixin.
3448
+ */
3449
+ function setTreeValues(tree, options) {
3450
+ var before = options.before,
3451
+ idRoot = options.idRoot,
3452
+ mapIdToNode = options.mapIdToNode,
3453
+ nodeRoot = mapIdToNode[idRoot],
3454
+ levelIsConstant = (options.levelIsConstant !== false),
3455
+ points = options.points,
3456
+ point = points[tree.i],
3457
+ optionsPoint = point && point.options || {},
3458
+ children = [];
3459
+ var childrenTotal = 0;
3460
+ tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
3461
+ tree.name = pick(point && point.name, '');
3462
+ tree.visible = (idRoot === tree.id ||
3463
+ options.visible === true);
3464
+ if (typeof before === 'function') {
3465
+ tree = before(tree, options);
3466
+ }
3467
+ // First give the children some values
3468
+ tree.children.forEach(function (child, i) {
3469
+ var newOptions = extend({},
3470
+ options);
3471
+ extend(newOptions, {
3472
+ index: i,
3473
+ siblings: tree.children.length,
3474
+ visible: tree.visible
3475
+ });
3476
+ child = setTreeValues(child, newOptions);
3477
+ children.push(child);
3478
+ if (child.visible) {
3479
+ childrenTotal += child.val;
3480
+ }
3481
+ });
3482
+ // Set the values
3483
+ var value = pick(optionsPoint.value,
3484
+ childrenTotal);
3485
+ tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
3486
+ tree.children = children;
3487
+ tree.childrenTotal = childrenTotal;
3488
+ tree.isLeaf = tree.visible && !childrenTotal;
3489
+ tree.val = value;
3490
+ return tree;
3491
+ }
3494
3492
  /**
3495
3493
  * Update the rootId property on the series. Also makes sure that it is
3496
3494
  * accessible to exporting.
3497
3495
  *
3498
3496
  * @private
3499
- * @function updateRootId
3500
3497
  *
3501
- * @param {object} series
3502
- * The series to operate on.
3498
+ * @param {Object} series
3499
+ * The series to operate on.
3503
3500
  *
3504
3501
  * @return {string}
3505
- * Returns the resulting rootId after update.
3502
+ * Returns the resulting rootId after update.
3506
3503
  */
3507
- var updateRootId = function (series) {
3508
- var rootId,
3509
- options;
3504
+ function updateRootId(series) {
3505
+ var rootId,
3506
+ options;
3510
3507
  if (isObject(series)) {
3511
3508
  // Get the series options.
3512
3509
  options = isObject(series.options) ? series.options : {};
@@ -3520,17 +3517,22 @@
3520
3517
  series.rootNode = rootId;
3521
3518
  }
3522
3519
  return rootId;
3523
- };
3524
- var result = {
3520
+ }
3521
+ /* *
3522
+ *
3523
+ * Default Export
3524
+ *
3525
+ * */
3526
+ var TreeUtilities = {
3525
3527
  getColor: getColor,
3526
3528
  getLevelOptions: getLevelOptions,
3527
3529
  setTreeValues: setTreeValues,
3528
3530
  updateRootId: updateRootId
3529
3531
  };
3530
3532
 
3531
- return result;
3533
+ return TreeUtilities;
3532
3534
  });
3533
- _registerModule(_modules, 'Core/Axis/TreeGridAxis.js', [_modules['Core/Axis/BrokenAxis.js'], _modules['Core/Axis/GridAxis.js'], _modules['Gantt/Tree.js'], _modules['Core/Axis/TreeGridTick.js'], _modules['Mixins/TreeSeries.js'], _modules['Core/Utilities.js']], function (BrokenAxis, GridAxis, Tree, TreeGridTick, mixinTreeSeries, U) {
3535
+ _registerModule(_modules, 'Core/Axis/TreeGridAxis.js', [_modules['Core/Axis/BrokenAxis.js'], _modules['Core/Axis/GridAxis.js'], _modules['Gantt/Tree.js'], _modules['Core/Axis/TreeGridTick.js'], _modules['Series/TreeUtilities.js'], _modules['Core/Utilities.js']], function (BrokenAxis, GridAxis, Tree, TreeGridTick, TU, U) {
3534
3536
  /* *
3535
3537
  *
3536
3538
  * (c) 2016 Highsoft AS
@@ -3541,7 +3543,7 @@
3541
3543
  * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
3542
3544
  *
3543
3545
  * */
3544
- var getLevelOptions = mixinTreeSeries.getLevelOptions;
3546
+ var getLevelOptions = TU.getLevelOptions;
3545
3547
  var addEvent = U.addEvent,
3546
3548
  find = U.find,
3547
3549
  fireEvent = U.fireEvent,
@@ -3629,7 +3631,7 @@
3629
3631
  *
3630
3632
  * @param {number} numberOfSeries
3631
3633
  *
3632
- * @return {object}
3634
+ * @return {Object}
3633
3635
  * Returns an object containing categories, mapOfIdToNode,
3634
3636
  * mapOfPosToGridNode, and tree.
3635
3637
  *
@@ -3642,7 +3644,8 @@
3642
3644
  var categories = [],
3643
3645
  collapsedNodes = [],
3644
3646
  mapOfIdToNode = {},
3645
- uniqueNamesEnabled = typeof uniqueNames === 'boolean' ? uniqueNames : false;
3647
+ uniqueNamesEnabled = typeof uniqueNames === 'boolean' ?
3648
+ uniqueNames : false;
3646
3649
  var mapOfPosToGridNode = {},
3647
3650
  posIterator = -1;
3648
3651
  // Build the tree from the series data.
@@ -3665,7 +3668,9 @@
3665
3668
  // Before the children has been created.
3666
3669
  before: function (node) {
3667
3670
  var data = isObject(node.data,
3668
- true) ? node.data : {},
3671
+ true) ?
3672
+ node.data :
3673
+ {},
3669
3674
  name = isString(data.name) ? data.name : '',
3670
3675
  parentNode = mapOfIdToNode[node.parent],
3671
3676
  parentGridNode = (isObject(parentNode,
@@ -3774,8 +3779,8 @@
3774
3779
  /**
3775
3780
  * Builds the tree of categories and calculates its positions.
3776
3781
  * @private
3777
- * @param {object} e Event object
3778
- * @param {object} e.target The chart instance which the event was fired on.
3782
+ * @param {Object} e Event object
3783
+ * @param {Object} e.target The chart instance which the event was fired on.
3779
3784
  * @param {object[]} e.target.axes The axes of the chart.
3780
3785
  */
3781
3786
  function onBeforeRender(e) {
@@ -3790,8 +3795,8 @@
3790
3795
  max = options.max,
3791
3796
  // Check whether any of series is rendering for the first
3792
3797
  // time, visibility has changed, or its data is dirty, and
3793
- // only then update. #10570, #10580
3794
- // Also check if mapOfPosToGridNode exists. #10887
3798
+ // only then update. #10570, #10580. Also check if
3799
+ // mapOfPosToGridNode exists. #10887
3795
3800
  isDirty = (!axis.treeGrid.mapOfPosToGridNode ||
3796
3801
  axis.series.some(function (series) {
3797
3802
  return !series.hasRendered ||
@@ -3809,13 +3814,15 @@
3809
3814
  (s.options.data || []).forEach(function (data) {
3810
3815
  // For using keys - rebuild the data structure
3811
3816
  if (s.options.keys && s.options.keys.length) {
3812
- data = s.pointClass.prototype.optionsToObject.call({ series: s }, data);
3817
+ data = s.pointClass.prototype
3818
+ .optionsToObject
3819
+ .call({ series: s }, data);
3813
3820
  s.pointClass.setGanttPointAliases(data);
3814
3821
  }
3815
3822
  if (isObject(data, true)) {
3816
3823
  // Set series index on data. Removed again
3817
3824
  // after use.
3818
- data.seriesIndex = numberOfSeries;
3825
+ data.seriesIndex = (numberOfSeries);
3819
3826
  arr.push(data);
3820
3827
  }
3821
3828
  });
@@ -3842,17 +3849,20 @@
3842
3849
  treeGrid = getTreeGridFromData(data, uniqueNames || false, (uniqueNames === true) ? numberOfSeries : 1);
3843
3850
  // Assign values to the axis.
3844
3851
  axis.categories = treeGrid.categories;
3845
- axis.treeGrid.mapOfPosToGridNode = treeGrid.mapOfPosToGridNode;
3852
+ axis.treeGrid.mapOfPosToGridNode = (treeGrid.mapOfPosToGridNode);
3846
3853
  axis.hasNames = true;
3847
3854
  axis.treeGrid.tree = treeGrid.tree;
3848
3855
  // Update yData now that we have calculated the y values
3849
3856
  axis.series.forEach(function (series) {
3850
3857
  var axisData = (series.options.data || []).map(function (d) {
3851
- if (isArray(d) && series.options.keys && series.options.keys.length) {
3858
+ if (isArray(d) &&
3859
+ series.options.keys &&
3860
+ series.options.keys.length) {
3852
3861
  // Get the axisData from the data array used to
3853
3862
  // build the treeGrid where has been modified
3854
3863
  data.forEach(function (point) {
3855
- if (d.indexOf(point.x) >= 0 && d.indexOf(point.x2) >= 0) {
3864
+ if (d.indexOf(point.x) >= 0 &&
3865
+ d.indexOf(point.x2) >= 0) {
3856
3866
  d = point;
3857
3867
  }
3858
3868
  });
@@ -3962,10 +3972,11 @@
3962
3972
  axis.brokenAxis.setBreaks(breaks, false);
3963
3973
  // remove the node from the axis collapsedNodes
3964
3974
  if (axis.treeGrid.collapsedNodes) {
3965
- axis.treeGrid.collapsedNodes = axis.treeGrid.collapsedNodes.filter(function (n) {
3966
- return node.collapseStart !== n.collapseStart ||
3967
- node.collapseEnd !== n.collapseEnd;
3968
- });
3975
+ axis.treeGrid.collapsedNodes = axis.treeGrid
3976
+ .collapsedNodes
3977
+ .filter(function (n) { return ((node.collapseStart !==
3978
+ n.collapseStart) ||
3979
+ node.collapseEnd !== n.collapseEnd); });
3969
3980
  }
3970
3981
  }
3971
3982
  });
@@ -4246,7 +4257,7 @@
4246
4257
  * @param {Highcharts.Axis} axis
4247
4258
  * The axis to check against.
4248
4259
  *
4249
- * @param {object} node
4260
+ * @param {Object} node
4250
4261
  * The node to check if is collapsed.
4251
4262
  *
4252
4263
  * @param {number} pos
@@ -4292,7 +4303,7 @@
4292
4303
 
4293
4304
  return TreeGridAxis;
4294
4305
  });
4295
- _registerModule(_modules, 'Extensions/CurrentDateIndication.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Color/Palette.js'], _modules['Core/Axis/PlotLineOrBand/PlotLineOrBand.js'], _modules['Core/Utilities.js']], function (Axis, Palette, PlotLineOrBand, U) {
4306
+ _registerModule(_modules, 'Extensions/CurrentDateIndication.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Axis/PlotLineOrBand/PlotLineOrBand.js'], _modules['Core/Utilities.js']], function (Axis, PlotLineOrBand, U) {
4296
4307
  /* *
4297
4308
  *
4298
4309
  * (c) 2016-2021 Highsoft AS
@@ -4326,7 +4337,7 @@
4326
4337
  * @apioption xAxis.currentDateIndicator
4327
4338
  */
4328
4339
  var defaultOptions = {
4329
- color: Palette.highlightColor20,
4340
+ color: "#ccd6eb" /* highlightColor20 */,
4330
4341
  width: 2,
4331
4342
  /**
4332
4343
  * @declare Highcharts.AxisCurrentDateIndicatorLabelOptions
@@ -4334,7 +4345,7 @@
4334
4345
  label: {
4335
4346
  /**
4336
4347
  * Format of the label. This options is passed as the fist argument to
4337
- * [dateFormat](/class-reference/Highcharts#.dateFormat) function.
4348
+ * [dateFormat](/class-reference/Highcharts.Time#dateFormat) function.
4338
4349
  *
4339
4350
  * @type {string}
4340
4351
  * @default %a, %b %d %Y, %H:%M
@@ -5454,11 +5465,11 @@
5454
5465
  * The radius of the marker, to calculate the additional distance to
5455
5466
  * the center of the marker.
5456
5467
  *
5457
- * @param {object} anchor
5468
+ * @param {Object} anchor
5458
5469
  * The anchor point of the path and marker as an object with x/y
5459
5470
  * properties.
5460
5471
  *
5461
- * @return {object}
5472
+ * @return {Object}
5462
5473
  * The marker vector as an object with x/y properties.
5463
5474
  */
5464
5475
  getMarkerVector: function (radians, markerRadius, anchor) {
@@ -5611,7 +5622,7 @@
5611
5622
  * @private
5612
5623
  * @function pointWithinObstacle
5613
5624
  *
5614
- * @param {object} obstacle
5625
+ * @param {Object} obstacle
5615
5626
  * Obstacle to test.
5616
5627
  *
5617
5628
  * @param {Highcharts.Point} point
@@ -5683,10 +5694,10 @@
5683
5694
  * @private
5684
5695
  * @function limitObstacleToBounds
5685
5696
  *
5686
- * @param {object} obstacle
5697
+ * @param {Object} obstacle
5687
5698
  * Obstacle to limit.
5688
5699
  *
5689
- * @param {object} bounds
5700
+ * @param {Object} bounds
5690
5701
  * Bounds to use as limit.
5691
5702
  *
5692
5703
  * @return {void}
@@ -5709,7 +5720,7 @@
5709
5720
  * @param {Highcharts.PositionObject} end
5710
5721
  * Ending coordinate, object with x/y props.
5711
5722
  *
5712
- * @return {object}
5723
+ * @return {Object}
5713
5724
  * An object with the SVG path in Array form as accepted by the SVG
5714
5725
  * renderer, as well as an array of new obstacles making up this
5715
5726
  * path.
@@ -5736,14 +5747,14 @@
5736
5747
  * @param {Highcharts.PositionObject} end
5737
5748
  * Ending coordinate, object with x/y props.
5738
5749
  *
5739
- * @param {object} options
5750
+ * @param {Object} options
5740
5751
  * Options for the algorithm:
5741
5752
  * - chartObstacles: Array of chart obstacles to avoid
5742
5753
  * - startDirectionX: Optional. True if starting in the X direction.
5743
5754
  * If not provided, the algorithm starts in the direction that is
5744
5755
  * the furthest between start/end.
5745
5756
  *
5746
- * @return {object}
5757
+ * @return {Object}
5747
5758
  * An object with the SVG path in Array form as accepted by the SVG
5748
5759
  * renderer, as well as an array of new obstacles making up this
5749
5760
  * path.
@@ -5868,7 +5879,7 @@
5868
5879
  * @param {Highcharts.PositionObject} end
5869
5880
  * Ending coordinate, object with x/y props.
5870
5881
  *
5871
- * @param {object} options
5882
+ * @param {Object} options
5872
5883
  * Options for the algorithm.
5873
5884
  * - chartObstacles: Array of chart obstacles to avoid
5874
5885
  * - lineObstacles: Array of line obstacles to jump over
@@ -5880,7 +5891,7 @@
5880
5891
  * direction that is the furthest between
5881
5892
  * start/end.
5882
5893
  *
5883
- * @return {object}
5894
+ * @return {Object}
5884
5895
  * An object with the SVG path in Array form as accepted by the SVG
5885
5896
  * renderer, as well as an array of new obstacles making up this
5886
5897
  * path.
@@ -6015,19 +6026,19 @@
6015
6026
  * @private
6016
6027
  * @function
6017
6028
  *
6018
- * @param {object} obstacle
6029
+ * @param {Object} obstacle
6019
6030
  * Obstacle to dodge/escape.
6020
6031
  *
6021
- * @param {object} fromPoint
6032
+ * @param {Object} fromPoint
6022
6033
  * Point with x/y props that's dodging/escaping.
6023
6034
  *
6024
- * @param {object} toPoint
6035
+ * @param {Object} toPoint
6025
6036
  * Goal point.
6026
6037
  *
6027
6038
  * @param {boolean} dirIsX
6028
6039
  * Dodge in X dimension.
6029
6040
  *
6030
- * @param {object} bounds
6041
+ * @param {Object} bounds
6031
6042
  * Hard and soft boundaries.
6032
6043
  *
6033
6044
  * @return {boolean}
@@ -6739,7 +6750,8 @@
6739
6750
  // For Gantt series the connect could be
6740
6751
  // defined as a dependency
6741
6752
  if (ganttPointOptions && ganttPointOptions.dependency) {
6742
- ganttPointOptions.connect = ganttPointOptions.dependency;
6753
+ ganttPointOptions.connect = ganttPointOptions
6754
+ .dependency;
6743
6755
  }
6744
6756
  var to,
6745
6757
  connects = (point.options &&
@@ -6841,7 +6853,7 @@
6841
6853
  *
6842
6854
  * @function Highcharts.Pathfinder#getChartObstacles
6843
6855
  *
6844
- * @param {object} options
6856
+ * @param {Object} options
6845
6857
  * Options for the calculation. Currenlty only
6846
6858
  * options.algorithmMargin.
6847
6859
  *
@@ -6900,7 +6912,7 @@
6900
6912
  * @param {Array<object>} obstacles
6901
6913
  * An array of obstacles to inspect.
6902
6914
  *
6903
- * @return {object}
6915
+ * @return {Object}
6904
6916
  * The calculated metrics, as an object with maxHeight and maxWidth
6905
6917
  * properties.
6906
6918
  */
@@ -7030,11 +7042,11 @@
7030
7042
  * The radius of the marker, to calculate the additional distance to
7031
7043
  * the center of the marker.
7032
7044
  *
7033
- * @param {object} anchor
7045
+ * @param {Object} anchor
7034
7046
  * The anchor point of the path and marker as an object with x/y
7035
7047
  * properties.
7036
7048
  *
7037
- * @return {object}
7049
+ * @return {Object}
7038
7050
  * The marker vector as an object with x/y properties.
7039
7051
  */
7040
7052
  getMarkerVector: function (radians, markerRadius, anchor) {
@@ -7231,7 +7243,9 @@
7231
7243
  cutOff = seriesOpts.stacking && !seriesOpts.borderRadius,
7232
7244
  diamondShape;
7233
7245
  if (point.options.milestone) {
7234
- if (isNumber(plotY) && point.y !== null && point.visible !== false) {
7246
+ if (isNumber(plotY) &&
7247
+ point.y !== null &&
7248
+ point.visible !== false) {
7235
7249
  diamondShape = renderer.symbols.diamond(shapeArgs.x || 0, shapeArgs.y || 0, shapeArgs.width || 0, shapeArgs.height || 0);
7236
7250
  if (graphic) {
7237
7251
  graphic[verb]({
@@ -7351,8 +7365,6 @@
7351
7365
  return GanttSeries;
7352
7366
  }(XRangeSeries));
7353
7367
  extend(GanttSeries.prototype, {
7354
- // Keyboard navigation, don't use nearest vertical mode
7355
- keyboardMoveVertical: false,
7356
7368
  pointArrayMap: ['start', 'end', 'y'],
7357
7369
  pointClass: GanttPoint,
7358
7370
  setData: Series.prototype.setData
@@ -7570,10 +7582,9 @@
7570
7582
  * Function to run when the chart has loaded and and all external
7571
7583
  * images are loaded.
7572
7584
  *
7573
- * @return {void}
7574
7585
  *
7575
- * @fires Highcharts.GanttChart#event:init
7576
- * @fires Highcharts.GanttChart#event:afterInit
7586
+ * @emits Highcharts.GanttChart#event:init
7587
+ * @emits Highcharts.GanttChart#event:afterInit
7577
7588
  */
7578
7589
  GanttChart.prototype.init = function (userOptions, callback) {
7579
7590
  var defaultOptions = getOptions(),
@@ -7638,7 +7649,8 @@
7638
7649
  reversed: true,
7639
7650
  // Set default type treegrid, but only if 'categories' is
7640
7651
  // undefined
7641
- type: yAxisOptions.categories ? yAxisOptions.type : 'treegrid'
7652
+ type: yAxisOptions.categories ?
7653
+ yAxisOptions.type : 'treegrid'
7642
7654
  }, yAxisOptions // user options
7643
7655
  );
7644
7656
  });
@@ -7782,7 +7794,8 @@
7782
7794
  from = unitedMin + range * (1 - this.to);
7783
7795
  }
7784
7796
  if (this.shouldUpdateExtremes(e.DOMType)) {
7785
- axis.setExtremes(from, to, true, e.DOMType !== 'mousemove' && e.DOMType !== 'touchmove', e);
7797
+ axis.setExtremes(from, to, true, (e.DOMType !== 'mousemove' &&
7798
+ e.DOMType !== 'touchmove'), e);
7786
7799
  }
7787
7800
  else {
7788
7801
  // When live redraw is disabled, don't change extremes
@@ -7799,7 +7812,7 @@
7799
7812
  scrollMin = _a.scrollMin,
7800
7813
  scrollMax = _a.scrollMax,
7801
7814
  scrollbar = axis.scrollbar,
7802
- offset = axis.axisTitleMargin + (axis.titleOffset || 0),
7815
+ offset = (axis.axisTitleMargin + (axis.titleOffset || 0)),
7803
7816
  scrollbarsOffsets = axis.chart.scrollbarsOffsets,
7804
7817
  axisMargin = axis.options.margin || 0,
7805
7818
  offsetsIndex,
@@ -7811,8 +7824,11 @@
7811
7824
  if (!axis.opposite) {
7812
7825
  scrollbarsOffsets[1] += offset;
7813
7826
  }
7814
- scrollbar.position(axis.left, axis.top + axis.height + 2 + scrollbarsOffsets[1] -
7815
- (axis.opposite ? axisMargin : 0), axis.width, axis.height);
7827
+ scrollbar.position(axis.left, (axis.top +
7828
+ axis.height +
7829
+ 2 +
7830
+ scrollbarsOffsets[1] -
7831
+ (axis.opposite ? axisMargin : 0)), axis.width, axis.height);
7816
7832
  // Next scrollbar should reserve space for margin (if set)
7817
7833
  if (!axis.opposite) {
7818
7834
  scrollbarsOffsets[1] += axisMargin;
@@ -7824,8 +7840,18 @@
7824
7840
  if (axis.opposite) {
7825
7841
  scrollbarsOffsets[0] += offset;
7826
7842
  }
7827
- scrollbar.position(axis.left + axis.width + 2 + scrollbarsOffsets[0] -
7828
- (axis.opposite ? 0 : axisMargin), axis.top, axis.width, axis.height);
7843
+ var xPosition = void 0;
7844
+ if (!scrollbar.options.opposite) {
7845
+ xPosition = axis.opposite ? 0 : axisMargin;
7846
+ }
7847
+ else {
7848
+ xPosition = axis.left +
7849
+ axis.width +
7850
+ 2 +
7851
+ scrollbarsOffsets[0] -
7852
+ (axis.opposite ? 0 : axisMargin);
7853
+ }
7854
+ scrollbar.position(xPosition, axis.top, axis.width, axis.height);
7829
7855
  // Next scrollbar should reserve space for margin (if set)
7830
7856
  if (axis.opposite) {
7831
7857
  scrollbarsOffsets[0] += axisMargin;
@@ -7846,10 +7872,10 @@
7846
7872
  scrollbar.setRange(0, 1);
7847
7873
  }
7848
7874
  else {
7849
- from =
7850
- (axis.min - scrollMin) / (scrollMax - scrollMin);
7851
- to =
7852
- (axis.max - scrollMin) / (scrollMax - scrollMin);
7875
+ from = ((axis.min - scrollMin) /
7876
+ (scrollMax - scrollMin));
7877
+ to = ((axis.max - scrollMin) /
7878
+ (scrollMax - scrollMin));
7853
7879
  if ((axis.horiz && !axis.reversed) ||
7854
7880
  (!axis.horiz && axis.reversed)) {
7855
7881
  scrollbar.setRange(from, to);
@@ -7864,10 +7890,12 @@
7864
7890
  // Make space for a scrollbar:
7865
7891
  addEvent(AxisClass, 'afterGetOffset', function () {
7866
7892
  var axis = this,
7867
- index = axis.horiz ? 2 : 1,
7893
+ opposite = axis.scrollbar && !axis.scrollbar.options.opposite,
7894
+ index = axis.horiz ? 2 : opposite ? 3 : 1,
7868
7895
  scrollbar = axis.scrollbar;
7869
7896
  if (scrollbar) {
7870
- axis.chart.scrollbarsOffsets = [0, 0]; // reset scrollbars offsets
7897
+ // reset scrollbars offsets
7898
+ axis.chart.scrollbarsOffsets = [0, 0];
7871
7899
  axis.chart.axisOffset[index] +=
7872
7900
  scrollbar.size + scrollbar.options.margin;
7873
7901
  }
@@ -7880,7 +7908,7 @@
7880
7908
 
7881
7909
  return ScrollbarAxis;
7882
7910
  });
7883
- _registerModule(_modules, 'Core/ScrollbarDefaults.js', [_modules['Core/Globals.js'], _modules['Core/Color/Palette.js']], function (H, Palette) {
7911
+ _registerModule(_modules, 'Core/ScrollbarDefaults.js', [_modules['Core/Globals.js']], function (H) {
7884
7912
  /* *
7885
7913
  *
7886
7914
  * (c) 2010-2021 Torstein Honsi
@@ -7979,6 +8007,8 @@
7979
8007
  * @since 1.2.5
7980
8008
  */
7981
8009
  minWidth: 6,
8010
+ /** @ignore-option */
8011
+ opposite: true,
7982
8012
  /**
7983
8013
  * Whether to show or hide the scrollbar when the scrolled content is
7984
8014
  * zoomed out to it full extent.
@@ -8000,7 +8030,7 @@
8000
8030
  *
8001
8031
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
8002
8032
  */
8003
- barBackgroundColor: Palette.neutralColor20,
8033
+ barBackgroundColor: "#cccccc" /* neutralColor20 */,
8004
8034
  /**
8005
8035
  * The width of the bar's border.
8006
8036
  *
@@ -8013,7 +8043,7 @@
8013
8043
  *
8014
8044
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
8015
8045
  */
8016
- barBorderColor: Palette.neutralColor20,
8046
+ barBorderColor: "#cccccc" /* neutralColor20 */,
8017
8047
  /**
8018
8048
  * The color of the small arrow inside the scrollbar buttons.
8019
8049
  *
@@ -8022,7 +8052,7 @@
8022
8052
  *
8023
8053
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
8024
8054
  */
8025
- buttonArrowColor: Palette.neutralColor80,
8055
+ buttonArrowColor: "#333333" /* neutralColor80 */,
8026
8056
  /**
8027
8057
  * The color of scrollbar buttons.
8028
8058
  *
@@ -8031,7 +8061,7 @@
8031
8061
  *
8032
8062
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
8033
8063
  */
8034
- buttonBackgroundColor: Palette.neutralColor10,
8064
+ buttonBackgroundColor: "#e6e6e6" /* neutralColor10 */,
8035
8065
  /**
8036
8066
  * The color of the border of the scrollbar buttons.
8037
8067
  *
@@ -8040,7 +8070,7 @@
8040
8070
  *
8041
8071
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
8042
8072
  */
8043
- buttonBorderColor: Palette.neutralColor20,
8073
+ buttonBorderColor: "#cccccc" /* neutralColor20 */,
8044
8074
  /**
8045
8075
  * The border width of the scrollbar buttons.
8046
8076
  *
@@ -8053,7 +8083,7 @@
8053
8083
  *
8054
8084
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
8055
8085
  */
8056
- rifleColor: Palette.neutralColor80,
8086
+ rifleColor: "#333333" /* neutralColor80 */,
8057
8087
  /**
8058
8088
  * The color of the track background.
8059
8089
  *
@@ -8062,7 +8092,7 @@
8062
8092
  *
8063
8093
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
8064
8094
  */
8065
- trackBackgroundColor: Palette.neutralColor5,
8095
+ trackBackgroundColor: "#f2f2f2" /* neutralColor5 */,
8066
8096
  /**
8067
8097
  * The color of the border of the scrollbar track.
8068
8098
  *
@@ -8071,7 +8101,7 @@
8071
8101
  *
8072
8102
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
8073
8103
  */
8074
- trackBorderColor: Palette.neutralColor5,
8104
+ trackBorderColor: "#f2f2f2" /* neutralColor5 */,
8075
8105
  /**
8076
8106
  * The corner radius of the border of the scrollbar track.
8077
8107
  *
@@ -8232,10 +8262,16 @@
8232
8262
  mouseUpHandler = this.mouseUpHandler.bind(this);
8233
8263
  // Mouse events
8234
8264
  var _events = [
8235
- [buttons[buttonsOrder[0]].element, 'click',
8236
- this.buttonToMinClick.bind(this)],
8237
- [buttons[buttonsOrder[1]].element, 'click',
8238
- this.buttonToMaxClick.bind(this)],
8265
+ [
8266
+ buttons[buttonsOrder[0]].element,
8267
+ 'click',
8268
+ this.buttonToMinClick.bind(this)
8269
+ ],
8270
+ [
8271
+ buttons[buttonsOrder[1]].element,
8272
+ 'click',
8273
+ this.buttonToMaxClick.bind(this)
8274
+ ],
8239
8275
  [track, 'click',
8240
8276
  this.trackClick.bind(this)],
8241
8277
  [bar, 'mousedown',
@@ -8257,7 +8293,8 @@
8257
8293
  };
8258
8294
  Scrollbar.prototype.buttonToMaxClick = function (e) {
8259
8295
  var scroller = this;
8260
- var range = (scroller.to - scroller.from) * pick(scroller.options.step, 0.2);
8296
+ var range = ((scroller.to - scroller.from) *
8297
+ pick(scroller.options.step, 0.2));
8261
8298
  scroller.updatePosition(scroller.from + range, scroller.to + range);
8262
8299
  fireEvent(scroller, 'changed', {
8263
8300
  from: scroller.from,
@@ -8310,7 +8347,6 @@
8310
8347
  *
8311
8348
  * @private
8312
8349
  * @function Highcharts.Scrollbar#destroy
8313
- * @return {void}
8314
8350
  */
8315
8351
  Scrollbar.prototype.destroy = function () {
8316
8352
  var scroller = this,
@@ -8343,7 +8379,6 @@
8343
8379
  * @function Highcharts.Scrollbar#drawScrollbarButton
8344
8380
  * @param {number} index
8345
8381
  * 0 is left, 1 is right
8346
- * @return {void}
8347
8382
  */
8348
8383
  Scrollbar.prototype.drawScrollbarButton = function (index) {
8349
8384
  var scroller = this,
@@ -8436,7 +8471,8 @@
8436
8471
  var scroller = this,
8437
8472
  normalizedEvent = scroller.chart.pointer.normalize(e),
8438
8473
  options = scroller.options,
8439
- direction = options.vertical ? 'chartY' : 'chartX',
8474
+ direction = options.vertical ?
8475
+ 'chartY' : 'chartX',
8440
8476
  initPositions = scroller.initPositions || [];
8441
8477
  var scrollPosition,
8442
8478
  chartPosition,
@@ -8497,7 +8533,6 @@
8497
8533
  * width of the scrollbar
8498
8534
  * @param {number} height
8499
8535
  * height of the scorllbar
8500
- * @return {void}
8501
8536
  */
8502
8537
  Scrollbar.prototype.position = function (x, y, width, height) {
8503
8538
  var scroller = this,
@@ -8546,7 +8581,6 @@
8546
8581
  *
8547
8582
  * @private
8548
8583
  * @function Highcharts.Scrollbar#removeEvents
8549
- * @return {void}
8550
8584
  */
8551
8585
  Scrollbar.prototype.removeEvents = function () {
8552
8586
  this._events.forEach(function (args) {
@@ -8638,7 +8672,6 @@
8638
8672
  * scale (0-1) where bar should start
8639
8673
  * @param {number} to
8640
8674
  * scale (0-1) where bar should end
8641
- * @return {void}
8642
8675
  */
8643
8676
  Scrollbar.prototype.setRange = function (from, to) {
8644
8677
  var scroller = this,
@@ -8717,8 +8750,6 @@
8717
8750
  *
8718
8751
  * @private
8719
8752
  * @function Highcharts.Scrollbar#shouldUpdateExtremes
8720
- * @param {string} [eventType]
8721
- * @return {boolean}
8722
8753
  */
8723
8754
  Scrollbar.prototype.shouldUpdateExtremes = function (eventType) {
8724
8755
  return (pick(this.options.liveRedraw, H.svg && !H.isTouchDevice && !this.chart.isBoosting) ||
@@ -8768,7 +8799,6 @@
8768
8799
  * @function Highcharts.Scrollbar#updatePosition
8769
8800
  * @param {number} from
8770
8801
  * @param {number} to
8771
- * @return {void}
8772
8802
  */
8773
8803
  Scrollbar.prototype.updatePosition = function (from, to) {
8774
8804
  if (to > 1) {
@@ -8804,7 +8834,7 @@
8804
8834
 
8805
8835
  return Scrollbar;
8806
8836
  });
8807
- _registerModule(_modules, 'Extensions/RangeSelector.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Chart/Chart.js'], _modules['Core/Globals.js'], _modules['Core/DefaultOptions.js'], _modules['Core/Color/Palette.js'], _modules['Core/Renderer/SVG/SVGElement.js'], _modules['Core/Utilities.js']], function (Axis, Chart, H, D, palette, SVGElement, U) {
8837
+ _registerModule(_modules, 'Extensions/RangeSelector.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Chart/Chart.js'], _modules['Core/Globals.js'], _modules['Core/DefaultOptions.js'], _modules['Core/Renderer/SVG/SVGElement.js'], _modules['Core/Utilities.js']], function (Axis, Chart, H, D, SVGElement, U) {
8808
8838
  /* *
8809
8839
  *
8810
8840
  * (c) 2010-2021 Torstein Honsi
@@ -9294,7 +9324,7 @@
9294
9324
  */
9295
9325
  inputStyle: {
9296
9326
  /** @ignore */
9297
- color: palette.highlightColor80,
9327
+ color: "#335cad" /* highlightColor80 */,
9298
9328
  /** @ignore */
9299
9329
  cursor: 'pointer'
9300
9330
  },
@@ -9311,7 +9341,7 @@
9311
9341
  */
9312
9342
  labelStyle: {
9313
9343
  /** @ignore */
9314
- color: palette.neutralColor60
9344
+ color: "#666666" /* neutralColor60 */
9315
9345
  }
9316
9346
  }
9317
9347
  });
@@ -9394,7 +9424,6 @@
9394
9424
  * @param {number} i
9395
9425
  * The index of the button
9396
9426
  * @param {boolean} [redraw]
9397
- * @return {void}
9398
9427
  */
9399
9428
  RangeSelector.prototype.clickButton = function (i, redraw) {
9400
9429
  var rangeSelector = this,
@@ -9492,7 +9521,8 @@
9492
9521
  // If the navigator exist and the axis range is declared reset that
9493
9522
  // range and from now on only use the range set by a user, #14742.
9494
9523
  if (chart.navigator && chart.navigator.baseSeries[0]) {
9495
- chart.navigator.baseSeries[0].xAxis.options.range = void 0;
9524
+ chart.navigator.baseSeries[0].xAxis.options
9525
+ .range = void 0;
9496
9526
  }
9497
9527
  newMin = dataMin;
9498
9528
  newMax = dataMax;
@@ -9537,7 +9567,6 @@
9537
9567
  * @private
9538
9568
  * @function Highcharts.RangeSelector#setSelected
9539
9569
  * @param {number} [selected]
9540
- * @return {void}
9541
9570
  */
9542
9571
  RangeSelector.prototype.setSelected = function (selected) {
9543
9572
  this.selected = this.options.selected = selected;
@@ -9548,12 +9577,11 @@
9548
9577
  * @private
9549
9578
  * @function Highcharts.RangeSelector#init
9550
9579
  * @param {Highcharts.Chart} chart
9551
- * @return {void}
9552
9580
  */
9553
9581
  RangeSelector.prototype.init = function (chart) {
9554
9582
  var rangeSelector = this,
9555
9583
  options = chart.options.rangeSelector,
9556
- buttonOptions = options.buttons || rangeSelector.defaultButtons.slice(),
9584
+ buttonOptions = (options.buttons || rangeSelector.defaultButtons.slice()),
9557
9585
  selectedOption = options.selected,
9558
9586
  blurInputs = function () {
9559
9587
  var minInput = rangeSelector.minInput,
@@ -9603,7 +9631,6 @@
9603
9631
  *
9604
9632
  * @private
9605
9633
  * @function Highcharts.RangeSelector#updateButtonStates
9606
- * @return {void}
9607
9634
  */
9608
9635
  RangeSelector.prototype.updateButtonStates = function () {
9609
9636
  var rangeSelector = this,
@@ -9709,7 +9736,6 @@
9709
9736
  * @private
9710
9737
  * @function Highcharts.RangeSelector#computeButtonRange
9711
9738
  * @param {Highcharts.RangeSelectorButtonsOptions} rangeOptions
9712
- * @return {void}
9713
9739
  */
9714
9740
  RangeSelector.prototype.computeButtonRange = function (rangeOptions) {
9715
9741
  var type = rangeOptions.type,
@@ -9744,12 +9770,11 @@
9744
9770
  *
9745
9771
  * @private
9746
9772
  * @function Highcharts.RangeSelector#getInputValue
9747
- * @param {string} name
9748
- * @return {number}
9749
9773
  */
9750
9774
  RangeSelector.prototype.getInputValue = function (name) {
9751
9775
  var input = name === 'min' ? this.minInput : this.maxInput;
9752
- var options = this.chart.options.rangeSelector;
9776
+ var options = this.chart.options
9777
+ .rangeSelector;
9753
9778
  var time = this.chart.time;
9754
9779
  if (input) {
9755
9780
  return ((input.type === 'text' && options.inputDateParser) ||
@@ -9762,9 +9787,6 @@
9762
9787
  *
9763
9788
  * @private
9764
9789
  * @function Highcharts.RangeSelector#setInputValue
9765
- * @param {string} name
9766
- * @param {number} [inputTime]
9767
- * @return {void}
9768
9790
  */
9769
9791
  RangeSelector.prototype.setInputValue = function (name, inputTime) {
9770
9792
  var options = this.options, time = this.chart.time, input = name === 'min' ? this.minInput : this.maxInput, dateBox = name === 'min' ? this.minDateBox : this.maxDateBox;
@@ -9779,7 +9801,8 @@
9779
9801
  input.setAttribute('data-hc-time', inputTime);
9780
9802
  updatedTime = inputTime;
9781
9803
  }
9782
- input.value = time.dateFormat(this.inputTypeFormats[input.type] || options.inputEditDateFormat, updatedTime);
9804
+ input.value = time.dateFormat((this.inputTypeFormats[input.type] ||
9805
+ options.inputEditDateFormat), updatedTime);
9783
9806
  if (dateBox) {
9784
9807
  dateBox.attr({
9785
9808
  text: time.dateFormat(options.inputDateFormat, updatedTime)
@@ -9792,10 +9815,6 @@
9792
9815
  *
9793
9816
  * @private
9794
9817
  * @function Highcharts.RangeSelector#setInputExtremes
9795
- * @param {string} name
9796
- * @param {number} min
9797
- * @param {number} max
9798
- * @return {void}
9799
9818
  */
9800
9819
  RangeSelector.prototype.setInputExtremes = function (name, min, max) {
9801
9820
  var input = name === 'min' ? this.minInput : this.maxInput;
@@ -9820,7 +9839,6 @@
9820
9839
  * @private
9821
9840
  * @function Highcharts.RangeSelector#showInput
9822
9841
  * @param {string} name
9823
- * @return {void}
9824
9842
  */
9825
9843
  RangeSelector.prototype.showInput = function (name) {
9826
9844
  var dateBox = name === 'min' ? this.minDateBox : this.maxDateBox;
@@ -9832,7 +9850,9 @@
9832
9850
  translateY = _a.translateY;
9833
9851
  var inputBoxWidth = this.options.inputBoxWidth;
9834
9852
  css(input, {
9835
- width: isTextInput ? ((dateBox.width + (inputBoxWidth ? -2 : 20)) + 'px') : 'auto',
9853
+ width: isTextInput ?
9854
+ ((dateBox.width + (inputBoxWidth ? -2 : 20)) + 'px') :
9855
+ 'auto',
9836
9856
  height: isTextInput ? ((dateBox.height - 2) + 'px') : 'auto',
9837
9857
  border: '2px solid silver'
9838
9858
  });
@@ -9858,7 +9878,6 @@
9858
9878
  * @private
9859
9879
  * @function Highcharts.RangeSelector#hideInput
9860
9880
  * @param {string} name
9861
- * @return {void}
9862
9881
  */
9863
9882
  RangeSelector.prototype.hideInput = function (name) {
9864
9883
  var input = name === 'min' ? this.minInput : this.maxInput;
@@ -9910,8 +9929,6 @@
9910
9929
  *
9911
9930
  * @private
9912
9931
  * @function Highcharts.RangeSelector#drawInput
9913
- * @param {string} name
9914
- * @return {RangeSelectorInputElements}
9915
9932
  */
9916
9933
  RangeSelector.prototype.drawInput = function (name) {
9917
9934
  var _a = this,
@@ -10014,7 +10031,7 @@
10014
10031
  // Styles
10015
10032
  label.css(merge(chartStyle, options.labelStyle));
10016
10033
  dateBox.css(merge({
10017
- color: palette.neutralColor80
10034
+ color: "#333333" /* neutralColor80 */
10018
10035
  }, chartStyle, options.inputStyle));
10019
10036
  css(input, extend({
10020
10037
  position: 'absolute',
@@ -10080,8 +10097,6 @@
10080
10097
  *
10081
10098
  * @private
10082
10099
  * @function Highcharts.RangeSelector#getPosition
10083
- *
10084
- * @return {Highcharts.Dictionary<number>}
10085
10100
  */
10086
10101
  RangeSelector.prototype.getPosition = function () {
10087
10102
  var chart = this.chart,
@@ -10101,13 +10116,8 @@
10101
10116
  *
10102
10117
  * @private
10103
10118
  * @function Highcharts.RangeSelector#getYTDExtremes
10104
- *
10105
- * @param {number} dataMax
10106
- *
10107
- * @param {number} dataMin
10108
- *
10109
10119
  * @return {*}
10110
- * Returns min and max for the YTD
10120
+ * Returns min and max for the YTD
10111
10121
  */
10112
10122
  RangeSelector.prototype.getYTDExtremes = function (dataMax, dataMin, useUTC) {
10113
10123
  var time = this.chart.time,
@@ -10136,7 +10146,6 @@
10136
10146
  * X axis minimum
10137
10147
  * @param {number} [max]
10138
10148
  * X axis maximum
10139
- * @return {void}
10140
10149
  */
10141
10150
  RangeSelector.prototype.render = function (min, max) {
10142
10151
  var chart = this.chart,
@@ -10190,7 +10199,8 @@
10190
10199
  this.setInputValue('min', min);
10191
10200
  this.setInputValue('max', max);
10192
10201
  var unionExtremes = (chart.scroller && chart.scroller.getUnionExtremes()) || chart.xAxis[0] || {};
10193
- if (defined(unionExtremes.dataMin) && defined(unionExtremes.dataMax)) {
10202
+ if (defined(unionExtremes.dataMin) &&
10203
+ defined(unionExtremes.dataMax)) {
10194
10204
  var minRange = chart.xAxis[0].minRange || 0;
10195
10205
  this.setInputExtremes('min', unionExtremes.dataMin, Math.min(unionExtremes.dataMax, this.getInputValue('max')) - minRange);
10196
10206
  this.setInputExtremes('max', Math.max(unionExtremes.dataMin, this.getInputValue('min')) + minRange, unionExtremes.dataMax);
@@ -10223,7 +10233,6 @@
10223
10233
  *
10224
10234
  * @private
10225
10235
  * @function Highcharts.RangeSelector#renderButtons
10226
- * @return {void}
10227
10236
  */
10228
10237
  RangeSelector.prototype.renderButtons = function () {
10229
10238
  var _this = this;
@@ -10324,7 +10333,6 @@
10324
10333
  *
10325
10334
  * @private
10326
10335
  * @function Highcharts.RangeSelector#alignElements
10327
- * @return {void}
10328
10336
  */
10329
10337
  RangeSelector.prototype.alignElements = function () {
10330
10338
  var _this = this;
@@ -10480,7 +10488,6 @@
10480
10488
  * @function Highcharts.RangeSelector#alignButtonGroup
10481
10489
  * @param {number} xOffsetForExportButton
10482
10490
  * @param {number} [width]
10483
- * @return {void}
10484
10491
  */
10485
10492
  RangeSelector.prototype.alignButtonGroup = function (xOffsetForExportButton, width) {
10486
10493
  var _a = this,
@@ -10510,7 +10517,6 @@
10510
10517
  /**
10511
10518
  * @private
10512
10519
  * @function Highcharts.RangeSelector#positionButtons
10513
- * @return {void}
10514
10520
  */
10515
10521
  RangeSelector.prototype.positionButtons = function () {
10516
10522
  var _a = this,
@@ -10551,7 +10557,6 @@
10551
10557
  * @param {number} xOffsetForExportButton
10552
10558
  * The X offset of the group required to make room for the
10553
10559
  * exporting button
10554
- * @return {void}
10555
10560
  */
10556
10561
  RangeSelector.prototype.handleCollision = function (xOffsetForExportButton) {
10557
10562
  var _this = this;
@@ -10652,7 +10657,6 @@
10652
10657
  * @private
10653
10658
  * @function Highcharts.RangeSelector#collapseButtons
10654
10659
  * @param {number} xOffsetForExportButton
10655
- * @return {void}
10656
10660
  */
10657
10661
  RangeSelector.prototype.collapseButtons = function (xOffsetForExportButton) {
10658
10662
  var _a = this,
@@ -10706,7 +10710,6 @@
10706
10710
  *
10707
10711
  * @private
10708
10712
  * @function Highcharts.RangeSelector#expandButtons
10709
- * @return {void}
10710
10713
  */
10711
10714
  RangeSelector.prototype.expandButtons = function () {
10712
10715
  var _a = this,
@@ -10738,7 +10741,6 @@
10738
10741
  *
10739
10742
  * @private
10740
10743
  * @function Highcharts.RangeSelector#currentButtonIndex
10741
- * @return {number}
10742
10744
  */
10743
10745
  RangeSelector.prototype.currentButtonIndex = function () {
10744
10746
  var dropdown = this.dropdown;
@@ -10752,7 +10754,6 @@
10752
10754
  *
10753
10755
  * @private
10754
10756
  * @function Highcharts.RangeSelector#showDropdown
10755
- * @return {void}
10756
10757
  */
10757
10758
  RangeSelector.prototype.showDropdown = function () {
10758
10759
  var _a = this,
@@ -10776,7 +10777,6 @@
10776
10777
  /**
10777
10778
  * @private
10778
10779
  * @function Highcharts.RangeSelector#hideDropdown
10779
- * @return {void}
10780
10780
  */
10781
10781
  RangeSelector.prototype.hideDropdown = function () {
10782
10782
  var dropdown = this.dropdown;
@@ -10795,7 +10795,7 @@
10795
10795
  * @private
10796
10796
  * @function Highcharts.RangeSelector#getHeight
10797
10797
  * @return {number}
10798
- * Returns rangeSelector height
10798
+ * Returns rangeSelector height
10799
10799
  */
10800
10800
  RangeSelector.prototype.getHeight = function () {
10801
10801
  var rangeSelector = this,
@@ -10831,11 +10831,8 @@
10831
10831
  *
10832
10832
  * @private
10833
10833
  * @function Highcharts.RangeSelector#titleCollision
10834
- *
10835
- * @param {Highcharts.Chart} chart
10836
- *
10837
10834
  * @return {boolean}
10838
- * Returns collision status
10835
+ * Returns collision status
10839
10836
  */
10840
10837
  RangeSelector.prototype.titleCollision = function (chart) {
10841
10838
  return !(chart.options.title.text ||
@@ -10847,7 +10844,6 @@
10847
10844
  * @private
10848
10845
  * @function Highcharts.RangeSelector#update
10849
10846
  * @param {Highcharts.RangeSelectorOptions} options
10850
- * @return {void}
10851
10847
  */
10852
10848
  RangeSelector.prototype.update = function (options) {
10853
10849
  var chart = this.chart;
@@ -10943,17 +10939,14 @@
10943
10939
  *
10944
10940
  * @private
10945
10941
  * @function preferredInputType
10946
- * @param {string} format
10947
- * @return {string}
10948
10942
  */
10949
10943
  function preferredInputType(format) {
10950
10944
  var ms = format.indexOf('%L') !== -1;
10951
10945
  if (ms) {
10952
10946
  return 'text';
10953
10947
  }
10954
- var date = ['a', 'A', 'd', 'e', 'w', 'b', 'B', 'm', 'o', 'y', 'Y'].some(function (char) {
10955
- return format.indexOf('%' + char) !== -1;
10956
- });
10948
+ var date = ['a', 'A', 'd', 'e', 'w', 'b', 'B', 'm', 'o', 'y', 'Y']
10949
+ .some(function (char) { return format.indexOf('%' + char) !== -1; });
10957
10950
  var time = ['H', 'k', 'I', 'l', 'M', 'S'].some(function (char) {
10958
10951
  return format.indexOf('%' + char) !== -1;
10959
10952
  });
@@ -10990,7 +10983,8 @@
10990
10983
  // Get the true range from a start date
10991
10984
  getTrueRange = function (base,
10992
10985
  count) {
10993
- var timeName = type === 'year' ? 'FullYear' : 'Month';
10986
+ var timeName = type === 'year' ?
10987
+ 'FullYear' : 'Month';
10994
10988
  var date = new time.Date(base);
10995
10989
  var basePeriod = time.get(timeName,
10996
10990
  date);
@@ -11244,11 +11238,6 @@
11244
11238
  *
11245
11239
  * @private
11246
11240
  * @function Highcharts.Axis#toFixedRange
11247
- * @param {number} [pxMin]
11248
- * @param {number} [pxMax]
11249
- * @param {number} [fixedMin]
11250
- * @param {number} [fixedMax]
11251
- * @return {*}
11252
11241
  */
11253
11242
  NavigatorAxisAdditions.prototype.toFixedRange = function (pxMin, pxMax, fixedMin, fixedMax) {
11254
11243
  var navigator = this;
@@ -11373,7 +11362,7 @@
11373
11362
 
11374
11363
  return NavigatorAxis;
11375
11364
  });
11376
- _registerModule(_modules, 'Core/Navigator.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Chart/Chart.js'], _modules['Core/Color/Color.js'], _modules['Core/Globals.js'], _modules['Core/Axis/NavigatorAxis.js'], _modules['Core/DefaultOptions.js'], _modules['Core/Color/Palette.js'], _modules['Core/Renderer/RendererRegistry.js'], _modules['Core/Scrollbar.js'], _modules['Core/Series/Series.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (Axis, Chart, Color, H, NavigatorAxis, D, Palette, RendererRegistry, Scrollbar, Series, SeriesRegistry, U) {
11365
+ _registerModule(_modules, 'Core/Navigator.js', [_modules['Core/Axis/Axis.js'], _modules['Core/Chart/Chart.js'], _modules['Core/Color/Color.js'], _modules['Core/Globals.js'], _modules['Core/Axis/NavigatorAxis.js'], _modules['Core/DefaultOptions.js'], _modules['Core/Renderer/RendererRegistry.js'], _modules['Core/Scrollbar.js'], _modules['Core/Series/Series.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (Axis, Chart, Color, H, NavigatorAxis, D, RendererRegistry, Scrollbar, Series, SeriesRegistry, U) {
11377
11366
  /* *
11378
11367
  *
11379
11368
  * (c) 2010-2021 Torstein Honsi
@@ -11581,13 +11570,13 @@
11581
11570
  *
11582
11571
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
11583
11572
  */
11584
- backgroundColor: Palette.neutralColor5,
11573
+ backgroundColor: "#f2f2f2" /* neutralColor5 */,
11585
11574
  /**
11586
11575
  * The stroke for the handle border and the stripes inside.
11587
11576
  *
11588
11577
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
11589
11578
  */
11590
- borderColor: Palette.neutralColor40
11579
+ borderColor: "#999999" /* neutralColor40 */
11591
11580
  },
11592
11581
  /**
11593
11582
  * The color of the mask covering the areas of the navigator series
@@ -11604,7 +11593,7 @@
11604
11593
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
11605
11594
  * @default rgba(102,133,194,0.3)
11606
11595
  */
11607
- maskFill: color(Palette.highlightColor60).setOpacity(0.3).get(),
11596
+ maskFill: color("#6685c2" /* highlightColor60 */).setOpacity(0.3).get(),
11608
11597
  /**
11609
11598
  * The color of the line marking the currently zoomed area in the
11610
11599
  * navigator.
@@ -11615,7 +11604,7 @@
11615
11604
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
11616
11605
  * @default #cccccc
11617
11606
  */
11618
- outlineColor: Palette.neutralColor20,
11607
+ outlineColor: "#cccccc" /* neutralColor20 */,
11619
11608
  /**
11620
11609
  * The width of the line marking the currently zoomed area in the
11621
11610
  * navigator.
@@ -11806,7 +11795,7 @@
11806
11795
  className: 'highcharts-navigator-xaxis',
11807
11796
  tickLength: 0,
11808
11797
  lineWidth: 0,
11809
- gridLineColor: Palette.neutralColor10,
11798
+ gridLineColor: "#e6e6e6" /* neutralColor10 */,
11810
11799
  gridLineWidth: 1,
11811
11800
  tickPixelInterval: 200,
11812
11801
  labels: {
@@ -11816,7 +11805,7 @@
11816
11805
  */
11817
11806
  style: {
11818
11807
  /** @ignore */
11819
- color: Palette.neutralColor40
11808
+ color: "#999999" /* neutralColor40 */
11820
11809
  },
11821
11810
  x: 3,
11822
11811
  y: -4
@@ -11999,17 +11988,32 @@
11999
11988
  verticalMin = navigatorTop + zoomedMax + outlineCorrection;
12000
11989
  zoomedMax = navigatorTop + zoomedMin + outlineCorrection;
12001
11990
  path = [
12002
- ['M', left + outlineHeight, navigatorTop - scrollbarHeight - outlineCorrection],
11991
+ [
11992
+ 'M',
11993
+ left + outlineHeight,
11994
+ navigatorTop - scrollbarHeight - outlineCorrection
11995
+ ],
11996
+ // top right of zoomed range
12003
11997
  ['L', left + outlineHeight, verticalMin],
12004
11998
  ['L', left, verticalMin],
12005
11999
  ['L', left, zoomedMax],
12006
12000
  ['L', left + outlineHeight, zoomedMax],
12007
- ['L', left + outlineHeight, navigatorTop + navigatorSize + scrollbarHeight]
12001
+ [
12002
+ 'L',
12003
+ left + outlineHeight,
12004
+ navigatorTop + navigatorSize + scrollbarHeight
12005
+ ]
12008
12006
  ];
12009
12007
  if (maskInside) {
12010
- path.push(['M', left + outlineHeight, verticalMin - halfOutline], // upper left of zoomed range
12011
- ['L', left + outlineHeight, zoomedMax + halfOutline] // upper right of z.r.
12012
- );
12008
+ path.push(
12009
+ // upper left of zoomed range
12010
+ ['M', left + outlineHeight, verticalMin - halfOutline],
12011
+ // upper right of z.r.
12012
+ [
12013
+ 'L',
12014
+ left + outlineHeight,
12015
+ zoomedMax + halfOutline
12016
+ ]);
12013
12017
  }
12014
12018
  }
12015
12019
  else {
@@ -12017,17 +12021,25 @@
12017
12021
  zoomedMax += left + scrollbarHeight - outlineCorrection;
12018
12022
  navigatorTop += halfOutline;
12019
12023
  path = [
12024
+ // left
12020
12025
  ['M', left, navigatorTop],
12026
+ // upper left of zoomed range
12021
12027
  ['L', zoomedMin, navigatorTop],
12028
+ // lower left of z.r.
12022
12029
  ['L', zoomedMin, navigatorTop + outlineHeight],
12030
+ // lower right of z.r.
12023
12031
  ['L', zoomedMax, navigatorTop + outlineHeight],
12032
+ // upper right of z.r.
12024
12033
  ['L', zoomedMax, navigatorTop],
12025
- ['L', left + navigatorSize + scrollbarHeight * 2, navigatorTop] // right
12034
+ // right
12035
+ ['L', left + navigatorSize + scrollbarHeight * 2, navigatorTop]
12026
12036
  ];
12027
12037
  if (maskInside) {
12028
- path.push(['M', zoomedMin - halfOutline, navigatorTop], // upper left of zoomed range
12029
- ['L', zoomedMax + halfOutline, navigatorTop] // upper right of z.r.
12030
- );
12038
+ path.push(
12039
+ // upper left of zoomed range
12040
+ ['M', zoomedMin - halfOutline, navigatorTop],
12041
+ // upper right of z.r.
12042
+ ['L', zoomedMax + halfOutline, navigatorTop]);
12031
12043
  }
12032
12044
  }
12033
12045
  navigator.outline[verb]({
@@ -12213,7 +12225,6 @@
12213
12225
  * Pixel value minimum
12214
12226
  * @param {number} [pxMax]
12215
12227
  * Pixel value maximum
12216
- * @return {void}
12217
12228
  */
12218
12229
  Navigator.prototype.render = function (min, max, pxMin, pxMax) {
12219
12230
  var navigator = this,
@@ -12490,7 +12501,6 @@
12490
12501
  * Mouse event
12491
12502
  * @param {number} index
12492
12503
  * Index of a handle in Navigator.handles array
12493
- * @return {void}
12494
12504
  */
12495
12505
  Navigator.prototype.handlesMousedown = function (e, index) {
12496
12506
  e = this.chart.pointer.normalize(e);
@@ -12586,7 +12596,6 @@
12586
12596
  * @function Highcharts.Navigator#onMouseUp
12587
12597
  * @param {Highcharts.PointerEventObject} e
12588
12598
  * Mouse event
12589
- * @return {void}
12590
12599
  */
12591
12600
  Navigator.prototype.onMouseUp = function (e) {
12592
12601
  var navigator = this,
@@ -12673,7 +12682,6 @@
12673
12682
  *
12674
12683
  * @private
12675
12684
  * @function Highcharts.Navigator#removeEvents
12676
- * @return {void}
12677
12685
  */
12678
12686
  Navigator.prototype.removeEvents = function () {
12679
12687
  if (this.eventsToUnbind) {
@@ -12689,7 +12697,6 @@
12689
12697
  *
12690
12698
  * @private
12691
12699
  * @function Highcharts.Navigator#removeBaseSeriesEvents
12692
- * @return {void}
12693
12700
  */
12694
12701
  Navigator.prototype.removeBaseSeriesEvents = function () {
12695
12702
  var baseSeries = this.baseSeries || [];
@@ -12775,7 +12782,8 @@
12775
12782
  offset: 0,
12776
12783
  index: yAxisIndex,
12777
12784
  isInternal: true,
12778
- reversed: pick((navigatorOptions.yAxis && navigatorOptions.yAxis.reversed), (chart.yAxis[0] && chart.yAxis[0].reversed), false),
12785
+ reversed: pick((navigatorOptions.yAxis &&
12786
+ navigatorOptions.yAxis.reversed), (chart.yAxis[0] && chart.yAxis[0].reversed), false),
12779
12787
  zoomEnabled: false
12780
12788
  }, chart.inverted ? {
12781
12789
  width: height
@@ -12857,9 +12865,6 @@
12857
12865
  *
12858
12866
  * @private
12859
12867
  * @function Highcharts.Navigator#getUnionExtremes
12860
- * @param {boolean} [returnFalseOnNoBaseSeries]
12861
- * as the param says.
12862
- * @return {Highcharts.Dictionary<(number|undefined)>|undefined}
12863
12868
  */
12864
12869
  Navigator.prototype.getUnionExtremes = function (returnFalseOnNoBaseSeries) {
12865
12870
  var baseAxis = this.chart.xAxis[0],
@@ -12887,7 +12892,6 @@
12887
12892
  * Additional series options for a navigator
12888
12893
  * @param {boolean} [redraw]
12889
12894
  * Whether to redraw after update.
12890
- * @return {void}
12891
12895
  */
12892
12896
  Navigator.prototype.setBaseSeries = function (baseSeriesOptions, redraw) {
12893
12897
  var chart = this.chart,
@@ -12926,7 +12930,6 @@
12926
12930
  * @function Highcharts.Navigator.updateNavigatorSeries
12927
12931
  * @param {boolean} addEvents
12928
12932
  * @param {boolean} [redraw]
12929
- * @return {void}
12930
12933
  */
12931
12934
  Navigator.prototype.updateNavigatorSeries = function (addEvents, redraw) {
12932
12935
  var navigator = this,
@@ -13067,7 +13070,6 @@
13067
13070
  *
13068
13071
  * @private
13069
13072
  * @function Highcharts.Navigator#addBaseSeriesEvent
13070
- * @return {void}
13071
13073
  */
13072
13074
  Navigator.prototype.addBaseSeriesEvents = function () {
13073
13075
  var navigator = this,
@@ -13243,7 +13245,7 @@
13243
13245
  // If range declared, stick to the minimum only if the range
13244
13246
  // is smaller than the data set range.
13245
13247
  if (range && max - xDataMin > 0) {
13246
- stickToMin = max - xDataMin < range && (!this.chart.fixedRange);
13248
+ stickToMin = max - xDataMin < range;
13247
13249
  }
13248
13250
  else {
13249
13251
  // If the current axis minimum falls outside the new
@@ -13261,7 +13263,6 @@
13261
13263
  *
13262
13264
  * @private
13263
13265
  * @function Highcharts.Navigator#addChartEvents
13264
- * @return {void}
13265
13266
  */
13266
13267
  Navigator.prototype.addChartEvents = function () {
13267
13268
  if (!this.eventsToUnbind) {