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
 
@@ -1049,7 +1080,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1049
1080
  *
1050
1081
  * @type {number}
1051
1082
  * @since 2.0.2
1052
- * @product highcharts highstock
1083
+ * @product highcharts highstock gantt
1053
1084
  * @apioption xAxis.linkedTo
1054
1085
  */
1055
1086
 
@@ -1264,7 +1295,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1264
1295
  * @default {highcharts} 0.01
1265
1296
  * @default {highstock|highmaps} 0
1266
1297
  * @since 1.2.0
1267
- * @product highcharts highstock
1298
+ * @product highcharts highstock gantt
1268
1299
  */
1269
1300
  minPadding: 0.01,
1270
1301
 
@@ -1502,7 +1533,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1502
1533
  *
1503
1534
  * @type {boolean}
1504
1535
  * @default true
1505
- * @product highcharts highstock
1536
+ * @product highcharts highstock gantt
1506
1537
  * @apioption xAxis.showLastLabel
1507
1538
  */
1508
1539
 
@@ -1516,7 +1547,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1516
1547
  *
1517
1548
  * @type {number}
1518
1549
  * @since 5.0.1
1519
- * @product highcharts highstock
1550
+ * @product highcharts highstock gantt
1520
1551
  * @apioption xAxis.softMax
1521
1552
  */
1522
1553
 
@@ -1530,7 +1561,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1530
1561
  *
1531
1562
  * @type {number}
1532
1563
  * @since 5.0.1
1533
- * @product highcharts highstock
1564
+ * @product highcharts highstock gantt
1534
1565
  * @apioption xAxis.softMin
1535
1566
  */
1536
1567
 
@@ -1547,7 +1578,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1547
1578
  * @sample {highstock} stock/xaxis/startofweek-0
1548
1579
  * Sunday
1549
1580
  *
1550
- * @product highcharts highstock
1581
+ * @product highcharts highstock gantt
1551
1582
  */
1552
1583
  startOfWeek: 1,
1553
1584
 
@@ -1586,7 +1617,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1586
1617
  *
1587
1618
  * @type {number}
1588
1619
  * @since 4.1.0
1589
- * @product highcharts highstock
1620
+ * @product highcharts highstock gantt
1590
1621
  * @apioption xAxis.tickAmount
1591
1622
  */
1592
1623
 
@@ -1665,7 +1696,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1665
1696
  * @sample {highcharts} highcharts/xaxis/tickmarkplacement-on/
1666
1697
  * "on"
1667
1698
  *
1668
- * @product highcharts
1699
+ * @product highcharts gantt
1669
1700
  * @validvalue [null, "on", "between"]
1670
1701
  */
1671
1702
  tickmarkPlacement: 'between',
@@ -1794,7 +1825,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1794
1825
  * @type {boolean}
1795
1826
  * @default true
1796
1827
  * @since 5.0.11
1797
- * @product highcharts highstock
1828
+ * @product highcharts highstock gantt
1798
1829
  * @apioption xAxis.title.reserveSpace
1799
1830
  */
1800
1831
 
@@ -1855,7 +1886,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1855
1886
  *
1856
1887
  * @type {boolean}
1857
1888
  * @default false
1858
- * @product highcharts highstock
1889
+ * @product highcharts highstock gantt
1859
1890
  * @apioption xAxis.title.useHTML
1860
1891
  */
1861
1892
 
@@ -1865,7 +1896,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1865
1896
  * @type {number}
1866
1897
  * @default 0
1867
1898
  * @since 4.1.6
1868
- * @product highcharts highstock
1899
+ * @product highcharts highstock gantt
1869
1900
  * @apioption xAxis.title.x
1870
1901
  */
1871
1902
 
@@ -1873,7 +1904,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1873
1904
  * Vertical pixel offset of the title position.
1874
1905
  *
1875
1906
  * @type {number}
1876
- * @product highcharts highstock
1907
+ * @product highcharts highstock gantt
1877
1908
  * @apioption xAxis.title.y
1878
1909
  */
1879
1910
 
@@ -1920,11 +1951,34 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1920
1951
  * @sample {highcharts} highcharts/yaxis/type-log-negative/
