highcharts 6.1.4 → 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 (695) hide show
  1. package/bower.json +1 -1
  2. package/css/highcharts.css +17 -0
  3. package/css/highcharts.scss +14 -0
  4. package/css/themes/dark-unica.css +17 -0
  5. package/css/themes/grid-light.css +17 -0
  6. package/css/themes/sand-signika.css +17 -0
  7. package/es-modules/indicators/momentum.src.js +1 -1
  8. package/es-modules/indicators/pivot-points.src.js +6 -1
  9. package/es-modules/masters/highcharts-gantt.src.js +11 -0
  10. package/es-modules/masters/modules/annotations.src.js +1 -1
  11. package/es-modules/masters/modules/arrow-symbols.src.js +12 -0
  12. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  13. package/es-modules/masters/modules/current-date-indicator.src.js +12 -0
  14. package/es-modules/masters/modules/data.src.js +1 -1
  15. package/es-modules/masters/modules/draggable-points.src.js +9 -0
  16. package/es-modules/masters/modules/export-data.src.js +1 -1
  17. package/es-modules/masters/modules/exporting.src.js +1 -1
  18. package/es-modules/masters/modules/funnel.src.js +1 -1
  19. package/es-modules/masters/modules/gantt.src.js +2 -1
  20. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  21. package/es-modules/masters/modules/heatmap.src.js +1 -1
  22. package/es-modules/masters/modules/item-series.src.js +1 -1
  23. package/es-modules/masters/modules/map.src.js +1 -1
  24. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  25. package/es-modules/masters/modules/pathfinder.src.js +12 -0
  26. package/es-modules/masters/modules/sankey.src.js +1 -1
  27. package/es-modules/masters/modules/series-label.src.js +1 -1
  28. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  29. package/es-modules/masters/modules/stock.src.js +1 -1
  30. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  31. package/es-modules/masters/modules/treegrid.src.js +12 -0
  32. package/es-modules/masters/modules/variwide.src.js +1 -1
  33. package/es-modules/masters/modules/vector.src.js +1 -1
  34. package/es-modules/masters/modules/windbarb.src.js +1 -1
  35. package/es-modules/masters/modules/xrange.src.js +1 -1
  36. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  37. package/es-modules/masters/themes/dark-green.src.js +1 -1
  38. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  39. package/es-modules/masters/themes/gray.src.js +1 -1
  40. package/es-modules/masters/themes/grid-light.src.js +1 -1
  41. package/es-modules/masters/themes/grid.src.js +1 -1
  42. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  43. package/es-modules/masters/themes/skies.src.js +1 -1
  44. package/es-modules/mixins/centered-series.js +1 -1
  45. package/es-modules/mixins/on-series.js +1 -1
  46. package/es-modules/modules/boost.src.js +22 -14
  47. package/es-modules/modules/broken-axis.src.js +169 -134
  48. package/es-modules/modules/data.src.js +2 -2
  49. package/es-modules/modules/draggable-points.src.js +2257 -0
  50. package/es-modules/modules/drilldown.src.js +1 -0
  51. package/es-modules/modules/export-data.src.js +1 -1
  52. package/es-modules/modules/exporting.src.js +1 -1
  53. package/es-modules/modules/funnel.src.js +1 -1
  54. package/es-modules/modules/item-series.src.js +1 -1
  55. package/es-modules/modules/no-data-to-display.src.js +5 -5
  56. package/es-modules/modules/oldie.src.js +1 -1
  57. package/es-modules/modules/overlapping-datalabels.src.js +38 -22
  58. package/es-modules/modules/parallel-coordinates.src.js +3 -2
  59. package/es-modules/modules/sankey.src.js +1 -1
  60. package/es-modules/modules/series-label.src.js +2 -2
  61. package/es-modules/modules/solid-gauge.src.js +1 -1
  62. package/es-modules/modules/static-scale.src.js +67 -28
  63. package/es-modules/modules/streamgraph.src.js +1 -1
  64. package/es-modules/modules/tilemap.src.js +231 -134
  65. package/es-modules/modules/variwide.src.js +1 -1
  66. package/es-modules/modules/vector.src.js +92 -22
  67. package/es-modules/modules/windbarb.src.js +1 -1
  68. package/es-modules/modules/xrange.src.js +257 -77
  69. package/es-modules/parts/AreaSeries.js +77 -77
  70. package/es-modules/parts/AreaSplineSeries.js +64 -27
  71. package/es-modules/parts/Axis.js +160 -67
  72. package/es-modules/parts/BarSeries.js +68 -51
  73. package/es-modules/parts/CandlestickSeries.js +1 -1
  74. package/es-modules/parts/Chart.js +31 -55
  75. package/es-modules/parts/Color.js +29 -18
  76. package/es-modules/parts/ColumnSeries.js +264 -142
  77. package/es-modules/parts/DataGrouping.js +9 -6
  78. package/es-modules/parts/DataLabels.js +261 -210
  79. package/es-modules/parts/DateTimeAxis.js +26 -7
  80. package/es-modules/parts/Dynamics.js +5 -2
  81. package/es-modules/parts/FlagsSeries.js +1 -1
  82. package/es-modules/parts/Globals.js +1 -1
  83. package/es-modules/parts/Html.js +64 -12
  84. package/es-modules/parts/Interaction.js +187 -63
  85. package/es-modules/parts/Legend.js +7 -3
  86. package/es-modules/parts/LogarithmicAxis.js +35 -4
  87. package/es-modules/parts/MSPointer.js +1 -1
  88. package/es-modules/parts/Navigator.js +27 -5
  89. package/es-modules/parts/OHLCSeries.js +1 -1
  90. package/es-modules/parts/Options.js +15 -13
  91. package/es-modules/parts/OrdinalAxis.js +1 -1
  92. package/es-modules/parts/PieSeries.js +256 -140
  93. package/es-modules/parts/PlotBandSeries.experimental.js +1 -1
  94. package/es-modules/parts/PlotLineOrBand.js +7 -40
  95. package/es-modules/parts/Point.js +28 -4
  96. package/es-modules/parts/Pointer.js +8 -6
  97. package/es-modules/parts/RangeSelector.js +1 -1
  98. package/es-modules/parts/Responsive.js +82 -36
  99. package/es-modules/parts/ScatterSeries.js +57 -25
  100. package/es-modules/parts/ScrollablePlotArea.js +17 -7
  101. package/es-modules/parts/Scrollbar.js +9 -2
  102. package/es-modules/parts/Series.js +22 -9
  103. package/es-modules/parts/SplineSeries.js +51 -29
  104. package/es-modules/parts/Stacking.js +100 -6
  105. package/es-modules/parts/StockChart.js +9 -3
  106. package/es-modules/parts/SvgRenderer.js +15 -10
  107. package/es-modules/parts/Tick.js +150 -30
  108. package/es-modules/parts/Time.js +23 -5
  109. package/es-modules/parts/Tooltip.js +2 -2
  110. package/es-modules/parts/TouchPointer.js +1 -1
  111. package/es-modules/parts/Utilities.js +16 -1
  112. package/es-modules/parts-3d/Axis.js +1 -1
  113. package/es-modules/parts-3d/Chart.js +1 -1
  114. package/es-modules/parts-3d/Column.js +1 -1
  115. package/es-modules/parts-3d/Math.js +1 -1
  116. package/es-modules/parts-3d/Pie.js +1 -1
  117. package/es-modules/parts-3d/SVGRenderer.js +1 -1
  118. package/es-modules/parts-3d/Scatter.js +1 -1
  119. package/es-modules/parts-3d/Series.js +1 -1
  120. package/es-modules/parts-3d/VMLRenderer.js +1 -1
  121. package/es-modules/parts-gantt/ArrowSymbols.js +110 -0
  122. package/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
  123. package/es-modules/parts-gantt/GanttChart.js +111 -0
  124. package/es-modules/parts-gantt/GanttSeries.js +376 -0
  125. package/es-modules/parts-gantt/GridAxis.js +965 -0
  126. package/es-modules/parts-gantt/Pathfinder.js +1247 -0
  127. package/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
  128. package/es-modules/parts-gantt/Tree.js +146 -0
  129. package/es-modules/parts-gantt/TreeGrid.js +917 -0
  130. package/es-modules/parts-map/ColorAxis.js +1 -1
  131. package/es-modules/parts-map/ColorSeriesMixin.js +1 -1
  132. package/es-modules/parts-map/GeoJSON.js +1 -1
  133. package/es-modules/parts-map/HeatmapSeries.js +124 -53
  134. package/es-modules/parts-map/Map.js +1 -1
  135. package/es-modules/parts-map/MapAxis.js +1 -1
  136. package/es-modules/parts-map/MapBubbleSeries.js +1 -1
  137. package/es-modules/parts-map/MapLineSeries.js +1 -1
  138. package/es-modules/parts-map/MapNavigation.js +1 -1
  139. package/es-modules/parts-map/MapPointSeries.js +1 -1
  140. package/es-modules/parts-map/MapPointer.js +1 -1
  141. package/es-modules/parts-map/MapSeries.js +2 -2
  142. package/es-modules/parts-more/AreaRangeSeries.js +80 -38
  143. package/es-modules/parts-more/AreaSplineRangeSeries.js +1 -1
  144. package/es-modules/parts-more/BoxPlotSeries.js +1 -1
  145. package/es-modules/parts-more/BubbleSeries.js +1 -1
  146. package/es-modules/parts-more/ColumnRangeSeries.js +1 -1
  147. package/es-modules/parts-more/ErrorBarSeries.js +1 -1
  148. package/es-modules/parts-more/GaugeSeries.js +1 -1
  149. package/es-modules/parts-more/Pane.js +2 -1
  150. package/es-modules/parts-more/Polar.js +1 -1
  151. package/es-modules/parts-more/PolygonSeries.js +1 -1
  152. package/es-modules/parts-more/RadialAxis.js +5 -4
  153. package/es-modules/parts-more/WaterfallSeries.js +1 -1
  154. package/es-modules/supplemental.docs.js +0 -1955
  155. package/es-modules/themes/dark-blue.js +1 -1
  156. package/es-modules/themes/dark-green.js +1 -1
  157. package/es-modules/themes/dark-unica.js +1 -1
  158. package/es-modules/themes/gray.js +1 -1
  159. package/es-modules/themes/grid-light.js +1 -1
  160. package/es-modules/themes/grid.js +1 -1
  161. package/es-modules/themes/sand-signika.js +1 -1
  162. package/es-modules/themes/skies.js +1 -1
  163. package/highcharts-3d.js +1 -1
  164. package/highcharts-3d.src.js +10 -10
  165. package/highcharts-gantt.js +503 -0
  166. package/highcharts-gantt.js.map +1 -0
  167. package/highcharts-gantt.src.js +49289 -0
  168. package/highcharts-more.js +65 -64
  169. package/highcharts-more.js.map +1 -1
  170. package/highcharts-more.src.js +97 -53
  171. package/highcharts.js +415 -410
  172. package/highcharts.js.map +1 -1
  173. package/highcharts.src.js +2170 -1128
  174. package/highmaps.js +443 -438
  175. package/highmaps.js.map +1 -1
  176. package/highmaps.src.js +1647 -849
  177. package/highstock.js +553 -548
  178. package/highstock.js.map +1 -1
  179. package/highstock.src.js +2398 -1283
  180. package/indicators/accumulation-distribution.js +1 -1
  181. package/indicators/accumulation-distribution.src.js +1 -1
  182. package/indicators/atr.js +1 -1
  183. package/indicators/atr.src.js +1 -1
  184. package/indicators/bollinger-bands.js +1 -1
  185. package/indicators/bollinger-bands.src.js +1 -1
  186. package/indicators/cci.js +1 -1
  187. package/indicators/cci.src.js +1 -1
  188. package/indicators/cmf.js +1 -1
  189. package/indicators/cmf.src.js +1 -1
  190. package/indicators/ema.js +1 -1
  191. package/indicators/ema.src.js +1 -1
  192. package/indicators/ichimoku-kinko-hyo.js +1 -1
  193. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  194. package/indicators/indicators.js +1 -1
  195. package/indicators/indicators.src.js +1 -1
  196. package/indicators/macd.js +1 -1
  197. package/indicators/macd.src.js +1 -1
  198. package/indicators/mfi.js +1 -1
  199. package/indicators/mfi.src.js +1 -1
  200. package/indicators/momentum.js +1 -1
  201. package/indicators/momentum.src.js +2 -2
  202. package/indicators/pivot-points.js +4 -4
  203. package/indicators/pivot-points.js.map +1 -1
  204. package/indicators/pivot-points.src.js +7 -2
  205. package/indicators/price-envelopes.js +1 -1
  206. package/indicators/price-envelopes.src.js +1 -1
  207. package/indicators/psar.js +1 -1
  208. package/indicators/psar.src.js +1 -1
  209. package/indicators/roc.js +1 -1
  210. package/indicators/roc.src.js +1 -1
  211. package/indicators/rsi.js +1 -1
  212. package/indicators/rsi.src.js +1 -1
  213. package/indicators/stochastic.js +1 -1
  214. package/indicators/stochastic.src.js +1 -1
  215. package/indicators/volume-by-price.js +1 -1
  216. package/indicators/volume-by-price.src.js +1 -1
  217. package/indicators/vwap.js +1 -1
  218. package/indicators/vwap.src.js +1 -1
  219. package/indicators/wma.js +1 -1
  220. package/indicators/wma.src.js +1 -1
  221. package/indicators/zigzag.js +1 -1
  222. package/indicators/zigzag.src.js +1 -1
  223. package/js/es-modules/indicators/momentum.src.js +1 -1
  224. package/js/es-modules/indicators/pivot-points.src.js +6 -1
  225. package/js/es-modules/masters/highcharts-gantt.src.js +11 -0
  226. package/js/es-modules/masters/modules/annotations.src.js +1 -1
  227. package/js/es-modules/masters/modules/arrow-symbols.src.js +12 -0
  228. package/js/es-modules/masters/modules/broken-axis.src.js +1 -1
  229. package/js/es-modules/masters/modules/current-date-indicator.src.js +12 -0
  230. package/js/es-modules/masters/modules/data.src.js +1 -1
  231. package/js/es-modules/masters/modules/draggable-points.src.js +9 -0
  232. package/js/es-modules/masters/modules/export-data.src.js +1 -1
  233. package/js/es-modules/masters/modules/exporting.src.js +1 -1
  234. package/js/es-modules/masters/modules/funnel.src.js +1 -1
  235. package/js/es-modules/masters/modules/gantt.src.js +2 -1
  236. package/js/es-modules/masters/modules/grid-axis.src.js +1 -1
  237. package/js/es-modules/masters/modules/heatmap.src.js +1 -1
  238. package/js/es-modules/masters/modules/item-series.src.js +1 -1
  239. package/js/es-modules/masters/modules/map.src.js +1 -1
  240. package/js/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  241. package/js/es-modules/masters/modules/pathfinder.src.js +12 -0
  242. package/js/es-modules/masters/modules/sankey.src.js +1 -1
  243. package/js/es-modules/masters/modules/series-label.src.js +1 -1
  244. package/js/es-modules/masters/modules/solid-gauge.src.js +1 -1
  245. package/js/es-modules/masters/modules/stock.src.js +1 -1
  246. package/js/es-modules/masters/modules/streamgraph.src.js +1 -1
  247. package/js/es-modules/masters/modules/treegrid.src.js +12 -0
  248. package/js/es-modules/masters/modules/variwide.src.js +1 -1
  249. package/js/es-modules/masters/modules/vector.src.js +1 -1
  250. package/js/es-modules/masters/modules/windbarb.src.js +1 -1
  251. package/js/es-modules/masters/modules/xrange.src.js +1 -1
  252. package/js/es-modules/masters/themes/dark-blue.src.js +1 -1
  253. package/js/es-modules/masters/themes/dark-green.src.js +1 -1
  254. package/js/es-modules/masters/themes/dark-unica.src.js +1 -1
  255. package/js/es-modules/masters/themes/gray.src.js +1 -1
  256. package/js/es-modules/masters/themes/grid-light.src.js +1 -1
  257. package/js/es-modules/masters/themes/grid.src.js +1 -1
  258. package/js/es-modules/masters/themes/sand-signika.src.js +1 -1
  259. package/js/es-modules/masters/themes/skies.src.js +1 -1
  260. package/js/es-modules/mixins/centered-series.js +1 -1
  261. package/js/es-modules/mixins/on-series.js +1 -1
  262. package/js/es-modules/modules/boost.src.js +22 -14
  263. package/js/es-modules/modules/broken-axis.src.js +169 -134
  264. package/js/es-modules/modules/data.src.js +2 -2
  265. package/js/es-modules/modules/draggable-points.src.js +2257 -0
  266. package/js/es-modules/modules/drilldown.src.js +1 -0
  267. package/js/es-modules/modules/export-data.src.js +1 -1
  268. package/js/es-modules/modules/exporting.src.js +1 -1
  269. package/js/es-modules/modules/funnel.src.js +1 -1
  270. package/js/es-modules/modules/item-series.src.js +1 -1
  271. package/js/es-modules/modules/no-data-to-display.src.js +5 -5
  272. package/js/es-modules/modules/oldie.src.js +1 -1
  273. package/js/es-modules/modules/overlapping-datalabels.src.js +38 -22
  274. package/js/es-modules/modules/parallel-coordinates.src.js +3 -2
  275. package/js/es-modules/modules/sankey.src.js +1 -1
  276. package/js/es-modules/modules/series-label.src.js +2 -2
  277. package/js/es-modules/modules/solid-gauge.src.js +1 -1
  278. package/js/es-modules/modules/static-scale.src.js +67 -28
  279. package/js/es-modules/modules/streamgraph.src.js +1 -1
  280. package/js/es-modules/modules/tilemap.src.js +231 -134
  281. package/js/es-modules/modules/variwide.src.js +1 -1
  282. package/js/es-modules/modules/vector.src.js +92 -22
  283. package/js/es-modules/modules/windbarb.src.js +1 -1
  284. package/js/es-modules/modules/xrange.src.js +255 -68
  285. package/js/es-modules/parts/AreaSeries.js +77 -77
  286. package/js/es-modules/parts/AreaSplineSeries.js +64 -27
  287. package/js/es-modules/parts/Axis.js +160 -67
  288. package/js/es-modules/parts/BarSeries.js +68 -51
  289. package/js/es-modules/parts/CandlestickSeries.js +1 -1
  290. package/js/es-modules/parts/Chart.js +31 -55
  291. package/js/es-modules/parts/Color.js +29 -18
  292. package/js/es-modules/parts/ColumnSeries.js +231 -123
  293. package/js/es-modules/parts/DataGrouping.js +9 -6
  294. package/js/es-modules/parts/DataLabels.js +230 -182
  295. package/js/es-modules/parts/DateTimeAxis.js +26 -7
  296. package/js/es-modules/parts/Dynamics.js +5 -2
  297. package/js/es-modules/parts/FlagsSeries.js +1 -1
  298. package/js/es-modules/parts/Globals.js +1 -1
  299. package/js/es-modules/parts/Html.js +64 -12
  300. package/js/es-modules/parts/Interaction.js +178 -61
  301. package/js/es-modules/parts/Legend.js +7 -3
  302. package/js/es-modules/parts/LogarithmicAxis.js +35 -4
  303. package/js/es-modules/parts/MSPointer.js +1 -1
  304. package/js/es-modules/parts/Navigator.js +27 -5
  305. package/js/es-modules/parts/OHLCSeries.js +1 -1
  306. package/js/es-modules/parts/Options.js +13 -12
  307. package/js/es-modules/parts/OrdinalAxis.js +1 -1
  308. package/js/es-modules/parts/PieSeries.js +245 -132
  309. package/js/es-modules/parts/PlotBandSeries.experimental.js +1 -1
  310. package/js/es-modules/parts/PlotLineOrBand.js +7 -40
  311. package/js/es-modules/parts/Point.js +28 -4
  312. package/js/es-modules/parts/Pointer.js +8 -6
  313. package/js/es-modules/parts/RangeSelector.js +1 -1
  314. package/js/es-modules/parts/Responsive.js +82 -36
  315. package/js/es-modules/parts/ScatterSeries.js +56 -25
  316. package/js/es-modules/parts/ScrollablePlotArea.js +17 -7
  317. package/js/es-modules/parts/Scrollbar.js +9 -2
  318. package/js/es-modules/parts/Series.js +22 -9
  319. package/js/es-modules/parts/SplineSeries.js +51 -29
  320. package/js/es-modules/parts/Stacking.js +100 -6
  321. package/js/es-modules/parts/StockChart.js +9 -3
  322. package/js/es-modules/parts/SvgRenderer.js +15 -10
  323. package/js/es-modules/parts/Tick.js +150 -30
  324. package/js/es-modules/parts/Time.js +23 -5
  325. package/js/es-modules/parts/Tooltip.js +2 -2
  326. package/js/es-modules/parts/TouchPointer.js +1 -1
  327. package/js/es-modules/parts/Utilities.js +16 -1
  328. package/js/es-modules/parts-3d/Axis.js +1 -1
  329. package/js/es-modules/parts-3d/Chart.js +1 -1
  330. package/js/es-modules/parts-3d/Column.js +1 -1
  331. package/js/es-modules/parts-3d/Math.js +1 -1
  332. package/js/es-modules/parts-3d/Pie.js +1 -1
  333. package/js/es-modules/parts-3d/SVGRenderer.js +1 -1
  334. package/js/es-modules/parts-3d/Scatter.js +1 -1
  335. package/js/es-modules/parts-3d/Series.js +1 -1
  336. package/js/es-modules/parts-3d/VMLRenderer.js +1 -1
  337. package/js/es-modules/parts-gantt/ArrowSymbols.js +110 -0
  338. package/js/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
  339. package/js/es-modules/parts-gantt/GanttChart.js +111 -0
  340. package/js/es-modules/parts-gantt/GanttSeries.js +371 -0
  341. package/js/es-modules/parts-gantt/GridAxis.js +962 -0
  342. package/js/es-modules/parts-gantt/Pathfinder.js +1225 -0
  343. package/js/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
  344. package/js/es-modules/parts-gantt/Tree.js +146 -0
  345. package/js/es-modules/parts-gantt/TreeGrid.js +891 -0
  346. package/js/es-modules/parts-map/ColorAxis.js +1 -1
  347. package/js/es-modules/parts-map/ColorSeriesMixin.js +1 -1
  348. package/js/es-modules/parts-map/GeoJSON.js +1 -1
  349. package/js/es-modules/parts-map/HeatmapSeries.js +122 -52
  350. package/js/es-modules/parts-map/Map.js +1 -1
  351. package/js/es-modules/parts-map/MapAxis.js +1 -1
  352. package/js/es-modules/parts-map/MapBubbleSeries.js +1 -1
  353. package/js/es-modules/parts-map/MapLineSeries.js +1 -1
  354. package/js/es-modules/parts-map/MapNavigation.js +1 -1
  355. package/js/es-modules/parts-map/MapPointSeries.js +1 -1
  356. package/js/es-modules/parts-map/MapPointer.js +1 -1
  357. package/js/es-modules/parts-map/MapSeries.js +2 -2
  358. package/js/es-modules/parts-more/AreaRangeSeries.js +80 -38
  359. package/js/es-modules/parts-more/AreaSplineRangeSeries.js +1 -1
  360. package/js/es-modules/parts-more/BoxPlotSeries.js +1 -1
  361. package/js/es-modules/parts-more/BubbleSeries.js +1 -1
  362. package/js/es-modules/parts-more/ColumnRangeSeries.js +1 -1
  363. package/js/es-modules/parts-more/ErrorBarSeries.js +1 -1
  364. package/js/es-modules/parts-more/GaugeSeries.js +1 -1
  365. package/js/es-modules/parts-more/Pane.js +2 -1
  366. package/js/es-modules/parts-more/Polar.js +1 -1
  367. package/js/es-modules/parts-more/PolygonSeries.js +1 -1
  368. package/js/es-modules/parts-more/RadialAxis.js +5 -4
  369. package/js/es-modules/parts-more/WaterfallSeries.js +1 -1
  370. package/js/es-modules/supplemental.docs.js +0 -1955
  371. package/js/es-modules/themes/dark-blue.js +1 -1
  372. package/js/es-modules/themes/dark-green.js +1 -1
  373. package/js/es-modules/themes/dark-unica.js +1 -1
  374. package/js/es-modules/themes/gray.js +1 -1
  375. package/js/es-modules/themes/grid-light.js +1 -1
  376. package/js/es-modules/themes/grid.js +1 -1
  377. package/js/es-modules/themes/sand-signika.js +1 -1
  378. package/js/es-modules/themes/skies.js +1 -1
  379. package/js/highcharts-3d.js +1 -1
  380. package/js/highcharts-3d.src.js +10 -10
  381. package/js/highcharts-gantt.js +480 -0
  382. package/js/highcharts-gantt.js.map +1 -0
  383. package/js/highcharts-gantt.src.js +47011 -0
  384. package/js/highcharts-more.js +62 -61
  385. package/js/highcharts-more.js.map +1 -1
  386. package/js/highcharts-more.src.js +97 -53
  387. package/js/highcharts.js +394 -390
  388. package/js/highcharts.js.map +1 -1
  389. package/js/highcharts.src.js +2083 -1070
  390. package/js/highmaps.js +420 -416
  391. package/js/highmaps.js.map +1 -1
  392. package/js/highmaps.src.js +1569 -798
  393. package/js/highstock.js +526 -520
  394. package/js/highstock.js.map +1 -1
  395. package/js/highstock.src.js +2311 -1225
  396. package/js/indicators/accumulation-distribution.js +1 -1
  397. package/js/indicators/accumulation-distribution.src.js +1 -1
  398. package/js/indicators/atr.js +1 -1
  399. package/js/indicators/atr.src.js +1 -1
  400. package/js/indicators/bollinger-bands.js +1 -1
  401. package/js/indicators/bollinger-bands.src.js +1 -1
  402. package/js/indicators/cci.js +1 -1
  403. package/js/indicators/cci.src.js +1 -1
  404. package/js/indicators/cmf.js +1 -1
  405. package/js/indicators/cmf.src.js +1 -1
  406. package/js/indicators/ema.js +1 -1
  407. package/js/indicators/ema.src.js +1 -1
  408. package/js/indicators/ichimoku-kinko-hyo.js +1 -1
  409. package/js/indicators/ichimoku-kinko-hyo.src.js +1 -1
  410. package/js/indicators/indicators.js +1 -1
  411. package/js/indicators/indicators.src.js +1 -1
  412. package/js/indicators/macd.js +1 -1
  413. package/js/indicators/macd.src.js +1 -1
  414. package/js/indicators/mfi.js +1 -1
  415. package/js/indicators/mfi.src.js +1 -1
  416. package/js/indicators/momentum.js +1 -1
  417. package/js/indicators/momentum.src.js +2 -2
  418. package/js/indicators/pivot-points.js +4 -4
  419. package/js/indicators/pivot-points.js.map +1 -1
  420. package/js/indicators/pivot-points.src.js +7 -2
  421. package/js/indicators/price-envelopes.js +1 -1
  422. package/js/indicators/price-envelopes.src.js +1 -1
  423. package/js/indicators/psar.js +1 -1
  424. package/js/indicators/psar.src.js +1 -1
  425. package/js/indicators/roc.js +1 -1
  426. package/js/indicators/roc.src.js +1 -1
  427. package/js/indicators/rsi.js +1 -1
  428. package/js/indicators/rsi.src.js +1 -1
  429. package/js/indicators/stochastic.js +1 -1
  430. package/js/indicators/stochastic.src.js +1 -1
  431. package/js/indicators/volume-by-price.js +1 -1
  432. package/js/indicators/volume-by-price.src.js +1 -1
  433. package/js/indicators/vwap.js +1 -1
  434. package/js/indicators/vwap.src.js +1 -1
  435. package/js/indicators/wma.js +1 -1
  436. package/js/indicators/wma.src.js +1 -1
  437. package/js/indicators/zigzag.js +1 -1
  438. package/js/indicators/zigzag.src.js +1 -1
  439. package/js/modules/accessibility.js +1 -1
  440. package/js/modules/accessibility.src.js +1 -1
  441. package/js/modules/annotations.js +2 -2
  442. package/js/modules/annotations.src.js +2 -2
  443. package/js/modules/arrow-symbols.js +13 -0
  444. package/js/modules/arrow-symbols.js.map +1 -0
  445. package/js/modules/arrow-symbols.src.js +138 -0
  446. package/js/modules/boost-canvas.js +1 -1
  447. package/js/modules/boost-canvas.src.js +1 -1
  448. package/js/modules/boost.js +43 -43
  449. package/js/modules/boost.js.map +1 -1
  450. package/js/modules/boost.src.js +23 -15
  451. package/js/modules/broken-axis.js +11 -10
  452. package/js/modules/broken-axis.js.map +1 -1
  453. package/js/modules/broken-axis.src.js +171 -136
  454. package/js/modules/bullet.js +1 -1
  455. package/js/modules/bullet.src.js +1 -1
  456. package/js/modules/current-date-indicator.js +13 -0
  457. package/js/modules/current-date-indicator.js.map +1 -0
  458. package/js/modules/current-date-indicator.src.js +120 -0
  459. package/js/modules/data.js +2 -2
  460. package/js/modules/data.src.js +4 -4
  461. package/js/modules/drag-panes.js +1 -1
  462. package/js/modules/drag-panes.src.js +1 -1
  463. package/js/modules/draggable-points.js +38 -0
  464. package/js/modules/draggable-points.js.map +1 -0
  465. package/js/modules/draggable-points.src.js +2281 -0
  466. package/js/modules/drilldown.js +1 -1
  467. package/js/modules/drilldown.js.map +1 -1
  468. package/js/modules/drilldown.src.js +2 -1
  469. package/js/modules/export-data.js +2 -2
  470. package/js/modules/export-data.src.js +3 -3
  471. package/js/modules/exporting.js +2 -2
  472. package/js/modules/exporting.src.js +3 -3
  473. package/js/modules/funnel.js +2 -2
  474. package/js/modules/funnel.src.js +3 -3
  475. package/js/modules/gantt.js +80 -18
  476. package/js/modules/gantt.js.map +1 -1
  477. package/js/modules/gantt.src.js +5490 -372
  478. package/js/modules/grid-axis.js +15 -11
  479. package/js/modules/grid-axis.js.map +1 -1
  480. package/js/modules/grid-axis.src.js +731 -293
  481. package/js/modules/heatmap.js +2 -2
  482. package/js/modules/heatmap.js.map +1 -1
  483. package/js/modules/heatmap.src.js +126 -56
  484. package/js/modules/histogram-bellcurve.js +1 -1
  485. package/js/modules/histogram-bellcurve.src.js +1 -1
  486. package/js/modules/item-series.js +2 -2
  487. package/js/modules/item-series.src.js +3 -3
  488. package/js/modules/map.js +2 -2
  489. package/js/modules/map.js.map +1 -1
  490. package/js/modules/map.src.js +137 -67
  491. package/js/modules/no-data-to-display.js +1 -1
  492. package/js/modules/no-data-to-display.src.js +6 -6
  493. package/js/modules/offline-exporting.js +2 -2
  494. package/js/modules/offline-exporting.src.js +2 -2
  495. package/js/modules/oldie.js +2 -2
  496. package/js/modules/oldie.src.js +3 -3
  497. package/js/modules/overlapping-datalabels.js +2 -2
  498. package/js/modules/overlapping-datalabels.src.js +2 -2
  499. package/js/modules/parallel-coordinates.js +9 -9
  500. package/js/modules/parallel-coordinates.js.map +1 -1
  501. package/js/modules/parallel-coordinates.src.js +4 -3
  502. package/js/modules/pareto.js +1 -1
  503. package/js/modules/pareto.src.js +1 -1
  504. package/js/modules/pathfinder.js +34 -0
  505. package/js/modules/pathfinder.js.map +1 -0
  506. package/js/modules/pathfinder.src.js +2106 -0
  507. package/js/modules/pattern-fill.js +1 -1
  508. package/js/modules/pattern-fill.src.js +1 -1
  509. package/js/modules/sankey.js +2 -2
  510. package/js/modules/sankey.src.js +3 -3
  511. package/js/modules/series-label.js +2 -2
  512. package/js/modules/series-label.src.js +4 -4
  513. package/js/modules/solid-gauge.js +2 -2
  514. package/js/modules/solid-gauge.src.js +3 -3
  515. package/js/modules/static-scale.js +3 -3
  516. package/js/modules/static-scale.js.map +1 -1
  517. package/js/modules/static-scale.src.js +65 -26
  518. package/js/modules/stock.js +135 -134
  519. package/js/modules/stock.js.map +1 -1
  520. package/js/modules/stock.src.js +230 -157
  521. package/js/modules/streamgraph.js +2 -2
  522. package/js/modules/streamgraph.src.js +3 -3
  523. package/js/modules/sunburst.js +1 -1
  524. package/js/modules/sunburst.src.js +1 -1
  525. package/js/modules/tilemap.js +1 -1
  526. package/js/modules/tilemap.js.map +1 -1
  527. package/js/modules/tilemap.src.js +355 -188
  528. package/js/modules/treegrid.js +51 -0
  529. package/js/modules/treegrid.js.map +1 -0
  530. package/js/modules/treegrid.src.js +2759 -0
  531. package/js/modules/treemap.js +1 -1
  532. package/js/modules/treemap.src.js +1 -1
  533. package/js/modules/variable-pie.js +1 -1
  534. package/js/modules/variable-pie.src.js +1 -1
  535. package/js/modules/variwide.js +2 -2
  536. package/js/modules/variwide.src.js +3 -3
  537. package/js/modules/vector.js +2 -2
  538. package/js/modules/vector.js.map +1 -1
  539. package/js/modules/vector.src.js +94 -24
  540. package/js/modules/windbarb.js +2 -2
  541. package/js/modules/windbarb.src.js +4 -4
  542. package/js/modules/wordcloud.js +1 -1
  543. package/js/modules/wordcloud.src.js +1 -1
  544. package/js/modules/xrange.js +11 -10
  545. package/js/modules/xrange.js.map +1 -1
  546. package/js/modules/xrange.src.js +257 -70
  547. package/js/themes/avocado.js +1 -1
  548. package/js/themes/avocado.src.js +1 -1
  549. package/js/themes/dark-blue.js +2 -2
  550. package/js/themes/dark-blue.src.js +3 -3
  551. package/js/themes/dark-green.js +2 -2
  552. package/js/themes/dark-green.src.js +3 -3
  553. package/js/themes/dark-unica.js +2 -2
  554. package/js/themes/dark-unica.src.js +3 -3
  555. package/js/themes/gray.js +2 -2
  556. package/js/themes/gray.src.js +3 -3
  557. package/js/themes/grid-light.js +2 -2
  558. package/js/themes/grid-light.src.js +3 -3
  559. package/js/themes/grid.js +2 -2
  560. package/js/themes/grid.src.js +3 -3
  561. package/js/themes/sand-signika.js +2 -2
  562. package/js/themes/sand-signika.src.js +3 -3
  563. package/js/themes/skies.js +2 -2
  564. package/js/themes/skies.src.js +3 -3
  565. package/js/themes/sunset.js +1 -1
  566. package/js/themes/sunset.src.js +1 -1
  567. package/modules/accessibility.js +1 -1
  568. package/modules/accessibility.src.js +1 -1
  569. package/modules/annotations.js +2 -2
  570. package/modules/annotations.src.js +2 -2
  571. package/modules/arrow-symbols.js +13 -0
  572. package/modules/arrow-symbols.js.map +1 -0
  573. package/modules/arrow-symbols.src.js +138 -0
  574. package/modules/boost-canvas.js +1 -1
  575. package/modules/boost-canvas.src.js +1 -1
  576. package/modules/boost.js +36 -36
  577. package/modules/boost.js.map +1 -1
  578. package/modules/boost.src.js +23 -15
  579. package/modules/broken-axis.js +11 -10
  580. package/modules/broken-axis.js.map +1 -1
  581. package/modules/broken-axis.src.js +171 -136
  582. package/modules/bullet.js +1 -1
  583. package/modules/bullet.src.js +1 -1
  584. package/modules/current-date-indicator.js +13 -0
  585. package/modules/current-date-indicator.js.map +1 -0
  586. package/modules/current-date-indicator.src.js +120 -0
  587. package/modules/data.js +2 -2
  588. package/modules/data.src.js +4 -4
  589. package/modules/drag-panes.js +1 -1
  590. package/modules/drag-panes.src.js +1 -1
  591. package/modules/draggable-points.js +38 -0
  592. package/modules/draggable-points.js.map +1 -0
  593. package/modules/draggable-points.src.js +2281 -0
  594. package/modules/drilldown.js +1 -1
  595. package/modules/drilldown.js.map +1 -1
  596. package/modules/drilldown.src.js +2 -1
  597. package/modules/export-data.js +2 -2
  598. package/modules/export-data.src.js +3 -3
  599. package/modules/exporting.js +2 -2
  600. package/modules/exporting.src.js +3 -3
  601. package/modules/funnel.js +2 -2
  602. package/modules/funnel.src.js +3 -3
  603. package/modules/gantt.js +83 -19
  604. package/modules/gantt.js.map +1 -1
  605. package/modules/gantt.src.js +5553 -379
  606. package/modules/grid-axis.js +16 -11
  607. package/modules/grid-axis.js.map +1 -1
  608. package/modules/grid-axis.src.js +732 -293
  609. package/modules/heatmap.js +2 -2
  610. package/modules/heatmap.js.map +1 -1
  611. package/modules/heatmap.src.js +128 -57
  612. package/modules/histogram-bellcurve.js +1 -1
  613. package/modules/histogram-bellcurve.src.js +1 -1
  614. package/modules/item-series.js +2 -2
  615. package/modules/item-series.src.js +3 -3
  616. package/modules/map.js +2 -2
  617. package/modules/map.js.map +1 -1
  618. package/modules/map.src.js +139 -68
  619. package/modules/no-data-to-display.js +1 -1
  620. package/modules/no-data-to-display.src.js +6 -6
  621. package/modules/offline-exporting.js +2 -2
  622. package/modules/offline-exporting.src.js +2 -2
  623. package/modules/oldie.js +2 -2
  624. package/modules/oldie.src.js +3 -3
  625. package/modules/overlapping-datalabels.js +2 -2
  626. package/modules/overlapping-datalabels.src.js +2 -2
  627. package/modules/parallel-coordinates.js +8 -8
  628. package/modules/parallel-coordinates.js.map +1 -1
  629. package/modules/parallel-coordinates.src.js +4 -3
  630. package/modules/pareto.js +1 -1
  631. package/modules/pareto.src.js +1 -1
  632. package/modules/pathfinder.js +35 -0
  633. package/modules/pathfinder.js.map +1 -0
  634. package/modules/pathfinder.src.js +2128 -0
  635. package/modules/pattern-fill.js +1 -1
  636. package/modules/pattern-fill.src.js +1 -1
  637. package/modules/sankey.js +2 -2
  638. package/modules/sankey.src.js +3 -3
  639. package/modules/series-label.js +2 -2
  640. package/modules/series-label.src.js +4 -4
  641. package/modules/solid-gauge.js +2 -2
  642. package/modules/solid-gauge.src.js +3 -3
  643. package/modules/static-scale.js +3 -3
  644. package/modules/static-scale.js.map +1 -1
  645. package/modules/static-scale.src.js +65 -26
  646. package/modules/stock.js +142 -142
  647. package/modules/stock.js.map +1 -1
  648. package/modules/stock.src.js +230 -157
  649. package/modules/streamgraph.js +2 -2
  650. package/modules/streamgraph.src.js +3 -3
  651. package/modules/sunburst.js +1 -1
  652. package/modules/sunburst.src.js +1 -1
  653. package/modules/tilemap.js +1 -1
  654. package/modules/tilemap.js.map +1 -1
  655. package/modules/tilemap.src.js +357 -189
  656. package/modules/treegrid.js +52 -0
  657. package/modules/treegrid.js.map +1 -0
  658. package/modules/treegrid.src.js +2797 -0
  659. package/modules/treemap.js +1 -1
  660. package/modules/treemap.src.js +1 -1
  661. package/modules/variable-pie.js +1 -1
  662. package/modules/variable-pie.src.js +1 -1
  663. package/modules/variwide.js +2 -2
  664. package/modules/variwide.src.js +3 -3
  665. package/modules/vector.js +2 -2
  666. package/modules/vector.js.map +1 -1
  667. package/modules/vector.src.js +94 -24
  668. package/modules/windbarb.js +2 -2
  669. package/modules/windbarb.src.js +4 -4
  670. package/modules/wordcloud.js +1 -1
  671. package/modules/wordcloud.src.js +1 -1
  672. package/modules/xrange.js +12 -11
  673. package/modules/xrange.js.map +1 -1
  674. package/modules/xrange.src.js +259 -79
  675. package/package.json +1 -1
  676. package/themes/avocado.js +1 -1
  677. package/themes/avocado.src.js +1 -1
  678. package/themes/dark-blue.js +2 -2
  679. package/themes/dark-blue.src.js +3 -3
  680. package/themes/dark-green.js +2 -2
  681. package/themes/dark-green.src.js +3 -3
  682. package/themes/dark-unica.js +2 -2
  683. package/themes/dark-unica.src.js +3 -3
  684. package/themes/gray.js +2 -2
  685. package/themes/gray.src.js +3 -3
  686. package/themes/grid-light.js +2 -2
  687. package/themes/grid-light.src.js +3 -3
  688. package/themes/grid.js +2 -2
  689. package/themes/grid.src.js +3 -3
  690. package/themes/sand-signika.js +2 -2
  691. package/themes/sand-signika.src.js +3 -3
  692. package/themes/skies.js +2 -2
  693. package/themes/skies.src.js +3 -3
  694. package/themes/sunset.js +1 -1
  695. package/themes/sunset.src.js +1 -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
  */
