highcharts 9.3.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 (752) hide show
  1. package/bower.json +1 -1
  2. package/css/annotations/popup.css +1 -1
  3. package/css/highcharts.css +2 -2
  4. package/css/highcharts.scss +1 -1
  5. package/css/stocktools/gui.css +1 -1
  6. package/css/themes/dark-unica.css +2 -2
  7. package/css/themes/grid-light.css +2 -2
  8. package/css/themes/sand-signika.css +2 -2
  9. package/es-modules/Accessibility/A11yI18n.js +1 -5
  10. package/es-modules/Accessibility/Accessibility.js +11 -5
  11. package/es-modules/Accessibility/AccessibilityComponent.js +1 -1
  12. package/es-modules/Accessibility/Components/AnnotationsA11y.js +9 -5
  13. package/es-modules/Accessibility/Components/ContainerComponent.js +1 -1
  14. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +8 -19
  15. package/es-modules/Accessibility/Components/LegendComponent.js +176 -86
  16. package/es-modules/Accessibility/Components/MenuComponent.js +1 -10
  17. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +10 -13
  18. package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +15 -6
  19. package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +8 -4
  20. package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +3 -1
  21. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -41
  22. package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +20 -31
  23. package/es-modules/Accessibility/Components/ZoomComponent.js +135 -57
  24. package/es-modules/Accessibility/FocusBorder.js +0 -5
  25. package/es-modules/Accessibility/HighContrastMode.js +2 -1
  26. package/es-modules/Accessibility/KeyboardNavigation.js +5 -4
  27. package/es-modules/Accessibility/Options/DeprecatedOptions.js +12 -5
  28. package/es-modules/Accessibility/Options/LangOptions.js +3 -3
  29. package/es-modules/Accessibility/ProxyElement.js +12 -6
  30. package/es-modules/Accessibility/ProxyProvider.js +0 -3
  31. package/es-modules/Accessibility/Utils/Announcer.js +2 -2
  32. package/es-modules/Accessibility/Utils/ChartUtilities.js +17 -32
  33. package/es-modules/Accessibility/Utils/HTMLUtilities.js +0 -12
  34. package/es-modules/Core/Animation/Fx.js +5 -14
  35. package/es-modules/Core/Axis/Axis.js +42 -68
  36. package/es-modules/Core/Axis/Axis3D.js +10 -4
  37. package/es-modules/Core/Axis/BrokenAxis.js +17 -11
  38. package/es-modules/Core/Axis/Color/ColorAxis.js +7 -4
  39. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -3
  40. package/es-modules/Core/Axis/DateTimeAxis.js +3 -14
  41. package/es-modules/Core/Axis/GridAxis.js +26 -16
  42. package/es-modules/Core/Axis/NavigatorAxis.js +0 -5
  43. package/es-modules/Core/Axis/OrdinalAxis.js +83 -79
  44. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +0 -5
  45. package/es-modules/Core/Axis/RadialAxis.js +7 -28
  46. package/es-modules/Core/Axis/ScrollbarAxis.js +18 -10
  47. package/es-modules/Core/Axis/StackingAxis.js +2 -1
  48. package/es-modules/Core/Axis/Tick.js +2 -4
  49. package/es-modules/Core/Axis/TreeGridAxis.js +26 -17
  50. package/es-modules/Core/Axis/TreeGridTick.js +4 -1
  51. package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
  52. package/es-modules/Core/Axis/ZAxis.js +1 -1
  53. package/es-modules/Core/Chart/Chart.js +42 -44
  54. package/es-modules/Core/Chart/Chart3D.js +23 -10
  55. package/es-modules/Core/Chart/GanttChart.js +4 -4
  56. package/es-modules/Core/Chart/MapChart.js +3 -3
  57. package/es-modules/Core/Chart/StockChart.js +10 -23
  58. package/es-modules/Core/DefaultOptions.js +3 -2
  59. package/es-modules/Core/Geometry/CircleUtilities.js +2 -1
  60. package/es-modules/Core/Globals.js +1 -1
  61. package/es-modules/Core/HttpUtilities.js +5 -4
  62. package/es-modules/Core/Legend/Legend.js +12 -13
  63. package/es-modules/Core/Navigator.js +34 -22
  64. package/es-modules/Core/Pointer.js +13 -9
  65. package/es-modules/Core/Renderer/HTML/AST.js +27 -14
  66. package/es-modules/Core/Renderer/HTML/HTMLElement.js +4 -2
  67. package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +8 -6
  68. package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
  69. package/es-modules/Core/Renderer/SVG/SVGElement.js +8 -16
  70. package/es-modules/Core/Renderer/SVG/SVGLabel.js +17 -8
  71. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +5 -12
  72. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +12 -5
  73. package/es-modules/Core/Renderer/SVG/TextBuilder.js +16 -10
  74. package/es-modules/Core/Responsive.js +2 -3
  75. package/es-modules/Core/Scrollbar.js +14 -12
  76. package/es-modules/Core/Series/DataLabel.js +17 -12
  77. package/es-modules/Core/Series/Point.js +17 -16
  78. package/es-modules/Core/Series/Series.js +44 -73
  79. package/es-modules/Core/Series/SeriesDefaults.js +5 -4
  80. package/es-modules/Core/Time.js +14 -11
  81. package/es-modules/Core/Tooltip.js +19 -36
  82. package/es-modules/Core/Utilities.js +5 -17
  83. package/es-modules/Data/DataConverter.js +0 -6
  84. package/es-modules/Data/DataSeriesConverter.js +9 -5
  85. package/es-modules/Data/DataTable.js +2 -1
  86. package/es-modules/Data/Modifiers/DataModifier.js +1 -1
  87. package/es-modules/Data/Parsers/CSVParser.js +3 -2
  88. package/es-modules/Data/Parsers/GoogleSheetsParser.js +5 -2
  89. package/es-modules/Data/Stores/CSVStore.js +2 -2
  90. package/es-modules/Data/Stores/DataStore.js +1 -1
  91. package/es-modules/Data/Stores/GoogleSheetsStore.js +3 -1
  92. package/es-modules/Data/Stores/HTMLTableStore.js +3 -1
  93. package/es-modules/Extensions/Annotations/Annotations.js +11 -10
  94. package/es-modules/Extensions/Annotations/ControlPoint.js +0 -2
  95. package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +1 -1
  96. package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +1 -1
  97. package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +1 -1
  98. package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +3 -6
  99. package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +3 -2
  100. package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +1 -1
  101. package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +6 -3
  102. package/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +0 -1
  103. package/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +5 -4
  104. package/es-modules/Extensions/Annotations/NavigationBindings.js +34 -29
  105. package/es-modules/Extensions/Annotations/Popup.js +40 -32
  106. package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -2
  107. package/es-modules/Extensions/Annotations/Types/ElliottWave.js +1 -1
  108. package/es-modules/Extensions/Annotations/Types/Measure.js +15 -11
  109. package/es-modules/Extensions/Annotations/Types/Pitchfork.js +2 -1
  110. package/es-modules/Extensions/Annotations/Types/TimeCycles.js +8 -4
  111. package/es-modules/Extensions/Annotations/Types/Tunnel.js +10 -5
  112. package/es-modules/Extensions/Boost/BoostOverrides.js +3 -9
  113. package/es-modules/Extensions/Boost/BoostUtils.js +0 -6
  114. package/es-modules/Extensions/Boost/WGLRenderer.js +16 -12
  115. package/es-modules/Extensions/Boost/WGLShader.js +9 -8
  116. package/es-modules/Extensions/Boost/WGLVBuffer.js +4 -7
  117. package/es-modules/Extensions/Data.js +4 -48
  118. package/es-modules/Extensions/DataGrouping.js +22 -15
  119. package/es-modules/Extensions/DraggablePoints.js +7 -8
  120. package/es-modules/Extensions/Drilldown.js +9 -4
  121. package/es-modules/Extensions/ExportData.js +6 -5
  122. package/es-modules/Extensions/Exporting/Exporting.js +23 -37
  123. package/es-modules/Extensions/FullScreen.js +4 -3
  124. package/es-modules/Extensions/GeoJSON.js +3 -3
  125. package/es-modules/Extensions/MarkerClusters.js +3 -1
  126. package/es-modules/Extensions/Math3D.js +4 -4
  127. package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +23 -24
  128. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  129. package/es-modules/Extensions/Oldie/Oldie.js +13 -77
  130. package/es-modules/Extensions/Oldie/VMLAxis3D.js +5 -1
  131. package/es-modules/Extensions/OverlappingDataLabels.js +10 -6
  132. package/es-modules/Extensions/Pane.js +6 -6
  133. package/es-modules/Extensions/ParallelCoordinates.js +5 -3
  134. package/es-modules/Extensions/PatternFill.js +17 -11
  135. package/es-modules/Extensions/Polar.js +6 -3
  136. package/es-modules/Extensions/PriceIndication.js +2 -1
  137. package/es-modules/Extensions/RangeSelector.js +19 -55
  138. package/es-modules/Extensions/ScrollablePlotArea.js +2 -2
  139. package/es-modules/Extensions/SeriesLabel.js +1 -1
  140. package/es-modules/Extensions/Sonification/ChartSonify.js +32 -26
  141. package/es-modules/Extensions/Sonification/Instrument.js +12 -15
  142. package/es-modules/Extensions/Sonification/PointSonify.js +12 -8
  143. package/es-modules/Extensions/Sonification/SeriesSonify.js +33 -18
  144. package/es-modules/Extensions/Sonification/SignalHandler.js +4 -6
  145. package/es-modules/Extensions/Sonification/Sonification.js +1 -1
  146. package/es-modules/Extensions/Sonification/SonificationUtilities.js +11 -7
  147. package/es-modules/Extensions/Sonification/Timeline.js +2 -7
  148. package/es-modules/Extensions/Sonification/TimelineEvent.js +0 -1
  149. package/es-modules/Extensions/Sonification/TimelinePath.js +8 -8
  150. package/es-modules/Extensions/Stacking.js +5 -23
  151. package/es-modules/Extensions/Themes/BrandDark.js +293 -0
  152. package/es-modules/Extensions/Themes/BrandLight.js +259 -0
  153. package/es-modules/Extensions/Themes/DarkUnica.js +4 -2
  154. package/es-modules/Extensions/Themes/Grid.js +4 -2
  155. package/es-modules/Extensions/Themes/GridLight.js +4 -2
  156. package/es-modules/Gantt/Connection.js +2 -2
  157. package/es-modules/Gantt/Pathfinder.js +6 -5
  158. package/es-modules/Gantt/PathfinderAlgorithms.js +12 -12
  159. package/es-modules/Maps/MapNavigation.js +6 -7
  160. package/es-modules/Maps/MapPointer.js +2 -1
  161. package/es-modules/Maps/MapSymbols.js +23 -3
  162. package/es-modules/Maps/MapViewOptionsDefault.js +1 -1
  163. package/es-modules/Series/Area/AreaSeries.js +13 -13
  164. package/es-modules/Series/Area3DSeries.js +4 -2
  165. package/es-modules/Series/AreaRange/AreaRangeSeries.js +24 -12
  166. package/es-modules/Series/Bellcurve/BellcurveSeries.js +2 -1
  167. package/es-modules/Series/Bubble/BubbleLegendItem.js +2 -12
  168. package/es-modules/Series/Candlestick/CandlestickSeries.js +0 -1
  169. package/es-modules/Series/ColorMapMixin.js +84 -0
  170. package/es-modules/Series/Column/ColumnSeries.js +16 -14
  171. package/es-modules/Series/Column3D/Column3DComposition.js +1 -2
  172. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +5 -2
  173. package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +2 -1
  174. package/es-modules/Series/Cylinder/CylinderComposition.js +36 -4
  175. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +1 -1
  176. package/es-modules/Series/Dumbbell/DumbbellPoint.js +0 -1
  177. package/es-modules/Series/Dumbbell/DumbbellSeries.js +0 -3
  178. package/es-modules/Series/Flags/FlagsSymbols.js +2 -2
  179. package/es-modules/Series/Funnel3D/Funnel3DComposition.js +14 -8
  180. package/es-modules/Series/Funnel3D/Funnel3DSeries.js +2 -1
  181. package/es-modules/Series/Gantt/GanttPoint.js +1 -1
  182. package/es-modules/Series/Gantt/GanttSeries.js +3 -1
  183. package/es-modules/Series/HLC/HLCSeries.js +1 -6
  184. package/es-modules/Series/Heatmap/HeatmapPoint.js +10 -10
  185. package/es-modules/Series/Heatmap/HeatmapSeries.js +9 -10
  186. package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +8 -6
  187. package/es-modules/Series/Histogram/HistogramSeries.js +4 -4
  188. package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +1 -4
  189. package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +19 -20
  190. package/es-modules/Series/Item/ItemSeries.js +4 -5
  191. package/es-modules/Series/Map/MapPoint.js +6 -0
  192. package/es-modules/Series/Map/MapSeries.js +24 -25
  193. package/es-modules/Series/MapLine/MapLineSeries.js +0 -4
  194. package/es-modules/Series/Networkgraph/DraggableNodes.js +0 -4
  195. package/es-modules/Series/Networkgraph/Integrations.js +8 -22
  196. package/es-modules/Series/Networkgraph/Networkgraph.js +1 -5
  197. package/es-modules/Series/Networkgraph/QuadTree.js +1 -3
  198. package/es-modules/Series/NodesComposition.js +2 -1
  199. package/es-modules/Series/OHLC/OHLCPoint.js +0 -1
  200. package/es-modules/Series/OHLC/OHLCSeries.js +1 -1
  201. package/es-modules/Series/Organization/OrganizationSeries.js +4 -2
  202. package/es-modules/Series/PackedBubble/PackedBubbleComposition.js +1 -0
  203. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
  204. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +2 -4
  205. package/es-modules/Series/Pie/PiePoint.js +2 -2
  206. package/es-modules/Series/Pie/PieSeries.js +1 -1
  207. package/es-modules/Series/Pie3D/Pie3DComposition.js +2 -1
  208. package/es-modules/Series/Pie3D/Pie3DPoint.js +2 -1
  209. package/es-modules/Series/Pie3D/Pie3DSeries.js +1 -1
  210. package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +2 -1
  211. package/es-modules/Series/Sankey/SankeySeries.js +3 -2
  212. package/es-modules/Series/SolidGauge/SolidGaugeComposition.js +3 -1
  213. package/es-modules/Series/Spline/SplineSeries.js +0 -8
  214. package/es-modules/Series/Sunburst/SunburstSeries.js +2 -2
  215. package/es-modules/Series/Sunburst/SunburstUtilities.js +3 -2
  216. package/es-modules/Series/Tilemap/TilemapPoint.js +0 -2
  217. package/es-modules/Series/Tilemap/TilemapShapes.js +0 -7
  218. package/es-modules/Series/TreeUtilities.js +2 -2
  219. package/es-modules/Series/Treemap/TreemapSeries.js +18 -21
  220. package/es-modules/Series/Variwide/VariwideSeries.js +5 -1
  221. package/es-modules/Series/Venn/VennSeries.js +6 -9
  222. package/es-modules/Series/Venn/VennUtils.js +8 -7
  223. package/es-modules/Series/Waterfall/WaterfallSeries.js +6 -3
  224. package/es-modules/Series/Wordcloud/WordcloudSeries.js +2 -2
  225. package/es-modules/Series/Wordcloud/WordcloudUtils.js +6 -10
  226. package/es-modules/Series/XRange/XRangePoint.js +6 -12
  227. package/es-modules/Series/XRange/XRangeSeries.js +4 -20
  228. package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +12 -0
  229. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -0
  230. package/es-modules/Stock/Indicators/BB/BBIndicator.js +12 -0
  231. package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +35 -15
  232. package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +9 -5
  233. package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +2 -1
  234. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +6 -6
  235. package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +12 -0
  236. package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +8 -3
  237. package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +30 -12
  238. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -1
  239. package/es-modules/Stock/Indicators/MultipleLinesComposition.js +70 -6
  240. package/es-modules/Stock/Indicators/PC/PCIndicator.js +11 -0
  241. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +2 -1
  242. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +2 -1
  243. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -3
  244. package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -1
  245. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +3 -3
  246. package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +19 -7
  247. package/es-modules/Stock/StockToolsBindings.js +13 -6
  248. package/es-modules/Stock/StockToolsGui.js +34 -23
  249. package/es-modules/masters/highcharts-3d.src.js +1 -1
  250. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  251. package/es-modules/masters/highcharts-more.src.js +1 -1
  252. package/es-modules/masters/highcharts.src.js +1 -1
  253. package/es-modules/masters/highmaps.src.js +1 -1
  254. package/es-modules/masters/highstock.src.js +1 -1
  255. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  256. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  257. package/es-modules/masters/indicators/ao.src.js +1 -1
  258. package/es-modules/masters/indicators/apo.src.js +1 -1
  259. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  260. package/es-modules/masters/indicators/aroon.src.js +1 -1
  261. package/es-modules/masters/indicators/atr.src.js +1 -1
  262. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  263. package/es-modules/masters/indicators/cci.src.js +1 -1
  264. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  265. package/es-modules/masters/indicators/cmf.src.js +1 -1
  266. package/es-modules/masters/indicators/cmo.src.js +1 -1
  267. package/es-modules/masters/indicators/dema.src.js +1 -1
  268. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  269. package/es-modules/masters/indicators/dmi.src.js +1 -1
  270. package/es-modules/masters/indicators/dpo.src.js +1 -1
  271. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  272. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  273. package/es-modules/masters/indicators/indicators.src.js +1 -1
  274. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  275. package/es-modules/masters/indicators/klinger.src.js +1 -1
  276. package/es-modules/masters/indicators/macd.src.js +1 -1
  277. package/es-modules/masters/indicators/mfi.src.js +1 -1
  278. package/es-modules/masters/indicators/momentum.src.js +1 -1
  279. package/es-modules/masters/indicators/natr.src.js +1 -1
  280. package/es-modules/masters/indicators/obv.src.js +1 -1
  281. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  282. package/es-modules/masters/indicators/ppo.src.js +1 -1
  283. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  284. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  285. package/es-modules/masters/indicators/psar.src.js +1 -1
  286. package/es-modules/masters/indicators/regressions.src.js +1 -1
  287. package/es-modules/masters/indicators/roc.src.js +1 -1
  288. package/es-modules/masters/indicators/rsi.src.js +1 -1
  289. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  290. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  291. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  292. package/es-modules/masters/indicators/tema.src.js +1 -1
  293. package/es-modules/masters/indicators/trendline.src.js +1 -1
  294. package/es-modules/masters/indicators/trix.src.js +1 -1
  295. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  296. package/es-modules/masters/indicators/vwap.src.js +1 -1
  297. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  298. package/es-modules/masters/indicators/wma.src.js +1 -1
  299. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  300. package/es-modules/masters/modules/accessibility.src.js +2 -2
  301. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  302. package/es-modules/masters/modules/annotations.src.js +1 -1
  303. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  304. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  305. package/es-modules/masters/modules/boost.src.js +1 -1
  306. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  307. package/es-modules/masters/modules/bullet.src.js +1 -1
  308. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  309. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  310. package/es-modules/masters/modules/cylinder.src.js +1 -1
  311. package/es-modules/masters/modules/data.src.js +1 -1
  312. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  313. package/es-modules/masters/modules/debugger.src.js +1 -1
  314. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  315. package/es-modules/masters/modules/dotplot.src.js +1 -1
  316. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  317. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  318. package/es-modules/masters/modules/drilldown.src.js +1 -1
  319. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  320. package/es-modules/masters/modules/export-data.src.js +1 -1
  321. package/es-modules/masters/modules/exporting.src.js +1 -1
  322. package/es-modules/masters/modules/full-screen.src.js +1 -1
  323. package/es-modules/masters/modules/funnel.src.js +1 -1
  324. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  325. package/es-modules/masters/modules/gantt.src.js +1 -1
  326. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  327. package/es-modules/masters/modules/heatmap.src.js +1 -1
  328. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  329. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  330. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  331. package/es-modules/masters/modules/item-series.src.js +1 -1
  332. package/es-modules/masters/modules/lollipop.src.js +1 -1
  333. package/es-modules/masters/modules/map.src.js +1 -1
  334. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  335. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  336. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  337. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  338. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  339. package/es-modules/masters/modules/oldie.src.js +1 -1
  340. package/es-modules/masters/modules/organization.src.js +1 -1
  341. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  342. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  343. package/es-modules/masters/modules/pareto.src.js +1 -1
  344. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  345. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  346. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  347. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  348. package/es-modules/masters/modules/sankey.src.js +1 -1
  349. package/es-modules/masters/modules/series-label.src.js +1 -1
  350. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  351. package/es-modules/masters/modules/sonification.src.js +1 -1
  352. package/es-modules/masters/modules/static-scale.src.js +1 -1
  353. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  354. package/es-modules/masters/modules/stock.src.js +1 -1
  355. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  356. package/es-modules/masters/modules/sunburst.src.js +1 -1
  357. package/es-modules/masters/modules/tilemap.src.js +1 -1
  358. package/es-modules/masters/modules/timeline.src.js +1 -1
  359. package/es-modules/masters/modules/treegrid.src.js +1 -1
  360. package/es-modules/masters/modules/treemap.src.js +1 -1
  361. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  362. package/es-modules/masters/modules/variwide.src.js +1 -1
  363. package/es-modules/masters/modules/vector.src.js +1 -1
  364. package/es-modules/masters/modules/venn.src.js +1 -1
  365. package/es-modules/masters/modules/windbarb.src.js +1 -1
  366. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  367. package/es-modules/masters/modules/xrange.src.js +1 -1
  368. package/es-modules/masters/themes/avocado.src.js +1 -1
  369. package/es-modules/masters/themes/brand-dark.src.js +14 -0
  370. package/es-modules/masters/themes/brand-light.src.js +14 -0
  371. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  372. package/es-modules/masters/themes/dark-green.src.js +1 -1
  373. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  374. package/es-modules/masters/themes/gray.src.js +1 -1
  375. package/es-modules/masters/themes/grid-light.src.js +1 -1
  376. package/es-modules/masters/themes/grid.src.js +1 -1
  377. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  378. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  379. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  380. package/es-modules/masters/themes/skies.src.js +1 -1
  381. package/es-modules/masters/themes/sunset.src.js +1 -1
  382. package/highcharts-3d.js +1 -1
  383. package/highcharts-3d.js.map +1 -1
  384. package/highcharts-3d.src.js +65 -35
  385. package/highcharts-gantt.js +799 -799
  386. package/highcharts-gantt.js.map +1 -1
  387. package/highcharts-gantt.src.js +589 -698
  388. package/highcharts-more.js +1 -1
  389. package/highcharts-more.js.map +1 -1
  390. package/highcharts-more.src.js +73 -103
  391. package/highcharts.d.ts +5586 -1709
  392. package/highcharts.js +577 -577
  393. package/highcharts.js.map +1 -1
  394. package/highcharts.src.d.ts +5586 -1709
  395. package/highcharts.src.js +391 -486
  396. package/highmaps.js +723 -723
  397. package/highmaps.js.map +1 -1
  398. package/highmaps.src.js +552 -656
  399. package/highstock.js +782 -782
  400. package/highstock.js.map +1 -1
  401. package/highstock.src.js +612 -731
  402. package/indicators/acceleration-bands.d.ts +17 -1
  403. package/indicators/acceleration-bands.js +11 -10
  404. package/indicators/acceleration-bands.js.map +1 -1
  405. package/indicators/acceleration-bands.src.d.ts +17 -1
  406. package/indicators/acceleration-bands.src.js +88 -6
  407. package/indicators/accumulation-distribution.js +1 -1
  408. package/indicators/accumulation-distribution.src.js +1 -1
  409. package/indicators/ao.js +1 -1
  410. package/indicators/ao.src.js +1 -1
  411. package/indicators/apo.js +1 -1
  412. package/indicators/apo.src.js +1 -1
  413. package/indicators/aroon-oscillator.d.ts +17 -1
  414. package/indicators/aroon-oscillator.js +10 -9
  415. package/indicators/aroon-oscillator.js.map +1 -1
  416. package/indicators/aroon-oscillator.src.d.ts +17 -1
  417. package/indicators/aroon-oscillator.src.js +76 -6
  418. package/indicators/aroon.d.ts +17 -1
  419. package/indicators/aroon.js +11 -9
  420. package/indicators/aroon.js.map +1 -1
  421. package/indicators/aroon.src.d.ts +17 -1
  422. package/indicators/aroon.src.js +77 -6
  423. package/indicators/atr.js +1 -1
  424. package/indicators/atr.src.js +1 -1
  425. package/indicators/bollinger-bands.d.ts +17 -1
  426. package/indicators/bollinger-bands.js +12 -10
  427. package/indicators/bollinger-bands.js.map +1 -1
  428. package/indicators/bollinger-bands.src.d.ts +17 -1
  429. package/indicators/bollinger-bands.src.js +88 -6
  430. package/indicators/cci.js +1 -1
  431. package/indicators/cci.src.js +1 -1
  432. package/indicators/chaikin.js +1 -1
  433. package/indicators/chaikin.src.js +1 -1
  434. package/indicators/cmf.js +1 -1
  435. package/indicators/cmf.js.map +1 -1
  436. package/indicators/cmf.src.js +36 -16
  437. package/indicators/cmo.js +1 -1
  438. package/indicators/cmo.src.js +1 -1
  439. package/indicators/dema.js +1 -1
  440. package/indicators/dema.src.js +1 -1
  441. package/indicators/disparity-index.js +1 -1
  442. package/indicators/disparity-index.js.map +1 -1
  443. package/indicators/disparity-index.src.js +3 -2
  444. package/indicators/dmi.js +12 -11
  445. package/indicators/dmi.js.map +1 -1
  446. package/indicators/dmi.src.js +85 -11
  447. package/indicators/dpo.js +1 -1
  448. package/indicators/dpo.src.js +1 -1
  449. package/indicators/ichimoku-kinko-hyo.js +1 -1
  450. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  451. package/indicators/ichimoku-kinko-hyo.src.js +7 -7
  452. package/indicators/indicators-all.d.ts +17 -1
  453. package/indicators/indicators-all.js +198 -197
  454. package/indicators/indicators-all.js.map +1 -1
  455. package/indicators/indicators-all.src.d.ts +17 -1
  456. package/indicators/indicators-all.src.js +246 -65
  457. package/indicators/indicators.js +1 -1
  458. package/indicators/indicators.js.map +1 -1
  459. package/indicators/indicators.src.js +3 -4
  460. package/indicators/keltner-channels.d.ts +17 -1
  461. package/indicators/keltner-channels.js +11 -10
  462. package/indicators/keltner-channels.js.map +1 -1
  463. package/indicators/keltner-channels.src.d.ts +17 -1
  464. package/indicators/keltner-channels.src.js +88 -6
  465. package/indicators/klinger.js +14 -12
  466. package/indicators/klinger.js.map +1 -1
  467. package/indicators/klinger.src.js +84 -9
  468. package/indicators/macd.js +1 -1
  469. package/indicators/macd.js.map +1 -1
  470. package/indicators/macd.src.js +2 -2
  471. package/indicators/mfi.js +1 -1
  472. package/indicators/mfi.src.js +1 -1
  473. package/indicators/momentum.js +1 -1
  474. package/indicators/momentum.src.js +1 -1
  475. package/indicators/natr.js +1 -1
  476. package/indicators/natr.src.js +1 -1
  477. package/indicators/obv.js +1 -1
  478. package/indicators/obv.src.js +1 -1
  479. package/indicators/pivot-points.js +1 -1
  480. package/indicators/pivot-points.js.map +1 -1
  481. package/indicators/pivot-points.src.js +3 -2
  482. package/indicators/ppo.js +1 -1
  483. package/indicators/ppo.src.js +1 -1
  484. package/indicators/price-channel.d.ts +17 -1
  485. package/indicators/price-channel.js +11 -9
  486. package/indicators/price-channel.js.map +1 -1
  487. package/indicators/price-channel.src.d.ts +17 -1
  488. package/indicators/price-channel.src.js +87 -6
  489. package/indicators/price-envelopes.js +1 -1
  490. package/indicators/price-envelopes.src.js +1 -1
  491. package/indicators/psar.js +1 -1
  492. package/indicators/psar.src.js +1 -1
  493. package/indicators/regressions.js +1 -1
  494. package/indicators/regressions.js.map +1 -1
  495. package/indicators/regressions.src.js +31 -13
  496. package/indicators/roc.js +1 -1
  497. package/indicators/roc.src.js +1 -1
  498. package/indicators/rsi.js +1 -1
  499. package/indicators/rsi.js.map +1 -1
  500. package/indicators/rsi.src.js +3 -2
  501. package/indicators/slow-stochastic.js +1 -1
  502. package/indicators/slow-stochastic.src.js +1 -1
  503. package/indicators/stochastic.d.ts +17 -1
  504. package/indicators/stochastic.js +12 -10
  505. package/indicators/stochastic.js.map +1 -1
  506. package/indicators/stochastic.src.d.ts +17 -1
  507. package/indicators/stochastic.src.js +79 -7
  508. package/indicators/supertrend.js +1 -1
  509. package/indicators/supertrend.src.js +1 -1
  510. package/indicators/tema.js +1 -1
  511. package/indicators/tema.src.js +1 -1
  512. package/indicators/trendline.js +1 -1
  513. package/indicators/trendline.src.js +1 -1
  514. package/indicators/trix.js +1 -1
  515. package/indicators/trix.src.js +1 -1
  516. package/indicators/volume-by-price.js +1 -1
  517. package/indicators/volume-by-price.src.js +4 -4
  518. package/indicators/vwap.js +1 -1
  519. package/indicators/vwap.js.map +1 -1
  520. package/indicators/vwap.src.js +20 -8
  521. package/indicators/williams-r.js +1 -1
  522. package/indicators/williams-r.src.js +1 -1
  523. package/indicators/wma.js +1 -1
  524. package/indicators/wma.src.js +1 -1
  525. package/indicators/zigzag.js +1 -1
  526. package/indicators/zigzag.src.js +1 -1
  527. package/modules/accessibility.d.ts +0 -35
  528. package/modules/accessibility.js +225 -222
  529. package/modules/accessibility.js.map +1 -1
  530. package/modules/accessibility.src.d.ts +0 -35
  531. package/modules/accessibility.src.js +503 -418
  532. package/modules/annotations-advanced.js +128 -128
  533. package/modules/annotations-advanced.js.map +1 -1
  534. package/modules/annotations-advanced.src.js +152 -124
  535. package/modules/annotations.js +122 -122
  536. package/modules/annotations.js.map +1 -1
  537. package/modules/annotations.src.js +112 -100
  538. package/modules/arrow-symbols.js +1 -1
  539. package/modules/arrow-symbols.src.js +1 -1
  540. package/modules/boost-canvas.js +1 -1
  541. package/modules/boost-canvas.src.js +1 -1
  542. package/modules/boost.js +1 -1
  543. package/modules/boost.js.map +1 -1
  544. package/modules/boost.src.js +33 -43
  545. package/modules/broken-axis.js +1 -1
  546. package/modules/broken-axis.js.map +1 -1
  547. package/modules/broken-axis.src.js +18 -12
  548. package/modules/bullet.js +1 -1
  549. package/modules/bullet.src.js +1 -1
  550. package/modules/coloraxis.js +1 -1
  551. package/modules/coloraxis.js.map +1 -1
  552. package/modules/coloraxis.src.js +11 -8
  553. package/modules/current-date-indicator.js +1 -1
  554. package/modules/current-date-indicator.src.js +1 -1
  555. package/modules/cylinder.js +1 -1
  556. package/modules/cylinder.js.map +1 -1
  557. package/modules/cylinder.src.js +37 -5
  558. package/modules/data.d.ts +6 -6
  559. package/modules/data.js +31 -31
  560. package/modules/data.js.map +1 -1
  561. package/modules/data.src.d.ts +6 -6
  562. package/modules/data.src.js +10 -53
  563. package/modules/datagrouping.js +2 -2
  564. package/modules/datagrouping.js.map +1 -1
  565. package/modules/datagrouping.src.js +23 -16
  566. package/modules/debugger.js +1 -1
  567. package/modules/debugger.src.js +1 -1
  568. package/modules/dependency-wheel.js +3 -3
  569. package/modules/dependency-wheel.js.map +1 -1
  570. package/modules/dependency-wheel.src.js +2 -2
  571. package/modules/dotplot.js +1 -1
  572. package/modules/dotplot.src.js +1 -1
  573. package/modules/drag-panes.js +1 -1
  574. package/modules/drag-panes.src.js +1 -1
  575. package/modules/draggable-points.js +1 -1
  576. package/modules/draggable-points.js.map +1 -1
  577. package/modules/draggable-points.src.js +8 -9
  578. package/modules/drilldown.js +1 -1
  579. package/modules/drilldown.js.map +1 -1
  580. package/modules/drilldown.src.js +10 -5
  581. package/modules/dumbbell.js +1 -1
  582. package/modules/dumbbell.js.map +1 -1
  583. package/modules/dumbbell.src.js +1 -5
  584. package/modules/export-data.js +19 -19
  585. package/modules/export-data.js.map +1 -1
  586. package/modules/export-data.src.js +7 -6
  587. package/modules/exporting.js +1 -1
  588. package/modules/exporting.js.map +1 -1
  589. package/modules/exporting.src.js +33 -45
  590. package/modules/full-screen.js +1 -1
  591. package/modules/full-screen.js.map +1 -1
  592. package/modules/full-screen.src.js +5 -4
  593. package/modules/funnel.js +1 -1
  594. package/modules/funnel.src.js +1 -1
  595. package/modules/funnel3d.js +1 -1
  596. package/modules/funnel3d.js.map +1 -1
  597. package/modules/funnel3d.src.js +17 -10
  598. package/modules/gantt.js +1 -1
  599. package/modules/gantt.js.map +1 -1
  600. package/modules/gantt.src.js +199 -213
  601. package/modules/grid-axis.js +1 -1
  602. package/modules/grid-axis.js.map +1 -1
  603. package/modules/grid-axis.src.js +27 -19
  604. package/modules/heatmap.js +39 -39
  605. package/modules/heatmap.js.map +1 -1
  606. package/modules/heatmap.src.js +88 -112
  607. package/modules/heikinashi.js +1 -1
  608. package/modules/heikinashi.js.map +1 -1
  609. package/modules/heikinashi.src.js +9 -7
  610. package/modules/histogram-bellcurve.js +1 -1
  611. package/modules/histogram-bellcurve.js.map +1 -1
  612. package/modules/histogram-bellcurve.src.js +7 -6
  613. package/modules/hollowcandlestick.js +1 -1
  614. package/modules/hollowcandlestick.js.map +1 -1
  615. package/modules/hollowcandlestick.src.js +21 -25
  616. package/modules/item-series.js +6 -6
  617. package/modules/item-series.js.map +1 -1
  618. package/modules/item-series.src.js +6 -6
  619. package/modules/lollipop.js +1 -1
  620. package/modules/lollipop.src.js +1 -1
  621. package/modules/map.d.ts +2 -0
  622. package/modules/map.js +144 -144
  623. package/modules/map.js.map +1 -1
  624. package/modules/map.src.d.ts +2 -0
  625. package/modules/map.src.js +162 -171
  626. package/modules/marker-clusters.js +1 -1
  627. package/modules/marker-clusters.js.map +1 -1
  628. package/modules/marker-clusters.src.js +4 -2
  629. package/modules/networkgraph.js +1 -1
  630. package/modules/networkgraph.js.map +1 -1
  631. package/modules/networkgraph.src.js +13 -36
  632. package/modules/no-data-to-display.js +1 -1
  633. package/modules/no-data-to-display.src.js +1 -1
  634. package/modules/offline-exporting.js +18 -18
  635. package/modules/offline-exporting.js.map +1 -1
  636. package/modules/offline-exporting.src.js +27 -32
  637. package/modules/oldie-polyfills.js +1 -1
  638. package/modules/oldie-polyfills.src.js +1 -1
  639. package/modules/oldie.js +2 -2
  640. package/modules/oldie.js.map +1 -1
  641. package/modules/oldie.src.js +19 -79
  642. package/modules/organization.js +1 -1
  643. package/modules/organization.js.map +1 -1
  644. package/modules/organization.src.js +5 -3
  645. package/modules/overlapping-datalabels.js +1 -1
  646. package/modules/overlapping-datalabels.src.js +1 -1
  647. package/modules/parallel-coordinates.js +1 -1
  648. package/modules/parallel-coordinates.js.map +1 -1
  649. package/modules/parallel-coordinates.src.js +6 -4
  650. package/modules/pareto.js +1 -1
  651. package/modules/pareto.src.js +1 -1
  652. package/modules/pathfinder.js +1 -1
  653. package/modules/pathfinder.js.map +1 -1
  654. package/modules/pathfinder.src.js +21 -20
  655. package/modules/pattern-fill.js +1 -1
  656. package/modules/pattern-fill.js.map +1 -1
  657. package/modules/pattern-fill.src.js +18 -12
  658. package/modules/price-indicator.js +1 -1
  659. package/modules/price-indicator.js.map +1 -1
  660. package/modules/price-indicator.src.js +3 -2
  661. package/modules/pyramid3d.js +1 -1
  662. package/modules/pyramid3d.js.map +1 -1
  663. package/modules/pyramid3d.src.js +3 -2
  664. package/modules/sankey.js +1 -1
  665. package/modules/sankey.js.map +1 -1
  666. package/modules/sankey.src.js +8 -6
  667. package/modules/series-label.js +1 -1
  668. package/modules/series-label.js.map +1 -1
  669. package/modules/series-label.src.js +2 -2
  670. package/modules/solid-gauge.js +1 -1
  671. package/modules/solid-gauge.js.map +1 -1
  672. package/modules/solid-gauge.src.js +17 -2
  673. package/modules/sonification.js +53 -53
  674. package/modules/sonification.js.map +1 -1
  675. package/modules/sonification.src.js +121 -103
  676. package/modules/static-scale.js +1 -1
  677. package/modules/static-scale.src.js +1 -1
  678. package/modules/stock-tools.js +66 -66
  679. package/modules/stock-tools.js.map +1 -1
  680. package/modules/stock-tools.src.js +119 -96
  681. package/modules/stock.js +3 -3
  682. package/modules/stock.js.map +1 -1
  683. package/modules/stock.src.js +222 -246
  684. package/modules/streamgraph.js +1 -1
  685. package/modules/streamgraph.src.js +1 -1
  686. package/modules/sunburst.js +60 -61
  687. package/modules/sunburst.js.map +1 -1
  688. package/modules/sunburst.src.js +83 -113
  689. package/modules/tilemap.js +1 -1
  690. package/modules/tilemap.js.map +1 -1
  691. package/modules/tilemap.src.js +1 -10
  692. package/modules/timeline.js +1 -1
  693. package/modules/timeline.src.js +1 -1
  694. package/modules/treegrid.js +1 -1
  695. package/modules/treegrid.js.map +1 -1
  696. package/modules/treegrid.src.js +76 -50
  697. package/modules/treemap.js +41 -41
  698. package/modules/treemap.js.map +1 -1
  699. package/modules/treemap.src.js +78 -109
  700. package/modules/variable-pie.js +1 -1
  701. package/modules/variable-pie.src.js +1 -1
  702. package/modules/variwide.js +1 -1
  703. package/modules/variwide.js.map +1 -1
  704. package/modules/variwide.src.js +7 -3
  705. package/modules/vector.js +1 -1
  706. package/modules/vector.src.js +1 -1
  707. package/modules/venn.js +1 -1
  708. package/modules/venn.js.map +1 -1
  709. package/modules/venn.src.js +17 -18
  710. package/modules/windbarb.js +1 -1
  711. package/modules/windbarb.src.js +1 -1
  712. package/modules/wordcloud.js +1 -1
  713. package/modules/wordcloud.js.map +1 -1
  714. package/modules/wordcloud.src.js +9 -13
  715. package/modules/xrange.js +1 -1
  716. package/modules/xrange.js.map +1 -1
  717. package/modules/xrange.src.js +11 -33
  718. package/package.json +1 -1
  719. package/themes/avocado.js +1 -1
  720. package/themes/avocado.src.js +1 -1
  721. package/themes/brand-dark.js +15 -0
  722. package/themes/brand-dark.js.map +1 -0
  723. package/themes/brand-dark.src.js +328 -0
  724. package/themes/brand-light.js +15 -0
  725. package/themes/brand-light.js.map +1 -0
  726. package/themes/brand-light.src.js +294 -0
  727. package/themes/dark-blue.js +1 -1
  728. package/themes/dark-blue.src.js +1 -1
  729. package/themes/dark-green.js +1 -1
  730. package/themes/dark-green.src.js +1 -1
  731. package/themes/dark-unica.js +1 -1
  732. package/themes/dark-unica.js.map +1 -1
  733. package/themes/dark-unica.src.js +5 -3
  734. package/themes/gray.js +1 -1
  735. package/themes/gray.src.js +1 -1
  736. package/themes/grid-light.js +1 -1
  737. package/themes/grid-light.js.map +1 -1
  738. package/themes/grid-light.src.js +5 -3
  739. package/themes/grid.js +1 -1
  740. package/themes/grid.js.map +1 -1
  741. package/themes/grid.src.js +5 -3
  742. package/themes/high-contrast-dark.js +1 -1
  743. package/themes/high-contrast-dark.src.js +1 -1
  744. package/themes/high-contrast-light.js +1 -1
  745. package/themes/high-contrast-light.src.js +1 -1
  746. package/themes/sand-signika.js +1 -1
  747. package/themes/sand-signika.src.js +1 -1
  748. package/themes/skies.js +1 -1
  749. package/themes/skies.src.js +1 -1
  750. package/themes/sunset.js +1 -1
  751. package/themes/sunset.src.js +1 -1
  752. package/es-modules/Series/ColorMapComposition.js +0 -109
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highcharts Gantt JS v9.3.1 (2021-11-05)
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' &&
@@ -356,7 +350,6 @@
356
350
  /**
357
351
  * @private
358
352
  * @function Highcarts.seriesTypes.xrange#init
359
- * @return {void}
360
353
  */
