highcharts 10.1.0 → 10.2.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 (772) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Accessibility/Accessibility.js +2 -3
  3. package/es-modules/Accessibility/Components/AnnotationsA11y.js +3 -3
  4. package/es-modules/Accessibility/Components/ContainerComponent.js +3 -1
  5. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +5 -3
  6. package/es-modules/Accessibility/Components/LegendComponent.js +3 -3
  7. package/es-modules/Accessibility/Components/MenuComponent.js +3 -1
  8. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +3 -1
  9. package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +3 -1
  10. package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +12 -6
  11. package/es-modules/Accessibility/Components/ZoomComponent.js +30 -70
  12. package/es-modules/Accessibility/HighContrastMode.js +1 -1
  13. package/es-modules/Accessibility/KeyboardNavigation.js +2 -2
  14. package/es-modules/Accessibility/Options/{Options.js → A11yDefaults.js} +6 -1
  15. package/es-modules/Accessibility/Options/DeprecatedOptions.js +12 -2
  16. package/es-modules/Accessibility/Options/{LangOptions.js → LangDefaults.js} +10 -0
  17. package/es-modules/Accessibility/Utils/ChartUtilities.js +1 -1
  18. package/es-modules/Core/Animation/Fx.js +1 -1
  19. package/es-modules/Core/Axis/Axis.js +18 -19
  20. package/es-modules/Core/Axis/AxisDefaults.js +8 -8
  21. package/es-modules/Core/Axis/Color/ColorAxis.js +4 -2
  22. package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +3 -3
  23. package/es-modules/Core/Axis/DateTimeAxis.js +5 -3
  24. package/es-modules/Core/Axis/GridAxis.js +817 -821
  25. package/es-modules/Core/Axis/OrdinalAxis.js +23 -1
  26. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +2 -2
  27. package/es-modules/Core/Axis/Tick.js +20 -16
  28. package/es-modules/Core/Axis/TreeGridTick.js +2 -2
  29. package/es-modules/Core/Axis/ZAxis.js +3 -1
  30. package/es-modules/Core/Chart/Chart.js +13 -12
  31. package/es-modules/Core/Chart/ChartDefaults.js +3 -3
  32. package/es-modules/Core/Chart/GanttChart.js +3 -1
  33. package/es-modules/Core/Chart/MapChart.js +3 -1
  34. package/es-modules/Core/Chart/StockChart.js +6 -4
  35. package/es-modules/Core/Color/Color.js +1 -1
  36. package/es-modules/Core/DefaultOptions.js +11 -11
  37. package/es-modules/Core/Globals.js +1 -1
  38. package/es-modules/Core/HttpUtilities.js +39 -37
  39. package/es-modules/Core/Legend/Legend.js +3 -3
  40. package/es-modules/Core/MSPointer.js +3 -1
  41. package/es-modules/Core/Navigator.js +6 -6
  42. package/es-modules/Core/Pointer.js +1 -1
  43. package/es-modules/Core/Renderer/HTML/AST.js +1 -1
  44. package/es-modules/Core/Renderer/HTML/HTMLElement.js +3 -1
  45. package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +3 -1
  46. package/es-modules/Core/Renderer/SVG/SVGElement.js +7 -7
  47. package/es-modules/Core/Renderer/SVG/SVGLabel.js +3 -1
  48. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +37 -35
  49. package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +3 -1
  50. package/es-modules/Core/ScrollbarDefaults.js +8 -8
  51. package/es-modules/Core/Series/DataLabel.js +2 -2
  52. package/es-modules/Core/Series/Point.js +9 -0
  53. package/es-modules/Core/Series/Series.js +5 -5
  54. package/es-modules/Core/Series/Series3D.js +3 -1
  55. package/es-modules/Core/Series/SeriesDefaults.js +3 -3
  56. package/es-modules/Core/Time.js +6 -7
  57. package/es-modules/Core/Tooltip.js +3 -3
  58. package/es-modules/Core/Utilities.js +5 -5
  59. package/es-modules/Data/DataConverter.js +1 -1
  60. package/es-modules/Data/DataTable.js +12 -10
  61. package/es-modules/Data/Modifiers/ChainModifier.js +3 -1
  62. package/es-modules/Data/Modifiers/GroupModifier.js +3 -1
  63. package/es-modules/Data/Modifiers/InvertModifier.js +9 -7
  64. package/es-modules/Data/Modifiers/RangeModifier.js +3 -1
  65. package/es-modules/Data/Modifiers/SeriesPointsModifier.js +3 -1
  66. package/es-modules/Data/Modifiers/SortModifier.js +3 -1
  67. package/es-modules/Data/Parsers/CSVParser.js +3 -1
  68. package/es-modules/Data/Parsers/DataParser.js +1 -1
  69. package/es-modules/Data/Parsers/GoogleSheetsParser.js +3 -2
  70. package/es-modules/Data/Parsers/HTMLTableParser.js +3 -1
  71. package/es-modules/Data/Stores/CSVStore.js +8 -5
  72. package/es-modules/Data/Stores/GoogleSheetsStore.js +3 -1
  73. package/es-modules/Data/Stores/HTMLTableStore.js +3 -1
  74. package/es-modules/Extensions/Annotations/{Annotations.js → Annotation.js} +21 -9
  75. package/es-modules/Extensions/Annotations/AnnotationsDefaults.js +0 -0
  76. package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +5 -2
  77. package/es-modules/Extensions/Annotations/NavigationBindings.js +8 -5
  78. package/es-modules/Extensions/Annotations/Popup.js +2 -2
  79. package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +13 -9
  80. package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -2
  81. package/es-modules/Extensions/Annotations/Types/ElliottWave.js +4 -2
  82. package/es-modules/Extensions/Annotations/Types/Fibonacci.js +5 -3
  83. package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +4 -2
  84. package/es-modules/Extensions/Annotations/Types/InfinityLine.js +4 -2
  85. package/es-modules/Extensions/Annotations/Types/Measure.js +4 -2
  86. package/es-modules/Extensions/Annotations/Types/Pitchfork.js +4 -2
  87. package/es-modules/Extensions/Annotations/Types/TimeCycles.js +4 -2
  88. package/es-modules/Extensions/Annotations/Types/Tunnel.js +5 -2
  89. package/es-modules/Extensions/Annotations/Types/VerticalLine.js +4 -2
  90. package/es-modules/Extensions/Boost/BoostAttach.js +5 -1
  91. package/es-modules/Extensions/Boost/BoostInit.js +3 -2
  92. package/es-modules/Extensions/BoostCanvas.js +11 -5
  93. package/es-modules/Extensions/Breadcrumbs.js +31 -6
  94. package/es-modules/Extensions/CurrentDateIndication.js +1 -1
  95. package/es-modules/Extensions/Data.js +638 -602
  96. package/es-modules/Extensions/DownloadURL.js +3 -3
  97. package/es-modules/Extensions/DragPanes.js +1 -1
  98. package/es-modules/Extensions/Drilldown.js +2 -2
  99. package/es-modules/Extensions/ExportData.js +57 -7
  100. package/es-modules/Extensions/Exporting/Exporting.js +3 -3
  101. package/es-modules/Extensions/Exporting/ExportingDefaults.js +7 -7
  102. package/es-modules/Extensions/GeoJSON.js +0 -2
  103. package/es-modules/Extensions/MarkerClusters.js +3 -3
  104. package/es-modules/Extensions/NoDataToDisplay.js +1 -1
  105. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  106. package/es-modules/Extensions/Oldie/Oldie.js +2 -2
  107. package/es-modules/Extensions/Pane.js +3 -3
  108. package/es-modules/Extensions/ParallelCoordinates.js +1 -1
  109. package/es-modules/Extensions/PatternFill.js +14 -2
  110. package/es-modules/Extensions/RangeSelector.js +29 -18
  111. package/es-modules/Extensions/ScrollablePlotArea.js +3 -3
  112. package/es-modules/Extensions/{SeriesLabel.js → SeriesLabel/SeriesLabel.js} +262 -384
  113. package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +124 -0
  114. package/es-modules/Extensions/SeriesLabel/SeriesLabelUtilities.js +67 -0
  115. package/es-modules/Extensions/Sonification/Earcon.js +1 -1
  116. package/es-modules/Extensions/Stacking.js +1 -1
  117. package/es-modules/Maps/MapNavigation.js +2 -2
  118. package/es-modules/Maps/MapView.js +23 -16
  119. package/es-modules/Maps/MapViewInsetsOptionsDefault.js +1 -1
  120. package/es-modules/Maps/Projection.js +13 -11
  121. package/es-modules/Series/ArcDiagram/ArcDiagramPoint.js +3 -1
  122. package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -1
  123. package/es-modules/Series/Area/AreaSeries.js +21 -14
  124. package/es-modules/Series/AreaRange/AreaRangePoint.js +24 -11
  125. package/es-modules/Series/AreaRange/AreaRangeSeries.js +154 -147
  126. package/es-modules/Series/AreaSpline/AreaSplineSeries.js +45 -41
  127. package/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +43 -43
  128. package/es-modules/Series/Bar/BarSeries.js +3 -1
  129. package/es-modules/Series/Bellcurve/BellcurveSeries.js +3 -1
  130. package/es-modules/Series/BoxPlot/BoxPlotSeries.js +4 -2
  131. package/es-modules/Series/Bubble/BubbleLegendDefaults.js +1 -1
  132. package/es-modules/Series/Bubble/BubblePoint.js +3 -1
  133. package/es-modules/Series/Bubble/BubbleSeries.js +15 -6
  134. package/es-modules/Series/Bullet/BulletPoint.js +3 -1
  135. package/es-modules/Series/Bullet/BulletSeries.js +4 -3
  136. package/es-modules/Series/Candlestick/CandlestickSeries.js +5 -3
  137. package/es-modules/Series/CenteredUtilities.js +2 -1
  138. package/es-modules/Series/ColorMapComposition.js +111 -0
  139. package/es-modules/Series/Column/ColumnSeries.js +6 -4
  140. package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +3 -1
  141. package/es-modules/Series/ColumnRange/ColumnRangePoint.js +17 -13
  142. package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +60 -57
  143. package/es-modules/Series/Cylinder/CylinderPoint.js +3 -1
  144. package/es-modules/Series/Cylinder/CylinderSeries.js +3 -1
  145. package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +3 -1
  146. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +3 -1
  147. package/es-modules/Series/DotPlot/DotPlotSeries.js +3 -1
  148. package/es-modules/Series/DrawPointUtilities.js +87 -0
  149. package/es-modules/Series/Dumbbell/DumbbellPoint.js +3 -1
  150. package/es-modules/Series/Dumbbell/DumbbellSeries.js +4 -2
  151. package/es-modules/Series/ErrorBar/ErrorBarSeries.js +4 -2
  152. package/es-modules/Series/Flags/FlagsPoint.js +4 -1
  153. package/es-modules/Series/Flags/FlagsSeries.js +6 -4
  154. package/es-modules/Series/Funnel/FunnelSeries.js +5 -3
  155. package/es-modules/Series/Funnel3D/Funnel3DPoint.js +3 -1
  156. package/es-modules/Series/Funnel3D/Funnel3DSeries.js +3 -1
  157. package/es-modules/Series/Gantt/GanttPoint.js +3 -1
  158. package/es-modules/Series/Gantt/GanttSeries.js +3 -1
  159. package/es-modules/Series/Gauge/GaugePoint.js +3 -1
  160. package/es-modules/Series/Gauge/GaugeSeries.js +195 -173
  161. package/es-modules/Series/HLC/HLCPoint.js +3 -1
  162. package/es-modules/Series/HLC/HLCSeries.js +4 -2
  163. package/es-modules/Series/Heatmap/HeatmapPoint.js +7 -5
  164. package/es-modules/Series/Heatmap/HeatmapSeries.js +16 -13
  165. package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -1
  166. package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +3 -1
  167. package/es-modules/Series/Histogram/HistogramSeries.js +3 -1
  168. package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +3 -1
  169. package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +11 -9
  170. package/es-modules/Series/Item/ItemPoint.js +3 -1
  171. package/es-modules/Series/Item/ItemSeries.js +3 -1
  172. package/es-modules/Series/Line/LineSeries.js +4 -2
  173. package/es-modules/Series/Lollipop/LollipopPoint.js +3 -1
  174. package/es-modules/Series/Lollipop/LollipopSeries.js +3 -1
  175. package/es-modules/Series/Map/MapPoint.js +8 -6
  176. package/es-modules/Series/Map/MapSeries.js +98 -26
  177. package/es-modules/Series/MapBubble/MapBubblePoint.js +3 -1
  178. package/es-modules/Series/MapBubble/MapBubbleSeries.js +3 -1
  179. package/es-modules/Series/MapLine/MapLineSeries.js +18 -1
  180. package/es-modules/Series/MapPoint/MapPointPoint.js +4 -2
  181. package/es-modules/Series/MapPoint/MapPointSeries.js +10 -2
  182. package/es-modules/Series/Networkgraph/Networkgraph.js +3 -1
  183. package/es-modules/Series/NodesComposition.js +45 -40
  184. package/es-modules/Series/OHLC/OHLCPoint.js +3 -1
  185. package/es-modules/Series/OHLC/OHLCSeries.js +3 -1
  186. package/es-modules/Series/Organization/OrganizationPoint.js +3 -1
  187. package/es-modules/Series/Organization/OrganizationSeries.js +5 -3
  188. package/es-modules/Series/PackedBubble/PackedBubbleComposition.js +0 -2
  189. package/es-modules/Series/PackedBubble/PackedBubblePoint.js +3 -1
  190. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +3 -1
  191. package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -1
  192. package/es-modules/Series/Pie/PieDataLabel.js +1 -1
  193. package/es-modules/Series/Pie/PiePoint.js +3 -1
  194. package/es-modules/Series/Pie/PieSeries.js +39 -36
  195. package/es-modules/Series/Pie3D/Pie3DPoint.js +3 -1
  196. package/es-modules/Series/Pie3D/Pie3DSeries.js +3 -1
  197. package/es-modules/Series/PolarComposition.js +819 -0
  198. package/es-modules/Series/Polygon/PolygonSeries.js +3 -1
  199. package/es-modules/Series/Pyramid/PyramidSeries.js +3 -1
  200. package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +3 -1
  201. package/es-modules/Series/Sankey/SankeyPoint.js +3 -1
  202. package/es-modules/Series/Sankey/SankeySeries.js +22 -8
  203. package/es-modules/Series/Scatter/ScatterSeries.js +10 -5
  204. package/es-modules/Series/Scatter3D/Scatter3DPoint.js +3 -1
  205. package/es-modules/Series/Scatter3D/Scatter3DSeries.js +3 -1
  206. package/es-modules/Series/SeriesOnPointComposition.js +391 -0
  207. package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +5 -3
  208. package/es-modules/Series/Spline/SplineSeries.js +13 -4
  209. package/es-modules/Series/Streamgraph/StreamgraphSeries.js +3 -1
  210. package/es-modules/Series/Sunburst/SunburstPoint.js +3 -3
  211. package/es-modules/Series/Sunburst/SunburstSeries.js +7 -2
  212. package/es-modules/Series/Tilemap/TilemapPoint.js +3 -1
  213. package/es-modules/Series/Tilemap/TilemapSeries.js +3 -1
  214. package/es-modules/Series/Timeline/TimelinePoint.js +3 -1
  215. package/es-modules/Series/Timeline/TimelineSeries.js +6 -4
  216. package/es-modules/Series/Treemap/TreemapPoint.js +8 -4
  217. package/es-modules/Series/Treemap/TreemapSeries.js +9 -7
  218. package/es-modules/Series/VariablePie/VariablePieSeries.js +3 -1
  219. package/es-modules/Series/Variwide/VariwidePoint.js +3 -1
  220. package/es-modules/Series/Variwide/VariwideSeries.js +3 -1
  221. package/es-modules/Series/Vector/VectorSeries.js +3 -1
  222. package/es-modules/Series/Venn/VennPoint.js +5 -5
  223. package/es-modules/Series/Venn/VennSeries.js +9 -6
  224. package/es-modules/Series/Waterfall/WaterfallPoint.js +3 -1
  225. package/es-modules/Series/Waterfall/WaterfallSeries.js +14 -12
  226. package/es-modules/Series/Windbarb/WindbarbPoint.js +3 -1
  227. package/es-modules/Series/Windbarb/WindbarbSeries.js +3 -1
  228. package/es-modules/Series/Wordcloud/WordcloudPoint.js +6 -6
  229. package/es-modules/Series/Wordcloud/WordcloudSeries.js +7 -4
  230. package/es-modules/Series/XRange/XRangePoint.js +3 -1
  231. package/es-modules/Series/XRange/XRangeSeries.js +3 -1
  232. package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +3 -1
  233. package/es-modules/Stock/Indicators/AD/ADIndicator.js +3 -1
  234. package/es-modules/Stock/Indicators/AO/AOIndicator.js +5 -3
  235. package/es-modules/Stock/Indicators/APO/APOIndicator.js +3 -1
  236. package/es-modules/Stock/Indicators/ATR/ATRIndicator.js +3 -1
  237. package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -1
  238. package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +3 -1
  239. package/es-modules/Stock/Indicators/BB/BBIndicator.js +6 -4
  240. package/es-modules/Stock/Indicators/CCI/CCIIndicator.js +3 -1
  241. package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +3 -1
  242. package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +3 -1
  243. package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +3 -1
  244. package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +3 -1
  245. package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +13 -7
  246. package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +3 -1
  247. package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +3 -1
  248. package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +3 -1
  249. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +3 -1
  250. package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +3 -1
  251. package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +3 -1
  252. package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +3 -1
  253. package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js +3 -1
  254. package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js +3 -1
  255. package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js +3 -1
  256. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +26 -13
  257. package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +3 -1
  258. package/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +3 -1
  259. package/es-modules/Stock/Indicators/MultipleLinesComposition.js +85 -95
  260. package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +3 -1
  261. package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +3 -1
  262. package/es-modules/Stock/Indicators/PC/PCIndicator.js +3 -1
  263. package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +3 -1
  264. package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +3 -1
  265. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +3 -1
  266. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsPoint.js +3 -1
  267. package/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +3 -1
  268. package/es-modules/Stock/Indicators/ROC/ROCIndicator.js +3 -1
  269. package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +3 -1
  270. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +3 -1
  271. package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +3 -1
  272. package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -1
  273. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +6 -4
  274. package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +3 -1
  275. package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +3 -1
  276. package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +3 -1
  277. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +3 -1
  278. package/es-modules/Stock/Indicators/VBP/VBPPoint.js +3 -1
  279. package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +3 -1
  280. package/es-modules/Stock/Indicators/WMA/WMAIndicator.js +3 -1
  281. package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +3 -1
  282. package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +3 -1
  283. package/es-modules/Stock/StockToolsBindings.js +20 -19
  284. package/es-modules/Stock/StockToolsGui.js +1 -1
  285. package/es-modules/masters/highcharts-3d.src.js +1 -1
  286. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  287. package/es-modules/masters/highcharts-more.src.js +4 -4
  288. package/es-modules/masters/highcharts.src.js +1 -1
  289. package/es-modules/masters/highmaps.src.js +1 -1
  290. package/es-modules/masters/highstock.src.js +1 -1
  291. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  292. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  293. package/es-modules/masters/indicators/ao.src.js +1 -1
  294. package/es-modules/masters/indicators/apo.src.js +1 -1
  295. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  296. package/es-modules/masters/indicators/aroon.src.js +1 -1
  297. package/es-modules/masters/indicators/atr.src.js +1 -1
  298. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  299. package/es-modules/masters/indicators/cci.src.js +1 -1
  300. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  301. package/es-modules/masters/indicators/cmf.src.js +1 -1
  302. package/es-modules/masters/indicators/cmo.src.js +1 -1
  303. package/es-modules/masters/indicators/dema.src.js +1 -1
  304. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  305. package/es-modules/masters/indicators/dmi.src.js +1 -1
  306. package/es-modules/masters/indicators/dpo.src.js +1 -1
  307. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  308. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  309. package/es-modules/masters/indicators/indicators.src.js +1 -1
  310. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  311. package/es-modules/masters/indicators/klinger.src.js +1 -1
  312. package/es-modules/masters/indicators/macd.src.js +1 -1
  313. package/es-modules/masters/indicators/mfi.src.js +1 -1
  314. package/es-modules/masters/indicators/momentum.src.js +1 -1
  315. package/es-modules/masters/indicators/natr.src.js +1 -1
  316. package/es-modules/masters/indicators/obv.src.js +1 -1
  317. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  318. package/es-modules/masters/indicators/ppo.src.js +1 -1
  319. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  320. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  321. package/es-modules/masters/indicators/psar.src.js +1 -1
  322. package/es-modules/masters/indicators/regressions.src.js +1 -1
  323. package/es-modules/masters/indicators/roc.src.js +1 -1
  324. package/es-modules/masters/indicators/rsi.src.js +1 -1
  325. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  326. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  327. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  328. package/es-modules/masters/indicators/tema.src.js +1 -1
  329. package/es-modules/masters/indicators/trendline.src.js +1 -1
  330. package/es-modules/masters/indicators/trix.src.js +1 -1
  331. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  332. package/es-modules/masters/indicators/vwap.src.js +1 -1
  333. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  334. package/es-modules/masters/indicators/wma.src.js +1 -1
  335. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  336. package/es-modules/masters/modules/accessibility.src.js +1 -1
  337. package/es-modules/masters/modules/annotations-advanced.src.js +2 -2
  338. package/es-modules/masters/modules/annotations.src.js +2 -2
  339. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  340. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  341. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  342. package/es-modules/masters/modules/boost.src.js +1 -1
  343. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  344. package/es-modules/masters/modules/bullet.src.js +1 -1
  345. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  346. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  347. package/es-modules/masters/modules/cylinder.src.js +1 -1
  348. package/es-modules/masters/modules/data.src.js +2 -1
  349. package/es-modules/masters/modules/datagrouping.src.js +1 -1
  350. package/es-modules/masters/modules/debugger.src.js +1 -1
  351. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  352. package/es-modules/masters/modules/dotplot.src.js +1 -1
  353. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  354. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  355. package/es-modules/masters/modules/drilldown.src.js +1 -1
  356. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  357. package/es-modules/masters/modules/export-data.src.js +1 -1
  358. package/es-modules/masters/modules/exporting.src.js +1 -1
  359. package/es-modules/masters/modules/full-screen.src.js +1 -1
  360. package/es-modules/masters/modules/funnel.src.js +1 -1
  361. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  362. package/es-modules/masters/modules/gantt.src.js +1 -1
  363. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  364. package/es-modules/masters/modules/heatmap.src.js +1 -1
  365. package/es-modules/masters/modules/heikinashi.src.js +1 -1
  366. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  367. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  368. package/es-modules/masters/modules/item-series.src.js +1 -1
  369. package/es-modules/masters/modules/lollipop.src.js +1 -1
  370. package/es-modules/masters/modules/map.src.js +1 -1
  371. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  372. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  373. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  374. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  375. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  376. package/es-modules/masters/modules/oldie.src.js +1 -1
  377. package/es-modules/masters/modules/organization.src.js +1 -1
  378. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  379. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  380. package/es-modules/masters/modules/pareto.src.js +1 -1
  381. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  382. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  383. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  384. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  385. package/es-modules/masters/modules/sankey.src.js +1 -1
  386. package/es-modules/masters/modules/series-label.src.js +5 -2
  387. package/es-modules/masters/modules/series-on-point.src.js +16 -0
  388. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  389. package/es-modules/masters/modules/sonification.src.js +2 -6
  390. package/es-modules/masters/modules/static-scale.src.js +1 -1
  391. package/es-modules/masters/modules/stock-tools.src.js +1 -1
  392. package/es-modules/masters/modules/stock.src.js +1 -1
  393. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  394. package/es-modules/masters/modules/sunburst.src.js +1 -1
  395. package/es-modules/masters/modules/tilemap.src.js +1 -1
  396. package/es-modules/masters/modules/timeline.src.js +1 -1
  397. package/es-modules/masters/modules/treegrid.src.js +1 -1
  398. package/es-modules/masters/modules/treemap.src.js +1 -1
  399. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  400. package/es-modules/masters/modules/variwide.src.js +1 -1
  401. package/es-modules/masters/modules/vector.src.js +1 -1
  402. package/es-modules/masters/modules/venn.src.js +1 -1
  403. package/es-modules/masters/modules/windbarb.src.js +1 -1
  404. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  405. package/es-modules/masters/modules/xrange.src.js +1 -1
  406. package/es-modules/masters/themes/avocado.src.js +1 -1
  407. package/es-modules/masters/themes/brand-dark.src.js +1 -1
  408. package/es-modules/masters/themes/brand-light.src.js +1 -1
  409. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  410. package/es-modules/masters/themes/dark-green.src.js +1 -1
  411. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  412. package/es-modules/masters/themes/gray.src.js +1 -1
  413. package/es-modules/masters/themes/grid-light.src.js +1 -1
  414. package/es-modules/masters/themes/grid.src.js +1 -1
  415. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  416. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  417. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  418. package/es-modules/masters/themes/skies.src.js +1 -1
  419. package/es-modules/masters/themes/sunset.src.js +1 -1
  420. package/highcharts-3d.js +1 -1
  421. package/highcharts-3d.src.js +1 -1
  422. package/highcharts-gantt.js +811 -809
  423. package/highcharts-gantt.js.map +1 -1
  424. package/highcharts-gantt.src.js +1271 -1213
  425. package/highcharts-more.d.ts +10 -0
  426. package/highcharts-more.js +194 -195
  427. package/highcharts-more.js.map +1 -1
  428. package/highcharts-more.src.d.ts +10 -0
  429. package/highcharts-more.src.js +5649 -5515
  430. package/highcharts.d.ts +9118 -429
  431. package/highcharts.js +595 -594
  432. package/highcharts.js.map +1 -1
  433. package/highcharts.src.d.ts +9118 -429
  434. package/highcharts.src.js +335 -285
  435. package/highmaps.js +763 -760
  436. package/highmaps.js.map +1 -1
  437. package/highmaps.src.js +640 -448
  438. package/highstock.js +797 -794
  439. package/highstock.js.map +1 -1
  440. package/highstock.src.js +414 -327
  441. package/indicators/acceleration-bands.d.ts +1 -17
  442. package/indicators/acceleration-bands.js +11 -12
  443. package/indicators/acceleration-bands.js.map +1 -1
  444. package/indicators/acceleration-bands.src.d.ts +1 -17
  445. package/indicators/acceleration-bands.src.js +89 -99
  446. package/indicators/accumulation-distribution.js +1 -1
  447. package/indicators/accumulation-distribution.src.js +1 -1
  448. package/indicators/ao.js +1 -1
  449. package/indicators/ao.src.js +3 -3
  450. package/indicators/apo.js +1 -1
  451. package/indicators/apo.src.js +1 -1
  452. package/indicators/aroon-oscillator.d.ts +1 -17
  453. package/indicators/aroon-oscillator.js +10 -10
  454. package/indicators/aroon-oscillator.js.map +1 -1
  455. package/indicators/aroon-oscillator.src.d.ts +1 -17
  456. package/indicators/aroon-oscillator.src.js +89 -99
  457. package/indicators/aroon.d.ts +1 -17
  458. package/indicators/aroon.js +11 -11
  459. package/indicators/aroon.js.map +1 -1
  460. package/indicators/aroon.src.d.ts +1 -17
  461. package/indicators/aroon.src.js +89 -99
  462. package/indicators/atr.js +1 -1
  463. package/indicators/atr.src.js +1 -1
  464. package/indicators/bollinger-bands.d.ts +1 -17
  465. package/indicators/bollinger-bands.js +11 -12
  466. package/indicators/bollinger-bands.js.map +1 -1
  467. package/indicators/bollinger-bands.src.d.ts +1 -17
  468. package/indicators/bollinger-bands.src.js +92 -102
  469. package/indicators/cci.js +1 -1
  470. package/indicators/cci.src.js +1 -1
  471. package/indicators/chaikin.js +1 -1
  472. package/indicators/chaikin.src.js +1 -1
  473. package/indicators/cmf.js +1 -1
  474. package/indicators/cmf.src.js +1 -1
  475. package/indicators/cmo.js +1 -1
  476. package/indicators/cmo.src.js +1 -1
  477. package/indicators/dema.js +1 -1
  478. package/indicators/dema.src.js +1 -1
  479. package/indicators/disparity-index.js +1 -1
  480. package/indicators/disparity-index.src.js +1 -1
  481. package/indicators/dmi.js +12 -12
  482. package/indicators/dmi.js.map +1 -1
  483. package/indicators/dmi.src.js +99 -105
  484. package/indicators/dpo.js +1 -1
  485. package/indicators/dpo.src.js +1 -1
  486. package/indicators/ichimoku-kinko-hyo.js +1 -1
  487. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  488. package/indicators/indicators-all.d.ts +1 -17
  489. package/indicators/indicators-all.js +195 -194
  490. package/indicators/indicators-all.js.map +1 -1
  491. package/indicators/indicators-all.src.d.ts +1 -17
  492. package/indicators/indicators-all.src.js +131 -125
  493. package/indicators/indicators.js +1 -1
  494. package/indicators/indicators.src.js +1 -1
  495. package/indicators/keltner-channels.d.ts +1 -17
  496. package/indicators/keltner-channels.js +11 -12
  497. package/indicators/keltner-channels.js.map +1 -1
  498. package/indicators/keltner-channels.src.d.ts +1 -17
  499. package/indicators/keltner-channels.src.js +89 -99
  500. package/indicators/klinger.js +14 -14
  501. package/indicators/klinger.js.map +1 -1
  502. package/indicators/klinger.src.js +89 -99
  503. package/indicators/macd.js +10 -9
  504. package/indicators/macd.js.map +1 -1
  505. package/indicators/macd.src.js +25 -13
  506. package/indicators/mfi.js +1 -1
  507. package/indicators/mfi.src.js +1 -1
  508. package/indicators/momentum.js +1 -1
  509. package/indicators/momentum.src.js +1 -1
  510. package/indicators/natr.js +1 -1
  511. package/indicators/natr.src.js +1 -1
  512. package/indicators/obv.js +1 -1
  513. package/indicators/obv.src.js +1 -1
  514. package/indicators/pivot-points.js +1 -1
  515. package/indicators/pivot-points.src.js +1 -1
  516. package/indicators/ppo.js +1 -1
  517. package/indicators/ppo.src.js +1 -1
  518. package/indicators/price-channel.d.ts +1 -17
  519. package/indicators/price-channel.js +11 -11
  520. package/indicators/price-channel.js.map +1 -1
  521. package/indicators/price-channel.src.d.ts +1 -17
  522. package/indicators/price-channel.src.js +89 -99
  523. package/indicators/price-envelopes.js +1 -1
  524. package/indicators/price-envelopes.src.js +1 -1
  525. package/indicators/psar.js +1 -1
  526. package/indicators/psar.src.js +1 -1
  527. package/indicators/regressions.js +1 -1
  528. package/indicators/regressions.src.js +1 -1
  529. package/indicators/roc.js +1 -1
  530. package/indicators/roc.src.js +1 -1
  531. package/indicators/rsi.js +1 -1
  532. package/indicators/rsi.src.js +1 -1
  533. package/indicators/slow-stochastic.js +1 -1
  534. package/indicators/slow-stochastic.src.js +1 -1
  535. package/indicators/stochastic.d.ts +1 -17
  536. package/indicators/stochastic.js +12 -12
  537. package/indicators/stochastic.js.map +1 -1
  538. package/indicators/stochastic.src.d.ts +1 -17
  539. package/indicators/stochastic.src.js +89 -99
  540. package/indicators/supertrend.js +1 -1
  541. package/indicators/supertrend.src.js +4 -4
  542. package/indicators/tema.js +1 -1
  543. package/indicators/tema.src.js +1 -1
  544. package/indicators/trendline.js +1 -1
  545. package/indicators/trendline.src.js +1 -1
  546. package/indicators/trix.js +1 -1
  547. package/indicators/trix.src.js +1 -1
  548. package/indicators/volume-by-price.js +1 -1
  549. package/indicators/volume-by-price.src.js +1 -1
  550. package/indicators/vwap.js +1 -1
  551. package/indicators/vwap.src.js +1 -1
  552. package/indicators/williams-r.js +1 -1
  553. package/indicators/williams-r.src.js +1 -1
  554. package/indicators/wma.js +1 -1
  555. package/indicators/wma.src.js +1 -1
  556. package/indicators/zigzag.js +1 -1
  557. package/indicators/zigzag.src.js +1 -1
  558. package/modules/accessibility.js +230 -229
  559. package/modules/accessibility.js.map +1 -1
  560. package/modules/accessibility.src.js +110 -115
  561. package/modules/annotations-advanced.js +187 -187
  562. package/modules/annotations-advanced.js.map +1 -1
  563. package/modules/annotations-advanced.src.js +62 -39
  564. package/modules/annotations.js +61 -61
  565. package/modules/annotations.js.map +1 -1
  566. package/modules/annotations.src.js +38 -20
  567. package/modules/arc-diagram.js +1 -1
  568. package/modules/arc-diagram.src.js +1 -1
  569. package/modules/arrow-symbols.js +1 -1
  570. package/modules/arrow-symbols.src.js +1 -1
  571. package/modules/boost-canvas.js +12 -11
  572. package/modules/boost-canvas.js.map +1 -1
  573. package/modules/boost-canvas.src.js +12 -6
  574. package/modules/boost.js +81 -80
  575. package/modules/boost.js.map +1 -1
  576. package/modules/boost.src.js +20 -9
  577. package/modules/broken-axis.js +1 -1
  578. package/modules/broken-axis.src.js +1 -1
  579. package/modules/bullet.js +1 -1
  580. package/modules/bullet.js.map +1 -1
  581. package/modules/bullet.src.js +2 -5
  582. package/modules/coloraxis.js +2 -2
  583. package/modules/coloraxis.js.map +1 -1
  584. package/modules/coloraxis.src.js +5 -5
  585. package/modules/current-date-indicator.js +1 -1
  586. package/modules/current-date-indicator.src.js +2 -2
  587. package/modules/cylinder.js +1 -1
  588. package/modules/cylinder.src.js +1 -1
  589. package/modules/data.d.ts +12 -12
  590. package/modules/data.js +33 -34
  591. package/modules/data.js.map +1 -1
  592. package/modules/data.src.d.ts +12 -12
  593. package/modules/data.src.js +862 -829
  594. package/modules/datagrouping.js +1 -1
  595. package/modules/datagrouping.src.js +1 -1
  596. package/modules/debugger.js +1 -1
  597. package/modules/debugger.src.js +1 -1
  598. package/modules/dependency-wheel.js +1 -1
  599. package/modules/dependency-wheel.src.js +1 -1
  600. package/modules/dotplot.js +1 -1
  601. package/modules/dotplot.src.js +1 -1
  602. package/modules/drag-panes.js +1 -1
  603. package/modules/drag-panes.src.js +2 -2
  604. package/modules/draggable-points.js +1 -1
  605. package/modules/draggable-points.src.js +1 -1
  606. package/modules/drilldown.js +37 -36
  607. package/modules/drilldown.js.map +1 -1
  608. package/modules/drilldown.src.js +40 -9
  609. package/modules/dumbbell.d.ts +4 -0
  610. package/modules/dumbbell.js +17 -17
  611. package/modules/dumbbell.js.map +1 -1
  612. package/modules/dumbbell.src.d.ts +4 -0
  613. package/modules/dumbbell.src.js +24 -12
  614. package/modules/export-data.js +24 -22
  615. package/modules/export-data.js.map +1 -1
  616. package/modules/export-data.src.js +76 -11
  617. package/modules/exporting.d.ts +8 -8
  618. package/modules/exporting.js +36 -36
  619. package/modules/exporting.js.map +1 -1
  620. package/modules/exporting.src.d.ts +8 -8
  621. package/modules/exporting.src.js +50 -50
  622. package/modules/full-screen.js +1 -1
  623. package/modules/full-screen.src.js +1 -1
  624. package/modules/funnel.js +1 -1
  625. package/modules/funnel.src.js +3 -3
  626. package/modules/funnel3d.js +1 -1
  627. package/modules/funnel3d.src.js +1 -1
  628. package/modules/gantt.js +218 -218
  629. package/modules/gantt.js.map +1 -1
  630. package/modules/gantt.src.js +935 -927
  631. package/modules/grid-axis.js +23 -23
  632. package/modules/grid-axis.js.map +1 -1
  633. package/modules/grid-axis.src.js +886 -890
  634. package/modules/heatmap.js +40 -40
  635. package/modules/heatmap.js.map +1 -1
  636. package/modules/heatmap.src.js +115 -87
  637. package/modules/heikinashi.js +1 -1
  638. package/modules/heikinashi.src.js +1 -1
  639. package/modules/histogram-bellcurve.js +1 -1
  640. package/modules/histogram-bellcurve.src.js +1 -1
  641. package/modules/hollowcandlestick.js +1 -1
  642. package/modules/hollowcandlestick.src.js +9 -9
  643. package/modules/item-series.js +1 -1
  644. package/modules/item-series.src.js +1 -1
  645. package/modules/lollipop.js +1 -1
  646. package/modules/lollipop.src.js +1 -1
  647. package/modules/map.js +171 -169
  648. package/modules/map.js.map +1 -1
  649. package/modules/map.src.js +306 -164
  650. package/modules/marker-clusters.js +1 -1
  651. package/modules/marker-clusters.js.map +1 -1
  652. package/modules/marker-clusters.src.js +2 -6
  653. package/modules/networkgraph.d.ts +1 -17
  654. package/modules/networkgraph.js +49 -49
  655. package/modules/networkgraph.js.map +1 -1
  656. package/modules/networkgraph.src.d.ts +1 -17
  657. package/modules/networkgraph.src.js +55 -45
  658. package/modules/no-data-to-display.js +1 -1
  659. package/modules/no-data-to-display.src.js +2 -2
  660. package/modules/offline-exporting.js +3 -3
  661. package/modules/offline-exporting.js.map +1 -1
  662. package/modules/offline-exporting.src.js +5 -5
  663. package/modules/oldie-polyfills.js +1 -1
  664. package/modules/oldie-polyfills.src.js +1 -1
  665. package/modules/oldie.js +2 -2
  666. package/modules/oldie.src.js +3 -3
  667. package/modules/organization.js +1 -1
  668. package/modules/organization.src.js +3 -3
  669. package/modules/overlapping-datalabels.js +1 -1
  670. package/modules/overlapping-datalabels.src.js +1 -1
  671. package/modules/parallel-coordinates.js +2 -2
  672. package/modules/parallel-coordinates.js.map +1 -1
  673. package/modules/parallel-coordinates.src.js +2 -2
  674. package/modules/pareto.js +1 -1
  675. package/modules/pareto.src.js +1 -1
  676. package/modules/pathfinder.js +1 -1
  677. package/modules/pathfinder.src.js +1 -1
  678. package/modules/pattern-fill.js +15 -14
  679. package/modules/pattern-fill.js.map +1 -1
  680. package/modules/pattern-fill.src.js +15 -2
  681. package/modules/price-indicator.js +1 -1
  682. package/modules/price-indicator.src.js +1 -1
  683. package/modules/pyramid3d.js +1 -1
  684. package/modules/pyramid3d.src.js +1 -1
  685. package/modules/sankey.d.ts +1 -17
  686. package/modules/sankey.js +32 -32
  687. package/modules/sankey.js.map +1 -1
  688. package/modules/sankey.src.d.ts +1 -17
  689. package/modules/sankey.src.js +86 -55
  690. package/modules/series-label.js +18 -18
  691. package/modules/series-label.js.map +1 -1
  692. package/modules/series-label.src.js +472 -385
  693. package/modules/series-on-point.js +18 -0
  694. package/modules/series-on-point.js.map +1 -0
  695. package/modules/series-on-point.src.js +464 -0
  696. package/modules/solid-gauge.js +4 -4
  697. package/modules/solid-gauge.js.map +1 -1
  698. package/modules/solid-gauge.src.js +5 -5
  699. package/modules/sonification.js +1 -1
  700. package/modules/sonification.js.map +1 -1
  701. package/modules/sonification.src.js +3 -7
  702. package/modules/static-scale.js +1 -1
  703. package/modules/static-scale.src.js +1 -1
  704. package/modules/stock-tools.js +142 -142
  705. package/modules/stock-tools.js.map +1 -1
  706. package/modules/stock-tools.src.js +57 -38
  707. package/modules/stock.js +205 -204
  708. package/modules/stock.js.map +1 -1
  709. package/modules/stock.src.js +80 -43
  710. package/modules/streamgraph.js +1 -1
  711. package/modules/streamgraph.src.js +1 -1
  712. package/modules/sunburst.js +73 -73
  713. package/modules/sunburst.js.map +1 -1
  714. package/modules/sunburst.src.js +211 -177
  715. package/modules/tilemap.js +1 -1
  716. package/modules/tilemap.src.js +1 -1
  717. package/modules/timeline.js +1 -1
  718. package/modules/timeline.src.js +4 -4
  719. package/modules/treegrid.js +56 -56
  720. package/modules/treegrid.js.map +1 -1
  721. package/modules/treegrid.src.js +888 -892
  722. package/modules/treemap.js +54 -53
  723. package/modules/treemap.js.map +1 -1
  724. package/modules/treemap.src.js +208 -176
  725. package/modules/variable-pie.js +1 -1
  726. package/modules/variable-pie.src.js +1 -1
  727. package/modules/variwide.js +1 -1
  728. package/modules/variwide.src.js +1 -1
  729. package/modules/vector.js +1 -1
  730. package/modules/vector.src.js +1 -1
  731. package/modules/venn.js +31 -31
  732. package/modules/venn.js.map +1 -1
  733. package/modules/venn.src.js +78 -107
  734. package/modules/windbarb.js +1 -1
  735. package/modules/windbarb.src.js +1 -1
  736. package/modules/wordcloud.js +23 -24
  737. package/modules/wordcloud.js.map +1 -1
  738. package/modules/wordcloud.src.js +78 -107
  739. package/modules/xrange.js +1 -1
  740. package/modules/xrange.src.js +1 -1
  741. package/package.json +1 -1
  742. package/themes/avocado.js +1 -1
  743. package/themes/avocado.src.js +1 -1
  744. package/themes/brand-dark.js +1 -1
  745. package/themes/brand-dark.src.js +1 -1
  746. package/themes/brand-light.js +1 -1
  747. package/themes/brand-light.src.js +1 -1
  748. package/themes/dark-blue.js +1 -1
  749. package/themes/dark-blue.src.js +1 -1
  750. package/themes/dark-green.js +1 -1
  751. package/themes/dark-green.src.js +1 -1
  752. package/themes/dark-unica.js +1 -1
  753. package/themes/dark-unica.src.js +1 -1
  754. package/themes/gray.js +1 -1
  755. package/themes/gray.src.js +1 -1
  756. package/themes/grid-light.js +1 -1
  757. package/themes/grid-light.src.js +1 -1
  758. package/themes/grid.js +1 -1
  759. package/themes/grid.src.js +1 -1
  760. package/themes/high-contrast-dark.js +1 -1
  761. package/themes/high-contrast-dark.src.js +1 -1
  762. package/themes/high-contrast-light.js +1 -1
  763. package/themes/high-contrast-light.src.js +1 -1
  764. package/themes/sand-signika.js +1 -1
  765. package/themes/sand-signika.src.js +1 -1
  766. package/themes/skies.js +1 -1
  767. package/themes/skies.src.js +1 -1
  768. package/themes/sunset.js +1 -1
  769. package/themes/sunset.src.js +1 -1
  770. package/es-modules/Extensions/Polar.js +0 -743
  771. package/es-modules/Series/ColorMapMixin.js +0 -84
  772. package/es-modules/Series/DrawPointComposition.js +0 -114