@@ -168,7 +168,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
168
168
  *
169
169
  * @type {boolean}
170
170
  * @default true
171
- * @product highcharts highstock
171
+ * @product highcharts highstock gantt
172
172
  * @apioption xAxis.alignTicks
173
173
  */
174
174
 
@@ -219,7 +219,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
219
219
  *
220
220
  * @type {Array<*>}
221
221
  * @since 4.1.0
222
- * @product highcharts highstock
222
+ * @product highcharts highstock gantt
223
223
  * @apioption xAxis.breaks
224
224
  */
225
225
 
@@ -232,7 +232,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
232
232
  * @type {number}
233
233
  * @default 0
234
234
  * @since 4.1.0
235
- * @product highcharts highstock
235
+ * @product highcharts highstock gantt
236
236
  * @apioption xAxis.breaks.breakSize
237
237
  */
238
238
 
@@ -241,7 +241,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
241
241
  *
242
242
  * @type {number}
243
243
  * @since 4.1.0
244
- * @product highcharts highstock
244
+ * @product highcharts highstock gantt
245
245
  * @apioption xAxis.breaks.from
246
246
  */
247
247
 
@@ -252,7 +252,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
252
252
  * @type {number}
253
253
  * @default 0
254
254
  * @since 4.1.0
255
- * @product highcharts highstock
255
+ * @product highcharts highstock gantt
256
256
  * @apioption xAxis.breaks.repeat
