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 JS v9.3.1 (2021-11-05)
2
+ * @license Highcharts JS v10.0.0 (2022-03-07)
3
3
  *
4
4
  * Annotations module
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, 'Extensions/Annotations/Mixins/EventEmitterMixin.js', [_modules['Core/Globals.js'], _modules['Core/Utilities.js']], function (H, U) {
@@ -49,7 +58,6 @@
49
58
  *
50
59
  * @private
51
60
  * @mixin
52
- * @memberOf Annotation
53
61
  */
54
62
  var eventEmitterMixin = {
55
63
  /**
@@ -361,7 +369,6 @@
361
369
  * @param {boolean} visible
362
370
  * Visibility of the control point.
363
371
  *
364
- * @return {void}
365
372
  */
366
373
  ControlPoint.prototype.setVisibility = function (visible) {
367
374
  this.graphic.attr('visibility', visible ? 'visible' : 'hidden');
@@ -411,7 +418,6 @@
411
418
  * @param {Partial<Highcharts.AnnotationControlPointOptionsObject>} userOptions
412
419
  * New options for the control point.
413
420
  *
414
- * @return {void}
415
421
  */
416
422
  ControlPoint.prototype.update = function (userOptions) {
417
423
  var chart = this.chart,
@@ -774,7 +780,7 @@
774
780
  this.plotX = xAxis.toPixels(options.x, true);
775
781
  }
776
782
  else {
777
- this.x = null;
783
+ this.x = void 0;
778
784
  this.plotX = options.x;
779
785
  }
780
786
  if (yAxis) {
@@ -966,7 +972,8 @@
966
972
  */
967
973
  getPointsOptions: function () {
968
974
  var options = this.options;
969
- return (options.points || (options.point && splat(options.point)));
975
+ return (options.points ||
976
+ (options.point && splat(options.point)));
970
977
  },
971
978
  /**
972
979
  * Utility function for mapping item's options
@@ -1205,8 +1212,10 @@
1205
1212
  // Options stored in:
1206
1213
  // - chart (for exporting)
1207
1214
  // - current config (for redraws)
1208
- chartOptions[this.collection][this.index].point = this.options.point;
1209
- shapeOptions[this.collection][this.index].point = this.options.point;
1215
+ chartOptions[this.collection][this.index]
1216
+ .point = this.options.point;
1217
+ shapeOptions[this.collection][this.index]
1218
+ .point = this.options.point;
1210
1219
  },
1211
1220
  /**
1212
1221
  * Rotate a controllable.
@@ -1424,13 +1433,13 @@
1424
1433
  fill = itemOptions.fill,
1425
1434
  color = defined(fill) && fill !== 'none' ?
1426
1435
  fill :
1427
- itemOptions.stroke,
1428
- setMarker = function (markerType) {
1436
+ itemOptions.stroke;
1437
+ var setMarker = function (markerType) {
1429
1438
  var markerId = itemOptions[markerType],
1430
- def,
1431
- predefinedMarker,
1432
- key,
1433
- marker;
1439
+ def,
1440
+ predefinedMarker,
1441
+ key,
1442
+ marker;
1434
1443
  if (markerId) {
1435
1444
  for (key in defs) { // eslint-disable-line guard-for-in
1436
1445
  def = defs[key];
@@ -1445,13 +1454,13 @@
1445
1454
  }
1446
1455
  if (predefinedMarker) {
1447
1456
  marker = item[markerType] = chart.renderer
1448
- .addMarker((itemOptions.id || uniqueKey()) + '-' +
1449
- markerId, merge(predefinedMarker, { color: color }));
1457
+ .addMarker((itemOptions.id || uniqueKey()) + '-' + markerId, merge(predefinedMarker, { color: color }));
1450
1458
  item.attr(markerType, marker.getAttribute('id'));
1451
1459
  }
1452
1460
  }
1453
1461
  };
1454
- ['markerStart', 'markerEnd'].forEach(setMarker);
1462
+ ['markerStart', 'markerEnd']
1463
+ .forEach(setMarker);
1455
1464
  }
1456
1465
  };
1457
1466
  addEvent(Chart, 'afterGetContainer', function () {
@@ -1522,7 +1531,7 @@
1522
1531
  this.point = ControllableMixin.point;
1523
1532
  this.rotate = ControllableMixin.rotate;
1524
1533
  this.scale = ControllableMixin.scale;
1525
- this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
1534
+ this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
1526
1535
  this.setMarkers = MarkerMixin.setItemMarkers;
1527
1536
  this.transform = ControllableMixin.transform;
1528
1537
  this.transformPoint = ControllableMixin.transformPoint;
@@ -1586,7 +1595,8 @@
1586
1595
  null;
1587
1596
  };
1588
1597
  ControllablePath.prototype.shouldBeDrawn = function () {
1589
- return (ControllableMixin.shouldBeDrawn.call(this) || Boolean(this.options.d));
1598
+ return (ControllableMixin.shouldBeDrawn.call(this) ||
1599
+ Boolean(this.options.d));
1590
1600
  };
1591
1601
  ControllablePath.prototype.render = function (parent) {
1592
1602
  var options = this.options,
@@ -1713,7 +1723,7 @@
1713
1723
  this.point = ControllableMixin.point;
1714
1724
  this.rotate = ControllableMixin.rotate;
1715
1725
  this.scale = ControllableMixin.scale;
1716
- this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
1726
+ this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
1717
1727
  this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
1718
1728
  this.transform = ControllableMixin.transform;
1719
1729
  this.transformPoint = ControllableMixin.transformPoint;
@@ -1823,7 +1833,7 @@
1823
1833
  this.point = ControllableMixin.point;
1824
1834
  this.rotate = ControllableMixin.rotate;
1825
1835
  this.scale = ControllableMixin.scale;
1826
- this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
1836
+ this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
1827
1837
  this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
1828
1838
  this.transform = ControllableMixin.transform;
1829
1839
  this.transformPoint = ControllableMixin.transformPoint;
@@ -1939,7 +1949,7 @@
1939
1949
  this.linkPoints = ControllableMixin.linkPoints;
1940
1950
  this.point = ControllableMixin.point;
1941
1951
  this.scale = ControllableMixin.scale;
1942
- this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
1952
+ this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
1943
1953
  this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
1944
1954
  this.transform = ControllableMixin.transform;
1945
1955
  this.translatePoint = ControllableMixin.translatePoint;
@@ -2159,7 +2169,7 @@
2159
2169
  this.point = ControllableMixin.point;
2160
2170
  this.rotate = ControllableMixin.rotate;
2161
2171
  this.scale = ControllableMixin.scale;
2162
- this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
2172
+ this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
2163
2173
  this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
2164
2174
  this.transform = ControllableMixin.transform;
2165
2175
  this.transformPoint = ControllableMixin.transformPoint;
@@ -2392,10 +2402,6 @@
2392
2402
  };
2393
2403
  /**
2394
2404
  * Returns the label position relative to its anchor.
2395
- *
2396
- * @param {Highcharts.AnnotationAnchorObject} anchor
2397
- *
2398
- * @return {Highcharts.PositionObject|null}
2399
2405
  */
2400
2406
  ControllableLabel.prototype.position = function (anchor) {
2401
2407
  var item = this.graphic,
@@ -2424,7 +2430,8 @@
2424
2430
  plotY: anchorRelativePosition.y,
2425
2431
  negative: point.negative,
2426
2432
  ttBelow: point.ttBelow,
2427
- h: (anchorRelativePosition.height || anchorRelativePosition.width)
2433
+ h: (anchorRelativePosition.height ||
2434
+ anchorRelativePosition.width)
2428
2435
  });
2429
2436
  }
2430
2437
  else if (itemOptions.positioner) {
@@ -2572,7 +2579,7 @@
2572
2579
  this.point = ControllableMixin.point;
2573
2580
  this.rotate = ControllableMixin.rotate;
2574
2581
  this.scale = ControllableMixin.scale;
2575
- this.setControlPointsVisibility = ControllableMixin.setControlPointsVisibility;
2582
+ this.setControlPointsVisibility = (ControllableMixin.setControlPointsVisibility);
2576
2583
  this.shouldBeDrawn = ControllableMixin.shouldBeDrawn;
2577
2584
  this.transform = ControllableMixin.transform;
2578
2585
  this.transformPoint = ControllableMixin.transformPoint;
@@ -3054,7 +3061,6 @@
3054
3061
  * @param {Partial<Highcharts.AnnotationsOptions>} userOptions
3055
3062
  * New user options for the annotation.
3056
3063
  *
3057
- * @return {void}
3058
3064
  */
3059
3065
  Annotation.prototype.update = function (userOptions, redraw) {
3060
3066
  var chart = this.chart,
@@ -3084,10 +3090,11 @@
3084
3090
  /**
3085
3091
  * Initialisation of a single shape
3086
3092
  * @private
3087
- * @param {Object} shapeOptions - a confg object for a single shape
3088
- * @param {number} index - annotation may have many shapes,
3089
- * this is the shape's index saved in shapes.index.
3090
-
3093
+ * @param {Object} shapeOptions
3094
+ * a confg object for a single shape
3095
+ * @param {number} index
3096
+ * annotation may have many shapes, this is the shape's index saved in
3097
+ * shapes.index.
3091
3098
  */
3092
3099
  Annotation.prototype.initShape = function (shapeOptions, index) {
3093
3100
  var options = merge(this.options.shapeOptions, {
@@ -3799,6 +3806,13 @@
3799
3806
  * @since 7.1.0
3800
3807
  * @apioption annotations.events.afterUpdate
3801
3808
  */
3809
+ /**
3810
+ * Fires when the annotation is clicked.
3811
+ *
3812
+ * @type {Highcharts.EventCallbackFunction<Highcharts.Annotation>}
3813
+ * @since 7.1.0
3814
+ * @apioption annotations.events.click
3815
+ */
3802
3816
  /**
3803
3817
  * Event callback when annotation is removed from the chart.
3804
3818
  *
@@ -3830,7 +3844,8 @@
3830
3844
  ******************************************************************** */
3831
3845
  extend(chartProto, /** @lends Highcharts.Chart# */ {
3832
3846
  initAnnotation: function (userOptions) {
3833
- var Constructor = Annotation.types[userOptions.type] || Annotation,
3847
+ var Constructor = Annotation
3848
+ .types[userOptions.type] || Annotation,
3834
3849
  annotation = new Constructor(this,
3835
3850
  userOptions);
3836
3851
  this.annotations.push(annotation);
@@ -3865,7 +3880,7 @@
3865
3880
  */
3866
3881
  removeAnnotation: function (idOrAnnotation) {
3867
3882
  var annotations = this.annotations,
3868
- annotation = idOrAnnotation.coll === 'annotations' ?
3883
+ annotation = (idOrAnnotation.coll === 'annotations') ?
3869
3884
  idOrAnnotation :
3870
3885
  find(annotations,
3871
3886
  function (annotation) {
@@ -3984,15 +3999,15 @@
3984
3999
  // Annotation placed on a exported data point
3985
4000
  // - add new column
3986
4001
  if (!wasAdded) {
3987
- event.dataRows.forEach(function (row, rowIndex) {
4002
+ event.dataRows.forEach(function (row) {
3988
4003
  if (!wasAdded &&
3989
4004
  row.xValues &&
3990
4005
  xAxisIndex !== void 0 &&
3991
4006
  annotationX === row.xValues[xAxisIndex]) {
3992
4007
  if (joinAnnotations &&
3993
4008
  row.length > startRowLength) {
3994
- row[row.length - 1] +=
3995
- annotationSeparator + annotationText_1;
4009
+ row[row.length - 1] += (annotationSeparator +
4010
+ annotationText_1);
3996
4011
  }
3997
4012
  else {
3998
4013
  row.push(annotationText_1);
@@ -4162,11 +4177,13 @@
4162
4177
  var options = this.options;
4163
4178
  if (options.shapes) {
4164
4179
  delete options.labelOptions;
4165
- if (options.shapes[0].type) {
4166
- this.basicType = options.shapes[0].type;
4180
+ var type = options.shapes[0].type;
4181
+ // The rectangle is rendered as a path, whereas other basic shapes
4182
+ // are rendered as their respecitve SVG shapes.
4183
+ if (type && type !== 'path') {
4184
+ this.basicType = type;
4167
4185
  }
4168
4186
  else {
4169
- // Defalut shape would be rectangle.
4170
4187
  this.basicType = 'rectangle';
4171
4188
  }
4172
4189
  }
@@ -4537,8 +4554,10 @@
4537
4554
  var translation = this.mouseMoveToTranslation(e);
4538
4555
  target.translatePoint(translation.x, translation.y, this.index);
4539
4556
  // Update options:
4540
- target.options.typeOptions.points[this.index].x = target.points[this.index].x;
4541
- target.options.typeOptions.points[this.index].y = target.points[this.index].y;
4557
+ target.options.typeOptions
4558
+ .points[this.index].x = target.points[this.index].x;
4559
+ target.options.typeOptions
4560
+ .points[this.index].y = target.points[this.index].y;
4542
4561
  target.redraw(false);
4543
4562
  }
4544
4563
  }
@@ -4625,7 +4644,7 @@
4625
4644
  * @apioption annotations.elliottWave.typeOptions.points.label
4626
4645
  */
4627
4646
  /**
4628
- * @ignore-options
4647
+ * @ignore-option
4629
4648
  */
4630
4649
  labels: ['(0)', '(A)', '(B)', '(C)', '(D)', '(E)'],
4631
4650
  line: {
@@ -4758,9 +4777,12 @@
4758
4777
  /**
4759
4778
  * Translate start or end ("left" or "right") side of the tunnel.
4760
4779
  * @private
4761
- * @param {number} dx - the amount of x translation
4762
- * @param {number} dy - the amount of y translation
4763
- * @param {boolean} [end] - whether to translate start or end side
4780
+ * @param {number} dx
4781
+ * the amount of x translation
4782
+ * @param {number} dy
4783
+ * the amount of y translation
4784
+ * @param {boolean} [end]
4785
+ * whether to translate start or end side
4764
4786
  */
4765
4787
  Tunnel.prototype.translateSide = function (dx, dy, end) {
4766
4788
  var topIndex = Number(end),
@@ -4771,12 +4793,14 @@
4771
4793
  /**
4772
4794
  * Translate height of the tunnel.
4773
4795
  * @private
4774
- * @param {number} dh - the amount of height translation
4796
+ * @param {number} dh
4797
+ * the amount of height translation
4775
4798
  */
4776
4799
  Tunnel.prototype.translateHeight = function (dh) {
4777
4800
  this.translatePoint(0, dh, 2);
4778
4801
  this.translatePoint(0, dh, 3);
4779
- this.options.typeOptions.height = this.points[3].y - this.points[0].y;
4802
+ this.options.typeOptions.height = this.points[3].y -
4803
+ this.points[0].y;
4780
4804
  };
4781
4805
  return Tunnel;
4782
4806
  }(CrookedLine));
@@ -5160,7 +5184,9 @@
5160
5184
  var _this = this;
5161
5185
  var options = this.options,
5162
5186
  typeOptions = options.typeOptions;
5163
- options.controlPointOptions.style.cursor = this.chart.inverted ? 'ns-resize' : 'ew-resize';
5187
+ options.controlPointOptions.style.cursor = this.chart.inverted ?
5188
+ 'ns-resize' :
5189
+ 'ew-resize';
5164
5190
  typeOptions.controlPointOptions.forEach(function (option) {
5165
5191
  var controlPointsOptions = merge(options.controlPointOptions,
5166
5192
  option);
@@ -5188,15 +5214,17 @@
5188
5214
  if (!xValue1 || !xValue2) {
5189
5215
  return;
5190
5216
  }
5191
- var y = isNumber(yValue) ? yAxis.toPixels(yValue) : yAxis.top + yAxis.height,
5217
+ var y = isNumber(yValue) ?
5218
+ yAxis.toPixels(yValue) :
5219
+ yAxis.top + yAxis.height,
5192
5220
  x = isNumber(xValue1) ? xAxis.toPixels(xValue1) : xAxis.left,
5193
5221
  x2 = isNumber(xValue2) ? xAxis.toPixels(xValue2) : xAxis.left + 30,
5194
5222
  xAxisLength = xAxis.len,
5195
5223
  pixelInterval = Math.round(Math.max(Math.abs(x2 - x), 2)),
5196
5224
  // There can be 2 not full circles on the chart, so add 2.
5197
5225
  numberOfCircles = Math.floor(xAxisLength / pixelInterval) + 2,
5198
- // Calculate where the annotation should start drawing
5199
- // relative to first point.
5226
+ // Calculate where the annotation should start drawing relative to
5227
+ // first point.
5200
5228
  pixelShift = (Math.floor((x - xAxis.left) / pixelInterval) + 1) * pixelInterval;
5201
5229
  this.startX = x - pixelShift;
5202
5230
  this.y = y;
@@ -5791,7 +5819,8 @@
5791
5819
  };
5792
5820
  };
5793
5821
  Pitchfork.findEdgePoint = function (point, firstAnglePoint, secondAnglePoint) {
5794
- var angle = Math.atan2(secondAnglePoint.plotY - firstAnglePoint.plotY,
5822
+ var angle = Math.atan2((secondAnglePoint.plotY -
5823
+ firstAnglePoint.plotY),
5795
5824
  secondAnglePoint.plotX - firstAnglePoint.plotX),
5796
5825
  distance = 1e7;
5797
5826
  return {
@@ -6192,7 +6221,6 @@
6192
6221
  /**
6193
6222
  * Get measure points configuration objects.
6194
6223
  * @private
6195
- * @return {Array<Highcharts.AnnotationMockPointOptionsObject>}
6196
6224
  */
6197
6225
  Measure.prototype.pointsOptions = function () {
6198
6226
  return this.options.points;
@@ -6200,7 +6228,6 @@
6200
6228
  /**
6201
6229
  * Get points configuration objects for shapes.
6202
6230
  * @private
6203
- * @return {Array<Highcharts.AnnotationMockPointOptionsObject>}
6204
6231
  */
6205
6232
  Measure.prototype.shapePointsOptions = function () {
6206
6233
  var options = this.options.typeOptions,
@@ -6270,8 +6297,8 @@
6270
6297
  return;
6271
6298
  }
6272
6299
  if (this.labels.length > 0) {
6273
- this.labels[0].text = (formatter && formatter.call(this)) ||
6274
- Measure.calculations.defaultFormatter.call(this);
6300
+ this.labels[0].text = ((formatter && formatter.call(this)) ||
6301
+ Measure.calculations.defaultFormatter.call(this));
6275
6302
  }
6276
6303
  else {
6277
6304
  this.initLabel(extend({
@@ -6406,10 +6433,14 @@
6406
6433
  * Translate start or end ("left" or "right") side of the measure.
6407
6434
  * Update start points (startXMin, startXMax, startYMin, startYMax)
6408
6435
  * @private
6409
- * @param {number} dx - the amount of x translation
6410
- * @param {number} dy - the amount of y translation
6411
- * @param {number} cpIndex - index of control point
6412
- * @param {Highcharts.AnnotationDraggableValue} selectType - x / y / xy
6436
+ * @param {number} dx
6437
+ * the amount of x translation
6438
+ * @param {number} dy
6439
+ * the amount of y translation
6440
+ * @param {number} cpIndex
6441
+ * index of control point
6442
+ * @param {Highcharts.AnnotationDraggableValue} selectType
6443
+ * x / y / xy
6413
6444
  */
6414
6445
  Measure.prototype.resize = function (dx, dy, cpIndex, selectType) {
6415
6446
  // background shape
@@ -6448,8 +6479,10 @@
6448
6479
  * Redraw event which render elements and update start points if needed.
6449
6480
  * @private
6450
6481
  * @param {boolean} animation
6451
- * @param {boolean} [resize] - flag if resized
6452
- * @param {boolean} [setStartPoints] - update position of start points
6482
+ * @param {boolean} [resize]
6483
+ * flag if resized
6484
+ * @param {boolean} [setStartPoints]
6485
+ * update position of start points
6453
6486
  */
6454
6487
  Measure.prototype.redraw = function (animation, resize, setStartPoints) {
6455
6488
  this.linkPoints();
@@ -6920,7 +6953,7 @@
6920
6953
  *
6921
6954
  * </table>
6922
6955
  *
6923
- * @type {function}
6956
+ * @type {Function}
6924
6957
  *
6925
6958
  */
6926
6959
  formatter: void 0
@@ -7313,7 +7346,9 @@
7313
7346
  navigation.eventsToUnbind.push(addEvent(subContainer, 'click', function (event) {
7314
7347
  var bindings = navigation.getButtonEvents(subContainer,
7315
7348
  event);
7316
- if (bindings && bindings.button.className.indexOf('highcharts-disabled-btn') === -1) {
7349
+ if (bindings &&
7350
+ bindings.button.className
7351
+ .indexOf('highcharts-disabled-btn') === -1) {
7317
7352
  navigation.bindingsButtonClick(bindings.button, bindings.events, event);
7318
7353
  }
7319
7354
  }));
@@ -7359,7 +7394,7 @@
7359
7394
  * @param {Highcharts.HTMLDOMElement} [button]
7360
7395
  * Clicked button
7361
7396
  *
7362
- * @param {object} events
7397
+ * @param {Object} events
7363
7398
  * Events passed down from bindings (`init`, `start`, `step`, `end`)
7364
7399
  *
7365
7400
  * @param {Highcharts.PointerEventObject} clickEvent
@@ -7472,8 +7507,7 @@
7472
7507
  navigation.stepIndex++;
7473
7508
  if (selectedButton.steps[navigation.stepIndex]) {
7474
7509
  // If we have more steps, bind them one by one:
7475
- navigation.mouseMoveEvent = navigation.nextEvent =
7476
- selectedButton.steps[navigation.stepIndex];
7510
+ navigation.mouseMoveEvent = navigation.nextEvent = selectedButton.steps[navigation.stepIndex];
7477
7511
  }
7478
7512
  else {
7479
7513
  fireEvent(navigation, 'deselectButton', { button: navigation.selectedButtonElement });
@@ -7607,10 +7641,10 @@
7607
7641
  * @param {string} key
7608
7642
  * Option name, for example "visible" or "x", "y"
7609
7643
  *
7610
- * @param {object} parentEditables
7644
+ * @param {Object} parentEditables
7611
7645
  * Editables from NavigationBindings.annotationsEditable
7612
7646
  *
7613
- * @param {object} parent
7647
+ * @param {Object} parent
7614
7648
  * Where new options will be assigned
7615
7649
  */
7616
7650
  function traverse(option, key, parentEditables, parent) {
@@ -7651,7 +7685,9 @@
7651
7685
  parent[key] = nextParent;
7652
7686
  }
7653
7687
  objectEach(option, function (nestedOption, nestedKey) {
7654
- traverse(nestedOption, nestedKey, key === 0 ? parentEditables : nestedEditables[key], nextParent);
7688
+ traverse(nestedOption, nestedKey, key === 0 ?
7689
+ parentEditables :
7690
+ nestedEditables[key], nextParent);
7655
7691
  });
7656
7692
  }
7657
7693
  else {
@@ -7690,14 +7726,14 @@
7690
7726
  *
7691
7727
  * @function Highcharts.NavigationBindings#getClickedClassNames
7692
7728
  *
7693
- * @param {Highcharts.HTMLDOMElement}
7694
- * Container that event is bound to.
7729
+ * @param {Highcharts.HTMLDOMElement} container
7730
+ * Container that event is bound to.
7695
7731
  *
7696
7732
  * @param {global.Event} event
7697
- * Browser's event.
7733
+ * Browser's event.
7698
7734
  *
7699
7735
  * @return {Array<Array<string, Highcharts.HTMLDOMElement>>}
7700
- * Array of class names with corresponding elements
7736
+ * Array of class names with corresponding elements
7701
7737
  */
7702
7738
  NavigationBindings.prototype.getClickedClassNames = function (container, event) {
7703
7739
  var element = event.target,
@@ -7735,7 +7771,7 @@
7735
7771
  * @param {global.Event} event
7736
7772
  * Browser's event.
7737
7773
  *
7738
- * @return {object}
7774
+ * @return {Object}
7739
7775
  * Object with events (init, start, steps, and end)
7740
7776
  */
7741
7777
  NavigationBindings.prototype.getButtonEvents = function (container, event) {
@@ -7902,10 +7938,10 @@
7902
7938
  if (annotation.options.type === 'measure') {
7903
7939
  // Manually disable crooshars according to
7904
7940
  // stroke width of the shape:
7905
- typeOptions.crosshairY.enabled =
7906
- typeOptions.crosshairY.strokeWidth !== 0;
7907
- typeOptions.crosshairX.enabled =
7908
- typeOptions.crosshairX.strokeWidth !== 0;
7941
+ typeOptions.crosshairY.enabled = (typeOptions.crosshairY
7942
+ .strokeWidth !== 0);
7943
+ typeOptions.crosshairX.enabled = (typeOptions.crosshairX
7944
+ .strokeWidth !== 0);
7909
7945
  }
7910
7946
  annotation.update(config);
7911
7947
  }
@@ -8062,7 +8098,8 @@
8062
8098
  },
8063
8099
  r: 5
8064
8100
  }]
8065
- }, navigation.annotationsOptions, navigation.bindings.circleAnnotation.annotationsOptions));
8101
+ }, navigation.annotationsOptions, navigation.bindings.circleAnnotation
8102
+ .annotationsOptions));
8066
8103
  },
8067
8104
  /** @ignore-option */
8068
8105
  steps: [
@@ -8116,7 +8153,8 @@
8116
8153
  ry: 1
8117
8154
  }
8118
8155
  ]
8119
- }, navigation.annotationsOptions, navigation.bindings.ellipseAnnotation.annotationOptions));
8156
+ }, navigation.annotationsOptions, navigation.bindings.ellipseAnnotation
8157
+ .annotationOptions));
8120
8158
  },
8121
8159
  steps: [
8122
8160
  function (e, annotation) {
@@ -8259,7 +8297,7 @@
8259
8297
  * from a different server.
8260
8298
  *
8261
8299
  * @type {string}
8262
- * @default https://code.highcharts.com/9.3.1/gfx/stock-icons/
8300
+ * @default https://code.highcharts.com/10.0.0/gfx/stock-icons/
8263
8301
  * @since 7.1.3
8264
8302
  * @apioption navigation.iconsURL
8265
8303
  */
@@ -8342,28 +8380,29 @@
8342
8380
  if (chart.navigationBindings &&
8343
8381
  chart.navigationBindings.container &&
8344
8382
  chart.navigationBindings.container[0]) {
8345
- // Get the HTML element coresponding to the
8346
- // className taken from StockToolsBindings.
8347
- var buttonNode = chart.navigationBindings.container[0].querySelectorAll('.' + key);
8383
+ // Get the HTML element coresponding to the className taken
8384
+ // from StockToolsBindings.
8385
+ var buttonNode = chart.navigationBindings.container[0]
8386
+ .querySelectorAll('.' + key);
8348
8387
  if (buttonNode) {
8349
8388
  for (var i = 0; i < buttonNode.length; i++) {
8350
- var button = buttonNode[i];
8389
+ var button = buttonNode[i],
8390
+ cls = button.className;
8351
8391
  if (value.noDataState === 'normal') {
8352
- // If button has noDataState: 'normal',
8353
- // and has disabledClassName,
8354
- // remove this className.
8355
- if (button.className.indexOf(disabledClassName) !== -1) {
8392
+ // If button has noDataState: 'normal', and has
8393
+ // disabledClassName, remove this className.
8394
+ if (cls.indexOf(disabledClassName) !== -1) {
8356
8395
  button.classList.remove(disabledClassName);
8357
8396
  }
8358
8397
  }
8359
8398
  else if (!buttonsEnabled_1) {
8360
- if (button.className.indexOf(disabledClassName) === -1) {
8399
+ if (cls.indexOf(disabledClassName) === -1) {
8361
8400
  button.className += ' ' + disabledClassName;
8362
8401
  }
8363
8402
  }
8364
8403
  else {
8365
8404
  // Enable all buttons by deleting the className.
8366
- if (button.className.indexOf(disabledClassName) !== -1) {
8405
+ if (cls.indexOf(disabledClassName) !== -1) {
8367
8406
  button.classList.remove(disabledClassName);
8368
8407
  }
8369
8408
  }
@@ -8379,7 +8418,7 @@
8379
8418
 
8380
8419
  return NavigationBindings;
8381
8420
  });
8382
- _registerModule(_modules, 'Extensions/Annotations/Popup.js', [_modules['Core/Globals.js'], _modules['Extensions/Annotations/NavigationBindings.js'], _modules['Core/DefaultOptions.js'], _modules['Core/Pointer.js'], _modules['Core/Utilities.js']], function (H, NavigationBindings, D, Pointer, U) {
8421
+ _registerModule(_modules, 'Extensions/Annotations/Popup.js', [_modules['Core/Renderer/HTML/AST.js'], _modules['Core/Globals.js'], _modules['Extensions/Annotations/NavigationBindings.js'], _modules['Core/DefaultOptions.js'], _modules['Core/Pointer.js'], _modules['Core/Utilities.js']], function (AST, H, NavigationBindings, D, Pointer, U) {
8383
8422
  /* *
8384
8423
  *
8385
8424
  * Popup generator for Stock tools
@@ -8602,12 +8641,10 @@
8602
8641
  * @private
8603
8642
  *
8604
8643
  * @param {Highcharts.HTMLDOMElement} parentDiv
8605
- * The container where inputs and selections are created.
8644
+ * The container where inputs and selections are created.
8606
8645
  *
8607
8646
  * @param {string} type
8608
- * Type of the popup bookmark (add|edit|remove).
8609
- *
8610
- * @return {Highcharts.PopupFieldsObject}
8647
+ * Type of the popup bookmark (add|edit|remove).
8611
8648
  */
8612
8649
  getFields: function (parentDiv, type) {
8613
8650
  var inputList = Array.prototype.slice.call(parentDiv.querySelectorAll(INPUT)), selectList = Array.prototype.slice.call(parentDiv.querySelectorAll(SELECT)), optionSeries = '#' + PREFIX + 'select-series > option:checked', optionVolume = '#' + PREFIX + 'select-volume > option:checked', linkedTo = parentDiv.querySelectorAll(optionSeries)[0], volumeTo = parentDiv.querySelectorAll(optionVolume)[0];
@@ -8634,13 +8671,15 @@
8634
8671
  selectList.forEach(function (select) {
8635
8672
  var id = select.id;
8636
8673
  // Get inputs only for the parameters, not for series and volume.
8637
- if (id !== PREFIX + 'select-series' && id !== PREFIX + 'select-volume') {
8674
+ if (id !== PREFIX + 'select-series' &&
8675
+ id !== PREFIX + 'select-volume') {
8638
8676
  var parameter = id.split('highcharts-select-')[1];
8639
8677
  fieldsOutput.fields[parameter] = select.value;
8640
8678
  }
8641
8679
  });
8642
8680
  if (volumeTo) {
8643
- fieldsOutput.fields['params.volumeSeriesID'] = volumeTo.getAttribute('value') || '';
8681
+ fieldsOutput.fields['params.volumeSeriesID'] = volumeTo
8682
+ .getAttribute('value') || '';
8644
8683
  }
8645
8684
  return fieldsOutput;
8646
8685
  },
@@ -8655,7 +8694,7 @@
8655
8694
  .querySelectorAll('.' + PREFIX + 'popup-close')[0];
8656
8695
  this.formType = void 0;
8657
8696
  // reset content
8658
- popupDiv.innerHTML = '';
8697
+ popupDiv.innerHTML = AST.emptyHTML;
8659
8698
  // reset toolbar styles if exists
8660
8699
  if (popupDiv.className.indexOf(toolbarClass) >= 0) {
8661
8700
  popupDiv.classList.remove(toolbarClass);
@@ -8789,7 +8828,7 @@
8789
8828
  lhsCol.appendChild(doc.createTextNode(lang[options.langKey] || options.langKey || ''));
8790
8829
  // left column
8791
8830
  lhsCol = createElement(DIV, {
8792
- className: PREFIX + 'popup-lhs-col ' + PREFIX + 'popup-lhs-full'
8831
+ className: (PREFIX + 'popup-lhs-col ' + PREFIX + 'popup-lhs-full')
8793
8832
  }, void 0, popupDiv);
8794
8833
  bottomRow = createElement(DIV, {
8795
8834
  className: PREFIX + 'popup-bottom-row'
@@ -8956,7 +8995,8 @@
8956
8995
  alias = indicatorAliases &&
8957
8996
  indicatorAliases[indicatorType] &&
8958
8997
  indicatorAliases[indicatorType].join(' ') || '';
8959
- if (indicatorFullName.match(regex) || alias.match(regex)) {
8998
+ if (indicatorFullName.match(regex) ||
8999
+ alias.match(regex)) {
8960
9000
  filteredSeries = {
8961
9001
  indicatorFullName: indicatorFullName,
8962
9002
  indicatorType: indicatorType,
@@ -9064,8 +9104,7 @@
9064
9104
  indicatorList = createElement(UL, {
9065
9105
  className: PREFIX + 'indicator-list'
9066
9106
  }, void 0, lhsCol);
9067
- rhsColWrapper = rhsCol
9068
- .querySelectorAll('.' + PREFIX + 'popup-rhs-col-wrapper')[0];
9107
+ rhsColWrapper = rhsCol.querySelectorAll('.' + PREFIX + 'popup-rhs-col-wrapper')[0];
9069
9108
  filteredSeriesArray.forEach(function (seriesSet) {
9070
9109
  var indicatorFullName = seriesSet.indicatorFullName,
9071
9110
  indicatorType = seriesSet.indicatorType,
@@ -9076,7 +9115,8 @@
9076
9115
  item.appendChild(doc.createTextNode(indicatorFullName));
9077
9116
  ['click', 'touchstart'].forEach(function (eventName) {
9078
9117
  addEvent(item, eventName, function () {
9079
- var button = rhsColWrapper.parentNode.children[1];
9118
+ var button = rhsColWrapper.parentNode
9119
+ .children[1];
9080
9120
  addFormFields.call(popup, chart, series, indicatorType, rhsColWrapper);
9081
9121
  if (button) {
9082
9122
  button.style.display = 'block';
@@ -9097,8 +9137,9 @@
9097
9137
  indicatorList.childNodes[0].click();
9098
9138
  }
9099
9139
  else if (!isEdit) {
9100
- rhsColWrapper.parentNode.children[0].innerHTML = lang.noFilterMatch || '';
9101
- rhsColWrapper.parentNode.children[1].style.display = 'none';
9140
+ AST.setElementHTML(rhsColWrapper.parentNode.children[0], lang.noFilterMatch || '');
9141
+ rhsColWrapper.parentNode.children[1]
9142
+ .style.display = 'none';
9102
9143
  }
9103
9144
  },
9104
9145
  /**
@@ -9168,15 +9209,13 @@
9168
9209
  * @private
9169
9210
  *
9170
9211
  * @param {string} indicatorType
9171
- * Type of the indicator i.e. sma, ema...
9212
+ * Type of the indicator i.e. sma, ema...
9172
9213
  *
9173
9214
  * @param {string} [optionName]
9174
- * Name of the option into which selection is being added.
9215
+ * Name of the option into which selection is being added.
9175
9216
  *
9176
9217
  * @param {HTMLDOMElement} [parentDiv]
9177
- * HTML parent element.
9178
- *
9179
- * @return {HTMLSelectElement}
9218
+ * HTML parent element.
9180
9219
  */
9181
9220
  addSelection: function (indicatorType, optionName, parentDiv) {
9182
9221
  var optionParamList = optionName.split('.'),
@@ -9228,9 +9267,13 @@
9228
9267
  chart.series.forEach(function (series) {
9229
9268
  var seriesOptions = series.options,
9230
9269
  seriesName = seriesOptions.name ||
9231
- seriesOptions.params ? series.name : seriesOptions.id || '';
9270
+ seriesOptions.params ?
9271
+ series.name :
9272
+ seriesOptions.id || '';
9232
9273
  if (seriesOptions.id !== PREFIX + 'navigator-series' &&
9233
- seriesOptions.id !== (currentSeries && currentSeries.options && currentSeries.options.id)) {
9274
+ seriesOptions.id !== (currentSeries &&
9275
+ currentSeries.options &&
9276
+ currentSeries.options.id)) {
9234
9277
  if (!defined(selectedOption) &&
9235
9278
  optionName === 'volume' &&
9236
9279
  series.type === 'column') {
@@ -9263,14 +9306,14 @@
9263
9306
  * @private
9264
9307
  *
9265
9308
  * @param {Highcharts.Series} series
9266
- * Series which name is needed(EDITmode - defaultOptions.series,
9267
- * ADDmode - indicator series).
9309
+ * Series which name is needed(EDITmode - defaultOptions.series,
9310
+ * ADDmode - indicator series).
9268
9311
  *
9269
- * @param {string} [IndicatorType]
9270
- * Type of the indicator i.e. sma, ema...
9312
+ * @param {string} [indicatorType]
9313
+ * Type of the indicator i.e. sma, ema...
9271
9314
  *
9272
- * @return Highcharts.Dictionary<string>
9273
- * Full name and series type.
9315
+ * @return {Highcharts.Dictionary<string>}
9316
+ * Full name and series type.
9274
9317
  */
9275
9318
  getNameType: function (series, indicatorType) {
9276
9319
  var options = series.options,
@@ -9350,7 +9393,7 @@
9350
9393
  var fields = series.params || series.options.params,
9351
9394
  getNameType = this.indicators.getNameType;
9352
9395
  // reset current content
9353
- rhsColWrapper.innerHTML = '';
9396
+ rhsColWrapper.innerHTML = AST.emptyHTML;
9354
9397
  // create title (indicator name in the right column)
9355
9398
  createElement(H3, {
9356
9399
  className: PREFIX + 'indicator-title'
@@ -9400,8 +9443,9 @@
9400
9443
  if (defined(value) && // skip if field is unnecessary, #15362
9401
9444
  parentFullName) {
9402
9445
  if (isObject(value)) {
9403
- addInput.call(// (15733) 'Periods' has an arrayed value. Label must be created here.
9404
- popup, parentFullName, type, parentDiv, {});
9446
+ // (15733) 'Periods' has an arrayed value. Label must be
9447
+ // created here.
9448
+ addInput.call(popup, parentFullName, type, parentDiv, {});
9405
9449
  addParamInputs.call(popup, chart, parentFullName, value, type, parentDiv);
9406
9450
  }
9407
9451
  // If the option is listed in dropdown enum,
@@ -9505,7 +9549,9 @@
9505
9549
  addContentItem: function () {
9506
9550
  var popupDiv = this.popup.container;
9507
9551
  return createElement(DIV, {
9508
- className: PREFIX + 'tab-item-content ' + PREFIX + 'no-mousewheel' // #12100
9552
+ // #12100
9553
+ className: PREFIX + 'tab-item-content ' +
9554
+ PREFIX + 'no-mousewheel'
9509
9555
  }, void 0, popupDiv);
9510
9556
  },
9511
9557
  /**
@@ -9569,7 +9615,7 @@
9569
9615
  this.popup = new H.Popup(this.chart.container, (this.chart.options.navigation.iconsURL ||
9570
9616
  (this.chart.options.stockTools &&
9571
9617
  this.chart.options.stockTools.gui.iconsURL) ||
9572
- 'https://code.highcharts.com/9.3.1/gfx/stock-icons/'), this.chart);
9618
+ 'https://code.highcharts.com/10.0.0/gfx/stock-icons/'), this.chart);
9573
9619
  }
9574
9620
  this.popup.showForm(config.formType, this.chart, config.options, config.onSubmit);
9575
9621
  });