package/highstock.src.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v10.1.0 (2022-04-29)
2
+ * @license Highstock JS v10.2.0 (2022-07-05)
3
3
  *
4
4
  * (c) 2009-2021 Torstein Honsi
5
5
  *
@@ -63,7 +63,7 @@
63
63
  * Constants
64
64
  *
65
65
  * */
66
- Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '10.1.0', Globals.win = (typeof window !== 'undefined' ?
66
+ Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '10.2.0', Globals.win = (typeof window !== 'undefined' ?
67
67
  window :
68
68
  {}), // eslint-disable-line node/no-unsupported-features/es-builtins
69
69
  Globals.doc = Globals.win.document, Globals.svg = (Globals.doc &&
@@ -208,11 +208,11 @@
208
208
  function error(code, stop, chart, params) {
209
209
  var severity = stop ? 'Highcharts error' : 'Highcharts warning';
210
210
  if (code === 32) {
211
- code = severity + ": Deprecated member";
211
+ code = "" + severity + ": Deprecated member";
212
212
  }
213
213
  var isCode = isNumber(code);
214
214
  var message = isCode ?
215
- severity + " #" + code + ": www.highcharts.com/errors/" + code + "/" :
215
+ "" + severity + " #" + code + ": www.highcharts.com/errors/" + code + "/" :
216
216
  code.toString();
217
217
  var defaultHandler = function () {
218
218
  if (stop) {
@@ -231,7 +231,7 @@
231
231
  message += '?';
232
232
  }
233
233
  objectEach(params, function (value, key) {
234
- additionalMessages_1 += "\n - " + key + ": " + value;
234
+ additionalMessages_1 += "\n - ".concat(key, ": ").concat(value);
235
235
  if (isCode) {
236
236
  message += encodeURI(key) + '=' + encodeURI(value);
237
237
  }
@@ -691,7 +691,7 @@
691
691
  function css(el, styles) {
692
692
  if (H.isMS && !H.svg) { // #2686
693
693
  if (styles && defined(styles.opacity)) {
694
- styles.filter = "alpha(opacity=" + styles.opacity * 100 + ")";
694
+ styles.filter = "alpha(opacity=".concat(styles.opacity * 100, ")");
695
695
  }
696
696
  }
697
697
  extend(el.style, styles);
@@ -1414,7 +1414,7 @@
1414
1414
  }, function (val, key) {
1415
1415
  H[key] = function (arr) {
1416
1416
  var _a;
1417
- error(32, false, void 0, (_a = {}, _a["Highcharts." + key] = "use Array." + val, _a));
1417
+ error(32, false, void 0, (_a = {}, _a["Highcharts.".concat(key)] = "use Array.".concat(val), _a));
1418
1418
  return Array.prototype[val].apply(arr, [].slice.call(arguments, 1));
1419
1419
  };
1420
1420
  });
@@ -3174,7 +3174,7 @@
3174
3174
  *
3175
3175
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
3176
3176
  */
3177
- borderColor: "#335cad" /* highlightColor80 */,
3177
+ borderColor: "#335cad" /* Palette.highlightColor80 */,
3178
3178
  /**
3179
3179
  * The pixel width of the outer chart border.
3180
3180
  *
@@ -3213,7 +3213,7 @@
3213
3213
  *
3214
3214
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
3215
3215
  */
3216
- backgroundColor: "#ffffff" /* backgroundColor */,
3216
+ backgroundColor: "#ffffff" /* Palette.backgroundColor */,
3217
3217
  /**
3218
3218
  * The background color or gradient for the plot area.
3219
3219
  *
@@ -3270,7 +3270,7 @@
3270
3270
  *
3271
3271
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
3272
3272
  */
3273
- plotBorderColor: "#cccccc" /* neutralColor20 */
3273
+ plotBorderColor: "#cccccc" /* Palette.neutralColor20 */
3274
3274
  };
3275
3275
  /* *
3276
3276
  *
@@ -3449,7 +3449,7 @@
3449
3449
  return 'rgb(' + rgba[0] + ',' + rgba[1] + ',' + rgba[2] + ')';
3450
3450
  }
3451
3451
  if (format === 'a') {
3452
- return "" + rgba[3];
3452
+ return "".concat(rgba[3]);
3453
3453
  }
3454
3454
  return 'rgba(' + rgba.join(',') + ')';
3455
3455
  }
@@ -3945,13 +3945,12 @@
3945
3945
  */
3946
3946
  Time.prototype.update = function (options) {
3947
3947
  var useUTC = pick(options && options.useUTC,
3948
- true),
3949
- time = this;
3948
+ true);
3950
3949
  this.options = options = merge(true, this.options || {}, options);
3951
3950
  // Allow using a different Date class
3952
3951
  this.Date = options.Date || win.Date || Date;
3953
3952
  this.useUTC = useUTC;
3954
- this.timezoneOffset = (useUTC && options.timezoneOffset);
3953
+ this.timezoneOffset = (useUTC && options.timezoneOffset) || void 0;
3955
3954
  this.getTimezoneOffset = this.timezoneOffsetFunction();
3956
3955
  /*
3957
3956
  * The time object has options allowing for variable time zones, meaning
@@ -4388,17 +4387,16 @@
4388
4387
  hour: 6,
4389
4388
  day: 3
4390
4389
  };
4391
- var format,
4392
- n,
4393
- lastN = 'millisecond'; // for sub-millisecond data, #4223
4394
- for (n in timeUnits) { // eslint-disable-line guard-for-in
4395
- // If the range is exactly one week and we're looking at a
4396
- // Sunday/Monday, go for the week format
4397
- if (range === timeUnits.week &&
4398
- +this.dateFormat('%w',
4399
- timestamp) === startOfWeek &&
4400
- dateStr.substr(6) === blank.substr(6)) {
4401
- n = 'week';
4390
+ var n = 'millisecond',
4391
+ // for sub-millisecond data, #4223
4392
+ lastN = n;
4393
+ for (n in timeUnits) { // eslint-disable-line guard-for-in
4394
+ // If the range is exactly one week and we're looking at a
4395
+ // Sunday/Monday, go for the week format
4396
+ if (range === timeUnits.week &&
4397
+ +this.dateFormat('%w', timestamp) === startOfWeek &&
4398
+ dateStr.substr(6) === blank.substr(6)) {
4399
+ n = 'week';
4402
4400
  break;
4403
4401
  }
4404
4402
  // The first format that is too great for the range
@@ -4418,10 +4416,7 @@
4418
4416
  lastN = n;
4419
4417
  }
4420
4418
  }
4421
- if (n) {
4422
- format = this.resolveDTLFormat(dateTimeLabelFormats[n]).main;
4423
- }
4424
- return format;
4419
+ return this.resolveDTLFormat(dateTimeLabelFormats[n]).main;
4425
4420
  };
4426
4421
  return Time;
4427
4422
  }());
@@ -5378,7 +5373,7 @@
5378
5373
  /**
5379
5374
  * @ignore-option
5380
5375
  */
5381
- color: "#333333" /* neutralColor80 */
5376
+ color: "#333333" /* Palette.neutralColor80 */
5382
5377
  }
5383
5378
  },
5384
5379
  /**
@@ -5658,7 +5653,7 @@
5658
5653
  *
5659
5654
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
5660
5655
  */
5661
- borderColor: "#999999" /* neutralColor40 */,
5656
+ borderColor: "#999999" /* Palette.neutralColor40 */,
5662
5657
  /**
5663
5658
  * The border corner radius of the legend.
5664
5659
  *
@@ -5752,7 +5747,7 @@
5752
5747
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
5753
5748
  * @since 2.2.4
5754
5749
  */
5755
- activeColor: "#003399" /* highlightColor100 */,
5750
+ activeColor: "#003399" /* Palette.highlightColor100 */,
5756
5751
  /**
5757
5752
  * The color of the inactive up or down arrow in the legend page
5758
5753
  * navigation. .
@@ -5768,7 +5763,7 @@
5768
5763
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
5769
5764
  * @since 2.2.4
5770
5765
  */
5771
- inactiveColor: "#cccccc" /* neutralColor20 */
5766
+ inactiveColor: "#cccccc" /* Palette.neutralColor20 */
5772
5767
  },
5773
5768
  /**
5774
5769
  * The inner padding of the legend box.
@@ -5844,7 +5839,7 @@
5844
5839
  /**
5845
5840
  * @ignore
5846
5841
  */
5847
- color: "#333333" /* neutralColor80 */,
5842
+ color: "#333333" /* Palette.neutralColor80 */,
5848
5843
  /**
5849
5844
  * @ignore
5850
5845
  */
@@ -5882,7 +5877,7 @@
5882
5877
  /**
5883
5878
  * @ignore
5884
5879
  */
5885
- color: "#000000" /* neutralColor100 */
5880
+ color: "#000000" /* Palette.neutralColor100 */
5886
5881
  },