361
354
  XRangeSeries.prototype.init = function () {
362
355
  ColumnSeries.prototype.init.apply(this, arguments);
@@ -368,8 +361,6 @@
368
361
  *
369
362
  * @private
370
363
  * @function Highcharts.Series#getColumnMetrics
371
- *
372
- * @return {Highcharts.ColumnMetricsObject}
373
364
  */
374
365
  XRangeSeries.prototype.getColumnMetrics = function () {
375
366
  var metrics,
@@ -395,18 +386,6 @@
395
386
  *
396
387
  * @private
397
388
  * @function Highcharts.Series#cropData
398
- *
399
- * @param {Array<number>} xData
400
- *
401
- * @param {Array<number>} yData
402
- *
403
- * @param {number} min
404
- *
405
- * @param {number} max
406
- *
407
- * @param {number} [cropShoulder]
408
- *
409
- * @return {*}
410
389
  */
411
390
  XRangeSeries.prototype.cropData = function (xData, yData, min, max) {
412
391
  // Replace xData with x2Data to find the appropriate cropStart
@@ -426,9 +405,10 @@
426
405
  *
427
406
  * @private
428
407
  * @function Highcharts.Series#findPointIndex
429
- * @param {object} options The options of the point.
430
- * @returns {number|undefined} Returns index of a matching point,
431
- * 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.
432
412
  */
433
413
  XRangeSeries.prototype.findPointIndex = function (options) {
434
414
  var _a = this,
@@ -714,8 +694,6 @@
714
694
  *
715
695
  * @private
716
696
  * @function Highcharts.Series#getAnimationVerb
717
- *
718
- * @return {string}
719
697
  */
720
698
  XRangeSeries.prototype.getAnimationVerb = function () {
721
699
  return (this.chart.pointCount < (this.options.animationLimit || 250) ?
@@ -1036,7 +1014,7 @@
1036
1014
  * @private
1037
1015
  * @function Highcharts.Point#applyOptions
1038
1016
  *
1039
- * @param {object} options
1017
+ * @param {Object} options
1040
1018
  * The point options
1041
1019
  *
1042
1020
  * @param {number} x
@@ -1252,8 +1230,11 @@
1252
1230
  (threshold > brk.from && y < brk.from)) {
1253
1231
  eventName = 'pointBreak';
1254
1232
  }
1255
- else if ((threshold < brk.from && y > brk.from && y < brk.to) ||
1256
- (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)) {
1257
1238
  eventName = 'pointInBreak';
1258
1239
  }
1259
1240
  if (eventName) {
@@ -1372,12 +1353,9 @@
1372
1353
  isNull: true,
1373
1354
  x: xRange
1374
1355
  });
1375
- // For stacked chart generate empty stack items,
1376
- // #6546
1356
+ // For stacked chart generate empty stack items, #6546
1377
1357
  if (yAxis.stacking && this.options.stacking) {
1378
- stack = yAxis.stacking.stacks[this.stackKey][xRange] =
1379
- new StackItem(yAxis, yAxis.options
1380
- .stackLabels, false, xRange, this.stack);
1358
+ stack = yAxis.stacking.stacks[this.stackKey][xRange] = new StackItem(yAxis, yAxis.options.stackLabels, false, xRange, this.stack);
1381
1359
  stack.total = 0;
1382
1360
  }
1383
1361
  }
@@ -1614,10 +1592,12 @@
1614
1592
  repeat_1 = brk.repeat || Infinity;
1615
1593
  if (isNumber(min_1) && isNumber(max_1)) {
1616
1594
  if (Additions.isInBreak(brk, min_1)) {
1617
- min_1 += (brk.to % repeat_1) - (min_1 % repeat_1);
1595
+ min_1 += ((brk.to % repeat_1) -
1596
+ (min_1 % repeat_1));
1618
1597
  }
1619
1598
  if (Additions.isInBreak(brk, max_1)) {
1620
- max_1 -= (max_1 % repeat_1) - (brk.from % repeat_1);
1599
+ max_1 -= ((max_1 % repeat_1) -
1600
+ (brk.from % repeat_1));
1621
1601
  }
1622
1602
  }
1623
1603
  });
@@ -1665,13 +1645,17 @@
1665
1645
  to: brk.value,
1666
1646
  len: brk.value - start_1 - (brk.size || 0)
1667
1647
  });
