highcharts 6.1.1 → 6.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 (871) hide show
  1. package/bower.json +1 -1
  2. package/css/highcharts.css +29 -0
  3. package/css/highcharts.scss +25 -1
  4. package/css/themes/dark-unica.css +29 -0
  5. package/css/themes/grid-light.css +29 -0
  6. package/css/themes/sand-signika.css +29 -0
  7. package/es-modules/indicators/accumulation-distribution.src.js +1 -1
  8. package/es-modules/indicators/atr.src.js +1 -1
  9. package/es-modules/indicators/bollinger-bands.src.js +2 -2
  10. package/es-modules/indicators/cci.src.js +1 -1
  11. package/es-modules/indicators/cmf.src.js +1 -1
  12. package/es-modules/indicators/ema.src.js +1 -1
  13. package/es-modules/indicators/ichimoku-kinko-hyo.src.js +1 -1
  14. package/es-modules/indicators/indicators.src.js +29 -14
  15. package/es-modules/indicators/macd.src.js +4 -4
  16. package/es-modules/indicators/mfi.src.js +1 -1
  17. package/es-modules/indicators/momentum.src.js +2 -2
  18. package/es-modules/indicators/pivot-points.src.js +7 -2
  19. package/es-modules/indicators/price-envelopes.src.js +2 -2
  20. package/es-modules/indicators/psar.src.js +1 -1
  21. package/es-modules/indicators/roc.src.js +1 -1
  22. package/es-modules/indicators/rsi.src.js +1 -1
  23. package/es-modules/indicators/stochastic.src.js +9 -7
  24. package/es-modules/indicators/volume-by-price.src.js +1 -1
  25. package/es-modules/indicators/vwap.src.js +1 -1
  26. package/es-modules/indicators/wma.src.js +1 -1
  27. package/es-modules/indicators/zigzag.src.js +1 -1
  28. package/es-modules/masters/highcharts-gantt.src.js +11 -0
  29. package/es-modules/masters/modules/annotations.src.js +1 -1
  30. package/es-modules/masters/modules/arrow-symbols.src.js +12 -0
  31. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  32. package/es-modules/masters/modules/current-date-indicator.src.js +12 -0
  33. package/es-modules/masters/modules/data.src.js +1 -1
  34. package/es-modules/masters/modules/draggable-points.src.js +9 -0
  35. package/es-modules/masters/modules/export-data.src.js +1 -1
  36. package/es-modules/masters/modules/exporting.src.js +1 -1
  37. package/es-modules/masters/modules/funnel.src.js +1 -1
  38. package/es-modules/masters/modules/gantt.src.js +2 -1
  39. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  40. package/es-modules/masters/modules/heatmap.src.js +1 -1
  41. package/es-modules/masters/modules/item-series.src.js +1 -1
  42. package/es-modules/masters/modules/map.src.js +1 -1
  43. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  44. package/es-modules/masters/modules/pathfinder.src.js +12 -0
  45. package/es-modules/masters/modules/sankey.src.js +1 -1
  46. package/es-modules/masters/modules/series-label.src.js +1 -1
  47. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  48. package/es-modules/masters/modules/stock.src.js +1 -1
  49. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  50. package/es-modules/masters/modules/treegrid.src.js +12 -0
  51. package/es-modules/masters/modules/variwide.src.js +1 -1
  52. package/es-modules/masters/modules/vector.src.js +1 -1
  53. package/es-modules/masters/modules/windbarb.src.js +1 -1
  54. package/es-modules/masters/modules/xrange.src.js +1 -1
  55. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  56. package/es-modules/masters/themes/dark-green.src.js +1 -1
  57. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  58. package/es-modules/masters/themes/gray.src.js +1 -1
  59. package/es-modules/masters/themes/grid-light.src.js +1 -1
  60. package/es-modules/masters/themes/grid.src.js +1 -1
  61. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  62. package/es-modules/masters/themes/skies.src.js +1 -1
  63. package/es-modules/mixins/centered-series.js +36 -5
  64. package/es-modules/mixins/on-series.js +1 -1
  65. package/es-modules/mixins/polygon.js +4 -4
  66. package/es-modules/modules/annotations.src.js +2 -2
  67. package/es-modules/modules/boost-canvas.src.js +19 -8
  68. package/es-modules/modules/boost.src.js +300 -137
  69. package/es-modules/modules/broken-axis.src.js +169 -134
  70. package/es-modules/modules/bullet.src.js +2 -2
  71. package/es-modules/modules/data.src.js +8 -6
  72. package/es-modules/modules/draggable-points.src.js +2257 -0
  73. package/es-modules/modules/drilldown.src.js +4 -2
  74. package/es-modules/modules/export-data.src.js +11 -1
  75. package/es-modules/modules/exporting.src.js +62 -36
  76. package/es-modules/modules/funnel.src.js +5 -5
  77. package/es-modules/modules/histogram.src.js +30 -28
  78. package/es-modules/modules/item-series.src.js +36 -11
  79. package/es-modules/modules/keyboard-navigation.src.js +81 -44
  80. package/es-modules/modules/no-data-to-display.src.js +5 -5
  81. package/es-modules/modules/oldie.src.js +14 -9
  82. package/es-modules/modules/overlapping-datalabels.src.js +45 -21
  83. package/es-modules/modules/parallel-coordinates.src.js +4 -3
  84. package/es-modules/modules/pareto.src.js +1 -1
  85. package/es-modules/modules/sankey.src.js +28 -10
  86. package/es-modules/modules/series-label.src.js +6 -6
  87. package/es-modules/modules/solid-gauge.src.js +10 -7
  88. package/es-modules/modules/static-scale.src.js +67 -28
  89. package/es-modules/modules/streamgraph.src.js +4 -4
  90. package/es-modules/modules/sunburst.src.js +4 -4
  91. package/es-modules/modules/tilemap.src.js +231 -134
  92. package/es-modules/modules/treemap.src.js +30 -27
  93. package/es-modules/modules/variable-pie.src.js +3 -3
  94. package/es-modules/modules/variwide.src.js +36 -24
  95. package/es-modules/modules/vector.src.js +98 -28
  96. package/es-modules/modules/windbarb.src.js +4 -4
  97. package/es-modules/modules/wordcloud.src.js +133 -48
  98. package/es-modules/modules/xrange.src.js +258 -78
  99. package/es-modules/parts/AreaSeries.js +83 -50
  100. package/es-modules/parts/AreaSplineSeries.js +66 -29
  101. package/es-modules/parts/Axis.js +2184 -745
  102. package/es-modules/parts/BarSeries.js +70 -53
  103. package/es-modules/parts/CandlestickSeries.js +20 -10
  104. package/es-modules/parts/Chart.js +349 -157
  105. package/es-modules/parts/Color.js +74 -25
  106. package/es-modules/parts/ColumnSeries.js +274 -147
  107. package/es-modules/parts/DataGrouping.js +36 -3
  108. package/es-modules/parts/DataLabels.js +318 -144
  109. package/es-modules/parts/DateTimeAxis.js +27 -5
  110. package/es-modules/parts/Dynamics.js +236 -144
  111. package/es-modules/parts/FlagsSeries.js +49 -7
  112. package/es-modules/parts/Globals.js +4 -3
  113. package/es-modules/parts/Html.js +82 -16
  114. package/es-modules/parts/Interaction.js +198 -65
  115. package/es-modules/parts/Legend.js +181 -31
  116. package/es-modules/parts/LogarithmicAxis.js +36 -3
  117. package/es-modules/parts/MSPointer.js +31 -4
  118. package/es-modules/parts/Navigator.js +479 -187
  119. package/es-modules/parts/OHLCSeries.js +11 -5
  120. package/es-modules/parts/Options.js +1052 -686
  121. package/es-modules/parts/OrdinalAxis.js +20 -6
  122. package/es-modules/parts/PieSeries.js +258 -142
  123. package/es-modules/parts/PlotBandSeries.experimental.js +2 -2
  124. package/es-modules/parts/PlotLineOrBand.js +671 -35
  125. package/es-modules/parts/Point.js +189 -73
  126. package/es-modules/parts/Pointer.js +263 -62
  127. package/es-modules/parts/RangeSelector.js +601 -91
  128. package/es-modules/parts/Responsive.js +82 -36
  129. package/es-modules/parts/ScatterSeries.js +59 -27
  130. package/es-modules/parts/ScrollablePlotArea.js +30 -9
  131. package/es-modules/parts/Scrollbar.js +284 -113
  132. package/es-modules/parts/Series.js +1105 -836
  133. package/es-modules/parts/SplineSeries.js +53 -31
  134. package/es-modules/parts/Stacking.js +108 -7
  135. package/es-modules/parts/StockChart.js +26 -8
  136. package/es-modules/parts/SvgRenderer.js +1251 -613
  137. package/es-modules/parts/Tick.js +164 -30
  138. package/es-modules/parts/Time.js +171 -71
  139. package/es-modules/parts/Tooltip.js +271 -49
  140. package/es-modules/parts/TouchPointer.js +70 -3
  141. package/es-modules/parts/Utilities.js +1024 -429
  142. package/es-modules/parts-3d/Axis.js +4 -3
  143. package/es-modules/parts-3d/Chart.js +8 -9
  144. package/es-modules/parts-3d/Column.js +1 -1
  145. package/es-modules/parts-3d/Math.js +1 -1
  146. package/es-modules/parts-3d/Pie.js +1 -1
  147. package/es-modules/parts-3d/SVGRenderer.js +13 -10
  148. package/es-modules/parts-3d/Scatter.js +4 -4
  149. package/es-modules/parts-3d/Series.js +1 -1
  150. package/es-modules/parts-3d/VMLRenderer.js +1 -1
  151. package/es-modules/parts-gantt/ArrowSymbols.js +110 -0
  152. package/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
  153. package/es-modules/parts-gantt/GanttChart.js +111 -0
  154. package/es-modules/parts-gantt/GanttSeries.js +376 -0
  155. package/es-modules/parts-gantt/GridAxis.js +965 -0
  156. package/es-modules/parts-gantt/Pathfinder.js +1247 -0
  157. package/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
  158. package/es-modules/parts-gantt/Tree.js +146 -0
  159. package/es-modules/parts-gantt/TreeGrid.js +917 -0
  160. package/es-modules/parts-map/ColorAxis.js +4 -5
  161. package/es-modules/parts-map/ColorSeriesMixin.js +3 -1
  162. package/es-modules/parts-map/GeoJSON.js +1 -1
  163. package/es-modules/parts-map/HeatmapSeries.js +126 -55
  164. package/es-modules/parts-map/Map.js +144 -51
  165. package/es-modules/parts-map/MapAxis.js +1 -1
  166. package/es-modules/parts-map/MapBubbleSeries.js +6 -5
  167. package/es-modules/parts-map/MapLineSeries.js +4 -4
  168. package/es-modules/parts-map/MapNavigation.js +50 -12
  169. package/es-modules/parts-map/MapPointSeries.js +3 -3
  170. package/es-modules/parts-map/MapPointer.js +1 -1
  171. package/es-modules/parts-map/MapSeries.js +7 -7
  172. package/es-modules/parts-more/AreaRangeSeries.js +82 -40
  173. package/es-modules/parts-more/AreaSplineRangeSeries.js +3 -3
  174. package/es-modules/parts-more/BoxPlotSeries.js +3 -3
  175. package/es-modules/parts-more/BubbleSeries.js +9 -4
  176. package/es-modules/parts-more/ColumnRangeSeries.js +3 -3
  177. package/es-modules/parts-more/ErrorBarSeries.js +6 -4
  178. package/es-modules/parts-more/GaugeSeries.js +3 -3
  179. package/es-modules/parts-more/Pane.js +3 -2
  180. package/es-modules/parts-more/Polar.js +1 -1
  181. package/es-modules/parts-more/PolygonSeries.js +3 -3
  182. package/es-modules/parts-more/RadialAxis.js +5 -4
  183. package/es-modules/parts-more/WaterfallSeries.js +9 -4
  184. package/es-modules/supplemental.docs.js +0 -1955
  185. package/es-modules/themes/dark-blue.js +1 -1
  186. package/es-modules/themes/dark-green.js +1 -1
  187. package/es-modules/themes/dark-unica.js +1 -1
  188. package/es-modules/themes/gray.js +1 -1
  189. package/es-modules/themes/grid-light.js +1 -1
  190. package/es-modules/themes/grid.js +1 -1
  191. package/es-modules/themes/sand-signika.js +1 -1
  192. package/es-modules/themes/skies.js +1 -1
  193. package/highcharts-3d.js +77 -75
  194. package/highcharts-3d.js.map +1 -8
  195. package/highcharts-3d.src.js +39 -32
  196. package/highcharts-gantt.js +503 -0
  197. package/highcharts-gantt.js.map +1 -0
  198. package/highcharts-gantt.src.js +49289 -0
  199. package/highcharts-more.js +66 -64
  200. package/highcharts-more.js.map +1 -8
  201. package/highcharts-more.src.js +135 -75
  202. package/highcharts.js +413 -403
  203. package/highcharts.js.map +1 -8
  204. package/highcharts.src.js +11114 -4781
  205. package/highmaps.js +442 -433
  206. package/highmaps.js.map +1 -8
  207. package/highmaps.src.js +10740 -4598
  208. package/highstock.js +553 -540
  209. package/highstock.js.map +1 -8
  210. package/highstock.src.js +12807 -5343
  211. package/indicators/accumulation-distribution.js +4 -3
  212. package/indicators/accumulation-distribution.js.map +1 -8
  213. package/indicators/accumulation-distribution.src.js +6 -2
  214. package/indicators/atr.js +4 -3
  215. package/indicators/atr.js.map +1 -8
  216. package/indicators/atr.src.js +6 -2
  217. package/indicators/bollinger-bands.js +7 -6
  218. package/indicators/bollinger-bands.js.map +1 -8
  219. package/indicators/bollinger-bands.src.js +7 -3
  220. package/indicators/cci.js +4 -3
  221. package/indicators/cci.js.map +1 -8
  222. package/indicators/cci.src.js +6 -2
  223. package/indicators/cmf.js +5 -4
  224. package/indicators/cmf.js.map +1 -8
  225. package/indicators/cmf.src.js +6 -2
  226. package/indicators/ema.js +4 -3
  227. package/indicators/ema.js.map +1 -8
  228. package/indicators/ema.src.js +6 -2
  229. package/indicators/ichimoku-kinko-hyo.js +10 -9
  230. package/indicators/ichimoku-kinko-hyo.js.map +1 -8
  231. package/indicators/ichimoku-kinko-hyo.src.js +6 -2
  232. package/indicators/indicators.js +6 -5
  233. package/indicators/indicators.js.map +1 -8
  234. package/indicators/indicators.src.js +34 -15
  235. package/indicators/macd.js +11 -10
  236. package/indicators/macd.js.map +1 -8
  237. package/indicators/macd.src.js +10 -6
  238. package/indicators/mfi.js +5 -3
  239. package/indicators/mfi.js.map +1 -8
  240. package/indicators/mfi.src.js +6 -2
  241. package/indicators/momentum.js +4 -3
  242. package/indicators/momentum.js.map +1 -8
  243. package/indicators/momentum.src.js +7 -3
  244. package/indicators/pivot-points.js +8 -7
  245. package/indicators/pivot-points.js.map +1 -8
  246. package/indicators/pivot-points.src.js +12 -3
  247. package/indicators/price-envelopes.js +7 -6
  248. package/indicators/price-envelopes.js.map +1 -8
  249. package/indicators/price-envelopes.src.js +7 -3
  250. package/indicators/psar.js +5 -4
  251. package/indicators/psar.js.map +1 -8
  252. package/indicators/psar.src.js +6 -2
  253. package/indicators/roc.js +4 -3
  254. package/indicators/roc.js.map +1 -8
  255. package/indicators/roc.src.js +6 -2
  256. package/indicators/rsi.js +4 -3
  257. package/indicators/rsi.js.map +1 -8
  258. package/indicators/rsi.src.js +6 -2
  259. package/indicators/stochastic.js +7 -5
  260. package/indicators/stochastic.js.map +1 -8
  261. package/indicators/stochastic.src.js +14 -8
  262. package/indicators/volume-by-price.js +13 -12
  263. package/indicators/volume-by-price.js.map +1 -8
  264. package/indicators/volume-by-price.src.js +6 -2
  265. package/indicators/vwap.js +4 -3
  266. package/indicators/vwap.js.map +1 -8
  267. package/indicators/vwap.src.js +6 -2
  268. package/indicators/wma.js +4 -3
  269. package/indicators/wma.js.map +1 -8
  270. package/indicators/wma.src.js +6 -2
  271. package/indicators/zigzag.js +5 -3
  272. package/indicators/zigzag.js.map +1 -8
  273. package/indicators/zigzag.src.js +6 -2
  274. package/js/es-modules/indicators/accumulation-distribution.src.js +1 -1
  275. package/js/es-modules/indicators/atr.src.js +1 -1
  276. package/js/es-modules/indicators/bollinger-bands.src.js +2 -2
  277. package/js/es-modules/indicators/cci.src.js +1 -1
  278. package/js/es-modules/indicators/cmf.src.js +1 -1
  279. package/js/es-modules/indicators/ema.src.js +1 -1
  280. package/js/es-modules/indicators/ichimoku-kinko-hyo.src.js +1 -1
  281. package/js/es-modules/indicators/indicators.src.js +29 -14
  282. package/js/es-modules/indicators/macd.src.js +4 -4
  283. package/js/es-modules/indicators/mfi.src.js +1 -1
  284. package/js/es-modules/indicators/momentum.src.js +2 -2
  285. package/js/es-modules/indicators/pivot-points.src.js +7 -2
  286. package/js/es-modules/indicators/price-envelopes.src.js +2 -2
  287. package/js/es-modules/indicators/psar.src.js +1 -1
  288. package/js/es-modules/indicators/roc.src.js +1 -1
  289. package/js/es-modules/indicators/rsi.src.js +1 -1
  290. package/js/es-modules/indicators/stochastic.src.js +9 -7
  291. package/js/es-modules/indicators/volume-by-price.src.js +1 -1
  292. package/js/es-modules/indicators/vwap.src.js +1 -1
  293. package/js/es-modules/indicators/wma.src.js +1 -1
  294. package/js/es-modules/indicators/zigzag.src.js +1 -1
  295. package/js/es-modules/masters/highcharts-gantt.src.js +11 -0
  296. package/js/es-modules/masters/modules/annotations.src.js +1 -1
  297. package/js/es-modules/masters/modules/arrow-symbols.src.js +12 -0
  298. package/js/es-modules/masters/modules/broken-axis.src.js +1 -1
  299. package/js/es-modules/masters/modules/current-date-indicator.src.js +12 -0
  300. package/js/es-modules/masters/modules/data.src.js +1 -1
  301. package/js/es-modules/masters/modules/draggable-points.src.js +9 -0
  302. package/js/es-modules/masters/modules/export-data.src.js +1 -1
  303. package/js/es-modules/masters/modules/exporting.src.js +1 -1
  304. package/js/es-modules/masters/modules/funnel.src.js +1 -1
  305. package/js/es-modules/masters/modules/gantt.src.js +2 -1
  306. package/js/es-modules/masters/modules/grid-axis.src.js +1 -1
  307. package/js/es-modules/masters/modules/heatmap.src.js +1 -1
  308. package/js/es-modules/masters/modules/item-series.src.js +1 -1
  309. package/js/es-modules/masters/modules/map.src.js +1 -1
  310. package/js/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  311. package/js/es-modules/masters/modules/pathfinder.src.js +12 -0
  312. package/js/es-modules/masters/modules/sankey.src.js +1 -1
  313. package/js/es-modules/masters/modules/series-label.src.js +1 -1
  314. package/js/es-modules/masters/modules/solid-gauge.src.js +1 -1
  315. package/js/es-modules/masters/modules/stock.src.js +1 -1
  316. package/js/es-modules/masters/modules/streamgraph.src.js +1 -1
  317. package/js/es-modules/masters/modules/treegrid.src.js +12 -0
  318. package/js/es-modules/masters/modules/variwide.src.js +1 -1
  319. package/js/es-modules/masters/modules/vector.src.js +1 -1
  320. package/js/es-modules/masters/modules/windbarb.src.js +1 -1
  321. package/js/es-modules/masters/modules/xrange.src.js +1 -1
  322. package/js/es-modules/masters/themes/dark-blue.src.js +1 -1
  323. package/js/es-modules/masters/themes/dark-green.src.js +1 -1
  324. package/js/es-modules/masters/themes/dark-unica.src.js +1 -1
  325. package/js/es-modules/masters/themes/gray.src.js +1 -1
  326. package/js/es-modules/masters/themes/grid-light.src.js +1 -1
  327. package/js/es-modules/masters/themes/grid.src.js +1 -1
  328. package/js/es-modules/masters/themes/sand-signika.src.js +1 -1
  329. package/js/es-modules/masters/themes/skies.src.js +1 -1
  330. package/js/es-modules/mixins/centered-series.js +36 -5
  331. package/js/es-modules/mixins/on-series.js +1 -1
  332. package/js/es-modules/mixins/polygon.js +4 -4
  333. package/js/es-modules/modules/annotations.src.js +2 -2
  334. package/js/es-modules/modules/boost-canvas.src.js +19 -8
  335. package/js/es-modules/modules/boost.src.js +300 -137
  336. package/js/es-modules/modules/broken-axis.src.js +169 -134
  337. package/js/es-modules/modules/bullet.src.js +2 -2
  338. package/js/es-modules/modules/data.src.js +8 -6
  339. package/js/es-modules/modules/draggable-points.src.js +2257 -0
  340. package/js/es-modules/modules/drilldown.src.js +4 -2
  341. package/js/es-modules/modules/export-data.src.js +11 -1
  342. package/js/es-modules/modules/exporting.src.js +62 -36
  343. package/js/es-modules/modules/funnel.src.js +5 -5
  344. package/js/es-modules/modules/histogram.src.js +30 -28
  345. package/js/es-modules/modules/item-series.src.js +36 -11
  346. package/js/es-modules/modules/keyboard-navigation.src.js +81 -44
  347. package/js/es-modules/modules/no-data-to-display.src.js +5 -5
  348. package/js/es-modules/modules/oldie.src.js +14 -9
  349. package/js/es-modules/modules/overlapping-datalabels.src.js +45 -21
  350. package/js/es-modules/modules/parallel-coordinates.src.js +4 -3
  351. package/js/es-modules/modules/pareto.src.js +1 -1
  352. package/js/es-modules/modules/sankey.src.js +23 -7
  353. package/js/es-modules/modules/series-label.src.js +6 -6
  354. package/js/es-modules/modules/solid-gauge.src.js +8 -5
  355. package/js/es-modules/modules/static-scale.src.js +67 -28
  356. package/js/es-modules/modules/streamgraph.src.js +4 -4
  357. package/js/es-modules/modules/sunburst.src.js +4 -4
  358. package/js/es-modules/modules/tilemap.src.js +231 -134
  359. package/js/es-modules/modules/treemap.src.js +29 -26
  360. package/js/es-modules/modules/variable-pie.src.js +3 -3
  361. package/js/es-modules/modules/variwide.src.js +36 -24
  362. package/js/es-modules/modules/vector.src.js +98 -28
  363. package/js/es-modules/modules/windbarb.src.js +4 -4
  364. package/js/es-modules/modules/wordcloud.src.js +133 -48
  365. package/js/es-modules/modules/xrange.src.js +256 -69
  366. package/js/es-modules/parts/AreaSeries.js +83 -50
  367. package/js/es-modules/parts/AreaSplineSeries.js +66 -29
  368. package/js/es-modules/parts/Axis.js +2089 -694
  369. package/js/es-modules/parts/BarSeries.js +70 -53
  370. package/js/es-modules/parts/CandlestickSeries.js +20 -10
  371. package/js/es-modules/parts/Chart.js +349 -157
  372. package/js/es-modules/parts/Color.js +74 -25
  373. package/js/es-modules/parts/ColumnSeries.js +241 -128
  374. package/js/es-modules/parts/DataGrouping.js +36 -3
  375. package/js/es-modules/parts/DataLabels.js +287 -116
  376. package/js/es-modules/parts/DateTimeAxis.js +27 -5
  377. package/js/es-modules/parts/Dynamics.js +236 -144
  378. package/js/es-modules/parts/FlagsSeries.js +49 -7
  379. package/js/es-modules/parts/Globals.js +4 -3
  380. package/js/es-modules/parts/Html.js +82 -16
  381. package/js/es-modules/parts/Interaction.js +187 -67
  382. package/js/es-modules/parts/Legend.js +181 -31
  383. package/js/es-modules/parts/LogarithmicAxis.js +36 -3
  384. package/js/es-modules/parts/MSPointer.js +31 -4
  385. package/js/es-modules/parts/Navigator.js +432 -162
  386. package/js/es-modules/parts/OHLCSeries.js +5 -5
  387. package/js/es-modules/parts/Options.js +855 -592
  388. package/js/es-modules/parts/OrdinalAxis.js +20 -6
  389. package/js/es-modules/parts/PieSeries.js +247 -134
  390. package/js/es-modules/parts/PlotBandSeries.experimental.js +2 -2
  391. package/js/es-modules/parts/PlotLineOrBand.js +671 -35
  392. package/js/es-modules/parts/Point.js +182 -70
  393. package/js/es-modules/parts/Pointer.js +263 -62
  394. package/js/es-modules/parts/RangeSelector.js +579 -91
  395. package/js/es-modules/parts/Responsive.js +82 -36
  396. package/js/es-modules/parts/ScatterSeries.js +58 -27
  397. package/js/es-modules/parts/ScrollablePlotArea.js +30 -9
  398. package/js/es-modules/parts/Scrollbar.js +201 -71
  399. package/js/es-modules/parts/Series.js +995 -745
  400. package/js/es-modules/parts/SplineSeries.js +53 -31
  401. package/js/es-modules/parts/Stacking.js +108 -7
  402. package/js/es-modules/parts/StockChart.js +26 -8
  403. package/js/es-modules/parts/SvgRenderer.js +1208 -598
  404. package/js/es-modules/parts/Tick.js +164 -30
  405. package/js/es-modules/parts/Time.js +171 -71
  406. package/js/es-modules/parts/Tooltip.js +276 -49
  407. package/js/es-modules/parts/TouchPointer.js +70 -3
  408. package/js/es-modules/parts/Utilities.js +1024 -429
  409. package/js/es-modules/parts-3d/Axis.js +4 -3
  410. package/js/es-modules/parts-3d/Chart.js +8 -9
  411. package/js/es-modules/parts-3d/Column.js +1 -1
  412. package/js/es-modules/parts-3d/Math.js +1 -1
  413. package/js/es-modules/parts-3d/Pie.js +1 -1
  414. package/js/es-modules/parts-3d/SVGRenderer.js +13 -10
  415. package/js/es-modules/parts-3d/Scatter.js +4 -4
  416. package/js/es-modules/parts-3d/Series.js +1 -1
  417. package/js/es-modules/parts-3d/VMLRenderer.js +1 -1
  418. package/js/es-modules/parts-gantt/ArrowSymbols.js +110 -0
  419. package/js/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
  420. package/js/es-modules/parts-gantt/GanttChart.js +111 -0
  421. package/js/es-modules/parts-gantt/GanttSeries.js +371 -0
  422. package/js/es-modules/parts-gantt/GridAxis.js +962 -0
  423. package/js/es-modules/parts-gantt/Pathfinder.js +1225 -0
  424. package/js/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
  425. package/js/es-modules/parts-gantt/Tree.js +146 -0
  426. package/js/es-modules/parts-gantt/TreeGrid.js +891 -0
  427. package/js/es-modules/parts-map/ColorAxis.js +4 -5
  428. package/js/es-modules/parts-map/ColorSeriesMixin.js +3 -1
  429. package/js/es-modules/parts-map/GeoJSON.js +1 -1
  430. package/js/es-modules/parts-map/HeatmapSeries.js +124 -54
  431. package/js/es-modules/parts-map/Map.js +136 -47
  432. package/js/es-modules/parts-map/MapAxis.js +1 -1
  433. package/js/es-modules/parts-map/MapBubbleSeries.js +6 -5
  434. package/js/es-modules/parts-map/MapLineSeries.js +4 -4
  435. package/js/es-modules/parts-map/MapNavigation.js +50 -12
  436. package/js/es-modules/parts-map/MapPointSeries.js +3 -3
  437. package/js/es-modules/parts-map/MapPointer.js +1 -1
  438. package/js/es-modules/parts-map/MapSeries.js +5 -5
  439. package/js/es-modules/parts-more/AreaRangeSeries.js +82 -40
  440. package/js/es-modules/parts-more/AreaSplineRangeSeries.js +3 -3
  441. package/js/es-modules/parts-more/BoxPlotSeries.js +3 -3
  442. package/js/es-modules/parts-more/BubbleSeries.js +9 -4
  443. package/js/es-modules/parts-more/ColumnRangeSeries.js +3 -3
  444. package/js/es-modules/parts-more/ErrorBarSeries.js +6 -4
  445. package/js/es-modules/parts-more/GaugeSeries.js +3 -3
  446. package/js/es-modules/parts-more/Pane.js +3 -2
  447. package/js/es-modules/parts-more/Polar.js +1 -1
  448. package/js/es-modules/parts-more/PolygonSeries.js +3 -3
  449. package/js/es-modules/parts-more/RadialAxis.js +5 -4
  450. package/js/es-modules/parts-more/WaterfallSeries.js +9 -4
  451. package/js/es-modules/supplemental.docs.js +0 -1955
  452. package/js/es-modules/themes/dark-blue.js +1 -1
  453. package/js/es-modules/themes/dark-green.js +1 -1
  454. package/js/es-modules/themes/dark-unica.js +1 -1
  455. package/js/es-modules/themes/gray.js +1 -1
  456. package/js/es-modules/themes/grid-light.js +1 -1
  457. package/js/es-modules/themes/grid.js +1 -1
  458. package/js/es-modules/themes/sand-signika.js +1 -1
  459. package/js/es-modules/themes/skies.js +1 -1
  460. package/js/highcharts-3d.js +75 -74
  461. package/js/highcharts-3d.js.map +1 -8
  462. package/js/highcharts-3d.src.js +39 -32
  463. package/js/highcharts-gantt.js +480 -0
  464. package/js/highcharts-gantt.js.map +1 -0
  465. package/js/highcharts-gantt.src.js +47011 -0
  466. package/js/highcharts-more.js +63 -61
  467. package/js/highcharts-more.js.map +1 -8
  468. package/js/highcharts-more.src.js +135 -75
  469. package/js/highcharts.js +396 -387
  470. package/js/highcharts.js.map +1 -8
  471. package/js/highcharts.src.js +10765 -4659
  472. package/js/highmaps.js +419 -411
  473. package/js/highmaps.js.map +1 -8
  474. package/js/highmaps.src.js +10198 -4285
  475. package/js/highstock.js +529 -516
  476. package/js/highstock.js.map +1 -8
  477. package/js/highstock.src.js +12108 -4962
  478. package/js/indicators/accumulation-distribution.js +4 -3
  479. package/js/indicators/accumulation-distribution.js.map +1 -8
  480. package/js/indicators/accumulation-distribution.src.js +6 -2
  481. package/js/indicators/atr.js +4 -3
  482. package/js/indicators/atr.js.map +1 -8
  483. package/js/indicators/atr.src.js +6 -2
  484. package/js/indicators/bollinger-bands.js +7 -6
  485. package/js/indicators/bollinger-bands.js.map +1 -8
  486. package/js/indicators/bollinger-bands.src.js +7 -3
  487. package/js/indicators/cci.js +4 -3
  488. package/js/indicators/cci.js.map +1 -8
  489. package/js/indicators/cci.src.js +6 -2
  490. package/js/indicators/cmf.js +5 -4
  491. package/js/indicators/cmf.js.map +1 -8
  492. package/js/indicators/cmf.src.js +6 -2
  493. package/js/indicators/ema.js +4 -3
  494. package/js/indicators/ema.js.map +1 -8
  495. package/js/indicators/ema.src.js +6 -2
  496. package/js/indicators/ichimoku-kinko-hyo.js +10 -9
  497. package/js/indicators/ichimoku-kinko-hyo.js.map +1 -8
  498. package/js/indicators/ichimoku-kinko-hyo.src.js +6 -2
  499. package/js/indicators/indicators.js +6 -5
  500. package/js/indicators/indicators.js.map +1 -8
  501. package/js/indicators/indicators.src.js +34 -15
  502. package/js/indicators/macd.js +11 -10
  503. package/js/indicators/macd.js.map +1 -8
  504. package/js/indicators/macd.src.js +10 -6
  505. package/js/indicators/mfi.js +5 -3
  506. package/js/indicators/mfi.js.map +1 -8
  507. package/js/indicators/mfi.src.js +6 -2
  508. package/js/indicators/momentum.js +4 -3
  509. package/js/indicators/momentum.js.map +1 -8
  510. package/js/indicators/momentum.src.js +7 -3
  511. package/js/indicators/pivot-points.js +8 -7
  512. package/js/indicators/pivot-points.js.map +1 -8
  513. package/js/indicators/pivot-points.src.js +12 -3
  514. package/js/indicators/price-envelopes.js +7 -6
  515. package/js/indicators/price-envelopes.js.map +1 -8
  516. package/js/indicators/price-envelopes.src.js +7 -3
  517. package/js/indicators/psar.js +5 -4
  518. package/js/indicators/psar.js.map +1 -8
  519. package/js/indicators/psar.src.js +6 -2
  520. package/js/indicators/roc.js +4 -3
  521. package/js/indicators/roc.js.map +1 -8
  522. package/js/indicators/roc.src.js +6 -2
  523. package/js/indicators/rsi.js +4 -3
  524. package/js/indicators/rsi.js.map +1 -8
  525. package/js/indicators/rsi.src.js +6 -2
  526. package/js/indicators/stochastic.js +7 -5
  527. package/js/indicators/stochastic.js.map +1 -8
  528. package/js/indicators/stochastic.src.js +14 -8
  529. package/js/indicators/volume-by-price.js +13 -12
  530. package/js/indicators/volume-by-price.js.map +1 -8
  531. package/js/indicators/volume-by-price.src.js +6 -2
  532. package/js/indicators/vwap.js +4 -3
  533. package/js/indicators/vwap.js.map +1 -8
  534. package/js/indicators/vwap.src.js +6 -2
  535. package/js/indicators/wma.js +4 -3
  536. package/js/indicators/wma.js.map +1 -8
  537. package/js/indicators/wma.src.js +6 -2
  538. package/js/indicators/zigzag.js +5 -3
  539. package/js/indicators/zigzag.js.map +1 -8
  540. package/js/indicators/zigzag.src.js +6 -2
  541. package/js/modules/accessibility.js +52 -51
  542. package/js/modules/accessibility.js.map +1 -8
  543. package/js/modules/accessibility.src.js +86 -45
  544. package/js/modules/annotations.js +22 -21
  545. package/js/modules/annotations.js.map +1 -8
  546. package/js/modules/annotations.src.js +8 -4
  547. package/js/modules/arrow-symbols.js +13 -0
  548. package/js/modules/arrow-symbols.js.map +1 -0
  549. package/js/modules/arrow-symbols.src.js +138 -0
  550. package/js/modules/boost-canvas.js +15 -13
  551. package/js/modules/boost-canvas.js.map +1 -8
  552. package/js/modules/boost-canvas.src.js +24 -9
  553. package/js/modules/boost.js +57 -52
  554. package/js/modules/boost.js.map +1 -8
  555. package/js/modules/boost.src.js +305 -138
  556. package/js/modules/broken-axis.js +12 -10
  557. package/js/modules/broken-axis.js.map +1 -8
  558. package/js/modules/broken-axis.src.js +175 -136
  559. package/js/modules/bullet.js +3 -2
  560. package/js/modules/bullet.js.map +1 -8
  561. package/js/modules/bullet.src.js +7 -3
  562. package/js/modules/current-date-indicator.js +13 -0
  563. package/js/modules/current-date-indicator.js.map +1 -0
  564. package/js/modules/current-date-indicator.src.js +120 -0
  565. package/js/modules/data.js +25 -24
  566. package/js/modules/data.js.map +1 -8
  567. package/js/modules/data.src.js +14 -8
  568. package/js/modules/drag-panes.js +9 -8
  569. package/js/modules/drag-panes.js.map +1 -8
  570. package/js/modules/drag-panes.src.js +5 -1
  571. package/js/modules/draggable-points.js +38 -0
  572. package/js/modules/draggable-points.js.map +1 -0
  573. package/js/modules/draggable-points.src.js +2281 -0
  574. package/js/modules/drilldown.js +20 -19
  575. package/js/modules/drilldown.js.map +1 -8
  576. package/js/modules/drilldown.src.js +9 -3
  577. package/js/modules/export-data.js +20 -19
  578. package/js/modules/export-data.js.map +1 -8
  579. package/js/modules/export-data.src.js +17 -3
  580. package/js/modules/exporting.js +24 -23
  581. package/js/modules/exporting.js.map +1 -8
  582. package/js/modules/exporting.src.js +68 -38
  583. package/js/modules/funnel.js +8 -6
  584. package/js/modules/funnel.js.map +1 -8
  585. package/js/modules/funnel.src.js +11 -7
  586. package/js/modules/gantt.js +81 -18
  587. package/js/modules/gantt.js.map +1 -8
  588. package/js/modules/gantt.src.js +5494 -372
  589. package/js/modules/grid-axis.js +16 -10
  590. package/js/modules/grid-axis.js.map +1 -8
  591. package/js/modules/grid-axis.src.js +735 -293
  592. package/js/modules/heatmap.js +22 -21
  593. package/js/modules/heatmap.js.map +1 -8
  594. package/js/modules/heatmap.src.js +137 -62
  595. package/js/modules/histogram-bellcurve.js +9 -8
  596. package/js/modules/histogram-bellcurve.js.map +1 -8
  597. package/js/modules/histogram-bellcurve.src.js +35 -29
  598. package/js/modules/item-series.js +6 -4
  599. package/js/modules/item-series.js.map +1 -8
  600. package/js/modules/item-series.src.js +42 -13
  601. package/js/modules/map.js +63 -62
  602. package/js/modules/map.js.map +1 -8
  603. package/js/modules/map.src.js +353 -145
  604. package/js/modules/no-data-to-display.js +5 -4
  605. package/js/modules/no-data-to-display.js.map +1 -8
  606. package/js/modules/no-data-to-display.src.js +10 -6
  607. package/js/modules/offline-exporting.js +14 -13
  608. package/js/modules/offline-exporting.js.map +1 -8
  609. package/js/modules/offline-exporting.src.js +6 -2
  610. package/js/modules/oldie.js +29 -27
  611. package/js/modules/oldie.js.map +1 -8
  612. package/js/modules/oldie.src.js +20 -11
  613. package/js/modules/overlapping-datalabels.js +4 -3
  614. package/js/modules/overlapping-datalabels.js.map +1 -8
  615. package/js/modules/overlapping-datalabels.src.js +6 -2
  616. package/js/modules/parallel-coordinates.js +10 -9
  617. package/js/modules/parallel-coordinates.js.map +1 -8
  618. package/js/modules/parallel-coordinates.src.js +9 -4
  619. package/js/modules/pareto.js +5 -4
  620. package/js/modules/pareto.js.map +1 -8
  621. package/js/modules/pareto.src.js +6 -2
  622. package/js/modules/pathfinder.js +34 -0
  623. package/js/modules/pathfinder.js.map +1 -0
  624. package/js/modules/pathfinder.src.js +2106 -0
  625. package/js/modules/pattern-fill.js +13 -12
  626. package/js/modules/pattern-fill.js.map +1 -8
  627. package/js/modules/pattern-fill.src.js +5 -1
  628. package/js/modules/sankey.js +13 -12
  629. package/js/modules/sankey.js.map +1 -8
  630. package/js/modules/sankey.src.js +29 -9
  631. package/js/modules/series-label.js +17 -15
  632. package/js/modules/series-label.js.map +1 -8
  633. package/js/modules/series-label.src.js +12 -8
  634. package/js/modules/solid-gauge.js +9 -8
  635. package/js/modules/solid-gauge.js.map +1 -8
  636. package/js/modules/solid-gauge.src.js +14 -7
  637. package/js/modules/static-scale.js +4 -3
  638. package/js/modules/static-scale.js.map +1 -8
  639. package/js/modules/static-scale.src.js +69 -26
  640. package/js/modules/stock.js +136 -132
  641. package/js/modules/stock.js.map +1 -8
  642. package/js/modules/stock.src.js +1543 -499
  643. package/js/modules/streamgraph.js +4 -3
  644. package/js/modules/streamgraph.js.map +1 -8
  645. package/js/modules/streamgraph.src.js +10 -6
  646. package/js/modules/sunburst.js +40 -39
  647. package/js/modules/sunburst.js.map +1 -8
  648. package/js/modules/sunburst.src.js +38 -31
  649. package/js/modules/tilemap.js +19 -18
  650. package/js/modules/tilemap.js.map +1 -8
  651. package/js/modules/tilemap.src.js +363 -190
  652. package/js/modules/treegrid.js +51 -0
  653. package/js/modules/treegrid.js.map +1 -0
  654. package/js/modules/treegrid.src.js +2759 -0
  655. package/js/modules/treemap.js +27 -26
  656. package/js/modules/treemap.js.map +1 -8
  657. package/js/modules/treemap.src.js +34 -27
  658. package/js/modules/variable-pie.js +8 -7
  659. package/js/modules/variable-pie.js.map +1 -8
  660. package/js/modules/variable-pie.src.js +8 -4
  661. package/js/modules/variwide.js +8 -7
  662. package/js/modules/variwide.js.map +1 -8
  663. package/js/modules/variwide.src.js +42 -26
  664. package/js/modules/vector.js +7 -6
  665. package/js/modules/vector.js.map +1 -8
  666. package/js/modules/vector.src.js +104 -30
  667. package/js/modules/windbarb.js +11 -10
  668. package/js/modules/windbarb.js.map +1 -8
  669. package/js/modules/windbarb.src.js +11 -7
  670. package/js/modules/wordcloud.js +18 -15
  671. package/js/modules/wordcloud.js.map +1 -8
  672. package/js/modules/wordcloud.src.js +142 -53
  673. package/js/modules/xrange.js +12 -10
  674. package/js/modules/xrange.js.map +1 -8
  675. package/js/modules/xrange.src.js +262 -71
  676. package/js/themes/avocado.js +3 -2
  677. package/js/themes/avocado.js.map +1 -8
  678. package/js/themes/avocado.src.js +5 -1
  679. package/js/themes/dark-blue.js +9 -8
  680. package/js/themes/dark-blue.js.map +1 -8
  681. package/js/themes/dark-blue.src.js +7 -3
  682. package/js/themes/dark-green.js +9 -8
  683. package/js/themes/dark-green.js.map +1 -8
  684. package/js/themes/dark-green.src.js +7 -3
  685. package/js/themes/dark-unica.js +9 -7
  686. package/js/themes/dark-unica.js.map +1 -8
  687. package/js/themes/dark-unica.src.js +7 -3
  688. package/js/themes/gray.js +10 -8
  689. package/js/themes/gray.js.map +1 -8
  690. package/js/themes/gray.src.js +7 -3
  691. package/js/themes/grid-light.js +5 -4
  692. package/js/themes/grid-light.js.map +1 -8
  693. package/js/themes/grid-light.src.js +7 -3
  694. package/js/themes/grid.js +6 -5
  695. package/js/themes/grid.js.map +1 -8
  696. package/js/themes/grid.src.js +7 -3
  697. package/js/themes/sand-signika.js +6 -5
  698. package/js/themes/sand-signika.js.map +1 -8
  699. package/js/themes/sand-signika.src.js +7 -3
  700. package/js/themes/skies.js +6 -5
  701. package/js/themes/skies.js.map +1 -8
  702. package/js/themes/skies.src.js +7 -3
  703. package/js/themes/sunset.js +3 -2
  704. package/js/themes/sunset.js.map +1 -8
  705. package/js/themes/sunset.src.js +5 -1
  706. package/modules/accessibility.js +53 -51
  707. package/modules/accessibility.js.map +1 -8
  708. package/modules/accessibility.src.js +86 -45
  709. package/modules/annotations.js +24 -22
  710. package/modules/annotations.js.map +1 -8
  711. package/modules/annotations.src.js +8 -4
  712. package/modules/arrow-symbols.js +13 -0
  713. package/modules/arrow-symbols.js.map +1 -0
  714. package/modules/arrow-symbols.src.js +138 -0
  715. package/modules/boost-canvas.js +15 -13
  716. package/modules/boost-canvas.js.map +1 -8
  717. package/modules/boost-canvas.src.js +24 -9
  718. package/modules/boost.js +57 -52
  719. package/modules/boost.js.map +1 -8
  720. package/modules/boost.src.js +305 -138
  721. package/modules/broken-axis.js +12 -10
  722. package/modules/broken-axis.js.map +1 -8
  723. package/modules/broken-axis.src.js +175 -136
  724. package/modules/bullet.js +6 -5
  725. package/modules/bullet.js.map +1 -8
  726. package/modules/bullet.src.js +7 -3
  727. package/modules/current-date-indicator.js +13 -0
  728. package/modules/current-date-indicator.js.map +1 -0
  729. package/modules/current-date-indicator.src.js +120 -0
  730. package/modules/data.js +25 -24
  731. package/modules/data.js.map +1 -8
  732. package/modules/data.src.js +14 -8
  733. package/modules/drag-panes.js +9 -8
  734. package/modules/drag-panes.js.map +1 -8
  735. package/modules/drag-panes.src.js +5 -1
  736. package/modules/draggable-points.js +38 -0
  737. package/modules/draggable-points.js.map +1 -0
  738. package/modules/draggable-points.src.js +2281 -0
  739. package/modules/drilldown.js +16 -15
  740. package/modules/drilldown.js.map +1 -8
  741. package/modules/drilldown.src.js +9 -3
  742. package/modules/export-data.js +20 -19
  743. package/modules/export-data.js.map +1 -8
  744. package/modules/export-data.src.js +17 -3
  745. package/modules/exporting.js +23 -21
  746. package/modules/exporting.js.map +1 -8
  747. package/modules/exporting.src.js +68 -38
  748. package/modules/funnel.js +8 -7
  749. package/modules/funnel.js.map +1 -8
  750. package/modules/funnel.src.js +11 -7
  751. package/modules/gantt.js +84 -19
  752. package/modules/gantt.js.map +1 -8
  753. package/modules/gantt.src.js +5557 -379
  754. package/modules/grid-axis.js +17 -10
  755. package/modules/grid-axis.js.map +1 -8
  756. package/modules/grid-axis.src.js +736 -293
  757. package/modules/heatmap.js +22 -21
  758. package/modules/heatmap.js.map +1 -8
  759. package/modules/heatmap.src.js +139 -63
  760. package/modules/histogram-bellcurve.js +9 -8
  761. package/modules/histogram-bellcurve.js.map +1 -8
  762. package/modules/histogram-bellcurve.src.js +35 -29
  763. package/modules/item-series.js +6 -4
  764. package/modules/item-series.js.map +1 -8
  765. package/modules/item-series.src.js +42 -13
  766. package/modules/map.js +65 -64
  767. package/modules/map.js.map +1 -8
  768. package/modules/map.src.js +365 -152
  769. package/modules/no-data-to-display.js +5 -4
  770. package/modules/no-data-to-display.js.map +1 -8
  771. package/modules/no-data-to-display.src.js +10 -6
  772. package/modules/offline-exporting.js +14 -12
  773. package/modules/offline-exporting.js.map +1 -8
  774. package/modules/offline-exporting.src.js +6 -2
  775. package/modules/oldie.js +29 -27
  776. package/modules/oldie.js.map +1 -8
  777. package/modules/oldie.src.js +20 -11
  778. package/modules/overlapping-datalabels.js +4 -3
  779. package/modules/overlapping-datalabels.js.map +1 -8
  780. package/modules/overlapping-datalabels.src.js +6 -2
  781. package/modules/parallel-coordinates.js +10 -9
  782. package/modules/parallel-coordinates.js.map +1 -8
  783. package/modules/parallel-coordinates.src.js +9 -4
  784. package/modules/pareto.js +5 -4
  785. package/modules/pareto.js.map +1 -8
  786. package/modules/pareto.src.js +6 -2
  787. package/modules/pathfinder.js +35 -0
  788. package/modules/pathfinder.js.map +1 -0
  789. package/modules/pathfinder.src.js +2128 -0
  790. package/modules/pattern-fill.js +13 -12
  791. package/modules/pattern-fill.js.map +1 -8
  792. package/modules/pattern-fill.src.js +5 -1
  793. package/modules/sankey.js +13 -12
  794. package/modules/sankey.js.map +1 -8
  795. package/modules/sankey.src.js +34 -12
  796. package/modules/series-label.js +17 -15
  797. package/modules/series-label.js.map +1 -8
  798. package/modules/series-label.src.js +12 -8
  799. package/modules/solid-gauge.js +9 -8
  800. package/modules/solid-gauge.js.map +1 -8
  801. package/modules/solid-gauge.src.js +16 -9
  802. package/modules/static-scale.js +4 -3
  803. package/modules/static-scale.js.map +1 -8
  804. package/modules/static-scale.src.js +69 -26
  805. package/modules/stock.js +143 -139
  806. package/modules/stock.js.map +1 -8
  807. package/modules/stock.src.js +1701 -566
  808. package/modules/streamgraph.js +4 -3
  809. package/modules/streamgraph.js.map +1 -8
  810. package/modules/streamgraph.src.js +10 -6
  811. package/modules/sunburst.js +42 -41
  812. package/modules/sunburst.js.map +1 -8
  813. package/modules/sunburst.src.js +39 -32
  814. package/modules/tilemap.js +18 -17
  815. package/modules/tilemap.js.map +1 -8
  816. package/modules/tilemap.src.js +365 -191
  817. package/modules/treegrid.js +52 -0
  818. package/modules/treegrid.js.map +1 -0
  819. package/modules/treegrid.src.js +2797 -0
  820. package/modules/treemap.js +29 -28
  821. package/modules/treemap.js.map +1 -8
  822. package/modules/treemap.src.js +35 -28
  823. package/modules/variable-pie.js +8 -7
  824. package/modules/variable-pie.js.map +1 -8
  825. package/modules/variable-pie.src.js +8 -4
  826. package/modules/variwide.js +8 -7
  827. package/modules/variwide.js.map +1 -8
  828. package/modules/variwide.src.js +42 -26
  829. package/modules/vector.js +7 -6
  830. package/modules/vector.js.map +1 -8
  831. package/modules/vector.src.js +104 -30
  832. package/modules/windbarb.js +11 -10
  833. package/modules/windbarb.js.map +1 -8
  834. package/modules/windbarb.src.js +11 -7
  835. package/modules/wordcloud.js +18 -15
  836. package/modules/wordcloud.js.map +1 -8
  837. package/modules/wordcloud.src.js +142 -53
  838. package/modules/xrange.js +13 -11
  839. package/modules/xrange.js.map +1 -8
  840. package/modules/xrange.src.js +264 -80
  841. package/package.json +1 -1
  842. package/themes/avocado.js +3 -2
  843. package/themes/avocado.js.map +1 -8
  844. package/themes/avocado.src.js +5 -1
  845. package/themes/dark-blue.js +9 -8
  846. package/themes/dark-blue.js.map +1 -8
  847. package/themes/dark-blue.src.js +7 -3
  848. package/themes/dark-green.js +9 -8
  849. package/themes/dark-green.js.map +1 -8
  850. package/themes/dark-green.src.js +7 -3
  851. package/themes/dark-unica.js +9 -7
  852. package/themes/dark-unica.js.map +1 -8
  853. package/themes/dark-unica.src.js +7 -3
  854. package/themes/gray.js +10 -8
  855. package/themes/gray.js.map +1 -8
  856. package/themes/gray.src.js +7 -3
  857. package/themes/grid-light.js +5 -4
  858. package/themes/grid-light.js.map +1 -8
  859. package/themes/grid-light.src.js +7 -3
  860. package/themes/grid.js +6 -5
  861. package/themes/grid.js.map +1 -8
  862. package/themes/grid.src.js +7 -3
  863. package/themes/sand-signika.js +6 -5
  864. package/themes/sand-signika.js.map +1 -8
  865. package/themes/sand-signika.src.js +7 -3
  866. package/themes/skies.js +6 -5
  867. package/themes/skies.js.map +1 -8
  868. package/themes/skies.src.js +7 -3
  869. package/themes/sunset.js +3 -2
  870. package/themes/sunset.js.map +1 -8
  871. package/themes/sunset.src.js +5 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -14,36 +14,6 @@ import './Series.js';
