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,19 +1,35 @@
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
  */
6
+
7
+ /**
8
+ * Adjusted width and x offset of the columns for grouping.
9
+ *
10
+ * @typedef Highcharts.ColumnMetricsObject
11
+ *
12
+ * @property {number} width
13
+ * Width of the columns.
14
+ *
15
+ * @property {number} offset
16
+ * Offset of the columns.
17
+ */
18
+
6
19
  'use strict';
20
+
7
21
  import H from './Globals.js';
8
22
  import './Utilities.js';
9
23
  import './Color.js';
10
24
  import './Legend.js';
11
25
  import './Series.js';
12
26
  import './Options.js';
27
+
13
28
  var animObject = H.animObject,
14
29
  color = H.color,
15
30
  each = H.each,
16
31
  extend = H.extend,
32
+ defined = H.defined,
17
33
  isNumber = H.isNumber,
18
34
  LegendSymbolMixin = H.LegendSymbolMixin,
19
35
  merge = H.merge,
@@ -22,35 +38,41 @@ var animObject = H.animObject,
22
38
  Series = H.Series,
23
39
  seriesType = H.seriesType,
24
40
  svg = H.svg;
41
+
25
42
  /**
26
43
  * The column series type.
27
44
  *
28
- * @constructor seriesTypes.column
29
- * @augments Series
45
+ * @private
46
+ * @class
47
+ * @name Highcharts.seriesTypes.column
48
+ *
49
+ * @augments Highcharts.Series
30
50
  */