1668
- length_1 += brk.value - start_1 - (brk.size || 0);
1648
+ length_1 += (brk.value -
1649
+ start_1 -
1650
+ (brk.size || 0));
1669
1651
  }
1670
1652
  });
1671
1653
  brokenAxis.breakArray = breakArray_1;
1672
1654
  // Used with staticScale, and below the actual axis
1673
1655
  // length, when breaks are substracted.
1674
- if (isNumber(min_1) && isNumber(max_1) && isNumber(axis.min)) {
1656
+ if (isNumber(min_1) &&
1657
+ isNumber(max_1) &&
1658
+ isNumber(axis.min)) {
1675
1659
  brokenAxis.unitLength = max_1 - min_1 - length_1 +
1676
1660
  pointRangePadding;
1677
1661
  fireEvent(axis, 'afterBreaks');
@@ -1877,7 +1861,8 @@
1877
1861
  this.treeGrid &&
1878
1862
  this.treeGrid.mapOfPosToGridNode) {
1879
1863
  var treeDepth = this.treeGrid.mapOfPosToGridNode[-1].height || 0;
1880
- dimensions.width += this.options.labels.indentation * (treeDepth - 1);
1864
+ dimensions.width += (this.options.labels.indentation *
1865
+ (treeDepth - 1));
1881
1866
  }
1882
1867
  return dimensions;
1883
1868
  }
