highcharts 11.4.6 → 11.4.8

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 (520) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Accessibility/Accessibility.js +15 -3
  3. package/es-modules/Accessibility/AccessibilityComponent.js +38 -30
  4. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +12 -1
  5. package/es-modules/Core/Axis/Axis.js +15 -12
  6. package/es-modules/Core/Axis/AxisDefaults.js +4 -2
  7. package/es-modules/Core/Axis/DateTimeAxis.js +3 -3
  8. package/es-modules/Core/Axis/GridAxis.js +2 -2
  9. package/es-modules/Core/Axis/LogarithmicAxis.js +5 -10
  10. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +54 -13
  11. package/es-modules/Core/Axis/ScrollbarAxis.js +12 -2
  12. package/es-modules/Core/Axis/Tick.js +1 -1
  13. package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +6 -9
  14. package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +2 -2
  15. package/es-modules/Core/Chart/Chart.js +31 -13
  16. package/es-modules/Core/Chart/StockChart.js +3 -5
  17. package/es-modules/Core/Color/Color.js +1 -0
  18. package/es-modules/Core/Defaults.js +10 -8
  19. package/es-modules/Core/Legend/LegendSymbol.js +1 -1
  20. package/es-modules/Core/Pointer.js +3 -2
  21. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -0
  22. package/es-modules/Core/Renderer/SVG/Symbols.js +2 -2
  23. package/es-modules/Core/Series/DataLabel.js +9 -0
  24. package/es-modules/Core/Series/Series.js +1 -1
  25. package/es-modules/Core/Tooltip.js +14 -4
  26. package/es-modules/Data/Connectors/GoogleSheetsConnector.js +18 -13
  27. package/es-modules/Data/Connectors/JSONConnector.js +0 -1
  28. package/es-modules/Data/Converters/DataConverter.js +0 -2
  29. package/es-modules/Data/DataTable.js +163 -252
  30. package/es-modules/Data/Modifiers/ChainModifier.js +17 -18
  31. package/es-modules/Data/Modifiers/MathModifier.js +4 -4
  32. package/es-modules/Data/Modifiers/RangeModifier.js +15 -4
  33. package/es-modules/Data/Modifiers/SortModifier.js +7 -1
  34. package/es-modules/Extensions/Annotations/Annotation.js +6 -2
  35. package/es-modules/Extensions/Boost/BoostSeries.js +5 -1
  36. package/es-modules/Extensions/Boost/WGLRenderer.js +0 -6
  37. package/es-modules/Extensions/Data.js +125 -98
  38. package/es-modules/Extensions/Exporting/Exporting.js +5 -1
  39. package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +4 -1
  40. package/es-modules/Maps/GeoJSONComposition.js +0 -5
  41. package/es-modules/Series/Bubble/BubblePoint.js +9 -1
  42. package/es-modules/Series/Funnel3D/Funnel3DSeries.js +1 -0
  43. package/es-modules/Series/Heatmap/HeatmapSeries.js +6 -1
  44. package/es-modules/Series/MapBubble/MapBubbleSeries.js +3 -3
  45. package/es-modules/Series/Pictorial/PictorialSeries.js +2 -1
  46. package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +1 -0
  47. package/es-modules/Series/Treegraph/TreegraphSeries.js +1 -1
  48. package/es-modules/Stock/Navigator/Navigator.js +8 -2
  49. package/es-modules/masters/highcharts.src.js +1 -1
  50. package/es-modules/tsconfig.tsbuildinfo +1 -1
  51. package/highcharts-3d.js +1 -1
  52. package/highcharts-3d.src.js +1 -1
  53. package/highcharts-gantt.js +3 -3
  54. package/highcharts-gantt.src.js +190 -94
  55. package/highcharts-more.js +2 -2
  56. package/highcharts-more.src.js +10 -2
  57. package/highcharts.d.ts +2092 -528
  58. package/highcharts.js +3 -3
  59. package/highcharts.src.d.ts +2092 -528
  60. package/highcharts.src.js +160 -77
  61. package/highmaps.js +3 -3
  62. package/highmaps.src.js +178 -87
  63. package/highstock.js +3 -3
  64. package/highstock.src.js +183 -86
  65. package/indicators/acceleration-bands.js +1 -1
  66. package/indicators/acceleration-bands.src.js +1 -1
  67. package/indicators/accumulation-distribution.js +1 -1
  68. package/indicators/accumulation-distribution.src.js +1 -1
  69. package/indicators/ao.js +1 -1
  70. package/indicators/ao.src.js +1 -1
  71. package/indicators/apo.js +1 -1
  72. package/indicators/apo.src.js +1 -1
  73. package/indicators/aroon-oscillator.js +1 -1
  74. package/indicators/aroon-oscillator.src.js +1 -1
  75. package/indicators/aroon.js +1 -1
  76. package/indicators/aroon.src.js +1 -1
  77. package/indicators/atr.js +1 -1
  78. package/indicators/atr.src.js +1 -1
  79. package/indicators/bollinger-bands.js +1 -1
  80. package/indicators/bollinger-bands.src.js +1 -1
  81. package/indicators/cci.js +1 -1
  82. package/indicators/cci.src.js +1 -1
  83. package/indicators/chaikin.js +1 -1
  84. package/indicators/chaikin.src.js +1 -1
  85. package/indicators/cmf.js +1 -1
  86. package/indicators/cmf.src.js +1 -1
  87. package/indicators/cmo.js +1 -1
  88. package/indicators/cmo.src.js +1 -1
  89. package/indicators/dema.js +1 -1
  90. package/indicators/dema.src.js +1 -1
  91. package/indicators/disparity-index.js +1 -1
  92. package/indicators/disparity-index.src.js +1 -1
  93. package/indicators/dmi.js +1 -1
  94. package/indicators/dmi.src.js +1 -1
  95. package/indicators/dpo.js +1 -1
  96. package/indicators/dpo.src.js +1 -1
  97. package/indicators/ichimoku-kinko-hyo.js +1 -1
  98. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  99. package/indicators/indicators-all.js +1 -1
  100. package/indicators/indicators-all.src.js +1 -1
  101. package/indicators/indicators.js +1 -1
  102. package/indicators/indicators.src.js +1 -1
  103. package/indicators/keltner-channels.js +1 -1
  104. package/indicators/keltner-channels.src.js +1 -1
  105. package/indicators/klinger.js +1 -1
  106. package/indicators/klinger.src.js +1 -1
  107. package/indicators/macd.js +1 -1
  108. package/indicators/macd.src.js +1 -1
  109. package/indicators/mfi.js +1 -1
  110. package/indicators/mfi.src.js +1 -1
  111. package/indicators/momentum.js +1 -1
  112. package/indicators/momentum.src.js +1 -1
  113. package/indicators/natr.js +1 -1
  114. package/indicators/natr.src.js +1 -1
  115. package/indicators/obv.js +1 -1
  116. package/indicators/obv.src.js +1 -1
  117. package/indicators/pivot-points.js +1 -1
  118. package/indicators/pivot-points.src.js +1 -1
  119. package/indicators/ppo.js +1 -1
  120. package/indicators/ppo.src.js +1 -1
  121. package/indicators/price-channel.js +1 -1
  122. package/indicators/price-channel.src.js +1 -1
  123. package/indicators/price-envelopes.js +1 -1
  124. package/indicators/price-envelopes.src.js +1 -1
  125. package/indicators/psar.js +1 -1
  126. package/indicators/psar.src.js +1 -1
  127. package/indicators/regressions.js +1 -1
  128. package/indicators/regressions.src.js +1 -1
  129. package/indicators/roc.js +1 -1
  130. package/indicators/roc.src.js +1 -1
  131. package/indicators/rsi.js +1 -1
  132. package/indicators/rsi.src.js +1 -1
  133. package/indicators/slow-stochastic.js +1 -1
  134. package/indicators/slow-stochastic.src.js +1 -1
  135. package/indicators/stochastic.js +1 -1
  136. package/indicators/stochastic.src.js +1 -1
  137. package/indicators/supertrend.js +1 -1
  138. package/indicators/supertrend.src.js +1 -1
  139. package/indicators/tema.js +1 -1
  140. package/indicators/tema.src.js +1 -1
  141. package/indicators/trendline.js +1 -1
  142. package/indicators/trendline.src.js +1 -1
  143. package/indicators/trix.js +1 -1
  144. package/indicators/trix.src.js +1 -1
  145. package/indicators/volume-by-price.js +1 -1
  146. package/indicators/volume-by-price.src.js +1 -1
  147. package/indicators/vwap.js +1 -1
  148. package/indicators/vwap.src.js +1 -1
  149. package/indicators/williams-r.js +1 -1
  150. package/indicators/williams-r.src.js +1 -1
  151. package/indicators/wma.js +1 -1
  152. package/indicators/wma.src.js +1 -1
  153. package/indicators/zigzag.js +1 -1
  154. package/indicators/zigzag.src.js +1 -1
  155. package/modules/accessibility.d.ts +11 -5
  156. package/modules/accessibility.js +2 -2
  157. package/modules/accessibility.src.d.ts +11 -5
  158. package/modules/accessibility.src.js +87 -39
  159. package/modules/annotations-advanced.js +2 -2
  160. package/modules/annotations-advanced.src.js +9 -5
  161. package/modules/annotations.js +2 -2
  162. package/modules/annotations.src.js +9 -5
  163. package/modules/arc-diagram.js +2 -2
  164. package/modules/arc-diagram.src.js +7 -6
  165. package/modules/arrow-symbols.js +1 -1
  166. package/modules/arrow-symbols.src.js +1 -1
  167. package/modules/boost-canvas.js +2 -2
  168. package/modules/boost-canvas.src.js +6 -8
  169. package/modules/boost.js +2 -2
  170. package/modules/boost.src.js +6 -8
  171. package/modules/broken-axis.js +1 -1
  172. package/modules/broken-axis.src.js +1 -1
  173. package/modules/bullet.js +1 -1
  174. package/modules/bullet.src.js +1 -1
  175. package/modules/coloraxis.js +1 -1
  176. package/modules/coloraxis.src.js +1 -1
  177. package/modules/current-date-indicator.js +1 -1
  178. package/modules/current-date-indicator.src.js +1 -1
  179. package/modules/cylinder.js +1 -1
  180. package/modules/cylinder.src.js +1 -1
  181. package/modules/data-tools.js +2 -2
  182. package/modules/data-tools.src.js +225 -296
  183. package/modules/data.d.ts +10 -1
  184. package/modules/data.js +2 -2
  185. package/modules/data.src.d.ts +10 -1
  186. package/modules/data.src.js +126 -100
  187. package/modules/datagrouping.js +1 -1
  188. package/modules/datagrouping.src.js +1 -1
  189. package/modules/debugger.js +1 -1
  190. package/modules/debugger.src.js +1 -1
  191. package/modules/dependency-wheel.js +1 -1
  192. package/modules/dependency-wheel.src.js +1 -1
  193. package/modules/dotplot.js +1 -1
  194. package/modules/dotplot.src.js +1 -1
  195. package/modules/drag-panes.js +1 -1
  196. package/modules/drag-panes.src.js +1 -1
  197. package/modules/draggable-points.js +1 -1
  198. package/modules/draggable-points.src.js +1 -1
  199. package/modules/drilldown.js +1 -1
  200. package/modules/drilldown.src.js +1 -1
  201. package/modules/dumbbell.js +1 -1
  202. package/modules/dumbbell.src.js +1 -1
  203. package/modules/export-data.js +1 -1
  204. package/modules/export-data.src.js +1 -1
  205. package/modules/exporting.js +2 -2
  206. package/modules/exporting.src.js +6 -2
  207. package/modules/flowmap.js +1 -1
  208. package/modules/flowmap.src.js +1 -1
  209. package/modules/full-screen.js +1 -1
  210. package/modules/full-screen.src.js +1 -1
  211. package/modules/funnel.js +1 -1
  212. package/modules/funnel.src.js +1 -1
  213. package/modules/funnel3d.js +1 -1
  214. package/modules/funnel3d.src.js +2 -1
  215. package/modules/gantt.js +2 -2
  216. package/modules/gantt.src.js +31 -18
  217. package/modules/geoheatmap.js +1 -1
  218. package/modules/geoheatmap.src.js +1 -1
  219. package/modules/grid-axis.js +2 -2
  220. package/modules/grid-axis.src.js +3 -3
  221. package/modules/heatmap.js +2 -2
  222. package/modules/heatmap.src.js +7 -2
  223. package/modules/heikinashi.js +1 -1
  224. package/modules/heikinashi.src.js +1 -1
  225. package/modules/histogram-bellcurve.js +1 -1
  226. package/modules/histogram-bellcurve.src.js +1 -1
  227. package/modules/hollowcandlestick.js +1 -1
  228. package/modules/hollowcandlestick.src.js +1 -1
  229. package/modules/item-series.js +1 -1
  230. package/modules/item-series.src.js +1 -1
  231. package/modules/lollipop.js +1 -1
  232. package/modules/lollipop.src.js +1 -1
  233. package/modules/map.js +2 -2
  234. package/modules/map.src.js +19 -11
  235. package/modules/marker-clusters.js +1 -1
  236. package/modules/marker-clusters.src.js +1 -1
  237. package/modules/mouse-wheel-zoom.js +1 -1
  238. package/modules/mouse-wheel-zoom.src.js +1 -1
  239. package/modules/navigator.js +2 -2
  240. package/modules/navigator.src.js +21 -5
  241. package/modules/networkgraph.js +1 -1
  242. package/modules/networkgraph.src.js +1 -1
  243. package/modules/no-data-to-display.js +1 -1
  244. package/modules/no-data-to-display.src.js +1 -1
  245. package/modules/offline-exporting.js +2 -2
  246. package/modules/offline-exporting.src.js +6 -3
  247. package/modules/organization.js +1 -1
  248. package/modules/organization.src.js +1 -1
  249. package/modules/overlapping-datalabels.js +1 -1
  250. package/modules/overlapping-datalabels.src.js +1 -1
  251. package/modules/parallel-coordinates.js +1 -1
  252. package/modules/parallel-coordinates.src.js +1 -1
  253. package/modules/pareto.js +1 -1
  254. package/modules/pareto.src.js +1 -1
  255. package/modules/pathfinder.js +1 -1
  256. package/modules/pathfinder.src.js +1 -1
  257. package/modules/pattern-fill.js +1 -1
  258. package/modules/pattern-fill.src.js +1 -1
  259. package/modules/pictorial.js +1 -1
  260. package/modules/pictorial.src.js +3 -2
  261. package/modules/price-indicator.js +1 -1
  262. package/modules/price-indicator.src.js +1 -1
  263. package/modules/pyramid3d.js +1 -1
  264. package/modules/pyramid3d.src.js +2 -1
  265. package/modules/sankey.js +1 -1
  266. package/modules/sankey.src.js +1 -1
  267. package/modules/series-label.js +1 -1
  268. package/modules/series-label.src.js +1 -1
  269. package/modules/series-on-point.js +1 -1
  270. package/modules/series-on-point.src.js +1 -1
  271. package/modules/solid-gauge.js +1 -1
  272. package/modules/solid-gauge.src.js +1 -1
  273. package/modules/sonification.js +1 -1
  274. package/modules/sonification.src.js +1 -1
  275. package/modules/static-scale.js +1 -1
  276. package/modules/static-scale.src.js +1 -1
  277. package/modules/stock-tools.js +2 -2
  278. package/modules/stock-tools.src.js +3 -3
  279. package/modules/stock.js +2 -2
  280. package/modules/stock.src.js +24 -10
  281. package/modules/streamgraph.js +1 -1
  282. package/modules/streamgraph.src.js +1 -1
  283. package/modules/sunburst.js +1 -1
  284. package/modules/sunburst.src.js +1 -1
  285. package/modules/textpath.js +1 -1
  286. package/modules/textpath.src.js +1 -1
  287. package/modules/tiledwebmap.js +1 -1
  288. package/modules/tiledwebmap.src.js +1 -1
  289. package/modules/tilemap.js +1 -1
  290. package/modules/tilemap.src.js +1 -1
  291. package/modules/timeline.js +1 -1
  292. package/modules/timeline.src.js +1 -1
  293. package/modules/treegraph.js +2 -2
  294. package/modules/treegraph.src.js +2 -2
  295. package/modules/treegrid.js +2 -2
  296. package/modules/treegrid.src.js +11 -14
  297. package/modules/treemap.js +1 -1
  298. package/modules/treemap.src.js +1 -1
  299. package/modules/variable-pie.js +1 -1
  300. package/modules/variable-pie.src.js +1 -1
  301. package/modules/variwide.js +1 -1
  302. package/modules/variwide.src.js +1 -1
  303. package/modules/vector.js +1 -1
  304. package/modules/vector.src.js +1 -1
  305. package/modules/venn.js +1 -1
  306. package/modules/venn.src.js +1 -1
  307. package/modules/windbarb.js +1 -1
  308. package/modules/windbarb.src.js +1 -1
  309. package/modules/wordcloud.js +1 -1
  310. package/modules/wordcloud.src.js +1 -1
  311. package/modules/xrange.js +1 -1
  312. package/modules/xrange.src.js +1 -1
  313. package/options/abands.d.ts +9 -2
  314. package/options/abands.src.d.ts +9 -2
  315. package/options/ad.d.ts +18 -4
  316. package/options/ad.src.d.ts +18 -4
  317. package/options/apo.d.ts +18 -4
  318. package/options/apo.src.d.ts +18 -4
  319. package/options/arearange.d.ts +18 -4
  320. package/options/arearange.src.d.ts +18 -4
  321. package/options/areaspline.d.ts +18 -4
  322. package/options/areaspline.src.d.ts +18 -4
  323. package/options/areasplinerange.d.ts +9 -2
  324. package/options/areasplinerange.src.d.ts +9 -2
  325. package/options/aroonoscillator.d.ts +9 -2
  326. package/options/aroonoscillator.src.d.ts +9 -2
  327. package/options/bar.d.ts +9 -2
  328. package/options/bar.src.d.ts +9 -2
  329. package/options/bb.d.ts +18 -4
  330. package/options/bb.src.d.ts +18 -4
  331. package/options/bubble.d.ts +9 -2
  332. package/options/bubble.src.d.ts +9 -2
  333. package/options/bullet.d.ts +9 -2
  334. package/options/bullet.src.d.ts +9 -2
  335. package/options/candlestick.d.ts +18 -4
  336. package/options/candlestick.src.d.ts +18 -4
  337. package/options/cci.d.ts +9 -2
  338. package/options/cci.src.d.ts +9 -2
  339. package/options/chaikin.d.ts +9 -2
  340. package/options/chaikin.src.d.ts +9 -2
  341. package/options/cmf.d.ts +9 -2
  342. package/options/cmf.src.d.ts +9 -2
  343. package/options/cmo.d.ts +9 -2
  344. package/options/cmo.src.d.ts +9 -2
  345. package/options/column.d.ts +18 -4
  346. package/options/column.src.d.ts +18 -4
  347. package/options/columnpyramid.d.ts +18 -4
  348. package/options/columnpyramid.src.d.ts +18 -4
  349. package/options/columnrange.d.ts +18 -4
  350. package/options/columnrange.src.d.ts +18 -4
  351. package/options/cylinder.d.ts +9 -2
  352. package/options/cylinder.src.d.ts +9 -2
  353. package/options/dema.d.ts +18 -4
  354. package/options/dema.src.d.ts +18 -4
  355. package/options/dependencywheel.d.ts +18 -4
  356. package/options/dependencywheel.src.d.ts +18 -4
  357. package/options/disparityindex.d.ts +9 -2
  358. package/options/disparityindex.src.d.ts +9 -2
  359. package/options/dmi.d.ts +9 -2
  360. package/options/dmi.src.d.ts +9 -2
  361. package/options/dpo.d.ts +9 -2
  362. package/options/dpo.src.d.ts +9 -2
  363. package/options/dumbbell.d.ts +9 -2
  364. package/options/dumbbell.src.d.ts +9 -2
  365. package/options/ema.d.ts +18 -4
  366. package/options/ema.src.d.ts +18 -4
  367. package/options/flags.d.ts +9 -2
  368. package/options/flags.src.d.ts +9 -2
  369. package/options/funnel.d.ts +18 -4
  370. package/options/funnel.src.d.ts +18 -4
  371. package/options/gantt.d.ts +18 -4
  372. package/options/gantt.src.d.ts +18 -4
  373. package/options/gauge.d.ts +9 -2
  374. package/options/gauge.src.d.ts +9 -2
  375. package/options/histogram.d.ts +9 -2
  376. package/options/histogram.src.d.ts +9 -2
  377. package/options/hlc.d.ts +9 -2
  378. package/options/hlc.src.d.ts +9 -2
  379. package/options/hollowcandlestick.d.ts +9 -2
  380. package/options/hollowcandlestick.src.d.ts +9 -2
  381. package/options/keltnerchannels.d.ts +9 -2
  382. package/options/keltnerchannels.src.d.ts +9 -2
  383. package/options/klinger.d.ts +9 -2
  384. package/options/klinger.src.d.ts +9 -2
  385. package/options/line.d.ts +9 -2
  386. package/options/line.src.d.ts +9 -2
  387. package/options/linearregression.d.ts +18 -4
  388. package/options/linearregression.src.d.ts +18 -4
  389. package/options/linearregressionangle.d.ts +9 -2
  390. package/options/linearregressionangle.src.d.ts +9 -2
  391. package/options/lollipop.d.ts +18 -4
  392. package/options/lollipop.src.d.ts +18 -4
  393. package/options/macd.d.ts +9 -2
  394. package/options/macd.src.d.ts +9 -2
  395. package/options/map.d.ts +18 -4
  396. package/options/map.src.d.ts +18 -4
  397. package/options/mapbubble.d.ts +9 -2
  398. package/options/mapbubble.src.d.ts +9 -2
  399. package/options/mapline.d.ts +9 -2
  400. package/options/mapline.src.d.ts +9 -2
  401. package/options/mfi.d.ts +9 -2
  402. package/options/mfi.src.d.ts +9 -2
  403. package/options/momentum.d.ts +9 -2
  404. package/options/momentum.src.d.ts +9 -2
  405. package/options/natr.d.ts +9 -2
  406. package/options/natr.src.d.ts +9 -2
  407. package/options/obv.d.ts +9 -2
  408. package/options/obv.src.d.ts +9 -2
  409. package/options/ohlc.d.ts +18 -4
  410. package/options/ohlc.src.d.ts +18 -4
  411. package/options/organization.d.ts +9 -2
  412. package/options/organization.src.d.ts +9 -2
  413. package/options/packedbubble.d.ts +9 -2
  414. package/options/packedbubble.src.d.ts +9 -2
  415. package/options/pareto.d.ts +18 -4
  416. package/options/pareto.src.d.ts +18 -4
  417. package/options/pc.d.ts +9 -2
  418. package/options/pc.src.d.ts +9 -2
  419. package/options/pie.d.ts +9 -2
  420. package/options/pie.src.d.ts +9 -2
  421. package/options/polygon.d.ts +9 -2
  422. package/options/polygon.src.d.ts +9 -2
  423. package/options/ppo.d.ts +18 -4
  424. package/options/ppo.src.d.ts +18 -4
  425. package/options/psar.d.ts +18 -4
  426. package/options/psar.src.d.ts +18 -4
  427. package/options/pyramid.d.ts +36 -8
  428. package/options/pyramid.src.d.ts +36 -8
  429. package/options/roc.d.ts +9 -2
  430. package/options/roc.src.d.ts +9 -2
  431. package/options/rsi.d.ts +9 -2
  432. package/options/rsi.src.d.ts +9 -2
  433. package/options/sankey.d.ts +18 -4
  434. package/options/sankey.src.d.ts +18 -4
  435. package/options/scatter.d.ts +9 -2
  436. package/options/scatter.src.d.ts +9 -2
  437. package/options/series.d.ts +9 -2
  438. package/options/series.src.d.ts +9 -2
  439. package/options/slowstochastic.d.ts +9 -2
  440. package/options/slowstochastic.src.d.ts +9 -2
  441. package/options/sma.d.ts +9 -2
  442. package/options/sma.src.d.ts +9 -2
  443. package/options/solidgauge.d.ts +9 -2
  444. package/options/solidgauge.src.d.ts +9 -2
  445. package/options/spline.d.ts +9 -2
  446. package/options/spline.src.d.ts +9 -2
  447. package/options/stochastic.d.ts +18 -4
  448. package/options/stochastic.src.d.ts +18 -4
  449. package/options/streamgraph.d.ts +9 -2
  450. package/options/streamgraph.src.d.ts +9 -2
  451. package/options/sunburst.d.ts +18 -4
  452. package/options/sunburst.src.d.ts +18 -4
  453. package/options/supertrend.d.ts +9 -2
  454. package/options/supertrend.src.d.ts +9 -2
  455. package/options/tema.d.ts +9 -2
  456. package/options/tema.src.d.ts +9 -2
  457. package/options/tiledwebmap.d.ts +9 -2
  458. package/options/tiledwebmap.src.d.ts +9 -2
  459. package/options/tilemap.d.ts +9 -2
  460. package/options/tilemap.src.d.ts +9 -2
  461. package/options/treegraph.d.ts +18 -4
  462. package/options/treegraph.src.d.ts +18 -4
  463. package/options/treemap.d.ts +18 -4
  464. package/options/treemap.src.d.ts +18 -4
  465. package/options/trendline.d.ts +9 -2
  466. package/options/trendline.src.d.ts +9 -2
  467. package/options/trix.d.ts +9 -2
  468. package/options/trix.src.d.ts +9 -2
  469. package/options/variablepie.d.ts +18 -4
  470. package/options/variablepie.src.d.ts +18 -4
  471. package/options/variwide.d.ts +18 -4
  472. package/options/variwide.src.d.ts +18 -4
  473. package/options/vbp.d.ts +9 -2
  474. package/options/vbp.src.d.ts +9 -2
  475. package/options/vector.d.ts +9 -2
  476. package/options/vector.src.d.ts +9 -2
  477. package/options/vwap.d.ts +9 -2
  478. package/options/vwap.src.d.ts +9 -2
  479. package/options/waterfall.d.ts +18 -4
  480. package/options/waterfall.src.d.ts +18 -4
  481. package/options/williamsr.d.ts +9 -2
  482. package/options/williamsr.src.d.ts +9 -2
  483. package/options/wma.d.ts +9 -2
  484. package/options/wma.src.d.ts +9 -2
  485. package/options/wordcloud.d.ts +9 -2
  486. package/options/wordcloud.src.d.ts +9 -2
  487. package/options/xrange.d.ts +18 -4
  488. package/options/xrange.src.d.ts +18 -4
  489. package/package.json +1 -1
  490. package/standalone-navigator.js +2 -2
  491. package/standalone-navigator.src.js +179 -80
  492. package/themes/avocado.js +1 -1
  493. package/themes/avocado.src.js +1 -1
  494. package/themes/brand-dark.js +1 -1
  495. package/themes/brand-dark.src.js +1 -1
  496. package/themes/brand-light.js +1 -1
  497. package/themes/brand-light.src.js +1 -1
  498. package/themes/dark-blue.js +1 -1
  499. package/themes/dark-blue.src.js +1 -1
  500. package/themes/dark-green.js +1 -1
  501. package/themes/dark-green.src.js +1 -1
  502. package/themes/dark-unica.js +1 -1
  503. package/themes/dark-unica.src.js +1 -1
  504. package/themes/gray.js +1 -1
  505. package/themes/gray.src.js +1 -1
  506. package/themes/grid-light.js +1 -1
  507. package/themes/grid-light.src.js +1 -1
  508. package/themes/grid.js +1 -1
  509. package/themes/grid.src.js +1 -1
  510. package/themes/high-contrast-dark.js +1 -1
  511. package/themes/high-contrast-dark.src.js +1 -1
  512. package/themes/high-contrast-light.js +1 -1
  513. package/themes/high-contrast-light.src.js +1 -1
  514. package/themes/sand-signika.js +1 -1
  515. package/themes/sand-signika.src.js +1 -1
  516. package/themes/skies.js +1 -1
  517. package/themes/skies.src.js +1 -1
  518. package/themes/sunset.js +1 -1
  519. package/themes/sunset.src.js +1 -1
  520. package/es-modules/Core/Series/KDPointSearchObjectLike.js +0 -10
