highcharts 9.3.1 → 10.0.0

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 (862) hide show
  1. package/bower.json +1 -1
  2. package/css/annotations/popup.css +1 -1
  3. package/css/highcharts.css +21 -4
  4. package/css/highcharts.scss +18 -3
  5. package/css/stocktools/gui.css +1 -1
  6. package/css/themes/dark-unica.css +21 -4
  7. package/css/themes/grid-light.css +21 -4
  8. package/css/themes/sand-signika.css +21 -4
  9. package/es-modules/Accessibility/A11yI18n.js +1 -5
  10. package/es-modules/Accessibility/Accessibility.js +12 -6
  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 +196 -98
  16. package/es-modules/Accessibility/Components/MenuComponent.js +16 -15
  17. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +11 -14
  18. package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +22 -12
  19. package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +9 -5
  20. package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +3 -2
  21. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +19 -44
  22. package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +77 -56
  23. package/es-modules/Accessibility/Components/ZoomComponent.js +148 -67
  24. package/es-modules/Accessibility/FocusBorder.js +0 -5
  25. package/es-modules/Accessibility/HighContrastMode.js +4 -3
  26. package/es-modules/Accessibility/KeyboardNavigation.js +117 -101
  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 +26 -12
  30. package/es-modules/Accessibility/ProxyProvider.js +10 -5
  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 +189 -111
  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 +28 -8
  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 +34 -23
  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 +15 -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 +24 -21
  55. package/es-modules/Core/Chart/ChartDefaults.js +32 -11
  56. package/es-modules/Core/Chart/GanttChart.js +4 -4
  57. package/es-modules/Core/Chart/MapChart.js +4 -9
  58. package/es-modules/Core/Chart/StockChart.js +10 -23
  59. package/es-modules/Core/DefaultOptions.js +5 -2
  60. package/es-modules/Core/Geometry/CircleUtilities.js +2 -1
  61. package/es-modules/Core/Geometry/PolygonClip.js +84 -0
  62. package/es-modules/Core/Globals.js +4 -18
  63. package/es-modules/Core/HttpUtilities.js +18 -12
  64. package/es-modules/Core/Legend/Legend.js +22 -21
  65. package/es-modules/Core/Navigator.js +43 -28
  66. package/es-modules/Core/Pointer.js +28 -20
  67. package/es-modules/Core/Renderer/HTML/AST.js +88 -18
  68. package/es-modules/Core/Renderer/HTML/HTMLElement.js +4 -2
  69. package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +8 -6
  70. package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
  71. package/es-modules/Core/Renderer/SVG/SVGElement.js +33 -57
  72. package/es-modules/Core/Renderer/SVG/SVGElement3D.js +17 -5
  73. package/es-modules/Core/Renderer/SVG/SVGLabel.js +17 -8
  74. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +21 -28
  75. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +12 -5
  76. package/es-modules/Core/Renderer/SVG/TextBuilder.js +25 -17
  77. package/es-modules/Core/Responsive.js +2 -3
  78. package/es-modules/Core/Scrollbar.js +14 -12
  79. package/es-modules/Core/Series/DataLabel.js +26 -13
  80. package/es-modules/Core/Series/Point.js +19 -18
  81. package/es-modules/Core/Series/Series.js +77 -88
  82. package/es-modules/Core/Series/SeriesDefaults.js +9 -5
  83. package/es-modules/Core/Time.js +14 -11
  84. package/es-modules/Core/Tooltip.js +30 -64
  85. package/es-modules/Core/Utilities.js +33 -45
  86. package/es-modules/Data/DataConverter.js +0 -6
  87. package/es-modules/Data/DataSeriesConverter.js +9 -5
  88. package/es-modules/Data/DataTable.js +2 -1
  89. package/es-modules/Data/Modifiers/DataModifier.js +1 -1
  90. package/es-modules/Data/Parsers/CSVParser.js +3 -2
  91. package/es-modules/Data/Parsers/GoogleSheetsParser.js +5 -2
  92. package/es-modules/Data/Stores/CSVStore.js +2 -2
  93. package/es-modules/Data/Stores/DataStore.js +1 -1
  94. package/es-modules/Data/Stores/GoogleSheetsStore.js +3 -1
  95. package/es-modules/Data/Stores/HTMLTableStore.js +3 -1
  96. package/es-modules/Extensions/Annotations/Annotations.js +18 -10
  97. package/es-modules/Extensions/Annotations/ControlPoint.js +0 -2
  98. package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +1 -1
  99. package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +1 -1
  100. package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +1 -1
  101. package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +3 -6
  102. package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +3 -2
  103. package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +1 -1
  104. package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +6 -3
  105. package/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +0 -1
  106. package/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +5 -4
  107. package/es-modules/Extensions/Annotations/MockPoint.js +1 -1
  108. package/es-modules/Extensions/Annotations/NavigationBindings.js +34 -29
  109. package/es-modules/Extensions/Annotations/Popup.js +40 -32
  110. package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +5 -3
  111. package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -2
  112. package/es-modules/Extensions/Annotations/Types/ElliottWave.js +1 -1
  113. package/es-modules/Extensions/Annotations/Types/Measure.js +15 -11
  114. package/es-modules/Extensions/Annotations/Types/Pitchfork.js +2 -1
  115. package/es-modules/Extensions/Annotations/Types/TimeCycles.js +8 -4
  116. package/es-modules/Extensions/Annotations/Types/Tunnel.js +10 -5
  117. package/es-modules/Extensions/Boost/BoostInit.js +6 -1
  118. package/es-modules/Extensions/Boost/BoostOptions.js +26 -0
  119. package/es-modules/Extensions/Boost/BoostOverrides.js +3 -9
  120. package/es-modules/Extensions/Boost/BoostUtils.js +0 -6
  121. package/es-modules/Extensions/Boost/Boostables.js +1 -0
  122. package/es-modules/Extensions/Boost/WGLRenderer.js +64 -49
  123. package/es-modules/Extensions/Boost/WGLShader.js +13 -11
  124. package/es-modules/Extensions/Boost/WGLVBuffer.js +4 -7
  125. package/es-modules/Extensions/Breadcrumbs.js +874 -0
  126. package/es-modules/Extensions/Data.js +30 -62
  127. package/es-modules/Extensions/DataGrouping.js +27 -17
  128. package/es-modules/Extensions/DraggablePoints.js +16 -15
  129. package/es-modules/Extensions/Drilldown.js +148 -90
  130. package/es-modules/Extensions/ExportData.js +6 -5
  131. package/es-modules/Extensions/Exporting/Exporting.js +32 -44
  132. package/es-modules/Extensions/Exporting/ExportingDefaults.js +49 -1
  133. package/es-modules/Extensions/FullScreen.js +4 -3
  134. package/es-modules/Extensions/GeoJSON.js +152 -127
  135. package/es-modules/Extensions/MarkerClusters.js +37 -21
  136. package/es-modules/Extensions/Math3D.js +4 -4
  137. package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +133 -46
  138. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  139. package/es-modules/Extensions/Oldie/Oldie.js +13 -77
  140. package/es-modules/Extensions/Oldie/VMLAxis3D.js +5 -1
  141. package/es-modules/Extensions/OverlappingDataLabels.js +10 -6
  142. package/es-modules/Extensions/Pane.js +6 -6
  143. package/es-modules/Extensions/ParallelCoordinates.js +5 -3
  144. package/es-modules/Extensions/PatternFill.js +17 -11
  145. package/es-modules/Extensions/Polar.js +6 -3
  146. package/es-modules/Extensions/PriceIndication.js +2 -1
  147. package/es-modules/Extensions/RangeSelector.js +19 -55
  148. package/es-modules/Extensions/ScrollablePlotArea.js +7 -3
  149. package/es-modules/Extensions/SeriesLabel.js +1 -1
  150. package/es-modules/Extensions/Sonification/ChartSonify.js +32 -26
  151. package/es-modules/Extensions/Sonification/Instrument.js +12 -15
  152. package/es-modules/Extensions/Sonification/PointSonify.js +12 -8
  153. package/es-modules/Extensions/Sonification/SeriesSonify.js +33 -18
  154. package/es-modules/Extensions/Sonification/SignalHandler.js +4 -6
  155. package/es-modules/Extensions/Sonification/Sonification.js +1 -1
  156. package/es-modules/Extensions/Sonification/SonificationUtilities.js +11 -7
  157. package/es-modules/Extensions/Sonification/Timeline.js +2 -7
  158. package/es-modules/Extensions/Sonification/TimelineEvent.js +0 -1
  159. package/es-modules/Extensions/Sonification/TimelinePath.js +8 -8
  160. package/es-modules/Extensions/Stacking.js +8 -25
  161. package/es-modules/Extensions/Themes/BrandDark.js +293 -0
  162. package/es-modules/Extensions/Themes/BrandLight.js +259 -0
  163. package/es-modules/Extensions/Themes/DarkUnica.js +4 -2
  164. package/es-modules/Extensions/Themes/Grid.js +4 -2
  165. package/es-modules/Extensions/Themes/GridLight.js +4 -2
  166. package/es-modules/Extensions/Themes/HighContrastDark.js +10 -10
  167. package/es-modules/Extensions/Themes/HighContrastLight.js +10 -10
  168. package/es-modules/Gantt/Connection.js +2 -2
  169. package/es-modules/Gantt/Pathfinder.js +6 -5
  170. package/es-modules/Gantt/PathfinderAlgorithms.js +12 -12
  171. package/es-modules/Maps/MapNavigation.js +54 -14
  172. package/es-modules/Maps/MapPointer.js +18 -1
  173. package/es-modules/Maps/MapSymbols.js +23 -3
  174. package/es-modules/Maps/MapUtilities.js +56 -0
  175. package/es-modules/Maps/MapView.js +606 -135
  176. package/es-modules/Maps/MapViewInsetsOptionsDefault.js +148 -0
  177. package/es-modules/Maps/MapViewOptionsDefault.js +58 -20
  178. package/es-modules/Maps/Projection.js +169 -77
  179. package/es-modules/Maps/Projections/EqualEarth.js +15 -6
  180. package/es-modules/Maps/Projections/LambertConformalConic.js +27 -19
  181. package/es-modules/Maps/Projections/Miller.js +23 -10
  182. package/es-modules/Maps/Projections/Orthographic.js +21 -10
  183. package/es-modules/Maps/Projections/WebMercator.js +25 -13
  184. package/es-modules/Series/ArcDiagram/ArcDiagramPoint.js +77 -0
  185. package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +581 -0
  186. package/es-modules/Series/Area/AreaSeries.js +13 -13
  187. package/es-modules/Series/Area3DSeries.js +4 -2
  188. package/es-modules/Series/AreaRange/AreaRangeSeries.js +24 -12
  189. package/es-modules/Series/Bellcurve/BellcurveSeries.js +2 -1
  190. package/es-modules/Series/Bubble/BubbleLegendItem.js +2 -12
  191. package/es-modules/Series/Candlestick/CandlestickSeries.js +0 -1
  192. package/es-modules/Series/ColorMapMixin.js +84 -0
  193. package/es-modules/Series/Column/ColumnSeries.js +20 -17
  194. package/es-modules/Series/Column3D/Column3DComposition.js +1 -2
  195. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +5 -2
  196. package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +2 -1
  197. package/es-modules/Series/Cylinder/CylinderComposition.js +36 -4
  198. package/es-modules/Series/DataModifyComposition.js +1 -0
  199. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +3 -3
  200. package/es-modules/Series/DrawPointComposition.js +7 -4
  201. package/es-modules/Series/Dumbbell/DumbbellPoint.js +0 -1
  202. package/es-modules/Series/Dumbbell/DumbbellSeries.js +0 -3
  203. package/es-modules/Series/Flags/FlagsSymbols.js +2 -2
  204. package/es-modules/Series/Funnel3D/Funnel3DComposition.js +14 -8
  205. package/es-modules/Series/Funnel3D/Funnel3DSeries.js +2 -1
  206. package/es-modules/Series/Gantt/GanttPoint.js +1 -1
  207. package/es-modules/Series/Gantt/GanttSeries.js +3 -1
  208. package/es-modules/Series/HLC/HLCSeries.js +1 -6
  209. package/es-modules/Series/Heatmap/HeatmapPoint.js +10 -10
  210. package/es-modules/Series/Heatmap/HeatmapSeries.js +9 -10
  211. package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +8 -6
  212. package/es-modules/Series/Histogram/HistogramSeries.js +4 -4
  213. package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +1 -4
  214. package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +19 -20
  215. package/es-modules/Series/Item/ItemSeries.js +4 -5
  216. package/es-modules/Series/Lollipop/LollipopSeries.js +1 -1
  217. package/es-modules/Series/Map/MapPoint.js +30 -1
  218. package/es-modules/Series/Map/MapSeries.js +216 -190
  219. package/es-modules/Series/MapBubble/MapBubblePoint.js +16 -24
  220. package/es-modules/Series/MapBubble/MapBubbleSeries.js +11 -0
  221. package/es-modules/Series/MapLine/MapLineSeries.js +0 -4
  222. package/es-modules/Series/MapPoint/MapPointPoint.js +2 -8
  223. package/es-modules/Series/MapPoint/MapPointSeries.js +36 -14
  224. package/es-modules/Series/Networkgraph/DraggableNodes.js +0 -4
  225. package/es-modules/Series/Networkgraph/Integrations.js +8 -22
  226. package/es-modules/Series/Networkgraph/Networkgraph.js +1 -5
  227. package/es-modules/Series/Networkgraph/QuadTree.js +1 -3
  228. package/es-modules/Series/NodesComposition.js +60 -12
  229. package/es-modules/Series/OHLC/OHLCPoint.js +0 -1
  230. package/es-modules/Series/OHLC/OHLCSeries.js +8 -1
  231. package/es-modules/Series/Organization/OrganizationPoint.js +68 -2
  232. package/es-modules/Series/Organization/OrganizationSeries.js +81 -25
  233. package/es-modules/Series/PackedBubble/PackedBubbleComposition.js +1 -0
  234. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
  235. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +2 -4
  236. package/es-modules/Series/Pie/PiePoint.js +14 -7
  237. package/es-modules/Series/Pie/PieSeries.js +1 -1
  238. package/es-modules/Series/Pie3D/Pie3DComposition.js +2 -1
  239. package/es-modules/Series/Pie3D/Pie3DPoint.js +2 -1
  240. package/es-modules/Series/Pie3D/Pie3DSeries.js +20 -1
  241. package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +2 -1
  242. package/es-modules/Series/Sankey/SankeyColumnComposition.js +193 -0
  243. package/es-modules/Series/Sankey/SankeyPoint.js +37 -1
  244. package/es-modules/Series/Sankey/SankeySeries.js +10 -126
  245. package/es-modules/Series/Scatter/ScatterSeries.js +1 -1
  246. package/es-modules/Series/SolidGauge/SolidGaugeComposition.js +3 -1
  247. package/es-modules/Series/Spline/SplineSeries.js +0 -8
  248. package/es-modules/Series/Sunburst/SunburstSeries.js +15 -4
  249. package/es-modules/Series/Sunburst/SunburstUtilities.js +3 -2
  250. package/es-modules/Series/Tilemap/TilemapPoint.js +0 -2
  251. package/es-modules/Series/Tilemap/TilemapShapes.js +0 -7
  252. package/es-modules/Series/TreeUtilities.js +2 -2
  253. package/es-modules/Series/Treemap/TreemapSeries.js +104 -99
  254. package/es-modules/Series/Variwide/VariwideSeries.js +5 -1
  255. package/es-modules/Series/Venn/VennSeries.js +6 -9
  256. package/es-modules/Series/Venn/VennUtils.js +8 -7
  257. package/es-modules/Series/Waterfall/WaterfallSeries.js +8 -3
  258. package/es-modules/Series/Wordcloud/WordcloudSeries.js +2 -2
  259. package/es-modules/Series/Wordcloud/WordcloudUtils.js +6 -10
  260. package/es-modules/Series/XRange/XRangePoint.js +6 -12
  261. package/es-modules/Series/XRange/XRangeSeries.js +4 -20
  262. package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +12 -0
  263. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -0
  264. package/es-modules/Stock/Indicators/BB/BBIndicator.js +12 -0
  265. package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +35 -15
  266. package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +9 -5
  267. package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +2 -1
  268. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +6 -6
  269. package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +12 -0
  270. package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +8 -3
  271. package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +30 -12
  272. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -1
  273. package/es-modules/Stock/Indicators/MultipleLinesComposition.js +70 -6
  274. package/es-modules/Stock/Indicators/PC/PCIndicator.js +11 -0
  275. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +2 -1
  276. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +2 -1
  277. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +11 -5
  278. package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -1
  279. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +3 -3
  280. package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +19 -7
  281. package/es-modules/Stock/StockToolsBindings.js +13 -6
  282. package/es-modules/Stock/StockToolsGui.js +34 -23
  283. package/es-modules/masters/highcharts-3d.src.js +1 -1
  284. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  285. package/es-modules/masters/highcharts-more.src.js +1 -1
  286. package/es-modules/masters/highcharts.src.js +1 -1
  287. package/es-modules/masters/highmaps.src.js +1 -1
  288. package/es-modules/masters/highstock.src.js +1 -1
  289. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  290. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  291. package/es-modules/masters/indicators/ao.src.js +1 -1
  292. package/es-modules/masters/indicators/apo.src.js +1 -1
  293. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  294. package/es-modules/masters/indicators/aroon.src.js +1 -1
  295. package/es-modules/masters/indicators/atr.src.js +1 -1
  296. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  297. package/es-modules/masters/indicators/cci.src.js +1 -1
  298. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  299. package/es-modules/masters/indicators/cmf.src.js +1 -1
  300. package/es-modules/masters/indicators/cmo.src.js +1 -1
  301. package/es-modules/masters/indicators/dema.src.js +1 -1
  302. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  303. package/es-modules/masters/indicators/dmi.src.js +1 -1
  304. package/es-modules/masters/indicators/dpo.src.js +1 -1
  305. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  306. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  307. package/es-modules/masters/indicators/indicators.src.js +1 -1
  308. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  309. package/es-modules/masters/indicators/klinger.src.js +1 -1
  310. package/es-modules/masters/indicators/macd.src.js +1 -1
  311. package/es-modules/masters/indicators/mfi.src.js +1 -1
  312. package/es-modules/masters/indicators/momentum.src.js +1 -1
  313. package/es-modules/masters/indicators/natr.src.js +1 -1
  314. package/es-modules/masters/indicators/obv.src.js +1 -1
  315. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  316. package/es-modules/masters/indicators/ppo.src.js +1 -1
  317. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  318. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  319. package/es-modules/masters/indicators/psar.src.js +1 -1
  320. package/es-modules/masters/indicators/regressions.src.js +1 -1
  321. package/es-modules/masters/indicators/roc.src.js +1 -1
  322. package/es-modules/masters/indicators/rsi.src.js +1 -1
  323. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  324. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  325. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  326. package/es-modules/masters/indicators/tema.src.js +1 -1
  327. package/es-modules/masters/indicators/trendline.src.js +1 -1
  328. package/es-modules/masters/indicators/trix.src.js +1 -1
  329. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  330. package/es-modules/masters/indicators/vwap.src.js +1 -1
  331. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  332. package/es-modules/masters/indicators/wma.src.js +1 -1
  333. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  334. package/es-modules/masters/modules/accessibility.src.js +2 -2
  335. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  336. package/es-modules/masters/modules/annotations.src.js +1 -1
  337. package/es-modules/masters/modules/arc-diagram.src.js +14 -0
  338. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  339. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  340. package/es-modules/masters/modules/boost.src.js +1 -1
  341. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  342. package/es-modules/masters/modules/bullet.src.js +1 -1
  343. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  344. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  345. package/es-modules/masters/modules/cylinder.src.js +1 -1
  346. package/es-modules/masters/modules/data.src.js +1 -1
  347. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  348. package/es-modules/masters/modules/debugger.src.js +1 -1
  349. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  350. package/es-modules/masters/modules/dotplot.src.js +1 -1
  351. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  352. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  353. package/es-modules/masters/modules/drilldown.src.js +2 -1
  354. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  355. package/es-modules/masters/modules/export-data.src.js +1 -1
  356. package/es-modules/masters/modules/exporting.src.js +1 -1
  357. package/es-modules/masters/modules/full-screen.src.js +1 -1
  358. package/es-modules/masters/modules/funnel.src.js +1 -1
  359. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  360. package/es-modules/masters/modules/gantt.src.js +1 -1
  361. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  362. package/es-modules/masters/modules/heatmap.src.js +1 -1
  363. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  364. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  365. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  366. package/es-modules/masters/modules/item-series.src.js +1 -1
  367. package/es-modules/masters/modules/lollipop.src.js +1 -1
  368. package/es-modules/masters/modules/map.src.js +5 -1
  369. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  370. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  371. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  372. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  373. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  374. package/es-modules/masters/modules/oldie.src.js +1 -1
  375. package/es-modules/masters/modules/organization.src.js +1 -1
  376. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  377. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  378. package/es-modules/masters/modules/pareto.src.js +1 -1
  379. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  380. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  381. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  382. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  383. package/es-modules/masters/modules/sankey.src.js +1 -1
  384. package/es-modules/masters/modules/series-label.src.js +1 -1
  385. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  386. package/es-modules/masters/modules/sonification.src.js +1 -1
  387. package/es-modules/masters/modules/static-scale.src.js +1 -1
  388. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  389. package/es-modules/masters/modules/stock.src.js +1 -1
  390. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  391. package/es-modules/masters/modules/sunburst.src.js +1 -1
  392. package/es-modules/masters/modules/tilemap.src.js +1 -1
  393. package/es-modules/masters/modules/timeline.src.js +1 -1
  394. package/es-modules/masters/modules/treegrid.src.js +1 -1
  395. package/es-modules/masters/modules/treemap.src.js +5 -1
  396. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  397. package/es-modules/masters/modules/variwide.src.js +1 -1
  398. package/es-modules/masters/modules/vector.src.js +1 -1
  399. package/es-modules/masters/modules/venn.src.js +1 -1
  400. package/es-modules/masters/modules/windbarb.src.js +1 -1
  401. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  402. package/es-modules/masters/modules/xrange.src.js +1 -1
  403. package/es-modules/masters/themes/avocado.src.js +1 -1
  404. package/es-modules/masters/themes/brand-dark.src.js +14 -0
  405. package/es-modules/masters/themes/brand-light.src.js +14 -0
  406. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  407. package/es-modules/masters/themes/dark-green.src.js +1 -1
  408. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  409. package/es-modules/masters/themes/gray.src.js +1 -1
  410. package/es-modules/masters/themes/grid-light.src.js +1 -1
  411. package/es-modules/masters/themes/grid.src.js +1 -1
  412. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  413. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  414. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  415. package/es-modules/masters/themes/skies.src.js +1 -1
  416. package/es-modules/masters/themes/sunset.src.js +1 -1
  417. package/highcharts-3d.js +99 -98
  418. package/highcharts-3d.js.map +1 -1
  419. package/highcharts-3d.src.js +114 -54
  420. package/highcharts-gantt.js +805 -800
  421. package/highcharts-gantt.js.map +1 -1
  422. package/highcharts-gantt.src.js +1102 -973
  423. package/highcharts-more.js +195 -194
  424. package/highcharts-more.js.map +1 -1
  425. package/highcharts-more.src.js +85 -104
  426. package/highcharts.d.ts +8196 -2661
  427. package/highcharts.js +590 -585
  428. package/highcharts.js.map +1 -1
  429. package/highcharts.src.d.ts +8196 -2661
  430. package/highcharts.src.js +872 -745
  431. package/highmaps.js +757 -727
  432. package/highmaps.js.map +1 -1
  433. package/highmaps.src.js +3983 -2601
  434. package/highstock.js +792 -788
  435. package/highstock.js.map +1 -1
  436. package/highstock.src.js +1118 -1001
  437. package/indicators/acceleration-bands.d.ts +17 -1
  438. package/indicators/acceleration-bands.js +12 -10
  439. package/indicators/acceleration-bands.js.map +1 -1
  440. package/indicators/acceleration-bands.src.d.ts +17 -1
  441. package/indicators/acceleration-bands.src.js +98 -7
  442. package/indicators/accumulation-distribution.js +5 -5
  443. package/indicators/accumulation-distribution.js.map +1 -1
  444. package/indicators/accumulation-distribution.src.js +11 -2
  445. package/indicators/ao.js +6 -6
  446. package/indicators/ao.js.map +1 -1
  447. package/indicators/ao.src.js +11 -2
  448. package/indicators/apo.js +5 -5
  449. package/indicators/apo.js.map +1 -1
  450. package/indicators/apo.src.js +11 -2
  451. package/indicators/aroon-oscillator.d.ts +17 -1
  452. package/indicators/aroon-oscillator.js +10 -9
  453. package/indicators/aroon-oscillator.js.map +1 -1
  454. package/indicators/aroon-oscillator.src.d.ts +17 -1
  455. package/indicators/aroon-oscillator.src.js +86 -7
  456. package/indicators/aroon.d.ts +17 -1
  457. package/indicators/aroon.js +11 -9
  458. package/indicators/aroon.js.map +1 -1
  459. package/indicators/aroon.src.d.ts +17 -1
  460. package/indicators/aroon.src.js +87 -7
  461. package/indicators/atr.js +5 -5
  462. package/indicators/atr.js.map +1 -1
  463. package/indicators/atr.src.js +11 -2
  464. package/indicators/bollinger-bands.d.ts +17 -1
  465. package/indicators/bollinger-bands.js +12 -10
  466. package/indicators/bollinger-bands.js.map +1 -1
  467. package/indicators/bollinger-bands.src.d.ts +17 -1
  468. package/indicators/bollinger-bands.src.js +98 -7
  469. package/indicators/cci.js +5 -5
  470. package/indicators/cci.js.map +1 -1
  471. package/indicators/cci.src.js +11 -2
  472. package/indicators/chaikin.js +8 -8
  473. package/indicators/chaikin.js.map +1 -1
  474. package/indicators/chaikin.src.js +11 -2
  475. package/indicators/cmf.js +6 -6
  476. package/indicators/cmf.js.map +1 -1
  477. package/indicators/cmf.src.js +46 -17
  478. package/indicators/cmo.js +5 -5
  479. package/indicators/cmo.js.map +1 -1
  480. package/indicators/cmo.src.js +11 -2
  481. package/indicators/dema.js +5 -5
  482. package/indicators/dema.js.map +1 -1
  483. package/indicators/dema.src.js +11 -2
  484. package/indicators/disparity-index.js +6 -6
  485. package/indicators/disparity-index.js.map +1 -1
  486. package/indicators/disparity-index.src.js +13 -3
  487. package/indicators/dmi.js +12 -11
  488. package/indicators/dmi.js.map +1 -1
  489. package/indicators/dmi.src.js +95 -12
  490. package/indicators/dpo.js +5 -5
  491. package/indicators/dpo.js.map +1 -1
  492. package/indicators/dpo.src.js +11 -2
  493. package/indicators/ema.js +2 -1
  494. package/indicators/ema.js.map +1 -1
  495. package/indicators/ema.src.js +10 -1
  496. package/indicators/ichimoku-kinko-hyo.js +16 -16
  497. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  498. package/indicators/ichimoku-kinko-hyo.src.js +17 -8
  499. package/indicators/indicators-all.d.ts +17 -1
  500. package/indicators/indicators-all.js +199 -197
  501. package/indicators/indicators-all.js.map +1 -1
  502. package/indicators/indicators-all.src.d.ts +17 -1
  503. package/indicators/indicators-all.src.js +266 -69
  504. package/indicators/indicators.js +13 -12
  505. package/indicators/indicators.js.map +1 -1
  506. package/indicators/indicators.src.js +23 -8
  507. package/indicators/keltner-channels.d.ts +17 -1
  508. package/indicators/keltner-channels.js +12 -10
  509. package/indicators/keltner-channels.js.map +1 -1
  510. package/indicators/keltner-channels.src.d.ts +17 -1
  511. package/indicators/keltner-channels.src.js +98 -7
  512. package/indicators/klinger.js +14 -12
  513. package/indicators/klinger.js.map +1 -1
  514. package/indicators/klinger.src.js +94 -10
  515. package/indicators/macd.js +12 -11
  516. package/indicators/macd.js.map +1 -1
  517. package/indicators/macd.src.js +12 -3
  518. package/indicators/mfi.js +6 -6
  519. package/indicators/mfi.js.map +1 -1
  520. package/indicators/mfi.src.js +11 -2
  521. package/indicators/momentum.js +5 -5
  522. package/indicators/momentum.js.map +1 -1
  523. package/indicators/momentum.src.js +11 -2
  524. package/indicators/natr.js +5 -4
  525. package/indicators/natr.js.map +1 -1
  526. package/indicators/natr.src.js +11 -2
  527. package/indicators/obv.js +5 -5
  528. package/indicators/obv.js.map +1 -1
  529. package/indicators/obv.src.js +11 -2
  530. package/indicators/pivot-points.js +11 -11
  531. package/indicators/pivot-points.js.map +1 -1
  532. package/indicators/pivot-points.src.js +13 -3
  533. package/indicators/ppo.js +5 -5
  534. package/indicators/ppo.js.map +1 -1
  535. package/indicators/ppo.src.js +11 -2
  536. package/indicators/price-channel.d.ts +17 -1
  537. package/indicators/price-channel.js +11 -9
  538. package/indicators/price-channel.js.map +1 -1
  539. package/indicators/price-channel.src.d.ts +17 -1
  540. package/indicators/price-channel.src.js +97 -7
  541. package/indicators/price-envelopes.js +8 -8
  542. package/indicators/price-envelopes.js.map +1 -1
  543. package/indicators/price-envelopes.src.js +11 -2
  544. package/indicators/psar.js +7 -6
  545. package/indicators/psar.js.map +1 -1
  546. package/indicators/psar.src.js +11 -2
  547. package/indicators/regressions.js +12 -12
  548. package/indicators/regressions.js.map +1 -1
  549. package/indicators/regressions.src.js +41 -14
  550. package/indicators/roc.js +5 -5
  551. package/indicators/roc.js.map +1 -1
  552. package/indicators/roc.src.js +11 -2
  553. package/indicators/rsi.js +6 -5
  554. package/indicators/rsi.js.map +1 -1
  555. package/indicators/rsi.src.js +13 -3
  556. package/indicators/slow-stochastic.js +5 -5
  557. package/indicators/slow-stochastic.js.map +1 -1
  558. package/indicators/slow-stochastic.src.js +11 -2
  559. package/indicators/stochastic.d.ts +17 -1
  560. package/indicators/stochastic.js +12 -10
  561. package/indicators/stochastic.js.map +1 -1
  562. package/indicators/stochastic.src.d.ts +17 -1
  563. package/indicators/stochastic.src.js +89 -8
  564. package/indicators/supertrend.js +10 -10
  565. package/indicators/supertrend.js.map +1 -1
  566. package/indicators/supertrend.src.js +11 -2
  567. package/indicators/tema.js +6 -6
  568. package/indicators/tema.js.map +1 -1
  569. package/indicators/tema.src.js +11 -2
  570. package/indicators/trendline.js +5 -5
  571. package/indicators/trendline.js.map +1 -1
  572. package/indicators/trendline.src.js +11 -2
  573. package/indicators/trix.js +4 -4
  574. package/indicators/trix.js.map +1 -1
  575. package/indicators/trix.src.js +11 -2
  576. package/indicators/volume-by-price.js +17 -17
  577. package/indicators/volume-by-price.js.map +1 -1
  578. package/indicators/volume-by-price.src.js +14 -5
  579. package/indicators/vwap.js +5 -5
  580. package/indicators/vwap.js.map +1 -1
  581. package/indicators/vwap.src.js +30 -9
  582. package/indicators/williams-r.js +6 -5
  583. package/indicators/williams-r.js.map +1 -1
  584. package/indicators/williams-r.src.js +11 -2
  585. package/indicators/wma.js +5 -5
  586. package/indicators/wma.js.map +1 -1
  587. package/indicators/wma.src.js +11 -2
  588. package/indicators/zigzag.js +6 -6
  589. package/indicators/zigzag.js.map +1 -1
  590. package/indicators/zigzag.src.js +11 -2
  591. package/lib/jspdf.js +299 -184
  592. package/lib/jspdf.src.js +25266 -18067
  593. package/lib/svg2pdf.js +35 -31
  594. package/lib/svg2pdf.src.js +5721 -4179
  595. package/modules/accessibility.d.ts +0 -35
  596. package/modules/accessibility.js +232 -226
  597. package/modules/accessibility.js.map +1 -1
  598. package/modules/accessibility.src.d.ts +0 -35
  599. package/modules/accessibility.src.js +792 -613
  600. package/modules/annotations-advanced.js +175 -175
  601. package/modules/annotations-advanced.js.map +1 -1
  602. package/modules/annotations-advanced.src.js +175 -129
  603. package/modules/annotations.js +124 -124
  604. package/modules/annotations.js.map +1 -1
  605. package/modules/annotations.src.js +130 -102
  606. package/modules/arc-diagram.js +25 -0
  607. package/modules/arc-diagram.js.map +1 -0
  608. package/modules/arc-diagram.src.js +770 -0
  609. package/modules/arrow-symbols.js +4 -3
  610. package/modules/arrow-symbols.js.map +1 -1
  611. package/modules/arrow-symbols.src.js +11 -2
  612. package/modules/boost-canvas.js +15 -15
  613. package/modules/boost-canvas.js.map +1 -1
  614. package/modules/boost-canvas.src.js +11 -2
  615. package/modules/boost.js +80 -79
  616. package/modules/boost.js.map +1 -1
  617. package/modules/boost.src.js +103 -85
  618. package/modules/broken-axis.js +13 -13
  619. package/modules/broken-axis.js.map +1 -1
  620. package/modules/broken-axis.src.js +28 -13
  621. package/modules/bullet.js +9 -9
  622. package/modules/bullet.js.map +1 -1
  623. package/modules/bullet.src.js +11 -2
  624. package/modules/coloraxis.js +24 -24
  625. package/modules/coloraxis.js.map +1 -1
  626. package/modules/coloraxis.src.js +42 -13
  627. package/modules/current-date-indicator.js +5 -4
  628. package/modules/current-date-indicator.js.map +1 -1
  629. package/modules/current-date-indicator.src.js +11 -2
  630. package/modules/cylinder.js +11 -11
  631. package/modules/cylinder.js.map +1 -1
  632. package/modules/cylinder.src.js +47 -6
  633. package/modules/data.d.ts +6 -6
  634. package/modules/data.js +34 -33
  635. package/modules/data.js.map +1 -1
  636. package/modules/data.src.d.ts +6 -6
  637. package/modules/data.src.js +68 -84
  638. package/modules/datagrouping.js +21 -20
  639. package/modules/datagrouping.js.map +1 -1
  640. package/modules/datagrouping.src.js +38 -19
  641. package/modules/debugger.js +6 -6
  642. package/modules/debugger.js.map +1 -1
  643. package/modules/debugger.src.js +11 -2
  644. package/modules/dependency-wheel.js +12 -11
  645. package/modules/dependency-wheel.js.map +1 -1
  646. package/modules/dependency-wheel.src.js +15 -6
  647. package/modules/dotplot.js +6 -6
  648. package/modules/dotplot.js.map +1 -1
  649. package/modules/dotplot.src.js +11 -2
  650. package/modules/drag-panes.js +10 -10
  651. package/modules/drag-panes.js.map +1 -1
  652. package/modules/drag-panes.src.js +11 -2
  653. package/modules/draggable-points.js +35 -34
  654. package/modules/draggable-points.js.map +1 -1
  655. package/modules/draggable-points.src.js +27 -17
  656. package/modules/drilldown.d.ts +19 -0
  657. package/modules/drilldown.js +37 -25
  658. package/modules/drilldown.js.map +1 -1
  659. package/modules/drilldown.src.d.ts +19 -0
  660. package/modules/drilldown.src.js +1091 -101
  661. package/modules/dumbbell.js +17 -17
  662. package/modules/dumbbell.js.map +1 -1
  663. package/modules/dumbbell.src.js +11 -6
  664. package/modules/export-data.js +22 -21
  665. package/modules/export-data.js.map +1 -1
  666. package/modules/export-data.src.js +17 -7
  667. package/modules/exporting.js +39 -39
  668. package/modules/exporting.js.map +1 -1
  669. package/modules/exporting.src.js +114 -62
  670. package/modules/full-screen.js +8 -7
  671. package/modules/full-screen.js.map +1 -1
  672. package/modules/full-screen.src.js +15 -5
  673. package/modules/funnel.js +12 -12
  674. package/modules/funnel.js.map +1 -1
  675. package/modules/funnel.src.js +11 -2
  676. package/modules/funnel3d.js +21 -21
  677. package/modules/funnel3d.js.map +1 -1
  678. package/modules/funnel3d.src.js +27 -11
  679. package/modules/gantt.js +217 -217
  680. package/modules/gantt.js.map +1 -1
  681. package/modules/gantt.src.js +241 -230
  682. package/modules/grid-axis.js +23 -23
  683. package/modules/grid-axis.js.map +1 -1
  684. package/modules/grid-axis.src.js +46 -27
  685. package/modules/heatmap.js +40 -39
  686. package/modules/heatmap.js.map +1 -1
  687. package/modules/heatmap.src.js +119 -117
  688. package/modules/heikinashi.js +8 -8
  689. package/modules/heikinashi.js.map +1 -1
  690. package/modules/heikinashi.src.js +19 -8
  691. package/modules/histogram-bellcurve.js +13 -13
  692. package/modules/histogram-bellcurve.js.map +1 -1
  693. package/modules/histogram-bellcurve.src.js +17 -7
  694. package/modules/hollowcandlestick.js +9 -9
  695. package/modules/hollowcandlestick.js.map +1 -1
  696. package/modules/hollowcandlestick.src.js +31 -26
  697. package/modules/item-series.js +12 -12
  698. package/modules/item-series.js.map +1 -1
  699. package/modules/item-series.src.js +16 -7
  700. package/modules/lollipop.js +7 -7
  701. package/modules/lollipop.js.map +1 -1
  702. package/modules/lollipop.src.js +12 -3
  703. package/modules/map.d.ts +82 -43
  704. package/modules/map.js +169 -144
  705. package/modules/map.js.map +1 -1
  706. package/modules/map.src.d.ts +82 -43
  707. package/modules/map.src.js +8003 -6739
  708. package/modules/marker-clusters.js +36 -36
  709. package/modules/marker-clusters.js.map +1 -1
  710. package/modules/marker-clusters.src.js +50 -24
  711. package/modules/networkgraph.d.ts +5 -0
  712. package/modules/networkgraph.js +49 -48
  713. package/modules/networkgraph.js.map +1 -1
  714. package/modules/networkgraph.src.d.ts +5 -0
  715. package/modules/networkgraph.src.js +87 -48
  716. package/modules/no-data-to-display.js +5 -5
  717. package/modules/no-data-to-display.js.map +1 -1
  718. package/modules/no-data-to-display.src.js +11 -2
  719. package/modules/offline-exporting.js +20 -18
  720. package/modules/offline-exporting.js.map +1 -1
  721. package/modules/offline-exporting.src.js +149 -53
  722. package/modules/oldie-polyfills.js +7 -7
  723. package/modules/oldie-polyfills.js.map +1 -1
  724. package/modules/oldie-polyfills.src.js +11 -2
  725. package/modules/oldie.js +30 -30
  726. package/modules/oldie.js.map +1 -1
  727. package/modules/oldie.src.js +29 -80
  728. package/modules/organization.js +16 -14
  729. package/modules/organization.js.map +1 -1
  730. package/modules/organization.src.js +168 -32
  731. package/modules/overlapping-datalabels.js +3 -2
  732. package/modules/overlapping-datalabels.js.map +1 -1
  733. package/modules/overlapping-datalabels.src.js +11 -2
  734. package/modules/parallel-coordinates.js +11 -11
  735. package/modules/parallel-coordinates.js.map +1 -1
  736. package/modules/parallel-coordinates.src.js +16 -5
  737. package/modules/pareto.js +7 -7
  738. package/modules/pareto.js.map +1 -1
  739. package/modules/pareto.src.js +11 -2
  740. package/modules/pathfinder.js +31 -31
  741. package/modules/pathfinder.js.map +1 -1
  742. package/modules/pathfinder.src.js +31 -21
  743. package/modules/pattern-fill.js +14 -14
  744. package/modules/pattern-fill.js.map +1 -1
  745. package/modules/pattern-fill.src.js +28 -13
  746. package/modules/price-indicator.js +5 -5
  747. package/modules/price-indicator.js.map +1 -1
  748. package/modules/price-indicator.src.js +13 -3
  749. package/modules/pyramid3d.js +4 -4
  750. package/modules/pyramid3d.js.map +1 -1
  751. package/modules/pyramid3d.src.js +13 -3
  752. package/modules/sankey.d.ts +5 -0
  753. package/modules/sankey.js +32 -29
  754. package/modules/sankey.js.map +1 -1
  755. package/modules/sankey.src.d.ts +5 -0
  756. package/modules/sankey.src.js +340 -156
  757. package/modules/series-label.js +18 -17
  758. package/modules/series-label.js.map +1 -1
  759. package/modules/series-label.src.js +12 -3
  760. package/modules/solid-gauge.js +10 -10
  761. package/modules/solid-gauge.js.map +1 -1
  762. package/modules/solid-gauge.src.js +27 -3
  763. package/modules/sonification.js +59 -59
  764. package/modules/sonification.js.map +1 -1
  765. package/modules/sonification.src.js +131 -104
  766. package/modules/static-scale.js +5 -4
  767. package/modules/static-scale.js.map +1 -1
  768. package/modules/static-scale.src.js +11 -2
  769. package/modules/stock-tools.js +107 -107
  770. package/modules/stock-tools.js.map +1 -1
  771. package/modules/stock-tools.src.js +137 -98
  772. package/modules/stock.js +162 -162
  773. package/modules/stock.js.map +1 -1
  774. package/modules/stock.src.js +257 -258
  775. package/modules/streamgraph.js +5 -4
  776. package/modules/streamgraph.js.map +1 -1
  777. package/modules/streamgraph.src.js +11 -2
  778. package/modules/sunburst.d.ts +3 -0
  779. package/modules/sunburst.js +73 -61
  780. package/modules/sunburst.js.map +1 -1
  781. package/modules/sunburst.src.d.ts +3 -0
  782. package/modules/sunburst.src.js +1128 -205
  783. package/modules/tilemap.js +17 -17
  784. package/modules/tilemap.js.map +1 -1
  785. package/modules/tilemap.src.js +11 -11
  786. package/modules/timeline.js +18 -18
  787. package/modules/timeline.js.map +1 -1
  788. package/modules/timeline.src.js +11 -2
  789. package/modules/treegrid.js +57 -56
  790. package/modules/treegrid.js.map +1 -1
  791. package/modules/treegrid.src.js +106 -58
  792. package/modules/treemap.d.ts +3 -0
  793. package/modules/treemap.js +53 -41
  794. package/modules/treemap.js.map +1 -1
  795. package/modules/treemap.src.d.ts +3 -0
  796. package/modules/treemap.src.js +1113 -200
  797. package/modules/variable-pie.js +9 -9
  798. package/modules/variable-pie.js.map +1 -1
  799. package/modules/variable-pie.src.js +11 -2
  800. package/modules/variwide.js +12 -12
  801. package/modules/variwide.js.map +1 -1
  802. package/modules/variwide.src.js +17 -4
  803. package/modules/vector.js +8 -7
  804. package/modules/vector.js.map +1 -1
  805. package/modules/vector.src.js +11 -2
  806. package/modules/venn.js +31 -31
  807. package/modules/venn.js.map +1 -1
  808. package/modules/venn.src.js +34 -23
  809. package/modules/windbarb.js +15 -15
  810. package/modules/windbarb.js.map +1 -1
  811. package/modules/windbarb.src.js +11 -2
  812. package/modules/wordcloud.js +23 -23
  813. package/modules/wordcloud.js.map +1 -1
  814. package/modules/wordcloud.src.js +26 -18
  815. package/modules/xrange.js +16 -16
  816. package/modules/xrange.js.map +1 -1
  817. package/modules/xrange.src.js +21 -34
  818. package/package.json +1 -1
  819. package/themes/avocado.js +4 -3
  820. package/themes/avocado.js.map +1 -1
  821. package/themes/avocado.src.js +11 -2
  822. package/themes/brand-dark.js +16 -0
  823. package/themes/brand-dark.js.map +1 -0
  824. package/themes/brand-dark.src.js +337 -0
  825. package/themes/brand-light.js +15 -0
  826. package/themes/brand-light.js.map +1 -0
  827. package/themes/brand-light.src.js +303 -0
  828. package/themes/dark-blue.js +9 -8
  829. package/themes/dark-blue.js.map +1 -1
  830. package/themes/dark-blue.src.js +11 -2
  831. package/themes/dark-green.js +9 -8
  832. package/themes/dark-green.js.map +1 -1
  833. package/themes/dark-green.src.js +11 -2
  834. package/themes/dark-unica.js +8 -7
  835. package/themes/dark-unica.js.map +1 -1
  836. package/themes/dark-unica.src.js +15 -4
  837. package/themes/gray.js +9 -8
  838. package/themes/gray.js.map +1 -1
  839. package/themes/gray.src.js +11 -2
  840. package/themes/grid-light.js +5 -4
  841. package/themes/grid-light.js.map +1 -1
  842. package/themes/grid-light.src.js +15 -4
  843. package/themes/grid.js +5 -5
  844. package/themes/grid.js.map +1 -1
  845. package/themes/grid.src.js +15 -4
  846. package/themes/high-contrast-dark.js +7 -7
  847. package/themes/high-contrast-dark.js.map +1 -1
  848. package/themes/high-contrast-dark.src.js +21 -12
  849. package/themes/high-contrast-light.js +3 -3
  850. package/themes/high-contrast-light.js.map +1 -1
  851. package/themes/high-contrast-light.src.js +21 -12
  852. package/themes/sand-signika.js +5 -5
  853. package/themes/sand-signika.js.map +1 -1
  854. package/themes/sand-signika.src.js +11 -2
  855. package/themes/skies.js +5 -5
  856. package/themes/skies.js.map +1 -1
  857. package/themes/skies.src.js +11 -2
  858. package/themes/sunset.js +3 -3
  859. package/themes/sunset.js.map +1 -1
  860. package/themes/sunset.src.js +11 -2
  861. package/es-modules/Maps/ProjectionDefinition.js +0 -9
  862. 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 v10.0.0 (2022-03-07)