@@ -2043,8 +2028,10 @@
2043
2028
  axis.left,
2044
2029
  startPoint[2] || 0
2045
2030
  ],
2046
- upperBorderPath = [upperBorderStartPoint,
2047
- upperBorderEndPoint],
2031
+ upperBorderPath = [
2032
+ upperBorderStartPoint,
2033
+ upperBorderEndPoint
2034
+ ],
2048
2035
  lowerBorderEndPoint = [
2049
2036
  'L',
2050
2037
  axis.chart.chartWidth - axis.chart.marginRight,
@@ -2055,8 +2042,10 @@
2055
2042
  endPoint[1] || 0,
2056
2043
  axis.toPixels(max + axis.tickmarkOffset)
2057
2044
  ],
2058
- lowerBorderPath = [lowerBorderStartPoint,
2059
- lowerBorderEndPoint];
2045
+ lowerBorderPath = [
2046
+ lowerBorderStartPoint,
2047
+ lowerBorderEndPoint
2048
+ ];
2060
2049
  if (!axis.grid.upperBorder && min % 1 !== 0) {
2061
2050
  axis.grid.upperBorder = axis.grid.renderBorder(upperBorderPath);
2062
2051
  }
@@ -2082,8 +2071,8 @@
2082
2071
  });
2083
2072
  }