1921
1952
  * Logarithmic with extension to emulate negative values
1922
1953
  *
1923
- * @product highcharts
1954
+ * @product highcharts gantt
1924
1955
  * @validvalue ["linear", "logarithmic", "datetime", "category"]
1925
1956
  */
1926
1957
  type: 'linear',
1927
1958
 
1959
+ /**
1960
+ * The type of axis. Can be one of `linear`, `logarithmic`, `datetime`,
1961
+ * `category` or `treegrid`. Defaults to `treegrid` for Gantt charts,
1962
+ * `linear` for other chart types.
1963
+ *
1964
+ * In a datetime axis, the numbers are given in milliseconds, and tick
1965
+ * marks are placed on appropriate values, like full hours or days. In a
1966
+ * category or treegrid axis, the [point names](#series.line.data.name)
1967
+ * of the chart's series are used for categories, if a
1968
+ * [categories](#xAxis.categories) array is not defined.
1969
+ *
1970
+ * @sample {highcharts} highcharts/yaxis/type-log-minorgrid/
1971
+ * Logarithmic with minor grid lines
1972
+ * @sample {highcharts} highcharts/yaxis/type-log-negative/
1973
+ * Logarithmic with extension to emulate negative values
1974
+ *
1975
+ * @product highcharts gantt
1976
+ * @validvalue ["linear", "logarithmic", "datetime", "category", "treegrid"]
1977
+ * @default {highcharts} linear
1978
+ * @default {gantt} treegrid
1979
+ * @apioption yAxis.type
1980
+ */
1981
+
1928
1982
  /**
1929
1983
  * Applies only when the axis `type` is `category`. When `uniqueNames`
1930
1984
  * is true, points are placed on the X axis according to their names.
@@ -1942,7 +1996,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1942
1996
  * @type {boolean}
1943
1997
  * @default true
1944
1998
  * @since 4.2.7
1945
- * @product highcharts
1999
+ * @product highcharts gantt
1946
2000
  * @apioption xAxis.uniqueNames
1947
2001
  */
1948
2002
 
@@ -1979,7 +2033,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1979
2033
  * ]]</pre>
1980
2034
  *
1981
2035
  * @type {Array<Array<string|Array<number>>>}
1982
- * @product highcharts highstock
2036
+ * @product highcharts highstock gantt
1983
2037
  * @apioption xAxis.units
1984
2038
  */
1985
2039
 
@@ -1990,7 +2044,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
1990
2044
  * @type {boolean}
1991
2045
  * @default true
1992
2046
  * @since 4.1.9
1993
- * @product highcharts highstock
2047
+ * @product highcharts highstock gantt
1994
2048
  * @apioption xAxis.visible
1995
2049
  */
1996
2050
 
@@ -2008,7 +2062,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2008
2062
  * access to the axis.
2009
2063
  *
2010
2064
  * @extends xAxis
2011
- * @excluding ordinal, overscroll
2065
+ * @excluding ordinal,overscroll,currentDateIndicator
2012
2066
  * @optionparent yAxis
2013
2067
  */