3
3
  *
4
4
  * Gantt series
5
5
  *
@@ -7,7 +7,6 @@
7
7
  *
8
8
  * License: www.highcharts.com/license
9
9
  */
10
- 'use strict';
11
10
  (function (factory) {
12
11
  if (typeof module === 'object' && module.exports) {
13
12
  factory['default'] = factory;
@@ -22,10 +21,20 @@
22
21
  factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
23
22
  }
24
23
  }(function (Highcharts) {
24
+ 'use strict';
25
25
  var _modules = Highcharts ? Highcharts._modules : {};
26
26
  function _registerModule(obj, path, args, fn) {
27
27
  if (!obj.hasOwnProperty(path)) {
28
28
  obj[path] = fn.apply(null, args);
29
+
30
+ if (typeof CustomEvent === 'function') {
31
+ window.dispatchEvent(
32
+ new CustomEvent(
33
+ 'HighchartsModuleLoaded',
34
+ { detail: { path: path, module: obj[path] }
35
+ })
36
+ );
37
+ }
29
38
  }
30
39
  }
31
40
  _registerModule(_modules, 'Series/XRange/XRangePoint.js', [_modules['Core/Series/Point.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (Point, SeriesRegistry, U) {
@@ -89,14 +98,14 @@
89
98
  * @private
90
99
  * @function getColorByCategory
91
100
  *
92
- * @param {object} series
93
- * The series which the point belongs to.
101
+ * @param {Object} series
102
+ * The series which the point belongs to.
94
103
  *
95
- * @param {object} point
96
- * The point to calculate its color for.
104
+ * @param {Object} point
105
+ * The point to calculate its color for.
97
106
  *
98
- * @return {object}
99
- * Returns an object containing the properties color and colorIndex.
107
+ * @return {Object}
108
+ * Returns an object containing the properties color and colorIndex.
100
109
  */
101
110
  XRangePoint.getColorByCategory = function (series, point) {
102
111
  var colors = series.options.colors || series.chart.options.colors,
@@ -155,8 +164,6 @@
155
164
  *
156
165
  * @private
157
166
  * @function Highcharts.Point#init
158
- *
159
- * @return {Highcharts.Point}
160
167
  */
161
168
  XRangePoint.prototype.init = function () {
162
169
  Point.prototype.init.apply(this, arguments);
@@ -176,8 +183,6 @@
176
183
  /**
177
184
  * @private
178
185
  * @function Highcharts.Point#getLabelConfig
179
- *
180
- * @return {Highcharts.PointLabelObject}
181
186
  */
182
187
  // Add x2 and yCategory to the available properties for tooltip formats
183
188
  XRangePoint.prototype.getLabelConfig = function () {
@@ -191,8 +196,6 @@
191
196
  /**
192
197
  * @private
193
198
  * @function Highcharts.Point#isValid
194
- *
195
- * @return {boolean}
196
199
  */
197
200
  XRangePoint.prototype.isValid = function () {
198
201
  return typeof this.x === 'number' &&
@@ -356,7 +359,6 @@
356
359
  /**
357
360
  * @private
358
361
  * @function Highcarts.seriesTypes.xrange#init
359
- * @return {void}
360
362
  */
361
363
  XRangeSeries.prototype.init = function () {
362
364
  ColumnSeries.prototype.init.apply(this, arguments);
@@ -368,8 +370,6 @@
368
370
  *
369
371
  * @private
370
372
  * @function Highcharts.Series#getColumnMetrics
371
- *
372
- * @return {Highcharts.ColumnMetricsObject}
373
373
  */
374
374
  XRangeSeries.prototype.getColumnMetrics = function () {
375
375
  var metrics,
@@ -395,18 +395,6 @@
395
395
  *
396
396
  * @private
397
397
  * @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
398
  */
411
399
  XRangeSeries.prototype.cropData = function (xData, yData, min, max) {
412
400
  // Replace xData with x2Data to find the appropriate cropStart
@@ -426,9 +414,10 @@
426
414
  *
427
415
  * @private
428
416
  * @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.
417
+ * @param {Object} options
418
+ * The options of the point.
419
+ * @return {number|undefined}
420
+ * Returns index of a matching point, or undefined if no match is found.
432
421
  */
433
422
  XRangeSeries.prototype.findPointIndex = function (options) {
434
423
  var _a = this,
@@ -714,8 +703,6 @@
714
703
  *
715
704
  * @private
716
705
  * @function Highcharts.Series#getAnimationVerb
717
- *
718
- * @return {string}
719
706
  */
720
707
  XRangeSeries.prototype.getAnimationVerb = function () {
721
708
  return (this.chart.pointCount < (this.options.animationLimit || 250) ?
@@ -1036,7 +1023,7 @@
1036
1023
  * @private
1037
1024
  * @function Highcharts.Point#applyOptions
1038
1025
  *
1039
- * @param {object} options
1026
+ * @param {Object} options
1040
1027
  * The point options
1041
1028
  *
1042
1029
  * @param {number} x
@@ -1252,8 +1239,11 @@
1252
1239
  (threshold > brk.from && y < brk.from)) {
1253
1240
  eventName = 'pointBreak';
1254
1241
  }
1255
- else if ((threshold < brk.from && y > brk.from && y < brk.to) ||
1256
- (threshold > brk.from && y > brk.to && y < brk.from)) {
1242
+ else if ((threshold < brk.from &&
1243
+ y > brk.from &&
1244
+ y < brk.to) || (threshold > brk.from &&
1245
+ y > brk.to &&
1246
+ y < brk.from)) {
1257
1247
  eventName = 'pointInBreak';
1258
1248
  }
1259
1249
  if (eventName) {
@@ -1372,12 +1362,9 @@
1372
1362
  isNull: true,
1373
1363
  x: xRange
1374
1364
  });
1375
- // For stacked chart generate empty stack items,
1376
- // #6546
1365
+ // For stacked chart generate empty stack items, #6546
1377
1366
  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);
1367
+ stack = yAxis.stacking.stacks[this.stackKey][xRange] = new StackItem(yAxis, yAxis.options.stackLabels, false, xRange, this.stack);
1381
1368
  stack.total = 0;
1382
1369
  }
1383
1370
  }
@@ -1614,10 +1601,12 @@
1614
1601
  repeat_1 = brk.repeat || Infinity;
1615
1602
  if (isNumber(min_1) && isNumber(max_1)) {
1616
1603
  if (Additions.isInBreak(brk, min_1)) {
1617
- min_1 += (brk.to % repeat_1) - (min_1 % repeat_1);
1604
+ min_1 += ((brk.to % repeat_1) -
1605
+ (min_1 % repeat_1));
1618
1606
  }
1619
1607
  if (Additions.isInBreak(brk, max_1)) {
1620
- max_1 -= (max_1 % repeat_1) - (brk.from % repeat_1);
1608
+ max_1 -= ((max_1 % repeat_1) -
1609
+ (brk.from % repeat_1));
1621
1610
  }
1622
1611
  }
1623
1612
  });
@@ -1665,13 +1654,17 @@
1665
1654
  to: brk.value,
1666
1655
  len: brk.value - start_1 - (brk.size || 0)
1667
1656
  });
1668
- length_1 += brk.value - start_1 - (brk.size || 0);
1657
+ length_1 += (brk.value -
1658
+ start_1 -
1659
+ (brk.size || 0));
1669
1660
  }
1670
1661
  });
1671
1662
  brokenAxis.breakArray = breakArray_1;
1672
1663
  // Used with staticScale, and below the actual axis
1673
1664
  // length, when breaks are substracted.
1674
- if (isNumber(min_1) && isNumber(max_1) && isNumber(axis.min)) {
1665
+ if (isNumber(min_1) &&
1666
+ isNumber(max_1) &&
1667
+ isNumber(axis.min)) {
1675
1668
  brokenAxis.unitLength = max_1 - min_1 - length_1 +
1676
1669
  pointRangePadding;
1677
1670
  fireEvent(axis, 'afterBreaks');
@@ -1877,7 +1870,8 @@
1877
1870
  this.treeGrid &&
1878
1871
  this.treeGrid.mapOfPosToGridNode) {
1879
1872
  var treeDepth = this.treeGrid.mapOfPosToGridNode[-1].height || 0;
1880
- dimensions.width += this.options.labels.indentation * (treeDepth - 1);
1873
+ dimensions.width += (this.options.labels.indentation *
1874
+ (treeDepth - 1));
1881
1875
  }
1882
1876
  return dimensions;
1883
1877
  }
@@ -2043,8 +2037,10 @@
2043
2037
  axis.left,
2044
2038
  startPoint[2] || 0
2045
2039
  ],
2046
- upperBorderPath = [upperBorderStartPoint,
2047
- upperBorderEndPoint],
2040
+ upperBorderPath = [
2041
+ upperBorderStartPoint,
2042
+ upperBorderEndPoint
2043
+ ],
2048
2044
  lowerBorderEndPoint = [
2049
2045
  'L',
2050
2046
  axis.chart.chartWidth - axis.chart.marginRight,
@@ -2055,8 +2051,10 @@
2055
2051
  endPoint[1] || 0,
2056
2052
  axis.toPixels(max + axis.tickmarkOffset)
2057
2053
  ],
2058
- lowerBorderPath = [lowerBorderStartPoint,
2059
- lowerBorderEndPoint];
2054
+ lowerBorderPath = [
2055
+ lowerBorderStartPoint,
2056
+ lowerBorderEndPoint
2057
+ ];
2060
2058
  if (!axis.grid.upperBorder && min % 1 !== 0) {
2061
2059
  axis.grid.upperBorder = axis.grid.renderBorder(upperBorderPath);
2062
2060
  }
@@ -2082,8 +2080,8 @@
2082
2080
  });
2083
2081
  }
2084
2082
  }