5887
5882
  /**
5888
5883
  * CSS styles for each legend item when the corresponding series or
@@ -5903,7 +5898,7 @@
5903
5898
  /**
5904
5899
  * @ignore
5905
5900
  */
5906
- color: "#cccccc" /* neutralColor20 */
5901
+ color: "#cccccc" /* Palette.neutralColor20 */
5907
5902
  },
5908
5903
  /**
5909
5904
  * Whether to apply a drop shadow to the legend. A `backgroundColor`
@@ -6207,7 +6202,7 @@
6207
6202
  /**
6208
6203
  * @ignore
6209
6204
  */
6210
- backgroundColor: "#ffffff" /* backgroundColor */,
6205
+ backgroundColor: "#ffffff" /* Palette.backgroundColor */,
6211
6206
  /**
6212
6207
  * @ignore
6213
6208
  */
@@ -6802,7 +6797,7 @@
6802
6797
  *
6803
6798
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
6804
6799
  */
6805
- backgroundColor: color("#f7f7f7" /* neutralColor3 */)
6800
+ backgroundColor: color("#f7f7f7" /* Palette.neutralColor3 */)
6806
6801
  // @todo: Disallow undefined as input for colors
6807
6802
  .setOpacity(0.85).get(),
6808
6803
  /**
@@ -6865,7 +6860,7 @@
6865
6860
  */