257
257
  */
258
258
 
@@ -261,7 +261,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
261
261
  *
262
262
  * @type {number}
263
263
  * @since 4.1.0
264
- * @product highcharts highstock
264
+ * @product highcharts highstock gantt
265
265
  * @apioption xAxis.breaks.to
266
266
  */
267
267
 
@@ -296,7 +296,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
296
296
  *
297
297
  * @type {number}
298
298
  * @since 4.0
299
- * @product highcharts highstock
299
+ * @product highcharts highstock gantt
300
300
  * @apioption xAxis.ceiling
301
301
  */
302
302
 
@@ -561,17 +561,37 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
561
561
  * @sample {highstock} stock/xaxis/datetimelabelformats/
562
562
  * More information in x axis labels
563
563
  *
564
- * @product highcharts highstock
564
+ * @product highcharts highstock gantt
565
565
  */
566
566
  dateTimeLabelFormats: {
567
- millisecond: '%H:%M:%S.%L',
568
- second: '%H:%M:%S',
569
- minute: '%H:%M',
570
- hour: '%H:%M',
571
- day: '%e. %b',
572
- week: '%e. %b',
573
- month: '%b \'%y',
574
- year: '%Y'
567
+ millisecond: {
568
+ main: '%H:%M:%S.%L',
569
+ range: false
570
+ },
571
+ second: {
572
+ main: '%H:%M:%S',
573
+ range: false
574
+ },
575
+ minute: {
576
+ main: '%H:%M',
577
+ range: false
578
+ },
579
+ hour: {
580
+ main: '%H:%M',
581
+ range: false
582
+ },
583
+ day: {
584
+ main: '%e. %b'
585
+ },
586
+ week: {
587
+ main: '%e. %b'
588
+ },
589
+ month: {
590
+ main: '%b \'%y'
591
+ },
592
+ year: {
593
+ main: '%Y'
594
+ }
575
595
  },