@@ -852,10 +852,22 @@ class Chart {
852
852
  * @function Highcharts.Chart#getContainerBox
853
853
  */
854
854
  getContainerBox() {
855
- return {
855
+ // Temporarily hide support divs from a11y and others, #21888
856
+ const nonContainers = [].map.call(this.renderTo.children, (child) => {
857
+ if (child !== this.container) {
858
+ const display = child.style.display;
859
+ child.style.display = 'none';
860
+ return [child, display];
861
+ }
862
+ }), box = {
856
863
  width: getStyle(this.renderTo, 'width', true) || 0,
857
- height: getStyle(this.renderTo, 'height', true) || 0
864
+ height: (getStyle(this.renderTo, 'height', true) || 0)
858
865
  };
866
+ // Restore the non-containers
867
+ nonContainers.filter(Boolean).forEach(([div, display]) => {
868
+ div.style.display = display;
869
+ });
870
+ return box;
859
871
  }
860
872
  /**
861
873
  * Internal function to get the chart width and height according to options
@@ -866,7 +878,10 @@ class Chart {
866
878
  * @function Highcharts.Chart#getChartSize
867
879
  */
868
880
  getChartSize() {
869
- const chart = this, optionsChart = chart.options.chart, widthOption = optionsChart.width, heightOption = optionsChart.height, containerBox = chart.getContainerBox();
881
+ const chart = this, optionsChart = chart.options.chart, widthOption = optionsChart.width, heightOption = optionsChart.height, containerBox = chart.getContainerBox(), enableDefaultHeight = containerBox.height > 1 &&
882
+ !( // #21510, prevent infinite reflow
883
+ !chart.renderTo.parentElement?.style.height &&
884
+ chart.renderTo.style.height === '100%');
870
885
  /**
871
886
  * The current pixel width of the chart.
872
887
  *
@@ -883,7 +898,7 @@ class Chart {
883
898
  * @type {number}
884
899
  */
885
900
  chart.chartHeight = Math.max(0, relativeLength(heightOption, chart.chartWidth) ||
886
- (containerBox.height > 1 ? containerBox.height : 400));
901
+ (enableDefaultHeight ? containerBox.height : 400));
887
902
  chart.containerBox = containerBox;
888
903
  }
889
904
  /**
@@ -1015,11 +1030,7 @@ class Chart {
1015
1030
  let chartWidth = chart.chartWidth;
1016
1031
  // Allow table cells and flex-boxes to shrink without the chart blocking
1017
1032
  // them out (#6427)
1018
- css(renderTo, {
1019
- overflow: 'hidden',
1020
- // #21144, retest and remove in future version of Chrome
1021
- pointerEvents: H.isChrome ? 'fill' : 'auto'
1022
- });
1033
+ css(renderTo, { overflow: 'hidden' });
1023
1034
  // Create the inner container
1024
1035
  if (!chart.styledMode) {
1025
1036
  containerStyle = extend({
@@ -1035,7 +1046,8 @@ class Chart {
1035
1046
  '-webkit-tap-highlight-color': 'rgba(0,0,0,0)',
1036
1047
  userSelect: 'none', // #13503
1037
1048
  'touch-action': 'manipulation',
1038
- outline: 'none'
1049
+ outline: 'none',
1050
+ padding: '0px'
1039
1051
  }, optionsChart.style || {});
1040
1052
  }
1041
1053
  /**
@@ -2603,8 +2615,11 @@ class Chart {
2603
2615
  }
2604
2616
  let newMin = axis.toValue(minPx, true) +
2605
2617
  // Don't apply offset for selection (#20784)
2606
- (selection ? 0 : minPointOffset * pointRangeDirection), newMax = axis.toValue(minPx + len / scale, true) -
2607
- (selection ? // Don't apply offset for selection (#20784)
2618
+ (selection || axis.isOrdinal ?
2619
+ 0 : minPointOffset * pointRangeDirection), newMax = axis.toValue(minPx + len / scale, true) -
2620
+ (
2621
+ // Don't apply offset for selection (#20784)
2622
+ selection || axis.isOrdinal ?
2608
2623
  0 :
2609
2624
  ((minPointOffset * pointRangeDirection) ||
2610
2625
  // Polar zoom tests failed when this was not
@@ -2649,7 +2664,10 @@ class Chart {
2649
2664
  // It is not necessary to calculate extremes on ordinal axis,
2650
2665
  // because they are already calculated, so we don't want to override
2651
2666
  // them.
2652
- if (!axis.isOrdinal || scale !== 1 || reset) {
2667
+ if (!axis.isOrdinal ||
2668
+ axis.options.overscroll || // #21316
2669
+ scale !== 1 ||
2670
+ reset) {
2653
2671
  // If the new range spills over, either to the min or max,
2654
2672
  // adjust it.
2655
2673
  if (newMin < floor) {
@@ -472,13 +472,11 @@ addEvent(Chart, 'update', function (e) {
472
472
  // Get the related axes based options.*Axis setting #2810
473
473
  axes2 = (axis.isXAxis ? chart.yAxis : chart.xAxis);
474
474
  for (const A of axes2) {
475
- if (defined(A.options.id) ?
476
- A.options.id.indexOf('navigator') === -1 :
477
- true) {
478
- const a = (A.isXAxis ? 'yAxis' : 'xAxis'), rax = (defined(A.options[a]) ?
475
+ if (!A.options.isInternal) {
476
+ const a = (A.isXAxis ? 'yAxis' : 'xAxis'), relatedAxis = (defined(A.options[a]) ?
479
477
  chart[a][A.options[a]] :
480
478
  chart[a][0]);
481
- if (axis === rax) {
479
+ if (axis === relatedAxis) {
482
480
  axes.push(A);
483
481
  }
484
482
  }
@@ -252,6 +252,7 @@ Color.names = {
252
252
  /**
253
253
  * Collection of parsers. This can be extended from the outside by pushing
254
254
  * parsers to `Color.parsers`.
255
+ * @private
255
256
  */
256
257
  Color.parsers = [{
257
258
  // RGBA color
@@ -1053,7 +1053,7 @@ const defaultOptions = {
1053
1053
  * can be prevented by returning `false` or calling
1054
1054
  * `event.preventDefault()`.
1055
1055
  *
1056
- * @sample {highcharts} highcharts/legend/series-legend-itemclick/
1056
+ * @sample {highcharts} highcharts/legend/itemclick/
1057
1057
  * Confirm hiding and showing
1058
1058
  * @sample {highcharts} highcharts/legend/pie-legend-itemclick/
1059
1059
  * Confirm toggle visibility of pie slices
@@ -2104,8 +2104,9 @@ const defaultOptions = {
2104
2104
  * @apioption tooltip.positioner
2105
2105
  */
2106
2106
  /**
2107
- * Split the tooltip into one label per series, with the header close
2108
- * to the axis. This is recommended over [shared](#tooltip.shared)
2107
+ * Shows tooltip for all points with the same X value. Splits the
2108
+ * tooltip into one label per series, with the header close to the axis.
2109
+ * This is recommended over [shared](#tooltip.shared)
2109
2110
  * tooltips for charts with multiple line series, generally making them
2110
2111
  * easier to read. This option takes precedence over `tooltip.shared`.
2111
2112
  *
@@ -2343,11 +2344,12 @@ const defaultOptions = {
2343
2344
  */
2344
2345
  shape: 'callout',
2345
2346
  /**
2346
- * When the tooltip is shared, the entire plot area will capture mouse
2347
- * movement or touch events. Tooltip texts for series types with ordered
2348
- * data (not pie, scatter, flags etc) will be shown in a single bubble.
2349
- * This is recommended for single series charts and for tablet/mobile
2350
- * optimized charts.
2347
+ * Shows information in the tooltip for all points with the same X
2348
+ * value. When the tooltip is shared, the entire plot area will capture
2349
+ * mouse movement or touch events. Tooltip texts for series types with
2350
+ * ordered data (not pie, scatter, flags etc) will be shown in a single
2351
+ * bubble. This is recommended for single series charts and for
2352
+ * tablet/mobile optimized charts.
2351
2353
  *
2352
2354
  * See also [tooltip.split](#tooltip.split), that is better suited for
2353
2355
  * charts with many series, especially line-type series. The
@@ -45,7 +45,7 @@ var LegendSymbol;
45
45
  * The legend object.
46
46
  */
47
47
  function lineMarker(legend, item, hasArea) {
48
- const legendItem = this.legendItem = this.legendItem || {}, { chart, options } = this, { baseline = 0, symbolWidth, symbolHeight } = legend, symbol = this.symbol || 'circle', generalRadius = symbolHeight / 2, renderer = chart.renderer, legendItemGroup = legendItem.group, verticalCenter = baseline - Math.round(symbolHeight *
48
+ const legendItem = this.legendItem = this.legendItem || {}, { chart, options } = this, { baseline = 0, symbolWidth, symbolHeight } = legend, symbol = this.symbol || 'circle', generalRadius = symbolHeight / 2, renderer = chart.renderer, legendItemGroup = legendItem.group, verticalCenter = baseline - Math.round((legend.fontMetrics?.b || symbolHeight) *
49
49
  // Render line and marker slightly higher to make room for the
50
50
  // area
51
51
  (hasArea ? 0.4 : 0.3)), attr = {};
@@ -94,7 +94,7 @@ class Pointer {
94
94
  this.eventsToUnbind = [];
95
95
  if (!H.chartCount) {
96
96
  if (Pointer.unbindDocumentMouseUp) {
97
- Pointer.unbindDocumentMouseUp = Pointer.unbindDocumentMouseUp();
97
+ Pointer.unbindDocumentMouseUp.forEach((e) => e());
98
98
  }
99
99
  if (Pointer.unbindDocumentTouchEnd) {
100
100
  Pointer.unbindDocumentTouchEnd = (Pointer.unbindDocumentTouchEnd());
@@ -1284,8 +1284,9 @@ class Pointer {
1284
1284
  container.onclick = this.onContainerClick.bind(this);
1285
1285
  this.eventsToUnbind.push(addEvent(container, 'mouseenter', this.onContainerMouseEnter.bind(this)), addEvent(container, 'mouseleave', this.onContainerMouseLeave.bind(this)));
1286
1286
  if (!Pointer.unbindDocumentMouseUp) {
1287
- Pointer.unbindDocumentMouseUp = addEvent(ownerDoc, 'mouseup', this.onDocumentMouseUp.bind(this));
1287
+ Pointer.unbindDocumentMouseUp = [];
1288
1288
  }
1289
+ Pointer.unbindDocumentMouseUp.push(addEvent(ownerDoc, 'mouseup', this.onDocumentMouseUp.bind(this)));
1289
1290
  // In case we are dealing with overflow, reset the chart position when
1290
1291
  // scrolling parent elements
1291
1292
  let parent = this.chart.renderTo.parentElement;
@@ -1134,6 +1134,7 @@ class SVGRenderer {
1134
1134
  });
1135
1135
  }
1136
1136
  img.isImg = true;
1137
+ img.symbolUrl = symbol;
1137
1138
  if (defined(img.imgwidth) && defined(img.imgheight)) {
1138
1139
  centerImage(img);
1139
1140
  }
@@ -29,8 +29,8 @@ function arc(cx, cy, w, h, options) {
29
29
  // proximity is too small, the arc disappears. If it is too great, a
30
30
  // gap appears. This can be seen in the animation of the official
31
31
  // bubble demo (#20586).
32
- proximity = 0.0002 / Math.max(rx, 1), fullCircle = (Math.abs((options.end || 0) - start - 2 * Math.PI) <
33
- proximity), end = (options.end || 0) - proximity, innerRadius = options.innerR, open = pick(options.open, fullCircle), cosStart = Math.cos(start), sinStart = Math.sin(start), cosEnd = Math.cos(end), sinEnd = Math.sin(end),
32
+ proximity = 0.0002 / (options.borderRadius ? 1 : Math.max(rx, 1)), fullCircle = (Math.abs((options.end || 0) - start - 2 * Math.PI) <
33
+ proximity), end = (options.end || 0) - (fullCircle ? proximity : 0), innerRadius = options.innerR, open = pick(options.open, fullCircle), cosStart = Math.cos(start), sinStart = Math.sin(start), cosEnd = Math.cos(end), sinEnd = Math.sin(end),
34
34
  // Proximity takes care of rounding errors around PI (#6971)
35
35
  longArc = pick(options.longArc, end - start - Math.PI < proximity ? 0 : 1);
36
36
  let arcSegment = [
@@ -387,6 +387,15 @@ var DataLabel;
387
387
  // read text bounding box
388
388
  dataLabel.css(style).shadow(labelOptions.shadow);
389
389
  }
390
+ else if (style.width) {
391
+ // In styled mode with a width property set,
392
+ // the width should be applied to the
393
+ // dataLabel. (#20499)
394
+ dataLabel.css({
395
+ width: style.width,
396
+ textOverflow: style.textOverflow
397
+ });
398
+ }
390
399
  fireEvent(dataLabel, 'beforeAddingDataLabel', { labelOptions, point });
391
400
  if (!dataLabel.added) {
392
401
  dataLabel.add(dataLabelsGroup);
@@ -1383,7 +1383,7 @@ class Series {
1383
1383
  * @private
1384
1384
  */
1385
1385
  function limitedRange(val) {
1386
- return clamp(val, -1e5, 1e5);
1386
+ return clamp(val, -1e9, 1e9);
1387
1387
  }
1388
1388
  // Translate each point
1389
1389
  for (i = 0; i < dataLength; i++) {
@@ -238,7 +238,7 @@ class Tooltip {
238
238
  * @return {Highcharts.SVGElement}
239
239
  * Tooltip label
240
240
  */
241
- getLabel() {
241
+ getLabel({ anchorX, anchorY } = { anchorX: 0, anchorY: 0 }) {
242
242
  const tooltip = this, styledMode = this.chart.styledMode, options = this.options, doSplit = this.split && this.allowShared;
243
243
  let container = this.container, renderer = this.chart.renderer;
244
244
  // If changing from a split tooltip to a non-split tooltip, we must
@@ -287,7 +287,7 @@ class Tooltip {
287
287
  }
288
288
  else {
289
289
  this.label = renderer
290
- .label('', 0, 0, options.shape, void 0, void 0, options.useHTML, void 0, 'tooltip')
290
+ .label('', anchorX, anchorY, options.shape, void 0, void 0, options.useHTML, void 0, 'tooltip')
291
291
  .attr({
292
292
  padding: options.padding,
293
293
  r: options.borderRadius
@@ -654,7 +654,7 @@ class Tooltip {
654
654
  */
655
655
  refresh(pointOrPoints, mouseEvent) {
656
656
  const tooltip = this, { chart, options, pointer, shared } = this, points = splat(pointOrPoints), point = points[0], pointConfig = [], formatString = options.format, formatter = options.formatter || tooltip.defaultFormatter, styledMode = chart.styledMode;
657
- let formatterContext = {};
657
+ let formatterContext = {}, wasShared = tooltip.allowShared;
658
658
  if (!options.enabled || !point.series) { // #16820
659
659
  return;
660
660
  }
@@ -664,6 +664,7 @@ class Tooltip {
664
664
  tooltip.allowShared = !(!isArray(pointOrPoints) &&
665
665
  pointOrPoints.series &&
666
666
  pointOrPoints.series.noSharedTooltip);
667
+ wasShared = wasShared && !tooltip.allowShared;
667
668
  // Get the reference point coordinates (pie charts use tooltipPos)
668
669
  tooltip.followPointer = (!tooltip.split && point.series.tooltipOptions.followPointer);
669
670
  const anchor = tooltip.getAnchor(pointOrPoints, mouseEvent), x = anchor[0], y = anchor[1];
@@ -711,7 +712,7 @@ class Tooltip {
711
712
  points.some((p) => // #16004
712
713
  pointer.isDirectTouch || // ##17929
713
714
  p.series.shouldShowTooltip(checkX, checkY))) {
714
- const label = tooltip.getLabel();
715
+ const label = tooltip.getLabel(wasShared && tooltip.tt || {});
715
716
  // Prevent the tooltip from flowing over the chart box
716
717
  // (#6659)
717
718
  if (!options.style.width || styledMode) {
@@ -728,6 +729,15 @@ class Tooltip {
728
729
  text.join('') :
729
730
  text
730
731
  });
732
+ // When the length of the label has increased, immediately
733
+ // update the x position to prevent tooltip from flowing
734
+ // outside the viewport during animation (#21371)
735
+ if (this.outside) {
736
+ label.attr({
737
+ x: clamp(label.x || 0, 0, this.getPlayingField().width -
738
+ (label.width || 0))
739
+ });
740
+ }
731
741
  if (!styledMode) {
732
742
  label.attr({
733
743
  stroke: (options.borderColor ||
@@ -11,6 +11,7 @@
11
11
  * - Gøran Slettemark
12
12
  * - Wojciech Chmiel
13
13
  * - Sophie Bremer
14
+ * - Jomar Hønsi
14
15
  *
15
16
  * */
16
17
  'use strict';
@@ -83,6 +84,9 @@ class GoogleSheetsConnector extends DataConnector {
83
84
  table,
84
85
  url
85
86
  });
87
+ if (!URL.canParse(url)) {
88
+ throw new Error('Invalid URL: ' + url);
89
+ }
86
90
  return fetch(url)
87
91
  .then((response) => (response.json()))
88
92
  .then((json) => {
@@ -129,7 +133,6 @@ class GoogleSheetsConnector extends DataConnector {
129
133
  GoogleSheetsConnector.defaultOptions = {
130
134
  googleAPIKey: '',
131
135
  googleSpreadsheetKey: '',
132
- worksheet: 1,
133
136
  enablePolling: false,
134
137
  dataRefreshRate: 2,
135
138
  firstRowAsNames: true
@@ -161,18 +164,20 @@ GoogleSheetsConnector.defaultOptions = {
161
164
  * @private
162
165
  */
163
166
  function buildFetchURL(apiKey, sheetKey, options = {}) {
164
- return (`https://sheets.googleapis.com/v4/spreadsheets/${sheetKey}/values/` +
165
- (options.onlyColumnNames ?
166
- 'A1:Z1' :
167
- buildQueryRange(options)) +
168
- '?alt=json' +
169
- (options.onlyColumnNames ?
170
- '' :
171
- '&dateTimeRenderOption=FORMATTED_STRING' +
172
- '&majorDimension=COLUMNS' +
173
- '&valueRenderOption=UNFORMATTED_VALUE') +
174
- '&prettyPrint=false' +
175
- `&key=${apiKey}`);
167
+ const url = new URL(`https://sheets.googleapis.com/v4/spreadsheets/${sheetKey}/values/`);
168
+ const range = options.onlyColumnNames ?
169
+ 'A1:Z1' : buildQueryRange(options);
170
+ url.pathname += range;
171
+ const searchParams = url.searchParams;
172
+ searchParams.set('alt', 'json');
173
+ if (!options.onlyColumnNames) {
174
+ searchParams.set('dateTimeRenderOption', 'FORMATTED_STRING');
175
+ searchParams.set('majorDimension', 'COLUMNS');
176
+ searchParams.set('valueRenderOption', 'UNFORMATTED_VALUE');
177
+ }
178
+ searchParams.set('prettyPrint', 'false');
179
+ searchParams.set('key', apiKey);
180
+ return url.href;
176
181
  }
177
182
  GoogleSheetsConnector.buildFetchURL = buildFetchURL;
178
183
  /**
@@ -78,7 +78,6 @@ class JSONConnector extends DataConnector {
78
78
  table.deleteColumns();
79
79
  converter.parse({ data });
80
80
  table.setColumns(converter.getTable().getColumns());
81
- table.setRowKeysColumn(data.length);
82
81
  }
83
82
  return connector.setModifierOptions(dataModifier).then(() => data);
84
83
  })
@@ -439,8 +439,6 @@ class DataConverter {
439
439
  /**
440
440
  * Parse a date and return it as a number.
441
441
  *
442
- * @function Highcharts.Data#parseDate
443
- *
444
442
  * @param {string} value
445
443
  * Value to parse.
446
444
  *