6866
6861
  style: {
6867
6862
  /** @internal */
6868
- color: "#333333" /* neutralColor80 */,
6863
+ color: "#333333" /* Palette.neutralColor80 */,
6869
6864
  /** @internal */
6870
6865
  cursor: 'default',
6871
6866
  /** @internal */
@@ -6980,7 +6975,7 @@
6980
6975
  /** @internal */
6981
6976
  cursor: 'pointer',
6982
6977
  /** @internal */
6983
- color: "#999999" /* neutralColor40 */,
6978
+ color: "#999999" /* Palette.neutralColor40 */,
6984
6979
  /** @internal */
6985
6980
  fontSize: '9px'
6986
6981
  },
@@ -7454,7 +7449,7 @@
7454
7449
  curAnim = options.curAnim;
7455
7450
  var ret,
7456
7451
  done;
7457
- if (elem.attr && !elem.element) { // #2616, element is destroyed
7452
+ if ((elem.attr) && !elem.element) { // #2616, element is destroyed
7458
7453
  ret = false;
7459
7454
  }
7460
7455
  else if (gotoEnd || t >= duration + this.startTime) {
@@ -7968,7 +7963,7 @@
7968
7963
  }
7969
7964
  if (!valid) {
7970
7965
  error(33, false, void 0, {
7971
- 'Invalid attribute in config': "" + key
7966
+ 'Invalid attribute in config': "".concat(key)
7972
7967
  });
7973
7968
  delete attributes[key];
7974
7969
  }
@@ -9888,7 +9883,7 @@
9888
9883
  duration: pick(duration, 150),
9889
9884
  complete: function () {
9890
9885
  // #3088, assuming we're only using this for tooltips
9891
- elemWrapper.attr({ y: -9999 }).hide();
9886
+ elemWrapper.hide();
9892
9887
  }
9893
9888
  });
9894
9889
  };
@@ -10036,7 +10031,7 @@
10036
10031
  bBox.height = height = ({
10037
10032
  '11px,17': 14,
10038
10033
  '13px,20': 16
10039
- }[(fontSize || '') + "," + Math.round(height)] ||
10034
+ }["" + (fontSize || '') + ",".concat(Math.round(height))] ||
10040
10035
  height);
10041
10036
  }
10042
10037
  // Adjust for rotated text
@@ -10246,7 +10241,7 @@
10246
10241
  SVGElement.prototype.removeClass = function (className) {
10247
10242
  return this.attr('class', ('' + this.attr('class'))
10248
10243
  .replace(isString(className) ?
10249
- new RegExp("(^| )" + className + "( |$)") : // #12064, #13590
10244
+ new RegExp("(^| )".concat(className, "( |$)")) : // #12064, #13590
10250
10245
  className, ' ')
10251
10246
  .replace(/ +/g, ' ')
10252
10247
  .trim());
@@ -10471,7 +10466,7 @@
10471
10466
  element = this.element,
10472
10467
  oldShadowOptions = this.oldShadowOptions,
10473
10468
  defaultShadowOptions = {
10474
- color: "#000000" /* neutralColor100 */,
10469
+ color: "#000000" /* Palette.neutralColor100 */,
10475
10470
  offsetX: this.parentInverted ? -1 : 1,
10476
10471
  offsetY: this.parentInverted ? -1 : 1,
10477
10472
  opacity: 0.15,
@@ -10512,14 +10507,14 @@
10512
10507
  else if (!this.shadows) {
10513
10508
  shadowElementOpacity = options.opacity / options.width;
10514
10509
  transform = this.parentInverted ?
10515
- "translate(" + options.offsetY + ", " + options.offsetX + ")" :
10516
- "translate(" + options.offsetX + ", " + options.offsetY + ")";
10510
+ "translate(".concat(options.offsetY, ", ").concat(options.offsetX, ")") :
10511
+ "translate(".concat(options.offsetX, ", ").concat(options.offsetY, ")");
10517
10512
  for (i = 1; i <= options.width; i++) {
10518
10513
  shadow = element.cloneNode(false);
10519
10514
  strokeWidth = (options.width * 2) + 1 - (2 * i);
10520
10515
  attr(shadow, {
10521
10516
  stroke: (shadowOptions.color ||
10522
- "#000000" /* neutralColor100 */),
10517
+ "#000000" /* Palette.neutralColor100 */),
10523
10518
  'stroke-opacity': shadowElementOpacity * i,
10524
10519
  'stroke-width': strokeWidth,
10525
10520
  transform: transform,
@@ -12529,7 +12524,7 @@
12529
12524
  this.url = this.getReferenceURL();
12530
12525
  // Add description
12531
12526
  var desc = this.createElement('desc').add();
12532
- desc.element.appendChild(doc.createTextNode('Created with Highcharts 10.1.0'));
12527
+ desc.element.appendChild(doc.createTextNode('Created with Highcharts 10.2.0'));
12533
12528
  renderer.defs = this.createElement('defs').add();
12534
12529
  renderer.allowHTML = allowHTML;
12535
12530
  renderer.forExport = forExport;
@@ -12642,7 +12637,7 @@
12642
12637
  id: 'hitme',
12643
12638
  width: 8,
12644
12639
  height: 8,
12645
- 'clip-path': "url(#" + id + ")",
12640
+ 'clip-path': "url(#".concat(id, ")"),
12646
12641
  fill: 'rgba(0,0,0,0.001)'
12647
12642
  }
12648
12643
  }]
@@ -12795,27 +12790,31 @@
12795
12790
  new TextBuilder(wrapper).buildSVG();
12796
12791
  };
12797
12792
  /**
12798
- * Returns white for dark colors and black for bright colors.
12793
+ * Returns white for dark colors and black for bright colors, based on W3C's
12794
+ * definition of [Relative luminance](
12795
+ * https://www.w3.org/WAI/GL/wiki/Relative_luminance).
12799
12796
  *
12800
12797
  * @function Highcharts.SVGRenderer#getContrast
12801
12798
  *
12802
- * @param {Highcharts.ColorString} rgba
12799
+ * @param {Highcharts.ColorString} color
12803
12800
  * The color to get the contrast for.
12804
12801
  *
12805
12802
  * @return {Highcharts.ColorString}
12806
12803
  * The contrast color, either `#000000` or `#FFFFFF`.
12807
12804
  */
12808
- SVGRenderer.prototype.getContrast = function (rgba) {
12809
- rgba = Color.parse(rgba).rgba;
12810
- // The threshold may be discussed. Here's a proposal for adding
12811
- // different weight to the color channels (#6216)
12812
- rgba[0] *= 1; // red
12813
- rgba[1] *= 1.2; // green
12814
- rgba[2] *= 0.5; // blue
12815
- return rgba[0] + rgba[1] + rgba[2] >
12816
- 1.8 * 255 ?
12817
- '#000000' :
12818
- '#FFFFFF';
12805
+ SVGRenderer.prototype.getContrast = function (color) {
12806
+ // #6216, #17273
12807
+ var rgba = Color.parse(color).rgba
12808
+ .map(function (b8) {
12809
+ var c = b8 / 255;
12810
+ return c <= 0.03928 ?
12811
+ c / 12.92 :
12812
+ Math.pow((c + 0.055) / 1.055, 2.4);
12813
+ });
12814
+ // Relative luminance
12815
+ var l = 0.2126 * rgba[0] + 0.7152 * rgba[1] + 0.0722 * rgba[2];
12816
+ // Use white or black based on which provides more contrast
12817
+ return 1.05 / (l + 0.05) > (l + 0.05) / 0.05 ? '#FFFFFF' : '#000000';
12819
12818
  };
12820
12819
  /**
12821
12820
  * Create a button with preset states.
@@ -12856,6 +12855,7 @@
12856
12855
  * The button element.
12857
12856
  */
12858
12857
  SVGRenderer.prototype.button = function (text, x, y, callback, theme, hoverState, selectState, disabledState, shape, useHTML) {
12858
+ if (theme === void 0) { theme = {}; }
12859
12859
  var label = this.label(text,
12860
12860
  x,
12861
12861
  y,
@@ -12865,23 +12865,20 @@
12865
12865
  useHTML,
12866
12866
  void 0, 'button'),
12867
12867
  styledMode = this.styledMode,
12868
- states = (theme && theme.states) || {};
12869
- if (theme) {
12870
- delete theme.states;
12871
- }
12872
- var curState = 0,
12873
- // Make a copy of normalState (#13798)
12874
- // (reference to options.rangeSelector.buttonTheme)
12875
- normalState = theme ? merge(theme) : {};
12868
+ states = theme.states || {};
12869
+ var curState = 0;
12870
+ theme = merge(theme);
12871
+ delete theme.states;
12876
12872
  var normalStyle = merge({
12877
- color: "#333333" /* neutralColor80 */,
12873
+ color: "#333333" /* Palette.neutralColor80 */,
12878
12874
  cursor: 'pointer',
12879
12875
  fontWeight: 'normal'
12880
12876
  },
12881
- normalState.style);
12882
- delete normalState.style;
12883
- // Remove stylable attributes
12884
- normalState = AST.filterUserAttributes(normalState);
12877
+ theme.style);
12878
+ delete theme.style;
12879
+ // Remove stylable attributes. Pass in the ButtonThemeObject and get the
12880
+ // SVGAttributes subset back.
12881
+ var normalState = AST.filterUserAttributes(theme);
12885
12882
  // Default, non-stylable attributes
12886
12883
  label.attr(merge({ padding: 8, r: 2 }, normalState));
12887
12884
  // Presentational. The string type is a mistake, it is just for
@@ -12892,21 +12889,21 @@
12892
12889
  if (!styledMode) {
12893
12890
  // Normal state - prepare the attributes
12894
12891
  normalState = merge({
12895
- fill: "#f7f7f7" /* neutralColor3 */,
12896
- stroke: "#cccccc" /* neutralColor20 */,
12892
+ fill: "#f7f7f7" /* Palette.neutralColor3 */,
12893
+ stroke: "#cccccc" /* Palette.neutralColor20 */,
12897
12894
  'stroke-width': 1
12898
12895
  }, normalState);
12899
12896
  // Hover state
12900
12897
  hoverState = merge(normalState, {
12901
- fill: "#e6e6e6" /* neutralColor10 */
12898
+ fill: "#e6e6e6" /* Palette.neutralColor10 */
12902
12899
  }, AST.filterUserAttributes(hoverState || states.hover || {}));
12903
12900
  hoverStyle = hoverState.style;
12904
12901
  delete hoverState.style;
12905
12902
  // Pressed state
12906
12903
  selectState = merge(normalState, {
12907
- fill: "#e6ebf5" /* highlightColor10 */,
12904
+ fill: "#e6ebf5" /* Palette.highlightColor10 */,
12908
12905
  style: {
12909
- color: "#000000" /* neutralColor100 */,
12906
+ color: "#000000" /* Palette.neutralColor100 */,
12910
12907
  fontWeight: 'bold'
12911
12908
  }
12912
12909
  }, AST.filterUserAttributes(selectState || states.select || {}));
@@ -12915,7 +12912,7 @@
12915
12912
  // Disabled state
12916
12913
  disabledState = merge(normalState, {
12917
12914
  style: {
12918
- color: "#cccccc" /* neutralColor20 */
12915
+ color: "#cccccc" /* Palette.neutralColor20 */
12919
12916
  }
12920
12917
  }, AST.filterUserAttributes(disabledState || states.disabled || {}));
12921
12918
  disabledStyle = disabledState.style;
@@ -13661,7 +13658,7 @@
13661
13658
  */
13662
13659
  SVGRenderer.prototype.fontMetrics = function (fontSize, elem) {
13663
13660
  if ((this.styledMode || !/px/.test(fontSize)) &&
13664
- win.getComputedStyle // old IE doesn't support it
13661
+ (win.getComputedStyle) // old IE doesn't support it
13665
13662
  ) {
13666
13663
  fontSize = elem && SVGElement.prototype.getStyle.call(elem, 'font-size');
13667
13664
  }
@@ -15805,7 +15802,7 @@
15805
15802
  */
15806
15803
  style: {
15807
15804
  /** @internal */
15808
- color: "#666666" /* neutralColor60 */,
15805
+ color: "#666666" /* Palette.neutralColor60 */,
15809
15806
  /** @internal */
15810
15807
  cursor: 'default',
15811
15808
  /** @internal */
@@ -16640,7 +16637,7 @@
16640
16637
  */
16641
16638
  style: {
16642
16639
  /** @internal */
16643
- color: "#666666" /* neutralColor60 */
16640
+ color: "#666666" /* Palette.neutralColor60 */
16644
16641
  }
16645
16642
  },
16646
16643
  /**
@@ -16757,7 +16754,7 @@
16757
16754
  * @type {Highcharts.ColorType}
16758
16755
  * @default #f2f2f2
16759
16756
  */
16760
- minorGridLineColor: "#f2f2f2" /* neutralColor5 */,
16757
+ minorGridLineColor: "#f2f2f2" /* Palette.neutralColor5 */,
16761
16758
  /**
16762
16759
  * Width of the minor, secondary grid lines.
16763
16760
  *
@@ -16783,7 +16780,7 @@
16783
16780
  * @type {Highcharts.ColorType}
16784
16781
  * @default #999999
16785
16782
  */
16786
- minorTickColor: "#999999" /* neutralColor40 */,
16783
+ minorTickColor: "#999999" /* Palette.neutralColor40 */,
16787
16784
  /**
16788
16785
  * The color of the line marking the axis itself.
16789
16786
  *
@@ -16804,7 +16801,7 @@
16804
16801
  * @type {Highcharts.ColorType}
16805
16802
  * @default #ccd6eb
16806
16803
  */
16807
- lineColor: "#ccd6eb" /* highlightColor20 */,
16804
+ lineColor: "#ccd6eb" /* Palette.highlightColor20 */,
16808
16805
  /**
16809
16806
  * The width of the line marking the axis itself.
16810
16807
  *
@@ -16841,7 +16838,7 @@
16841
16838
  * @type {Highcharts.ColorType}
16842
16839
  * @default #e6e6e6
16843
16840
  */
16844
- gridLineColor: "#e6e6e6" /* neutralColor10 */,
16841
+ gridLineColor: "#e6e6e6" /* Palette.neutralColor10 */,
16845
16842
  /**
16846
16843
  * The width of the grid lines extending the ticks across the plot area.
16847
16844
  * Defaults to 1 on the Y axis and 0 on the X axis, except for 3d
@@ -16899,7 +16896,7 @@
16899
16896
  * @type {Highcharts.ColorType}
16900
16897
  * @default #ccd6eb
16901
16898
  */
16902
- tickColor: "#ccd6eb" /* highlightColor20 */
16899
+ tickColor: "#ccd6eb" /* Palette.highlightColor20 */
16903
16900
  // tickWidth: 1
16904
16901
  };
16905
16902
  /**
@@ -17689,7 +17686,7 @@
17689
17686
  */
17690
17687
  style: {
17691
17688
  /** @internal */
17692
- color: "#000000" /* neutralColor100 */,
17689
+ color: "#000000" /* Palette.neutralColor100 */,
17693
17690
  /** @internal */
17694
17691
  fontSize: '11px',
17695
17692
  /** @internal */
@@ -17979,7 +17976,8 @@
17979
17976
  dateTimeLabelFormat = dateTimeLabelFormats.main;
17980
17977
  }
17981
17978
  else if (isNumber(value)) { // #1441
17982
- dateTimeLabelFormat = axis.dateTime.getXDateFormat(value, (options.dateTimeLabelFormats || {}));
17979
+ dateTimeLabelFormat = axis.dateTime.getXDateFormat(value, options.dateTimeLabelFormats ||
17980
+ {});
17983
17981
  }
17984
17982
  }
17985
17983
  // set properties for access in render method
@@ -18147,8 +18145,8 @@
18147
18145
  pos = {
18148
18146
  x: horiz ?
18149
18147
  correctFloat(axis.translate(tickPos + tickmarkOffset,
18150
- null,
18151
- null,
18148
+ void 0,
18149
+ void 0,
18152
18150
  old) +
18153
18151
  axis.transB) :
18154
18152
  (axis.left +
@@ -18166,8 +18164,8 @@
18166
18164
  (axis.opposite ? axis.height : 0)) :
18167
18165
  correctFloat(cHeight -
18168
18166
  axis.translate(tickPos + tickmarkOffset,
18169
- null,
18170
- null,
18167
+ void 0,
18168
+ void 0,
18171
18169
  old) -
18172
18170
  axis.transB)
18173
18171
  };
@@ -18195,20 +18193,23 @@
18195
18193
  -axis.labelOffset * (axis.labelAlign === 'center' ? 0.5 : 1) :
18196
18194
  0),
18197
18195
  pos = {};
18198
- var yOffset = labelOptions.y,
18196
+ var yOffset,
18199
18197
  line;
18200
- if (!defined(yOffset)) {
18201
- if (axis.side === 0) {
18202
- yOffset = label.rotation ? -8 : -label.getBBox().height;
18203
- }
18204
- else if (axis.side === 2) {
18205
- yOffset = rotCorr.y + 8;
18206
- }
18207
- else {
18208
- // #3140, #3140
18209
- yOffset = Math.cos(label.rotation * deg2rad) *
18210
- (rotCorr.y - label.getBBox(false, 0).height / 2);
18211
- }
18198
+ if (axis.side === 0) {
18199
+ yOffset = label.rotation ? -8 : -label.getBBox().height;
18200
+ }
18201
+ else if (axis.side === 2) {
18202
+ yOffset = rotCorr.y + 8;
18203
+ }
18204
+ else {
18205
+ // #3140, #3140
18206
+ yOffset = Math.cos(label.rotation * deg2rad) *
18207
+ (rotCorr.y - label.getBBox(false, 0).height / 2);
18208
+ }
18209
+ if (defined(labelOptions.y)) {
18210
+ yOffset = axis.side === 0 && axis.horiz ?
18211
+ labelOptions.y + yOffset :
18212
+ labelOptions.y;
18212
18213
  }
18213
18214
  x = x +
18214
18215
  labelOptions.x +
@@ -19089,7 +19090,7 @@
19089
19090
  multi,
19090
19091
  ret;
19091
19092
  if (categories) {
19092
- ret = "" + this.value;
19093
+ ret = "".concat(this.value);
19093
19094
  }
19094
19095
  else if (dateTimeLabelFormat) { // datetime axis
19095
19096
  ret = time.dateFormat(dateTimeLabelFormat, value);
@@ -19165,7 +19166,6 @@
19165
19166
  if (axis.isXAxis) {
19166
19167
  xData = series.xData;
19167
19168
  if (xData.length) {
19168
- var isPositive = function (number) { return number > 0; };
19169
19169
  xData = axis.logarithmic ?
19170
19170
  xData.filter(axis.validatePositiveValue) :
19171
19171
  xData;
@@ -19234,8 +19234,11 @@
19234
19234
  */
19235
19235
  Axis.prototype.translate = function (val, backwards, cvsCoord, old, handleLog, pointPlacement) {
19236
19236
  var axis = (this.linkedParent || this), // #1417
19237
- localMin = old && axis.old ? axis.old.min : axis.min,
19238
- minPixelPadding = axis.minPixelPadding,
19237
+ localMin = (old && axis.old ? axis.old.min : axis.min);
19238
+ if (!isNumber(localMin)) {
19239
+ return NaN;
19240
+ }
19241
+ var minPixelPadding = axis.minPixelPadding,
19239
19242
  doPostTranslate = (axis.isOrdinal ||
19240
19243
  axis.brokenAxis && axis.brokenAxis.hasBreaks ||
19241
19244
  (axis.logarithmic && handleLog)) && axis.lin2val;
@@ -19273,14 +19276,10 @@
19273
19276
  val = axis.val2lin(val);
19274
19277
  }
19275
19278
  var value = sign * (val - localMin) * localA;
19276
- returnValue = isNumber(localMin) ?
19277
- ((!axis.isRadial ? correctFloat(value) : value) +
19278
- cvsOffset +
19279
- (sign * minPixelPadding) +
19280
- (isNumber(pointPlacement) ?
19281
- localA * pointPlacement :
19282
- 0)) :
19283
- void 0;
19279
+ returnValue = (!axis.isRadial ? correctFloat(value) : value) +
19280
+ cvsOffset +
19281
+ (sign * minPixelPadding) +
19282
+ (isNumber(pointPlacement) ? localA * pointPlacement : 0);
19284
19283
  }
19285
19284
  return returnValue;
19286
19285
  };
@@ -19300,7 +19299,7 @@
19300
19299
  * Pixel position of the value on the chart or axis.
19301
19300
  */
19302
19301
  Axis.prototype.toPixels = function (value, paneCoordinates) {
19303
- return this.translate(value, false, !this.horiz, null, true) +
19302
+ return this.translate(value, false, !this.horiz, void 0, true) +
19304
19303
  (paneCoordinates ? 0 : this.pos);
19305
19304
  };
19306
19305
  /**
@@ -19320,7 +19319,7 @@
19320
19319
  * The axis value.
19321
19320
  */
19322
19321
  Axis.prototype.toValue = function (pixel, paneCoordinates) {
19323
- return this.translate(pixel - (paneCoordinates ? 0 : this.pos), true, !this.horiz, null, true);
19322
+ return this.translate(pixel - (paneCoordinates ? 0 : this.pos), true, !this.horiz, void 0, true);
19324
19323
  };
19325
19324
  /**
19326
19325
  * Create the path for a plot line that goes from the given value on
@@ -19379,7 +19378,7 @@
19379
19378
  translatedValue: translatedValue
19380
19379
  };
19381
19380
  fireEvent(this, 'getPlotLinePath', evt, function (e) {
19382
- translatedValue = pick(translatedValue, axis.translate(value, null, null, old));
19381
+ translatedValue = pick(translatedValue, axis.translate(value, void 0, void 0, old));
19383
19382
  // Keep the translated value within sane bounds, and avoid Infinity
19384
19383
  // to fail the isNumber test (#7709).
19385
19384
  translatedValue = clamp(translatedValue, -1e5, 1e5);
@@ -20767,7 +20766,7 @@
20767
20766
  * @param {number} threshold
20768
20767
  * The threshold in axis values.
20769
20768
  *
20770
- * @return {number|undefined}
20769
+ * @return {number}
20771
20770
  * The translated threshold position in terms of pixels, and corrected to
20772
20771
  * stay within the axis bounds.
20773
20772
  */
@@ -21263,12 +21262,10 @@
21263
21262
  axis.staggerLines = (axis.horiz && labelOptions.staggerLines) || void 0;
21264
21263
  // Create the axisGroup and gridGroup elements on first iteration
21265
21264
  if (!axis.axisGroup) {
21266
- var createGroup = function (name,
21267
- suffix,
21268
- zIndex) { return renderer.g(name)
21265
+ var createGroup = function (name, suffix, zIndex) { return renderer.g(name)
21269
21266
  .attr({ zIndex: zIndex })
21270
- .addClass("highcharts-" + coll.toLowerCase() + suffix + " " +
21271
- (_this.isRadial ? "highcharts-radial-axis" + suffix + " " : '') +
21267
+ .addClass("highcharts-".concat(coll.toLowerCase()).concat(suffix, " ") +
21268
+ (_this.isRadial ? "highcharts-radial-axis".concat(suffix, " ") : '') +
21272
21269
  (className || ''))
21273
21270
  .add(axisParent); };
21274
21271
  axis.gridGroup = createGroup('grid', '-grid', options.gridZIndex);
@@ -21888,10 +21885,10 @@
21888
21885
  stroke: options.color ||
21889
21886
  (categorized ?
21890
21887
  Color
21891
- .parse("#ccd6eb" /* highlightColor20 */)
21888
+ .parse("#ccd6eb" /* Palette.highlightColor20 */)
21892
21889
  .setOpacity(0.25)
21893
21890
  .get() :
21894
- "#cccccc" /* neutralColor20 */),
21891
+ "#cccccc" /* Palette.neutralColor20 */),
21895
21892
  'stroke-width': pick(options.width, 1)
21896
21893
  }).css({
21897
21894
  'pointer-events': 'none'
@@ -22496,10 +22493,13 @@
22496
22493
  * @private
22497
22494
  */
22498
22495
  Additions.prototype.getXDateFormat = function (x, dateTimeLabelFormats) {
22499
- var axis = this.axis;
22496
+ var axis = this.axis,
22497
+ time = axis.chart.time;
22500
22498
  return axis.closestPointRange ?
22501
- axis.chart.time.getDateFormat(axis.closestPointRange, x, axis.options.startOfWeek, dateTimeLabelFormats) || dateTimeLabelFormats.year : // #2546, 2581
22502
- dateTimeLabelFormats.day;
22499
+ time.getDateFormat(axis.closestPointRange, x, axis.options.startOfWeek, dateTimeLabelFormats) ||
22500
+ // #2546, 2581
22501
+ time.resolveDTLFormat(dateTimeLabelFormats.year).main :
22502
+ time.resolveDTLFormat(dateTimeLabelFormats.day).main;
22503
22503
  };
22504
22504
  return Additions;
22505
22505
  }());
@@ -23134,7 +23134,7 @@
23134
23134
  // Set the presentational attributes
23135
23135
  if (!axis.chart.styledMode) {
23136
23136
  if (isLine) {
23137
- attribs.stroke = color || "#999999" /* neutralColor40 */;
23137
+ attribs.stroke = color || "#999999" /* Palette.neutralColor40 */;
23138
23138
  attribs['stroke-width'] = pick(options.width, 1);
23139
23139
  if (options.dashStyle) {
23140
23140
  attribs.dashstyle =
@@ -23142,7 +23142,7 @@
23142
23142
  }
23143
23143
  }
23144
23144
  else if (isBand) { // plot band
23145
- attribs.fill = color || "#e6ebf5" /* highlightColor10 */;
23145
+ attribs.fill = color || "#e6ebf5" /* Palette.highlightColor10 */;
23146
23146
  if (options.borderWidth) {
23147
23147
  attribs.stroke = options.borderColor;
23148
23148
  attribs['stroke-width'] = options.borderWidth;
@@ -24791,7 +24791,7 @@
24791
24791
  stroke: (options.borderColor ||
24792
24792
  point.color ||
24793
24793
  currentSeries.color ||
24794
- "#666666" /* neutralColor60 */)
24794
+ "#666666" /* Palette.neutralColor60 */)
24795
24795
  });
24796
24796
  }
24797
24797
  tooltip.updatePosition({
@@ -24991,7 +24991,7 @@
24991
24991
  stroke: (options.borderColor ||
24992
24992
  point.color ||
24993
24993
  series.color ||
24994
- "#333333" /* neutralColor80 */)
24994
+ "#333333" /* Palette.neutralColor80 */)
24995
24995
  });
24996
24996
  }