576
596
 
577
597
  /**
@@ -622,7 +642,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
622
642
  *
623
643
  * @type {Function}
624
644
  * @since 4.1.0
625
- * @product highcharts
645
+ * @product highcharts gantt
626
646
  * @apioption xAxis.events.afterBreaks
627
647
  */
628
648
 
@@ -657,7 +677,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
657
677
  *
658
678
  * @type {Function}
659
679
  * @since 4.1.0
660
- * @product highcharts
680
+ * @product highcharts gantt
661
681
  * @context Axis
662
682
  * @apioption xAxis.events.pointBreak
663
683
  */
@@ -666,7 +686,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
666
686
  * An event fired when a point falls inside a break from this axis.
667
687
  *
668
688
  * @type {Function}
669
- * @product highcharts highstock
689
+ * @product highcharts highstock gantt
670
690
  * @context Axis
671
691
  * @apioption xAxis.events.pointInBreak
672
692
  */
@@ -704,7 +724,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
704
724
  *
705
725
  * @type {number}
706
726
  * @since 4.0
707
- * @product highcharts highstock
727
+ * @product highcharts highstock gantt
708
728
  * @apioption xAxis.floor
709
729
  */
710
730
 
@@ -736,7 +756,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
736
756
  *
737
757
  * @type {number}