2084
2073
  }
2085
- // Render an extra line parallel to the existing axes,
2086
- // to close the grid.
2074
+ // Render an extra line parallel to the existing axes, to
2075
+ // close the grid.
2087
2076
  if (!axis.grid.axisLineExtra) {
2088
2077
  axis.grid.axisLineExtra = axis.grid.renderBorder(linePath);
2089
2078
  }
@@ -2096,8 +2085,7 @@
2096
2085
  d: linePath
2097
2086
  });
2098
2087
  }
2099
- // show or hide the line depending on
2100
- // options.showEmpty
2088
+ // show or hide the line depending on options.showEmpty
2101
2089
  axis.axisLine[axis.showAxis ? 'show' : 'hide'](true);
2102
2090
  }
2103
2091
  }
@@ -2139,7 +2127,8 @@
2139
2127
  }
2140
2128
  var mark = axis.ticks[lastTick].mark;
2141
2129
  if (mark) {
2142
- if (lastTick - max < tickmarkOffset && lastTick - max > 0 && axis.ticks[lastTick].isLast) {
2130
+ if (lastTick - max < tickmarkOffset &&
2131
+ lastTick - max > 0 && axis.ticks[lastTick].isLast) {
2143
2132
  mark.hide();
2144
2133
  }
2145
2134
  else if (axis.ticks[lastTick - 1]) {
@@ -2172,7 +2161,8 @@
2172
2161
  options.dateTimeLabelFormats &&
2173
2162
  options.labels &&
2174
2163
  !defined(userLabels.align) &&
2175
- (options.dateTimeLabelFormats[tickInfo.unitName].range === false ||
2164
+ (options.dateTimeLabelFormats[tickInfo.unitName]
2165
+ .range === false ||
2176
2166
  tickInfo.count > 1 // years
2177
2167
  )) {
2178
2168
  options.labels.align = 'left';
@@ -2386,7 +2376,8 @@
2386
2376
  if (gridOptions.enabled && maxLabelDimensions) {
2387
2377
  var labelPadding = (Math.abs(defaultLeftAxisOptions.labels.x) * 2);
2388
2378
  var distance = horiz ?
2389
- gridOptions.cellHeight || labelPadding + maxLabelDimensions.height :
2379
+ (gridOptions.cellHeight ||
2380
+ labelPadding + maxLabelDimensions.height) :
2390
2381
  labelPadding + maxLabelDimensions.width;
2391
2382
  if (isArray(e.tickSize)) {
2392
2383
  e.tickSize[0] = distance;
@@ -2426,7 +2417,7 @@
2426
2417
  var userOptions = e.userOptions || {};
2427
2418
  var gridOptions = userOptions.grid || {};
2428
2419
  if (gridOptions.enabled && defined(gridOptions.borderColor)) {
2429
- userOptions.tickColor = userOptions.lineColor = gridOptions.borderColor;
2420
+ userOptions.tickColor = userOptions.lineColor = (gridOptions.borderColor);
2430
2421
  }
2431
2422
  if (!axis.grid) {
2432
2423
  axis.grid = new Additions(axis);
@@ -2673,7 +2664,8 @@
2673
2664
  var thisIndex = -1,
2674
2665
  lastIndex = 0;
2675
2666
  chart[axis.coll].forEach(function (otherAxis, index) {
2676
- if (otherAxis.side === axis.side && !otherAxis.options.isInternal) {
2667
+ if (otherAxis.side === axis.side &&
2668
+ !otherAxis.options.isInternal) {
2677
2669
  lastIndex = index;
2678
2670
  if (otherAxis === parentAxis) {
2679
2671
  // Get the index of the axis in question
@@ -2682,17 +2674,17 @@
2682
2674
  }
2683
2675
  });
2684
2676
  return (lastIndex === thisIndex &&
2685
- (isNumber(columnIndex) ? columns.length === columnIndex : true));
2677
+ (isNumber(columnIndex) ?
2678
+ columns.length === columnIndex :
2679
+ true));
2686
2680
  };
2687
2681
  /**
2688
2682
  * Add extra border based on the provided path.
2689
- * *
2690
2683
  * @private
2691
- *
2692
2684
  * @param {SVGPath} path
2693
2685
  * The path of the border.
2694
- *
2695
2686
  * @return {Highcharts.SVGElement}
2687
+ * Border
2696
2688
  */
2697
2689
  Additions.prototype.renderBorder = function (path) {
2698
2690
  var axis = this.axis,
@@ -3161,7 +3153,10 @@
3161
3153
  node.descendants > 0) {
3162
3154
  collapsed = axis.treeGrid.isCollapsed(node);
3163
3155
  renderLabelIcon(tick, {
3164
- color: !styledMode && label.styles && label.styles.color || '',
3156
+ color: (!styledMode &&
3157
+ label.styles &&
3158
+ label.styles.color ||
3159
+ ''),
3165
3160
  collapsed: collapsed,
3166
3161
  group: label.parentGroup,
3167
3162
  options: symbolOptions,
@@ -3390,7 +3385,7 @@
3390
3385
  *
3391
3386
  * @private
3392
3387
  *
3393
- * @param {object} params
3388
+ * @param {Object} params
3394
3389
  * Object containing parameters.
3395
3390
  * - `defaults` Object containing default options. The default options are
3396
3391
  * merged with the userOptions to get the final options for a specific
@@ -3500,7 +3495,7 @@
3500
3495
  *
3501
3496
  * @private
3502
3497
  *
3503
- * @param {object} series
3498
+ * @param {Object} series
3504
3499
  * The series to operate on.
3505
3500
  *
3506
3501
  * @return {string}
@@ -3636,7 +3631,7 @@
3636
3631
  *
3637
3632
  * @param {number} numberOfSeries
3638
3633
  *
3639
- * @return {object}
3634
+ * @return {Object}
3640
3635
  * Returns an object containing categories, mapOfIdToNode,
3641
3636
  * mapOfPosToGridNode, and tree.
3642
3637
  *
@@ -3649,7 +3644,8 @@
3649
3644
  var categories = [],
3650
3645
  collapsedNodes = [],
3651
3646
  mapOfIdToNode = {},
3652
- uniqueNamesEnabled = typeof uniqueNames === 'boolean' ? uniqueNames : false;
3647
+ uniqueNamesEnabled = typeof uniqueNames === 'boolean' ?
3648
+ uniqueNames : false;
3653
3649
  var mapOfPosToGridNode = {},
3654
3650
  posIterator = -1;
3655
3651
  // Build the tree from the series data.
@@ -3672,7 +3668,9 @@
3672
3668
  // Before the children has been created.
3673
3669
  before: function (node) {
3674
3670
  var data = isObject(node.data,
3675
- true) ? node.data : {},
3671
+ true) ?
3672
+ node.data :
3673
+ {},
3676
3674
  name = isString(data.name) ? data.name : '',
3677
3675
  parentNode = mapOfIdToNode[node.parent],
3678
3676
  parentGridNode = (isObject(parentNode,
@@ -3781,8 +3779,8 @@
3781
3779
  /**
3782
3780
  * Builds the tree of categories and calculates its positions.
3783
3781
  * @private
3784
- * @param {object} e Event object
3785
- * @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.
3786
3784
  * @param {object[]} e.target.axes The axes of the chart.
3787
3785
  */
3788
3786
  function onBeforeRender(e) {
@@ -3797,8 +3795,8 @@
3797
3795
  max = options.max,
3798
3796
  // Check whether any of series is rendering for the first
3799
3797
  // time, visibility has changed, or its data is dirty, and
3800
- // only then update. #10570, #10580
3801
- // Also check if mapOfPosToGridNode exists. #10887
3798
+ // only then update. #10570, #10580. Also check if
3799
+ // mapOfPosToGridNode exists. #10887
3802
3800
  isDirty = (!axis.treeGrid.mapOfPosToGridNode ||
3803
3801
  axis.series.some(function (series) {
3804
3802
  return !series.hasRendered ||
@@ -3816,13 +3814,15 @@
3816
3814
  (s.options.data || []).forEach(function (data) {
3817
3815
  // For using keys - rebuild the data structure
3818
3816
  if (s.options.keys && s.options.keys.length) {
3819
- data = s.pointClass.prototype.optionsToObject.call({ series: s }, data);
3817
+ data = s.pointClass.prototype
3818
+ .optionsToObject
3819
+ .call({ series: s }, data);
3820
3820
  s.pointClass.setGanttPointAliases(data);
3821
3821
  }
3822
3822
  if (isObject(data, true)) {
3823
3823
  // Set series index on data. Removed again
3824
3824
  // after use.
3825
- data.seriesIndex = numberOfSeries;
3825
+ data.seriesIndex = (numberOfSeries);
3826
3826
  arr.push(data);
3827
3827
  }
3828
3828
  });
@@ -3849,17 +3849,20 @@
3849
3849
  treeGrid = getTreeGridFromData(data, uniqueNames || false, (uniqueNames === true) ? numberOfSeries : 1);
3850
3850
  // Assign values to the axis.
3851
3851
  axis.categories = treeGrid.categories;
3852
- axis.treeGrid.mapOfPosToGridNode = treeGrid.mapOfPosToGridNode;
3852
+ axis.treeGrid.mapOfPosToGridNode = (treeGrid.mapOfPosToGridNode);
3853
3853
  axis.hasNames = true;
3854
3854
  axis.treeGrid.tree = treeGrid.tree;
3855
3855
  // Update yData now that we have calculated the y values
3856
3856
  axis.series.forEach(function (series) {
3857
3857
  var axisData = (series.options.data || []).map(function (d) {
3858
- if (isArray(d) && series.options.keys && series.options.keys.length) {
3858
+ if (isArray(d) &&
3859
+ series.options.keys &&
3860
+ series.options.keys.length) {
3859
3861
  // Get the axisData from the data array used to
3860
3862
  // build the treeGrid where has been modified
3861
3863
  data.forEach(function (point) {
3862
- if (d.indexOf(point.x) >= 0 && d.indexOf(point.x2) >= 0) {
3864
+ if (d.indexOf(point.x) >= 0 &&
3865
+ d.indexOf(point.x2) >= 0) {
3863
3866
  d = point;
3864
3867
  }
3865
3868
  });
@@ -3969,10 +3972,11 @@
3969
3972
  axis.brokenAxis.setBreaks(breaks, false);
3970
3973
  // remove the node from the axis collapsedNodes
3971
3974
  if (axis.treeGrid.collapsedNodes) {
3972
- axis.treeGrid.collapsedNodes = axis.treeGrid.collapsedNodes.filter(function (n) {
3973
- return node.collapseStart !== n.collapseStart ||
3974
- node.collapseEnd !== n.collapseEnd;
3975
- });
3975
+ axis.treeGrid.collapsedNodes = axis.treeGrid
3976
+ .collapsedNodes
3977
+ .filter(function (n) { return ((node.collapseStart !==
3978
+ n.collapseStart) ||
3979
+ node.collapseEnd !== n.collapseEnd); });
3976
3980
  }
3977
3981
  }
3978
3982
  });
@@ -4253,7 +4257,7 @@
4253
4257
  * @param {Highcharts.Axis} axis
4254
4258
  * The axis to check against.
4255
4259
  *
4256
- * @param {object} node
4260
+ * @param {Object} node
4257
4261
  * The node to check if is collapsed.
4258
4262
  *
4259
4263
  * @param {number} pos
@@ -5461,11 +5465,11 @@
5461
5465
  * The radius of the marker, to calculate the additional distance to
5462
5466
  * the center of the marker.
5463
5467
  *
5464
- * @param {object} anchor
5468
+ * @param {Object} anchor
5465
5469
  * The anchor point of the path and marker as an object with x/y
5466
5470
  * properties.
5467
5471
  *
5468
- * @return {object}
5472
+ * @return {Object}
5469
5473
  * The marker vector as an object with x/y properties.
5470
5474
  */
5471
5475
  getMarkerVector: function (radians, markerRadius, anchor) {
@@ -5618,7 +5622,7 @@
5618
5622
  * @private
5619
5623
  * @function pointWithinObstacle
5620
5624
  *
5621
- * @param {object} obstacle
5625
+ * @param {Object} obstacle
5622
5626
  * Obstacle to test.
5623
5627
  *
5624
5628
  * @param {Highcharts.Point} point
@@ -5690,10 +5694,10 @@
5690
5694
  * @private
5691
5695
  * @function limitObstacleToBounds
5692
5696
  *
5693
- * @param {object} obstacle
5697
+ * @param {Object} obstacle
5694
5698
  * Obstacle to limit.
5695
5699
  *
5696
- * @param {object} bounds
5700
+ * @param {Object} bounds
5697
5701
  * Bounds to use as limit.
5698
5702
  *
5699
5703
  * @return {void}
@@ -5716,7 +5720,7 @@
5716
5720
  * @param {Highcharts.PositionObject} end
5717
5721
  * Ending coordinate, object with x/y props.
5718
5722
  *
5719
- * @return {object}
5723
+ * @return {Object}
5720
5724
  * An object with the SVG path in Array form as accepted by the SVG
5721
5725
  * renderer, as well as an array of new obstacles making up this
5722
5726
  * path.
@@ -5743,14 +5747,14 @@
5743
5747
  * @param {Highcharts.PositionObject} end
5744
5748
  * Ending coordinate, object with x/y props.
5745
5749
  *
5746
- * @param {object} options
5750
+ * @param {Object} options
5747
5751
  * Options for the algorithm:
5748
5752
  * - chartObstacles: Array of chart obstacles to avoid
5749
5753
  * - startDirectionX: Optional. True if starting in the X direction.
5750
5754
  * If not provided, the algorithm starts in the direction that is
5751
5755
  * the furthest between start/end.
5752
5756
  *
5753
- * @return {object}
5757
+ * @return {Object}
5754
5758
  * An object with the SVG path in Array form as accepted by the SVG
5755
5759
  * renderer, as well as an array of new obstacles making up this
5756
5760
  * path.
@@ -5875,7 +5879,7 @@
5875
5879
  * @param {Highcharts.PositionObject} end
5876
5880
  * Ending coordinate, object with x/y props.
5877
5881
  *
5878
- * @param {object} options
5882
+ * @param {Object} options
5879
5883
  * Options for the algorithm.
5880
5884
  * - chartObstacles: Array of chart obstacles to avoid
5881
5885
  * - lineObstacles: Array of line obstacles to jump over
@@ -5887,7 +5891,7 @@
5887
5891
  * direction that is the furthest between
5888
5892
  * start/end.
5889
5893
  *
5890
- * @return {object}
5894
+ * @return {Object}
5891
5895
  * An object with the SVG path in Array form as accepted by the SVG
5892
5896
  * renderer, as well as an array of new obstacles making up this
5893
5897
  * path.
@@ -6022,19 +6026,19 @@
6022
6026
  * @private
6023
6027
  * @function
6024
6028
  *
6025
- * @param {object} obstacle
6029
+ * @param {Object} obstacle
6026
6030
  * Obstacle to dodge/escape.
6027
6031
  *
6028
- * @param {object} fromPoint
6032
+ * @param {Object} fromPoint
6029
6033
  * Point with x/y props that's dodging/escaping.
6030
6034
  *
6031
- * @param {object} toPoint
6035
+ * @param {Object} toPoint
6032
6036
  * Goal point.
6033
6037
  *
6034
6038
  * @param {boolean} dirIsX
6035
6039
  * Dodge in X dimension.
6036
6040
  *
6037
- * @param {object} bounds
6041
+ * @param {Object} bounds
6038
6042
  * Hard and soft boundaries.
6039
6043
  *
6040
6044
  * @return {boolean}
@@ -6746,7 +6750,8 @@
6746
6750
  // For Gantt series the connect could be
6747
6751
  // defined as a dependency
6748
6752
  if (ganttPointOptions && ganttPointOptions.dependency) {
6749
- ganttPointOptions.connect = ganttPointOptions.dependency;
6753
+ ganttPointOptions.connect = ganttPointOptions
6754
+ .dependency;
6750
6755
  }
6751
6756
  var to,
6752
6757
  connects = (point.options &&
@@ -6848,7 +6853,7 @@
6848
6853
  *
6849
6854
  * @function Highcharts.Pathfinder#getChartObstacles
6850
6855
  *
6851
- * @param {object} options
6856
+ * @param {Object} options
6852
6857
  * Options for the calculation. Currenlty only
6853
6858
  * options.algorithmMargin.
6854
6859
  *
@@ -6907,7 +6912,7 @@
6907
6912
  * @param {Array<object>} obstacles
6908
6913
  * An array of obstacles to inspect.
6909
6914
  *
6910
- * @return {object}
6915
+ * @return {Object}
6911
6916
  * The calculated metrics, as an object with maxHeight and maxWidth
6912
6917
  * properties.
6913
6918
  */
@@ -7037,11 +7042,11 @@
7037
7042
  * The radius of the marker, to calculate the additional distance to
7038
7043
  * the center of the marker.
7039
7044
  *
7040
- * @param {object} anchor
7045
+ * @param {Object} anchor
7041
7046
  * The anchor point of the path and marker as an object with x/y
7042
7047
  * properties.
7043
7048
  *
7044
- * @return {object}
7049
+ * @return {Object}
7045
7050
  * The marker vector as an object with x/y properties.
7046
7051
  */
7047
7052
  getMarkerVector: function (radians, markerRadius, anchor) {
@@ -7238,7 +7243,9 @@
7238
7243
  cutOff = seriesOpts.stacking && !seriesOpts.borderRadius,
7239
7244
  diamondShape;
7240
7245
  if (point.options.milestone) {
7241
- if (isNumber(plotY) && point.y !== null && point.visible !== false) {
7246
+ if (isNumber(plotY) &&
7247
+ point.y !== null &&
7248
+ point.visible !== false) {
7242
7249
  diamondShape = renderer.symbols.diamond(shapeArgs.x || 0, shapeArgs.y || 0, shapeArgs.width || 0, shapeArgs.height || 0);
7243
7250
  if (graphic) {
7244
7251
  graphic[verb]({
@@ -7575,10 +7582,9 @@
7575
7582
  * Function to run when the chart has loaded and and all external
7576
7583
  * images are loaded.
7577
7584
  *
7578
- * @return {void}
7579
7585
  *
7580
- * @fires Highcharts.GanttChart#event:init
7581
- * @fires Highcharts.GanttChart#event:afterInit
7586
+ * @emits Highcharts.GanttChart#event:init
7587
+ * @emits Highcharts.GanttChart#event:afterInit
7582
7588
  */
7583
7589
  GanttChart.prototype.init = function (userOptions, callback) {
7584
7590
  var defaultOptions = getOptions(),
@@ -7643,7 +7649,8 @@
7643
7649
  reversed: true,
7644
7650
  // Set default type treegrid, but only if 'categories' is
7645
7651
  // undefined
7646
- type: yAxisOptions.categories ? yAxisOptions.type : 'treegrid'
7652
+ type: yAxisOptions.categories ?
7653
+ yAxisOptions.type : 'treegrid'
7647
7654
  }, yAxisOptions // user options
7648
7655
  );
7649
7656
  });
@@ -7787,7 +7794,8 @@
7787
7794
  from = unitedMin + range * (1 - this.to);
7788
7795
  }
7789
7796
  if (this.shouldUpdateExtremes(e.DOMType)) {
7790
- 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);
7791
7799
  }
7792
7800
  else {
7793
7801
  // When live redraw is disabled, don't change extremes
@@ -7804,7 +7812,7 @@
7804
7812
  scrollMin = _a.scrollMin,
7805
7813
  scrollMax = _a.scrollMax,
7806
7814
  scrollbar = axis.scrollbar,
7807
- offset = axis.axisTitleMargin + (axis.titleOffset || 0),
7815
+ offset = (axis.axisTitleMargin + (axis.titleOffset || 0)),
7808
7816
  scrollbarsOffsets = axis.chart.scrollbarsOffsets,
7809
7817
  axisMargin = axis.options.margin || 0,
7810
7818
  offsetsIndex,
@@ -7816,8 +7824,11 @@
7816
7824
  if (!axis.opposite) {
7817
7825
  scrollbarsOffsets[1] += offset;
7818
7826
  }
7819
- scrollbar.position(axis.left, axis.top + axis.height + 2 + scrollbarsOffsets[1] -
7820
- (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);
7821
7832
  // Next scrollbar should reserve space for margin (if set)
7822
7833
  if (!axis.opposite) {
7823
7834
  scrollbarsOffsets[1] += axisMargin;
@@ -7834,7 +7845,10 @@
7834
7845
  xPosition = axis.opposite ? 0 : axisMargin;
7835
7846
  }
7836
7847
  else {
7837
- xPosition = axis.left + axis.width + 2 + scrollbarsOffsets[0] -
7848
+ xPosition = axis.left +
7849
+ axis.width +
7850
+ 2 +
7851
+ scrollbarsOffsets[0] -
7838
7852
  (axis.opposite ? 0 : axisMargin);
7839
7853
  }
7840
7854
  scrollbar.position(xPosition, axis.top, axis.width, axis.height);
@@ -7858,10 +7872,10 @@
7858
7872
  scrollbar.setRange(0, 1);
7859
7873
  }
7860
7874
  else {
7861
- from =
7862
- (axis.min - scrollMin) / (scrollMax - scrollMin);
7863
- to =
7864
- (axis.max - scrollMin) / (scrollMax - scrollMin);
7875
+ from = ((axis.min - scrollMin) /
7876
+ (scrollMax - scrollMin));
7877
+ to = ((axis.max - scrollMin) /
7878
+ (scrollMax - scrollMin));
7865
7879
  if ((axis.horiz && !axis.reversed) ||
7866
7880
  (!axis.horiz && axis.reversed)) {
7867
7881
  scrollbar.setRange(from, to);
@@ -7880,7 +7894,8 @@
7880
7894
  index = axis.horiz ? 2 : opposite ? 3 : 1,
7881
7895
  scrollbar = axis.scrollbar;
7882
7896
  if (scrollbar) {
7883
- axis.chart.scrollbarsOffsets = [0, 0]; // reset scrollbars offsets
7897
+ // reset scrollbars offsets
7898
+ axis.chart.scrollbarsOffsets = [0, 0];
7884
7899
  axis.chart.axisOffset[index] +=
7885
7900
  scrollbar.size + scrollbar.options.margin;
7886
7901
  }
@@ -8247,10 +8262,16 @@
8247
8262
  mouseUpHandler = this.mouseUpHandler.bind(this);
8248
8263
  // Mouse events
8249
8264
  var _events = [
8250
- [buttons[buttonsOrder[0]].element, 'click',
8251
- this.buttonToMinClick.bind(this)],
8252
- [buttons[buttonsOrder[1]].element, 'click',
8253
- 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
+ ],
8254
8275
  [track, 'click',
8255
8276
  this.trackClick.bind(this)],
8256
8277
  [bar, 'mousedown',
@@ -8272,7 +8293,8 @@
8272
8293
  };
8273
8294
  Scrollbar.prototype.buttonToMaxClick = function (e) {
8274
8295
  var scroller = this;
8275
- 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));
8276
8298
  scroller.updatePosition(scroller.from + range, scroller.to + range);
8277
8299
  fireEvent(scroller, 'changed', {
8278
8300
  from: scroller.from,
@@ -8325,7 +8347,6 @@
8325
8347
  *
8326
8348
  * @private
8327
8349
  * @function Highcharts.Scrollbar#destroy
8328
- * @return {void}
8329
8350
  */
8330
8351
  Scrollbar.prototype.destroy = function () {
8331
8352
  var scroller = this,
@@ -8358,7 +8379,6 @@
8358
8379
  * @function Highcharts.Scrollbar#drawScrollbarButton
8359
8380
  * @param {number} index
8360
8381
  * 0 is left, 1 is right
8361
- * @return {void}
8362
8382
  */
8363
8383
  Scrollbar.prototype.drawScrollbarButton = function (index) {
8364
8384
  var scroller = this,
@@ -8451,7 +8471,8 @@
8451
8471
  var scroller = this,
8452
8472
  normalizedEvent = scroller.chart.pointer.normalize(e),
8453
8473
  options = scroller.options,
8454
- direction = options.vertical ? 'chartY' : 'chartX',
8474
+ direction = options.vertical ?
8475
+ 'chartY' : 'chartX',
8455
8476
  initPositions = scroller.initPositions || [];
8456
8477
  var scrollPosition,
8457
8478
  chartPosition,
@@ -8512,7 +8533,6 @@
8512
8533
  * width of the scrollbar
8513
8534
  * @param {number} height
8514
8535
  * height of the scorllbar
8515
- * @return {void}
8516
8536
  */
8517
8537
  Scrollbar.prototype.position = function (x, y, width, height) {
8518
8538
  var scroller = this,
@@ -8561,7 +8581,6 @@
8561
8581
  *
8562
8582
  * @private
8563
8583
  * @function Highcharts.Scrollbar#removeEvents
8564
- * @return {void}
8565
8584
  */
8566
8585
  Scrollbar.prototype.removeEvents = function () {
8567
8586
  this._events.forEach(function (args) {
@@ -8653,7 +8672,6 @@
8653
8672
  * scale (0-1) where bar should start
8654
8673
  * @param {number} to
8655
8674
  * scale (0-1) where bar should end
8656
- * @return {void}
8657
8675
  */
8658
8676
  Scrollbar.prototype.setRange = function (from, to) {
8659
8677
  var scroller = this,
@@ -8732,8 +8750,6 @@
8732
8750
  *
8733
8751
  * @private
8734
8752
  * @function Highcharts.Scrollbar#shouldUpdateExtremes
8735
- * @param {string} [eventType]
8736
- * @return {boolean}
8737
8753
  */
8738
8754
  Scrollbar.prototype.shouldUpdateExtremes = function (eventType) {
8739
8755
  return (pick(this.options.liveRedraw, H.svg && !H.isTouchDevice && !this.chart.isBoosting) ||
@@ -8783,7 +8799,6 @@
8783
8799
  * @function Highcharts.Scrollbar#updatePosition
8784
8800
  * @param {number} from
8785
8801
  * @param {number} to
8786
- * @return {void}
8787
8802
  */
8788
8803
  Scrollbar.prototype.updatePosition = function (from, to) {
8789
8804
  if (to > 1) {
@@ -9409,7 +9424,6 @@
9409
9424
  * @param {number} i
9410
9425
  * The index of the button
9411
9426
  * @param {boolean} [redraw]
9412
- * @return {void}
9413
9427
  */
9414
9428
  RangeSelector.prototype.clickButton = function (i, redraw) {
9415
9429
  var rangeSelector = this,
@@ -9507,7 +9521,8 @@
9507
9521
  // If the navigator exist and the axis range is declared reset that
9508
9522
  // range and from now on only use the range set by a user, #14742.
9509
9523
  if (chart.navigator && chart.navigator.baseSeries[0]) {
9510
- chart.navigator.baseSeries[0].xAxis.options.range = void 0;
9524
+ chart.navigator.baseSeries[0].xAxis.options
9525
+ .range = void 0;
9511
9526
  }
9512
9527
  newMin = dataMin;
9513
9528
  newMax = dataMax;
@@ -9552,7 +9567,6 @@
9552
9567
  * @private
9553
9568
  * @function Highcharts.RangeSelector#setSelected
9554
9569
  * @param {number} [selected]
9555
- * @return {void}
9556
9570
  */
9557
9571
  RangeSelector.prototype.setSelected = function (selected) {
9558
9572
  this.selected = this.options.selected = selected;
@@ -9563,12 +9577,11 @@
9563
9577
  * @private
9564
9578
  * @function Highcharts.RangeSelector#init
9565
9579
  * @param {Highcharts.Chart} chart
9566
- * @return {void}
9567
9580
  */
9568
9581
  RangeSelector.prototype.init = function (chart) {
9569
9582
  var rangeSelector = this,
9570
9583
  options = chart.options.rangeSelector,
9571
- buttonOptions = options.buttons || rangeSelector.defaultButtons.slice(),
9584
+ buttonOptions = (options.buttons || rangeSelector.defaultButtons.slice()),
9572
9585
  selectedOption = options.selected,
9573
9586
  blurInputs = function () {
9574
9587
  var minInput = rangeSelector.minInput,
@@ -9618,7 +9631,6 @@
9618
9631
  *
9619
9632
  * @private
9620
9633
  * @function Highcharts.RangeSelector#updateButtonStates
9621
- * @return {void}
9622
9634
  */
9623
9635
  RangeSelector.prototype.updateButtonStates = function () {
9624
9636
  var rangeSelector = this,
@@ -9724,7 +9736,6 @@
9724
9736
  * @private
9725
9737
  * @function Highcharts.RangeSelector#computeButtonRange
9726
9738
  * @param {Highcharts.RangeSelectorButtonsOptions} rangeOptions
9727
- * @return {void}
9728
9739
  */
9729
9740
  RangeSelector.prototype.computeButtonRange = function (rangeOptions) {
9730
9741
  var type = rangeOptions.type,
@@ -9759,12 +9770,11 @@
9759
9770
  *
9760
9771
  * @private
9761
9772
  * @function Highcharts.RangeSelector#getInputValue
9762
- * @param {string} name
9763
- * @return {number}
9764
9773
  */
9765
9774
  RangeSelector.prototype.getInputValue = function (name) {
9766
9775
  var input = name === 'min' ? this.minInput : this.maxInput;
9767
- var options = this.chart.options.rangeSelector;
9776
+ var options = this.chart.options
9777
+ .rangeSelector;
9768
9778
  var time = this.chart.time;
9769
9779
  if (input) {
9770
9780
  return ((input.type === 'text' && options.inputDateParser) ||
@@ -9777,9 +9787,6 @@
9777
9787
  *
9778
9788
  * @private
9779
9789
  * @function Highcharts.RangeSelector#setInputValue
9780
- * @param {string} name
9781
- * @param {number} [inputTime]
9782
- * @return {void}
9783
9790
  */
9784
9791
  RangeSelector.prototype.setInputValue = function (name, inputTime) {
9785
9792
  var options = this.options, time = this.chart.time, input = name === 'min' ? this.minInput : this.maxInput, dateBox = name === 'min' ? this.minDateBox : this.maxDateBox;
@@ -9794,7 +9801,8 @@
9794
9801
  input.setAttribute('data-hc-time', inputTime);
9795
9802
  updatedTime = inputTime;
9796
9803
  }
9797
- input.value = time.dateFormat(this.inputTypeFormats[input.type] || options.inputEditDateFormat, updatedTime);
9804
+ input.value = time.dateFormat((this.inputTypeFormats[input.type] ||
9805
+ options.inputEditDateFormat), updatedTime);
9798
9806
  if (dateBox) {
9799
9807
  dateBox.attr({
9800
9808
  text: time.dateFormat(options.inputDateFormat, updatedTime)
@@ -9807,10 +9815,6 @@
9807
9815
  *
9808
9816
  * @private
9809
9817
  * @function Highcharts.RangeSelector#setInputExtremes
9810
- * @param {string} name
9811
- * @param {number} min
9812
- * @param {number} max
9813
- * @return {void}
9814
9818
  */
9815
9819
  RangeSelector.prototype.setInputExtremes = function (name, min, max) {
9816
9820
  var input = name === 'min' ? this.minInput : this.maxInput;
@@ -9835,7 +9839,6 @@
9835
9839
  * @private
9836
9840
  * @function Highcharts.RangeSelector#showInput
9837
9841
  * @param {string} name
9838
- * @return {void}
9839
9842
  */
9840
9843
  RangeSelector.prototype.showInput = function (name) {
9841
9844
  var dateBox = name === 'min' ? this.minDateBox : this.maxDateBox;
@@ -9847,7 +9850,9 @@
9847
9850
  translateY = _a.translateY;
9848
9851
  var inputBoxWidth = this.options.inputBoxWidth;
9849
9852
  css(input, {
9850
- width: isTextInput ? ((dateBox.width + (inputBoxWidth ? -2 : 20)) + 'px') : 'auto',
9853
+ width: isTextInput ?
9854
+ ((dateBox.width + (inputBoxWidth ? -2 : 20)) + 'px') :
9855
+ 'auto',
9851
9856
  height: isTextInput ? ((dateBox.height - 2) + 'px') : 'auto',
9852
9857
  border: '2px solid silver'
9853
9858
  });
@@ -9873,7 +9878,6 @@
9873
9878
  * @private
9874
9879
  * @function Highcharts.RangeSelector#hideInput
9875
9880
  * @param {string} name
9876
- * @return {void}
9877
9881
  */
9878
9882
  RangeSelector.prototype.hideInput = function (name) {
9879
9883
  var input = name === 'min' ? this.minInput : this.maxInput;
@@ -9925,8 +9929,6 @@
9925
9929
  *
9926
9930
  * @private
9927
9931
  * @function Highcharts.RangeSelector#drawInput
9928
- * @param {string} name
9929
- * @return {RangeSelectorInputElements}
9930
9932
  */
9931
9933
  RangeSelector.prototype.drawInput = function (name) {
9932
9934
  var _a = this,
@@ -10095,8 +10097,6 @@
10095
10097
  *
10096
10098
  * @private
10097
10099
  * @function Highcharts.RangeSelector#getPosition
10098
- *
10099
- * @return {Highcharts.Dictionary<number>}
10100
10100
  */
10101
10101
  RangeSelector.prototype.getPosition = function () {
10102
10102
  var chart = this.chart,
@@ -10116,13 +10116,8 @@
10116
10116
  *
10117
10117
  * @private
10118
10118
  * @function Highcharts.RangeSelector#getYTDExtremes
10119
- *
10120
- * @param {number} dataMax
10121
- *
10122
- * @param {number} dataMin
10123
- *
10124
10119
  * @return {*}
10125
- * Returns min and max for the YTD
10120
+ * Returns min and max for the YTD
10126
10121
  */
10127
10122
  RangeSelector.prototype.getYTDExtremes = function (dataMax, dataMin, useUTC) {
10128
10123
  var time = this.chart.time,
@@ -10151,7 +10146,6 @@
10151
10146
  * X axis minimum
10152
10147
  * @param {number} [max]
10153
10148
  * X axis maximum
10154
- * @return {void}
10155
10149
  */
10156
10150
  RangeSelector.prototype.render = function (min, max) {
10157
10151
  var chart = this.chart,
@@ -10205,7 +10199,8 @@
10205
10199
  this.setInputValue('min', min);
10206
10200
  this.setInputValue('max', max);
10207
10201
  var unionExtremes = (chart.scroller && chart.scroller.getUnionExtremes()) || chart.xAxis[0] || {};
10208
- if (defined(unionExtremes.dataMin) && defined(unionExtremes.dataMax)) {
10202
+ if (defined(unionExtremes.dataMin) &&
10203
+ defined(unionExtremes.dataMax)) {
10209
10204
  var minRange = chart.xAxis[0].minRange || 0;
10210
10205
  this.setInputExtremes('min', unionExtremes.dataMin, Math.min(unionExtremes.dataMax, this.getInputValue('max')) - minRange);
10211
10206
  this.setInputExtremes('max', Math.max(unionExtremes.dataMin, this.getInputValue('min')) + minRange, unionExtremes.dataMax);
@@ -10238,7 +10233,6 @@
10238
10233
  *
10239
10234
  * @private
10240
10235
  * @function Highcharts.RangeSelector#renderButtons
10241
- * @return {void}
10242
10236
  */
10243
10237
  RangeSelector.prototype.renderButtons = function () {
10244
10238
  var _this = this;
@@ -10339,7 +10333,6 @@
10339
10333
  *
10340
10334
  * @private
10341
10335
  * @function Highcharts.RangeSelector#alignElements
10342
- * @return {void}
10343
10336
  */
10344
10337
  RangeSelector.prototype.alignElements = function () {
10345
10338
  var _this = this;
@@ -10495,7 +10488,6 @@
10495
10488
  * @function Highcharts.RangeSelector#alignButtonGroup
10496
10489
  * @param {number} xOffsetForExportButton
10497
10490
  * @param {number} [width]
10498
- * @return {void}
10499
10491
  */
10500
10492
  RangeSelector.prototype.alignButtonGroup = function (xOffsetForExportButton, width) {
10501
10493
  var _a = this,
@@ -10525,7 +10517,6 @@
10525
10517
  /**
10526
10518
  * @private
10527
10519
  * @function Highcharts.RangeSelector#positionButtons
10528
- * @return {void}
10529
10520
  */
10530
10521
  RangeSelector.prototype.positionButtons = function () {
10531
10522
  var _a = this,
@@ -10566,7 +10557,6 @@
10566
10557
  * @param {number} xOffsetForExportButton
10567
10558
  * The X offset of the group required to make room for the
10568
10559
  * exporting button
10569
- * @return {void}
10570
10560
  */
10571
10561
  RangeSelector.prototype.handleCollision = function (xOffsetForExportButton) {
10572
10562
  var _this = this;
@@ -10667,7 +10657,6 @@
10667
10657
  * @private
10668
10658
  * @function Highcharts.RangeSelector#collapseButtons
10669
10659
  * @param {number} xOffsetForExportButton
10670
- * @return {void}
10671
10660
  */
10672
10661
  RangeSelector.prototype.collapseButtons = function (xOffsetForExportButton) {
10673
10662
  var _a = this,
@@ -10721,7 +10710,6 @@
10721
10710
  *
10722
10711
  * @private
10723
10712
  * @function Highcharts.RangeSelector#expandButtons
10724
- * @return {void}
10725
10713
  */
10726
10714
  RangeSelector.prototype.expandButtons = function () {
10727
10715
  var _a = this,
@@ -10753,7 +10741,6 @@
10753
10741
  *
10754
10742
  * @private
10755
10743
  * @function Highcharts.RangeSelector#currentButtonIndex
10756
- * @return {number}
10757
10744
  */
10758
10745
  RangeSelector.prototype.currentButtonIndex = function () {
10759
10746
  var dropdown = this.dropdown;
@@ -10767,7 +10754,6 @@
10767
10754
  *
10768
10755
  * @private
10769
10756
  * @function Highcharts.RangeSelector#showDropdown
10770
- * @return {void}
10771
10757
  */
10772
10758
  RangeSelector.prototype.showDropdown = function () {
10773
10759
  var _a = this,
@@ -10791,7 +10777,6 @@
10791
10777
  /**
10792
10778
  * @private
10793
10779
  * @function Highcharts.RangeSelector#hideDropdown
10794
- * @return {void}
10795
10780
  */
10796
10781
  RangeSelector.prototype.hideDropdown = function () {
10797
10782
  var dropdown = this.dropdown;
@@ -10810,7 +10795,7 @@
10810
10795
  * @private
10811
10796
  * @function Highcharts.RangeSelector#getHeight
10812
10797
  * @return {number}
10813
- * Returns rangeSelector height
10798
+ * Returns rangeSelector height
10814
10799
  */
10815
10800
  RangeSelector.prototype.getHeight = function () {
10816
10801
  var rangeSelector = this,
@@ -10846,11 +10831,8 @@
10846
10831
  *
10847
10832
  * @private
10848
10833
  * @function Highcharts.RangeSelector#titleCollision
10849
- *
10850
- * @param {Highcharts.Chart} chart
10851
- *
10852
10834
  * @return {boolean}
10853
- * Returns collision status
10835
+ * Returns collision status
10854
10836
  */
10855
10837
  RangeSelector.prototype.titleCollision = function (chart) {
10856
10838
  return !(chart.options.title.text ||
@@ -10862,7 +10844,6 @@
10862
10844
  * @private
10863
10845
  * @function Highcharts.RangeSelector#update
10864
10846
  * @param {Highcharts.RangeSelectorOptions} options
10865
- * @return {void}
10866
10847
  */
10867
10848
  RangeSelector.prototype.update = function (options) {
10868
10849
  var chart = this.chart;
@@ -10958,17 +10939,14 @@
10958
10939
  *
10959
10940
  * @private
10960
10941
  * @function preferredInputType
10961
- * @param {string} format
10962
- * @return {string}
10963
10942
  */
10964
10943
  function preferredInputType(format) {
10965
10944
  var ms = format.indexOf('%L') !== -1;
10966
10945
  if (ms) {
10967
10946
  return 'text';
10968
10947
  }
10969
- var date = ['a', 'A', 'd', 'e', 'w', 'b', 'B', 'm', 'o', 'y', 'Y'].some(function (char) {
10970
- return format.indexOf('%' + char) !== -1;
10971
- });
10948
+ var date = ['a', 'A', 'd', 'e', 'w', 'b', 'B', 'm', 'o', 'y', 'Y']
10949
+ .some(function (char) { return format.indexOf('%' + char) !== -1; });
10972
10950
  var time = ['H', 'k', 'I', 'l', 'M', 'S'].some(function (char) {
10973
10951
  return format.indexOf('%' + char) !== -1;
10974
10952
  });
@@ -11005,7 +10983,8 @@
11005
10983
  // Get the true range from a start date
11006
10984
  getTrueRange = function (base,
11007
10985
  count) {
11008
- var timeName = type === 'year' ? 'FullYear' : 'Month';
10986
+ var timeName = type === 'year' ?
10987
+ 'FullYear' : 'Month';
11009
10988
  var date = new time.Date(base);
11010
10989
  var basePeriod = time.get(timeName,
11011
10990
  date);
@@ -11259,11 +11238,6 @@
11259
11238
  *
11260
11239
  * @private
11261
11240
  * @function Highcharts.Axis#toFixedRange
11262
- * @param {number} [pxMin]
11263
- * @param {number} [pxMax]
11264
- * @param {number} [fixedMin]
11265
- * @param {number} [fixedMax]
11266
- * @return {*}
11267
11241
  */
11268
11242
  NavigatorAxisAdditions.prototype.toFixedRange = function (pxMin, pxMax, fixedMin, fixedMax) {
11269
11243
  var navigator = this;
@@ -12014,17 +11988,32 @@
12014
11988
  verticalMin = navigatorTop + zoomedMax + outlineCorrection;
12015
11989
  zoomedMax = navigatorTop + zoomedMin + outlineCorrection;
12016
11990
  path = [
12017
- ['M', left + outlineHeight, navigatorTop - scrollbarHeight - outlineCorrection],
11991
+ [
11992
+ 'M',
11993
+ left + outlineHeight,
11994
+ navigatorTop - scrollbarHeight - outlineCorrection
11995
+ ],
11996
+ // top right of zoomed range
12018
11997
  ['L', left + outlineHeight, verticalMin],
12019
11998
  ['L', left, verticalMin],
12020
11999
  ['L', left, zoomedMax],
12021
12000
  ['L', left + outlineHeight, zoomedMax],
12022
- ['L', left + outlineHeight, navigatorTop + navigatorSize + scrollbarHeight]
12001
+ [
12002
+ 'L',
12003
+ left + outlineHeight,
12004
+ navigatorTop + navigatorSize + scrollbarHeight
12005
+ ]
12023
12006
  ];
12024
12007
  if (maskInside) {
12025
- path.push(['M', left + outlineHeight, verticalMin - halfOutline], // upper left of zoomed range
12026
- ['L', left + outlineHeight, zoomedMax + halfOutline] // upper right of z.r.
12027
- );
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
+ ]);
12028
12017
  }
12029
12018
  }
12030
12019
  else {
@@ -12032,17 +12021,25 @@
12032
12021
  zoomedMax += left + scrollbarHeight - outlineCorrection;
12033
12022
  navigatorTop += halfOutline;
12034
12023
  path = [
12024
+ // left
12035
12025
  ['M', left, navigatorTop],
12026
+ // upper left of zoomed range
12036
12027
  ['L', zoomedMin, navigatorTop],
12028
+ // lower left of z.r.
12037
12029
  ['L', zoomedMin, navigatorTop + outlineHeight],
12030
+ // lower right of z.r.
12038
12031
  ['L', zoomedMax, navigatorTop + outlineHeight],
12032
+ // upper right of z.r.
12039
12033
  ['L', zoomedMax, navigatorTop],
12040
- ['L', left + navigatorSize + scrollbarHeight * 2, navigatorTop] // right
12034
+ // right
12035
+ ['L', left + navigatorSize + scrollbarHeight * 2, navigatorTop]
12041
12036
  ];
12042
12037
  if (maskInside) {
12043
- path.push(['M', zoomedMin - halfOutline, navigatorTop], // upper left of zoomed range
12044
- ['L', zoomedMax + halfOutline, navigatorTop] // upper right of z.r.
12045
- );
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]);
12046
12043
  }
12047
12044
  }
12048
12045
  navigator.outline[verb]({
@@ -12228,7 +12225,6 @@
12228
12225
  * Pixel value minimum
12229
12226
  * @param {number} [pxMax]
12230
12227
  * Pixel value maximum
12231
- * @return {void}
12232
12228
  */
12233
12229
  Navigator.prototype.render = function (min, max, pxMin, pxMax) {
12234
12230
  var navigator = this,
@@ -12505,7 +12501,6 @@
12505
12501
  * Mouse event
12506
12502
  * @param {number} index
12507
12503
  * Index of a handle in Navigator.handles array
12508
- * @return {void}
12509
12504
  */
12510
12505
  Navigator.prototype.handlesMousedown = function (e, index) {
12511
12506
  e = this.chart.pointer.normalize(e);
@@ -12601,7 +12596,6 @@
12601
12596
  * @function Highcharts.Navigator#onMouseUp
12602
12597
  * @param {Highcharts.PointerEventObject} e
12603
12598
  * Mouse event
12604
- * @return {void}
12605
12599
  */
12606
12600
  Navigator.prototype.onMouseUp = function (e) {
12607
12601
  var navigator = this,
@@ -12688,7 +12682,6 @@
12688
12682
  *
12689
12683
  * @private
12690
12684
  * @function Highcharts.Navigator#removeEvents
12691
- * @return {void}
12692
12685
  */
12693
12686
  Navigator.prototype.removeEvents = function () {
12694
12687
  if (this.eventsToUnbind) {
@@ -12704,7 +12697,6 @@
12704
12697
  *
12705
12698
  * @private
12706
12699
  * @function Highcharts.Navigator#removeBaseSeriesEvents
12707
- * @return {void}
12708
12700
  */
12709
12701
  Navigator.prototype.removeBaseSeriesEvents = function () {
12710
12702
  var baseSeries = this.baseSeries || [];
@@ -12790,7 +12782,8 @@
12790
12782
  offset: 0,
12791
12783
  index: yAxisIndex,
12792
12784
  isInternal: true,
12793
- 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),
12794
12787
  zoomEnabled: false
12795
12788
  }, chart.inverted ? {
12796
12789
  width: height
@@ -12872,9 +12865,6 @@
12872
12865
  *
12873
12866
  * @private
12874
12867
  * @function Highcharts.Navigator#getUnionExtremes
12875
- * @param {boolean} [returnFalseOnNoBaseSeries]
12876
- * as the param says.
12877
- * @return {Highcharts.Dictionary<(number|undefined)>|undefined}
12878
12868
  */
12879
12869
  Navigator.prototype.getUnionExtremes = function (returnFalseOnNoBaseSeries) {
12880
12870
  var baseAxis = this.chart.xAxis[0],
@@ -12902,7 +12892,6 @@
12902
12892
  * Additional series options for a navigator
12903
12893
  * @param {boolean} [redraw]
12904
12894
  * Whether to redraw after update.
12905
- * @return {void}
12906
12895
  */
12907
12896
  Navigator.prototype.setBaseSeries = function (baseSeriesOptions, redraw) {
12908
12897
  var chart = this.chart,
@@ -12941,7 +12930,6 @@
12941
12930
  * @function Highcharts.Navigator.updateNavigatorSeries
12942
12931
  * @param {boolean} addEvents
12943
12932
  * @param {boolean} [redraw]
12944
- * @return {void}
12945
12933
  */
12946
12934
  Navigator.prototype.updateNavigatorSeries = function (addEvents, redraw) {
12947
12935
  var navigator = this,
@@ -13082,7 +13070,6 @@
13082
13070
  *
13083
13071
  * @private
13084
13072
  * @function Highcharts.Navigator#addBaseSeriesEvent
13085
- * @return {void}
13086
13073
  */
13087
13074
  Navigator.prototype.addBaseSeriesEvents = function () {
13088
13075
  var navigator = this,
@@ -13276,7 +13263,6 @@
13276
13263
  *
13277
13264
  * @private
13278
13265
  * @function Highcharts.Navigator#addChartEvents
13279
- * @return {void}
13280
13266
  */
13281
13267
  Navigator.prototype.addChartEvents = function () {
13282
13268
  if (!this.eventsToUnbind) {