2085
- // Render an extra line parallel to the existing axes,
2086
- // to close the grid.
2083
+ // Render an extra line parallel to the existing axes, to
2084
+ // close the grid.
2087
2085
  if (!axis.grid.axisLineExtra) {
2088
2086
  axis.grid.axisLineExtra = axis.grid.renderBorder(linePath);
2089
2087
  }
@@ -2096,8 +2094,7 @@
2096
2094
  d: linePath
2097
2095
  });
2098
2096
  }
2099
- // show or hide the line depending on
2100
- // options.showEmpty
2097
+ // show or hide the line depending on options.showEmpty
2101
2098
  axis.axisLine[axis.showAxis ? 'show' : 'hide'](true);
2102
2099
  }
2103
2100
  }
@@ -2113,10 +2110,15 @@
2113
2110
  var tickmarkOffset = axis.tickmarkOffset,
2114
2111
  lastTick = axis.tickPositions[axis.tickPositions.length - 1],
2115
2112
  firstTick = axis.tickPositions[0];
2116
- var label = void 0;
2113
+ var label = void 0,
2114
+ tickMark = void 0;
2117
2115
  while ((label = axis.hiddenLabels.pop()) && label.element) {
2118
2116
  label.show(); // #15453
2119
2117
  }
2118
+ while ((tickMark = axis.hiddenMarks.pop()) &&
2119
+ tickMark.element) {
2120
+ tickMark.show(); // #16439
2121
+ }
2120
2122
  // Hide/show firts tick label.