738
758
  * @default 1
739
- * @product highcharts highstock
759
+ * @product highcharts highstock gantt
740
760
  * @apioption xAxis.gridZIndex
741
761
  */
742
762
 
@@ -802,7 +822,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
802
822
  * @type {Array<number>}
803
823
  * @default [-45]
804
824
  * @since 4.1.0
805
- * @product highcharts highstock
825
+ * @product highcharts highstock gantt
806
826
  * @apioption xAxis.labels.autoRotation
807
827
  */
808
828
 
@@ -819,7 +839,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
819
839
  * @type {number}
820
840
  * @default 80
821
841
  * @since 4.1.5
822
- * @product highcharts
842
+ * @product highcharts gantt
823
843
  * @apioption xAxis.labels.autoRotationLimit
824
844
  */
825
845
 
@@ -829,7 +849,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
829
849
  *
830
850
  * @type {number}
831
851
  * @default 15
832
- * @product highcharts
852
+ * @product highcharts gantt
833
853
  * @apioption xAxis.labels.distance
834
854
  */
835
855
 
@@ -841,7 +861,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
841
861
  * @sample {highstock} stock/xaxis/labels-enabled/
842
862
  * X axis labels disabled
843
863
  *
844
- * @default {highcharts|highstock} true
864
+ * @default {highcharts|highstock|gantt} true
845
865
  * @default {highmaps} false