2014
2068
  defaultYAxisOptions: {
@@ -2102,6 +2156,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2102
2156
  * @default {highcharts} false
2103
2157
  * @default {highstock} false
2104
2158
  * @default {highmaps} true
2159
+ * @default {gantt} true
2105
2160
  * @apioption yAxis.reversed
2106
2161
  */
2107
2162
 
@@ -2153,7 +2208,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2153
2208
  *
2154
2209
  * @type {number}
2155
2210
  * @default 0
2156
- * @product highcharts highstock
2211
+ * @product highcharts highstock gantt
2157
2212
  * @apioption yAxis.tickWidth
2158
2213
  */
2159
2214
 
@@ -2201,7 +2256,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2201
2256
  * Greater min- and maxPadding
2202
2257
  *
2203
2258
  * @since 1.2.0
2204
- * @product highcharts highstock
2259
+ * @product highcharts highstock gantt
2205
2260
  */
2206
2261
  maxPadding: 0.05,
2207
2262
 
@@ -2218,7 +2273,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2218
2273
  * Greater min- and maxPadding
2219
2274
  *
2220
2275
  * @since 1.2.0
2221
- * @product highcharts highstock
2276
+ * @product highcharts highstock gantt
2222
2277
  */
2223
2278
  minPadding: 0.05,
2224
2279
 
@@ -2234,7 +2289,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2234
2289
  * @type {boolean}
2235
2290
  * @default {highstock} true
2236
2291
  * @default {highcharts} false
2237
- * @product highstock highcharts
2292
+ * @product highstock highcharts gantt
2238
2293
  * @apioption yAxis.opposite
2239
2294
  */
2240
2295
 
@@ -2404,7 +2459,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2404
2459
  *
2405
2460
  * @type {number}
2406
2461
  * @since 5.0.1
2407
- * @product highcharts highstock
2462
+ * @product highcharts highstock gantt
2408
2463
  * @apioption yAxis.softMax
2409
2464
  */
2410
2465
 
@@ -2422,7 +2477,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2422
2477
  *
2423
2478
  * @type {number}
2424
2479
  * @since 5.0.1
2425
- * @product highcharts highstock
2480
+ * @product highcharts highstock gantt
2426
2481
  * @apioption yAxis.softMin
2427
2482
  */
2428
2483
 
@@ -2559,7 +2614,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2559
2614
  * False for Y axis
2560
2615
  *
2561
2616
  * @since 1.2.0
2562
- * @product highcharts highstock
2617
+ * @product highcharts highstock gantt
2563
2618
  */
2564
2619
  startOnTick: true,
2565
2620
 
@@ -2597,7 +2652,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2597
2652
  *
2598
2653
  * @default {highcharts} Values
2599
2654
  * @default {highstock} undefined
2600
- * @product highcharts highstock
2655
+ * @product highcharts highstock gantt
2601
2656
  */
2602
2657
  text: 'Values'
2603
2658
  },
@@ -2874,10 +2929,25 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
2874
2929
  // Flag, if axis is linked to another axis
2875
2930
  axis.isLinked = defined(options.linkedTo);
2876
2931
 
2877
- // Major ticks
2932
+ /**
2933
+ * List of major ticks mapped by postition on axis.
2934
+ *
2935
+ * @name ticks
2936
+ * @memberOf Axis
2937
+ * @type {Object.<number, Highcharts.Tick>}
2938
+ * @see Highcharts.Tick
2939
+ */
2878
2940
  axis.ticks = {};
2879
2941
  axis.labelEdge = [];
2880
- // Minor ticks
2942
+ /**
2943
+ * List of minor ticks mapped by position on the axis.
2944
+ *
2945
+ * @name minorTicks
2946
+ * @memberOf Axis
2947
+ * @type {Object.<number, Highcharts.Tick>}
2948
+ *
2949
+ * @see Highcharts.Tick
2950
+ */
2881
2951
  axis.minorTicks = {};
2882
2952
 
2883
2953
  // List of plotLines/Bands
@@ -3351,9 +3421,11 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
3351
3421
  * @param {boolean} [old=false]
3352
3422
  * Use old coordinates (for resizing and rescaling).
3353
3423
  *
3354
- * @param {boolean} [force=false]
3424
+ * @param {boolean|string} [force=false]
3355
3425
  * If `false`, the function will return null when it falls outside
3356
- * the axis bounds.
3426
+ * the axis bounds. If `true`, the function will return a path
3427
+ * aligned to the plot area sides if it falls outside. If `pass`, it
3428
+ * will return a path outside.
3357
3429
  *
3358
3430
  * @param {number} [translatedValue]
3359
3431
  * If given, return the plot line path of a pixel position on the
@@ -3380,7 +3452,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
3380
3452
  * or skip, depending on the force parameter.
3381
3453
  */