24997
24997
  return tt;
@@ -25329,7 +25329,7 @@
25329
25329
  // scale transform/css zoom. #11329.
25330
25330
  if (chartPosition.scaleX !== 1 || chartPosition.scaleY !== 1) {
25331
25331
  css(this.container, {
25332
- transform: "scale(" + chartPosition.scaleX + ", " + chartPosition.scaleY + ")"
25332
+ transform: "scale(".concat(chartPosition.scaleX, ", ").concat(chartPosition.scaleY, ")")
25333
25333
  });
25334
25334
  anchorX *= chartPosition.scaleX;
25335
25335
  anchorY *= chartPosition.scaleY;
@@ -25557,6 +25557,15 @@
25557
25557
  * @type {Highcharts.Series}
25558
25558
  */
25559
25559
  this.series = void 0;
25560
+ /**
25561
+ * The attributes of the rendered SVG shape like in `column` or `pie`
25562
+ * series.
25563
+ *
25564
+ * @readonly
25565
+ * @name Highcharts.Point#shapeArgs
25566
+ * @type {Readonly<Highcharts.SVGAttributes>|undefined}
25567
+ */
25568
+ this.shapeArgs = void 0;
25560
25569
  /**
25561
25570
  * The total of values in either a stack for stacked series, or a pie in a
25562
25571
  * pie series.
@@ -27015,7 +27024,7 @@
27015
27024
  if (!chart.styledMode) {
27016
27025
  selectionMarker.attr({
27017
27026
  fill: (chartOptions.selectionMarkerFill ||
27018
- color("#335cad" /* highlightColor80 */)
27027
+ color("#335cad" /* Palette.highlightColor80 */)
27019
27028
  .setOpacity(0.25).get())
27020
27029
  });
27021
27030
  }
@@ -29088,7 +29097,7 @@
29088
29097
  item.series :
29089
29098
  item,
29090
29099
  seriesOptions = series.options,
29091
- showCheckbox = legend.createCheckboxForItem &&
29100
+ showCheckbox = (legend.createCheckboxForItem) &&
29092
29101
  seriesOptions &&
29093
29102
  seriesOptions.showCheckbox,
29094
29103
  useHTML = options.useHTML,
@@ -29359,7 +29368,7 @@
29359
29368
  }
29360
29369
  }, this);
29361
29370
  distribute(boxes, chart.plotHeight).forEach(function (box) {
29362
- if (box.item._legendItemPos) {
29371
+ if (box.item._legendItemPos && box.pos) {
29363
29372
  box.item._legendItemPos[1] =
29364
29373
  chart.plotTop - chart.spacing[0] + box.pos;
29365
29374
  }
@@ -29487,7 +29496,7 @@
29487
29496
  }, box.strokeWidth()));
29488
29497
  }
29489
29498
  // hide the border if no items
29490
- box[display ? 'show' : 'hide']();
29499
+ legendGroup[display ? 'show' : 'hide']();
29491
29500
  // Open for responsiveness