51
+ seriesType('column', 'line'
31
52
 
32
53
  /**
33
54
  * Column series display one column per value along an X axis.
34
55
  *
35
- * @sample {highcharts} highcharts/demo/column-basic/ Column chart
36
- * @sample {highstock} stock/demo/column/ Column chart
56
+ * @sample {highcharts} highcharts/demo/column-basic/
57
+ * Column chart
58
+ * @sample {highstock} stock/demo/column/
59
+ * Column chart
37
60
  *
38
- * @extends {plotOptions.line}
61
+ * @extends plotOptions.line
62
+ * @excluding connectNulls, dashStyle, gapSize, gapUnit, linecap,
63
+ * lineWidth, marker, connectEnds, step
39
64
  * @product highcharts highstock
40
- * @excluding connectNulls,dashStyle,gapSize,gapUnit,linecap,lineWidth,
41
- * marker,connectEnds,step
42
65
  * @optionparent plotOptions.column
43
66
  */
44
- seriesType('column', 'line', {
67
+ , {
45
68
 
46
69
  /**
47
70
  * The corner radius of the border surrounding each column or bar.
48
71
  *
49
- * @type {Number}
50
- * @sample {highcharts} highcharts/plotoptions/column-borderradius/
51
- * Rounded columns
52
- * @default 0
53
- * @product highcharts highstock
72
+ * @sample {highcharts} highcharts/plotoptions/column-borderradius/
73
+ * Rounded columns
74
+ *
75
+ * @product highcharts highstock gantt
54
76
  */
55
77
  borderRadius: 0,
56
78
 
@@ -64,15 +86,17 @@ seriesType('column', 'line', {
64
86
  * and instead this option gives the points individual color class names on
65
87
  * the form `highcharts-color-{n}`.
66
88
  *
67
- * @type {Boolean}
68
- * @see [series colors](#plotOptions.column.colors)
69
- * @sample {highcharts} highcharts/plotoptions/column-colorbypoint-false/
70
- * False by default
71
- * @sample {highcharts} highcharts/plotoptions/column-colorbypoint-true/
72
- * True
89
+ * @see [series colors](#plotOptions.column.colors)
90
+ *
91
+ * @sample {highcharts} highcharts/plotoptions/column-colorbypoint-false/
92
+ * False by default
93
+ * @sample {highcharts} highcharts/plotoptions/column-colorbypoint-true/
94
+ * True
95
+ *
96
+ * @type {boolean}
73
97
  * @default false
74
98
  * @since 2.0
75
- * @product highcharts highstock
99
+ * @product highcharts highstock gantt
76
100
  * @apioption plotOptions.column.colorByPoint
77
101
  */
78
102
 
@@ -81,9 +105,9 @@ seriesType('column', 'line', {
81
105
  * of the global [colors](#colors) when [colorByPoint](
82
106
  * #plotOptions.column.colorByPoint) is true.
83
107
  *
84
- * @type {Array<Color>}
108
+ * @type {Array<Highcharts.ColorString>}
85
109
  * @since 3.0
86
- * @product highcharts highstock
110
+ * @product highcharts highstock gantt
87
111
  * @apioption plotOptions.column.colors
88
112
  */
89
113
 
@@ -95,21 +119,23 @@ seriesType('column', 'line', {
95
119
  * to `false` may look better, even though each column is rendered
96
120
  * blurry.
97
121
  *
98
- * @sample {highcharts} highcharts/plotoptions/column-crisp-false/
99
- * Crisp is false
122
+ * @sample {highcharts} highcharts/plotoptions/column-crisp-false/
123
+ * Crisp is false
124
+ *
100
125
  * @since 5.0.10
101
- * @product highcharts highstock
126
+ * @product highcharts highstock gantt
102
127
  */
103
128
  crisp: true,
104
129
 
105
130
  /**
106
131
  * Padding between each value groups, in x axis units.
107
132
  *
108
- * @sample {highcharts} highcharts/plotoptions/column-grouppadding-default/
109
- * 0.2 by default
110
- * @sample {highcharts} highcharts/plotoptions/column-grouppadding-none/
111
- * No group padding - all columns are evenly spaced
112
- * @product highcharts highstock
133
+ * @sample {highcharts} highcharts/plotoptions/column-grouppadding-default/
134
+ * 0.2 by default
135
+ * @sample {highcharts} highcharts/plotoptions/column-grouppadding-none/
136
+ * No group padding - all columns are evenly spaced
137
+ *
138
+ * @product highcharts highstock gantt
113
139
  */
114
140
  groupPadding: 0.2,
115
141
 
@@ -118,14 +144,15 @@ seriesType('column', 'line', {
118
144
  * of each other. Non-grouped columns will be laid out individually
119
145
  * and overlap each other.
120
146
  *
121
- * @type {Boolean}
122
- * @sample {highcharts} highcharts/plotoptions/column-grouping-false/
123
- * Grouping disabled
124
- * @sample {highstock} highcharts/plotoptions/column-grouping-false/
125
- * Grouping disabled
147
+ * @sample {highcharts} highcharts/plotoptions/column-grouping-false/
148
+ * Grouping disabled
149
+ * @sample {highstock} highcharts/plotoptions/column-grouping-false/
150
+ * Grouping disabled
151
+ *
152
+ * @type {boolean}
126
153
  * @default true
127
154
  * @since 2.3.0
128
- * @product highcharts highstock
155
+ * @product highcharts highstock gantt
129
156
  * @apioption plotOptions.column.grouping
130
157
  */
131
158
 
@@ -139,28 +166,30 @@ seriesType('column', 'line', {
139
166
  * of a bar in a bar chart. This prevents the columns from becoming
140
167
  * too wide when there is a small number of points in the chart.
141
168
  *
142
- * @type {Number}
143
- * @see [pointWidth](#plotOptions.column.pointWidth)
144
- * @sample {highcharts} highcharts/plotoptions/column-maxpointwidth-20/
145
- * Limited to 50
146
- * @sample {highstock} highcharts/plotoptions/column-maxpointwidth-20/
147
- * Limited to 50
148
- * @default null
169
+ * @see [pointWidth](#plotOptions.column.pointWidth)
170
+ *
171
+ * @sample {highcharts} highcharts/plotoptions/column-maxpointwidth-20/
172
+ * Limited to 50
173
+ * @sample {highstock} highcharts/plotoptions/column-maxpointwidth-20/
174
+ * Limited to 50
175
+ *
176
+ * @type {number}
149
177
  * @since 4.1.8
150
- * @product highcharts highstock
178
+ * @product highcharts highstock gantt
151
179
  * @apioption plotOptions.column.maxPointWidth
152
180
  */
153
181
 
154
182
  /**
155
183
  * Padding between each column or bar, in x axis units.
156
184
  *
157
- * @sample {highcharts} highcharts/plotoptions/column-pointpadding-default/
158
- * 0.1 by default
159
- * @sample {highcharts} highcharts/plotoptions/column-pointpadding-025/
185
+ * @sample {highcharts} highcharts/plotoptions/column-pointpadding-default/
186
+ * 0.1 by default
187
+ * @sample {highcharts} highcharts/plotoptions/column-pointpadding-025/
160
188
  * 0.25
161
- * @sample {highcharts} highcharts/plotoptions/column-pointpadding-none/
162
- * 0 for tightly packed columns
163
- * @product highcharts highstock
189
+ * @sample {highcharts} highcharts/plotoptions/column-pointpadding-none/
190
+ * 0 for tightly packed columns
191
+ *
192
+ * @product highcharts highstock gantt
164
193
  */
165
194
  pointPadding: 0.1,
166
195
 
@@ -169,17 +198,30 @@ seriesType('column', 'line', {
169
198
  * `null`, the width is calculated from the `pointPadding` and
170
199
  * `groupPadding`.
171
200
  *
172
- * @type {Number}
173
- * @see [maxPointWidth](#plotOptions.column.maxPointWidth)
174
- * @sample {highcharts} highcharts/plotoptions/column-pointwidth-20/
175
- * 20px wide columns regardless of chart width or the amount
176
- * of data points
177
- * @default null
201
+ * @see [maxPointWidth](#plotOptions.column.maxPointWidth)
202
+ *
203
+ * @sample {highcharts} highcharts/plotoptions/column-pointwidth-20/
204
+ * 20px wide columns regardless of chart width or the amount of data
205
+ * points
206
+ *
207
+ * @type {number}
178
208
  * @since 1.2.5
179
- * @product highcharts highstock
209
+ * @product highcharts highstock gantt
180
210
  * @apioption plotOptions.column.pointWidth
181
211
  */
182
212
 
213
+ /**
214
+ * A pixel value specifying a fixed width for the column or bar. Overrides
215
+ * pointWidth on the series.
216
+ *
217
+ * @type {Number}
218
+ * @see [series.pointWidth](#plotOptions.column.pointWidth)
219
+ * @default undefined
220
+ * @since 7.0.0
221
+ * @product highcharts highstock gantt
222
+ * @apioption series.column.data.pointWidth
223
+ */
224
+
183
225
  /**
184
226
  * The minimal height for a column or width for a bar. By default,
185
227
  * 0 values are not shown. To visualize a 0 (or close to zero) point,
@@ -187,13 +229,12 @@ seriesType('column', 'line', {
187
229
  * column charts, minPointLength might not be respected for tightly
188
230
  * packed values.
189
231
  *
190
- * @sample {highcharts}
191
- * highcharts/plotoptions/column-minpointlength/
192
- * Zero base value
193
- * @sample {highcharts}
194
- * highcharts/plotoptions/column-minpointlength-pos-and-neg/
195
- * Positive and negative close to zero values
196
- * @product highcharts highstock
232
+ * @sample {highcharts} highcharts/plotoptions/column-minpointlength/
233
+ * Zero base value
234
+ * @sample {highcharts} highcharts/plotoptions/column-minpointlength-pos-and-neg/
235
+ * Positive and negative close to zero values
236
+ *
237
+ * @product highcharts highstock gantt
197
238
  */
198
239
  minPointLength: 0,
199
240
 
@@ -205,9 +246,9 @@ seriesType('column', 'line', {
205
246
  * On the other hand, when the series contains more points than the
206
247
  * crop threshold, the series data is cropped to only contain points
207
248
  * that fall within the plot area. The advantage of cropping away invisible
208
- * points is to increase performance on large series. .
249
+ * points is to increase performance on large series.
209
250
  *
210
- * @product highcharts highstock
251
+ * @product highcharts highstock gantt
211
252
  */
212
253
  cropThreshold: 50,
213
254
 
@@ -221,12 +262,13 @@ seriesType('column', 'line', {
221
262
  * The default `null` means it is computed automatically, but this option
222
263
  * can be used to override the automatic value.
223
264
  *
224
- * @type {Number}
225
- * @sample {highcharts} highcharts/plotoptions/column-pointrange/
226
- * Set the point range to one day on a data set with one week
227
- * between the points
265
+ * @sample {highcharts} highcharts/plotoptions/column-pointrange/
266
+ * Set the point range to one day on a data set with one week
267
+ * between the points
268
+ *
269
+ * @type {number|null}
228
270
  * @since 2.3
229
- * @product highcharts highstock
271
+ * @product highcharts highstock gantt
230
272
  */
231
273
  pointRange: null,
232
274
 
@@ -237,29 +279,30 @@ seriesType('column', 'line', {
237
279
  * state options when a point is moused over or touched.
238
280
  *
239
281
  * @extends plotOptions.series.states.hover
240
- * @excluding halo,lineWidth,lineWidthPlus,marker
241
- * @product highcharts highstock
282
+ * @excluding halo, lineWidth, lineWidthPlus, marker
283
+ * @product highcharts highstock gantt
242
284
  */
243
285
  hover: {
244
286
 
245
- /** @ignore-option */
287
+ /**
288
+ * @ignore-option
289
+ */
246
290
  halo: false,
247
291
 
248
292
  /**
249
293
  * A specific border color for the hovered point. Defaults to
250
294
  * inherit the normal state border color.
251
295
  *
252
- * @type {Color}
253
- * @product highcharts
296
+ * @type {Highcharts.ColorString}
297
+ * @product highcharts gantt
254
298
  * @apioption plotOptions.column.states.hover.borderColor
255
299
  */
256
300
 
257
301
  /**
258
302
  * A specific color for the hovered point.
259
303
  *
260
- * @type {Color}
261
- * @default undefined
262
- * @product highcharts
304
+ * @type {Highcharts.ColorString}
305
+ * @product highcharts gantt
263
306
  * @apioption plotOptions.column.states.hover.color
264
307
  */
265
308
 
@@ -272,49 +315,66 @@ seriesType('column', 'line', {
272
315
  * In styled mode, the hover brightening is by default replaced
273
316
  * with a fill-opacity set in the `.highcharts-point:hover` rule.
274
317
  *
275
- * @sample {highcharts}
276
- * highcharts/plotoptions/column-states-hover-brightness/
277
- * Brighten by 0.5
278
- * @product highcharts highstock
318
+ * @sample {highcharts} highcharts/plotoptions/column-states-hover-brightness/
319
+ * Brighten by 0.5
320
+ *
321
+ * @product highcharts highstock gantt
279
322
  */
280
323
  brightness: 0.1
281
324
 
282
325
 
283
326
  },
327
+
284
328
 
285
329
 
286
330
  /**
287
331
  * Options for the selected point. These settings override the normal
288
332
  * state options when a point is selected.
289
333
  *
290
- * @excluding halo,lineWidth,lineWidthPlus,marker
291
- * @product highcharts highstock
334
+ * @extends plotOptions.series.states.select
335
+ * @excluding halo, lineWidth, lineWidthPlus, marker
336
+ * @product highcharts highstock gantt
292
337
  */
293
338
  select: {
339
+
294
340
  /**
295
341
  * A specific color for the selected point.
296
342
  *
297
- * @type {Color}
343
+ * @type {Highcharts.ColorString}
298
344
  * @default #cccccc
299
- * @product highcharts highstock
345
+ * @product highcharts highstock gantt
300
346
  */
301
347
  color: '#cccccc',
302
348
 
303
349
  /**
304
350
  * A specific border color for the selected point.
305
351
  *
306
- * @type {Color}
352
+ * @type {Highcharts.ColorString}
307
353
  * @default #000000
308
- * @product highcharts highstock
354
+ * @product highcharts highstock gantt
309
355
  */
310
356
  borderColor: '#000000'
311
357
  }
358
+
312
359
 
360
+
313
361
  },
314
362
 
315
363
  dataLabels: {
364
+
365
+ /**
366
+ * @type {string|null}
367
+ */
316
368
  align: null, // auto
369
+
370
+ /**
371
+ * @type {string|null}
372
+ */
317
373
  verticalAlign: null, // auto
374
+
375
+ /**
376
+ * @type {number|null}
377
+ */
318
378
  y: null
319
379
  },
320
380
 
@@ -362,11 +422,12 @@ seriesType('column', 'line', {
362
422
  * In styled mode, the stroke width can be set with the `.highcharts-point`
363
423
  * rule.
364
424
  *
365
- * @type {Number}
366
- * @sample {highcharts} highcharts/plotoptions/column-borderwidth/
367
- * 2px black border
425
+ * @sample {highcharts} highcharts/plotoptions/column-borderwidth/
426
+ * 2px black border
427
+ *
428
+ * @type {number}
368
429
  * @default 1
369
- * @product highcharts highstock
430
+ * @product highcharts highstock gantt
370
431
  * @apioption plotOptions.column.borderWidth
371
432
  */
372
433
 
@@ -376,11 +437,12 @@ seriesType('column', 'line', {
376
437
  * In styled mode, the border stroke can be set with the `.highcharts-point`
377
438
  * rule.
378
439
  *
379
- * @type {Color}
380
- * @sample {highcharts} highcharts/plotoptions/column-bordercolor/
381
- * Dark gray border
382
- * @default #ffffff
383
- * @product highcharts highstock
440
+ * @sample {highcharts} highcharts/plotoptions/column-bordercolor/
441
+ * Dark gray border
442
+ *
443
+ * @type {Highcharts.ColorString}
444
+ * @default #ffffff
445
+ * @product highcharts highstock gantt
384
446
  */
385
447
  borderColor: '#ffffff'
386
448
 
@@ -400,9 +462,8 @@ seriesType('column', 'line', {
400
462
  * Initialize the series. Extends the basic Series.init method by
401
463
  * marking other series of the same type as dirty.
402
464
  *
403
- * @function #init
404
- * @memberof seriesTypes.column
405
- *
465
+ * @private
466
+ * @function Highcharts.seriesTypes.column#init
406
467
  */
407
468
  init: function () {
408
469
  Series.prototype.init.apply(this, arguments);
@@ -424,6 +485,11 @@ seriesType('column', 'line', {
424
485
  /**
425
486
  * Return the width and x offset of the columns adjusted for grouping,
426
487
  * groupPadding, pointPadding, pointWidth etc.
488
+ *
489
+ * @private
490
+ * @function Highcharts.seriesTypes.column#getColumnMetrics
491
+ *
492
+ * @return {Highcharts.ColumnMetricsObject}
427
493
  */
428
494
  getColumnMetrics: function () {
429
495
 
@@ -514,6 +580,19 @@ seriesType('column', 'line', {
514
580
 
515
581
  /**
516
582
  * Make the columns crisp. The edges are rounded to the nearest full pixel.
583
+ *
584
+ * @private
585
+ * @function Highcharts.seriesTypes.column#crispCol
586
+ *
587
+ * @param {number} x
588
+ *
589
+ * @param {number} y
590
+ *
591
+ * @param {number} w
592
+ *
593
+ * @param {number} h
594
+ *
595
+ * @return {*}
517
596
  */
518
597
  crispCol: function (x, y, w, h) {
519
598
  var chart = this.chart,
@@ -559,6 +638,9 @@ seriesType('column', 'line', {
559
638
  /**
560
639
  * Translate each point to the plot area coordinate system and find shape
561
640
  * positions
641
+ *
642
+ * @private
643
+ * @function Highcharts.seriesTypes.column#translate
562
644
  */
563
645
  translate: function () {
564
646
  var series = this,
@@ -576,11 +658,11 @@ seriesType('column', 'line', {
576
658
  yAxis.getThreshold(threshold),
577
659
  minPointLength = pick(options.minPointLength, 5),
578
660
  metrics = series.getColumnMetrics(),
579
- pointWidth = metrics.width,
661
+ seriesPointWidth = metrics.width,
580
662
  // postprocessed for border width
581
663
  seriesBarW = series.barW =
582
- Math.max(pointWidth, 1 + 2 * borderWidth),
583
- pointXOffset = series.pointXOffset = metrics.offset;
664
+ Math.max(seriesPointWidth, 1 + 2 * borderWidth),
665
+ seriesXOffset = series.pointXOffset = metrics.offset;
584
666
 
585
667
  if (chart.inverted) {
586
668
  translatedThreshold -= 0.5; // #3355
@@ -599,11 +681,12 @@ seriesType('column', 'line', {
599
681
  each(series.points, function (point) {
600
682
  var yBottom = pick(point.yBottom, translatedThreshold),
601
683
  safeDistance = 999 + Math.abs(yBottom),
684
+ pointWidth = seriesPointWidth,
602
685
  plotY = Math.min(
603
686
  Math.max(-safeDistance, point.plotY),
604
687
  yAxis.len + safeDistance
605
688
  ), // Don't draw too far outside plot area (#1303, #2241, #4264)
606
- barX = point.plotX + pointXOffset,
689
+ barX = point.plotX + seriesXOffset,
607
690
  barW = seriesBarW,
608
691
  barY = Math.min(plotY, yBottom),
609
692
  up,
@@ -633,6 +716,13 @@ seriesType('column', 'line', {
633
716
  translatedThreshold - (up ? minPointLength : 0);
634
717
  }
635
718
 
719
+ // Handle point.options.pointWidth
720
+ // TODO: Handle grouping/stacking as well. Calculate offset properly
721
+ if (defined(point.options.pointWidth)) {
722
+ pointWidth = barW = Math.ceil(point.options.pointWidth);
723
+ barX -= Math.round((pointWidth - seriesPointWidth) / 2);
724
+ }
725
+
636
726
  // Cache for access in polar
637
727
  point.barX = barX;
638
728
  point.pointWidth = pointWidth;
@@ -664,12 +754,24 @@ seriesType('column', 'line', {
664
754
 
665
755
  /**
666
756
  * Use a solid rectangle like the area series types
757
+ *
758
+ * @private
759
+ * @function Highcharts.seriesTypes.column#drawLegendSymbol
760
+ *
761
+ * @param {Highcharts.Legend} legend
762
+ * The legend object
763
+ *
764
+ * @param {Highcharts.Series|Highcharts.Point} item
765
+ * The series (this) or point
667
766
  */
668
767
  drawLegendSymbol: LegendSymbolMixin.drawRectangle,
669
768
 
670
769
 
671
770
  /**
672
771
  * Columns have no graph
772
+ *
773
+ * @private
774
+ * @function Highcharts.seriesTypes.column#drawGraph
673
775
  */
674
776
  drawGraph: function () {
675
777
  this.group[
@@ -680,6 +782,15 @@ seriesType('column', 'line', {
680
782
 
681
783
  /**
682
784
  * Get presentational attributes
785
+ *
786
+ * @private
787
+ * @function Highcharts.seriesTypes.column#pointAttribs
788
+ *
789
+ * @param {Highcharts.Point} point
790
+ *
791
+ * @param {string} state
792
+ *
793
+ * @return {Highcharts.Dictionary<any>}
683
794
  */
684
795
  pointAttribs: function (point, state) {
685
796
  var options = this.options,
@@ -742,6 +853,9 @@ seriesType('column', 'line', {
742
853
  * Draw the columns. For bars, the series.group is rotated, so the same
743
854
  * coordinates apply for columns and bars. This method is inherited by
744
855
  * scatter series.
856
+ *
857
+ * @private
858
+ * @function Highcharts.seriesTypes.column#drawPoints
745
859
  */
746
860
  drawPoints: function () {
747
861
  var series = this,
@@ -802,8 +916,13 @@ seriesType('column', 'line', {
802
916
  },
803
917
 
804
918
  /**
805
- * Animate the column heights one by one from zero
806
- * @param {Boolean} init Whether to initialize the animation or run it
919
+ * Animate the column heights one by one from zero.
920
+ *
921
+ * @private
922
+ * @function Highcharts.seriesTypes.column#animate
923
+ *
924
+ * @param {boolean} init
925
+ * Whether to initialize the animation or run it
807
926
  */
808
927
  animate: function (init) {
809
928
  var series = this,
@@ -854,6 +973,9 @@ seriesType('column', 'line', {
854
973
 
855
974
  /**
856
975
  * Remove this series from the chart
976
+ *
977
+ * @private
978
+ * @function Highcharts.seriesTypes.column#remove
857
979
  */
858
980
  remove: function () {
859
981
  var series = this,
@@ -878,26 +1000,13 @@ seriesType('column', 'line', {
878
1000
  * A `column` series. If the [type](#series.column.type) option is
879
1001
  * not specified, it is inherited from [chart.type](#chart.type).
880
1002
  *
881
- * @type {Object}
882
1003
  * @extends series,plotOptions.column
883
- * @excluding connectNulls,dashStyle,dataParser,dataURL,gapSize,gapUnit,linecap,
884
- * lineWidth,marker,connectEnds,step
1004
+ * @excluding connectNulls, dashStyle, dataParser, dataURL, gapSize, gapUnit,
1005
+ * linecap, lineWidth, marker, connectEnds, step
885
1006
  * @product highcharts highstock
886
1007
  * @apioption series.column
887
1008
  */
888
1009
 
889
- /**
890
- * @excluding halo,lineWidth,lineWidthPlus,marker
891
- * @product highcharts highstock
892
- * @apioption series.column.states.hover
893
- */
894
-
895
- /**
896
- * @excluding halo,lineWidth,lineWidthPlus,marker
897
- * @product highcharts highstock
898
- * @apioption series.column.states.select
899
- */
900
-
901
1010
  /**
902
1011
  * An array of data points for the series. For the `column` series type,
903
1012
  * points can be given in the following ways:
@@ -943,19 +1052,20 @@ seriesType('column', 'line', {
943
1052
  * }]
944
1053
  * ```
945
1054
  *
946
- * @type {Array<Object|Array|Number>}
1055
+ * @sample {highcharts} highcharts/chart/reflow-true/
1056
+ * Numerical values
1057
+ * @sample {highcharts} highcharts/series/data-array-of-arrays/
1058
+ * Arrays of numeric x and y
1059
+ * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
1060
+ * Arrays of datetime x and y
1061
+ * @sample {highcharts} highcharts/series/data-array-of-name-value/
1062
+ * Arrays of point.name and y
1063
+ * @sample {highcharts} highcharts/series/data-array-of-objects/
1064
+ * Config objects
1065
+ *
1066
+ * @type {Array<number|Array<number|string|Date>|*>}
947
1067
  * @extends series.line.data
948
1068
  * @excluding marker
949
- * @sample {highcharts} highcharts/chart/reflow-true/
950
- * Numerical values
951
- * @sample {highcharts} highcharts/series/data-array-of-arrays/
952
- * Arrays of numeric x and y
953
- * @sample {highcharts} highcharts/series/data-array-of-arrays-datetime/
954
- * Arrays of datetime x and y
955
- * @sample {highcharts} highcharts/series/data-array-of-name-value/
956
- * Arrays of point.name and y
957
- * @sample {highcharts} highcharts/series/data-array-of-objects/
958
- * Config objects
959
1069
  * @product highcharts highstock
960
1070
  * @apioption series.column.data
961
1071
  */
@@ -966,10 +1076,10 @@ seriesType('column', 'line', {
966
1076
  * In styled mode, the border stroke can be set with the `.highcharts-point`
967
1077
  * rule.
968
1078
  *
969
- * @type {Color}
970
- * @sample {highcharts} highcharts/plotoptions/column-bordercolor/
971
- * Dark gray border
972
- * @default undefined
1079
+ * @sample {highcharts} highcharts/plotoptions/column-bordercolor/
1080
+ * Dark gray border
1081
+ *
1082
+ * @type {Highcharts.ColorString}
973
1083
  * @product highcharts highstock
974
1084
  * @apioption series.column.data.borderColor
975
1085
  */
@@ -980,10 +1090,22 @@ seriesType('column', 'line', {
980
1090
  * In styled mode, the stroke width can be set with the `.highcharts-point`
981
1091
  * rule.
982
1092
  *
983
- * @type {Number}
984
- * @sample {highcharts} highcharts/plotoptions/column-borderwidth/
985
- * 2px black border
986
- * @default undefined
1093
+ * @sample {highcharts} highcharts/plotoptions/column-borderwidth/
1094
+ * 2px black border
1095
+ *
1096
+ * @type {number}
987
1097
  * @product highcharts highstock
988
1098
  * @apioption series.column.data.borderWidth
989
1099
  */
1100
+
1101
+ /**
1102
+ * @excluding halo, lineWidth, lineWidthPlus, marker
1103
+ * @product highcharts highstock
1104
+ * @apioption series.column.states.hover
1105
+ */
1106
+
1107
+ /**
1108
+ * @excluding halo, lineWidth, lineWidthPlus, marker
1109
+ * @product highcharts highstock
1110
+ * @apioption series.column.states.select
1111
+ */