14
14
  import './Options.js';
15
15
  import './Scrollbar.js';
16
16
 
17
- /**
18
- * Options for the corresponding navigator series if `showInNavigator`
19
- * is `true` for this series. Available options are the same as any
20
- * series, documented at [plotOptions](#plotOptions.series) and
21
- * [series](#series).
22
- *
23
- *
24
- * These options are merged with options in [navigator.series](
25
- * #navigator.series), and will take precedence if the same option is defined
26
- * both places.
27
- *
28
- * @type {Object}
29
- * @see [navigator.series](#navigator.series)
30
- * @default undefined
31
- * @since 5.0.0
32
- * @product highstock
33
- * @apioption plotOptions.series.navigatorOptions
34
- */
35
-
36
- /**
37
- * Whether or not to show the series in the navigator. Takes precedence
38
- * over [navigator.baseSeries](#navigator.baseSeries) if defined.
39
- *
40
- * @type {Boolean}
41
- * @default undefined
42
- * @since 5.0.0
43
- * @product highstock
44
- * @apioption plotOptions.series.showInNavigator
45
- */
46
-
47
17
  var addEvent = H.addEvent,
48
18
  Axis = H.Axis,
49
19
  Chart = H.Chart,
@@ -102,24 +72,85 @@ extend(defaultOptions, {
102
72
  * @optionparent navigator
103
73
  */
104
74
  navigator: {
75
+
76
+ /**
77
+ * Whether the navigator and scrollbar should adapt to updated data
78
+ * in the base X axis. When loading data async, as in the demo below,
79
+ * this should be `false`. Otherwise new data will trigger navigator
80
+ * redraw, which will cause unwanted looping. In the demo below, the
81
+ * data in the navigator is set only once. On navigating, only the main
82
+ * chart content is updated.
83
+ *
84
+ * @sample {highstock} stock/demo/lazy-loading/
85
+ * Set to false with async data loading
86
+ *
87
+ * @type {boolean}
88
+ * @default true
89
+ * @product highstock
90
+ * @apioption navigator.adaptToUpdatedData
91
+ */
92
+
93
+ /**
94
+ * An integer identifying the index to use for the base series, or a
95
+ * string representing the id of the series.
96
+ *
97
+ * **Note**: As of Highcharts 5.0, this is now a deprecated option.
98
+ * Prefer [series.showInNavigator](#plotOptions.series.showInNavigator).
99
+ *
100
+ * @see [series.showInNavigator](#plotOptions.series.showInNavigator)
101
+ *
102
+ * @deprecated
103
+ * @type {*}
104
+ * @default 0
105
+ * @product highstock
106
+ * @apioption navigator.baseSeries
107
+ */
108
+
109
+ /**
110
+ * Enable or disable the navigator.
111
+ *
112
+ * @sample {highstock} stock/navigator/enabled/ Disable the navigator
113
+ *
114
+ * @type {boolean}
115
+ * @default true
116
+ * @product highstock
117
+ * @apioption navigator.enabled
118
+ */
119
+
120
+ /**
121
+ * When the chart is inverted, whether to draw the navigator on the
122
+ * opposite side.
123
+ *
124
+ * @type {boolean}
125
+ * @default false
126
+ * @since 5.0.8
127
+ * @product highstock
128
+ * @apioption navigator.opposite
129
+ */
130
+
105
131
  /**
106
132
  * The height of the navigator.
107
133
  *
108
- * @type {Number}
109
- * @sample {highstock} stock/navigator/height/ A higher navigator
110
- * @default 40
111
- * @product highstock
134
+ * @sample {highstock} stock/navigator/height/
135
+ * A higher navigator
136
+ *
137
+ * @type {number}
138
+ * @default 40
139
+ * @product highstock
140
+ * @apioption navigator.height
112
141
  */
113
142
  height: 40,
114
143
 
115
144
  /**
116
145
  * The distance from the nearest element, the X axis or X axis labels.
117
146
  *
118
- * @type {Number}
119
147
  * @sample {highstock} stock/navigator/margin/
120
148
  * A margin of 2 draws the navigator closer to the X axis labels
121
- * @default 25
122
- * @product highstock
149
+ *
150
+ * @type {number}
151
+ * @default 25
152
+ * @product highstock
153
+ * @apioption navigator.margin
123
154
  */
124
155
  margin: 25,
125
156
 
@@ -127,44 +158,53 @@ extend(defaultOptions, {
127
158
  * Whether the mask should be inside the range marking the zoomed
128
159
  * range, or outside. In Highstock 1.x it was always `false`.
129
160
  *
130
- * @type {Boolean}
131
161
  * @sample {highstock} stock/navigator/maskinside-false/
132
162
  * False, mask outside
133
- * @default true
134
- * @since 2.0
135
- * @product highstock
163
+ *
164
+ * @type {boolean}
165
+ * @default true
166
+ * @since 2.0
167
+ * @product highstock
168
+ * @apioption navigator.maskInside
136
169
  */
137
170
  maskInside: true,
138
171
 
139
172
  /**
140
173
  * Options for the handles for dragging the zoomed area.
141
174
  *
142
- * @type {Object}
143
- * @sample {highstock} stock/navigator/handles/ Colored handles
144
- * @product highstock
175
+ * @sample {highstock} stock/navigator/handles/
176
+ * Colored handles
177
+ *
178
+ * @type {*}
179
+ * @product highstock
180
+ * @apioption navigator.handles
145
181
  */
146
182
  handles: {
147
183
  /**
148
184
  * Width for handles.
149
185
  *
150
- * @type {Number}
151
- * @default 7
152
- * @product highstock
153
186
  * @sample {highstock} stock/navigator/styled-handles/
154
187
  * Styled handles
155
- * @since 6.0.0
188
+ *
189
+ * @type {number}
190
+ * @default 7
191
+ * @since 6.0.0
192
+ * @product highstock
193
+ * @apioption navigator.handles.width
156
194
  */
157
195
  width: 7,
158
196
 
159
197
  /**
160
198
  * Height for handles.
161
199
  *
162
- * @type {Number}
163
- * @default 15
164
- * @product highstock
165
200
  * @sample {highstock} stock/navigator/styled-handles/
166
201
  * Styled handles
167
- * @since 6.0.0
202
+ *
203
+ * @type {number}
204
+ * @default 15
205
+ * @since 6.0.0
206
+ * @product highstock
207
+ * @apioption navigator.handles.height
168
208
  */
169
209
  height: 15,
170
210
 
@@ -181,22 +221,25 @@ extend(defaultOptions, {
181
221
  * `Highcharts.SVGRenderer.prototype.symbols`. The callback is then
182
222
  * used by its method name, as shown in the demo.
183
223
  *
184
- * @type {Array}
185
- * @default ['navigator-handle', 'navigator-handle']
186
- * @product highstock
187
224
  * @sample {highstock} stock/navigator/styled-handles/
188
225
  * Styled handles
189
- * @since 6.0.0
226
+ *
227
+ * @type {Array<string>}
228
+ * @default ['navigator-handle', 'navigator-handle']
229
+ * @since 6.0.0
230
+ * @product highstock
231
+ * @apioption navigator.handles.symbols
190
232
  */
191
233
  symbols: ['navigator-handle', 'navigator-handle'],
192
234
 
193
235
  /**
194
236
  * Allows to enable/disable handles.
195
237
  *
196
- * @type {Boolean}
197
- * @default true
198
- * @product highstock
199
- * @since 6.0.0
238
+ * @type {boolean}
239
+ * @default true
240
+ * @since 6.0.0
241
+ * @product highstock
242
+ * @apioption navigator.handles.enabled
200
243
  */
201
244
  enabled: true
202
245
 
@@ -227,14 +270,17 @@ extend(defaultOptions, {
227
270
  * }
228
271
  * }</pre>
229
272
  *
230
- * @type {Object}
231
273
  * @see In styled mode, the navigator series is styled with the
232
274
  * `.highcharts-navigator-series` class.
275
+ *
233
276
  * @sample {highstock} stock/navigator/series-data/
234
277
  * Using a separate data set for the navigator
235
278
  * @sample {highstock} stock/navigator/series/
236
279
  * A green navigator series
237
- * @product highstock
280
+ *
281
+ * @type {*}
282
+ * @product highstock
283
+ * @apioption navigator.series
238
284
  */
239
285
  series: {
240
286
 
@@ -242,7 +288,9 @@ extend(defaultOptions, {
242
288
  * The type of the navigator series. Defaults to `areaspline` if
243
289
  * defined, otherwise `line`.
244
290
  *
245
- * @type {String}
291
+ * @type {string}
292
+ * @default areaspline
293
+ * @apioption navigator.series.type
246
294
  */
247
295
  type: defaultSeriesType,
248
296
 
@@ -255,7 +303,9 @@ extend(defaultOptions, {
255
303
  /**
256
304
  * Data grouping options for the navigator series.
257
305
  *
258
- * @extends {plotOptions.series.dataGrouping}
306
+ * @type {*}
307
+ * @extends plotOptions.series.dataGrouping
308
+ * @apioption navigator.series.dataGrouping
259
309
  */
260
310
  dataGrouping: {
261
311
  approximation: 'average',
@@ -269,7 +319,9 @@ extend(defaultOptions, {
269
319
  * Data label options for the navigator series. Data labels are
270
320
  * disabled by default on the navigator series.
271
321
  *
272
- * @extends {plotOptions.series.dataLabels}
322
+ * @type {*}
323
+ * @extends plotOptions.series.dataLabels
324
+ * @apioption navigator.series.dataLabels
273
325
  */
274
326
  dataLabels: {
275
327
  enabled: false,
@@ -283,7 +335,9 @@ extend(defaultOptions, {
283
335
  * Line color for the navigator series. Allows setting the color
284
336
  * while disallowing the default candlestick setting.
285
337
  *
286
- * @type {Color}
338
+ * @type {Highcharts.ColorString|null}
339
+ * @default null
340
+ * @apioption navigator.series.lineColor
287
341
  */
288
342
  lineColor: null, // #4602
289
343
 
@@ -295,7 +349,10 @@ extend(defaultOptions, {
295
349
  /**
296
350
  * The threshold option. Setting it to 0 will make the default
297
351
  * navigator area series draw its area from the 0 value and up.
298
- * @type {Number}
352
+ *
353
+ * @type {number|null}
354
+ * @default null
355
+ * @apioption navigator.series.threshold
299
356
  */
300
357
  threshold: null
301
358
  },
@@ -319,11 +376,12 @@ extend(defaultOptions, {
319
376
  * }
320
377
  * }</pre>
321
378
  *
322
- * @type {Object}
323
- * @extends {xAxis}
324
- * @excluding linkedTo,maxZoom,minRange,opposite,range,scrollbar,
325
- * showEmpty,maxRange
326
- * @product highstock
379
+ * @type {*}
380
+ * @extends xAxis
381
+ * @excluding linkedTo,maxZoom,minRange,opposite,range,scrollbar,
382
+ * showEmpty,maxRange
383
+ * @product highstock
384
+ * @apioption navigator.xAxis
327
385
  */
328
386
  xAxis: {
329
387
  /**
@@ -331,11 +389,11 @@ extend(defaultOptions, {
331
389
  * xAxis.maxPadding, but value is set in milliseconds.
332
390
  * Can be set for both, main xAxis and navigator's xAxis.
333
391
  *
334
- * @type {Number}
335
- * @default 0
336
- * @since 6.0.0
337
- * @product highstock
338
- * @apioption xAxis.overscroll
392
+ * @type {number}
393
+ * @default 0
394
+ * @since 6.0.0
395
+ * @product highstock
396
+ * @apioption navigator.xAxis.overscroll
339
397
  */
340
398
  overscroll: 0,
341
399
 
@@ -377,11 +435,12 @@ extend(defaultOptions, {
377
435
  * tickWidth: 0
378
436
  * }</pre>
379
437
  *
380
- * @type {Object}
381
- * @extends {yAxis}
382
- * @excluding height,linkedTo,maxZoom,minRange,ordinal,range,showEmpty,
383
- * scrollbar,top,units,maxRange,minLength,maxLength,resize
384
- * @product highstock
438
+ * @type {*}
439
+ * @extends yAxis
440
+ * @excluding height,linkedTo,maxZoom,minRange,ordinal,range,showEmpty,
441
+ * scrollbar,top,units,maxRange,minLength,maxLength,resize
442
+ * @product highstock
443
+ * @apioption navigator.yAxis
385
444
  */
386
445
  yAxis: {
387
446
 
@@ -408,8 +467,14 @@ extend(defaultOptions, {
408
467
 
409
468
  /**
410
469
  * Draw one of the handles on the side of the zoomed range in the navigator
411
- * @param {Boolean} inverted flag for chart.inverted
412
- * @returns {Array} Path to be used in a handle
470
+ *
471
+ * @function Highcharts.Renderer#symbols.navigator-handle
472
+ *
473
+ * @param {boolean} inverted
474
+ * flag for chart.inverted
475
+ *
476
+ * @return {Array<number|string>}
477
+ * Path to be used in a handle
413
478
  */
414
479
  H.Renderer.prototype.symbols['navigator-handle'] = function (
415
480
  x,
@@ -446,8 +511,11 @@ H.Renderer.prototype.symbols['navigator-handle'] = function (
446
511
 
447
512
  /**
448
513
  * The Navigator class
449
- * @param {Object} chart - Chart object
450
- * @class
514
+ *
515
+ * @class Highcharts.Navigator
516
+ *
517
+ * @param {Highcharts.Chart} chart
518
+ * Chart object
451
519
  */
452
520
  function Navigator(chart) {
453
521
  this.init(chart);
@@ -456,10 +524,20 @@ function Navigator(chart) {
456
524
  Navigator.prototype = {
457
525
  /**
458
526
  * Draw one of the handles on the side of the zoomed range in the navigator
459
- * @param {Number} x The x center for the handle
460
- * @param {Number} index 0 for left and 1 for right
461
- * @param {Boolean} inverted flag for chart.inverted
462
- * @param {String} verb use 'animate' or 'attr'
527
+ *
528
+ * @function Highcharts.Navigator#drawHandle
529
+ *
530
+ * @param {number} x
531
+ * The x center for the handle
532
+ *
533
+ * @param {number} index
534
+ * 0 for left and 1 for right
535
+ * @param {boolean} inverted
536
+ * flag for chart.inverted
537
+ * @param {string} verb
538
+ * use 'animate' or 'attr'
539
+ *
540
+ * @return {void}
463
541
  */
464
542
  drawHandle: function (x, index, inverted, verb) {
465
543
  var navigator = this,
@@ -481,10 +559,22 @@ Navigator.prototype = {
481
559
 
482
560
  /**
483
561
  * Render outline around the zoomed range
484
- * @param {Number} zoomedMin in pixels position where zoomed range starts
485
- * @param {Number} zoomedMax in pixels position where zoomed range ends
486
- * @param {Boolean} inverted flag if chart is inverted
487
- * @param {String} verb use 'animate' or 'attr'
562
+ *
563
+ * @function Highcharts.Navigator#drawOutline
564
+ *
565
+ * @param {number} zoomedMin
566
+ * in pixels position where zoomed range starts
567
+ *
568
+ * @param {number} zoomedMax
569
+ * in pixels position where zoomed range ends
570
+ *
571
+ * @param {boolean} inverted
572
+ * flag if chart is inverted
573
+ *
574
+ * @param {string} verb
575
+ * use 'animate' or 'attr'
576
+ *
577
+ * @return {void}
488
578
  */
489
579
  drawOutline: function (zoomedMin, zoomedMax, inverted, verb) {
490
580
  var navigator = this,
@@ -572,10 +662,22 @@ Navigator.prototype = {
572
662
 
573
663
  /**
574
664
  * Render outline around the zoomed range
575
- * @param {Number} zoomedMin in pixels position where zoomed range starts
576
- * @param {Number} zoomedMax in pixels position where zoomed range ends
577
- * @param {Boolean} inverted flag if chart is inverted
578
- * @param {String} verb use 'animate' or 'attr'
665
+ *
666
+ * @function Highcharts.Navigator#drawMasks
667
+ *
668
+ * @param {number} zoomedMin
669
+ * in pixels position where zoomed range starts
670
+ *
671
+ * @param {number} zoomedMax
672
+ * in pixels position where zoomed range ends
673
+ *
674
+ * @param {boolean} inverted
675
+ * flag if chart is inverted
676
+ *
677
+ * @param {string} verb
678
+ * use 'animate' or 'attr'
679
+ *
680
+ * @return {void}
579
681
  */
580
682
  drawMasks: function (zoomedMin, zoomedMax, inverted, verb) {
581
683
  var navigator = this,
@@ -624,6 +726,10 @@ Navigator.prototype = {
624
726
  * - all shades
625
727
  * - outline
626
728
  * - handles
729
+ *
730
+ * @function Highcharts.Navigator#renderElements
731
+ *
732
+ * @return {void}
627
733
  */
628
734
  renderElements: function () {
629
735
  var navigator = this,
@@ -688,7 +794,13 @@ Navigator.prototype = {
688
794
 
689
795
  /**
690
796
  * Update navigator
691
- * @param {Object} options Options to merge in when updating navigator
797
+ *
798
+ * @function Highcharts.Navigator#update
799
+ *
800
+ * @param {Highcharts.NavigatorOptions} options
801
+ * Options to merge in when updating navigator
802
+ *
803
+ * @return {void}
692
804
  */
693
805
  update: function (options) {
694
806
  // Remove references to old navigator series in base series
@@ -706,10 +818,22 @@ Navigator.prototype = {
706
818
 
707
819
  /**
708
820
  * Render the navigator
709
- * @param {Number} min X axis value minimum
710
- * @param {Number} max X axis value maximum
711
- * @param {Number} pxMin Pixel value minimum
712
- * @param {Number} pxMax Pixel value maximum
821
+ *
822
+ * @function Highcharts.Navigator#render
823
+ *
824
+ * @param {number} min
825
+ * X axis value minimum
826
+ *
827
+ * @param {number} max
828
+ * X axis value maximum
829
+ *
830
+ * @param {number} pxMin
831
+ * Pixel value minimum
832
+ *
833
+ * @param {number} pxMax
834
+ * Pixel value maximum
835
+ *
836
+ * @return {void}
713
837
  */
714
838
  render: function (min, max, pxMin, pxMax) {
715
839
 
@@ -869,8 +993,8 @@ Navigator.prototype = {
869
993
  navigator.scrollbar.setRange(
870
994
  // Use real value, not rounded because range can be very small
871
995
  // (#1716)
872
- navigator.zoomedMin / navigatorSize,
873
- navigator.zoomedMax / navigatorSize
996
+ navigator.zoomedMin / (navigatorSize || 1),
997
+ navigator.zoomedMax / (navigatorSize || 1)
874
998
  );
875
999
  }
876
1000
  navigator.rendered = true;
@@ -878,6 +1002,10 @@ Navigator.prototype = {
878
1002
 
879
1003
  /**
880
1004
  * Set up the mouse and touch events for the navigator
1005
+ *
1006
+ * @function Highcharts.Navigator#addMouseEvents
1007
+ *
1008
+ * @return {void}
881
1009
  */
882
1010
  addMouseEvents: function () {
883
1011
  var navigator = this,
@@ -935,8 +1063,14 @@ Navigator.prototype = {
935
1063
 
936
1064
  /**
937
1065
  * Generate events for handles and masks
938
- * @param {String} eventName Event name handler, 'mousedown' or 'touchstart'
939
- * @returns {Array} An array of arrays: [DOMElement, eventName, callback].
1066
+ *
1067
+ * @function Highcharts.Navigator#getPartsEvents
1068
+ *
1069
+ * @param {string} eventName
1070
+ * Event name handler, 'mousedown' or 'touchstart'
1071
+ *
1072
+ * @return {Array<*>}
1073
+ * An array of arrays: [DOMElement, eventName, callback].
940
1074
  */
941
1075
  getPartsEvents: function (eventName) {
942
1076
  var navigator = this,
@@ -962,8 +1096,15 @@ Navigator.prototype = {
962
1096
  * - will be stored for future drag&drop
963
1097
  * - will directly shift to a new range
964
1098
  *
965
- * @param {Object} e Mouse event
966
- * @param {Number} index Index of a mask in Navigator.shades array
1099
+ * @function Highcharts.Navigator#shadesMousedown
1100
+ *
1101
+ * @param {*} e
1102
+ * Mouse event
1103
+ *
1104
+ * @param {number} index
1105
+ * Index of a mask in Navigator.shades array
1106
+ *
1107
+ * @return {void}
967
1108
  */
968
1109
  shadesMousedown: function (e, index) {
969
1110
  e = this.chart.pointer.normalize(e);
@@ -999,7 +1140,7 @@ Navigator.prototype = {
999
1140
  left = Math.max(0, left);
1000
1141
  } else if (index === 2 && left + range >= navigatorSize) {
1001
1142
  left = navigatorSize - range;
1002
- if (xAxis.reversed) {
1143
+ if (navigator.reversedExtremes) {
1003
1144
  // #7713
1004
1145
  left -= range;
1005
1146
  fixedMin = navigator.getUnionExtremes().dataMin;
@@ -1034,8 +1175,15 @@ Navigator.prototype = {
1034
1175
  * Mousedown on a handle mask.
1035
1176
  * Will store necessary information for drag&drop.
1036
1177
  *
1037
- * @param {Object} e Mouse event
1038
- * @param {Number} index Index of a handle in Navigator.handles array
1178
+ * @function Highcharts.Navigator#handlesMousedown
1179
+ *
1180
+ * @param {*} e
1181
+ * Mouse event
1182
+ *
1183
+ * @param {number} index
1184
+ * Index of a handle in Navigator.handles array
1185
+ *
1186
+ * @return {void}
1039
1187
  */
1040
1188
  handlesMousedown: function (e, index) {
1041
1189
  e = this.chart.pointer.normalize(e);
@@ -1043,10 +1191,9 @@ Navigator.prototype = {
1043
1191
  var navigator = this,
1044
1192
  chart = navigator.chart,
1045
1193
  baseXAxis = chart.xAxis[0],
1046
- // For reversed axes, min and max are chagned,
1194
+ // For reversed axes, min and max are changed,
1047
1195
  // so the other extreme should be stored
1048
- reverse = (chart.inverted && !baseXAxis.reversed) ||
1049
- (!chart.inverted && baseXAxis.reversed);
1196
+ reverse = navigator.reversedExtremes;
1050
1197
 
1051
1198
  if (index === 0) {
1052
1199
  // Grab the left handle
@@ -1064,7 +1211,13 @@ Navigator.prototype = {
1064
1211
  },
1065
1212
  /**
1066
1213
  * Mouse move event based on x/y mouse position.
1067
- * @param {Object} e Mouse event
1214
+ *
1215
+ * @function Highcharts.Navigator#onMouseMove
1216
+ *
1217
+ * @param {*} e
1218
+ * Mouse event
1219
+ *
1220
+ * @return {void}
1068
1221
  */
1069
1222
  onMouseMove: function (e) {
1070
1223
  var navigator = this,
@@ -1129,7 +1282,13 @@ Navigator.prototype = {
1129
1282
  if (
1130
1283
  navigator.hasDragged &&
1131
1284
  navigator.scrollbar &&
1132
- navigator.scrollbar.options.liveRedraw
1285
+ pick(
1286
+ navigator.scrollbar.options.liveRedraw,
1287
+
1288
+ // By default, don't run live redraw on VML, on touch
1289
+ // devices or if the chart is in boost.
1290
+ H.svg && !isTouchDevice && !this.chart.isBoosting
1291
+ )
1133
1292
  ) {
1134
1293
  e.DOMType = e.type; // DOMType is for IE8
1135
1294
  setTimeout(function () {
@@ -1141,13 +1300,18 @@ Navigator.prototype = {
1141
1300
 
1142
1301
  /**
1143
1302
  * Mouse up event based on x/y mouse position.
1144
- * @param {Object} e Mouse event
1303
+ *
1304
+ * @function Highcharts.Navigator#onMouseUp
1305
+ *
1306
+ * @param {*} e
1307
+ * Mouse event
1308
+ *
1309
+ * @return {void}
1145
1310
  */
1146
1311
  onMouseUp: function (e) {
1147
1312
  var navigator = this,
1148
1313
  chart = navigator.chart,
1149
1314
  xAxis = navigator.xAxis,
1150
- reversed = xAxis && xAxis.reversed,
1151
1315
  scrollbar = navigator.scrollbar,
1152
1316
  unionExtremes,
1153
1317
  fixedMin,
@@ -1172,13 +1336,13 @@ Navigator.prototype = {
1172
1336
  }
1173
1337
  // Snap to right edge (#4076)
1174
1338
  if (navigator.zoomedMax === navigator.size) {
1175
- fixedMax = reversed ?
1339
+ fixedMax = navigator.reversedExtremes ?
1176
1340
  unionExtremes.dataMin : unionExtremes.dataMax;
1177
1341
  }
1178
1342
 
1179
1343
  // Snap to left edge (#7576)
1180
1344
  if (navigator.zoomedMin === 0) {
1181
- fixedMin = reversed ?
1345
+ fixedMin = navigator.reversedExtremes ?
1182
1346
  unionExtremes.dataMax : unionExtremes.dataMin;
1183
1347
  }
1184
1348
 
@@ -1216,6 +1380,10 @@ Navigator.prototype = {
1216
1380
 
1217
1381
  /**
1218
1382
  * Removes the event handlers attached previously with addEvents.
1383
+ *
1384
+ * @function Highcharts.Navigator#removeEvents
1385
+ *
1386
+ * @return {void}
1219
1387
  */
1220
1388
  removeEvents: function () {
1221
1389
  if (this.eventsToUnbind) {
@@ -1229,6 +1397,10 @@ Navigator.prototype = {
1229
1397
 
1230
1398
  /**
1231
1399
  * Remove data events.
1400
+ *
1401
+ * @function Highcharts.Navigator#removeBaseSeriesEvents
1402
+ *
1403
+ * @return {void}
1232
1404
  */
1233
1405
  removeBaseSeriesEvents: function () {
1234
1406
  var baseSeries = this.baseSeries || [];
@@ -1252,6 +1424,12 @@ Navigator.prototype = {
1252
1424
 
1253
1425
  /**
1254
1426
  * Initiate the Navigator object
1427
+ *
1428
+ * @function Highcharts.Navigator#init
1429
+ *
1430
+ * @param {Highcharts.Chart} chart
1431
+ *
1432
+ * @return {void}
1255
1433
  */
1256
1434
  init: function (chart) {
1257
1435
  var chartOptions = chart.options,
@@ -1288,22 +1466,6 @@ Navigator.prototype = {
1288
1466
  baseXaxis = baseSeries && baseSeries[0] && baseSeries[0].xAxis ||
1289
1467
  chart.xAxis[0] || { options: {} };
1290
1468
 
1291
-
1292
- // Make room for the navigator, can be placed around the chart:
1293
- addEvent(chart, 'getMargins', function () {
1294
- var marginName = navigator.opposite ? 'plotTop' : 'marginBottom';
1295
- if (chart.inverted) {
1296
- marginName = navigator.opposite ? 'marginRight' : 'plotLeft';
1297
- }
1298
-
1299
- chart[marginName] = (chart[marginName] || 0) + (
1300
- navigatorEnabled || !chart.inverted ?
1301
- navigator.outlineHeight :
1302
- 0
1303
- ) + navigatorOptions.margin;
1304
-
1305
- });
1306
-
1307
1469
  chart.isDirtyBox = true;
1308
1470
 
1309
1471
  if (navigator.navigatorEnabled) {
@@ -1318,6 +1480,7 @@ Navigator.prototype = {
1318
1480
  isX: true,
1319
1481
  type: 'datetime',
1320
1482
  index: xAxisIndex,
1483
+ isInternal: true,
1321
1484
  offset: 0,
1322
1485
  keepOrdinalPadding: true, // #2436
1323
1486
  startOnTick: false,
@@ -1338,6 +1501,7 @@ Navigator.prototype = {
1338
1501
  alignTicks: false,
1339
1502
  offset: 0,
1340
1503
  index: yAxisIndex,
1504
+ isInternal: true,
1341
1505
  zoomEnabled: false
1342
1506
  }, chart.inverted ? {
1343
1507
  width: height
@@ -1365,6 +1529,12 @@ Navigator.prototype = {
1365
1529
  );
1366
1530
  }
1367
1531
 
1532
+ navigator.reversedExtremes = (
1533
+ chart.inverted && !navigator.xAxis.reversed
1534
+ ) || (
1535
+ !chart.inverted && navigator.xAxis.reversed
1536
+ );
1537
+
1368
1538
  // Render items, so we can bind events to them:
1369
1539
  navigator.renderElements();
1370
1540
  // Add mouse events
@@ -1443,7 +1613,13 @@ Navigator.prototype = {
1443
1613
  /**
1444
1614
  * Get the union data extremes of the chart - the outer data extremes of the
1445
1615
  * base X axis and the navigator axis.
1446
- * @param {boolean} returnFalseOnNoBaseSeries - as the param says.
1616
+ *
1617
+ * @function Highcharts.Navigator#getUnionExtremes
1618
+ *
1619
+ * @param {boolean} returnFalseOnNoBaseSeries
1620
+ * as the param says.
1621
+ *
1622
+ * @return {*}
1447
1623
  */
1448
1624
  getUnionExtremes: function (returnFalseOnNoBaseSeries) {
1449
1625
  var baseAxis = this.chart.xAxis[0],
@@ -1483,10 +1659,16 @@ Navigator.prototype = {
1483
1659
  * Set the base series and update the navigator series from this. With a bit
1484
1660
  * of modification we should be able to make this an API method to be called
1485
1661
  * from the outside
1486
- * @param {Object} baseSeriesOptions
1662
+ *
1663
+ * @function Highcharts.Navigator#setBaseSeries
1664
+ *
1665
+ * @param {*} baseSeriesOptions
1487
1666
  * Additional series options for a navigator
1488
- * @param {Boolean} [redraw]
1667
+ *
1668
+ * @param {boolean} [redraw]
1489
1669
  * Whether to redraw after update.
1670
+ *
1671
+ * @return {void}
1490
1672
  */
1491
1673
  setBaseSeries: function (baseSeriesOptions, redraw) {
1492
1674
  var chart = this.chart,
@@ -1523,9 +1705,17 @@ Navigator.prototype = {
1523
1705
  }
1524
1706
  },
1525
1707
 
1526
- /*
1708
+ /**
1527
1709
  * Update series in the navigator from baseSeries, adding new if does not
1528
1710
  * exist.
1711
+ *
1712
+ * @function Highcharts.Navigator.updateNavigatorSeries
1713
+ *
1714
+ * @param {boolean} addEvents
1715
+ *
1716
+ * @param {boolean} redraw
1717
+ *
1718
+ * @return {void}
1529
1719
  */
1530
1720
  updateNavigatorSeries: function (addEvents, redraw) {
1531
1721
  var navigator = this,
@@ -1562,8 +1752,11 @@ Navigator.prototype = {
1562
1752
  );
1563
1753
  delete base.navigatorSeries;
1564
1754
  }
1565
- // Kill the nav series
1566
- navSeries.destroy();
1755
+ // Kill the nav series. It may already have been
1756
+ // destroyed (#8715).
1757
+ if (navSeries.chart) {
1758
+ navSeries.destroy();
1759
+ }
1567
1760
  return false;
1568
1761
  }
1569
1762
  return true;
@@ -1679,6 +1872,10 @@ Navigator.prototype = {
1679
1872
  /**
1680
1873
  * Add data events.
1681
1874
  * For example when main series is updated we need to recalculate extremes
1875
+ *
1876
+ * @function Highcharts.Navigator#addBaseSeriesEvent
1877
+ *
1878
+ * @return {void}
1682
1879
  */
1683
1880
  addBaseSeriesEvents: function () {
1684
1881
  var navigator = this,
@@ -1730,10 +1927,32 @@ Navigator.prototype = {
1730
1927
  }, this);
1731
1928
  },
1732
1929
 
1930
+ /**
1931
+ * Get minimum from all base series connected to the navigator
1932
+ *
1933
+ * @param {number} currentSeriesMin
1934
+ * Minium from the current series
1935
+ *
1936
+ * @return {number} Minimum from all series
1937
+ */
1938
+ getBaseSeriesMin: function (currentSeriesMin) {
1939
+ return H.reduce(
1940
+ this.baseSeries,
1941
+ function (min, series) {
1942
+ return Math.min(min, series.xData[0]);
1943
+ },
1944
+ currentSeriesMin
1945
+ );
1946
+ },
1947
+
1733
1948
  /**
1734
1949
  * Set the navigator x axis extremes to reflect the total. The navigator
1735
1950
  * extremes should always be the extremes of the union of all series in the
1736
1951
  * chart as well as the navigator series.
1952
+ *
1953
+ * @function Highcharts.Navigator#modifyNavigatorAxisExtremes
1954
+ *
1955
+ * @return {void}
1737
1956
  */
1738
1957
  modifyNavigatorAxisExtremes: function () {
1739
1958
  var xAxis = this.xAxis,
@@ -1756,6 +1975,10 @@ Navigator.prototype = {
1756
1975
 
1757
1976
  /**
1758
1977
  * Hook to modify the base axis extremes with information from the Navigator
1978
+ *
1979
+ * @function Highcharts.Navigator#modifyBaseAxisExtremes
1980
+ *
1981
+ * @return {void}
1759
1982
  */
1760
1983
  modifyBaseAxisExtremes: function () {
1761
1984
  var baseXAxis = this,
@@ -1798,8 +2021,11 @@ Navigator.prototype = {
1798
2021
  if (!stickToMin) {
1799
2022
  newMin = Math.max(
1800
2023
  newMax - range,
1801
- navigatorSeries && navigatorSeries.xData ?
1802
- navigatorSeries.xData[0] : -Number.MAX_VALUE
2024
+ navigator.getBaseSeriesMin(
2025
+ navigatorSeries && navigatorSeries.xData ?
2026
+ navigatorSeries.xData[0] :
2027
+ -Number.MAX_VALUE
2028
+ )
1803
2029
  );
1804
2030
  }
1805
2031
  }
@@ -1821,15 +2047,20 @@ Navigator.prototype = {
1821
2047
  * Handler for updated data on the base series. When data is modified, the
1822
2048
  * navigator series must reflect it. This is called from the Chart.redraw
1823
2049
  * function before axis and series extremes are computed.
2050
+ *
2051
+ * @function Highcharts.Navigator#updateDataHandler
2052
+ *
2053
+ * @return {void}
1824
2054
  */
1825
2055
  updatedDataHandler: function () {
1826
2056
  var navigator = this.chart.navigator,
1827
2057
  baseSeries = this,
1828
- navigatorSeries = this.navigatorSeries;
2058
+ navigatorSeries = this.navigatorSeries,
2059
+ xDataMin = navigator.getBaseSeriesMin(baseSeries.xData[0]);
1829
2060
 
1830
2061
  // If the scrollbar is scrolled all the way to the right, keep right as
1831
2062
  // new data comes in.
1832
- navigator.stickToMax = navigator.xAxis.reversed ?
2063
+ navigator.stickToMax = navigator.reversedExtremes ?
1833
2064
  Math.round(navigator.zoomedMin) === 0 :
1834
2065
  Math.round(navigator.zoomedMax) >= Math.round(navigator.size);
1835
2066
 
@@ -1837,7 +2068,7 @@ Navigator.prototype = {
1837
2068
  // maximum. If the current axis minimum falls outside the new updated
1838
2069
  // dataset, we must adjust.
1839
2070
  navigator.stickToMin = isNumber(baseSeries.xAxis.min) &&
1840
- (baseSeries.xAxis.min <= baseSeries.xData[0]) &&
2071
+ (baseSeries.xAxis.min <= xDataMin) &&
1841
2072
  (!this.chart.fixedRange || !navigator.stickToMax);
1842
2073
 
1843
2074
  // Set the navigator series data to the new data of the base series
@@ -1854,27 +2085,66 @@ Navigator.prototype = {
1854
2085
 
1855
2086
  /**
1856
2087
  * Add chart events, like redrawing navigator, when chart requires that.
2088
+ *
2089
+ * @function Highcharts.Navigator#addChartEvents
2090
+ *
2091
+ * @return {void}
1857
2092
  */
1858
2093
  addChartEvents: function () {
1859
- addEvent(this.chart, 'redraw', function () {
2094
+ if (!this.eventsToUnbind) {
2095
+ this.eventsToUnbind = [];
2096
+ }
2097
+
2098
+ this.eventsToUnbind.push(
1860
2099
  // Move the scrollbar after redraw, like after data updata even if
1861
2100
  // axes don't redraw
1862
- var navigator = this.navigator,
1863
- xAxis = navigator && (
1864
- navigator.baseSeries &&
1865
- navigator.baseSeries[0] &&
1866
- navigator.baseSeries[0].xAxis ||
1867
- navigator.scrollbar && this.xAxis[0]
1868
- ); // #5709
1869
-
1870
- if (xAxis) {
1871
- navigator.render(xAxis.min, xAxis.max);
1872
- }
1873
- });
2101
+ addEvent(
2102
+ this.chart,
2103
+ 'redraw',
2104
+ function () {
2105
+ var navigator = this.navigator,
2106
+ xAxis = navigator && (
2107
+ navigator.baseSeries &&
2108
+ navigator.baseSeries[0] &&
2109
+ navigator.baseSeries[0].xAxis ||
2110
+ navigator.scrollbar && this.xAxis[0]
2111
+ ); // #5709
2112
+
2113
+ if (xAxis) {
2114
+ navigator.render(xAxis.min, xAxis.max);
2115
+ }
2116
+ }
2117
+ ),
2118
+ // Make room for the navigator, can be placed around the chart:
2119
+ addEvent(
2120
+ this.chart,
2121
+ 'getMargins',
2122
+ function () {
2123
+ var chart = this,
2124
+ navigator = chart.navigator,
2125
+ marginName = navigator.opposite ?
2126
+ 'plotTop' : 'marginBottom';
2127
+ if (chart.inverted) {
2128
+ marginName = navigator.opposite ?
2129
+ 'marginRight' : 'plotLeft';
2130
+ }
2131
+
2132
+ chart[marginName] = (chart[marginName] || 0) + (
2133
+ navigator.navigatorEnabled || !chart.inverted ?
2134
+ navigator.outlineHeight :
2135
+ 0
2136
+ ) + navigator.navigatorOptions.margin;
2137
+ }
2138
+ )
2139
+ );
1874
2140
  },
1875
2141
 
1876
2142
  /**
1877
2143
  * Destroys allocated elements.
2144
+ *
2145
+ * @function Highcharts.Navigator#destroy
2146
+ *
2147
+ * @return {void}
1878
2148
  */
1879
2149
  destroy: function () {
1880
2150