846
866
  */
847
867
  enabled: true,
@@ -883,6 +903,18 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
883
903
  * @apioption xAxis.labels.formatter
884
904
  */
885
905
 
906
+ /**
907
+ * The number of pixels to indent the labels per level in a treegrid
908
+ * axis.
909
+ *
910
+ * @product gantt
911
+ * @sample gantt/treegrid-axis/demo
912
+ * Indentation 10px by default.
913
+ * @sample gantt/treegrid-axis/indentation-0px
914
+ * Indentation set to 0px.
915
+ */
916
+ indentation: 10,
917
+
886
918
  /**
887
919
  * Horizontal axis only. When `staggerLines` is not set,
888
920
  * `maxStaggerLines` defines how many lines the axis is allowed to
@@ -893,7 +925,6 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
893
925
  * @type {number}
894
926
  * @default 5
895
927
  * @since 1.3.3
896
- * @product highstock highmaps
897
928
  * @apioption xAxis.labels.maxStaggerLines
898
929
  */
899
930
 
@@ -916,7 +947,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
916
947
  *
917
948
  * @type {number}
918
949
  * @default 5
919
- * @product highcharts
950
+ * @product highcharts gantt
920
951
  * @apioption xAxis.labels.padding
921
952
  */
922
953
 
@@ -941,7 +972,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
941
972
  *
942
973
  * @type {boolean}