2121
2123
  label = axis.ticks[firstTick].label;
2122
2124
  if (label) {
@@ -2138,13 +2140,10 @@
2138
2140
  }
2139
2141
  }
2140
2142
  var mark = axis.ticks[lastTick].mark;
2141
- if (mark) {
2142
- if (lastTick - max < tickmarkOffset && lastTick - max > 0 && axis.ticks[lastTick].isLast) {
2143
- mark.hide();
2144
- }
2145
- else if (axis.ticks[lastTick - 1]) {
2146
- mark.show();
2147
- }
2143
+ if (mark &&
2144
+ lastTick - max < tickmarkOffset &&
2145
+ lastTick - max > 0 && axis.ticks[lastTick].isLast) {
2146
+ axis.hiddenMarks.push(mark.hide());
2148
2147
  }
2149
2148
  }
2150
2149
  }
@@ -2172,7 +2171,8 @@
2172
2171
  options.dateTimeLabelFormats &&
2173
2172
  options.labels &&
2174
2173
  !defined(userLabels.align) &&
2175
- (options.dateTimeLabelFormats[tickInfo.unitName].range === false ||
2174
+ (options.dateTimeLabelFormats[tickInfo.unitName]
2175
+ .range === false ||
2176
2176
  tickInfo.count > 1 // years
2177
2177
  )) {
2178
2178
  options.labels.align = 'left';
@@ -2386,7 +2386,8 @@
2386
2386
  if (gridOptions.enabled && maxLabelDimensions) {
2387
2387
  var labelPadding = (Math.abs(defaultLeftAxisOptions.labels.x) * 2);
2388
2388
  var distance = horiz ?
2389
- gridOptions.cellHeight || labelPadding + maxLabelDimensions.height :
2389
+ (gridOptions.cellHeight ||
2390
+ labelPadding + maxLabelDimensions.height) :
2390
2391
  labelPadding + maxLabelDimensions.width;
2391
2392
  if (isArray(e.tickSize)) {
2392
2393
  e.tickSize[0] = distance;
@@ -2426,12 +2427,13 @@
2426
2427
  var userOptions = e.userOptions || {};
2427
2428
  var gridOptions = userOptions.grid || {};
2428
2429
  if (gridOptions.enabled && defined(gridOptions.borderColor)) {
2429
- userOptions.tickColor = userOptions.lineColor = gridOptions.borderColor;
2430
+ userOptions.tickColor = userOptions.lineColor = (gridOptions.borderColor);
2430
2431
  }
2431
2432
  if (!axis.grid) {
2432
2433
  axis.grid = new Additions(axis);
2433
2434
  }
2434
2435
  axis.hiddenLabels = [];
2436
+ axis.hiddenMarks = [];
2435
2437
  }
2436
2438
  /**
2437
2439
  * Center tick labels in cells.
@@ -2673,7 +2675,8 @@
2673
2675
  var thisIndex = -1,
2674
2676
  lastIndex = 0;
2675
2677
  chart[axis.coll].forEach(function (otherAxis, index) {
2676
- if (otherAxis.side === axis.side && !otherAxis.options.isInternal) {
2678
+ if (otherAxis.side === axis.side &&
2679
+ !otherAxis.options.isInternal) {
2677
2680
  lastIndex = index;
2678
2681
  if (otherAxis === parentAxis) {
2679
2682
  // Get the index of the axis in question
@@ -2682,17 +2685,17 @@
2682
2685
  }
2683
2686
  });
2684
2687
  return (lastIndex === thisIndex &&
2685
- (isNumber(columnIndex) ? columns.length === columnIndex : true));
2688
+ (isNumber(columnIndex) ?
2689
+ columns.length === columnIndex :
2690
+ true));
2686
2691
  };
2687
2692
  /**
2688
2693
  * Add extra border based on the provided path.
2689
- * *
2690
2694
  * @private
2691
- *
2692
2695
  * @param {SVGPath} path
2693
2696
  * The path of the border.
2694
- *
2695
2697
  * @return {Highcharts.SVGElement}
2698
+ * Border
2696
2699
  */
2697
2700
  Additions.prototype.renderBorder = function (path) {
2698
2701
  var axis = this.axis,
@@ -3161,7 +3164,10 @@
3161
3164
  node.descendants > 0) {
3162
3165
  collapsed = axis.treeGrid.isCollapsed(node);
3163
3166
  renderLabelIcon(tick, {
3164
- color: !styledMode && label.styles && label.styles.color || '',
3167
+ color: (!styledMode &&
3168
+ label.styles &&
3169
+ label.styles.color ||
3170
+ ''),
3165
3171
  collapsed: collapsed,
3166
3172
  group: label.parentGroup,
3167
3173
  options: symbolOptions,
@@ -3251,6 +3257,17 @@
3251
3257
  brokenAxis.setBreaks(breaks, pick(redraw, true));
3252
3258
  }
3253
3259
  };
3260
+ /**
3261
+ * Destroy remaining labelIcon if exist.
3262
+ *
3263
+ * @private
3264
+ * @function Highcharts.Tick#destroy
3265
+ */
3266
+ Additions.prototype.destroy = function () {
3267
+ if (this.labelIcon) {
3268
+ this.labelIcon.destroy();
3269
+ }
3270
+ };
3254
3271
  /**
3255
3272
  * Expand the grid cell. Used when axis is of type treegrid.
3256
3273
  *
@@ -3390,7 +3407,7 @@
3390
3407
  *
3391
3408
  * @private
3392
3409
  *
3393
- * @param {object} params
3410
+ * @param {Object} params
3394
3411
  * Object containing parameters.
3395
3412
  * - `defaults` Object containing default options. The default options are
3396
3413
  * merged with the userOptions to get the final options for a specific
@@ -3500,7 +3517,7 @@
3500
3517
  *
3501
3518
  * @private
3502
3519
  *
3503
- * @param {object} series
3520
+ * @param {Object} series
3504
3521
  * The series to operate on.
3505
3522
  *
3506
3523
  * @return {string}
@@ -3636,7 +3653,7 @@
3636
3653
  *
3637
3654
  * @param {number} numberOfSeries
3638
3655
  *
3639
- * @return {object}
3656
+ * @return {Object}
3640
3657
  * Returns an object containing categories, mapOfIdToNode,
3641
3658
  * mapOfPosToGridNode, and tree.
3642
3659
  *
@@ -3649,7 +3666,8 @@
3649
3666
  var categories = [],
3650
3667
  collapsedNodes = [],
3651
3668
  mapOfIdToNode = {},
3652
- uniqueNamesEnabled = typeof uniqueNames === 'boolean' ? uniqueNames : false;
3669
+ uniqueNamesEnabled = typeof uniqueNames === 'boolean' ?
3670
+ uniqueNames : false;
3653
3671
  var mapOfPosToGridNode = {},
3654
3672
  posIterator = -1;
3655
3673
  // Build the tree from the series data.
@@ -3672,7 +3690,9 @@
3672
3690
  // Before the children has been created.
3673
3691
  before: function (node) {
3674
3692
  var data = isObject(node.data,
3675
- true) ? node.data : {},
3693
+ true) ?
3694
+ node.data :
3695
+ {},
3676
3696
  name = isString(data.name) ? data.name : '',
3677
3697
  parentNode = mapOfIdToNode[node.parent],
3678
3698
  parentGridNode = (isObject(parentNode,
@@ -3781,8 +3801,8 @@
3781
3801
  /**
3782
3802
  * Builds the tree of categories and calculates its positions.
3783
3803
  * @private
3784
- * @param {object} e Event object
3785
- * @param {object} e.target The chart instance which the event was fired on.
3804
+ * @param {Object} e Event object
3805
+ * @param {Object} e.target The chart instance which the event was fired on.
3786
3806
  * @param {object[]} e.target.axes The axes of the chart.
3787
3807
  */
3788
3808
  function onBeforeRender(e) {
@@ -3797,8 +3817,8 @@
3797
3817
  max = options.max,
3798
3818
  // Check whether any of series is rendering for the first
3799
3819
  // time, visibility has changed, or its data is dirty, and
3800
- // only then update. #10570, #10580
3801
- // Also check if mapOfPosToGridNode exists. #10887
3820
+ // only then update. #10570, #10580. Also check if
3821
+ // mapOfPosToGridNode exists. #10887
3802
3822
  isDirty = (!axis.treeGrid.mapOfPosToGridNode ||
3803
3823
  axis.series.some(function (series) {
3804
3824
  return !series.hasRendered ||
@@ -3816,13 +3836,15 @@
3816
3836
  (s.options.data || []).forEach(function (data) {
3817
3837
  // For using keys - rebuild the data structure
3818
3838
  if (s.options.keys && s.options.keys.length) {
3819
- data = s.pointClass.prototype.optionsToObject.call({ series: s }, data);
3839
+ data = s.pointClass.prototype
3840
+ .optionsToObject
3841
+ .call({ series: s }, data);
3820
3842
  s.pointClass.setGanttPointAliases(data);
3821
3843
  }
3822
3844
  if (isObject(data, true)) {
3823
3845
  // Set series index on data. Removed again
3824
3846
  // after use.
3825
- data.seriesIndex = numberOfSeries;
3847
+ data.seriesIndex = (numberOfSeries);
3826
3848
  arr.push(data);
3827
3849
  }
3828
3850
  });
@@ -3849,17 +3871,20 @@
3849
3871
  treeGrid = getTreeGridFromData(data, uniqueNames || false, (uniqueNames === true) ? numberOfSeries : 1);
3850
3872
  // Assign values to the axis.
3851
3873
  axis.categories = treeGrid.categories;
3852
- axis.treeGrid.mapOfPosToGridNode = treeGrid.mapOfPosToGridNode;
3874
+ axis.treeGrid.mapOfPosToGridNode = (treeGrid.mapOfPosToGridNode);
3853
3875
  axis.hasNames = true;
3854
3876
  axis.treeGrid.tree = treeGrid.tree;
3855
3877
  // Update yData now that we have calculated the y values
3856
3878
  axis.series.forEach(function (series) {
3857
3879
  var axisData = (series.options.data || []).map(function (d) {
3858
- if (isArray(d) && series.options.keys && series.options.keys.length) {
3880
+ if (isArray(d) &&
3881
+ series.options.keys &&
3882
+ series.options.keys.length) {
3859
3883
  // Get the axisData from the data array used to
3860
3884
  // build the treeGrid where has been modified
3861
3885
  data.forEach(function (point) {
3862
- if (d.indexOf(point.x) >= 0 && d.indexOf(point.x2) >= 0) {
3886
+ if (d.indexOf(point.x) >= 0 &&
3887
+ d.indexOf(point.x2) >= 0) {
3863
3888
  d = point;
3864
3889
  }
3865
3890
  });
@@ -3969,10 +3994,11 @@
3969
3994
  axis.brokenAxis.setBreaks(breaks, false);
3970
3995
  // remove the node from the axis collapsedNodes
3971
3996
  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
- });
3997
+ axis.treeGrid.collapsedNodes = axis.treeGrid
3998
+ .collapsedNodes
3999
+ .filter(function (n) { return ((node.collapseStart !==
4000
+ n.collapseStart) ||
4001
+ node.collapseEnd !== n.collapseEnd); });
3976
4002
  }
3977
4003
  }
3978
4004
  });
@@ -4253,7 +4279,7 @@
4253
4279
  * @param {Highcharts.Axis} axis
4254
4280
  * The axis to check against.
4255
4281
  *
4256
- * @param {object} node
4282
+ * @param {Object} node
4257
4283
  * The node to check if is collapsed.
4258
4284
  *
4259
4285
  * @param {number} pos
@@ -5461,11 +5487,11 @@
5461
5487
  * The radius of the marker, to calculate the additional distance to
5462
5488
  * the center of the marker.
5463
5489
  *
5464
- * @param {object} anchor
5490
+ * @param {Object} anchor
5465
5491
  * The anchor point of the path and marker as an object with x/y
5466
5492
  * properties.
5467
5493
  *
5468
- * @return {object}
5494
+ * @return {Object}
5469
5495
  * The marker vector as an object with x/y properties.
5470
5496
  */
5471
5497
  getMarkerVector: function (radians, markerRadius, anchor) {
@@ -5618,7 +5644,7 @@
5618
5644
  * @private
5619
5645
  * @function pointWithinObstacle
5620
5646
  *
5621
- * @param {object} obstacle
5647
+ * @param {Object} obstacle
5622
5648
  * Obstacle to test.
5623
5649
  *
5624
5650
  * @param {Highcharts.Point} point
@@ -5690,10 +5716,10 @@
5690
5716
  * @private
5691
5717
  * @function limitObstacleToBounds
5692
5718
  *
5693
- * @param {object} obstacle
5719
+ * @param {Object} obstacle
5694
5720
  * Obstacle to limit.
5695
5721
  *
5696
- * @param {object} bounds
5722
+ * @param {Object} bounds
5697
5723
  * Bounds to use as limit.
5698
5724
  *
5699
5725
  * @return {void}
@@ -5716,7 +5742,7 @@
5716
5742
  * @param {Highcharts.PositionObject} end
5717
5743
  * Ending coordinate, object with x/y props.
5718
5744
  *
5719
- * @return {object}
5745
+ * @return {Object}
5720
5746
  * An object with the SVG path in Array form as accepted by the SVG
5721
5747
  * renderer, as well as an array of new obstacles making up this
5722
5748
  * path.
@@ -5743,14 +5769,14 @@
5743
5769
  * @param {Highcharts.PositionObject} end
5744
5770
  * Ending coordinate, object with x/y props.
5745
5771
  *
5746
- * @param {object} options
5772
+ * @param {Object} options
5747
5773
  * Options for the algorithm:
5748
5774
  * - chartObstacles: Array of chart obstacles to avoid
5749
5775
  * - startDirectionX: Optional. True if starting in the X direction.
5750
5776
  * If not provided, the algorithm starts in the direction that is
5751
5777
  * the furthest between start/end.
5752
5778
  *
5753
- * @return {object}
5779
+ * @return {Object}
5754
5780
  * An object with the SVG path in Array form as accepted by the SVG
5755
5781
  * renderer, as well as an array of new obstacles making up this
5756
5782
  * path.
@@ -5875,7 +5901,7 @@
5875
5901
  * @param {Highcharts.PositionObject} end
5876
5902
  * Ending coordinate, object with x/y props.
5877
5903
  *
5878
- * @param {object} options
5904
+ * @param {Object} options
5879
5905
  * Options for the algorithm.
5880
5906
  * - chartObstacles: Array of chart obstacles to avoid
5881
5907
  * - lineObstacles: Array of line obstacles to jump over
@@ -5887,7 +5913,7 @@
5887
5913
  * direction that is the furthest between
5888
5914
  * start/end.
5889
5915
  *
5890
- * @return {object}
5916
+ * @return {Object}
5891
5917
  * An object with the SVG path in Array form as accepted by the SVG
5892
5918
  * renderer, as well as an array of new obstacles making up this
5893
5919
  * path.
@@ -6022,19 +6048,19 @@
6022
6048
  * @private
6023
6049
  * @function
6024
6050
  *
6025
- * @param {object} obstacle
6051
+ * @param {Object} obstacle
6026
6052
  * Obstacle to dodge/escape.
6027
6053
  *
6028
- * @param {object} fromPoint
6054
+ * @param {Object} fromPoint
6029
6055
  * Point with x/y props that's dodging/escaping.
6030
6056
  *
6031
- * @param {object} toPoint
6057
+ * @param {Object} toPoint
6032
6058
  * Goal point.
6033
6059
  *
6034
6060
  * @param {boolean} dirIsX
6035
6061
  * Dodge in X dimension.
6036
6062
  *
6037
- * @param {object} bounds
6063
+ * @param {Object} bounds
6038
6064
  * Hard and soft boundaries.
6039
6065
  *
6040
6066
  * @return {boolean}
@@ -6746,7 +6772,8 @@
6746
6772
  // For Gantt series the connect could be
6747
6773
  // defined as a dependency
6748
6774
  if (ganttPointOptions && ganttPointOptions.dependency) {
6749
- ganttPointOptions.connect = ganttPointOptions.dependency;
6775
+ ganttPointOptions.connect = ganttPointOptions
6776
+ .dependency;
6750
6777
  }
6751
6778
  var to,
6752
6779
  connects = (point.options &&
@@ -6848,7 +6875,7 @@
6848
6875
  *
6849
6876
  * @function Highcharts.Pathfinder#getChartObstacles
6850
6877
  *
6851
- * @param {object} options
6878
+ * @param {Object} options
6852
6879
  * Options for the calculation. Currenlty only
6853
6880
  * options.algorithmMargin.
6854
6881
  *
@@ -6907,7 +6934,7 @@
6907
6934
  * @param {Array<object>} obstacles
6908
6935
  * An array of obstacles to inspect.
6909
6936
  *
6910
- * @return {object}
6937
+ * @return {Object}
6911
6938
  * The calculated metrics, as an object with maxHeight and maxWidth
6912
6939
  * properties.
6913
6940
  */
@@ -7037,11 +7064,11 @@
7037
7064
  * The radius of the marker, to calculate the additional distance to
7038
7065
  * the center of the marker.
7039
7066
  *
7040
- * @param {object} anchor
7067
+ * @param {Object} anchor
7041
7068
  * The anchor point of the path and marker as an object with x/y
7042
7069
  * properties.
7043
7070
  *
7044
- * @return {object}
7071
+ * @return {Object}
7045
7072
  * The marker vector as an object with x/y properties.
7046
7073
  */
7047
7074
  getMarkerVector: function (radians, markerRadius, anchor) {
@@ -7238,7 +7265,9 @@
7238
7265
  cutOff = seriesOpts.stacking && !seriesOpts.borderRadius,
7239
7266
  diamondShape;
7240
7267
  if (point.options.milestone) {
7241
- if (isNumber(plotY) && point.y !== null && point.visible !== false) {
7268
+ if (isNumber(plotY) &&
7269
+ point.y !== null &&
7270
+ point.visible !== false) {
7242
7271
  diamondShape = renderer.symbols.diamond(shapeArgs.x || 0, shapeArgs.y || 0, shapeArgs.width || 0, shapeArgs.height || 0);
7243
7272
  if (graphic) {
7244
7273
  graphic[verb]({
@@ -7575,10 +7604,9 @@
7575
7604
  * Function to run when the chart has loaded and and all external
7576
7605
  * images are loaded.
7577
7606
  *
7578
- * @return {void}
7579
7607
  *
7580
- * @fires Highcharts.GanttChart#event:init
7581
- * @fires Highcharts.GanttChart#event:afterInit
7608
+ * @emits Highcharts.GanttChart#event:init
7609
+ * @emits Highcharts.GanttChart#event:afterInit
7582
7610
  */
7583
7611
  GanttChart.prototype.init = function (userOptions, callback) {
7584
7612
  var defaultOptions = getOptions(),
@@ -7643,7 +7671,8 @@
7643
7671
  reversed: true,
7644
7672
  // Set default type treegrid, but only if 'categories' is
7645
7673
  // undefined
7646
- type: yAxisOptions.categories ? yAxisOptions.type : 'treegrid'
7674
+ type: yAxisOptions.categories ?
7675
+ yAxisOptions.type : 'treegrid'
7647
7676
  }, yAxisOptions // user options
7648
7677
  );
7649
7678
  });
@@ -7787,7 +7816,8 @@
7787
7816
  from = unitedMin + range * (1 - this.to);
7788
7817
  }
7789
7818
  if (this.shouldUpdateExtremes(e.DOMType)) {
7790
- axis.setExtremes(from, to, true, e.DOMType !== 'mousemove' && e.DOMType !== 'touchmove', e);
7819
+ axis.setExtremes(from, to, true, (e.DOMType !== 'mousemove' &&
7820
+ e.DOMType !== 'touchmove'), e);
7791
7821
  }
7792
7822
  else {
7793
7823
  // When live redraw is disabled, don't change extremes
@@ -7804,7 +7834,7 @@
7804
7834
  scrollMin = _a.scrollMin,
7805
7835
  scrollMax = _a.scrollMax,
7806
7836
  scrollbar = axis.scrollbar,
7807
- offset = axis.axisTitleMargin + (axis.titleOffset || 0),
7837
+ offset = (axis.axisTitleMargin + (axis.titleOffset || 0)),
7808
7838
  scrollbarsOffsets = axis.chart.scrollbarsOffsets,
7809
7839
  axisMargin = axis.options.margin || 0,
7810
7840
  offsetsIndex,
@@ -7816,8 +7846,11 @@
7816
7846
  if (!axis.opposite) {
7817
7847
  scrollbarsOffsets[1] += offset;
7818
7848
  }
7819
- scrollbar.position(axis.left, axis.top + axis.height + 2 + scrollbarsOffsets[1] -
7820
- (axis.opposite ? axisMargin : 0), axis.width, axis.height);
7849
+ scrollbar.position(axis.left, (axis.top +
7850
+ axis.height +
7851
+ 2 +
7852
+ scrollbarsOffsets[1] -
7853
+ (axis.opposite ? axisMargin : 0)), axis.width, axis.height);
7821
7854
  // Next scrollbar should reserve space for margin (if set)
7822
7855
  if (!axis.opposite) {
7823
7856
  scrollbarsOffsets[1] += axisMargin;
@@ -7834,7 +7867,10 @@
7834
7867
  xPosition = axis.opposite ? 0 : axisMargin;
7835
7868
  }
7836
7869
  else {
7837
- xPosition = axis.left + axis.width + 2 + scrollbarsOffsets[0] -
7870
+ xPosition = axis.left +
7871
+ axis.width +
7872
+ 2 +
7873
+ scrollbarsOffsets[0] -
7838
7874
  (axis.opposite ? 0 : axisMargin);
7839
7875
  }
7840
7876
  scrollbar.position(xPosition, axis.top, axis.width, axis.height);
@@ -7858,10 +7894,10 @@
7858
7894
  scrollbar.setRange(0, 1);
7859
7895
  }
7860
7896
  else {
7861
- from =
7862
- (axis.min - scrollMin) / (scrollMax - scrollMin);
7863
- to =
7864
- (axis.max - scrollMin) / (scrollMax - scrollMin);
7897
+ from = ((axis.min - scrollMin) /
7898
+ (scrollMax - scrollMin));
7899
+ to = ((axis.max - scrollMin) /
7900
+ (scrollMax - scrollMin));
7865
7901
  if ((axis.horiz && !axis.reversed) ||
7866
7902
  (!axis.horiz && axis.reversed)) {
7867
7903
  scrollbar.setRange(from, to);
@@ -7880,7 +7916,8 @@
7880
7916
  index = axis.horiz ? 2 : opposite ? 3 : 1,
7881
7917
  scrollbar = axis.scrollbar;
7882
7918
  if (scrollbar) {
7883
- axis.chart.scrollbarsOffsets = [0, 0]; // reset scrollbars offsets
7919
+ // reset scrollbars offsets
7920
+ axis.chart.scrollbarsOffsets = [0, 0];
7884
7921
  axis.chart.axisOffset[index] +=
7885
7922
  scrollbar.size + scrollbar.options.margin;
7886
7923
  }
@@ -8247,10 +8284,16 @@
8247
8284
  mouseUpHandler = this.mouseUpHandler.bind(this);
8248
8285
  // Mouse events
8249
8286
  var _events = [
8250
- [buttons[buttonsOrder[0]].element, 'click',
8251
- this.buttonToMinClick.bind(this)],
8252
- [buttons[buttonsOrder[1]].element, 'click',
8253
- this.buttonToMaxClick.bind(this)],
8287
+ [
8288
+ buttons[buttonsOrder[0]].element,
8289
+ 'click',
8290
+ this.buttonToMinClick.bind(this)
8291
+ ],
8292
+ [
8293
+ buttons[buttonsOrder[1]].element,
8294
+ 'click',
8295
+ this.buttonToMaxClick.bind(this)
8296
+ ],
8254
8297
  [track, 'click',
8255
8298
  this.trackClick.bind(this)],
8256
8299
  [bar, 'mousedown',
@@ -8272,7 +8315,8 @@
8272
8315
  };
8273
8316
  Scrollbar.prototype.buttonToMaxClick = function (e) {
8274
8317
  var scroller = this;
8275
- var range = (scroller.to - scroller.from) * pick(scroller.options.step, 0.2);
8318
+ var range = ((scroller.to - scroller.from) *
8319
+ pick(scroller.options.step, 0.2));
8276
8320
  scroller.updatePosition(scroller.from + range, scroller.to + range);
8277
8321
  fireEvent(scroller, 'changed', {
8278
8322
  from: scroller.from,
@@ -8325,7 +8369,6 @@
8325
8369
  *
8326
8370
  * @private
8327
8371
  * @function Highcharts.Scrollbar#destroy
8328
- * @return {void}
8329
8372
  */
8330
8373
  Scrollbar.prototype.destroy = function () {
8331
8374
  var scroller = this,
@@ -8358,7 +8401,6 @@
8358
8401
  * @function Highcharts.Scrollbar#drawScrollbarButton
8359
8402
  * @param {number} index
8360
8403
  * 0 is left, 1 is right
8361
- * @return {void}
8362
8404
  */
8363
8405
  Scrollbar.prototype.drawScrollbarButton = function (index) {
8364
8406
  var scroller = this,
@@ -8451,7 +8493,8 @@
8451
8493
  var scroller = this,
8452
8494
  normalizedEvent = scroller.chart.pointer.normalize(e),
8453
8495
  options = scroller.options,
8454
- direction = options.vertical ? 'chartY' : 'chartX',
8496
+ direction = options.vertical ?
8497
+ 'chartY' : 'chartX',
8455
8498
  initPositions = scroller.initPositions || [];
8456
8499
  var scrollPosition,
8457
8500
  chartPosition,
@@ -8512,7 +8555,6 @@
8512
8555
  * width of the scrollbar
8513
8556
  * @param {number} height
8514
8557
  * height of the scorllbar
8515
- * @return {void}
8516
8558
  */
8517
8559
  Scrollbar.prototype.position = function (x, y, width, height) {
8518
8560
  var scroller = this,
@@ -8561,7 +8603,6 @@
8561
8603
  *
8562
8604
  * @private
8563
8605
  * @function Highcharts.Scrollbar#removeEvents
8564
- * @return {void}
8565
8606
  */
8566
8607
  Scrollbar.prototype.removeEvents = function () {
8567
8608
  this._events.forEach(function (args) {
@@ -8653,7 +8694,6 @@
8653
8694
  * scale (0-1) where bar should start
8654
8695
  * @param {number} to
8655
8696
  * scale (0-1) where bar should end
8656
- * @return {void}
8657
8697
  */
8658
8698
  Scrollbar.prototype.setRange = function (from, to) {
8659
8699
  var scroller = this,
@@ -8732,8 +8772,6 @@
8732
8772
  *
8733
8773
  * @private
8734
8774
  * @function Highcharts.Scrollbar#shouldUpdateExtremes
8735
- * @param {string} [eventType]
8736
- * @return {boolean}
8737
8775
  */
8738
8776
  Scrollbar.prototype.shouldUpdateExtremes = function (eventType) {
8739
8777
  return (pick(this.options.liveRedraw, H.svg && !H.isTouchDevice && !this.chart.isBoosting) ||
@@ -8783,7 +8821,6 @@
8783
8821
  * @function Highcharts.Scrollbar#updatePosition
8784
8822
  * @param {number} from
8785
8823
  * @param {number} to
8786
- * @return {void}
8787
8824
  */
8788
8825
  Scrollbar.prototype.updatePosition = function (from, to) {
8789
8826
  if (to > 1) {
@@ -9409,7 +9446,6 @@
9409
9446
  * @param {number} i
9410
9447
  * The index of the button
9411
9448
  * @param {boolean} [redraw]
9412
- * @return {void}
9413
9449
  */
9414
9450
  RangeSelector.prototype.clickButton = function (i, redraw) {
9415
9451
  var rangeSelector = this,
@@ -9507,7 +9543,8 @@
9507
9543
  // If the navigator exist and the axis range is declared reset that
9508
9544
  // range and from now on only use the range set by a user, #14742.
9509
9545
  if (chart.navigator && chart.navigator.baseSeries[0]) {
9510
- chart.navigator.baseSeries[0].xAxis.options.range = void 0;
9546
+ chart.navigator.baseSeries[0].xAxis.options
9547
+ .range = void 0;
9511
9548
  }
9512
9549
  newMin = dataMin;
9513
9550
  newMax = dataMax;
@@ -9552,7 +9589,6 @@
9552
9589
  * @private
9553
9590
  * @function Highcharts.RangeSelector#setSelected
9554
9591
  * @param {number} [selected]
9555
- * @return {void}
9556
9592
  */
9557
9593
  RangeSelector.prototype.setSelected = function (selected) {
9558
9594
  this.selected = this.options.selected = selected;
@@ -9563,12 +9599,11 @@
9563
9599
  * @private
9564
9600
  * @function Highcharts.RangeSelector#init
9565
9601
  * @param {Highcharts.Chart} chart
9566
- * @return {void}
9567
9602
  */
9568
9603
  RangeSelector.prototype.init = function (chart) {
9569
9604
  var rangeSelector = this,
9570
9605
  options = chart.options.rangeSelector,
9571
- buttonOptions = options.buttons || rangeSelector.defaultButtons.slice(),
9606
+ buttonOptions = (options.buttons || rangeSelector.defaultButtons.slice()),
9572
9607
  selectedOption = options.selected,
9573
9608
  blurInputs = function () {
9574
9609
  var minInput = rangeSelector.minInput,
@@ -9618,7 +9653,6 @@
9618
9653
  *
9619
9654
  * @private
9620
9655
  * @function Highcharts.RangeSelector#updateButtonStates
9621
- * @return {void}
9622
9656
  */
9623
9657
  RangeSelector.prototype.updateButtonStates = function () {
9624
9658
  var rangeSelector = this,
@@ -9724,7 +9758,6 @@
9724
9758
  * @private
9725
9759
  * @function Highcharts.RangeSelector#computeButtonRange
9726
9760
  * @param {Highcharts.RangeSelectorButtonsOptions} rangeOptions
9727
- * @return {void}
9728
9761
  */
9729
9762
  RangeSelector.prototype.computeButtonRange = function (rangeOptions) {
9730
9763
  var type = rangeOptions.type,
@@ -9759,12 +9792,11 @@
9759
9792
  *
9760
9793
  * @private
9761
9794
  * @function Highcharts.RangeSelector#getInputValue
9762
- * @param {string} name
9763
- * @return {number}
9764
9795
  */
9765
9796
  RangeSelector.prototype.getInputValue = function (name) {
9766
9797
  var input = name === 'min' ? this.minInput : this.maxInput;
9767
- var options = this.chart.options.rangeSelector;
9798
+ var options = this.chart.options
9799
+ .rangeSelector;
9768
9800
  var time = this.chart.time;
9769
9801
  if (input) {
9770
9802
  return ((input.type === 'text' && options.inputDateParser) ||
@@ -9777,9 +9809,6 @@
9777
9809
  *
9778
9810
  * @private
9779
9811
  * @function Highcharts.RangeSelector#setInputValue
9780
- * @param {string} name
9781
- * @param {number} [inputTime]
9782
- * @return {void}
9783
9812
  */
9784
9813
  RangeSelector.prototype.setInputValue = function (name, inputTime) {
9785
9814
  var options = this.options, time = this.chart.time, input = name === 'min' ? this.minInput : this.maxInput, dateBox = name === 'min' ? this.minDateBox : this.maxDateBox;
@@ -9794,7 +9823,8 @@
9794
9823
  input.setAttribute('data-hc-time', inputTime);
9795
9824
  updatedTime = inputTime;
9796
9825
  }
9797
- input.value = time.dateFormat(this.inputTypeFormats[input.type] || options.inputEditDateFormat, updatedTime);
9826
+ input.value = time.dateFormat((this.inputTypeFormats[input.type] ||
9827
+ options.inputEditDateFormat), updatedTime);
9798
9828
  if (dateBox) {
9799
9829
  dateBox.attr({
9800
9830
  text: time.dateFormat(options.inputDateFormat, updatedTime)
@@ -9807,10 +9837,6 @@
9807
9837
  *
9808
9838
  * @private
9809
9839
  * @function Highcharts.RangeSelector#setInputExtremes
9810
- * @param {string} name
9811
- * @param {number} min
9812
- * @param {number} max
9813
- * @return {void}
9814
9840
  */
9815
9841
  RangeSelector.prototype.setInputExtremes = function (name, min, max) {
9816
9842
  var input = name === 'min' ? this.minInput : this.maxInput;
@@ -9835,7 +9861,6 @@
9835
9861
  * @private
9836
9862
  * @function Highcharts.RangeSelector#showInput
9837
9863
  * @param {string} name
9838
- * @return {void}
9839
9864
  */
9840
9865
  RangeSelector.prototype.showInput = function (name) {
9841
9866
  var dateBox = name === 'min' ? this.minDateBox : this.maxDateBox;
@@ -9847,7 +9872,9 @@
9847
9872
  translateY = _a.translateY;
9848
9873
  var inputBoxWidth = this.options.inputBoxWidth;
9849
9874
  css(input, {
9850
- width: isTextInput ? ((dateBox.width + (inputBoxWidth ? -2 : 20)) + 'px') : 'auto',
9875
+ width: isTextInput ?
9876
+ ((dateBox.width + (inputBoxWidth ? -2 : 20)) + 'px') :
9877
+ 'auto',
9851
9878
  height: isTextInput ? ((dateBox.height - 2) + 'px') : 'auto',
9852
9879
  border: '2px solid silver'
9853
9880
  });
@@ -9873,7 +9900,6 @@
9873
9900
  * @private
9874
9901
  * @function Highcharts.RangeSelector#hideInput
9875
9902
  * @param {string} name
9876
- * @return {void}
9877
9903
  */
9878
9904
  RangeSelector.prototype.hideInput = function (name) {
9879
9905
  var input = name === 'min' ? this.minInput : this.maxInput;
@@ -9925,8 +9951,6 @@
9925
9951
  *
9926
9952
  * @private
9927
9953
  * @function Highcharts.RangeSelector#drawInput
9928
- * @param {string} name
9929
- * @return {RangeSelectorInputElements}
9930
9954
  */
9931
9955
  RangeSelector.prototype.drawInput = function (name) {
9932
9956
  var _a = this,
@@ -10095,8 +10119,6 @@
10095
10119
  *
10096
10120
  * @private
10097
10121
  * @function Highcharts.RangeSelector#getPosition
10098
- *
10099
- * @return {Highcharts.Dictionary<number>}
10100
10122
  */
10101
10123
  RangeSelector.prototype.getPosition = function () {
10102
10124
  var chart = this.chart,
@@ -10116,13 +10138,8 @@
10116
10138
  *
10117
10139
  * @private
10118
10140
  * @function Highcharts.RangeSelector#getYTDExtremes
10119
- *
10120
- * @param {number} dataMax
10121
- *
10122
- * @param {number} dataMin
10123
- *
10124
10141
  * @return {*}
10125
- * Returns min and max for the YTD
10142
+ * Returns min and max for the YTD
10126
10143
  */
10127
10144
  RangeSelector.prototype.getYTDExtremes = function (dataMax, dataMin, useUTC) {
10128
10145
  var time = this.chart.time,
@@ -10151,7 +10168,6 @@
10151
10168
  * X axis minimum
10152
10169
  * @param {number} [max]
10153
10170
  * X axis maximum
10154
- * @return {void}
10155
10171
  */
10156
10172
  RangeSelector.prototype.render = function (min, max) {
10157
10173
  var chart = this.chart,
@@ -10205,7 +10221,8 @@
10205
10221
  this.setInputValue('min', min);
10206
10222
  this.setInputValue('max', max);
10207
10223
  var unionExtremes = (chart.scroller && chart.scroller.getUnionExtremes()) || chart.xAxis[0] || {};
10208
- if (defined(unionExtremes.dataMin) && defined(unionExtremes.dataMax)) {
10224
+ if (defined(unionExtremes.dataMin) &&
10225
+ defined(unionExtremes.dataMax)) {
10209
10226
  var minRange = chart.xAxis[0].minRange || 0;
10210
10227
  this.setInputExtremes('min', unionExtremes.dataMin, Math.min(unionExtremes.dataMax, this.getInputValue('max')) - minRange);
10211
10228
  this.setInputExtremes('max', Math.max(unionExtremes.dataMin, this.getInputValue('min')) + minRange, unionExtremes.dataMax);
@@ -10238,7 +10255,6 @@
10238
10255
  *
10239
10256
  * @private
10240
10257
  * @function Highcharts.RangeSelector#renderButtons
10241
- * @return {void}
10242
10258
  */
10243
10259
  RangeSelector.prototype.renderButtons = function () {
10244
10260
  var _this = this;
@@ -10339,7 +10355,6 @@
10339
10355
  *
10340
10356
  * @private
10341
10357
  * @function Highcharts.RangeSelector#alignElements
10342
- * @return {void}
10343
10358
  */
10344
10359
  RangeSelector.prototype.alignElements = function () {
10345
10360
  var _this = this;
@@ -10495,7 +10510,6 @@
10495
10510
  * @function Highcharts.RangeSelector#alignButtonGroup
10496
10511
  * @param {number} xOffsetForExportButton
10497
10512
  * @param {number} [width]
10498
- * @return {void}
10499
10513
  */
10500
10514
  RangeSelector.prototype.alignButtonGroup = function (xOffsetForExportButton, width) {
10501
10515
  var _a = this,
@@ -10525,7 +10539,6 @@
10525
10539
  /**
10526
10540
  * @private
10527
10541
  * @function Highcharts.RangeSelector#positionButtons
10528
- * @return {void}
10529
10542
  */
10530
10543
  RangeSelector.prototype.positionButtons = function () {
10531
10544
  var _a = this,
@@ -10566,7 +10579,6 @@
10566
10579
  * @param {number} xOffsetForExportButton
10567
10580
  * The X offset of the group required to make room for the
10568
10581
  * exporting button
10569
- * @return {void}
10570
10582
  */
10571
10583
  RangeSelector.prototype.handleCollision = function (xOffsetForExportButton) {
10572
10584
  var _this = this;
@@ -10667,7 +10679,6 @@
10667
10679
  * @private
10668
10680
  * @function Highcharts.RangeSelector#collapseButtons
10669
10681
  * @param {number} xOffsetForExportButton
10670
- * @return {void}
10671
10682
  */
10672
10683
  RangeSelector.prototype.collapseButtons = function (xOffsetForExportButton) {
10673
10684
  var _a = this,
@@ -10721,7 +10732,6 @@
10721
10732
  *
10722
10733
  * @private
10723
10734
  * @function Highcharts.RangeSelector#expandButtons
10724
- * @return {void}
10725
10735
  */
10726
10736
  RangeSelector.prototype.expandButtons = function () {
10727
10737
  var _a = this,
@@ -10753,7 +10763,6 @@
10753
10763
  *
10754
10764
  * @private
10755
10765
  * @function Highcharts.RangeSelector#currentButtonIndex
10756
- * @return {number}
10757
10766
  */
10758
10767
  RangeSelector.prototype.currentButtonIndex = function () {
10759
10768
  var dropdown = this.dropdown;
@@ -10767,7 +10776,6 @@
10767
10776
  *
10768
10777
  * @private
10769
10778
  * @function Highcharts.RangeSelector#showDropdown
10770
- * @return {void}
10771
10779
  */
10772
10780
  RangeSelector.prototype.showDropdown = function () {
10773
10781
  var _a = this,
@@ -10791,7 +10799,6 @@
10791
10799
  /**
10792
10800
  * @private
10793
10801
  * @function Highcharts.RangeSelector#hideDropdown
10794
- * @return {void}
10795
10802
  */
10796
10803
  RangeSelector.prototype.hideDropdown = function () {
10797
10804
  var dropdown = this.dropdown;
@@ -10810,7 +10817,7 @@
10810
10817
  * @private
10811
10818
  * @function Highcharts.RangeSelector#getHeight
10812
10819
  * @return {number}
10813
- * Returns rangeSelector height
10820
+ * Returns rangeSelector height
10814
10821
  */
10815
10822
  RangeSelector.prototype.getHeight = function () {
10816
10823
  var rangeSelector = this,
@@ -10846,11 +10853,8 @@
10846
10853
  *
10847
10854
  * @private
10848
10855
  * @function Highcharts.RangeSelector#titleCollision
10849
- *
10850
- * @param {Highcharts.Chart} chart
10851
- *
10852
10856
  * @return {boolean}
10853
- * Returns collision status
10857
+ * Returns collision status
10854
10858
  */
10855
10859
  RangeSelector.prototype.titleCollision = function (chart) {
10856
10860
  return !(chart.options.title.text ||
@@ -10862,7 +10866,6 @@
10862
10866
  * @private
10863
10867
  * @function Highcharts.RangeSelector#update
10864
10868
  * @param {Highcharts.RangeSelectorOptions} options
10865
- * @return {void}
10866
10869
  */
10867
10870
  RangeSelector.prototype.update = function (options) {
10868
10871
  var chart = this.chart;
@@ -10958,17 +10961,14 @@
10958
10961
  *
10959
10962
  * @private
10960
10963
  * @function preferredInputType
10961
- * @param {string} format
10962
- * @return {string}
10963
10964
  */
10964
10965
  function preferredInputType(format) {
10965
10966
  var ms = format.indexOf('%L') !== -1;
10966
10967
  if (ms) {
10967
10968
  return 'text';
10968
10969
  }
10969
- var date = ['a', 'A', 'd', 'e', 'w', 'b', 'B', 'm', 'o', 'y', 'Y'].some(function (char) {
10970
- return format.indexOf('%' + char) !== -1;
10971
- });
10970
+ var date = ['a', 'A', 'd', 'e', 'w', 'b', 'B', 'm', 'o', 'y', 'Y']
10971
+ .some(function (char) { return format.indexOf('%' + char) !== -1; });
10972
10972
  var time = ['H', 'k', 'I', 'l', 'M', 'S'].some(function (char) {
10973
10973
  return format.indexOf('%' + char) !== -1;
10974
10974
  });
@@ -11005,7 +11005,8 @@
11005
11005
  // Get the true range from a start date
11006
11006
  getTrueRange = function (base,
11007
11007
  count) {
11008
- var timeName = type === 'year' ? 'FullYear' : 'Month';
11008
+ var timeName = type === 'year' ?
11009
+ 'FullYear' : 'Month';
11009
11010
  var date = new time.Date(base);
11010
11011
  var basePeriod = time.get(timeName,
11011
11012
  date);
@@ -11259,11 +11260,6 @@
11259
11260
  *
11260
11261
  * @private
11261
11262
  * @function Highcharts.Axis#toFixedRange
11262
- * @param {number} [pxMin]
11263
- * @param {number} [pxMax]
11264
- * @param {number} [fixedMin]
11265
- * @param {number} [fixedMax]
11266
- * @return {*}
11267
11263
  */
11268
11264
  NavigatorAxisAdditions.prototype.toFixedRange = function (pxMin, pxMax, fixedMin, fixedMax) {
11269
11265
  var navigator = this;
@@ -12014,17 +12010,32 @@
12014
12010
  verticalMin = navigatorTop + zoomedMax + outlineCorrection;
12015
12011
  zoomedMax = navigatorTop + zoomedMin + outlineCorrection;
12016
12012
  path = [
12017
- ['M', left + outlineHeight, navigatorTop - scrollbarHeight - outlineCorrection],
12013
+ [
12014
+ 'M',
12015
+ left + outlineHeight,
12016
+ navigatorTop - scrollbarHeight - outlineCorrection
12017
+ ],
12018
+ // top right of zoomed range
12018
12019
  ['L', left + outlineHeight, verticalMin],
12019
12020
  ['L', left, verticalMin],
12020
12021
  ['L', left, zoomedMax],
12021
12022
  ['L', left + outlineHeight, zoomedMax],
12022
- ['L', left + outlineHeight, navigatorTop + navigatorSize + scrollbarHeight]
12023
+ [
12024
+ 'L',
12025
+ left + outlineHeight,
12026
+ navigatorTop + navigatorSize + scrollbarHeight
12027
+ ]
12023
12028
  ];
12024
12029
  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
- );
12030
+ path.push(
12031
+ // upper left of zoomed range
12032
+ ['M', left + outlineHeight, verticalMin - halfOutline],
12033
+ // upper right of z.r.
12034
+ [
12035
+ 'L',
12036
+ left + outlineHeight,
12037
+ zoomedMax + halfOutline
12038
+ ]);
12028
12039
  }
12029
12040
  }
12030
12041
  else {
@@ -12032,17 +12043,25 @@
12032
12043
  zoomedMax += left + scrollbarHeight - outlineCorrection;
12033
12044
  navigatorTop += halfOutline;
12034
12045
  path = [
12046
+ // left
12035
12047
  ['M', left, navigatorTop],
12048
+ // upper left of zoomed range
12036
12049
  ['L', zoomedMin, navigatorTop],
12050
+ // lower left of z.r.
12037
12051
  ['L', zoomedMin, navigatorTop + outlineHeight],
12052
+ // lower right of z.r.
12038
12053
  ['L', zoomedMax, navigatorTop + outlineHeight],
12054
+ // upper right of z.r.
12039
12055
  ['L', zoomedMax, navigatorTop],
12040
- ['L', left + navigatorSize + scrollbarHeight * 2, navigatorTop] // right
12056
+ // right
12057
+ ['L', left + navigatorSize + scrollbarHeight * 2, navigatorTop]
12041
12058
  ];
12042
12059
  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
- );
12060
+ path.push(
12061
+ // upper left of zoomed range
12062
+ ['M', zoomedMin - halfOutline, navigatorTop],
12063
+ // upper right of z.r.
12064
+ ['L', zoomedMax + halfOutline, navigatorTop]);
12046
12065
  }
12047
12066
  }
12048
12067
  navigator.outline[verb]({
@@ -12145,19 +12164,21 @@
12145
12164
  maskInside,
12146
12165
  !maskInside
12147
12166
  ].forEach(function (hasMask, index) {
12148
- navigator.shades[index] = renderer.rect()
12149
- .addClass('highcharts-navigator-mask' +
12150
- (index === 1 ? '-inside' : '-outside'))
12151
- .add(navigatorGroup);
12167
+ var shade = renderer.rect()
12168
+ .addClass('highcharts-navigator-mask' +
12169
+ (index === 1 ? '-inside' : '-outside'))
12170
+ .add(navigatorGroup);
12152
12171
  if (!chart.styledMode) {
12153
- navigator.shades[index]
12154
- .attr({
12172
+ shade.attr({
12155
12173
  fill: hasMask ?
12156
12174
  navigatorOptions.maskFill :
12157
12175
  'rgba(0,0,0,0)'
12158
- })
12159
- .css((index === 1) && mouseCursor);
12176
+ });
12177
+ if (index === 1) {
12178
+ shade.css(mouseCursor);
12179
+ }
12160
12180
  }
12181
+ navigator.shades[index] = shade;
12161
12182
  });
12162
12183
  // Create the outline:
12163
12184
  navigator.outline = renderer.path()
@@ -12228,7 +12249,6 @@
12228
12249
  * Pixel value minimum
12229
12250
  * @param {number} [pxMax]
12230
12251
  * Pixel value maximum
12231
- * @return {void}
12232
12252
  */
12233
12253
  Navigator.prototype.render = function (min, max, pxMin, pxMax) {
12234
12254
  var navigator = this,
@@ -12505,7 +12525,6 @@
12505
12525
  * Mouse event
12506
12526
  * @param {number} index
12507
12527
  * Index of a handle in Navigator.handles array
12508
- * @return {void}
12509
12528
  */
12510
12529
  Navigator.prototype.handlesMousedown = function (e, index) {
12511
12530
  e = this.chart.pointer.normalize(e);
@@ -12601,7 +12620,6 @@
12601
12620
  * @function Highcharts.Navigator#onMouseUp
12602
12621
  * @param {Highcharts.PointerEventObject} e
12603
12622
  * Mouse event
12604
- * @return {void}
12605
12623
  */
12606
12624
  Navigator.prototype.onMouseUp = function (e) {
12607
12625
  var navigator = this,
@@ -12688,7 +12706,6 @@
12688
12706
  *
12689
12707
  * @private
12690
12708
  * @function Highcharts.Navigator#removeEvents
12691
- * @return {void}
12692
12709
  */
12693
12710
  Navigator.prototype.removeEvents = function () {
12694
12711
  if (this.eventsToUnbind) {
@@ -12704,7 +12721,6 @@
12704
12721
  *
12705
12722
  * @private
12706
12723
  * @function Highcharts.Navigator#removeBaseSeriesEvents
12707
- * @return {void}
12708
12724
  */
12709
12725
  Navigator.prototype.removeBaseSeriesEvents = function () {
12710
12726
  var baseSeries = this.baseSeries || [];
@@ -12790,7 +12806,8 @@
12790
12806
  offset: 0,
12791
12807
  index: yAxisIndex,
12792
12808
  isInternal: true,
12793
- reversed: pick((navigatorOptions.yAxis && navigatorOptions.yAxis.reversed), (chart.yAxis[0] && chart.yAxis[0].reversed), false),
12809
+ reversed: pick((navigatorOptions.yAxis &&
12810
+ navigatorOptions.yAxis.reversed), (chart.yAxis[0] && chart.yAxis[0].reversed), false),
12794
12811
  zoomEnabled: false
12795
12812
  }, chart.inverted ? {
12796
12813
  width: height
@@ -12872,9 +12889,6 @@
12872
12889
  *
12873
12890
  * @private
12874
12891
  * @function Highcharts.Navigator#getUnionExtremes
12875
- * @param {boolean} [returnFalseOnNoBaseSeries]
12876
- * as the param says.
12877
- * @return {Highcharts.Dictionary<(number|undefined)>|undefined}
12878
12892
  */
12879
12893
  Navigator.prototype.getUnionExtremes = function (returnFalseOnNoBaseSeries) {
12880
12894
  var baseAxis = this.chart.xAxis[0],
@@ -12902,7 +12916,6 @@
12902
12916
  * Additional series options for a navigator
12903
12917
  * @param {boolean} [redraw]
12904
12918
  * Whether to redraw after update.
12905
- * @return {void}
12906
12919
  */
12907
12920
  Navigator.prototype.setBaseSeries = function (baseSeriesOptions, redraw) {
12908
12921
  var chart = this.chart,
@@ -12941,7 +12954,6 @@
12941
12954
  * @function Highcharts.Navigator.updateNavigatorSeries
12942
12955
  * @param {boolean} addEvents
12943
12956
  * @param {boolean} [redraw]
12944
- * @return {void}
12945
12957
  */
12946
12958
  Navigator.prototype.updateNavigatorSeries = function (addEvents, redraw) {
12947
12959
  var navigator = this,
@@ -13082,7 +13094,6 @@
13082
13094
  *
13083
13095
  * @private
13084
13096
  * @function Highcharts.Navigator#addBaseSeriesEvent
13085
- * @return {void}
13086
13097
  */
13087
13098
  Navigator.prototype.addBaseSeriesEvents = function () {
13088
13099
  var navigator = this,
@@ -13135,7 +13146,8 @@
13135
13146
  Navigator.prototype.getBaseSeriesMin = function (currentSeriesMin) {
13136
13147
  return this.baseSeries.reduce(function (min, series) {
13137
13148
  // (#10193)
13138
- return Math.min(min, series.xData ? series.xData[0] : min);
13149
+ return Math.min(min, series.xData && series.xData.length ?
13150
+ series.xData[0] : min);
13139
13151
  }, currentSeriesMin);
13140
13152
  };
13141
13153
  /**
@@ -13276,7 +13288,6 @@
13276
13288
  *
13277
13289
  * @private
13278
13290
  * @function Highcharts.Navigator#addChartEvents
13279
- * @return {void}
13280
13291
  */
13281
13292
  Navigator.prototype.addChartEvents = function () {
13282
13293
  if (!this.eventsToUnbind) {