29492
29501
  if (chart.styledMode && legendGroup.getStyle('display') === 'none') {
29493
29502
  legendWidth = legendHeight = 0;
@@ -30939,10 +30948,10 @@
30939
30948
  var chart = this;
30940
30949
  // Default style
30941
30950
  var style = name === 'title' ? {
30942
- color: "#333333" /* neutralColor80 */,
30951
+ color: "#333333" /* Palette.neutralColor80 */,
30943
30952
  fontSize: this.options.isStock ? '16px' : '18px' // #2944
30944
30953
  } : {
30945
- color: "#666666" /* neutralColor60 */
30954
+ color: "#666666" /* Palette.neutralColor60 */
30946
30955
  };
30947
30956
  // Merge default options with explicit options
30948
30957
  var options = this.options[name] = merge(
@@ -32231,18 +32240,23 @@
32231
32240
  * Emit console warning if the a11y module is not loaded.
32232
32241
  */
32233
32242
  Chart.prototype.warnIfA11yModuleNotLoaded = function () {
32234
- var _this = this;
32235
- setTimeout(function () {
32236
- var opts = _this && _this.options;
32237
- if (opts && !_this.accessibility &&
32238
- !(opts.accessibility && opts.accessibility.enabled === false)) {
32243
+ var _a = this,
32244
+ options = _a.options,
32245
+ title = _a.title;
32246
+ if (options && !this.accessibility) {
32247
+ // Make chart behave as an image with the title as alt text
32248
+ this.renderer.boxWrapper.attr({
32249
+ role: 'img',
32250
+ 'aria-label': (title && title.element.textContent) || ''
32251
+ });
32252
+ if (!(options.accessibility && options.accessibility.enabled === false)) {
32239
32253
  error('Highcharts warning: Consider including the ' +
32240
32254
  '"accessibility.js" module to make your chart more ' +
32241
32255
  'usable for people with disabilities. Set the ' +
32242
32256
  '"accessibility.enabled" option to false to remove this ' +
32243
- 'warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.', false, _this);
32257
+ 'warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.', false, this);
32244
32258
  }
32245
- }, 100);
32259
+ }
32246
32260
  };
32247
32261
  /**
32248
32262
  * Add a series to the chart after render time. Note that this method should
@@ -32921,9 +32935,7 @@
32921
32935
  enabled: panning,
32922
32936
  type: 'x'
32923
32937
  }),
32924
- chartOptions = chart.options.chart,
32925
- hasMapNavigation = chart.options.mapNavigation &&
32926
- chart.options.mapNavigation.enabled;
32938
+ chartOptions = chart.options.chart;
32927
32939
  if (chartOptions && chartOptions.panning) {
32928
32940
  chartOptions.panning = panningOptions;
32929
32941
  }
@@ -33018,7 +33030,6 @@
33018
33030
  newMax <= paddedMax) {
33019
33031
  axis.setExtremes(newMin, newMax, false, false, { trigger: 'pan' });
33020
33032
  if (!chart.resetZoomButton &&
33021
- !hasMapNavigation &&
33022
33033
  // Show reset zoom button only when both newMin and
33023
33034
  // newMax values are between padded axis range.
33024
33035
  newMin !== paddedMin &&
@@ -34349,7 +34360,7 @@
34349
34360
  *
34350
34361
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
34351
34362
  */
34352
- lineColor: "#ffffff" /* backgroundColor */,
34363
+ lineColor: "#ffffff" /* Palette.backgroundColor */,
34353
34364
  /**
34354
34365
  * The width of the point marker's outline.
34355
34366
  *
@@ -34549,7 +34560,7 @@
34549
34560
  *
34550
34561
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
34551
34562
  */
34552
- fillColor: "#cccccc" /* neutralColor20 */,
34563
+ fillColor: "#cccccc" /* Palette.neutralColor20 */,
34553
34564
  /**
34554
34565
  * The color of the point marker's outline. When
34555
34566
  * `undefined`, the series' or point's color is used.
@@ -34559,7 +34570,7 @@
34559
34570
  *
34560
34571
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
34561
34572
  */
34562
- lineColor: "#000000" /* neutralColor100 */,
34573
+ lineColor: "#000000" /* Palette.neutralColor100 */,
34563
34574
  /**
34564
34575
  * The width of the point marker's outline.
34565
34576
  *
@@ -36275,7 +36286,7 @@
36275
36286
  this.getCyclic('color');
36276
36287
  }
36277
36288
  else if (this.options.colorByPoint) {
36278
- this.color = "#cccccc" /* neutralColor20 */;
36289
+ this.color = "#cccccc" /* Palette.neutralColor20 */;
36279
36290
  }
36280
36291
  else {
36281
36292
  this.getCyclic('color', this.options.color ||
@@ -36462,7 +36473,7 @@
36462
36473
  data.forEach(function (point, i) {
36463
36474
  // .update doesn't exist on a linked, hidden series (#3709)
36464
36475
  // (#10187)
36465
- if (point !== oldData[i].y && oldData[i].update) {
36476
+ if (point !== oldData[i].y && (oldData[i].update)) {
36466
36477
  oldData[i].update(point, false, null, false);
36467
36478
  }
36468
36479
  });
@@ -36681,7 +36692,7 @@
36681
36692
  // destroy old points
36682
36693
  i = oldDataLength;
36683
36694
  while (i--) {
36684
- if (oldData[i] && oldData[i].destroy) {
36695
+ if (oldData[i] && (oldData[i].destroy)) {
36685
36696
  oldData[i].destroy();
36686
36697
  }
36687
36698
  }
@@ -37573,7 +37584,7 @@
37573
37584
  this.setClip();
37574
37585
  // Destroy temporary clip rectangles that are no longer in use
37575
37586
  objectEach(this.chart.sharedClips, function (clip, key, sharedClips) {
37576
- if (clip && !_this.chart.container.querySelector("[clip-path=\"url(#" + clip.id + ")\"]")) {
37587
+ if (clip && !_this.chart.container.querySelector("[clip-path=\"url(#".concat(clip.id, ")\"]"))) {
37577
37588
  clip.destroy();
37578
37589
  delete sharedClips[key];
37579
37590
  }
@@ -38647,7 +38658,7 @@
38647
38658
  }
38648
38659
  // Shift the first point off the parallel arrays
38649
38660
  if (shift) {
38650
- if (data[0] && data[0].remove) {
38661
+ if (data[0] && (data[0].remove)) {
38651
38662
  data[0].remove(false);
38652
38663
  }
38653
38664
  else {
@@ -39748,6 +39759,7 @@
39748
39759
  var stop = A.stop;
39749
39760
  var addEvent = U.addEvent,
39750
39761
  createElement = U.createElement,
39762
+ defined = U.defined,
39751
39763
  merge = U.merge,
39752
39764
  pick = U.pick;
39753
39765
  /* eslint-disable no-invalid-this, valid-jsdoc */
@@ -39781,7 +39793,7 @@
39781
39793
  }
39782
39794
  else if (scrollableMinHeight) {
39783
39795
  this.scrollablePixelsY = scrollablePixelsY = Math.max(0, scrollableMinHeight - this.chartHeight);
39784
- if (scrollablePixelsY) {
39796
+ if (defined(scrollablePixelsY)) {
39785
39797
  this.scrollablePlotBox = (this.renderer.scrollablePlotBox = merge(this.plotBox));
39786
39798
  this.plotBox.height = this.plotHeight += scrollablePixelsY;
39787
39799
  if (this.inverted) {
@@ -39916,7 +39928,7 @@
39916
39928
  axisClass = '.highcharts-yaxis';
39917
39929
  }
39918
39930
  if (axisClass) {
39919
- fixedSelectors.push(axisClass + ":not(.highcharts-radial-axis)", axisClass + "-labels:not(.highcharts-radial-axis-labels)");
39931
+ fixedSelectors.push("" + axisClass + ":not(.highcharts-radial-axis)", "" + axisClass + "-labels:not(.highcharts-radial-axis-labels)");
39920
39932
  }
39921
39933
  fixedSelectors.forEach(function (className) {
39922
39934
  [].forEach.call(container.querySelectorAll(className), function (elem) {
@@ -40697,7 +40709,7 @@
40697
40709
  this.chart.options.chart.ignoreHiddenSeries !== false)) {
40698
40710
  return;
40699
40711
  }
40700
- var series = this, xData = series.processedXData, yData = series.processedYData, stackedYData = [], yDataLength = yData.length, seriesOptions = series.options, threshold = seriesOptions.threshold, stackThreshold = pick(seriesOptions.startFromThreshold && threshold, 0), stackOption = seriesOptions.stack, stackKey = stackingParam ? series.type + "," + stacking : series.stackKey, negKey = '-' + stackKey, negStacks = series.negStacks, yAxis = series.yAxis, stacks = yAxis.stacking.stacks, oldStacks = yAxis.stacking.oldStacks, stackIndicator, isNegative, stack, other, key, pointKey, i, x, y;
40712
+ var series = this, xData = series.processedXData, yData = series.processedYData, stackedYData = [], yDataLength = yData.length, seriesOptions = series.options, threshold = seriesOptions.threshold, stackThreshold = pick(seriesOptions.startFromThreshold && threshold, 0), stackOption = seriesOptions.stack, stackKey = stackingParam ? "" + series.type + ",".concat(stacking) : series.stackKey, negKey = '-' + stackKey, negStacks = series.negStacks, yAxis = series.yAxis, stacks = yAxis.stacking.stacks, oldStacks = yAxis.stacking.oldStacks, stackIndicator, isNegative, stack, other, key, pointKey, i, x, y;
40701
40713
  yAxis.stacking.stacksTouched += 1;
40702
40714
  // loop over the non-null y values and read them into a local array
40703
40715
  for (i = 0; i < yDataLength; i++) {
@@ -41009,7 +41021,7 @@
41009
41021
  if (!styledMode) {
41010
41022
  props[0].push((options.lineColor ||
41011
41023
  this.color ||
41012
- "#cccccc" /* neutralColor20 */ // when colorByPoint = true
41024
+ "#cccccc" /* Palette.neutralColor20 */ // when colorByPoint = true
41013
41025
  ), options.dashStyle);
41014
41026
  }
41015
41027
  props = series.getZonesGraphs(props);
@@ -41581,9 +41593,9 @@
41581
41593
  });
41582
41594
  props.forEach(function (prop) {
41583
41595
  var areaKey = prop[0],
41584
- area = series[areaKey],
41585
- verb = area ? 'animate' : 'attr',
41586
41596
  attribs = {};
41597
+ var area = series[areaKey];
41598
+ var verb = area ? 'animate' : 'attr';
41587
41599
  // Create or update the area
41588
41600
  if (area) { // update
41589
41601
  area.endX = series.preventGraphAnimation ?
@@ -41613,15 +41625,18 @@
41613
41625
  * @private
41614
41626
  */
41615
41627
  AreaSeries.prototype.getGraphPath = function (points) {
41616
- var getGraphPath = LineSeries.prototype.getGraphPath, graphPath, options = this.options, stacking = options.stacking, yAxis = this.yAxis, topPath, bottomPath, bottomPoints = [], graphPoints = [], seriesIndex = this.index, i, areaPath, plotX, stacks = yAxis.stacking.stacks[this.stackKey], threshold = options.threshold, translatedThreshold = Math.round(// #10909
41617
- yAxis.getThreshold(options.threshold)), isNull, yBottom, connectNulls = pick(// #10574
41628
+ var getGraphPath = LineSeries.prototype.getGraphPath, options = this.options, stacking = options.stacking, yAxis = this.yAxis, bottomPoints = [], graphPoints = [], seriesIndex = this.index, stacks = yAxis.stacking.stacks[this.stackKey], threshold = options.threshold, translatedThreshold = Math.round(// #10909
41629
+ yAxis.getThreshold(options.threshold)), connectNulls = pick(// #10574
41618
41630
  options.connectNulls, stacking === 'percent'),
41619
41631
  // To display null points in underlying stacked series, this
41620
41632
  // series graph must be broken, and the area also fall down to
41621
41633
  // fill the gap left by the null point. #2069
41622
41634
  addDummyPoints = function (i, otherI, side) {
41623
41635
  var point = points[i], stackedValues = stacking &&
41624
- stacks[point.x].points[seriesIndex], nullVal = point[side + 'Null'] || 0, cliffVal = point[side + 'Cliff'] || 0, top, bottom, isNull = true;
41636
+ stacks[point.x].points[seriesIndex], nullVal = point[side + 'Null'] || 0, cliffVal = point[side + 'Cliff'] || 0;
41637
+ var top,
41638
+ bottom,
41639
+ isNull = true;
41625
41640
  if (cliffVal || nullVal) {
41626
41641
  top = (nullVal ?
41627
41642
  stackedValues[0] :
@@ -41653,13 +41668,16 @@
41653
41668
  });
41654
41669
  }
41655
41670
  };
41671
+ var plotX,
41672
+ isNull,
41673
+ yBottom;
41656
41674
  // Find what points to use
41657
41675
  points = points || this.points;
41658
41676
  // Fill in missing points
41659
41677
  if (stacking) {
41660
41678
  points = this.getStackPoints(points);
41661
41679
  }
41662
- for (i = 0; i < points.length; i++) {
41680
+ for (var i = 0, iEnd = points.length; i < iEnd; ++i) {
41663
41681
  // Reset after series.update of stacking property (#12033)
41664
41682
  if (!stacking) {
41665
41683
  points[i].leftCliff = points[i].rightCliff =
@@ -41689,20 +41707,29 @@
41689
41707
  }
41690
41708
  }
41691
41709
  }
41692
- topPath = getGraphPath.call(this, graphPoints, true, true);
41710
+ var topPath = getGraphPath.call(this,
41711
+ graphPoints,
41712
+ true,
41713
+ true);
41693
41714
  bottomPoints.reversed = true;
41694
- bottomPath = getGraphPath.call(this, bottomPoints, true, true);
41715
+ var bottomPath = getGraphPath.call(this,
41716
+ bottomPoints,
41717
+ true,
41718
+ true);
41695
41719
  var firstBottomPoint = bottomPath[0];
41696
41720
  if (firstBottomPoint && firstBottomPoint[0] === 'M') {
41697
41721
  bottomPath[0] = ['L', firstBottomPoint[1], firstBottomPoint[2]];
41698
41722
  }
41699
- areaPath = topPath.concat(bottomPath);
41723
+ var areaPath = topPath.concat(bottomPath);
41700
41724
  if (areaPath.length) {
41701
41725
  areaPath.push(['Z']);
41702
41726
  }
41703
41727
  // TODO: don't set leftCliff and rightCliff when connectNulls?
41704
- graphPath = getGraphPath
41705
- .call(this, graphPoints, false, connectNulls);
41728
+ var graphPath = getGraphPath
41729
+ .call(this,
41730
+ graphPoints,
41731
+ false,
41732
+ connectNulls);
41706
41733
  areaPath.xMap = topPath.xMap;
41707
41734
  this.areaPath = areaPath;
41708
41735
  return graphPath;
@@ -41761,8 +41788,8 @@
41761
41788
  cliffName = direction === 1 ?
41762
41789
  'rightCliff' :
41763
41790
  'leftCliff',
41764
- cliff = 0,
41765
41791
  otherStack = stack[keys[idx + direction]];
41792
+ var cliff = 0;
41766
41793
  // If there is a stack next to this one,
41767
41794
  // to the left or to the right...
41768
41795
  if (otherStack) {
@@ -41869,7 +41896,7 @@
41869
41896
  * @sample {highcharts} highcharts/plotoptions/area-fillcolor-gradient/
41870
41897
  * Gradient
41871
41898
  *
41872
- * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
41899
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
41873
41900
  * @product highcharts highstock
41874
41901
  * @apioption plotOptions.area.fillColor
41875
41902
  */
@@ -41906,7 +41933,7 @@
41906
41933
  * @sample {highcharts} highcharts/plotoptions/area-linecolor/
41907
41934
  * Dark gray line
41908
41935
  *
41909
- * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
41936
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
41910
41937
  * @product highcharts highstock
41911
41938
  * @apioption plotOptions.area.lineColor
41912
41939
  */
@@ -41921,7 +41948,7 @@
41921
41948
  * @sample {highcharts} highcharts/css/series-negative-color/
41922
41949
  * Negative color in styled mode
41923
41950
  *
41924
- * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
41951
+ * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
41925
41952
  * @since 3.0
41926
41953
  * @product highcharts
41927
41954
  * @apioption plotOptions.area.negativeFillColor
@@ -42099,6 +42126,11 @@
42099
42126
  var LineSeries = SeriesRegistry.seriesTypes.line;
42100
42127
  var merge = U.merge,
42101
42128
  pick = U.pick;
42129
+ /* *
42130
+ *
42131
+ * Class
42132
+ *
42133
+ * */
42102
42134
  /**
42103
42135
  * Spline series type.
42104
42136
  *
@@ -42147,12 +42179,11 @@
42147
42179
  plotX = point.plotX || 0,
42148
42180
  plotY = point.plotY || 0,
42149
42181
  lastPoint = points[i - 1],
42150
- nextPoint = points[i + 1],
42151
- leftContX,
42182
+ nextPoint = points[i + 1];
42183
+ var leftContX,
42152
42184
  leftContY,
42153
42185
  rightContX,
42154
- rightContY,
42155
- ret;
42186
+ rightContY;
42156
42187
  /**
42157
42188
  * @private
42158
42189
  */
@@ -42168,8 +42199,8 @@
42168
42199
  var lastX = lastPoint.plotX || 0,
42169
42200
  lastY = lastPoint.plotY || 0,
42170
42201
  nextX = nextPoint.plotX || 0,
42171
- nextY = nextPoint.plotY || 0,
42172
- correction = 0;
42202
+ nextY = nextPoint.plotY || 0;
42203
+ var correction = 0;
42173
42204
  leftContX = (smoothing * plotX + lastX) / denom;
42174
42205
  leftContY = (smoothing * plotY + lastY) / denom;
42175
42206
  rightContX = (smoothing * plotX + nextX) / denom;
@@ -42255,15 +42286,19 @@
42255
42286
  .add();
42256
42287
  }
42257
42288
  // */
42258
- ret = [
42259
- 'C',
42260
- pick(lastPoint.rightContX, lastPoint.plotX, 0),
42261
- pick(lastPoint.rightContY, lastPoint.plotY, 0),
42262
- pick(leftContX, plotX, 0),
42263
- pick(leftContY, plotY, 0),
42264
- plotX,
42265
- plotY
42266
- ];
42289
+ var ret = [
42290
+ 'C',
42291
+ pick(lastPoint.rightContX,
42292
+ lastPoint.plotX, 0),
42293
+ pick(lastPoint.rightContY,
42294
+ lastPoint.plotY, 0),
42295
+ pick(leftContX,
42296
+ plotX, 0),
42297
+ pick(leftContY,
42298
+ plotY, 0),
42299
+ plotX,
42300
+ plotY
42301
+ ];
42267
42302
  // reset for updating series later
42268
42303
  lastPoint.rightContX = lastPoint.rightContY = void 0;
42269
42304
  return ret;
@@ -42368,7 +42403,7 @@
42368
42403
 
42369
42404
  return SplineSeries;
42370
42405
  });
42371
- _registerModule(_modules, 'Series/AreaSpline/AreaSplineSeries.js', [_modules['Series/Area/AreaSeries.js'], _modules['Series/Spline/SplineSeries.js'], _modules['Core/Legend/LegendSymbol.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (AreaSeries, SplineSeries, LegendSymbol, SeriesRegistry, U) {
42406
+ _registerModule(_modules, 'Series/AreaSpline/AreaSplineSeries.js', [_modules['Series/Spline/SplineSeries.js'], _modules['Core/Legend/LegendSymbol.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (SplineSeries, LegendSymbol, SeriesRegistry, U) {
42372
42407
  /* *
42373
42408
  *
42374
42409
  * (c) 2010-2021 Torstein Honsi
@@ -42394,7 +42429,9 @@
42394
42429
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
42395
42430
  };
42396
42431
  })();
42397
- var areaProto = AreaSeries.prototype;
42432
+ var _a = SeriesRegistry.seriesTypes,
42433
+ AreaSeries = _a.area,
42434
+ areaProto = _a.area.prototype;
42398
42435
  var extend = U.extend,
42399
42436
  merge = U.merge;
42400
42437
  /* *
@@ -42416,7 +42453,7 @@
42416
42453
  function AreaSplineSeries() {
42417
42454
  /* *
42418
42455
  *
42419
- * Static properties
42456
+ * Static Properties
42420
42457
  *
42421
42458
  * */
42422
42459
  var _this = _super !== null && _super.apply(this,
@@ -42431,40 +42468,6 @@
42431
42468
  _this.options = void 0;
42432
42469
  return _this;
42433
42470
  }
42434
- /**
42435
- * The area spline series is an area series where the graph between the
42436
- * points is smoothed into a spline.
42437
- *
42438
- * @sample {highcharts} highcharts/demo/areaspline/
42439
- * Area spline chart
42440
- * @sample {highstock} stock/demo/areaspline/
42441
- * Area spline chart
42442
- *
42443
- * @extends plotOptions.area
42444
- * @excluding step, boostThreshold, boostBlending
42445
- * @product highcharts highstock
42446
- * @apioption plotOptions.areaspline
42447
- */
42448
- /**
42449
- * @see [fillColor](#plotOptions.areaspline.fillColor)
42450
- * @see [fillOpacity](#plotOptions.areaspline.fillOpacity)
42451
- *
42452
- * @apioption plotOptions.areaspline.color
42453
- */
42454
- /**
42455
- * @see [color](#plotOptions.areaspline.color)
42456
- * @see [fillOpacity](#plotOptions.areaspline.fillOpacity)
42457
- *
42458
- * @apioption plotOptions.areaspline.fillColor
42459
- */
42460
- /**
42461
- * @see [color](#plotOptions.areaspline.color)
42462
- * @see [fillColor](#plotOptions.areaspline.fillColor)
42463
- *
42464
- * @default {highcharts} 0.75
42465
- * @default {highstock} 0.75
42466
- * @apioption plotOptions.areaspline.fillOpacity
42467
- */
42468
42471
  AreaSplineSeries.defaultOptions = merge(SplineSeries.defaultOptions, AreaSeries.defaultOptions);
42469
42472
  return AreaSplineSeries;
42470
42473
  }(SplineSeries));
@@ -42477,9 +42480,47 @@
42477
42480
  SeriesRegistry.registerSeriesType('areaspline', AreaSplineSeries);
42478
42481
  /* *
42479
42482
  *
42480
- * Default export
42483
+ * Default Export
42481
42484
  *
42482
42485
  * */
42486
+ /* *
42487
+ *
42488
+ * API Options
42489
+ *
42490
+ * */
42491
+ /**
42492
+ * The area spline series is an area series where the graph between the
42493
+ * points is smoothed into a spline.
42494
+ *
42495
+ * @sample {highcharts} highcharts/demo/areaspline/
42496
+ * Area spline chart
42497
+ * @sample {highstock} stock/demo/areaspline/
42498
+ * Area spline chart
42499
+ *
42500
+ * @extends plotOptions.area
42501
+ * @excluding step, boostThreshold, boostBlending
42502
+ * @product highcharts highstock
42503
+ * @apioption plotOptions.areaspline
42504
+ */
42505
+ /**
42506
+ * @see [fillColor](#plotOptions.areaspline.fillColor)
42507
+ * @see [fillOpacity](#plotOptions.areaspline.fillOpacity)
42508
+ *
42509
+ * @apioption plotOptions.areaspline.color
42510
+ */
42511
+ /**
42512
+ * @see [color](#plotOptions.areaspline.color)
42513
+ * @see [fillOpacity](#plotOptions.areaspline.fillOpacity)
42514
+ *
42515
+ * @apioption plotOptions.areaspline.fillColor
42516
+ */
42517
+ /**
42518
+ * @see [color](#plotOptions.areaspline.color)
42519
+ * @see [fillColor](#plotOptions.areaspline.fillColor)
42520
+ *
42521
+ * @default 0.75
42522
+ * @apioption plotOptions.areaspline.fillOpacity
42523
+ */
42483
42524
  /**
42484
42525
  * A `areaspline` series. If the [type](#series.areaspline.type) option
42485
42526
  * is not specified, it is inherited from [chart.type](#chart.type).
@@ -42565,8 +42606,7 @@
42565
42606
  * @see [color](#series.areaspline.color)
42566
42607
  * @see [fillColor](#series.areaspline.fillColor)
42567
42608
  *
42568
- * @default {highcharts} 0.75
42569
- * @default {highstock} 0.75
42609
+ * @default 0.75
42570
42610
  * @apioption series.areaspline.fillOpacity
42571
42611
  */
42572
42612
  ''; // adds doclets above into transpilat
@@ -43558,7 +43598,7 @@
43558
43598
  * @default #cccccc
43559
43599
  * @product highcharts highstock gantt
43560
43600
  */
43561
- color: "#cccccc" /* neutralColor20 */,
43601
+ color: "#cccccc" /* Palette.neutralColor20 */,
43562
43602
  /**
43563
43603
  * A specific border color for the selected point.
43564
43604
  *
@@ -43566,7 +43606,7 @@
43566
43606
  * @default #000000
43567
43607
  * @product highcharts highstock gantt
43568
43608
  */
43569
- borderColor: "#000000" /* neutralColor100 */
43609
+ borderColor: "#000000" /* Palette.neutralColor100 */
43570
43610
  }
43571
43611
  },
43572
43612
  dataLabels: {
@@ -43633,7 +43673,7 @@
43633
43673
  *
43634
43674
  * @private
43635
43675
  */
43636
- borderColor: "#ffffff" /* backgroundColor */
43676
+ borderColor: "#ffffff" /* Palette.backgroundColor */
43637
43677
  });
43638
43678
  return ColumnSeries;
43639
43679
  }(Series));
@@ -44161,7 +44201,7 @@
44161
44201
  rotation = labelOptions.rotation;
44162
44202
  if (!chart.styledMode) {
44163
44203
  // Determine the color
44164
- style.color = pick(labelOptions.color, style.color, series.color, "#000000" /* neutralColor100 */);
44204
+ style.color = pick(labelOptions.color, style.color, series.color, "#000000" /* Palette.neutralColor100 */);
44165
44205
  // Get automated contrast color
44166
44206
  if (style.color === 'contrast') {
44167
44207
  point.contrastColor = renderer.getContrast((point.color || series.color));
@@ -44170,7 +44210,7 @@
44170
44210
  labelDistance < 0 ||
44171
44211
  !!seriesOptions.stacking ?
44172
44212
  point.contrastColor :
44173
- "#000000" /* neutralColor100 */;
44213
+ "#000000" /* Palette.neutralColor100 */;
44174
44214
  }
44175
44215
  else {
44176
44216
  delete point.contrastColor;
@@ -44771,7 +44811,7 @@
44771
44811
 
44772
44812
  return BarSeries;
44773
44813
  });
44774
- _registerModule(_modules, 'Series/Scatter/ScatterSeries.js', [_modules['Series/Column/ColumnSeries.js'], _modules['Series/Line/LineSeries.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (ColumnSeries, LineSeries, SeriesRegistry, U) {
44814
+ _registerModule(_modules, 'Series/Scatter/ScatterSeries.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (SeriesRegistry, U) {
44775
44815
  /* *
44776
44816
  *
44777
44817
  * (c) 2010-2021 Torstein Honsi
@@ -44797,6 +44837,9 @@
44797
44837
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
44798
44838
  };
44799
44839
  })();
44840
+ var _a = SeriesRegistry.seriesTypes,
44841
+ ColumnSeries = _a.column,
44842
+ LineSeries = _a.line;
44800
44843
  var addEvent = U.addEvent,
44801
44844
  extend = U.extend,
44802
44845
  merge = U.merge;
@@ -44813,6 +44856,11 @@
44813
44856
  var ScatterSeries = /** @class */ (function (_super) {
44814
44857
  __extends(ScatterSeries, _super);
44815
44858
  function ScatterSeries() {
44859
+ /* *
44860
+ *
44861
+ * Static Properties
44862
+ *
44863
+ * */
44816
44864
  var _this = _super !== null && _super.apply(this,
44817
44865
  arguments) || this;
44818
44866
  /* *
@@ -44880,7 +44928,6 @@
44880
44928
  };
44881
44929
  /**
44882
44930
  * @private
44883
- * @function Highcharts.seriesTypes.scatter#drawGraph
44884
44931
  */
44885
44932
  ScatterSeries.prototype.drawGraph = function () {
44886
44933
  if (this.options.lineWidth) {
@@ -45083,7 +45130,7 @@
45083
45130
  * @product highcharts highstock
45084
45131
  * @apioption series.scatter.data
45085
45132
  */
45086
- ''; // adds doclets above to transpilat
45133
+ ''; // keeps doclets above in JS file
45087
45134
 
45088
45135
  return ScatterSeries;
45089
45136
  });
@@ -45098,7 +45145,8 @@
45098
45145
  *
45099
45146
  * */
45100
45147
  var deg2rad = H.deg2rad;
45101
- var isNumber = U.isNumber,
45148
+ var fireEvent = U.fireEvent,
45149
+ isNumber = U.isNumber,
45102
45150
  pick = U.pick,
45103
45151
  relativeLength = U.relativeLength;
45104
45152
  /**
@@ -45175,6 +45223,7 @@
45175
45223
  thickness * 2 < positions[2] && thickness > 0) {
45176
45224
  positions[3] = positions[2] - thickness * 2;
45177
45225
  }
45226
+ fireEvent(this, 'afterGetCenter', { positions: positions });
45178
45227
  return positions;
45179
45228
  }
45180
45229
  CenteredUtilities.getCenter = getCenter;
@@ -45678,7 +45727,7 @@
45678
45727
  this.graph.attr({
45679
45728
  'stroke-width': options.borderWidth,
45680
45729
  fill: options.fillColor || 'none',
45681
- stroke: options.color || "#cccccc" /* neutralColor20 */
45730
+ stroke: options.color || "#cccccc" /* Palette.neutralColor20 */
45682
45731
  });
45683
45732
  }
45684
45733
  }
@@ -45835,6 +45884,7 @@
45835
45884
  * @private
45836
45885
  */
45837
45886
  PieSeries.prototype.translate = function (positions) {
45887
+ fireEvent(this, 'translate');
45838
45888
  this.generatePoints();
45839
45889
  var series = this,
45840
45890
  precision = 1000, // issue #172
@@ -46004,7 +46054,7 @@
46004
46054
  * pointPlacement, pointStart, softThreshold, stacking, step,
46005
46055
  * threshold, turboThreshold, zoneAxis, zones, dataSorting,
46006
46056
  * boostBlending
46007
- * @product highcharts
46057
+ * @product highcharts highmaps
46008
46058
  * @optionparent plotOptions.pie
46009
46059
  */
46010
46060
  PieSeries.defaultOptions = merge(Series.defaultOptions, {
@@ -46024,7 +46074,7 @@
46024
46074
  *
46025
46075
  * @type {Function}
46026
46076
  * @since 1.2.0
46027
- * @product highcharts
46077
+ * @product highcharts highmaps
46028
46078
  * @context Highcharts.Point
46029
46079
  * @apioption plotOptions.pie.events.checkboxClick
46030
46080
  */
@@ -46040,7 +46090,7 @@
46040
46090
  *
46041
46091
  * @type {Highcharts.PointLegendItemClickCallbackFunction}
46042
46092
  * @since 1.2.0
46043
- * @product highcharts
46093
+ * @product highcharts highmaps
46044
46094
  * @apioption plotOptions.pie.point.events.legendItemClick
46045
46095
  */
46046
46096
  /**
@@ -46056,7 +46106,7 @@
46056
46106
  *
46057
46107
  * @type {Array<(number|string|null),(number|string|null)>}
46058
46108
  * @default [null, null]
46059
- * @product highcharts
46109
+ * @product highcharts highmaps
46060
46110
  *
46061
46111
  * @private
46062
46112
  */
@@ -46101,7 +46151,7 @@
46101
46151
  *
46102
46152
  * @type {Array<Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject>}
46103
46153
  * @since 3.0
46104
- * @product highcharts
46154
+ * @product highcharts highmaps
46105
46155
  * @apioption plotOptions.pie.colors
46106
46156
  */
46107
46157
  /**
@@ -46128,7 +46178,7 @@
46128
46178
  *
46129
46179
  * @type {string}
46130
46180
  * @since 7.0.0
46131
- * @product highcharts
46181
+ * @product highcharts highmaps
46132
46182
  * @apioption plotOptions.pie.dataLabels.alignTo
46133
46183
  */
46134
46184
  allowOverlap: true,
@@ -46146,7 +46196,7 @@
46146
46196
  *
46147
46197
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
46148
46198
  * @since 2.1
46149
- * @product highcharts
46199
+ * @product highcharts highmaps
46150
46200
  * @apioption plotOptions.pie.dataLabels.connectorColor
46151
46201
  */
46152
46202
  /**
@@ -46158,7 +46208,7 @@
46158
46208
  * No padding
46159
46209
  *
46160
46210
  * @since 2.1
46161
- * @product highcharts
46211
+ * @product highcharts highmaps
46162
46212
  */
46163
46213
  connectorPadding: 5,
46164
46214
  /**
@@ -46195,7 +46245,7 @@
46195
46245
  *
46196
46246
  * @type {string|Function}
46197
46247
  * @since 7.0.0
46198
- * @product highcharts
46248
+ * @product highcharts highmaps
46199
46249
  */
46200
46250
  connectorShape: 'fixedOffset',
46201
46251
  /**
@@ -46212,7 +46262,7 @@
46212
46262
  * @type {number}
46213
46263
  * @default 1
46214
46264
  * @since 2.1
46215
- * @product highcharts
46265
+ * @product highcharts highmaps
46216
46266
  * @apioption plotOptions.pie.dataLabels.connectorWidth
46217
46267
  */
46218
46268
  /**
@@ -46224,7 +46274,7 @@
46224
46274
  * crookDistance set to 90%
46225
46275
  *
46226
46276
  * @since 7.0.0
46227
- * @product highcharts
46277
+ * @product highcharts highmaps
46228
46278
  */
46229
46279
  crookDistance: '70%',
46230
46280
  /**
@@ -46238,7 +46288,7 @@
46238
46288
  *
46239
46289
  * @type {number|string}
46240
46290
  * @since 2.1
46241
- * @product highcharts
46291
+ * @product highcharts highmaps
46242
46292
  */
46243
46293
  distance: 30,
46244
46294
  enabled: true,
@@ -46279,7 +46329,7 @@
46279
46329
  * Non soft
46280
46330
  *
46281
46331
  * @since 2.1.7
46282
- * @product highcharts
46332
+ * @product highcharts highmaps
46283
46333
  */
46284
46334
  softConnector: true,
46285
46335
  /**
@@ -46315,7 +46365,7 @@
46315
46365
  *
46316
46366
  * @type {number}
46317
46367
  * @since 1.3.6
46318
- * @product highcharts
46368
+ * @product highcharts highmaps
46319
46369
  * @apioption plotOptions.pie.endAngle
46320
46370
  */
46321
46371
  /**
@@ -46341,7 +46391,7 @@
46341
46391
  * True, the hiddden point is ignored
46342
46392
  *
46343
46393
  * @since 2.3.0
46344
- * @product highcharts
46394
+ * @product highcharts highmaps
46345
46395
  *
46346
46396
  * @private
46347
46397
  */
@@ -46372,7 +46422,7 @@
46372
46422
  * @type {number|string}
46373
46423
  * @default 0
46374
46424
  * @since 2.0
46375
- * @product highcharts
46425
+ * @product highcharts highmaps
46376
46426
  * @apioption plotOptions.pie.innerSize
46377
46427
  */
46378
46428
  /**
@@ -46395,7 +46445,7 @@
46395
46445
  * @type {number|string}
46396
46446
  * @default 80
46397
46447
  * @since 3.0
46398
- * @product highcharts
46448
+ * @product highcharts highmaps
46399
46449
  * @apioption plotOptions.pie.minSize
46400
46450
  */
46401
46451
  /**
@@ -46412,7 +46462,7 @@
46412
46462
  * Smaller pie
46413
46463
  *
46414
46464
  * @type {number|string|null}
46415
- * @product highcharts
46465
+ * @product highcharts highmaps
46416
46466
  *
46417
46467
  * @private
46418
46468
  */
@@ -46424,7 +46474,7 @@
46424
46474
  * @sample {highcharts} highcharts/plotoptions/series-showinlegend/
46425
46475
  * One series in the legend, one hidden
46426
46476
  *
46427
- * @product highcharts
46477
+ * @product highcharts highmaps
46428
46478
  *
46429
46479
  * @private
46430
46480
  */
@@ -46436,7 +46486,7 @@
46436
46486
  * @sample {highcharts} highcharts/plotoptions/pie-slicedoffset-20/
46437
46487
  * 20px offset
46438
46488
  *
46439
- * @product highcharts
46489
+ * @product highcharts highmaps
46440
46490
  *
46441
46491
  * @private
46442
46492
  */
@@ -46451,7 +46501,7 @@
46451
46501
  * @type {number}
46452
46502
  * @default 0
46453
46503
  * @since 2.3.4
46454
- * @product highcharts
46504
+ * @product highcharts highmaps
46455
46505
  * @apioption plotOptions.pie.startAngle
46456
46506
  */
46457
46507
  /**
@@ -46463,7 +46513,7 @@
46463
46513
  * `stickyTracking` is false and `tooltip.shared` is false, the tooltip
46464
46514
  * will be hidden when moving the mouse between series.
46465
46515
  *
46466
- * @product highcharts
46516
+ * @product highcharts highmaps
46467
46517
  *
46468
46518
  * @private
46469
46519
  */
@@ -46485,11 +46535,11 @@
46485
46535
  *
46486
46536
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
46487
46537
  * @default #ffffff
46488
- * @product highcharts
46538
+ * @product highcharts highmaps
46489
46539
  *
46490
46540
  * @private
46491
46541
  */
46492
- borderColor: "#ffffff" /* backgroundColor */,
46542
+ borderColor: "#ffffff" /* Palette.backgroundColor */,
46493
46543
  /**
46494
46544
  * The width of the border surrounding each slice.
46495
46545
  *
@@ -46504,7 +46554,7 @@
46504
46554
  * @sample {highcharts} highcharts/plotoptions/pie-borderwidth/
46505
46555
  * 3px border
46506
46556
  *
46507
- * @product highcharts
46557
+ * @product highcharts highmaps
46508
46558
  *
46509
46559
  * @private
46510
46560
  */
@@ -46518,7 +46568,7 @@
46518
46568
  /**
46519
46569
  * @extends plotOptions.series.states.hover
46520
46570
  * @excluding marker, lineWidth, lineWidthPlus
46521
- * @product highcharts
46571
+ * @product highcharts highmaps
46522
46572
  */
46523
46573
  hover: {
46524
46574
  /**
@@ -46532,7 +46582,7 @@
46532
46582
  * @sample {highcharts} highcharts/plotoptions/pie-states-hover-brightness/
46533
46583
  * Brightened by 0.5
46534
46584
  *
46535
- * @product highcharts
46585
+ * @product highcharts highmaps
46536
46586
  */
46537
46587
  brightness: 0.1
46538
46588
  }
@@ -46574,7 +46624,7 @@
46574
46624
  * @extends series,plotOptions.pie
46575
46625
  * @excluding cropThreshold, dataParser, dataURL, stack, xAxis, yAxis,
46576
46626
  * dataSorting, step, boostThreshold, boostBlending
46577
- * @product highcharts
46627
+ * @product highcharts highmaps
46578
46628
  * @apioption series.pie
46579
46629
  */
46580
46630
  /**
@@ -46618,19 +46668,19 @@
46618
46668
  * @type {Array<number|Array<string,(number|null)>|null|*>}
46619
46669
  * @extends series.line.data
46620
46670
  * @excluding marker, x
46621
- * @product highcharts
46671
+ * @product highcharts highmaps
46622
46672
  * @apioption series.pie.data
46623
46673
  */
46624
46674
  /**
46625
46675
  * @type {Highcharts.SeriesPieDataLabelsOptionsObject}
46626
- * @product highcharts
46676
+ * @product highcharts highmaps
46627
46677
  * @apioption series.pie.data.dataLabels
46628
46678
  */
46629
46679
  /**
46630
46680
  * The sequential index of the data point in the legend.
46631
46681
  *
46632
46682
  * @type {number}
46633
- * @product highcharts
46683
+ * @product highcharts highmaps
46634
46684
  * @apioption series.pie.data.legendIndex
46635
46685
  */
46636
46686
  /**
@@ -46640,18 +46690,18 @@
46640
46690
  * One sliced point
46641
46691
  *
46642
46692
  * @type {boolean}
46643
- * @product highcharts
46693
+ * @product highcharts highmaps
46644
46694
  * @apioption series.pie.data.sliced
46645
46695
  */
46646
46696
  /**
46647
46697
  * @extends plotOptions.pie.dataLabels
46648
46698
  * @excluding align, allowOverlap, inside, staggerLines, step
46649
- * @product highcharts
46699
+ * @product highcharts highmaps
46650
46700
  * @apioption series.pie.dataLabels
46651
46701
  */
46652
46702
  /**
46653
46703
  * @excluding legendItemClick
46654
- * @product highcharts
46704
+ * @product highcharts highmaps
46655
46705
  * @apioption series.pie.events
46656
46706
  */
46657
46707
  ''; // placeholder for transpiled doclets above
@@ -47020,7 +47070,7 @@
47020
47070
  'stroke-width': connectorWidth,
47021
47071
  'stroke': (pointDataLabelsOptions.connectorColor ||
47022
47072
  point.color ||
47023
- "#666666" /* neutralColor60 */)
47073
+ "#666666" /* Palette.neutralColor60 */)
47024
47074
  });
47025
47075
  }
47026
47076
  }
@@ -48526,11 +48576,27 @@
48526
48576
  i,
48527
48577
  ordinalPositions = [],
48528
48578
  overscrollPointsRange = Number.MAX_VALUE,
48529
- useOrdinal = false;
48579
+ useOrdinal = false,
48580
+ adjustOrdinalExtremesPoints = false,
48581
+ isBoosted = false;
48530
48582
  // Apply the ordinal logic
48531
48583
  if (isOrdinal || hasBreaks) { // #4167 YAxis is never ordinal ?
48584
+ var distanceBetweenPoint_1 = 0;
48532
48585
  axis.series.forEach(function (series, i) {
48533
48586
  uniqueOrdinalPositions = [];
48587
+ // For an axis with multiple series, check if the distance
48588
+ // between points is identical throughout all series.
48589
+ if (i > 0 &&
48590
+ series.options.id !== 'highcharts-navigator-series') {
48591
+ adjustOrdinalExtremesPoints =
48592
+ distanceBetweenPoint_1 !== series.processedXData[1] -
48593
+ series.processedXData[0];
48594
+ }
48595
+ distanceBetweenPoint_1 =
48596
+ series.processedXData[1] - series.processedXData[0];
48597
+ if (series.isSeriesBoosting) {
48598
+ isBoosted = series.isSeriesBoosting;
48599
+ }
48534
48600
  if ((!ignoreHiddenSeries || series.visible !== false) &&
48535
48601
  (series
48536
48602
  .takeOrdinalPosition !== false ||
@@ -48565,6 +48631,14 @@
48565
48631
  }
48566
48632
  }
48567
48633
  });
48634
+ // If the distance between points is not identical throughout
48635
+ // all series, remove the first and last ordinal position to
48636
+ // avoid enabling ordinal logic when it is not needed, #17405.
48637
+ // Only for boosted series because changes are negligible.
48638
+ if (adjustOrdinalExtremesPoints && isBoosted) {
48639
+ ordinalPositions.pop();
48640
+ ordinalPositions.shift();
48641
+ }
48568
48642
  // cache the length
48569
48643
  len = ordinalPositions.length;
48570
48644
  // Check if we really need the overhead of mapping axis data
@@ -51632,7 +51706,7 @@
51632
51706
  yAxis = series.yAxis,
51633
51707
  names = (this.pointArrayMap && this.pointArrayMap.slice()) || [],
51634
51708
  translated = names.map(function (name) {
51635
- return "plot" + (name.charAt(0).toUpperCase() + name.slice(1));
51709
+ return "plot".concat(name.charAt(0).toUpperCase() + name.slice(1));
51636
51710
  });
51637
51711
  translated.push('yBottom');
51638
51712
  names.push('low');
@@ -52489,7 +52563,7 @@
52489
52563
  * @default #000000
52490
52564
  * @product highstock
52491
52565
  */
52492
- lineColor: "#000000" /* neutralColor100 */,
52566
+ lineColor: "#000000" /* Palette.neutralColor100 */,
52493
52567
  /**
52494
52568
  * The pixel width of the candlestick line/border. Defaults to `1`.
52495
52569
  *
@@ -52515,7 +52589,7 @@
52515
52589
  * @default #ffffff
52516
52590
  * @product highstock
52517
52591
  */
52518
- upColor: "#ffffff" /* backgroundColor */,
52592
+ upColor: "#ffffff" /* Palette.backgroundColor */,
52519
52593
  /**
52520
52594
  * @product highstock
52521
52595
  */
@@ -52644,6 +52718,7 @@
52644
52718
  arguments) || this;
52645
52719
  _this.options = void 0;
52646
52720
  _this.series = void 0;
52721
+ _this.ttBelow = false;
52647
52722
  return _this;
52648
52723
  }
52649
52724
  /* *
@@ -53433,7 +53508,7 @@
53433
53508
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
53434
53509
  * @product highstock
53435
53510
  */
53436
- fillColor: "#ffffff" /* backgroundColor */,
53511
+ fillColor: "#ffffff" /* Palette.backgroundColor */,
53437
53512
  /**
53438
53513
  * The color of the line/border of the flag.
53439
53514
  *
@@ -53463,14 +53538,14 @@
53463
53538
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
53464
53539
  * @product highstock
53465
53540
  */
53466
- lineColor: "#000000" /* neutralColor100 */,
53541
+ lineColor: "#000000" /* Palette.neutralColor100 */,
53467
53542
  /**
53468
53543
  * The fill or background color of the flag.
53469
53544
  *
53470
53545
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
53471
53546
  * @product highstock
53472
53547
  */
53473
- fillColor: "#ccd6eb" /* highlightColor20 */
53548
+ fillColor: "#ccd6eb" /* Palette.highlightColor20 */
53474
53549
  }
53475
53550
  },
53476
53551
  /**
@@ -53928,7 +54003,7 @@
53928
54003
  *
53929
54004
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
53930
54005
  */
53931
- barBackgroundColor: "#cccccc" /* neutralColor20 */,
54006
+ barBackgroundColor: "#cccccc" /* Palette.neutralColor20 */,
53932
54007
  /**
53933
54008
  * The width of the bar's border.
53934
54009
  *
@@ -53941,7 +54016,7 @@
53941
54016
  *
53942
54017
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
53943
54018
  */
53944
- barBorderColor: "#cccccc" /* neutralColor20 */,
54019
+ barBorderColor: "#cccccc" /* Palette.neutralColor20 */,
53945
54020
  /**
53946
54021
  * The color of the small arrow inside the scrollbar buttons.
53947
54022
  *
@@ -53950,7 +54025,7 @@
53950
54025
  *
53951
54026
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
53952
54027
  */
53953
- buttonArrowColor: "#333333" /* neutralColor80 */,
54028
+ buttonArrowColor: "#333333" /* Palette.neutralColor80 */,
53954
54029
  /**
53955
54030
  * The color of scrollbar buttons.
53956
54031
  *
@@ -53959,7 +54034,7 @@
53959
54034
  *
53960
54035
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
53961
54036
  */
53962
- buttonBackgroundColor: "#e6e6e6" /* neutralColor10 */,
54037
+ buttonBackgroundColor: "#e6e6e6" /* Palette.neutralColor10 */,
53963
54038
  /**
53964
54039
  * The color of the border of the scrollbar buttons.
53965
54040
  *
@@ -53968,7 +54043,7 @@
53968
54043
  *
53969
54044
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
53970
54045
  */
53971
- buttonBorderColor: "#cccccc" /* neutralColor20 */,
54046
+ buttonBorderColor: "#cccccc" /* Palette.neutralColor20 */,
53972
54047
  /**
53973
54048
  * The border width of the scrollbar buttons.
53974
54049
  *
@@ -53981,7 +54056,7 @@
53981
54056
  *
53982
54057
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
53983
54058
  */
53984
- rifleColor: "#333333" /* neutralColor80 */,
54059
+ rifleColor: "#333333" /* Palette.neutralColor80 */,
53985
54060
  /**
53986
54061
  * The color of the track background.
53987
54062
  *
@@ -53990,7 +54065,7 @@
53990
54065
  *
53991
54066
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
53992
54067
  */
53993
- trackBackgroundColor: "#f2f2f2" /* neutralColor5 */,
54068
+ trackBackgroundColor: "#f2f2f2" /* Palette.neutralColor5 */,
53994
54069
  /**
53995
54070
  * The color of the border of the scrollbar track.
53996
54071
  *
@@ -53999,7 +54074,7 @@
53999
54074
  *
54000
54075
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
54001
54076
  */
54002
- trackBorderColor: "#f2f2f2" /* neutralColor5 */,
54077
+ trackBorderColor: "#f2f2f2" /* Palette.neutralColor5 */,
54003
54078
  /**
54004
54079
  * The corner radius of the border of the scrollbar track.
54005
54080
  *
@@ -55115,13 +55190,13 @@
55115
55190
  *
55116
55191
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
55117
55192
  */
55118
- backgroundColor: "#f2f2f2" /* neutralColor5 */,
55193
+ backgroundColor: "#f2f2f2" /* Palette.neutralColor5 */,
55119
55194
  /**
55120
55195
  * The stroke for the handle border and the stripes inside.
55121
55196
  *
55122
55197
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
55123
55198
  */
55124
- borderColor: "#999999" /* neutralColor40 */
55199
+ borderColor: "#999999" /* Palette.neutralColor40 */
55125
55200
  },
55126
55201
  /**
55127
55202
  * The color of the mask covering the areas of the navigator series
@@ -55138,7 +55213,7 @@
55138
55213
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
55139
55214
  * @default rgba(102,133,194,0.3)
55140
55215
  */
55141
- maskFill: color("#6685c2" /* highlightColor60 */).setOpacity(0.3).get(),
55216
+ maskFill: color("#6685c2" /* Palette.highlightColor60 */).setOpacity(0.3).get(),
55142
55217
  /**
55143
55218
  * The color of the line marking the currently zoomed area in the
55144
55219
  * navigator.
@@ -55149,7 +55224,7 @@
55149
55224
  * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
55150
55225
  * @default #cccccc
55151
55226
  */
55152
- outlineColor: "#cccccc" /* neutralColor20 */,
55227
+ outlineColor: "#cccccc" /* Palette.neutralColor20 */,
55153
55228
  /**
55154
55229
  * The width of the line marking the currently zoomed area in the
55155
55230
  * navigator.
@@ -55340,7 +55415,7 @@
55340
55415
  className: 'highcharts-navigator-xaxis',
55341
55416
  tickLength: 0,
55342
55417
  lineWidth: 0,
55343
- gridLineColor: "#e6e6e6" /* neutralColor10 */,
55418
+ gridLineColor: "#e6e6e6" /* Palette.neutralColor10 */,
55344
55419
  gridLineWidth: 1,
55345
55420
  tickPixelInterval: 200,
55346
55421
  labels: {
@@ -55350,7 +55425,7 @@
55350
55425
  */
55351
55426
  style: {
55352
55427
  /** @ignore */
55353
- color: "#999999" /* neutralColor40 */
55428
+ color: "#999999" /* Palette.neutralColor40 */
55354
55429
  },
55355
55430
  x: 3,
55356
55431
  y: -4
@@ -57509,7 +57584,7 @@
57509
57584
  */
57510
57585
  inputStyle: {
57511
57586
  /** @ignore */
57512
- color: "#335cad" /* highlightColor80 */,
57587
+ color: "#335cad" /* Palette.highlightColor80 */,
57513
57588
  /** @ignore */
57514
57589
  cursor: 'pointer'
57515
57590
  },
@@ -57526,7 +57601,7 @@
57526
57601
  */
57527
57602
  labelStyle: {
57528
57603
  /** @ignore */
57529
- color: "#666666" /* neutralColor60 */
57604
+ color: "#666666" /* Palette.neutralColor60 */
57530
57605
  }
57531
57606
  }
57532
57607
  });
@@ -57630,7 +57705,8 @@
57630
57705
  rangeSetting,
57631
57706
  ctx,
57632
57707
  ytdExtremes,
57633
- dataGrouping = rangeOptions.dataGrouping;
57708
+ dataGrouping = rangeOptions.dataGrouping,
57709
+ addOffsetMin = true;
57634
57710
  // chart has no data, base series is removed
57635
57711
  if (dataMin === null || dataMax === null) {
57636
57712
  return;
@@ -57663,12 +57739,16 @@
57663
57739
  if (isNumber(ctx.newMax)) {
57664
57740
  newMax = ctx.newMax;
57665
57741
  }
57742
+ // #15799: offsetMin is added in minFromRange so that it works
57743
+ // with pre-selected buttons as well
57744
+ addOffsetMin = false;
57666
57745
  }
57667
57746
  // Fixed times like minutes, hours, days
57668
57747
  }
57669
57748
  else if (range) {
57670
57749
  newMin = Math.max(newMax - range, dataMin);
57671
57750
  newMax = Math.min(newMin + range, dataMax);
57751
+ addOffsetMin = false;
57672
57752
  }
57673
57753
  else if (type === 'ytd') {
57674
57754
  // On user clicks on the buttons, or a delayed action running from
@@ -57679,14 +57759,17 @@
57679
57759
  // event (below). When the series are initialized, but before
57680
57760
  // the chart is rendered, we have access to the xData array
57681
57761
  // (#942).
57682
- if (typeof dataMax === 'undefined') {
57762
+ if (typeof dataMax === 'undefined' ||
57763
+ typeof dataMin === 'undefined') {
57683
57764
  dataMin = Number.MAX_VALUE;
57684
57765
  dataMax = Number.MIN_VALUE;
57685
57766
  chart.series.forEach(function (series) {
57686
57767
  // reassign it to the last item
57687
57768
  var xData = series.xData;
57688
- dataMin = Math.min(xData[0], dataMin);
57689
- dataMax = Math.max(xData[xData.length - 1], dataMax);
57769
+ if (xData) {
57770
+ dataMin = Math.min(xData[0], dataMin);
57771
+ dataMax = Math.max(xData[xData.length - 1], dataMax);
57772
+ }
57690
57773
  });
57691
57774
  redraw = false;
57692
57775
  }
@@ -57706,16 +57789,15 @@
57706
57789
  // If the navigator exist and the axis range is declared reset that
57707
57790
  // range and from now on only use the range set by a user, #14742.
57708
57791
  if (chart.navigator && chart.navigator.baseSeries[0]) {
57709
- chart.navigator.baseSeries[0].xAxis.options
57710
- .range = void 0;
57792
+ chart.navigator.baseSeries[0].xAxis.options.range = void 0;
57711
57793
  }
57712
57794
  newMin = dataMin;
57713
57795
  newMax = dataMax;
57714
57796
  }
57715
- if (defined(newMin)) {
57797
+ if (addOffsetMin && rangeOptions._offsetMin && defined(newMin)) {
57716
57798
  newMin += rangeOptions._offsetMin;
57717
57799
  }
57718
- if (defined(newMax)) {
57800
+ if (rangeOptions._offsetMax && defined(newMax)) {
57719
57801
  newMax += rangeOptions._offsetMax;
57720
57802
  }
57721
57803
  if (this.dropdown) {
@@ -57772,10 +57854,10 @@
57772
57854
  var minInput = rangeSelector.minInput,
57773
57855
  maxInput = rangeSelector.maxInput;
57774
57856
  // #3274 in some case blur is not defined
57775
- if (minInput && minInput.blur) {
57857
+ if (minInput && (minInput.blur)) {
57776
57858
  fireEvent(minInput, 'blur');
57777
57859
  }
57778
- if (maxInput && maxInput.blur) {
57860
+ if (maxInput && (maxInput.blur)) {
57779
57861
  fireEvent(maxInput, 'blur');
57780
57862
  }
57781
57863
  };
@@ -58094,7 +58176,7 @@
58094
58176
  }
58095
58177
  else if (H.isSafari && !hasTimezone(input)) {
58096
58178
  var offset = new Date(input).getTimezoneOffset() / 60;
58097
- input += offset <= 0 ? "+" + pad(-offset) + ":00" : "-" + pad(offset) + ":00";
58179
+ input += offset <= 0 ? "+".concat(pad(-offset), ":00") : "-".concat(pad(offset), ":00");
58098
58180
  }
58099
58181
  var date = Date.parse(input);
58100
58182
  // If the value isn't parsed directly to a value by the
@@ -58216,7 +58298,7 @@
58216
58298
  // Styles
58217
58299
  label.css(merge(chartStyle, options.labelStyle));
58218
58300
  dateBox.css(merge({
58219
- color: "#333333" /* neutralColor80 */
58301
+ color: "#333333" /* Palette.neutralColor80 */
58220
58302
  }, chartStyle, options.inputStyle));
58221
58303
  css(input, extend({
58222
58304
  position: 'absolute',
@@ -58854,7 +58936,7 @@
58854
58936
  var userButtonTheme = (chart.userOptions.rangeSelector &&
58855
58937
  chart.userOptions.rangeSelector.buttonTheme) || {};
58856
58938
  var getAttribs = function (text) { return ({
58857
- text: text ? text + " \u25BE" : '▾',
58939
+ text: text ? "" + text + " \u25BE" : '▾',
58858
58940
  width: 'auto',
58859
58941
  paddingLeft: pick(options.buttonTheme.paddingLeft,
58860
58942
  userButtonTheme.padding, 8),
@@ -59183,8 +59265,8 @@
59183
59265
  min = max - rangeOptions;
59184
59266
  range = rangeOptions;
59185
59267
  }
59186
- else {
59187
- min = max + getTrueRange(max, -rangeOptions.count);
59268
+ else if (rangeOptions) {
59269
+ min = max + getTrueRange(max, -(rangeOptions.count || 1));
59188
59270
  // Let the fixedRange reflect initial settings (#5930)
59189
59271
  if (this.chart) {
59190
59272
  this.chart.fixedRange = max - min;
@@ -59199,11 +59281,16 @@
59199
59281
  if (typeof range === 'undefined') { // #4501
59200
59282
  range = getTrueRange(min, rangeOptions.count);
59201
59283
  }
59202
- this.newMax = Math.min(min + range, this.dataMax);
59284
+ this.newMax = Math.min(min + range, pick(this.dataMax, Number.MAX_VALUE));
59203
59285
  }
59204
59286
  if (!isNumber(max)) {
59205
59287
  min = void 0;
59206
59288
  }
59289
+ else if (!isNumber(rangeOptions) &&
59290
+ rangeOptions &&
59291
+ rangeOptions._offsetMin) {
59292
+ min += rangeOptions._offsetMin;
59293
+ }
59207
59294
  return min;
59208
59295
  };
59209
59296
  if (!H.RangeSelector) {
@@ -59797,7 +59884,7 @@
59797
59884
  uniqueAxes.push(axis2);
59798
59885
  }
59799
59886
  });
59800
- transVal = pick(translatedValue, axis.translate(value, null, null, e.old));
59887
+ transVal = pick(translatedValue, axis.translate(value, void 0, void 0, e.old));
59801
59888
  if (isNumber(transVal)) {
59802
59889
  if (axis.horiz) {
59803
59890
  uniqueAxes.forEach(function (axis2) {
@@ -59926,12 +60013,12 @@
59926
60013
  .attr({
59927
60014
  fill: options.backgroundColor ||
59928
60015
  point && point.series && point.series.color || // #14888
59929
- "#666666" /* neutralColor60 */,
60016
+ "#666666" /* Palette.neutralColor60 */,
59930
60017
  stroke: options.borderColor || '',
59931
60018
  'stroke-width': options.borderWidth || 0
59932
60019
  })
59933
60020
  .css(extend({
59934
- color: "#ffffff" /* backgroundColor */,
60021
+ color: "#ffffff" /* Palette.backgroundColor */,
59935
60022
  fontWeight: 'normal',
59936
60023
  fontSize: '11px',
59937
60024
  textAlign: 'center'