943
974
  * @since 4.1.10
944
- * @product highcharts
975
+ * @product highcharts gantt
945
976
  * @apioption xAxis.labels.reserveSpace
946
977
  */
947
978
 
@@ -1080,7 +1111,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1080
1111
  *
1081
1112
  * @type {number}
1082
1113
  * @since 2.0.2
1083
- * @product highcharts highstock
1114
+ * @product highcharts highstock gantt
1084
1115
  * @apioption xAxis.linkedTo
1085
1116
  */
1086
1117
 
@@ -1295,7 +1326,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1295
1326
  * @default {highcharts} 0.01
1296
1327
  * @default {highstock|highmaps} 0
1297
1328
  * @since 1.2.0
1298
- * @product highcharts highstock
1329
+ * @product highcharts highstock gantt
1299
1330
  */
1300
1331
  minPadding: 0.01,
1301
1332
 
@@ -1533,7 +1564,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1533
1564
  *
1534
1565
  * @type {boolean}
1535
1566
  * @default true
1536
- * @product highcharts highstock
1567
+ * @product highcharts highstock gantt
1537
1568
  * @apioption xAxis.showLastLabel
1538
1569
  */
1539
1570
 
@@ -1547,7 +1578,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1547
1578
  *
1548
1579
  * @type {number}
1549
1580
  * @since 5.0.1
1550
- * @product highcharts highstock
1581
+ * @product highcharts highstock gantt
1551
1582
  * @apioption xAxis.softMax
1552
1583
  */
1553
1584
 
@@ -1561,7 +1592,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1561
1592
  *
1562
1593
  * @type {number}
1563
1594
  * @since 5.0.1
1564
- * @product highcharts highstock
1595
+ * @product highcharts highstock gantt
1565
1596
  * @apioption xAxis.softMin
1566
1597
  */
1567
1598
 
@@ -1578,7 +1609,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1578
1609
  * @sample {highstock} stock/xaxis/startofweek-0
1579
1610
  * Sunday
1580
1611
  *
1581
- * @product highcharts highstock
1612
+ * @product highcharts highstock gantt
1582
1613
  */
1583
1614
  startOfWeek: 1,
1584
1615
 
@@ -1617,7 +1648,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1617
1648
  *
1618
1649
  * @type {number}
1619
1650
  * @since 4.1.0
1620
- * @product highcharts highstock
1651
+ * @product highcharts highstock gantt
1621
1652
  * @apioption xAxis.tickAmount
1622
1653
  */
1623
1654
 
@@ -1696,7 +1727,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1696
1727
  * @sample {highcharts} highcharts/xaxis/tickmarkplacement-on/
1697
1728
  * "on"
1698
1729
  *
1699
- * @product highcharts
1730
+ * @product highcharts gantt
1700
1731
  * @validvalue [null, "on", "between"]
1701
1732
  */
1702
1733
  tickmarkPlacement: 'between',
@@ -1825,7 +1856,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1825
1856
  * @type {boolean}
1826
1857
  * @default true
1827
1858
  * @since 5.0.11
1828
- * @product highcharts highstock
1859
+ * @product highcharts highstock gantt
1829
1860
  * @apioption xAxis.title.reserveSpace
1830
1861
  */
1831
1862
 
@@ -1886,7 +1917,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1886
1917
  *
1887
1918
  * @type {boolean}
1888
1919
  * @default false
1889
- * @product highcharts highstock
1920
+ * @product highcharts highstock gantt
1890
1921
  * @apioption xAxis.title.useHTML
1891
1922
  */
1892
1923
 
@@ -1896,7 +1927,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1896
1927
  * @type {number}
1897
1928
  * @default 0
1898
1929
  * @since 4.1.6
1899
- * @product highcharts highstock
1930
+ * @product highcharts highstock gantt
1900
1931
  * @apioption xAxis.title.x
1901
1932
  */
1902
1933
 
@@ -1904,7 +1935,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1904
1935
  * Vertical pixel offset of the title position.
1905
1936
  *
1906
1937
  * @type {number}
1907
- * @product highcharts highstock
1938
+ * @product highcharts highstock gantt
1908
1939
  * @apioption xAxis.title.y
1909
1940
  */
1910
1941
 
@@ -1977,11 +2008,34 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1977
2008
  * @sample {highcharts} highcharts/yaxis/type-log-negative/
1978
2009
  * Logarithmic with extension to emulate negative values
1979
2010
  *
1980
- * @product highcharts
2011
+ * @product highcharts gantt
1981
2012
  * @validvalue ["linear", "logarithmic", "datetime", "category"]
1982
2013
  */
1983
2014
  type: 'linear',
1984
2015
 
2016
+ /**
2017
+ * The type of axis. Can be one of `linear`, `logarithmic`, `datetime`,
2018
+ * `category` or `treegrid`. Defaults to `treegrid` for Gantt charts,
2019
+ * `linear` for other chart types.
2020
+ *
2021
+ * In a datetime axis, the numbers are given in milliseconds, and tick
2022
+ * marks are placed on appropriate values, like full hours or days. In a
2023
+ * category or treegrid axis, the [point names](#series.line.data.name)
2024
+ * of the chart's series are used for categories, if a
2025
+ * [categories](#xAxis.categories) array is not defined.
2026
+ *
2027
+ * @sample {highcharts} highcharts/yaxis/type-log-minorgrid/
2028
+ * Logarithmic with minor grid lines
2029
+ * @sample {highcharts} highcharts/yaxis/type-log-negative/
2030
+ * Logarithmic with extension to emulate negative values
2031
+ *
2032
+ * @product highcharts gantt
2033
+ * @validvalue ["linear", "logarithmic", "datetime", "category", "treegrid"]
2034
+ * @default {highcharts} linear
2035
+ * @default {gantt} treegrid
2036
+ * @apioption yAxis.type
2037
+ */
2038
+
1985
2039
  /**
1986
2040
  * Applies only when the axis `type` is `category`. When `uniqueNames`
1987
2041
  * is true, points are placed on the X axis according to their names.
@@ -1999,7 +2053,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1999
2053
  * @type {boolean}
2000
2054
  * @default true
2001
2055
  * @since 4.2.7
2002
- * @product highcharts
2056
+ * @product highcharts gantt
2003
2057
  * @apioption xAxis.uniqueNames
2004
2058
  */
2005
2059
 
@@ -2036,7 +2090,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2036
2090
  * ]]</pre>
2037
2091
  *
2038
2092
  * @type {Array<Array<string|Array<number>>>}
2039
- * @product highcharts highstock
2093
+ * @product highcharts highstock gantt
2040
2094
  * @apioption xAxis.units
2041
2095
  */
2042
2096
 
@@ -2047,7 +2101,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2047
2101
  * @type {boolean}
2048
2102
  * @default true
2049
2103
  * @since 4.1.9
2050
- * @product highcharts highstock
2104
+ * @product highcharts highstock gantt
2051
2105
  * @apioption xAxis.visible
2052
2106
  */
2053
2107
 
@@ -2215,7 +2269,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2215
2269
  * access to the axis.
2216
2270
  *
2217
2271
  * @extends xAxis
2218
- * @excluding ordinal, overscroll
2272
+ * @excluding ordinal,overscroll,currentDateIndicator
2219
2273
  * @optionparent yAxis
2220
2274
  */