3382
3454
  between = function (x, a, b) {
3383
- if (x < a || x > b) {
3455
+ if (force !== 'pass' && x < a || x > b) {
3384
3456
  if (force) {
3385
3457
  x = Math.min(Math.max(a, x), b);
3386
3458
  } else {
@@ -3903,7 +3975,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
3903
3975
  axis.oldTransA = transA;
3904
3976
  }
3905
3977
  axis.translationSlope = axis.transA = transA =
3906
- axis.options.staticScale ||
3978
+ axis.staticScale ||
3907
3979
  axis.len / ((range + pointRangePadding) || 1);
3908
3980
 
3909
3981
  // Translation addend
@@ -5025,7 +5097,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5025
5097
  * @return {number}
5026
5098
  * The pixel width allocated to each axis label.
5027
5099
  */
5028
- getSlotWidth: function () {
5100
+ getSlotWidth: function (tick) {
5029
5101
  // #5086, #1580, #1931
5030
5102
  var chart = this.chart,
5031
5103
  horiz = this.horiz,
@@ -5037,6 +5109,9 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5037
5109
  marginLeft = chart.margin[3];
5038
5110
 
5039
5111
  return (
5112
+ tick &&
5113
+ tick.slotWidth // Used by grid axis
5114
+ ) || (
5040
5115
  horiz &&
5041
5116
  (labelOptions.step || 0) < 2 &&
5042
5117
  !labelOptions.rotation && // #4415
@@ -5190,11 +5265,14 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5190
5265
  label = tick && tick.label,
5191
5266
  widthOption = labelStyleOptions.width,
5192
5267
  css = {};
5268
+
5193
5269
  if (label) {
5194
5270
  // This needs to go before the CSS in old IE (#4502)
5195
5271
  label.attr(attr);
5196
5272
 
5197
- if (
5273
+ if (tick.shortenLabel) {
5274
+ tick.shortenLabel();
5275
+ } else if (
5198
5276
  commonWidth &&
5199
5277
  !widthOption &&
5200
5278
  // Setting width in this case messes with the bounding box
@@ -5229,7 +5307,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5229
5307
  delete label.specificTextOverflow;
5230
5308
  tick.rotation = attr.rotation;
5231
5309
  }
5232
- });
5310
+ }, this);
5233
5311
 
5234
5312
  // Note: Why is this not part of getLabelPosition?
5235
5313
  this.tickRotCorr = renderer.rotCorr(
@@ -5342,7 +5420,8 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5342
5420
  },
5343
5421
 
5344
5422
  /**
5345
- * Render the tick labels to a preliminary position to get their sizes.
5423
+ /**
5424
+ * Render the tick labels to a preliminary position to get their sizes
5346
5425
  *
5347
5426
  * @private
5348
5427
  * @function Highcharts.Axis#getOffset
@@ -5376,7 +5455,7 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5376
5455
  className = options.className,
5377
5456
  axisParent = axis.axisParent, // Used in color axis
5378
5457
  lineHeightCorrection,
5379
- tickSize = this.tickSize('tick');
5458
+ tickSize;
5380
5459
 
5381
5460
  // For reuse in Axis.render
5382
5461
  hasData = axis.hasData();
@@ -5502,6 +5581,17 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5502
5581
 
5503
5582
  axis.axisTitleMargin = pick(titleOffsetOption, labelOffsetPadded);
5504
5583
 
5584
+ if (axis.getMaxLabelDimensions) {
5585
+ axis.maxLabelDimensions = axis.getMaxLabelDimensions(
5586
+ ticks,
5587
+ tickPositions
5588
+ );
5589
+ }
5590
+
5591
+ // Due to GridAxis.tickSize, tickSize should be calculated after ticks
5592
+ // has rendered.
5593
+ tickSize = this.tickSize('tick');
5594
+
5505
5595
  axisOffset[side] = Math.max(
5506
5596
  axisOffset[side],
5507
5597
  axis.axisTitleMargin + titleOffset + directionFactor * axis.offset,
@@ -5693,10 +5783,13 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
5693
5783
  if (!ticks[pos]) {
5694
5784
  ticks[pos] = new Tick(this, pos);
5695
5785
  }
5696
-
5786
+ // NOTE this seems like overkill. Could be handled in tick.render by
5787
+ // setting old position in attr, then set new position in animate.
5697
5788
  // render new ticks in old position
5698
5789
  if (slideInTicks && ticks[pos].isNew) {
5699
- ticks[pos].render(i, true, 0.1);
5790
+ // Start with negative opacity so that it is visible from
5791
+ // halfway into the animation
5792
+ ticks[pos].render(i, true, -1);
5700
5793
  }
5701
5794
 
5702
5795
  ticks[pos].render(i);