2221
2275
  defaultYAxisOptions: {
@@ -2309,6 +2363,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2309
2363
  * @default {highcharts} false
2310
2364
  * @default {highstock} false
2311
2365
  * @default {highmaps} true
2366
+ * @default {gantt} true
2312
2367
  * @apioption yAxis.reversed
2313
2368
  */
2314
2369
 
@@ -2360,7 +2415,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2360
2415
  *
2361
2416
  * @type {number}
2362
2417
  * @default 0
2363
- * @product highcharts highstock
2418
+ * @product highcharts highstock gantt
2364
2419
  * @apioption yAxis.tickWidth
2365
2420
  */
2366
2421
 
@@ -2408,7 +2463,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2408
2463
  * Greater min- and maxPadding
2409
2464
  *
2410
2465
  * @since 1.2.0
2411
- * @product highcharts highstock
2466
+ * @product highcharts highstock gantt
2412
2467
  */
2413
2468
  maxPadding: 0.05,
2414
2469
 
@@ -2425,7 +2480,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2425
2480
  * Greater min- and maxPadding
2426
2481
  *
2427
2482
  * @since 1.2.0
2428
- * @product highcharts highstock
2483
+ * @product highcharts highstock gantt
2429
2484
  */
2430
2485
  minPadding: 0.05,
2431
2486
 
@@ -2441,7 +2496,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2441
2496
  * @type {boolean}
2442
2497
  * @default {highstock} true
2443
2498
  * @default {highcharts} false
2444
- * @product highstock highcharts
2499
+ * @product highstock highcharts gantt
2445
2500
  * @apioption yAxis.opposite
2446
2501
  */
2447
2502
 
@@ -2611,7 +2666,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2611
2666
  *
2612
2667
  * @type {number}
2613
2668
  * @since 5.0.1
2614
- * @product highcharts highstock
2669
+ * @product highcharts highstock gantt
2615
2670
  * @apioption yAxis.softMax
2616
2671
  */
2617
2672
 
@@ -2629,7 +2684,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2629
2684
  *
2630
2685
  * @type {number}
2631
2686
  * @since 5.0.1
2632
- * @product highcharts highstock
2687
+ * @product highcharts highstock gantt
2633
2688
  * @apioption yAxis.softMin
2634
2689
  */
2635
2690
 
@@ -2766,7 +2821,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2766
2821
  * False for Y axis
2767
2822
  *
2768
2823
  * @since 1.2.0
2769
- * @product highcharts highstock
2824
+ * @product highcharts highstock gantt
2770
2825
  */
2771
2826
  startOnTick: true,
2772
2827
 
@@ -2804,7 +2859,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2804
2859
  *
2805
2860
  * @default {highcharts} Values
2806
2861
  * @default {highstock} undefined
2807
- * @product highcharts highstock
2862
+ * @product highcharts highstock gantt
2808
2863
  */
2809
2864
  text: 'Values'
2810
2865
  },
@@ -3124,10 +3179,25 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
3124
3179
  // Flag, if axis is linked to another axis
3125
3180
  axis.isLinked = defined(options.linkedTo);
3126
3181
 
3127
- // Major ticks
3182
+ /**
3183
+ * List of major ticks mapped by postition on axis.
3184
+ *
3185
+ * @name ticks
3186
+ * @memberOf Axis
3187
+ * @type {Object.<number, Highcharts.Tick>}
3188
+ * @see Highcharts.Tick
3189
+ */
3128
3190
  axis.ticks = {};
3129
3191
  axis.labelEdge = [];
3130
- // Minor ticks
3192
+ /**
3193
+ * List of minor ticks mapped by position on the axis.
3194
+ *
3195
+ * @name minorTicks
3196
+ * @memberOf Axis
3197
+ * @type {Object.<number, Highcharts.Tick>}
3198
+ *
3199
+ * @see Highcharts.Tick
3200
+ */
3131
3201
  axis.minorTicks = {};
3132
3202
 
3133
3203
  // List of plotLines/Bands
@@ -3601,9 +3671,11 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
3601
3671
  * @param {boolean} [old=false]
3602
3672
  * Use old coordinates (for resizing and rescaling).
3603
3673
  *
3604
- * @param {boolean} [force=false]
3674
+ * @param {boolean|string} [force=false]
3605
3675
  * If `false`, the function will return null when it falls outside
3606
- * the axis bounds.
3676
+ * the axis bounds. If `true`, the function will return a path
3677
+ * aligned to the plot area sides if it falls outside. If `pass`, it
3678
+ * will return a path outside.
3607
3679
  *
3608
3680
  * @param {number} [translatedValue]
3609
3681
  * If given, return the plot line path of a pixel position on the
@@ -3630,7 +3702,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
3630
3702
  * or skip, depending on the force parameter.
3631
3703
  */
3632
3704
  between = function (x, a, b) {
3633
- if (x < a || x > b) {
3705
+ if (force !== 'pass' && x < a || x > b) {
3634
3706
  if (force) {
3635
3707
  x = Math.min(Math.max(a, x), b);
3636
3708
  } else {
@@ -4153,7 +4225,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
4153
4225
  axis.oldTransA = transA;
4154
4226
  }
4155
4227
  axis.translationSlope = axis.transA = transA =
4156
- axis.options.staticScale ||
4228
+ axis.staticScale ||
4157
4229
  axis.len / ((range + pointRangePadding) || 1);
4158
4230
 
4159
4231
  // Translation addend
@@ -5275,7 +5347,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5275
5347
  * @return {number}
5276
5348
  * The pixel width allocated to each axis label.
5277
5349
  */
5278
- getSlotWidth: function () {
5350
+ getSlotWidth: function (tick) {
5279
5351
  // #5086, #1580, #1931
5280
5352
  var chart = this.chart,
5281
5353
  horiz = this.horiz,
@@ -5287,6 +5359,9 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5287
5359
  marginLeft = chart.margin[3];
5288
5360
 
5289
5361
  return (
5362
+ tick &&
5363
+ tick.slotWidth // Used by grid axis
5364
+ ) || (
5290
5365
  horiz &&
5291
5366
  (labelOptions.step || 0) < 2 &&
5292
5367
  !labelOptions.rotation && // #4415
@@ -5440,11 +5515,14 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5440
5515
  label = tick && tick.label,
5441
5516
  widthOption = labelStyleOptions.width,
5442
5517
  css = {};
5518
+
5443
5519
  if (label) {
5444
5520
  // This needs to go before the CSS in old IE (#4502)
5445
5521
  label.attr(attr);
5446
5522
 
5447
- if (
5523
+ if (tick.shortenLabel) {
5524
+ tick.shortenLabel();
5525
+ } else if (
5448
5526
  commonWidth &&
5449
5527
  !widthOption &&
5450
5528
  // Setting width in this case messes with the bounding box
@@ -5479,7 +5557,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5479
5557
  delete label.specificTextOverflow;
5480
5558
  tick.rotation = attr.rotation;
5481
5559
  }
5482
- });
5560
+ }, this);
5483
5561
 
5484
5562
  // Note: Why is this not part of getLabelPosition?
5485
5563
  this.tickRotCorr = renderer.rotCorr(
@@ -5599,7 +5677,8 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5599
5677
  },
5600
5678
 
5601
5679
  /**
5602
- * Render the tick labels to a preliminary position to get their sizes.
5680
+ /**
5681
+ * Render the tick labels to a preliminary position to get their sizes
5603
5682
  *
5604
5683
  * @private
5605
5684
  * @function Highcharts.Axis#getOffset
@@ -5633,7 +5712,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5633
5712
  className = options.className,
5634
5713
  axisParent = axis.axisParent, // Used in color axis
5635
5714
  lineHeightCorrection,
5636
- tickSize = this.tickSize('tick');
5715
+ tickSize;
5637
5716
 
5638
5717
  // For reuse in Axis.render
5639
5718
  hasData = axis.hasData();
@@ -5759,6 +5838,17 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5759
5838
 
5760
5839
  axis.axisTitleMargin = pick(titleOffsetOption, labelOffsetPadded);
5761
5840
 
5841
+ if (axis.getMaxLabelDimensions) {
5842
+ axis.maxLabelDimensions = axis.getMaxLabelDimensions(
5843
+ ticks,
5844
+ tickPositions
5845
+ );
5846
+ }
5847
+
5848
+ // Due to GridAxis.tickSize, tickSize should be calculated after ticks
5849
+ // has rendered.
5850
+ tickSize = this.tickSize('tick');
5851
+
5762
5852
  axisOffset[side] = Math.max(
5763
5853
  axisOffset[side],
5764
5854
  axis.axisTitleMargin + titleOffset + directionFactor * axis.offset,
@@ -5956,10 +6046,13 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5956
6046
  if (!ticks[pos]) {
5957
6047
  ticks[pos] = new Tick(this, pos);
5958
6048
  }
5959
-
6049
+ // NOTE this seems like overkill. Could be handled in tick.render by
6050
+ // setting old position in attr, then set new position in animate.
5960
6051
  // render new ticks in old position
5961
6052
  if (slideInTicks && ticks[pos].isNew) {
5962
- ticks[pos].render(i, true, 0.1);
6053
+ // Start with negative opacity so that it is visible from
6054
+ // halfway into the animation
6055
+ ticks[pos].render(i, true, -1);
5963
6056
  }
5964
6057
 
5965
6058
  ticks[pos].render(i);