highcharts 6.1.1 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (871) hide show
  1. package/bower.json +1 -1
  2. package/css/highcharts.css +29 -0
  3. package/css/highcharts.scss +25 -1
  4. package/css/themes/dark-unica.css +29 -0
  5. package/css/themes/grid-light.css +29 -0
  6. package/css/themes/sand-signika.css +29 -0
  7. package/es-modules/indicators/accumulation-distribution.src.js +1 -1
  8. package/es-modules/indicators/atr.src.js +1 -1
  9. package/es-modules/indicators/bollinger-bands.src.js +2 -2
  10. package/es-modules/indicators/cci.src.js +1 -1
  11. package/es-modules/indicators/cmf.src.js +1 -1
  12. package/es-modules/indicators/ema.src.js +1 -1
  13. package/es-modules/indicators/ichimoku-kinko-hyo.src.js +1 -1
  14. package/es-modules/indicators/indicators.src.js +29 -14
  15. package/es-modules/indicators/macd.src.js +4 -4
  16. package/es-modules/indicators/mfi.src.js +1 -1
  17. package/es-modules/indicators/momentum.src.js +2 -2
  18. package/es-modules/indicators/pivot-points.src.js +7 -2
  19. package/es-modules/indicators/price-envelopes.src.js +2 -2
  20. package/es-modules/indicators/psar.src.js +1 -1
  21. package/es-modules/indicators/roc.src.js +1 -1
  22. package/es-modules/indicators/rsi.src.js +1 -1
  23. package/es-modules/indicators/stochastic.src.js +9 -7
  24. package/es-modules/indicators/volume-by-price.src.js +1 -1
  25. package/es-modules/indicators/vwap.src.js +1 -1
  26. package/es-modules/indicators/wma.src.js +1 -1
  27. package/es-modules/indicators/zigzag.src.js +1 -1
  28. package/es-modules/masters/highcharts-gantt.src.js +11 -0
  29. package/es-modules/masters/modules/annotations.src.js +1 -1
  30. package/es-modules/masters/modules/arrow-symbols.src.js +12 -0
  31. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  32. package/es-modules/masters/modules/current-date-indicator.src.js +12 -0
  33. package/es-modules/masters/modules/data.src.js +1 -1
  34. package/es-modules/masters/modules/draggable-points.src.js +9 -0
  35. package/es-modules/masters/modules/export-data.src.js +1 -1
  36. package/es-modules/masters/modules/exporting.src.js +1 -1
  37. package/es-modules/masters/modules/funnel.src.js +1 -1
  38. package/es-modules/masters/modules/gantt.src.js +2 -1
  39. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  40. package/es-modules/masters/modules/heatmap.src.js +1 -1
  41. package/es-modules/masters/modules/item-series.src.js +1 -1
  42. package/es-modules/masters/modules/map.src.js +1 -1
  43. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  44. package/es-modules/masters/modules/pathfinder.src.js +12 -0
  45. package/es-modules/masters/modules/sankey.src.js +1 -1
  46. package/es-modules/masters/modules/series-label.src.js +1 -1
  47. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  48. package/es-modules/masters/modules/stock.src.js +1 -1
  49. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  50. package/es-modules/masters/modules/treegrid.src.js +12 -0
  51. package/es-modules/masters/modules/variwide.src.js +1 -1
  52. package/es-modules/masters/modules/vector.src.js +1 -1
  53. package/es-modules/masters/modules/windbarb.src.js +1 -1
  54. package/es-modules/masters/modules/xrange.src.js +1 -1
  55. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  56. package/es-modules/masters/themes/dark-green.src.js +1 -1
  57. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  58. package/es-modules/masters/themes/gray.src.js +1 -1
  59. package/es-modules/masters/themes/grid-light.src.js +1 -1
  60. package/es-modules/masters/themes/grid.src.js +1 -1
  61. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  62. package/es-modules/masters/themes/skies.src.js +1 -1
  63. package/es-modules/mixins/centered-series.js +36 -5
  64. package/es-modules/mixins/on-series.js +1 -1
  65. package/es-modules/mixins/polygon.js +4 -4
  66. package/es-modules/modules/annotations.src.js +2 -2
  67. package/es-modules/modules/boost-canvas.src.js +19 -8
  68. package/es-modules/modules/boost.src.js +300 -137
  69. package/es-modules/modules/broken-axis.src.js +169 -134
  70. package/es-modules/modules/bullet.src.js +2 -2
  71. package/es-modules/modules/data.src.js +8 -6
  72. package/es-modules/modules/draggable-points.src.js +2257 -0
  73. package/es-modules/modules/drilldown.src.js +4 -2
  74. package/es-modules/modules/export-data.src.js +11 -1
  75. package/es-modules/modules/exporting.src.js +62 -36
  76. package/es-modules/modules/funnel.src.js +5 -5
  77. package/es-modules/modules/histogram.src.js +30 -28
  78. package/es-modules/modules/item-series.src.js +36 -11
  79. package/es-modules/modules/keyboard-navigation.src.js +81 -44
  80. package/es-modules/modules/no-data-to-display.src.js +5 -5
  81. package/es-modules/modules/oldie.src.js +14 -9
  82. package/es-modules/modules/overlapping-datalabels.src.js +45 -21
  83. package/es-modules/modules/parallel-coordinates.src.js +4 -3
  84. package/es-modules/modules/pareto.src.js +1 -1
  85. package/es-modules/modules/sankey.src.js +28 -10
  86. package/es-modules/modules/series-label.src.js +6 -6
  87. package/es-modules/modules/solid-gauge.src.js +10 -7
  88. package/es-modules/modules/static-scale.src.js +67 -28
  89. package/es-modules/modules/streamgraph.src.js +4 -4
  90. package/es-modules/modules/sunburst.src.js +4 -4
  91. package/es-modules/modules/tilemap.src.js +231 -134
  92. package/es-modules/modules/treemap.src.js +30 -27
  93. package/es-modules/modules/variable-pie.src.js +3 -3
  94. package/es-modules/modules/variwide.src.js +36 -24
  95. package/es-modules/modules/vector.src.js +98 -28
  96. package/es-modules/modules/windbarb.src.js +4 -4
  97. package/es-modules/modules/wordcloud.src.js +133 -48
  98. package/es-modules/modules/xrange.src.js +258 -78
  99. package/es-modules/parts/AreaSeries.js +83 -50
  100. package/es-modules/parts/AreaSplineSeries.js +66 -29
  101. package/es-modules/parts/Axis.js +2184 -745
  102. package/es-modules/parts/BarSeries.js +70 -53
  103. package/es-modules/parts/CandlestickSeries.js +20 -10
  104. package/es-modules/parts/Chart.js +349 -157
  105. package/es-modules/parts/Color.js +74 -25
  106. package/es-modules/parts/ColumnSeries.js +274 -147
  107. package/es-modules/parts/DataGrouping.js +36 -3
  108. package/es-modules/parts/DataLabels.js +318 -144
  109. package/es-modules/parts/DateTimeAxis.js +27 -5
  110. package/es-modules/parts/Dynamics.js +236 -144
  111. package/es-modules/parts/FlagsSeries.js +49 -7
  112. package/es-modules/parts/Globals.js +4 -3
  113. package/es-modules/parts/Html.js +82 -16
  114. package/es-modules/parts/Interaction.js +198 -65
  115. package/es-modules/parts/Legend.js +181 -31
  116. package/es-modules/parts/LogarithmicAxis.js +36 -3
  117. package/es-modules/parts/MSPointer.js +31 -4
  118. package/es-modules/parts/Navigator.js +479 -187
  119. package/es-modules/parts/OHLCSeries.js +11 -5
  120. package/es-modules/parts/Options.js +1052 -686
  121. package/es-modules/parts/OrdinalAxis.js +20 -6
  122. package/es-modules/parts/PieSeries.js +258 -142
  123. package/es-modules/parts/PlotBandSeries.experimental.js +2 -2
  124. package/es-modules/parts/PlotLineOrBand.js +671 -35
  125. package/es-modules/parts/Point.js +189 -73
  126. package/es-modules/parts/Pointer.js +263 -62
  127. package/es-modules/parts/RangeSelector.js +601 -91
  128. package/es-modules/parts/Responsive.js +82 -36
  129. package/es-modules/parts/ScatterSeries.js +59 -27
  130. package/es-modules/parts/ScrollablePlotArea.js +30 -9
  131. package/es-modules/parts/Scrollbar.js +284 -113
  132. package/es-modules/parts/Series.js +1105 -836
  133. package/es-modules/parts/SplineSeries.js +53 -31
  134. package/es-modules/parts/Stacking.js +108 -7
  135. package/es-modules/parts/StockChart.js +26 -8
  136. package/es-modules/parts/SvgRenderer.js +1251 -613
  137. package/es-modules/parts/Tick.js +164 -30
  138. package/es-modules/parts/Time.js +171 -71
  139. package/es-modules/parts/Tooltip.js +271 -49
  140. package/es-modules/parts/TouchPointer.js +70 -3
  141. package/es-modules/parts/Utilities.js +1024 -429
  142. package/es-modules/parts-3d/Axis.js +4 -3
  143. package/es-modules/parts-3d/Chart.js +8 -9
  144. package/es-modules/parts-3d/Column.js +1 -1
  145. package/es-modules/parts-3d/Math.js +1 -1
  146. package/es-modules/parts-3d/Pie.js +1 -1
  147. package/es-modules/parts-3d/SVGRenderer.js +13 -10
  148. package/es-modules/parts-3d/Scatter.js +4 -4
  149. package/es-modules/parts-3d/Series.js +1 -1
  150. package/es-modules/parts-3d/VMLRenderer.js +1 -1
  151. package/es-modules/parts-gantt/ArrowSymbols.js +110 -0
  152. package/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
  153. package/es-modules/parts-gantt/GanttChart.js +111 -0
  154. package/es-modules/parts-gantt/GanttSeries.js +376 -0
  155. package/es-modules/parts-gantt/GridAxis.js +965 -0
  156. package/es-modules/parts-gantt/Pathfinder.js +1247 -0
  157. package/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
  158. package/es-modules/parts-gantt/Tree.js +146 -0
  159. package/es-modules/parts-gantt/TreeGrid.js +917 -0
  160. package/es-modules/parts-map/ColorAxis.js +4 -5
  161. package/es-modules/parts-map/ColorSeriesMixin.js +3 -1
  162. package/es-modules/parts-map/GeoJSON.js +1 -1
  163. package/es-modules/parts-map/HeatmapSeries.js +126 -55
  164. package/es-modules/parts-map/Map.js +144 -51
  165. package/es-modules/parts-map/MapAxis.js +1 -1
  166. package/es-modules/parts-map/MapBubbleSeries.js +6 -5
  167. package/es-modules/parts-map/MapLineSeries.js +4 -4
  168. package/es-modules/parts-map/MapNavigation.js +50 -12
  169. package/es-modules/parts-map/MapPointSeries.js +3 -3
  170. package/es-modules/parts-map/MapPointer.js +1 -1
  171. package/es-modules/parts-map/MapSeries.js +7 -7
  172. package/es-modules/parts-more/AreaRangeSeries.js +82 -40
  173. package/es-modules/parts-more/AreaSplineRangeSeries.js +3 -3
  174. package/es-modules/parts-more/BoxPlotSeries.js +3 -3
  175. package/es-modules/parts-more/BubbleSeries.js +9 -4
  176. package/es-modules/parts-more/ColumnRangeSeries.js +3 -3
  177. package/es-modules/parts-more/ErrorBarSeries.js +6 -4
  178. package/es-modules/parts-more/GaugeSeries.js +3 -3
  179. package/es-modules/parts-more/Pane.js +3 -2
  180. package/es-modules/parts-more/Polar.js +1 -1
  181. package/es-modules/parts-more/PolygonSeries.js +3 -3
  182. package/es-modules/parts-more/RadialAxis.js +5 -4
  183. package/es-modules/parts-more/WaterfallSeries.js +9 -4
  184. package/es-modules/supplemental.docs.js +0 -1955
  185. package/es-modules/themes/dark-blue.js +1 -1
  186. package/es-modules/themes/dark-green.js +1 -1
  187. package/es-modules/themes/dark-unica.js +1 -1
  188. package/es-modules/themes/gray.js +1 -1
  189. package/es-modules/themes/grid-light.js +1 -1
  190. package/es-modules/themes/grid.js +1 -1
  191. package/es-modules/themes/sand-signika.js +1 -1
  192. package/es-modules/themes/skies.js +1 -1
  193. package/highcharts-3d.js +77 -75
  194. package/highcharts-3d.js.map +1 -8
  195. package/highcharts-3d.src.js +39 -32
  196. package/highcharts-gantt.js +503 -0
  197. package/highcharts-gantt.js.map +1 -0
  198. package/highcharts-gantt.src.js +49289 -0
  199. package/highcharts-more.js +66 -64
  200. package/highcharts-more.js.map +1 -8
  201. package/highcharts-more.src.js +135 -75
  202. package/highcharts.js +413 -403
  203. package/highcharts.js.map +1 -8
  204. package/highcharts.src.js +11114 -4781
  205. package/highmaps.js +442 -433
  206. package/highmaps.js.map +1 -8
  207. package/highmaps.src.js +10740 -4598
  208. package/highstock.js +553 -540
  209. package/highstock.js.map +1 -8
  210. package/highstock.src.js +12807 -5343
  211. package/indicators/accumulation-distribution.js +4 -3
  212. package/indicators/accumulation-distribution.js.map +1 -8
  213. package/indicators/accumulation-distribution.src.js +6 -2
  214. package/indicators/atr.js +4 -3
  215. package/indicators/atr.js.map +1 -8
  216. package/indicators/atr.src.js +6 -2
  217. package/indicators/bollinger-bands.js +7 -6
  218. package/indicators/bollinger-bands.js.map +1 -8
  219. package/indicators/bollinger-bands.src.js +7 -3
  220. package/indicators/cci.js +4 -3
  221. package/indicators/cci.js.map +1 -8
  222. package/indicators/cci.src.js +6 -2
  223. package/indicators/cmf.js +5 -4
  224. package/indicators/cmf.js.map +1 -8
  225. package/indicators/cmf.src.js +6 -2
  226. package/indicators/ema.js +4 -3
  227. package/indicators/ema.js.map +1 -8
  228. package/indicators/ema.src.js +6 -2
  229. package/indicators/ichimoku-kinko-hyo.js +10 -9
  230. package/indicators/ichimoku-kinko-hyo.js.map +1 -8
  231. package/indicators/ichimoku-kinko-hyo.src.js +6 -2
  232. package/indicators/indicators.js +6 -5
  233. package/indicators/indicators.js.map +1 -8
  234. package/indicators/indicators.src.js +34 -15
  235. package/indicators/macd.js +11 -10
  236. package/indicators/macd.js.map +1 -8
  237. package/indicators/macd.src.js +10 -6
  238. package/indicators/mfi.js +5 -3
  239. package/indicators/mfi.js.map +1 -8
  240. package/indicators/mfi.src.js +6 -2
  241. package/indicators/momentum.js +4 -3
  242. package/indicators/momentum.js.map +1 -8
  243. package/indicators/momentum.src.js +7 -3
  244. package/indicators/pivot-points.js +8 -7
  245. package/indicators/pivot-points.js.map +1 -8
  246. package/indicators/pivot-points.src.js +12 -3
  247. package/indicators/price-envelopes.js +7 -6
  248. package/indicators/price-envelopes.js.map +1 -8
  249. package/indicators/price-envelopes.src.js +7 -3
  250. package/indicators/psar.js +5 -4
  251. package/indicators/psar.js.map +1 -8
  252. package/indicators/psar.src.js +6 -2
  253. package/indicators/roc.js +4 -3
  254. package/indicators/roc.js.map +1 -8
  255. package/indicators/roc.src.js +6 -2
  256. package/indicators/rsi.js +4 -3
  257. package/indicators/rsi.js.map +1 -8
  258. package/indicators/rsi.src.js +6 -2
  259. package/indicators/stochastic.js +7 -5
  260. package/indicators/stochastic.js.map +1 -8
  261. package/indicators/stochastic.src.js +14 -8
  262. package/indicators/volume-by-price.js +13 -12
  263. package/indicators/volume-by-price.js.map +1 -8
  264. package/indicators/volume-by-price.src.js +6 -2
  265. package/indicators/vwap.js +4 -3
  266. package/indicators/vwap.js.map +1 -8
  267. package/indicators/vwap.src.js +6 -2
  268. package/indicators/wma.js +4 -3
  269. package/indicators/wma.js.map +1 -8
  270. package/indicators/wma.src.js +6 -2
  271. package/indicators/zigzag.js +5 -3
  272. package/indicators/zigzag.js.map +1 -8
  273. package/indicators/zigzag.src.js +6 -2
  274. package/js/es-modules/indicators/accumulation-distribution.src.js +1 -1
  275. package/js/es-modules/indicators/atr.src.js +1 -1
  276. package/js/es-modules/indicators/bollinger-bands.src.js +2 -2
  277. package/js/es-modules/indicators/cci.src.js +1 -1
  278. package/js/es-modules/indicators/cmf.src.js +1 -1
  279. package/js/es-modules/indicators/ema.src.js +1 -1
  280. package/js/es-modules/indicators/ichimoku-kinko-hyo.src.js +1 -1
  281. package/js/es-modules/indicators/indicators.src.js +29 -14
  282. package/js/es-modules/indicators/macd.src.js +4 -4
  283. package/js/es-modules/indicators/mfi.src.js +1 -1
  284. package/js/es-modules/indicators/momentum.src.js +2 -2
  285. package/js/es-modules/indicators/pivot-points.src.js +7 -2
  286. package/js/es-modules/indicators/price-envelopes.src.js +2 -2
  287. package/js/es-modules/indicators/psar.src.js +1 -1
  288. package/js/es-modules/indicators/roc.src.js +1 -1
  289. package/js/es-modules/indicators/rsi.src.js +1 -1
  290. package/js/es-modules/indicators/stochastic.src.js +9 -7
  291. package/js/es-modules/indicators/volume-by-price.src.js +1 -1
  292. package/js/es-modules/indicators/vwap.src.js +1 -1
  293. package/js/es-modules/indicators/wma.src.js +1 -1
  294. package/js/es-modules/indicators/zigzag.src.js +1 -1
  295. package/js/es-modules/masters/highcharts-gantt.src.js +11 -0
  296. package/js/es-modules/masters/modules/annotations.src.js +1 -1
  297. package/js/es-modules/masters/modules/arrow-symbols.src.js +12 -0
  298. package/js/es-modules/masters/modules/broken-axis.src.js +1 -1
  299. package/js/es-modules/masters/modules/current-date-indicator.src.js +12 -0
  300. package/js/es-modules/masters/modules/data.src.js +1 -1
  301. package/js/es-modules/masters/modules/draggable-points.src.js +9 -0
  302. package/js/es-modules/masters/modules/export-data.src.js +1 -1
  303. package/js/es-modules/masters/modules/exporting.src.js +1 -1
  304. package/js/es-modules/masters/modules/funnel.src.js +1 -1
  305. package/js/es-modules/masters/modules/gantt.src.js +2 -1
  306. package/js/es-modules/masters/modules/grid-axis.src.js +1 -1
  307. package/js/es-modules/masters/modules/heatmap.src.js +1 -1
  308. package/js/es-modules/masters/modules/item-series.src.js +1 -1
  309. package/js/es-modules/masters/modules/map.src.js +1 -1
  310. package/js/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  311. package/js/es-modules/masters/modules/pathfinder.src.js +12 -0
  312. package/js/es-modules/masters/modules/sankey.src.js +1 -1
  313. package/js/es-modules/masters/modules/series-label.src.js +1 -1
  314. package/js/es-modules/masters/modules/solid-gauge.src.js +1 -1
  315. package/js/es-modules/masters/modules/stock.src.js +1 -1
  316. package/js/es-modules/masters/modules/streamgraph.src.js +1 -1
  317. package/js/es-modules/masters/modules/treegrid.src.js +12 -0
  318. package/js/es-modules/masters/modules/variwide.src.js +1 -1
  319. package/js/es-modules/masters/modules/vector.src.js +1 -1
  320. package/js/es-modules/masters/modules/windbarb.src.js +1 -1
  321. package/js/es-modules/masters/modules/xrange.src.js +1 -1
  322. package/js/es-modules/masters/themes/dark-blue.src.js +1 -1
  323. package/js/es-modules/masters/themes/dark-green.src.js +1 -1
  324. package/js/es-modules/masters/themes/dark-unica.src.js +1 -1
  325. package/js/es-modules/masters/themes/gray.src.js +1 -1
  326. package/js/es-modules/masters/themes/grid-light.src.js +1 -1
  327. package/js/es-modules/masters/themes/grid.src.js +1 -1
  328. package/js/es-modules/masters/themes/sand-signika.src.js +1 -1
  329. package/js/es-modules/masters/themes/skies.src.js +1 -1
  330. package/js/es-modules/mixins/centered-series.js +36 -5
  331. package/js/es-modules/mixins/on-series.js +1 -1
  332. package/js/es-modules/mixins/polygon.js +4 -4
  333. package/js/es-modules/modules/annotations.src.js +2 -2
  334. package/js/es-modules/modules/boost-canvas.src.js +19 -8
  335. package/js/es-modules/modules/boost.src.js +300 -137
  336. package/js/es-modules/modules/broken-axis.src.js +169 -134
  337. package/js/es-modules/modules/bullet.src.js +2 -2
  338. package/js/es-modules/modules/data.src.js +8 -6
  339. package/js/es-modules/modules/draggable-points.src.js +2257 -0
  340. package/js/es-modules/modules/drilldown.src.js +4 -2
  341. package/js/es-modules/modules/export-data.src.js +11 -1
  342. package/js/es-modules/modules/exporting.src.js +62 -36
  343. package/js/es-modules/modules/funnel.src.js +5 -5
  344. package/js/es-modules/modules/histogram.src.js +30 -28
  345. package/js/es-modules/modules/item-series.src.js +36 -11
  346. package/js/es-modules/modules/keyboard-navigation.src.js +81 -44
  347. package/js/es-modules/modules/no-data-to-display.src.js +5 -5
  348. package/js/es-modules/modules/oldie.src.js +14 -9
  349. package/js/es-modules/modules/overlapping-datalabels.src.js +45 -21
  350. package/js/es-modules/modules/parallel-coordinates.src.js +4 -3
  351. package/js/es-modules/modules/pareto.src.js +1 -1
  352. package/js/es-modules/modules/sankey.src.js +23 -7
  353. package/js/es-modules/modules/series-label.src.js +6 -6
  354. package/js/es-modules/modules/solid-gauge.src.js +8 -5
  355. package/js/es-modules/modules/static-scale.src.js +67 -28
  356. package/js/es-modules/modules/streamgraph.src.js +4 -4
  357. package/js/es-modules/modules/sunburst.src.js +4 -4
  358. package/js/es-modules/modules/tilemap.src.js +231 -134
  359. package/js/es-modules/modules/treemap.src.js +29 -26
  360. package/js/es-modules/modules/variable-pie.src.js +3 -3
  361. package/js/es-modules/modules/variwide.src.js +36 -24
  362. package/js/es-modules/modules/vector.src.js +98 -28
  363. package/js/es-modules/modules/windbarb.src.js +4 -4
  364. package/js/es-modules/modules/wordcloud.src.js +133 -48
  365. package/js/es-modules/modules/xrange.src.js +256 -69
  366. package/js/es-modules/parts/AreaSeries.js +83 -50
  367. package/js/es-modules/parts/AreaSplineSeries.js +66 -29
  368. package/js/es-modules/parts/Axis.js +2089 -694
  369. package/js/es-modules/parts/BarSeries.js +70 -53
  370. package/js/es-modules/parts/CandlestickSeries.js +20 -10
  371. package/js/es-modules/parts/Chart.js +349 -157
  372. package/js/es-modules/parts/Color.js +74 -25
  373. package/js/es-modules/parts/ColumnSeries.js +241 -128
  374. package/js/es-modules/parts/DataGrouping.js +36 -3
  375. package/js/es-modules/parts/DataLabels.js +287 -116
  376. package/js/es-modules/parts/DateTimeAxis.js +27 -5
  377. package/js/es-modules/parts/Dynamics.js +236 -144
  378. package/js/es-modules/parts/FlagsSeries.js +49 -7
  379. package/js/es-modules/parts/Globals.js +4 -3
  380. package/js/es-modules/parts/Html.js +82 -16
  381. package/js/es-modules/parts/Interaction.js +187 -67
  382. package/js/es-modules/parts/Legend.js +181 -31
  383. package/js/es-modules/parts/LogarithmicAxis.js +36 -3
  384. package/js/es-modules/parts/MSPointer.js +31 -4
  385. package/js/es-modules/parts/Navigator.js +432 -162
  386. package/js/es-modules/parts/OHLCSeries.js +5 -5
  387. package/js/es-modules/parts/Options.js +855 -592
  388. package/js/es-modules/parts/OrdinalAxis.js +20 -6
  389. package/js/es-modules/parts/PieSeries.js +247 -134
  390. package/js/es-modules/parts/PlotBandSeries.experimental.js +2 -2
  391. package/js/es-modules/parts/PlotLineOrBand.js +671 -35
  392. package/js/es-modules/parts/Point.js +182 -70
  393. package/js/es-modules/parts/Pointer.js +263 -62
  394. package/js/es-modules/parts/RangeSelector.js +579 -91
  395. package/js/es-modules/parts/Responsive.js +82 -36
  396. package/js/es-modules/parts/ScatterSeries.js +58 -27
  397. package/js/es-modules/parts/ScrollablePlotArea.js +30 -9
  398. package/js/es-modules/parts/Scrollbar.js +201 -71
  399. package/js/es-modules/parts/Series.js +995 -745
  400. package/js/es-modules/parts/SplineSeries.js +53 -31
  401. package/js/es-modules/parts/Stacking.js +108 -7
  402. package/js/es-modules/parts/StockChart.js +26 -8
  403. package/js/es-modules/parts/SvgRenderer.js +1208 -598
  404. package/js/es-modules/parts/Tick.js +164 -30
  405. package/js/es-modules/parts/Time.js +171 -71
  406. package/js/es-modules/parts/Tooltip.js +276 -49
  407. package/js/es-modules/parts/TouchPointer.js +70 -3
  408. package/js/es-modules/parts/Utilities.js +1024 -429
  409. package/js/es-modules/parts-3d/Axis.js +4 -3
  410. package/js/es-modules/parts-3d/Chart.js +8 -9
  411. package/js/es-modules/parts-3d/Column.js +1 -1
  412. package/js/es-modules/parts-3d/Math.js +1 -1
  413. package/js/es-modules/parts-3d/Pie.js +1 -1
  414. package/js/es-modules/parts-3d/SVGRenderer.js +13 -10
  415. package/js/es-modules/parts-3d/Scatter.js +4 -4
  416. package/js/es-modules/parts-3d/Series.js +1 -1
  417. package/js/es-modules/parts-3d/VMLRenderer.js +1 -1
  418. package/js/es-modules/parts-gantt/ArrowSymbols.js +110 -0
  419. package/js/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
  420. package/js/es-modules/parts-gantt/GanttChart.js +111 -0
  421. package/js/es-modules/parts-gantt/GanttSeries.js +371 -0
  422. package/js/es-modules/parts-gantt/GridAxis.js +962 -0
  423. package/js/es-modules/parts-gantt/Pathfinder.js +1225 -0
  424. package/js/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
  425. package/js/es-modules/parts-gantt/Tree.js +146 -0
  426. package/js/es-modules/parts-gantt/TreeGrid.js +891 -0
  427. package/js/es-modules/parts-map/ColorAxis.js +4 -5
  428. package/js/es-modules/parts-map/ColorSeriesMixin.js +3 -1
  429. package/js/es-modules/parts-map/GeoJSON.js +1 -1
  430. package/js/es-modules/parts-map/HeatmapSeries.js +124 -54
  431. package/js/es-modules/parts-map/Map.js +136 -47
  432. package/js/es-modules/parts-map/MapAxis.js +1 -1
  433. package/js/es-modules/parts-map/MapBubbleSeries.js +6 -5
  434. package/js/es-modules/parts-map/MapLineSeries.js +4 -4
  435. package/js/es-modules/parts-map/MapNavigation.js +50 -12
  436. package/js/es-modules/parts-map/MapPointSeries.js +3 -3
  437. package/js/es-modules/parts-map/MapPointer.js +1 -1
  438. package/js/es-modules/parts-map/MapSeries.js +5 -5
  439. package/js/es-modules/parts-more/AreaRangeSeries.js +82 -40
  440. package/js/es-modules/parts-more/AreaSplineRangeSeries.js +3 -3
  441. package/js/es-modules/parts-more/BoxPlotSeries.js +3 -3
  442. package/js/es-modules/parts-more/BubbleSeries.js +9 -4
  443. package/js/es-modules/parts-more/ColumnRangeSeries.js +3 -3
  444. package/js/es-modules/parts-more/ErrorBarSeries.js +6 -4
  445. package/js/es-modules/parts-more/GaugeSeries.js +3 -3
  446. package/js/es-modules/parts-more/Pane.js +3 -2
  447. package/js/es-modules/parts-more/Polar.js +1 -1
  448. package/js/es-modules/parts-more/PolygonSeries.js +3 -3
  449. package/js/es-modules/parts-more/RadialAxis.js +5 -4
  450. package/js/es-modules/parts-more/WaterfallSeries.js +9 -4
  451. package/js/es-modules/supplemental.docs.js +0 -1955
  452. package/js/es-modules/themes/dark-blue.js +1 -1
  453. package/js/es-modules/themes/dark-green.js +1 -1
  454. package/js/es-modules/themes/dark-unica.js +1 -1
  455. package/js/es-modules/themes/gray.js +1 -1
  456. package/js/es-modules/themes/grid-light.js +1 -1
  457. package/js/es-modules/themes/grid.js +1 -1
  458. package/js/es-modules/themes/sand-signika.js +1 -1
  459. package/js/es-modules/themes/skies.js +1 -1
  460. package/js/highcharts-3d.js +75 -74
  461. package/js/highcharts-3d.js.map +1 -8
  462. package/js/highcharts-3d.src.js +39 -32
  463. package/js/highcharts-gantt.js +480 -0
  464. package/js/highcharts-gantt.js.map +1 -0
  465. package/js/highcharts-gantt.src.js +47011 -0
  466. package/js/highcharts-more.js +63 -61
  467. package/js/highcharts-more.js.map +1 -8
  468. package/js/highcharts-more.src.js +135 -75
  469. package/js/highcharts.js +396 -387
  470. package/js/highcharts.js.map +1 -8
  471. package/js/highcharts.src.js +10765 -4659
  472. package/js/highmaps.js +419 -411
  473. package/js/highmaps.js.map +1 -8
  474. package/js/highmaps.src.js +10198 -4285
  475. package/js/highstock.js +529 -516
  476. package/js/highstock.js.map +1 -8
  477. package/js/highstock.src.js +12108 -4962
  478. package/js/indicators/accumulation-distribution.js +4 -3
  479. package/js/indicators/accumulation-distribution.js.map +1 -8
  480. package/js/indicators/accumulation-distribution.src.js +6 -2
  481. package/js/indicators/atr.js +4 -3
  482. package/js/indicators/atr.js.map +1 -8
  483. package/js/indicators/atr.src.js +6 -2
  484. package/js/indicators/bollinger-bands.js +7 -6
  485. package/js/indicators/bollinger-bands.js.map +1 -8
  486. package/js/indicators/bollinger-bands.src.js +7 -3
  487. package/js/indicators/cci.js +4 -3
  488. package/js/indicators/cci.js.map +1 -8
  489. package/js/indicators/cci.src.js +6 -2
  490. package/js/indicators/cmf.js +5 -4
  491. package/js/indicators/cmf.js.map +1 -8
  492. package/js/indicators/cmf.src.js +6 -2
  493. package/js/indicators/ema.js +4 -3
  494. package/js/indicators/ema.js.map +1 -8
  495. package/js/indicators/ema.src.js +6 -2
  496. package/js/indicators/ichimoku-kinko-hyo.js +10 -9
  497. package/js/indicators/ichimoku-kinko-hyo.js.map +1 -8
  498. package/js/indicators/ichimoku-kinko-hyo.src.js +6 -2
  499. package/js/indicators/indicators.js +6 -5
  500. package/js/indicators/indicators.js.map +1 -8
  501. package/js/indicators/indicators.src.js +34 -15
  502. package/js/indicators/macd.js +11 -10
  503. package/js/indicators/macd.js.map +1 -8
  504. package/js/indicators/macd.src.js +10 -6
  505. package/js/indicators/mfi.js +5 -3
  506. package/js/indicators/mfi.js.map +1 -8
  507. package/js/indicators/mfi.src.js +6 -2
  508. package/js/indicators/momentum.js +4 -3
  509. package/js/indicators/momentum.js.map +1 -8
  510. package/js/indicators/momentum.src.js +7 -3
  511. package/js/indicators/pivot-points.js +8 -7
  512. package/js/indicators/pivot-points.js.map +1 -8
  513. package/js/indicators/pivot-points.src.js +12 -3
  514. package/js/indicators/price-envelopes.js +7 -6
  515. package/js/indicators/price-envelopes.js.map +1 -8
  516. package/js/indicators/price-envelopes.src.js +7 -3
  517. package/js/indicators/psar.js +5 -4
  518. package/js/indicators/psar.js.map +1 -8
  519. package/js/indicators/psar.src.js +6 -2
  520. package/js/indicators/roc.js +4 -3
  521. package/js/indicators/roc.js.map +1 -8
  522. package/js/indicators/roc.src.js +6 -2
  523. package/js/indicators/rsi.js +4 -3
  524. package/js/indicators/rsi.js.map +1 -8
  525. package/js/indicators/rsi.src.js +6 -2
  526. package/js/indicators/stochastic.js +7 -5
  527. package/js/indicators/stochastic.js.map +1 -8
  528. package/js/indicators/stochastic.src.js +14 -8
  529. package/js/indicators/volume-by-price.js +13 -12
  530. package/js/indicators/volume-by-price.js.map +1 -8
  531. package/js/indicators/volume-by-price.src.js +6 -2
  532. package/js/indicators/vwap.js +4 -3
  533. package/js/indicators/vwap.js.map +1 -8
  534. package/js/indicators/vwap.src.js +6 -2
  535. package/js/indicators/wma.js +4 -3
  536. package/js/indicators/wma.js.map +1 -8
  537. package/js/indicators/wma.src.js +6 -2
  538. package/js/indicators/zigzag.js +5 -3
  539. package/js/indicators/zigzag.js.map +1 -8
  540. package/js/indicators/zigzag.src.js +6 -2
  541. package/js/modules/accessibility.js +52 -51
  542. package/js/modules/accessibility.js.map +1 -8
  543. package/js/modules/accessibility.src.js +86 -45
  544. package/js/modules/annotations.js +22 -21
  545. package/js/modules/annotations.js.map +1 -8
  546. package/js/modules/annotations.src.js +8 -4
  547. package/js/modules/arrow-symbols.js +13 -0
  548. package/js/modules/arrow-symbols.js.map +1 -0
  549. package/js/modules/arrow-symbols.src.js +138 -0
  550. package/js/modules/boost-canvas.js +15 -13
  551. package/js/modules/boost-canvas.js.map +1 -8
  552. package/js/modules/boost-canvas.src.js +24 -9
  553. package/js/modules/boost.js +57 -52
  554. package/js/modules/boost.js.map +1 -8
  555. package/js/modules/boost.src.js +305 -138
  556. package/js/modules/broken-axis.js +12 -10
  557. package/js/modules/broken-axis.js.map +1 -8
  558. package/js/modules/broken-axis.src.js +175 -136
  559. package/js/modules/bullet.js +3 -2
  560. package/js/modules/bullet.js.map +1 -8
  561. package/js/modules/bullet.src.js +7 -3
  562. package/js/modules/current-date-indicator.js +13 -0
  563. package/js/modules/current-date-indicator.js.map +1 -0
  564. package/js/modules/current-date-indicator.src.js +120 -0
  565. package/js/modules/data.js +25 -24
  566. package/js/modules/data.js.map +1 -8
  567. package/js/modules/data.src.js +14 -8
  568. package/js/modules/drag-panes.js +9 -8
  569. package/js/modules/drag-panes.js.map +1 -8
  570. package/js/modules/drag-panes.src.js +5 -1
  571. package/js/modules/draggable-points.js +38 -0
  572. package/js/modules/draggable-points.js.map +1 -0
  573. package/js/modules/draggable-points.src.js +2281 -0
  574. package/js/modules/drilldown.js +20 -19
  575. package/js/modules/drilldown.js.map +1 -8
  576. package/js/modules/drilldown.src.js +9 -3
  577. package/js/modules/export-data.js +20 -19
  578. package/js/modules/export-data.js.map +1 -8
  579. package/js/modules/export-data.src.js +17 -3
  580. package/js/modules/exporting.js +24 -23
  581. package/js/modules/exporting.js.map +1 -8
  582. package/js/modules/exporting.src.js +68 -38
  583. package/js/modules/funnel.js +8 -6
  584. package/js/modules/funnel.js.map +1 -8
  585. package/js/modules/funnel.src.js +11 -7
  586. package/js/modules/gantt.js +81 -18
  587. package/js/modules/gantt.js.map +1 -8
  588. package/js/modules/gantt.src.js +5494 -372
  589. package/js/modules/grid-axis.js +16 -10
  590. package/js/modules/grid-axis.js.map +1 -8
  591. package/js/modules/grid-axis.src.js +735 -293
  592. package/js/modules/heatmap.js +22 -21
  593. package/js/modules/heatmap.js.map +1 -8
  594. package/js/modules/heatmap.src.js +137 -62
  595. package/js/modules/histogram-bellcurve.js +9 -8
  596. package/js/modules/histogram-bellcurve.js.map +1 -8
  597. package/js/modules/histogram-bellcurve.src.js +35 -29
  598. package/js/modules/item-series.js +6 -4
  599. package/js/modules/item-series.js.map +1 -8
  600. package/js/modules/item-series.src.js +42 -13
  601. package/js/modules/map.js +63 -62
  602. package/js/modules/map.js.map +1 -8
  603. package/js/modules/map.src.js +353 -145
  604. package/js/modules/no-data-to-display.js +5 -4
  605. package/js/modules/no-data-to-display.js.map +1 -8
  606. package/js/modules/no-data-to-display.src.js +10 -6
  607. package/js/modules/offline-exporting.js +14 -13
  608. package/js/modules/offline-exporting.js.map +1 -8
  609. package/js/modules/offline-exporting.src.js +6 -2
  610. package/js/modules/oldie.js +29 -27
  611. package/js/modules/oldie.js.map +1 -8
  612. package/js/modules/oldie.src.js +20 -11
  613. package/js/modules/overlapping-datalabels.js +4 -3
  614. package/js/modules/overlapping-datalabels.js.map +1 -8
  615. package/js/modules/overlapping-datalabels.src.js +6 -2
  616. package/js/modules/parallel-coordinates.js +10 -9
  617. package/js/modules/parallel-coordinates.js.map +1 -8
  618. package/js/modules/parallel-coordinates.src.js +9 -4
  619. package/js/modules/pareto.js +5 -4
  620. package/js/modules/pareto.js.map +1 -8
  621. package/js/modules/pareto.src.js +6 -2
  622. package/js/modules/pathfinder.js +34 -0
  623. package/js/modules/pathfinder.js.map +1 -0
  624. package/js/modules/pathfinder.src.js +2106 -0
  625. package/js/modules/pattern-fill.js +13 -12
  626. package/js/modules/pattern-fill.js.map +1 -8
  627. package/js/modules/pattern-fill.src.js +5 -1
  628. package/js/modules/sankey.js +13 -12
  629. package/js/modules/sankey.js.map +1 -8
  630. package/js/modules/sankey.src.js +29 -9
  631. package/js/modules/series-label.js +17 -15
  632. package/js/modules/series-label.js.map +1 -8
  633. package/js/modules/series-label.src.js +12 -8
  634. package/js/modules/solid-gauge.js +9 -8
  635. package/js/modules/solid-gauge.js.map +1 -8
  636. package/js/modules/solid-gauge.src.js +14 -7
  637. package/js/modules/static-scale.js +4 -3
  638. package/js/modules/static-scale.js.map +1 -8
  639. package/js/modules/static-scale.src.js +69 -26
  640. package/js/modules/stock.js +136 -132
  641. package/js/modules/stock.js.map +1 -8
  642. package/js/modules/stock.src.js +1543 -499
  643. package/js/modules/streamgraph.js +4 -3
  644. package/js/modules/streamgraph.js.map +1 -8
  645. package/js/modules/streamgraph.src.js +10 -6
  646. package/js/modules/sunburst.js +40 -39
  647. package/js/modules/sunburst.js.map +1 -8
  648. package/js/modules/sunburst.src.js +38 -31
  649. package/js/modules/tilemap.js +19 -18
  650. package/js/modules/tilemap.js.map +1 -8
  651. package/js/modules/tilemap.src.js +363 -190
  652. package/js/modules/treegrid.js +51 -0
  653. package/js/modules/treegrid.js.map +1 -0
  654. package/js/modules/treegrid.src.js +2759 -0
  655. package/js/modules/treemap.js +27 -26
  656. package/js/modules/treemap.js.map +1 -8
  657. package/js/modules/treemap.src.js +34 -27
  658. package/js/modules/variable-pie.js +8 -7
  659. package/js/modules/variable-pie.js.map +1 -8
  660. package/js/modules/variable-pie.src.js +8 -4
  661. package/js/modules/variwide.js +8 -7
  662. package/js/modules/variwide.js.map +1 -8
  663. package/js/modules/variwide.src.js +42 -26
  664. package/js/modules/vector.js +7 -6
  665. package/js/modules/vector.js.map +1 -8
  666. package/js/modules/vector.src.js +104 -30
  667. package/js/modules/windbarb.js +11 -10
  668. package/js/modules/windbarb.js.map +1 -8
  669. package/js/modules/windbarb.src.js +11 -7
  670. package/js/modules/wordcloud.js +18 -15
  671. package/js/modules/wordcloud.js.map +1 -8
  672. package/js/modules/wordcloud.src.js +142 -53
  673. package/js/modules/xrange.js +12 -10
  674. package/js/modules/xrange.js.map +1 -8
  675. package/js/modules/xrange.src.js +262 -71
  676. package/js/themes/avocado.js +3 -2
  677. package/js/themes/avocado.js.map +1 -8
  678. package/js/themes/avocado.src.js +5 -1
  679. package/js/themes/dark-blue.js +9 -8
  680. package/js/themes/dark-blue.js.map +1 -8
  681. package/js/themes/dark-blue.src.js +7 -3
  682. package/js/themes/dark-green.js +9 -8
  683. package/js/themes/dark-green.js.map +1 -8
  684. package/js/themes/dark-green.src.js +7 -3
  685. package/js/themes/dark-unica.js +9 -7
  686. package/js/themes/dark-unica.js.map +1 -8
  687. package/js/themes/dark-unica.src.js +7 -3
  688. package/js/themes/gray.js +10 -8
  689. package/js/themes/gray.js.map +1 -8
  690. package/js/themes/gray.src.js +7 -3
  691. package/js/themes/grid-light.js +5 -4
  692. package/js/themes/grid-light.js.map +1 -8
  693. package/js/themes/grid-light.src.js +7 -3
  694. package/js/themes/grid.js +6 -5
  695. package/js/themes/grid.js.map +1 -8
  696. package/js/themes/grid.src.js +7 -3
  697. package/js/themes/sand-signika.js +6 -5
  698. package/js/themes/sand-signika.js.map +1 -8
  699. package/js/themes/sand-signika.src.js +7 -3
  700. package/js/themes/skies.js +6 -5
  701. package/js/themes/skies.js.map +1 -8
  702. package/js/themes/skies.src.js +7 -3
  703. package/js/themes/sunset.js +3 -2
  704. package/js/themes/sunset.js.map +1 -8
  705. package/js/themes/sunset.src.js +5 -1
  706. package/modules/accessibility.js +53 -51
  707. package/modules/accessibility.js.map +1 -8
  708. package/modules/accessibility.src.js +86 -45
  709. package/modules/annotations.js +24 -22
  710. package/modules/annotations.js.map +1 -8
  711. package/modules/annotations.src.js +8 -4
  712. package/modules/arrow-symbols.js +13 -0
  713. package/modules/arrow-symbols.js.map +1 -0
  714. package/modules/arrow-symbols.src.js +138 -0
  715. package/modules/boost-canvas.js +15 -13
  716. package/modules/boost-canvas.js.map +1 -8
  717. package/modules/boost-canvas.src.js +24 -9
  718. package/modules/boost.js +57 -52
  719. package/modules/boost.js.map +1 -8
  720. package/modules/boost.src.js +305 -138
  721. package/modules/broken-axis.js +12 -10
  722. package/modules/broken-axis.js.map +1 -8
  723. package/modules/broken-axis.src.js +175 -136
  724. package/modules/bullet.js +6 -5
  725. package/modules/bullet.js.map +1 -8
  726. package/modules/bullet.src.js +7 -3
  727. package/modules/current-date-indicator.js +13 -0
  728. package/modules/current-date-indicator.js.map +1 -0
  729. package/modules/current-date-indicator.src.js +120 -0
  730. package/modules/data.js +25 -24
  731. package/modules/data.js.map +1 -8
  732. package/modules/data.src.js +14 -8
  733. package/modules/drag-panes.js +9 -8
  734. package/modules/drag-panes.js.map +1 -8
  735. package/modules/drag-panes.src.js +5 -1
  736. package/modules/draggable-points.js +38 -0
  737. package/modules/draggable-points.js.map +1 -0
  738. package/modules/draggable-points.src.js +2281 -0
  739. package/modules/drilldown.js +16 -15
  740. package/modules/drilldown.js.map +1 -8
  741. package/modules/drilldown.src.js +9 -3
  742. package/modules/export-data.js +20 -19
  743. package/modules/export-data.js.map +1 -8
  744. package/modules/export-data.src.js +17 -3
  745. package/modules/exporting.js +23 -21
  746. package/modules/exporting.js.map +1 -8
  747. package/modules/exporting.src.js +68 -38
  748. package/modules/funnel.js +8 -7
  749. package/modules/funnel.js.map +1 -8
  750. package/modules/funnel.src.js +11 -7
  751. package/modules/gantt.js +84 -19
  752. package/modules/gantt.js.map +1 -8
  753. package/modules/gantt.src.js +5557 -379
  754. package/modules/grid-axis.js +17 -10
  755. package/modules/grid-axis.js.map +1 -8
  756. package/modules/grid-axis.src.js +736 -293
  757. package/modules/heatmap.js +22 -21
  758. package/modules/heatmap.js.map +1 -8
  759. package/modules/heatmap.src.js +139 -63
  760. package/modules/histogram-bellcurve.js +9 -8
  761. package/modules/histogram-bellcurve.js.map +1 -8
  762. package/modules/histogram-bellcurve.src.js +35 -29
  763. package/modules/item-series.js +6 -4
  764. package/modules/item-series.js.map +1 -8
  765. package/modules/item-series.src.js +42 -13
  766. package/modules/map.js +65 -64
  767. package/modules/map.js.map +1 -8
  768. package/modules/map.src.js +365 -152
  769. package/modules/no-data-to-display.js +5 -4
  770. package/modules/no-data-to-display.js.map +1 -8
  771. package/modules/no-data-to-display.src.js +10 -6
  772. package/modules/offline-exporting.js +14 -12
  773. package/modules/offline-exporting.js.map +1 -8
  774. package/modules/offline-exporting.src.js +6 -2
  775. package/modules/oldie.js +29 -27
  776. package/modules/oldie.js.map +1 -8
  777. package/modules/oldie.src.js +20 -11
  778. package/modules/overlapping-datalabels.js +4 -3
  779. package/modules/overlapping-datalabels.js.map +1 -8
  780. package/modules/overlapping-datalabels.src.js +6 -2
  781. package/modules/parallel-coordinates.js +10 -9
  782. package/modules/parallel-coordinates.js.map +1 -8
  783. package/modules/parallel-coordinates.src.js +9 -4
  784. package/modules/pareto.js +5 -4
  785. package/modules/pareto.js.map +1 -8
  786. package/modules/pareto.src.js +6 -2
  787. package/modules/pathfinder.js +35 -0
  788. package/modules/pathfinder.js.map +1 -0
  789. package/modules/pathfinder.src.js +2128 -0
  790. package/modules/pattern-fill.js +13 -12
  791. package/modules/pattern-fill.js.map +1 -8
  792. package/modules/pattern-fill.src.js +5 -1
  793. package/modules/sankey.js +13 -12
  794. package/modules/sankey.js.map +1 -8
  795. package/modules/sankey.src.js +34 -12
  796. package/modules/series-label.js +17 -15
  797. package/modules/series-label.js.map +1 -8
  798. package/modules/series-label.src.js +12 -8
  799. package/modules/solid-gauge.js +9 -8
  800. package/modules/solid-gauge.js.map +1 -8
  801. package/modules/solid-gauge.src.js +16 -9
  802. package/modules/static-scale.js +4 -3
  803. package/modules/static-scale.js.map +1 -8
  804. package/modules/static-scale.src.js +69 -26
  805. package/modules/stock.js +143 -139
  806. package/modules/stock.js.map +1 -8
  807. package/modules/stock.src.js +1701 -566
  808. package/modules/streamgraph.js +4 -3
  809. package/modules/streamgraph.js.map +1 -8
  810. package/modules/streamgraph.src.js +10 -6
  811. package/modules/sunburst.js +42 -41
  812. package/modules/sunburst.js.map +1 -8
  813. package/modules/sunburst.src.js +39 -32
  814. package/modules/tilemap.js +18 -17
  815. package/modules/tilemap.js.map +1 -8
  816. package/modules/tilemap.src.js +365 -191
  817. package/modules/treegrid.js +52 -0
  818. package/modules/treegrid.js.map +1 -0
  819. package/modules/treegrid.src.js +2797 -0
  820. package/modules/treemap.js +29 -28
  821. package/modules/treemap.js.map +1 -8
  822. package/modules/treemap.src.js +35 -28
  823. package/modules/variable-pie.js +8 -7
  824. package/modules/variable-pie.js.map +1 -8
  825. package/modules/variable-pie.src.js +8 -4
  826. package/modules/variwide.js +8 -7
  827. package/modules/variwide.js.map +1 -8
  828. package/modules/variwide.src.js +42 -26
  829. package/modules/vector.js +7 -6
  830. package/modules/vector.js.map +1 -8
  831. package/modules/vector.src.js +104 -30
  832. package/modules/windbarb.js +11 -10
  833. package/modules/windbarb.js.map +1 -8
  834. package/modules/windbarb.src.js +11 -7
  835. package/modules/wordcloud.js +18 -15
  836. package/modules/wordcloud.js.map +1 -8
  837. package/modules/wordcloud.src.js +142 -53
  838. package/modules/xrange.js +13 -11
  839. package/modules/xrange.js.map +1 -8
  840. package/modules/xrange.src.js +264 -80
  841. package/package.json +1 -1
  842. package/themes/avocado.js +3 -2
  843. package/themes/avocado.js.map +1 -8
  844. package/themes/avocado.src.js +5 -1
  845. package/themes/dark-blue.js +9 -8
  846. package/themes/dark-blue.js.map +1 -8
  847. package/themes/dark-blue.src.js +7 -3
  848. package/themes/dark-green.js +9 -8
  849. package/themes/dark-green.js.map +1 -8
  850. package/themes/dark-green.src.js +7 -3
  851. package/themes/dark-unica.js +9 -7
  852. package/themes/dark-unica.js.map +1 -8
  853. package/themes/dark-unica.src.js +7 -3
  854. package/themes/gray.js +10 -8
  855. package/themes/gray.js.map +1 -8
  856. package/themes/gray.src.js +7 -3
  857. package/themes/grid-light.js +5 -4
  858. package/themes/grid-light.js.map +1 -8
  859. package/themes/grid-light.src.js +7 -3
  860. package/themes/grid.js +6 -5
  861. package/themes/grid.js.map +1 -8
  862. package/themes/grid.src.js +7 -3
  863. package/themes/sand-signika.js +6 -5
  864. package/themes/sand-signika.js.map +1 -8
  865. package/themes/sand-signika.src.js +7 -3
  866. package/themes/skies.js +6 -5
  867. package/themes/skies.js.map +1 -8
  868. package/themes/skies.src.js +7 -3
  869. package/themes/sunset.js +3 -2
  870. package/themes/sunset.js.map +1 -8
  871. package/themes/sunset.src.js +5 -1
@@ -1,15 +1,32 @@
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
+ * Translation and scale for the plot area of a series.
9
+ *
10
+ * @typedef Highcharts.SeriesPlotBoxObject
11
+ *
12
+ * @property {number} translateX
13
+ *
14
+ * @property {number} translateY
15
+ *
16
+ * @property {number} scaleX
17
+ *
18
+ * @property {number} scaleY
19
+ */
20
+
6
21
  'use strict';
22
+
7
23
  import H from './Globals.js';
8
24
  import './Utilities.js';
9
25
  import './Options.js';
10
26
  import './Legend.js';
11
27
  import './Point.js';
12
28
  import './SvgRenderer.js';
29
+
13
30
  var addEvent = H.addEvent,
14
31
  animObject = H.animObject,
15
32
  arrayMax = H.arrayMax,
@@ -40,8 +57,8 @@ var addEvent = H.addEvent,
40
57
  /**
41
58
  * This is the base series prototype that all other series types inherit from.
42
59
  * A new series is initialized either through the
43
- * {@link https://api.highcharts.com/highcharts/series|series} option structure,
44
- * or after the chart is initialized, through
60
+ * {@link https://api.highcharts.com/highcharts/series|series}
61
+ * option structure, or after the chart is initialized, through
45
62
  * {@link Highcharts.Chart#addSeries}.
46
63
  *
47
64
  * The object can be accessed in a number of ways. All series and point event
@@ -51,8 +68,8 @@ var addEvent = H.addEvent,
51
68
  * reference.
52
69
  *
53
70
  * Another way to reference the series programmatically is by `id`. Add an id
54
- * in the series configuration options, and get the series object by {@link
55
- * Highcharts.Chart#get}.
71
+ * in the series configuration options, and get the series object by
72
+ * {@link Highcharts.Chart#get}.
56
73
  *
57
74
  * Configuration options for the series are given in three levels. Options for
58
75
  * all series in a chart are given in the
@@ -65,61 +82,68 @@ var addEvent = H.addEvent,
65
82
  * The data in the series is stored in various arrays.
66
83
  *
67
84
  * - First, `series.options.data` contains all the original config options for
68
- * each point whether added by options or methods like `series.addPoint`.
85
+ * each point whether added by options or methods like `series.addPoint`.
86
+ *
69
87
  * - Next, `series.data` contains those values converted to points, but in case
70
- * the series data length exceeds the `cropThreshold`, or if the data is
71
- * grouped, `series.data` doesn't contain all the points. It only contains the
72
- * points that have been created on demand.
88
+ * the series data length exceeds the `cropThreshold`, or if the data is
89
+ * grouped, `series.data` doesn't contain all the points. It only contains the
90
+ * points that have been created on demand.
91
+ *
73
92
  * - Then there's `series.points` that contains all currently visible point
74
- * objects. In case of cropping, the cropped-away points are not part of this
75
- * array. The `series.points` array starts at `series.cropStart` compared to
76
- * `series.data` and `series.options.data`. If however the series data is
77
- * grouped, these can't be correlated one to one.
93
+ * objects. In case of cropping, the cropped-away points are not part of this
94
+ * array. The `series.points` array starts at `series.cropStart` compared to
95
+ * `series.data` and `series.options.data`. If however the series data is
96
+ * grouped, these can't be correlated one to one.
97
+ *
78
98
  * - `series.xData` and `series.processedXData` contain clean x values,
79
- * equivalent to `series.data` and `series.points`.
99
+ * equivalent to `series.data` and `series.points`.
100
+ *
80
101
  * - `series.yData` and `series.processedYData` contain clean y values,
81
- * equivalent to `series.data` and `series.points`.
102
+ * equivalent to `series.data` and `series.points`.
103
+ *
104
+ * @class
105
+ * @name Highcharts.Series
82
106
  *
83
- * @class Highcharts.Series
84
- * @param {Highcharts.Chart} chart
85
- * The chart instance.
86
- * @param {Options.plotOptions.series} options
87
- * The series options.
107
+ * @param {Highcharts.Chart} chart
108
+ * The chart instance.
88
109
  *
110
+ * @param {Highcharts.PlotSeriesOptions} options
111
+ * The series options.
112
+ *//**
113
+ * The line series is the base type and is therefor the series base prototype.
114
+ *
115
+ * @private
116
+ * @class
117
+ * @name Highcharts.seriesTypes.line
118
+ *
119
+ * @augments Highcharts.Series
89
120
  */
121
+ H.Series = H.seriesType('line', null
90
122
 
91
123
  /**
92
124
  * General options for all series types.
125
+ *
93
126
  * @optionparent plotOptions.series
94
127
  */
95
- H.Series = H.seriesType('line', null, { // base series options
128
+ , { // base series options
129
+
96
130
 
97
- /**
98
- * The SVG value used for the `stroke-linecap` and `stroke-linejoin`
99
- * of a line graph. Round means that lines are rounded in the ends and
100
- * bends.
101
- *
102
- * @validvalue ["round", "butt", "square"]
103
- * @type {String}
104
- * @default round
105
- * @since 3.0.7
106
- * @apioption plotOptions.line.linecap
107
- */
108
131
 
109
132
  /**
110
133
  * Pixel width of the graph line.
111
134
  *
112
- * @type {Number}
113
135
  * @see In styled mode, the line stroke-width can be set with the
114
- * `.highcharts-graph` class name.
136
+ * `.highcharts-graph` class name.
137
+ *
115
138
  * @sample {highcharts} highcharts/plotoptions/series-linewidth-general/
116
139
  * On all series
117
140
  * @sample {highcharts} highcharts/plotoptions/series-linewidth-specific/
118
141
  * On one single series
119
- * @default 2
142
+ *
120
143
  * @product highcharts highstock
121
144
  */
122
145
  lineWidth: 2,
146
+
123
147
 
124
148
 
125
149
  /**
@@ -129,7 +153,7 @@ H.Series = H.seriesType('line', null, { // base series options
129
153
  * run if there is more than 250 points totally. To disable this cap, set
130
154
  * `animationLimit` to `Infinity`.
131
155
  *
132
- * @type {Number}
156
+ * @type {number}
133
157
  * @apioption plotOptions.series.animationLimit
134
158
  */
135
159
 
@@ -137,13 +161,11 @@ H.Series = H.seriesType('line', null, { // base series options
137
161
  * Allow this series' points to be selected by clicking on the graphic
138
162
  * (columns, point markers, pie slices, map areas etc).
139
163
  *
140
- * @see [Chart#getSelectedPoints](Highcharts.Chart#getSelectedPoints).
164
+ * @see {@link Highcharts.Chart#getSelectedPoints}.
141
165
  *
142
- * @type {Boolean}
143
166
  * @sample {highcharts} highcharts/plotoptions/series-allowpointselect-line/
144
167
  * Line
145
- * @sample {highcharts}
146
- * highcharts/plotoptions/series-allowpointselect-column/
168
+ * @sample {highcharts} highcharts/plotoptions/series-allowpointselect-column/
147
169
  * Column
148
170
  * @sample {highcharts} highcharts/plotoptions/series-allowpointselect-pie/
149
171
  * Pie
@@ -151,13 +173,11 @@ H.Series = H.seriesType('line', null, { // base series options
151
173
  * Map area
152
174
  * @sample {highmaps} maps/plotoptions/mapbubble-allowpointselect/
153
175
  * Map bubble
154
- * @default false
176
+ *
155
177
  * @since 1.2.0
156
178
  */
157
179
  allowPointSelect: false,
158
180
 
159
-
160
-
161
181
  /**
162
182
  * If true, a checkbox is displayed next to the legend item to allow
163
183
  * selecting the series. The state of the checkbox is determined by
@@ -167,16 +187,13 @@ H.Series = H.seriesType('line', null, { // base series options
167
187
  * Note that if a `colorAxis` is defined, the color axis is represented in
168
188
  * the legend, not the series.
169
189
  *
170
- * @type {Boolean}
171
190
  * @sample {highcharts} highcharts/plotoptions/series-showcheckbox-true/
172
191
  * Show select box
173
- * @default false
192
+ *
174
193
  * @since 1.2.0
175
194
  */
176
195
  showCheckbox: false,
177
196
 
178
-
179
-
180
197
  /**
181
198
  * Enable or disable the initial animation when a series is displayed.
182
199
  * The animation can also be set as a configuration object. Please
@@ -193,15 +210,14 @@ H.Series = H.seriesType('line', null, { // base series options
193
210
  *
194
211
  * <dt>easing</dt>
195
212
  *
196
- * <dd>A string reference to an easing function set on the `Math` object.
197
- * See the _Custom easing function_ demo below.</dd>
213
+ * <dd>Can be a string reference to an easing function set on the `Math`
214
+ * object or a function. See the _Custom easing function_ demo below.</dd>
198
215
  *
199
216
  * </dl>
200
217
  *
201
218
  * Due to poor performance, animation is disabled in old IE browsers
202
219
  * for several chart types.
203
220
  *
204
- * @type {Boolean}
205
221
  * @sample {highcharts} highcharts/plotoptions/series-animation-disabled/
206
222
  * Animation disabled
207
223
  * @sample {highcharts} highcharts/plotoptions/series-animation-slower/
@@ -216,22 +232,47 @@ H.Series = H.seriesType('line', null, { // base series options
216
232
  * Animation enabled on map series
217
233
  * @sample {highmaps} maps/plotoptions/mapbubble-animation-false/
218
234
  * Disabled on mapbubble series
235
+ *
236
+ * @type {boolean|Highcharts.AnimationOptionsObject}
219
237
  * @default {highcharts} true
220
238
  * @default {highstock} true
221
239
  * @default {highmaps} false
222
240
  */
223
241
  animation: {
242
+
243
+ /**
244
+ * @type {number}
245
+ * @default 1000
246
+ * @apioption plotOptions.series.animation.duration
247
+ */
224
248
  duration: 1000
225
249
  },
226
250
 
227
251
  /**
228
252
  * An additional class name to apply to the series' graphical elements. This
229
253
  * option does not replace default class names of the graphical element.
230
- * @type {String}
231
- * @since 5.0.0
254
+ *
255
+ * @type {string}
256
+ * @since 5.0.0
232
257
  * @apioption plotOptions.series.className
233
258
  */
234
259
 
260
+ /**
261
+ * Disable this option to allow series rendering in the whole plotting
262
+ * area.
263
+ *
264
+ * **Note:** Clipping should be always enabled when
265
+ * [chart.zoomType](#chart.zoomType) is set
266
+ *
267
+ * @sample {highcharts} highcharts/plotoptions/series-clip/
268
+ * Disabled clipping
269
+ *
270
+ * @default true
271
+ * @type {boolean}
272
+ * @since 3.0.0
273
+ * @apioption plotOptions.series.clip
274
+ */
275
+
235
276
  /**
236
277
  * The main color of the series. In line type series it applies to the
237
278
  * line and the point markers unless otherwise specified. In bar type
@@ -249,15 +290,18 @@ H.Series = H.seriesType('line', null, { // base series options
249
290
  * color to denote the value of each point. The series color can however be
250
291
  * used in a map with multiple series holding categorized data.
251
292
  *
252
- * @type {Color}
253
293
  * @sample {highcharts} highcharts/plotoptions/series-color-general/
254
294
  * General plot option
255
295
  * @sample {highcharts} highcharts/plotoptions/series-color-specific/
256
296
  * One specific series
257
297
  * @sample {highcharts} highcharts/plotoptions/series-color-area/
258
298
  * Area color
299
+ * @sample {highcharts} highcharts/series/infographic/
300
+ * Pattern fill
259
301
  * @sample {highmaps} maps/demo/category-map/
260
302
  * Category map by multiple series
303
+ *
304
+ * @type {Highcharts.ColorString}
261
305
  * @apioption plotOptions.series.color
262
306
  */
263
307
 
@@ -265,8 +309,8 @@ H.Series = H.seriesType('line', null, { // base series options
265
309
  * Styled mode only. A specific color index to use for the series, so its
266
310
  * graphic representations are given the class name `highcharts-color-{n}`.
267
311
  *
268
- * @type {Number}
269
- * @since 5.0.0
312
+ * @type {number}
313
+ * @since 5.0.0
270
314
  * @apioption plotOptions.series.colorIndex
271
315
  */
272
316
 
@@ -275,13 +319,14 @@ H.Series = H.seriesType('line', null, { // base series options
275
319
  * Whether to connect a graph line across null points, or render a gap
276
320
  * between the two points on either side of the null.
277
321
  *
278
- * @type {Boolean}
279
- * @default false
280
322
  * @sample {highcharts} highcharts/plotoptions/series-connectnulls-false/
281
323
  * False by default
282
324
  * @sample {highcharts} highcharts/plotoptions/series-connectnulls-true/
283
325
  * True
284
- * @product highcharts highstock
326
+ *
327
+ * @type {boolean}
328
+ * @default false
329
+ * @product highcharts highstock
285
330
  * @apioption plotOptions.series.connectNulls
286
331
  */
287
332
 
@@ -291,10 +336,9 @@ H.Series = H.seriesType('line', null, { // base series options
291
336
  * to the series, to signal to the user that the points and lines can
292
337
  * be clicked.
293
338
  *
294
- * @validvalue [null, "default", "none", "help", "pointer", "crosshair"]
295
- * @type {String}
296
- * @see In styled mode, the series cursor can be set with the same classes
339
+ * In styled mode, the series cursor can be set with the same classes
297
340
  * as listed under [series.color](#plotOptions.series.color).
341
+ *
298
342
  * @sample {highcharts} highcharts/plotoptions/series-cursor-line/
299
343
  * On line graph
300
344
  * @sample {highcharts} highcharts/plotoptions/series-cursor-column/
@@ -307,31 +351,18 @@ H.Series = H.seriesType('line', null, { // base series options
307
351
  * Map area
308
352
  * @sample {highmaps} maps/plotoptions/mapbubble-allowpointselect/
309
353
  * Map bubble
310
- * @apioption plotOptions.series.cursor
354
+ *
355
+ * @type {string}
356
+ * @validvalue ["crosshair","default","help","none","pointer"]
357
+ * @apioption plotOptions.series.cursor
311
358
  */
312
359
 
313
360
 
314
361
  /**
315
362
  * A name for the dash style to use for the graph, or for some series types
316
- * the outline of each shape. The value for the `dashStyle` include:
317
- *
318
- * * Solid
319
- * * ShortDash
320
- * * ShortDot
321
- * * ShortDashDot
322
- * * ShortDashDotDot
323
- * * Dot
324
- * * Dash
325
- * * LongDash
326
- * * DashDot
327
- * * LongDashDot
328
- * * LongDashDotDot
329
- *
330
- * @validvalue ["Solid", "ShortDash", "ShortDot", "ShortDashDot",
331
- * "ShortDashDotDot", "Dot", "Dash" ,"LongDash", "DashDot",
332
- * "LongDashDot", "LongDashDotDot"]
333
- * @type {String}
334
- * @see In styled mode, the [stroke dash-array](http://jsfiddle.net/gh/get/
363
+ * the outline of each shape.
364
+ *
365
+ * In styled mode, the [stroke dash-array](https://jsfiddle.net/gh/get/
335
366
  * library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/
336
367
  * series-dashstyle/) can be set with the same classes as listed under
337
368
  * [series.color](#plotOptions.series.color).
@@ -346,9 +377,14 @@ H.Series = H.seriesType('line', null, { // base series options
346
377
  * Possible values demonstrated
347
378
  * @sample {highmaps} maps/plotoptions/series-dashstyle/
348
379
  * Dotted borders on a map
349
- * @default Solid
350
- * @since 2.1
351
- * @apioption plotOptions.series.dashStyle
380
+ *
381
+ * @type {string}
382
+ * @default Solid
383
+ * @since 2.1
384
+ * @validvalue ["Dash","DashDot","Dot","LongDash","LongDashDot",
385
+ * "LongDashDotDot","ShortDash","ShortDashDot",
386
+ * "ShortDashDotDot","ShortDot","Solid"]
387
+ * @apioption plotOptions.series.dashStyle
352
388
  */
353
389
 
354
390
  /**
@@ -357,29 +393,23 @@ H.Series = H.seriesType('line', null, { // base series options
357
393
  * A description of the series to add to the screen reader information
358
394
  * about the series.
359
395
  *
360
- * @type {String}
361
- * @default undefined
362
- * @since 5.0.0
396
+ * @type {string}
397
+ * @since 5.0.0
363
398
  * @apioption plotOptions.series.description
364
399
  */
365
400
 
366
-
367
-
368
-
369
-
370
401
  /**
371
402
  * Enable or disable the mouse tracking for a specific series. This
372
403
  * includes point tooltips and click events on graphs and points. For
373
404
  * large datasets it improves performance.
374
405
  *
375
- * @type {Boolean}
376
- * @sample {highcharts}
377
- * highcharts/plotoptions/series-enablemousetracking-false/
406
+ * @sample {highcharts} highcharts/plotoptions/series-enablemousetracking-false/
378
407
  * No mouse tracking
379
- * @sample {highmaps}
380
- * maps/plotoptions/series-enablemousetracking-false/
408
+ * @sample {highmaps} maps/plotoptions/series-enablemousetracking-false/
381
409
  * No mouse tracking
382
- * @default true
410
+ *
411
+ * @type {boolean}
412
+ * @default true
383
413
  * @apioption plotOptions.series.enableMouseTracking
384
414
  */
385
415
 
@@ -392,11 +422,11 @@ H.Series = H.seriesType('line', null, { // base series options
392
422
  *
393
423
  * Requires the Accessibility module.
394
424
  *
395
- * @type {Boolean}
396
425
  * @sample highcharts/accessibility/art-grants/
397
426
  * Accessible data visualization
398
- * @default undefined
399
- * @since 5.0.12
427
+ *
428
+ * @type {boolean}
429
+ * @since 5.0.12
400
430
  * @apioption plotOptions.series.exposeElementToA11y
401
431
  */
402
432
 
@@ -406,69 +436,38 @@ H.Series = H.seriesType('line', null, { // base series options
406
436
  * Y axis adjusts to the min and max of the visible data. Cartesian
407
437
  * series only.
408
438
  *
409
- * @type {Boolean}
410
- * @default false
411
- * @since 4.1.6
412
- * @product highcharts highstock
439
+ * @type {boolean}
440
+ * @default false
441
+ * @since 4.1.6
442
+ * @product highcharts highstock gantt
413
443
  * @apioption plotOptions.series.getExtremesFromAll
414
444
  */
415
445
 
416
- /**
417
- * An id for the series. This can be used after render time to get a
418
- * pointer to the series object through `chart.get()`.
419
- *
420
- * @type {String}
421
- * @sample {highcharts} highcharts/plotoptions/series-id/ Get series by id
422
- * @since 1.2.0
423
- * @apioption series.id
424
- */
425
-
426
- /**
427
- * The index of the series in the chart, affecting the internal index
428
- * in the `chart.series` array, the visible Z index as well as the order
429
- * in the legend.
430
- *
431
- * @type {Number}
432
- * @default undefined
433
- * @since 2.3.0
434
- * @apioption series.index
435
- */
436
-
437
446
  /**
438
447
  * An array specifying which option maps to which key in the data point
439
448
  * array. This makes it convenient to work with unstructured data arrays
440
449
  * from different sources.
441
450
  *
442
- * @type {Array<String>}
443
451
  * @see [series.data](#series.line.data)
452
+ *
444
453
  * @sample {highcharts|highstock} highcharts/series/data-keys/
445
454
  * An extended data array with keys
446
455
  * @sample {highcharts|highstock} highcharts/series/data-nested-keys/
447
456
  * Nested keys used to access object properties
448
- * @since 4.1.6
449
- * @product highcharts highstock
450
- * @apioption plotOptions.series.keys
451
- */
452
-
453
- /**
454
- * The sequential index of the series in the legend.
455
457
  *
456
- * @sample {highcharts|highstock} highcharts/series/legendindex/
457
- * Legend in opposite order
458
- * @type {Number}
459
- * @see [legend.reversed](#legend.reversed),
460
- * [yAxis.reversedStacks](#yAxis.reversedStacks)
461
- * @apioption series.legendIndex
458
+ * @type {Array<string>}
459
+ * @since 4.1.6
460
+ * @apioption plotOptions.series.keys
462
461
  */
463
462
 
464
463
  /**
465
464
  * The line cap used for line ends and line joins on the graph.
466
465
  *
466
+ * @type {string}
467
+ * @default round
468
+ * @product highcharts highstock
467
469
  * @validvalue ["round", "square"]
468
- * @type {String}
469
- * @default round
470
- * @product highcharts highstock
471
- * @apioption plotOptions.series.linecap
470
+ * @apioption plotOptions.series.linecap
472
471
  */
473
472
 
474
473
  /**
@@ -477,30 +476,39 @@ H.Series = H.seriesType('line', null, { // base series options
477
476
  * two series are linked, only the first one appears in the legend.
478
477
  * Toggling the visibility of this also toggles the linked series.
479
478
  *
480
- * @type {String}
481
- * @sample {highcharts} highcharts/demo/arearange-line/ Linked series
482
- * @sample {highstock} highcharts/demo/arearange-line/ Linked series
483
- * @since 3.0
484
- * @product highcharts highstock
479
+ * @sample {highcharts|highstock} highcharts/demo/arearange-line/
480
+ * Linked series
481
+ *
482
+ * @type {string}
483
+ * @since 3.0
484
+ * @product highcharts highstock gantt
485
485
  * @apioption plotOptions.series.linkedTo
486
486
  */
487
487
 
488
488
  /**
489
- * The name of the series as shown in the legend, tooltip etc.
489
+ * Options for the corresponding navigator series if `showInNavigator`
490
+ * is `true` for this series. Available options are the same as any
491
+ * series, documented at [plotOptions](#plotOptions.series) and
492
+ * [series](#series).
490
493
  *
491
- * @type {String}
492
- * @sample {highcharts} highcharts/series/name/ Series name
493
- * @sample {highmaps} maps/demo/category-map/ Series name
494
- * @apioption series.name
494
+ * These options are merged with options in [navigator.series](
495
+ * #navigator.series), and will take precedence if the same option is
496
+ * defined both places.
497
+ *
498
+ * @see [navigator.series](#navigator.series)
499
+ *
500
+ * @type {*}
501
+ * @since 5.0.0
502
+ * @product highstock
503
+ * @apioption plotOptions.series.navigatorOptions
495
504
  */
496
505
 
497
506
  /**
498
507
  * The color for the parts of the graph or points that are below the
499
508
  * [threshold](#plotOptions.series.threshold).
500
509
  *
501
- * @type {Color}
502
- * @see In styled mode, a negative color is applied by setting this
503
- * option to `true` combined with the `.highcharts-negative` class name.
510
+ * @see In styled mode, a negative color is applied by setting this option
511
+ * to `true` combined with the `.highcharts-negative` class name.
504
512
  *
505
513
  * @sample {highcharts} highcharts/plotoptions/series-negative-color/
506
514
  * Spline, area and column
@@ -516,8 +524,9 @@ H.Series = H.seriesType('line', null, { // base series options
516
524
  * Spline, area and column
517
525
  * @sample {highmaps} highcharts/plotoptions/arearange-negativecolor/
518
526
  * Arearange
519
- * @default null
520
- * @since 3.0
527
+ *
528
+ * @type {Highcharts.ColorString}
529
+ * @since 3.0
521
530
  * @apioption plotOptions.series.negativeColor
522
531
  */
523
532
 
@@ -526,8 +535,8 @@ H.Series = H.seriesType('line', null, { // base series options
526
535
  * #accessibility.pointDescriptionFormatter), but for an individual series.
527
536
  * Overrides the chart wide configuration.
528
537
  *
529
- * @type {Function}
530
- * @since 5.0.12
538
+ * @type {Function}
539
+ * @since 5.0.12
531
540
  * @apioption plotOptions.series.pointDescriptionFormatter
532
541
  */
533
542
 
@@ -544,13 +553,14 @@ H.Series = H.seriesType('line', null, { // base series options
544
553
  * Please note that this options applies to the _series data_, not the
545
554
  * interval of the axis ticks, which is independent.
546
555
  *
547
- * @type {Number}
548
556
  * @sample {highcharts} highcharts/plotoptions/series-pointstart-datetime/
549
557
  * Datetime X axis
550
558
  * @sample {highstock} stock/plotoptions/pointinterval-pointstart/
551
559
  * Using pointStart and pointInterval
552
- * @default 1
553
- * @product highcharts highstock
560
+ *
561
+ * @type {number}
562
+ * @default 1
563
+ * @product highcharts highstock gantt
554
564
  * @apioption plotOptions.series.pointInterval
555
565
  */
556
566
 
@@ -565,19 +575,20 @@ H.Series = H.seriesType('line', null, { // base series options
565
575
  * Please note that this options applies to the _series data_, not the
566
576
  * interval of the axis ticks, which is independent.
567
577
  *
568
- * @validvalue [null, "day", "month", "year"]
569
- * @type {String}
570
578
  * @sample {highcharts} highcharts/plotoptions/series-pointintervalunit/
571
579
  * One point a month
572
580
  * @sample {highstock} highcharts/plotoptions/series-pointintervalunit/
573
581
  * One point a month
574
- * @since 4.1.0
575
- * @product highcharts highstock
576
- * @apioption plotOptions.series.pointIntervalUnit
582
+ *
583
+ * @type {string}
584
+ * @since 4.1.0
585
+ * @product highcharts highstock gantt
586
+ * @validvalue ["day", "month", "year"]
587
+ * @apioption plotOptions.series.pointIntervalUnit
577
588
  */
578
589
 
579
590
  /**
580
- * Possible values: `null`, `"on"`, `"between"`.
591
+ * Possible values: `"on"`, `"between"`, `number`.
581
592
  *
582
593
  * In a column chart, when pointPlacement is `"on"`, the point will
583
594
  * not create any padding of the X axis. In a polar column chart this
@@ -596,20 +607,22 @@ H.Series = H.seriesType('line', null, { // base series options
596
607
  * #plotOptions.series.pointRange) to work. For column series this is
597
608
  * computed, but for line-type series it needs to be set.
598
609
  *
599
- * Defaults to `null` in cartesian charts, `"between"` in polar charts.
610
+ * For the `xrange` series type and gantt charts, if the Y axis is a
611
+ * category axis, the `pointPlacement` applies to the Y axis rather than
612
+ * the (typically datetime) X axis.
613
+ *
614
+ * Defaults to `undefined` in cartesian charts, `"between"` in polar charts.
600
615
  *
601
- * @validvalue [null, "on", "between"]
602
- * @type {String|Number}
603
616
  * @see [xAxis.tickmarkPlacement](#xAxis.tickmarkPlacement)
604
- * @sample {highcharts|highstock}
605
- * highcharts/plotoptions/series-pointplacement-between/
617
+ *
618
+ * @sample {highcharts|highstock} highcharts/plotoptions/series-pointplacement-between/
606
619
  * Between in a column chart
607
- * @sample {highcharts|highstock}
608
- * highcharts/plotoptions/series-pointplacement-numeric/
620
+ * @sample {highcharts|highstock} highcharts/plotoptions/series-pointplacement-numeric/
609
621
  * Numeric placement for custom layout
610
- * @default null
611
- * @since 2.3.0
612
- * @product highcharts highstock
622
+ *
623
+ * @type {string|number}
624
+ * @since 2.3.0
625
+ * @product highcharts highstock gantt
613
626
  * @apioption plotOptions.series.pointPlacement
614
627
  */
615
628
 
@@ -618,15 +631,16 @@ H.Series = H.seriesType('line', null, { // base series options
618
631
  * on what value to start. For example, if a series contains one yearly
619
632
  * value starting from 1945, set pointStart to 1945.
620
633
  *
621
- * @type {Number}
622
634
  * @sample {highcharts} highcharts/plotoptions/series-pointstart-linear/
623
635
  * Linear
624
636
  * @sample {highcharts} highcharts/plotoptions/series-pointstart-datetime/
625
637
  * Datetime
626
638
  * @sample {highstock} stock/plotoptions/pointinterval-pointstart/
627
639
  * Using pointStart and pointInterval
628
- * @default 0
629
- * @product highcharts highstock
640
+ *
641
+ * @type {number}
642
+ * @default 0
643
+ * @product highcharts highstock gantt
630
644
  * @apioption plotOptions.series.pointStart
631
645
  */
632
646
 
@@ -635,22 +649,25 @@ H.Series = H.seriesType('line', null, { // base series options
635
649
  * the checkbox next to the series name in the legend will be checked for a
636
650
  * selected series.
637
651
  *
638
- * @type {Boolean}
639
652
  * @sample {highcharts} highcharts/plotoptions/series-selected/
640
653
  * One out of two series selected
641
- * @default false
642
- * @since 1.2.0
654
+ *
655
+ * @type {boolean}
656
+ * @default false
657
+ * @since 1.2.0
643
658
  * @apioption plotOptions.series.selected
644
659
  */
645
660
 
646
661
  /**
647
662
  * Whether to apply a drop shadow to the graph line. Since 2.3 the shadow
648
663
  * can be an object configuration containing `color`, `offsetX`, `offsetY`,
649
- * `opacity` and `width`.
664
+ * `opacity` and `width`.
665
+ *
666
+ * @sample {highcharts} highcharts/plotoptions/series-shadow/
667
+ * Shadow enabled
650
668
  *
651
- * @type {Boolean|Object}
652
- * @sample {highcharts} highcharts/plotoptions/series-shadow/ Shadow enabled
653
- * @default false
669
+ * @type {boolean|Highcharts.ShadowOptionsObject}
670
+ * @default false
654
671
  * @apioption plotOptions.series.shadow
655
672
  */
656
673
 
@@ -659,45 +676,42 @@ H.Series = H.seriesType('line', null, { // base series options
659
676
  * The default value is `true` for standalone series, `false` for linked
660
677
  * series.
661
678
  *
662
- * @type {Boolean}
663
679
  * @sample {highcharts} highcharts/plotoptions/series-showinlegend/
664
680
  * One series in the legend, one hidden
665
- * @default true
681
+ *
682
+ * @type {boolean}
683
+ * @default true
666
684
  * @apioption plotOptions.series.showInLegend
667
685
  */
668
686
 
669
687
  /**
670
- * If set to `True`, the accessibility module will skip past the points
671
- * in this series for keyboard navigation.
688
+ * Whether or not to show the series in the navigator. Takes precedence
689
+ * over [navigator.baseSeries](#navigator.baseSeries) if defined.
672
690
  *
673
- * @type {Boolean}
674
- * @since 5.0.12
675
- * @apioption plotOptions.series.skipKeyboardNavigation
691
+ * @type {boolean}
692
+ * @since 5.0.0
693
+ * @product highstock
694
+ * @apioption plotOptions.series.showInNavigator
676
695
  */
677
696
 
678
697
  /**
679
- * This option allows grouping series in a stacked chart. The stack
680
- * option can be a string or a number or anything else, as long as the
681
- * grouped series' stack options match each other.
682
- *
683
- * @type {String}
684
- * @sample {highcharts} highcharts/series/stack/ Stacked and grouped columns
685
- * @default null
686
- * @since 2.1
687
- * @product highcharts highstock
688
- * @apioption series.stack
698
+ * If set to `true`, the accessibility module will skip past the points
699
+ * in this series for keyboard navigation.
700
+ *
701
+ * @type {boolean}
702
+ * @since 5.0.12
703
+ * @apioption plotOptions.series.skipKeyboardNavigation
689
704
  */
690
705
 
691
706
  /**
692
- * Whether to stack the values of each series on top of each other.
693
- * Possible values are `null` to disable, `"normal"` to stack by value or
707
+ * Whether to stack the values of each series on top of each other. Possible
708
+ * values are `undefined` to disable, `"normal"` to stack by value or
694
709
  * `"percent"`. When stacking is enabled, data must be sorted in ascending
695
710
  * X order. A special stacking option is with the streamgraph series type,
696
711
  * where the stacking option is set to `"stream"`.
697
712
  *
698
- * @validvalue [null, "normal", "percent"]
699
- * @type {String}
700
713
  * @see [yAxis.reversedStacks](#yAxis.reversedStacks)
714
+ *
701
715
  * @sample {highcharts} highcharts/plotoptions/series-stacking-line/
702
716
  * Line
703
717
  * @sample {highcharts} highcharts/plotoptions/series-stacking-column/
@@ -708,8 +722,7 @@ H.Series = H.seriesType('line', null, { // base series options
708
722
  * Area
709
723
  * @sample {highcharts} highcharts/plotoptions/series-stacking-percent-line/
710
724
  * Line
711
- * @sample {highcharts}
712
- * highcharts/plotoptions/series-stacking-percent-column/
725
+ * @sample {highcharts} highcharts/plotoptions/series-stacking-percent-column/
713
726
  * Column
714
727
  * @sample {highcharts} highcharts/plotoptions/series-stacking-percent-bar/
715
728
  * Bar
@@ -717,28 +730,29 @@ H.Series = H.seriesType('line', null, { // base series options
717
730
  * Area
718
731
  * @sample {highstock} stock/plotoptions/stacking/
719
732
  * Area
720
- * @default null
721
- * @product highcharts highstock
722
- * @apioption plotOptions.series.stacking
733
+ *
734
+ * @type {string}
735
+ * @product highcharts highstock
736
+ * @validvalue ["normal", "percent"]
737
+ * @apioption plotOptions.series.stacking
723
738
  */
724
739
 
725
740
  /**
726
741
  * Whether to apply steps to the line. Possible values are `left`, `center`
727
742
  * and `right`.
728
743
  *
729
- * @validvalue [null, "left", "center", "right"]
730
- * @type {String}
731
744
  * @sample {highcharts} highcharts/plotoptions/line-step/
732
745
  * Different step line options
733
746
  * @sample {highcharts} highcharts/plotoptions/area-step/
734
747
  * Stepped, stacked area
735
748
  * @sample {highstock} stock/plotoptions/line-step/
736
749
  * Step line
737
- * @default {highcharts} null
738
- * @default {highstock} false
739
- * @since 1.2.5
740
- * @product highcharts highstock
741
- * @apioption plotOptions.series.step
750
+ *
751
+ * @type {string}
752
+ * @since 1.2.5
753
+ * @product highcharts highstock
754
+ * @validvalue ["left", "center", "right"]
755
+ * @apioption plotOptions.series.step
742
756
  */
743
757
 
744
758
  /**
@@ -746,99 +760,43 @@ H.Series = H.seriesType('line', null, { // base series options
746
760
  * series this is only used in conjunction with
747
761
  * [negativeColor](#plotOptions.series.negativeColor).
748
762
  *
749
- * @type {Number}
750
763
  * @see [softThreshold](#plotOptions.series.softThreshold).
751
- * @default 0
752
- * @since 3.0
753
- * @product highcharts highstock
754
- * @apioption plotOptions.series.threshold
755
- */
756
-
757
- /**
758
- * The type of series, for example `line` or `column`. By default, the
759
- * series type is inherited from [chart.type](#chart.type), so unless the
760
- * chart is a combination of series types, there is no need to set it on the
761
- * series level.
762
764
  *
763
- * @validvalue [null, "line", "spline", "column", "area", "areaspline",
764
- * "pie", "arearange", "areasplinerange", "boxplot", "bubble",
765
- * "columnrange", "errorbar", "funnel", "gauge", "scatter",
766
- * "waterfall"]
767
- * @type {String}
768
- * @sample {highcharts} highcharts/series/type/
769
- * Line and column in the same chart
770
- * @sample {highmaps} maps/demo/mapline-mappoint/
771
- * Multiple types in the same map
772
- * @apioption series.type
765
+ * @type {number}
766
+ * @default 0
767
+ * @since 3.0
768
+ * @product highcharts highstock
769
+ * @apioption plotOptions.series.threshold
773
770
  */
774
771
 
775
772
  /**
776
773
  * Set the initial visibility of the series.
777
774
  *
778
- * @type {Boolean}
779
775
  * @sample {highcharts} highcharts/plotoptions/series-visible/
780
776
  * Two series, one hidden and one visible
781
777
  * @sample {highstock} stock/plotoptions/series-visibility/
782
778
  * Hidden series
783
- * @default true
784
- * @apioption plotOptions.series.visible
785
- */
786
-
787
- /**
788
- * When using dual or multiple x axes, this number defines which xAxis
789
- * the particular series is connected to. It refers to either the [axis
790
- * id](#xAxis.id) or the index of the axis in the xAxis array, with
791
- * 0 being the first.
792
- *
793
- * @type {Number|String}
794
- * @default 0
795
- * @product highcharts highstock
796
- * @apioption series.xAxis
797
- */
798
-
799
- /**
800
- * When using dual or multiple y axes, this number defines which yAxis
801
- * the particular series is connected to. It refers to either the [axis
802
- * id](#yAxis.id) or the index of the axis in the yAxis array, with
803
- * 0 being the first.
804
779
  *
805
- * @type {Number|String}
806
- * @sample {highcharts} highcharts/series/yaxis/
807
- * Apply the column series to the secondary Y axis
808
- * @default 0
809
- * @product highcharts highstock
810
- * @apioption series.yAxis
780
+ * @type {boolean}
781
+ * @default true
782
+ * @apioption plotOptions.series.visible
811
783
  */
812
784
 
813
785
  /**
814
786
  * Defines the Axis on which the zones are applied.
815
787
  *
816
- * @type {String}
817
788
  * @see [zones](#plotOptions.series.zones)
789
+ *
818
790
  * @sample {highcharts} highcharts/series/color-zones-zoneaxis-x/
819
791
  * Zones on the X-Axis
820
792
  * @sample {highstock} highcharts/series/color-zones-zoneaxis-x/
821
793
  * Zones on the X-Axis
822
- * @default y
823
- * @since 4.1.0
824
- * @product highcharts highstock
825
- * @apioption plotOptions.series.zoneAxis
826
- */
827
-
828
- /**
829
- * Define the visual z index of the series.
830
794
  *
831
- * @type {Number}
832
- * @sample {highcharts} highcharts/plotoptions/series-zindex-default/
833
- * With no z index, the series defined last are on top
834
- * @sample {highcharts} highcharts/plotoptions/series-zindex/
835
- * With a z index, the series with the highest z index is on top
836
- * @sample {highstock} highcharts/plotoptions/series-zindex-default/
837
- * With no z index, the series defined last are on top
838
- * @sample {highstock} highcharts/plotoptions/series-zindex/
839
- * With a z index, the series with the highest z index is on top
840
- * @product highcharts highstock
841
- * @apioption series.zIndex
795
+ * @type {string}
796
+ * @default y
797
+ * @since 4.1.0
798
+ * @product highcharts highstock
799
+ * @apioption plotOptions.series.zoneAxis
842
800
  */
843
801
 
844
802
  /**
@@ -846,21 +804,21 @@ H.Series = H.seriesType('line', null, { // base series options
846
804
  * be attached to the series at run time using the `Highcharts.addEvent`
847
805
  * function.
848
806
  */
807
+ events: {},
849
808
 
850
809
  /**
851
810
  * Fires after the series has finished its initial animation, or in
852
811
  * case animation is disabled, immediately as the series is displayed.
853
812
  *
854
- * @type {Function}
855
- * @context Series
856
- * @sample {highcharts}
857
- * highcharts/plotoptions/series-events-afteranimate/
813
+ * @sample {highcharts} highcharts/plotoptions/series-events-afteranimate/
858
814
  * Show label after animate
859
- * @sample {highstock}
860
- * highcharts/plotoptions/series-events-afteranimate/
815
+ * @sample {highstock} highcharts/plotoptions/series-events-afteranimate/
861
816
  * Show label after animate
862
- * @since 4.0
863
- * @product highcharts highstock
817
+ *
818
+ * @type {Function}
819
+ * @since 4.0
820
+ * @product highcharts highstock
821
+ * @context Series
864
822
  * @apioption plotOptions.series.events.afterAnimate
865
823
  */
866
824
 
@@ -871,28 +829,29 @@ H.Series = H.seriesType('line', null, { // base series options
871
829
  * found by `event.item`. Return `false` to prevent the default action
872
830
  * which is to toggle the select state of the series.
873
831
  *
874
- * @type {Function}
875
- * @context Series
876
- * @sample {highcharts}
877
- * highcharts/plotoptions/series-events-checkboxclick/
832
+ * @sample {highcharts} highcharts/plotoptions/series-events-checkboxclick/
878
833
  * Alert checkbox status
879
- * @since 1.2.0
834
+ *
835
+ * @type {Function}
836
+ * @since 1.2.0
837
+ * @context Series
880
838
  * @apioption plotOptions.series.events.checkboxClick
881
839
  */
882
840
 
883
841
  /**
884
- * Fires when the series is clicked. One parameter, `event`, is passed
885
- * to the function, containing common event information. Additionally,
842
+ * Fires when the series is clicked. One parameter, `event`, is passed to
843
+ * the function, containing common event information. Additionally,
886
844
  * `event.point` holds a pointer to the nearest point on the graph.
887
845
  *
888
- * @type {Function}
889
- * @context Series
890
846
  * @sample {highcharts} highcharts/plotoptions/series-events-click/
891
847
  * Alert click info
892
848
  * @sample {highstock} stock/plotoptions/series-events-click/
893
849
  * Alert click info
894
850
  * @sample {highmaps} maps/plotoptions/series-events-click/
895
851
  * Display click info in subtitle
852
+ *
853
+ * @type {Function}
854
+ * @context Series
896
855
  * @apioption plotOptions.series.events.click
897
856
  */
898
857
 
@@ -900,11 +859,12 @@ H.Series = H.seriesType('line', null, { // base series options
900
859
  * Fires when the series is hidden after chart generation time, either
901
860
  * by clicking the legend item or by calling `.hide()`.
902
861
  *
903
- * @type {Function}
904
- * @context Series
905
862
  * @sample {highcharts} highcharts/plotoptions/series-events-hide/
906
863
  * Alert when the series is hidden by clicking the legend item
907
- * @since 1.2.0
864
+ *
865
+ * @type {Function}
866
+ * @since 1.2.0
867
+ * @context Series
908
868
  * @apioption plotOptions.series.events.hide
909
869
  */
910
870
 
@@ -914,11 +874,11 @@ H.Series = H.seriesType('line', null, { // base series options
914
874
  * is to toggle the visibility of the series. This can be prevented
915
875
  * by returning `false` or calling `event.preventDefault()`.
916
876
  *
917
- * @type {Function}
918
- * @context Series
919
- * @sample {highcharts}
920
- * highcharts/plotoptions/series-events-legenditemclick/
877
+ * @sample {highcharts} highcharts/plotoptions/series-events-legenditemclick/
921
878
  * Confirm hiding and showing
879
+ *
880
+ * @type {Function}
881
+ * @context Series
922
882
  * @apioption plotOptions.series.events.legendItemClick
923
883
  */
924
884
 
@@ -929,14 +889,13 @@ H.Series = H.seriesType('line', null, { // base series options
929
889
  * doesn't happen before the mouse enters another graph or leaves the
930
890
  * plot area.
931
891
  *
932
- * @type {Function}
933
- * @context Series
934
- * @sample {highcharts}
935
- * highcharts/plotoptions/series-events-mouseover-sticky/
936
- * With sticky tracking by default
937
- * @sample {highcharts}
938
- * highcharts/plotoptions/series-events-mouseover-no-sticky/
892
+ * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-sticky/
893
+ * With sticky tracking by default
894
+ * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-no-sticky/
939
895
  * Without sticky tracking
896
+ *
897
+ * @type {Function}
898
+ * @context Series
940
899
  * @apioption plotOptions.series.events.mouseOut
941
900
  */
942
901
 
@@ -944,14 +903,13 @@ H.Series = H.seriesType('line', null, { // base series options
944
903
  * Fires when the mouse enters the graph. One parameter, `event`, is
945
904
  * passed to the function, containing common event information.
946
905
  *
947
- * @type {Function}
948
- * @context Series
949
- * @sample {highcharts}
950
- * highcharts/plotoptions/series-events-mouseover-sticky/
906
+ * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-sticky/
951
907
  * With sticky tracking by default
952
- * @sample {highcharts}
953
- * highcharts/plotoptions/series-events-mouseover-no-sticky/
908
+ * @sample {highcharts} highcharts/plotoptions/series-events-mouseover-no-sticky/
954
909
  * Without sticky tracking
910
+ *
911
+ * @type {Function}
912
+ * @context Series
955
913
  * @apioption plotOptions.series.events.mouseOver
956
914
  */
957
915
 
@@ -959,16 +917,14 @@ H.Series = H.seriesType('line', null, { // base series options
959
917
  * Fires when the series is shown after chart generation time, either
960
918
  * by clicking the legend item or by calling `.show()`.
961
919
  *
962
- * @type {Function}
963
- * @context Series
964
920
  * @sample {highcharts} highcharts/plotoptions/series-events-show/
965
921
  * Alert when the series is shown by clicking the legend item.
966
- * @since 1.2.0
922
+ *
923
+ * @type {Function}
924
+ * @since 1.2.0
925
+ * @context Series
967
926
  * @apioption plotOptions.series.events.show
968
927
  */
969
- events: {},
970
-
971
-
972
928
 
973
929
  /**
974
930
  * Options for the point markers of line-like series. Properties like
@@ -981,57 +937,56 @@ H.Series = H.seriesType('line', null, { // base series options
981
937
  * class names.
982
938
  */
983
939
  marker: {
984
-
985
940
 
941
+
986
942
 
987
943
  /**
988
944
  * The width of the point marker's outline.
989
945
  *
990
- * @type {Number}
991
946
  * @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/
992
947
  * 2px blue marker
993
- * @default 0
994
948
  */
995
949
  lineWidth: 0,
996
950
 
997
-
998
951
  /**
999
- * The color of the point marker's outline. When `null`, the series'
1000
- * or point's color is used.
952
+ * The color of the point marker's outline. When `undefined`, the
953
+ * series' or point's color is used.
1001
954
  *
1002
- * @type {Color}
1003
955
  * @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/
1004
- * Inherit from series color (null)
956
+ * Inherit from series color (undefined)
957
+ *
958
+ * @type {Highcharts.ColorString}
1005
959
  */
1006
960
  lineColor: '#ffffff',
1007
961
 
1008
962
  /**
1009
- * The fill color of the point marker. When `null`, the series' or
963
+ * The fill color of the point marker. When `undefined`, the series' or
1010
964
  * point's color is used.
1011
965
  *
1012
- * @type {Color}
1013
966
  * @sample {highcharts} highcharts/plotoptions/series-marker-fillcolor/
1014
967
  * White fill
1015
- * @default null
968
+ *
969
+ * @type {Highcharts.ColorString}
1016
970
  * @apioption plotOptions.series.marker.fillColor
1017
971
  */
1018
972
 
1019
973
 
1020
974
 
1021
975
  /**
1022
- * Enable or disable the point marker. If `null`, the markers are hidden
1023
- * when the data is dense, and shown for more widespread data points.
976
+ * Enable or disable the point marker. If `undefined`, the markers are
977
+ * hidden when the data is dense, and shown for more widespread data
978
+ * points.
1024
979
  *
1025
- * @type {Boolean}
1026
980
  * @sample {highcharts} highcharts/plotoptions/series-marker-enabled/
1027
981
  * Disabled markers
1028
- * @sample {highcharts}
1029
- * highcharts/plotoptions/series-marker-enabled-false/
982
+ * @sample {highcharts} highcharts/plotoptions/series-marker-enabled-false/
1030
983
  * Disabled in normal state but enabled on hover
1031
984
  * @sample {highstock} stock/plotoptions/series-marker/
1032
985
  * Enabled markers
1033
- * @default {highcharts} null
1034
- * @default {highstock} false
986
+ *
987
+ * @type {boolean}
988
+ * @default {highcharts} undefined
989
+ * @default {highstock} false
1035
990
  * @apioption plotOptions.series.marker.enabled
1036
991
  */
1037
992
 
@@ -1039,22 +994,20 @@ H.Series = H.seriesType('line', null, { // base series options
1039
994
  * Image markers only. Set the image width explicitly. When using this
1040
995
  * option, a `width` must also be set.
1041
996
  *
1042
- * @type {Number}
1043
- * @sample {highcharts}
1044
- * highcharts/plotoptions/series-marker-width-height/
997
+ * @sample {highcharts} highcharts/plotoptions/series-marker-width-height/
1045
998
  * Fixed width and height
1046
- * @sample {highstock}
1047
- * highcharts/plotoptions/series-marker-width-height/
999
+ * @sample {highstock} highcharts/plotoptions/series-marker-width-height/
1048
1000
  * Fixed width and height
1049
- * @default null
1050
- * @since 4.0.4
1001
+ *
1002
+ * @type {number}
1003
+ * @since 4.0.4
1051
1004
  * @apioption plotOptions.series.marker.height
1052
1005
  */
1053
1006
 
1054
1007
  /**
1055
- * A predefined shape or symbol for the marker. When null, the symbol
1056
- * is pulled from options.symbols. Other possible values are "circle",
1057
- * "square", "diamond", "triangle" and "triangle-down".
1008
+ * A predefined shape or symbol for the marker. When undefined, the
1009
+ * symbol is pulled from options.symbols. Other possible values are
1010
+ * "circle", "square", "diamond", "triangle" and "triangle-down".
1058
1011
  *
1059
1012
  * Additionally, the URL to a graphic can be given on this form:
1060
1013
  * "url(graphic.png)". Note that for the image to be applied to exported
@@ -1064,14 +1017,12 @@ H.Series = H.seriesType('line', null, { // base series options
1064
1017
  * `Highcharts.SVGRenderer.prototype.symbols`. The callback is then
1065
1018
  * used by its method name, as shown in the demo.
1066
1019
  *
1067
- * @validvalue [null, "circle", "square", "diamond", "triangle",
1068
- * "triangle-down"]
1069
- * @type {String}
1070
1020
  * @sample {highcharts} highcharts/plotoptions/series-marker-symbol/
1071
1021
  * Predefined, graphic and custom markers
1072
1022
  * @sample {highstock} highcharts/plotoptions/series-marker-symbol/
1073
1023
  * Predefined, graphic and custom markers
1074
- * @default null
1024
+ *
1025
+ * @type {string}
1075
1026
  * @apioption plotOptions.series.marker.symbol
1076
1027
  */
1077
1028
 
@@ -1082,9 +1033,10 @@ H.Series = H.seriesType('line', null, { // base series options
1082
1033
  * as multiples of the `marker.radius`. In other words, the default
1083
1034
  * value of 2 means points are hidden if overlapping horizontally.
1084
1035
  *
1085
- * @since 6.0.5
1086
1036
  * @sample highcharts/plotoptions/series-marker-enabledthreshold
1087
1037
  * A higher threshold
1038
+ *
1039
+ * @since 6.0.5
1088
1040
  */
1089
1041
  enabledThreshold: 2,
1090
1042
 
@@ -1100,19 +1052,16 @@ H.Series = H.seriesType('line', null, { // base series options
1100
1052
  * Image markers only. Set the image width explicitly. When using this
1101
1053
  * option, a `height` must also be set.
1102
1054
  *
1103
- * @type {Number}
1104
- * @sample {highcharts}
1105
- * highcharts/plotoptions/series-marker-width-height/
1055
+ * @sample {highcharts} highcharts/plotoptions/series-marker-width-height/
1106
1056
  * Fixed width and height
1107
- * @sample {highstock}
1108
- * highcharts/plotoptions/series-marker-width-height/
1057
+ * @sample {highstock} highcharts/plotoptions/series-marker-width-height/
1109
1058
  * Fixed width and height
1110
- * @default null
1111
- * @since 4.0.4
1059
+ *
1060
+ * @type {number}
1061
+ * @since 4.0.4
1112
1062
  * @apioption plotOptions.series.marker.width
1113
1063
  */
1114
1064
 
1115
-
1116
1065
  /**
1117
1066
  * States for a single point marker.
1118
1067
  */
@@ -1121,73 +1070,68 @@ H.Series = H.seriesType('line', null, { // base series options
1121
1070
  /**
1122
1071
  * The normal state of a single point marker. Currently only used
1123
1072
  * for setting animation when returning to normal state from hover.
1124
- *
1125
- * @type {Object}
1126
1073
  */
1127
1074
  normal: {
1128
1075
  /**
1129
1076
  * Animation when returning to normal state after hovering.
1130
1077
  *
1131
- * @type {Boolean|Object}
1078
+ * @type {boolean|Highcharts.AnimationOptionsObject}
1132
1079
  */
1133
1080
  animation: true
1134
1081
  },
1135
1082
 
1136
1083
  /**
1137
1084
  * The hover state for a single point marker.
1138
- *
1139
- * @type {Object}
1140
1085
  */
1141
1086
  hover: {
1142
1087
 
1143
1088
  /**
1144
1089
  * Animation when hovering over the marker.
1145
1090
  *
1146
- * @type {Boolean|Object}
1091
+ * @type {boolean|Highcharts.AnimationOptionsObject}
1147
1092
  */
1148
1093
  animation: {
1094
+
1149
1095
  duration: 50
1096
+
1150
1097
  },
1151
1098
 
1152
1099
  /**
1153
1100
  * Enable or disable the point marker.
1154
1101
  *
1155
- * @sample {highcharts}
1156
- * highcharts/plotoptions/series-marker-states-hover-enabled/
1102
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-enabled/
1157
1103
  * Disabled hover state
1158
1104
  */
1159
1105
  enabled: true,
1160
1106
 
1161
1107
  /**
1162
- * The fill color of the marker in hover state. When `null`, the
1163
- * series' or point's fillColor for normal state is used.
1108
+ * The fill color of the marker in hover state. When
1109
+ * `undefined`, the series' or point's fillColor for normal
1110
+ * state is used.
1164
1111
  *
1165
- * @type {Color}
1166
- * @default null
1112
+ * @type {Highcharts.ColorString}
1167
1113
  * @apioption plotOptions.series.marker.states.hover.fillColor
1168
1114
  */
1169
1115
 
1170
1116
  /**
1171
- * The color of the point marker's outline. When `null`, the
1172
- * series' or point's lineColor for normal state is used.
1117
+ * The color of the point marker's outline. When `undefined`,
1118
+ * the series' or point's lineColor for normal state is used.
1173
1119
  *
1174
- * @type {Color}
1175
- * @sample {highcharts}
1176
- * highcharts/plotoptions/series-marker-states-hover-linecolor/
1177
- * White fill color, black line color
1178
- * @default null
1120
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-linecolor/
1121
+ * White fill color, black line color
1122
+ *
1123
+ * @type {Highcharts.ColorString}
1179
1124
  * @apioption plotOptions.series.marker.states.hover.lineColor
1180
1125
  */
1181
1126
 
1182
1127
  /**
1183
- * The width of the point marker's outline. When `null`, the
1184
- * series' or point's lineWidth for normal state is used.
1128
+ * The width of the point marker's outline. When `undefined`,
1129
+ * the series' or point's lineWidth for normal state is used.
1130
+ *
1131
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-linewidth/
1132
+ * 3px line width
1185
1133
  *
1186
- * @type {Number}
1187
- * @sample {highcharts}
1188
- * highcharts/plotoptions/series-marker-states-hover-linewidth/
1189
- * 3px line width
1190
- * @default null
1134
+ * @type {number}
1191
1135
  * @apioption plotOptions.series.marker.states.hover.lineWidth
1192
1136
  */
1193
1137
 
@@ -1197,10 +1141,10 @@ H.Series = H.seriesType('line', null, { // base series options
1197
1141
  * #plotOptions.series.marker.states.hover.radiusPlus)
1198
1142
  * option.
1199
1143
  *
1200
- * @type {Number}
1201
- * @sample {highcharts}
1202
- * highcharts/plotoptions/series-marker-states-hover-radius/
1144
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-hover-radius/
1203
1145
  * 10px radius
1146
+ *
1147
+ * @type {number}
1204
1148
  * @apioption plotOptions.series.marker.states.hover.radius
1205
1149
  */
1206
1150
 
@@ -1208,12 +1152,11 @@ H.Series = H.seriesType('line', null, { // base series options
1208
1152
  * The number of pixels to increase the radius of the hovered
1209
1153
  * point.
1210
1154
  *
1211
- * @sample {highcharts}
1212
- * highcharts/plotoptions/series-states-hover-linewidthplus/
1155
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/
1213
1156
  * 5 pixels greater radius on hover
1214
- * @sample {highstock}
1215
- * highcharts/plotoptions/series-states-hover-linewidthplus/
1157
+ * @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/
1216
1158
  * 5 pixels greater radius on hover
1159
+ *
1217
1160
  * @since 4.0.3
1218
1161
  */
1219
1162
  radiusPlus: 2,
@@ -1223,20 +1166,20 @@ H.Series = H.seriesType('line', null, { // base series options
1223
1166
  /**
1224
1167
  * The additional line width for a hovered point.
1225
1168
  *
1226
- * @sample {highcharts}
1227
- * highcharts/plotoptions/series-states-hover-linewidthplus/
1169
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/
1228
1170
  * 2 pixels wider on hover
1229
- * @sample {highstock}
1230
- * highcharts/plotoptions/series-states-hover-linewidthplus/
1171
+ * @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/
1231
1172
  * 2 pixels wider on hover
1173
+ *
1232
1174
  * @since 4.0.3
1233
1175
  */
1234
1176
  lineWidthPlus: 1
1177
+
1235
1178
 
1236
- },
1237
-
1238
1179
 
1180
+ },
1239
1181
 
1182
+
1240
1183
 
1241
1184
  /**
1242
1185
  * The appearance of the point marker when selected. In order to
@@ -1249,68 +1192,64 @@ H.Series = H.seriesType('line', null, { // base series options
1249
1192
  * The radius of the point marker. In hover state, it defaults
1250
1193
  * to the normal state's radius + 2.
1251
1194
  *
1252
- * @type {Number}
1253
- * @sample {highcharts}
1254
- * highcharts/plotoptions/series-marker-states-select-radius/
1195
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-radius/
1255
1196
  * 10px radius for selected points
1197
+ *
1198
+ * @type {number}
1256
1199
  * @apioption plotOptions.series.marker.states.select.radius
1257
1200
  */
1258
1201
 
1259
1202
  /**
1260
1203
  * Enable or disable visible feedback for selection.
1261
1204
  *
1262
- * @type {Boolean}
1263
- * @sample {highcharts}
1264
- * highcharts/plotoptions/series-marker-states-select-enabled/
1205
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-enabled/
1265
1206
  * Disabled select state
1266
- * @default true
1207
+ *
1208
+ * @type {boolean}
1209
+ * @default true
1267
1210
  * @apioption plotOptions.series.marker.states.select.enabled
1268
1211
  */
1269
1212
 
1270
1213
  /**
1271
1214
  * The fill color of the point marker.
1272
1215
  *
1273
- * @type {Color}
1274
- * @sample {highcharts}
1275
- * highcharts/plotoptions/series-marker-states-select-fillcolor/
1216
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-fillcolor/
1276
1217
  * Solid red discs for selected points
1277
- * @default #cccccc
1218
+ *
1219
+ * @type {Highcharts.ColorString}
1278
1220
  */
1279
1221
  fillColor: '#cccccc',
1280
1222
 
1281
1223
  /**
1282
- * The color of the point marker's outline. When `null`, the
1283
- * series' or point's color is used.
1224
+ * The color of the point marker's outline. When `undefined`,
1225
+ * the series' or point's color is used.
1284
1226
  *
1285
- * @type {Color}
1286
- * @sample {highcharts}
1287
- * highcharts/plotoptions/series-marker-states-select-linecolor/
1227
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-linecolor/
1288
1228
  * Red line color for selected points
1289
- * @default #000000
1229
+ *
1230
+ * @type {Highcharts.ColorString}
1290
1231
  */
1291
1232
  lineColor: '#000000',
1292
1233
 
1293
1234
  /**
1294
1235
  * The width of the point marker's outline.
1295
1236
  *
1296
- * @sample {highcharts}
1297
- * highcharts/plotoptions/series-marker-states-select-linewidth/
1237
+ * @sample {highcharts} highcharts/plotoptions/series-marker-states-select-linewidth/
1298
1238
  * 3px line width for selected points
1299
1239
  */
1300
1240
  lineWidth: 2
1301
1241
  }
1242
+
1302
1243
 
1244
+
1303
1245
  }
1304
1246
  },
1305
1247
 
1306
-
1307
-
1308
1248
  /**
1309
1249
  * Properties for each single point.
1310
1250
  */
1311
1251
  point: {
1312
1252
 
1313
-
1314
1253
  /**
1315
1254
  * Fires when a point is clicked. One parameter, `event`, is passed
1316
1255
  * to the function, containing common event information.
@@ -1319,23 +1258,19 @@ H.Series = H.seriesType('line', null, { // base series options
1319
1258
  * action for the point's click event is to toggle the point's
1320
1259
  * select state. Returning `false` cancels this action.
1321
1260
  *
1322
- * @type {Function}
1323
- * @context Point
1324
- * @sample {highcharts}
1325
- * highcharts/plotoptions/series-point-events-click/
1261
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-click/
1326
1262
  * Click marker to alert values
1327
- * @sample {highcharts}
1328
- * highcharts/plotoptions/series-point-events-click-column/
1263
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-click-column/
1329
1264
  * Click column
1330
- * @sample {highcharts}
1331
- * highcharts/plotoptions/series-point-events-click-url/
1265
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-click-url/
1332
1266
  * Go to URL
1333
- * @sample {highmaps}
1334
- * maps/plotoptions/series-point-events-click/
1267
+ * @sample {highmaps} maps/plotoptions/series-point-events-click/
1335
1268
  * Click marker to display values
1336
- * @sample {highmaps}
1337
- * maps/plotoptions/series-point-events-click-url/
1269
+ * @sample {highmaps} maps/plotoptions/series-point-events-click-url/
1338
1270
  * Go to URL
1271
+ *
1272
+ * @type {Function}
1273
+ * @context Point
1339
1274
  * @apioption plotOptions.series.point.events.click
1340
1275
  */
1341
1276
 
@@ -1344,11 +1279,11 @@ H.Series = H.seriesType('line', null, { // base series options
1344
1279
  * parameter, `event`, is passed to the function, containing common
1345
1280
  * event information.
1346
1281
  *
1347
- * @type {Function}
1348
- * @context Point
1349
- * @sample {highcharts}
1350
- * highcharts/plotoptions/series-point-events-mouseover/
1282
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-mouseover/
1351
1283
  * Show values in the chart's corner on mouse over
1284
+ *
1285
+ * @type {Function}
1286
+ * @context Point
1352
1287
  * @apioption plotOptions.series.point.events.mouseOut
1353
1288
  */
1354
1289
 
@@ -1357,11 +1292,11 @@ H.Series = H.seriesType('line', null, { // base series options
1357
1292
  * parameter, `event`, is passed to the function, containing common
1358
1293
  * event information.
1359
1294
  *
1360
- * @type {Function}
1361
- * @context Point
1362
- * @sample {highcharts}
1363
- * highcharts/plotoptions/series-point-events-mouseover/
1295
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-mouseover/
1364
1296
  * Show values in the chart's corner on mouse over
1297
+ *
1298
+ * @type {Function}
1299
+ * @context Point
1365
1300
  * @apioption plotOptions.series.point.events.mouseOver
1366
1301
  */
1367
1302
 
@@ -1370,12 +1305,12 @@ H.Series = H.seriesType('line', null, { // base series options
1370
1305
  * parameter, `event`, is passed to the function. Returning `false`
1371
1306
  * cancels the operation.
1372
1307
  *
1373
- * @type {Function}
1374
- * @context Point
1375
- * @sample {highcharts}
1376
- * highcharts/plotoptions/series-point-events-remove/
1308
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-remove/
1377
1309
  * Remove point and confirm
1378
- * @since 1.2.0
1310
+ *
1311
+ * @type {Function}
1312
+ * @since 1.2.0
1313
+ * @context Point
1379
1314
  * @apioption plotOptions.series.point.events.remove
1380
1315
  */
1381
1316
 
@@ -1384,15 +1319,14 @@ H.Series = H.seriesType('line', null, { // base series options
1384
1319
  * following a click on the point. One parameter, `event`, is passed
1385
1320
  * to the function. Returning `false` cancels the operation.
1386
1321
  *
1387
- * @type {Function}
1388
- * @context Point
1389
- * @sample {highcharts}
1390
- * highcharts/plotoptions/series-point-events-select/
1322
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-select/
1391
1323
  * Report the last selected point
1392
- * @sample {highmaps}
1393
- * maps/plotoptions/series-allowpointselect/
1324
+ * @sample {highmaps} maps/plotoptions/series-allowpointselect/
1394
1325
  * Report select and unselect
1395
- * @since 1.2.0
1326
+ *
1327
+ * @type {Function}
1328
+ * @since 1.2.0
1329
+ * @context Point
1396
1330
  * @apioption plotOptions.series.point.events.select
1397
1331
  */
1398
1332
 
@@ -1402,15 +1336,14 @@ H.Series = H.seriesType('line', null, { // base series options
1402
1336
  * to the function.
1403
1337
  * Returning `false` cancels the operation.
1404
1338
  *
1405
- * @type {Function}
1406
- * @context Point
1407
- * @sample {highcharts}
1408
- * highcharts/plotoptions/series-point-events-unselect/
1339
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-unselect/
1409
1340
  * Report the last unselected point
1410
- * @sample {highmaps}
1411
- * maps/plotoptions/series-allowpointselect/
1341
+ * @sample {highmaps} maps/plotoptions/series-allowpointselect/
1412
1342
  * Report select and unselect
1413
- * @since 1.2.0
1343
+ *
1344
+ * @type {Function}
1345
+ * @since 1.2.0
1346
+ * @context Point
1414
1347
  * @apioption plotOptions.series.point.events.unselect
1415
1348
  */
1416
1349
 
@@ -1420,12 +1353,12 @@ H.Series = H.seriesType('line', null, { // base series options
1420
1353
  * function. The new point options can be accessed through
1421
1354
  * `event.options`. Returning `false` cancels the operation.
1422
1355
  *
1423
- * @type {Function}
1424
- * @context Point
1425
- * @sample {highcharts}
1426
- * highcharts/plotoptions/series-point-events-update/
1356
+ * @sample {highcharts} highcharts/plotoptions/series-point-events-update/
1427
1357
  * Confirm point updating
1428
- * @since 1.2.0
1358
+ *
1359
+ * @type {Function}
1360
+ * @since 1.2.0
1361
+ * @context Point
1429
1362
  * @apioption plotOptions.series.point.events.update
1430
1363
  */
1431
1364
 
@@ -1438,12 +1371,19 @@ H.Series = H.seriesType('line', null, { // base series options
1438
1371
 
1439
1372
 
1440
1373
  /**
1441
- * Options for the series data labels, appearing next to each data
1442
- * point.
1374
+ * Options for the series data labels, appearing next to each data point.
1443
1375
  *
1444
- * In styled mode, the data labels can be styled wtih the
1376
+ * Since v6.2.0, multiple data labels can be applied to each single point by
1377
+ * defining them as an array of configs.
1378
+ *
1379
+ * In styled mode, the data labels can be styled with the
1445
1380
  * `.highcharts-data-label-box` and `.highcharts-data-label` class names
1446
- * ([see example](http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/series-datalabels)).
1381
+ * ([see example](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/series-datalabels)).
1382
+ *
1383
+ * @sample highcharts/plotoptions/series-datalabels-enabled
1384
+ * Data labels enabled
1385
+ * @sample highcharts/plotoptions/series-datalabels-multiple
1386
+ * Multiple data labels on a bar series
1447
1387
  */
1448
1388
  dataLabels: {
1449
1389
 
@@ -1456,12 +1396,10 @@ H.Series = H.seriesType('line', null, { // base series options
1456
1396
  * [inside](#plotOptions.column.dataLabels.inside) option. Can be one of
1457
1397
  * `left`, `center` or `right`.
1458
1398
  *
1459
- * @validvalue ["left", "center", "right"]
1460
- * @type {String}
1461
- * @sample {highcharts}
1462
- * highcharts/plotoptions/series-datalabels-align-left/
1399
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-align-left/
1463
1400
  * Left aligned
1464
- * @default center
1401
+ *
1402
+ * @validvalue ["left", "center", "right"]
1465
1403
  */
1466
1404
  align: 'center',
1467
1405
 
@@ -1471,11 +1409,12 @@ H.Series = H.seriesType('line', null, { // base series options
1471
1409
  * sensitive for overlapping, the [dataLabels.padding](
1472
1410
  * #plotOptions.series.dataLabels.padding) can be set to 0.
1473
1411
  *
1474
- * @type {Boolean}
1475
1412
  * @sample highcharts/plotoptions/series-datalabels-allowoverlap-false/
1476
1413
  * Don't allow overlap
1477
- * @default false
1478
- * @since 4.1.0
1414
+ *
1415
+ * @type {boolean}
1416
+ * @default false
1417
+ * @since 4.1.0
1479
1418
  * @apioption plotOptions.series.dataLabels.allowOverlap
1480
1419
  */
1481
1420
 
@@ -1483,15 +1422,16 @@ H.Series = H.seriesType('line', null, { // base series options
1483
1422
  /**
1484
1423
  * The border radius in pixels for the data label.
1485
1424
  *
1486
- * @type {Number}
1487
1425
  * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
1488
1426
  * Data labels box options
1489
1427
  * @sample {highstock} highcharts/plotoptions/series-datalabels-box/
1490
1428
  * Data labels box options
1491
1429
  * @sample {highmaps} maps/plotoptions/series-datalabels-box/
1492
1430
  * Data labels box options
1493
- * @default 0
1494
- * @since 2.2.1
1431
+ *
1432
+ * @type {number}
1433
+ * @default 0
1434
+ * @since 2.2.1
1495
1435
  * @apioption plotOptions.series.dataLabels.borderRadius
1496
1436
  */
1497
1437
 
@@ -1499,13 +1439,14 @@ H.Series = H.seriesType('line', null, { // base series options
1499
1439
  /**
1500
1440
  * The border width in pixels for the data label.
1501
1441
  *
1502
- * @type {Number}
1503
1442
  * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
1504
1443
  * Data labels box options
1505
1444
  * @sample {highstock} highcharts/plotoptions/series-datalabels-box/
1506
1445
  * Data labels box options
1507
- * @default 0
1508
- * @since 2.2.1
1446
+ *
1447
+ * @type {number}
1448
+ * @default 0
1449
+ * @since 2.2.1
1509
1450
  * @apioption plotOptions.series.dataLabels.borderWidth
1510
1451
  */
1511
1452
 
@@ -1514,30 +1455,35 @@ H.Series = H.seriesType('line', null, { // base series options
1514
1455
  * can be used to give each series' or point's data label unique
1515
1456
  * styling. In addition to this option, a default color class name is
1516
1457
  * added so that we can give the labels a
1517
- * [contrast text shadow](http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/data-label-contrast/).
1458
+ * [contrast text shadow](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/data-label-contrast/).
1459
+ *
1460
+ * @sample {highcharts} highcharts/css/series-datalabels/
1461
+ * Styling by CSS
1462
+ * @sample {highstock} highcharts/css/series-datalabels/
1463
+ * Styling by CSS
1464
+ * @sample {highmaps} highcharts/css/series-datalabels/
1465
+ * Styling by CSS
1518
1466
  *
1519
- * @type {String}
1520
- * @sample {highcharts} highcharts/css/series-datalabels/ Styling by CSS
1521
- * @sample {highstock} highcharts/css/series-datalabels/ Styling by CSS
1522
- * @sample {highmaps} highcharts/css/series-datalabels/ Styling by CSS
1523
- * @since 5.0.0
1467
+ * @type {string}
1468
+ * @since 5.0.0
1524
1469
  * @apioption plotOptions.series.dataLabels.className
1525
1470
  */
1526
1471
 
1527
1472
  /**
1528
- * The text color for the data labels. Defaults to `null`. For certain
1529
- * series types, like column or map, the data labels can be drawn inside
1530
- * the points. In this case the data label will be drawn with maximum
1531
- * contrast by default. Additionally, it will be given a `text-outline`
1532
- * style with the opposite color, to further increase the contrast. This
1533
- * can be overridden by setting the `text-outline` style to `none` in
1534
- * the `dataLabels.style` option.
1473
+ * The text color for the data labels. Defaults to `undefined`. For
1474
+ * certain series types, like column or map, the data labels can be
1475
+ * drawn inside the points. In this case the data label will be drawn
1476
+ * with maximum contrast by default. Additionally, it will be given a
1477
+ * `text-outline` style with the opposite color, to further increase the
1478
+ * contrast. This can be overridden by setting the `text-outline` style
1479
+ * to `none` in the `dataLabels.style` option.
1535
1480
  *
1536
- * @type {Color}
1537
1481
  * @sample {highcharts} highcharts/plotoptions/series-datalabels-color/
1538
1482
  * Red data labels
1539
1483
  * @sample {highmaps} maps/demo/color-axis/
1540
1484
  * White data labels
1485
+ *
1486
+ * @type {Highcharts.ColorString}
1541
1487
  * @apioption plotOptions.series.dataLabels.color
1542
1488
  */
1543
1489
 
@@ -1546,9 +1492,9 @@ H.Series = H.seriesType('line', null, { // base series options
1546
1492
  * default, the data label is moved inside the plot area according to
1547
1493
  * the [overflow](#plotOptions.series.dataLabels.overflow) option.
1548
1494
  *
1549
- * @type {Boolean}
1550
- * @default true
1551
- * @since 2.3.3
1495
+ * @type {boolean}
1496
+ * @default true
1497
+ * @since 2.3.3
1552
1498
  * @apioption plotOptions.series.dataLabels.crop
1553
1499
  */
1554
1500
 
@@ -1556,41 +1502,41 @@ H.Series = H.seriesType('line', null, { // base series options
1556
1502
  * Whether to defer displaying the data labels until the initial series
1557
1503
  * animation has finished.
1558
1504
  *
1559
- * @type {Boolean}
1560
- * @default true
1561
- * @since 4.0
1562
- * @product highcharts highstock
1505
+ * @type {boolean}
1506
+ * @default true
1507
+ * @since 4.0
1508
+ * @product highcharts highstock gantt
1563
1509
  * @apioption plotOptions.series.dataLabels.defer
1564
1510
  */
1565
1511
 
1566
1512
  /**
1567
1513
  * Enable or disable the data labels.
1568
1514
  *
1569
- * @type {Boolean}
1570
- * @sample {highcharts}
1571
- * highcharts/plotoptions/series-datalabels-enabled/
1515
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-enabled/
1516
+ * Data labels enabled
1517
+ * @sample {highmaps} maps/demo/color-axis/
1572
1518
  * Data labels enabled
1573
- * @sample {highmaps} maps/demo/color-axis/ Data labels enabled
1574
- * @default false
1519
+ *
1520
+ * @type {boolean}
1521
+ * @default false
1575
1522
  * @apioption plotOptions.series.dataLabels.enabled
1576
1523
  */
1577
1524
 
1578
1525
  /**
1579
- * A [format string](http://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)
1526
+ * A [format string](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting)
1580
1527
  * for the data label. Available variables are the same as for
1581
1528
  * `formatter`.
1582
1529
  *
1583
- * @type {String}
1584
- * @sample {highcharts|highstock}
1585
- * highcharts/plotoptions/series-datalabels-format/
1530
+ * @sample {highcharts|highstock} highcharts/plotoptions/series-datalabels-format/
1586
1531
  * Add a unit
1587
- * @sample {highmaps}
1588
- * maps/plotoptions/series-datalabels-format/
1532
+ * @sample {highmaps} maps/plotoptions/series-datalabels-format/
1589
1533
  * Formatted value in the data label
1590
- * @default {highcharts} {y}
1591
- * @default {highstock} {y}
1592
- * @default {highmaps} {point.value}
1593
- * @since 3.0
1534
+ *
1535
+ * @type {string}
1536
+ * @default {highcharts} {y}
1537
+ * @default {highstock} {y}
1538
+ * @default {highmaps} {point.value}
1539
+ * @since 3.0
1594
1540
  * @apioption plotOptions.series.dataLabels.format
1595
1541
  */
1596
1542
 
@@ -1659,15 +1605,17 @@ H.Series = H.seriesType('line', null, { // base series options
1659
1605
  *
1660
1606
  * </table>
1661
1607
  *
1662
- * @type {Function}
1663
1608
  * @sample {highmaps} maps/plotoptions/series-datalabels-format/
1664
1609
  * Formatted value
1610
+ *
1611
+ * @type {Highcharts.FormatterCallbackFunction}
1612
+ * @default function () { return this.y; }
1665
1613
  */
1666
1614
  formatter: function () {
1667
1615
  return this.y === null ? '' : H.numberFormat(this.y, -1);
1668
1616
  },
1669
-
1670
1617
 
1618
+
1671
1619
 
1672
1620
  /**
1673
1621
  * Styles for the label. The default `color` setting is `"contrast"`,
@@ -1685,17 +1633,38 @@ H.Series = H.seriesType('line', null, { // base series options
1685
1633
  * `textOutline` will not be picked up. In this, case, the same effect
1686
1634
  * can be acheived through the `text-shadow` CSS property.
1687
1635
  *
1688
- * @type {CSSObject}
1636
+ * For some series types, where each point has an extent, like for
1637
+ * example tree maps, the data label may overflow the point. There are
1638
+ * two strategies for handling overflow. By default, the text will wrap
1639
+ * to multiple lines. The other strategy is to set
1640
+ * `style.textOverflow` to `ellipsis`, which will keep the text on one
1641
+ * line plus it will break inside long words.
1642
+ *
1689
1643
  * @sample {highcharts} highcharts/plotoptions/series-datalabels-style/
1690
1644
  * Bold labels
1691
- * @sample {highmaps} maps/demo/color-axis/ Bold labels
1645
+ * @sample {highmaps} maps/demo/color-axis/
1646
+ * Bold labels
1647
+ *
1648
+ * @type {Highcharts.CSSObject}
1692
1649
  * @default {"color": "contrast", "fontSize": "11px", "fontWeight": "bold", "textOutline": "1px contrast" }
1693
- * @since 4.1.0
1650
+ * @since 4.1.0
1694
1651
  */
1695
1652
  style: {
1653
+ /**
1654
+ * @ignore
1655
+ */
1696
1656
  fontSize: '11px',
1657
+ /**
1658
+ * @ignore
1659
+ */
1697
1660
  fontWeight: 'bold',
1661
+ /**
1662
+ * @ignore
1663
+ */
1698
1664
  color: 'contrast',
1665
+ /**
1666
+ * @ignore
1667
+ */
1699
1668
  textOutline: '1px contrast'
1700
1669
  },
1701
1670
 
@@ -1703,11 +1672,12 @@ H.Series = H.seriesType('line', null, { // base series options
1703
1672
  * The name of a symbol to use for the border around the label. Symbols
1704
1673
  * are predefined functions on the Renderer object.
1705
1674
  *
1706
- * @type {String}
1707
1675
  * @sample highcharts/plotoptions/series-datalabels-shape/
1708
1676
  * A callout for annotations
1709
- * @default square
1710
- * @since 4.1.2
1677
+ *
1678
+ * @type {string}
1679
+ * @default square
1680
+ * @since 4.1.2
1711
1681
  * @apioption plotOptions.series.dataLabels.shape
1712
1682
  */
1713
1683
 
@@ -1715,9 +1685,9 @@ H.Series = H.seriesType('line', null, { // base series options
1715
1685
  * The Z index of the data labels. The default Z index puts it above
1716
1686
  * the series. Use a Z index of 2 to display it behind the series.
1717
1687
  *
1718
- * @type {Number}
1719
- * @default 6
1720
- * @since 2.3.5
1688
+ * @type {number}
1689
+ * @default 6
1690
+ * @since 2.3.5
1721
1691
  * @apioption plotOptions.series.dataLabels.zIndex
1722
1692
  */
1723
1693
 
@@ -1726,8 +1696,8 @@ H.Series = H.seriesType('line', null, { // base series options
1726
1696
  * declarative filter is designed for use when callback functions are
1727
1697
  * not available, like when the chart options require a pure JSON
1728
1698
  * structure or for use with graphical editors. For programmatic
1729
- * control, use the `formatter` instead, and return `false` to disable
1730
- * a single data label.
1699
+ * control, use the `formatter` instead, and return `undefined` to
1700
+ * disable a single data label.
1731
1701
  *
1732
1702
  * @example
1733
1703
  * filter: {
@@ -1739,8 +1709,7 @@ H.Series = H.seriesType('line', null, { // base series options
1739
1709
  * @sample highcharts/demo/pie-monochrome
1740
1710
  * Data labels filtered by percentage
1741
1711
  *
1742
- * @type {Object}
1743
- * @since 6.0.3
1712
+ * @since 6.0.3
1744
1713
  * @apioption plotOptions.series.dataLabels.filter
1745
1714
  */
1746
1715
 
@@ -1750,7 +1719,7 @@ H.Series = H.seriesType('line', null, { // base series options
1750
1719
  * listed under [Point](https://api.highcharts.com/class-reference/Highcharts.Point)
1751
1720
  * members.
1752
1721
  *
1753
- * @type {String}
1722
+ * @type {string}
1754
1723
  * @apioption plotOptions.series.dataLabels.filter.property
1755
1724
  */
1756
1725
 
@@ -1758,39 +1727,39 @@ H.Series = H.seriesType('line', null, { // base series options
1758
1727
  * The operator to compare by. Can be one of `>`, `<`, `>=`, `<=`, `==`,
1759
1728
  * and `===`.
1760
1729
  *
1761
- * @type {String}
1762
- * @validvalue [">", "<", ">=", "<=", "==", "===""]
1763
- * @apioption plotOptions.series.dataLabels.filter.operator
1730
+ * @type {string}
1731
+ * @validvalue [">", "<", ">=", "<=", "==", "==="]
1732
+ * @apioption plotOptions.series.dataLabels.filter.operator
1764
1733
  */
1765
1734
 
1766
1735
  /**
1767
1736
  * The value to compare against.
1768
1737
  *
1769
- * @type {Mixed}
1738
+ * @type {*}
1770
1739
  * @apioption plotOptions.series.dataLabels.filter.value
1771
1740
  */
1772
1741
 
1773
1742
  /**
1774
1743
  * The background color or gradient for the data label.
1775
1744
  *
1776
- * @type {Color}
1777
1745
  * @sample {highcharts} highcharts/plotoptions/series-datalabels-box/
1778
1746
  * Data labels box options
1779
1747
  * @sample {highmaps} maps/plotoptions/series-datalabels-box/
1780
1748
  * Data labels box options
1781
- * @since 2.2.1
1749
+ *
1750
+ * @type {Highcharts.ColorString}
1751
+ * @since 2.2.1
1782
1752
  * @apioption plotOptions.series.dataLabels.backgroundColor
1783
1753
  */
1784
1754
 
1785
1755
  /**
1786
1756
  * The border color for the data label. Defaults to `undefined`.
1787
1757
  *
1788
- * @type {Color}
1789
- * @sample {highcharts|highstock}
1790
- * highcharts/plotoptions/series-datalabels-box/
1758
+ * @sample {highcharts|highstock} highcharts/plotoptions/series-datalabels-box/
1791
1759
  * Data labels box options
1792
- * @default undefined
1793
- * @since 2.2.1
1760
+ *
1761
+ * @type {Highcharts.ColorString}
1762
+ * @since 2.2.1
1794
1763
  * @apioption plotOptions.series.dataLabels.borderColor
1795
1764
  */
1796
1765
 
@@ -1800,14 +1769,15 @@ H.Series = H.seriesType('line', null, { // base series options
1800
1769
  * configuration containing `color`, `offsetX`, `offsetY`, `opacity` and
1801
1770
  * `width`.
1802
1771
  *
1803
- * @type {Boolean|Object}
1804
- * @sample {highcharts|highstock}
1805
- * highcharts/plotoptions/series-datalabels-box/
1772
+ * @sample {highcharts|highstock} highcharts/plotoptions/series-datalabels-box/
1806
1773
  * Data labels box options
1807
- * @default false
1808
- * @since 2.2.1
1774
+ *
1775
+ * @type {boolean|*}
1776
+ * @default false
1777
+ * @since 2.2.1
1809
1778
  * @apioption plotOptions.series.dataLabels.shadow
1810
1779
  */
1780
+
1811
1781
 
1812
1782
 
1813
1783
  /**
@@ -1815,23 +1785,23 @@ H.Series = H.seriesType('line', null, { // base series options
1815
1785
  * align the data label inside the box or to the actual value point.
1816
1786
  * Defaults to `false` in most cases, `true` in stacked columns.
1817
1787
  *
1818
- * @type {Boolean}
1819
- * @since 3.0
1788
+ * @type {boolean}
1789
+ * @since 3.0
1820
1790
  * @apioption plotOptions.series.dataLabels.inside
1821
1791
  */
1822
1792
 
1823
1793
  /**
1824
1794
  * How to handle data labels that flow outside the plot area. The
1825
- * default is `justify`, which aligns them inside the plot area. For
1795
+ * default is `"justify"`, which aligns them inside the plot area. For
1826
1796
  * columns and bars, this means it will be moved inside the bar. To
1827
1797
  * display data labels outside the plot area, set `crop` to `false` and
1828
- * `overflow` to `"none"`.
1798
+ * `overflow` to `"allow"`.
1829
1799
  *
1830
- * @validvalue ["justify", "none"]
1831
- * @type {String}
1832
- * @default justify
1833
- * @since 3.0.6
1834
- * @apioption plotOptions.series.dataLabels.overflow
1800
+ * @type {string}
1801
+ * @default justify
1802
+ * @since 3.0.6
1803
+ * @validvalue ["allow", "justify"]
1804
+ * @apioption plotOptions.series.dataLabels.overflow
1835
1805
  */
1836
1806
 
1837
1807
  /**
@@ -1839,21 +1809,21 @@ H.Series = H.seriesType('line', null, { // base series options
1839
1809
  * backgrounds, borders and padding will be lost on a rotated data
1840
1810
  * label.
1841
1811
  *
1842
- * @type {Number}
1843
- * @sample {highcharts}
1844
- * highcharts/plotoptions/series-datalabels-rotation/
1812
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/
1845
1813
  * Vertical labels
1846
- * @default 0
1814
+ *
1815
+ * @type {number}
1816
+ * @default 0
1847
1817
  * @apioption plotOptions.series.dataLabels.rotation
1848
1818
  */
1849
1819
 
1850
1820
  /**
1851
1821
  * Whether to
1852
- * [use HTML](http://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)
1822
+ * [use HTML](https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#html)
1853
1823
  * to render the labels.
1854
1824
  *
1855
- * @type {Boolean}
1856
- * @default false
1825
+ * @type {boolean}
1826
+ * @default false
1857
1827
  * @apioption plotOptions.series.dataLabels.useHTML
1858
1828
  */
1859
1829
 
@@ -1863,9 +1833,8 @@ H.Series = H.seriesType('line', null, { // base series options
1863
1833
  * in a column chart, the label is above positive values and below
1864
1834
  * negative values.
1865
1835
  *
1836
+ * @since 2.3.3
1866
1837
  * @validvalue ["top", "middle", "bottom"]
1867
- * @type {String}
1868
- * @since 2.3.3
1869
1838
  */
1870
1839
  verticalAlign: 'bottom', // above singular point
1871
1840
 
@@ -1873,11 +1842,8 @@ H.Series = H.seriesType('line', null, { // base series options
1873
1842
  /**
1874
1843
  * The x position offset of the label relative to the point in pixels.
1875
1844
  *
1876
- * @type {Number}
1877
- * @sample {highcharts}
1878
- * highcharts/plotoptions/series-datalabels-rotation/
1845
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/
1879
1846
  * Vertical and positioned
1880
- * @default 0
1881
1847
  */
1882
1848
  x: 0,
1883
1849
 
@@ -1885,11 +1851,8 @@ H.Series = H.seriesType('line', null, { // base series options
1885
1851
  /**
1886
1852
  * The y position offset of the label relative to the point in pixels.
1887
1853
  *
1888
- * @type {Number}
1889
- * @sample {highcharts}
1890
- * highcharts/plotoptions/series-datalabels-rotation/
1854
+ * @sample {highcharts} highcharts/plotoptions/series-datalabels-rotation/
1891
1855
  * Vertical and positioned
1892
- * @default -6
1893
1856
  */
1894
1857
  y: 0,
1895
1858
 
@@ -1898,17 +1861,15 @@ H.Series = H.seriesType('line', null, { // base series options
1898
1861
  * When either the `borderWidth` or the `backgroundColor` is set,
1899
1862
  * this is the padding within the box.
1900
1863
  *
1901
- * @type {Number}
1902
- * @sample {highcharts|highstock}
1903
- * highcharts/plotoptions/series-datalabels-box/
1864
+ * @sample {highcharts|highstock} highcharts/plotoptions/series-datalabels-box/
1904
1865
  * Data labels box options
1905
- * @sample {highmaps}
1906
- * maps/plotoptions/series-datalabels-box/
1866
+ * @sample {highmaps} maps/plotoptions/series-datalabels-box/
1907
1867
  * Data labels box options
1868
+ *
1908
1869
  * @default {highcharts} 5
1909
1870
  * @default {highstock} 5
1910
1871
  * @default {highmaps} 0
1911
- * @since 2.2.1
1872
+ * @since 2.2.1
1912
1873
  */
1913
1874
  padding: 5
1914
1875
  },
@@ -1923,9 +1884,7 @@ H.Series = H.seriesType('line', null, { // base series options
1923
1884
  * that fall within the plot area. The advantage of cropping away invisible
1924
1885
  * points is to increase performance on large series.
1925
1886
  *
1926
- * @type {Number}
1927
- * @default 300
1928
- * @since 2.2
1887
+ * @since 2.2
1929
1888
  * @product highcharts highstock
1930
1889
  */
1931
1890
  cropThreshold: 300,
@@ -1938,8 +1897,6 @@ H.Series = H.seriesType('line', null, { // base series options
1938
1897
  * * 1000 milliseconds). This is normally computed automatically, but
1939
1898
  * this option can be used to override the automatic value.
1940
1899
  *
1941
- * @type {Number}
1942
- * @default 0
1943
1900
  * @product highstock
1944
1901
  */
1945
1902
  pointRange: 0,
@@ -1953,9 +1910,7 @@ H.Series = H.seriesType('line', null, { // base series options
1953
1910
  * 3 will make the Y axis show negative values according to the `minPadding`
1954
1911
  * option. If `softThreshold` is `true`, the Y axis starts at 0.
1955
1912
  *
1956
- * @type {Boolean}
1957
- * @default true
1958
- * @since 4.1.9
1913
+ * @since 4.1.9
1959
1914
  * @product highcharts highstock
1960
1915
  */
1961
1916
  softThreshold: true,
@@ -1964,8 +1919,6 @@ H.Series = H.seriesType('line', null, { // base series options
1964
1919
 
1965
1920
  /**
1966
1921
  * A wrapper object for all the series options in specific states.
1967
- *
1968
- * @type {plotOptions.series.states}
1969
1922
  */
1970
1923
  states: {
1971
1924
 
@@ -1973,12 +1926,12 @@ H.Series = H.seriesType('line', null, { // base series options
1973
1926
  * The normal state of a series, or for point items in column, pie and
1974
1927
  * similar series. Currently only used for setting animation when
1975
1928
  * returning to normal state from hover.
1976
- * @type {Object}
1977
1929
  */
1978
1930
  normal: {
1979
1931
  /**
1980
1932
  * Animation when returning to normal state after hovering.
1981
- * @type {Boolean|Object}
1933
+ *
1934
+ * @type {boolean|Highcharts.AnimationOptionsObject}
1982
1935
  */
1983
1936
  animation: true
1984
1937
  },
@@ -1986,7 +1939,6 @@ H.Series = H.seriesType('line', null, { // base series options
1986
1939
  /**
1987
1940
  * Options for the hovered series. These settings override the normal
1988
1941
  * state options when a series is moused over or touched.
1989
- *
1990
1942
  */
1991
1943
  hover: {
1992
1944
 
@@ -1994,18 +1946,16 @@ H.Series = H.seriesType('line', null, { // base series options
1994
1946
  * Enable separate styles for the hovered series to visualize that
1995
1947
  * the user hovers either the series itself or the legend. .
1996
1948
  *
1997
- * @type {Boolean}
1998
- * @sample {highcharts}
1999
- * highcharts/plotoptions/series-states-hover-enabled/
1949
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled/
2000
1950
  * Line
2001
- * @sample {highcharts}
2002
- * highcharts/plotoptions/series-states-hover-enabled-column/
1951
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled-column/
2003
1952
  * Column
2004
- * @sample {highcharts}
2005
- * highcharts/plotoptions/series-states-hover-enabled-pie/
1953
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-enabled-pie/
2006
1954
  * Pie
2007
- * @default true
2008
- * @since 1.2
1955
+ *
1956
+ * @type {boolean}
1957
+ * @default true
1958
+ * @since 1.2
2009
1959
  * @apioption plotOptions.series.states.hover.enabled
2010
1960
  */
2011
1961
 
@@ -2013,12 +1963,12 @@ H.Series = H.seriesType('line', null, { // base series options
2013
1963
  /**
2014
1964
  * Animation setting for hovering the graph in line-type series.
2015
1965
  *
2016
- * @type {Boolean|Object}
2017
- * @default { "duration": 50 }
2018
- * @since 5.0.8
1966
+ * @type {boolean|Highcharts.AnimationOptionsObject}
1967
+ * @since 5.0.8
2019
1968
  * @product highcharts
2020
1969
  */
2021
1970
  animation: {
1971
+
2022
1972
  /**
2023
1973
  * The duration of the hover animation in milliseconds. By
2024
1974
  * default the hover state animates quickly in, and slowly back
@@ -2032,12 +1982,11 @@ H.Series = H.seriesType('line', null, { // base series options
2032
1982
  * undefined, and the `lineWidthPlus` property dictates how much
2033
1983
  * to increase the linewidth from normal state.
2034
1984
  *
2035
- * @type {Number}
2036
- * @sample {highcharts}
2037
- * highcharts/plotoptions/series-states-hover-linewidth/
1985
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidth/
2038
1986
  * 5px line on hover
2039
- * @default undefined
2040
- * @product highcharts highstock
1987
+ *
1988
+ * @type {number}
1989
+ * @product highcharts highstock
2041
1990
  * @apioption plotOptions.series.states.hover.lineWidth
2042
1991
  */
2043
1992
 
@@ -2045,29 +1994,25 @@ H.Series = H.seriesType('line', null, { // base series options
2045
1994
  /**
2046
1995
  * The additional line width for the graph of a hovered series.
2047
1996
  *
2048
- * @type {Number}
2049
- * @sample {highcharts}
2050
- * highcharts/plotoptions/series-states-hover-linewidthplus/
1997
+ * @sample {highcharts} highcharts/plotoptions/series-states-hover-linewidthplus/
2051
1998
  * 5 pixels wider
2052
- * @sample {highstock}
2053
- * highcharts/plotoptions/series-states-hover-linewidthplus/
1999
+ * @sample {highstock} highcharts/plotoptions/series-states-hover-linewidthplus/
2054
2000
  * 5 pixels wider
2055
- * @default 1
2056
- * @since 4.0.3
2001
+ *
2002
+ * @since 4.0.3
2057
2003
  * @product highcharts highstock
2058
2004
  */
2059
2005
  lineWidthPlus: 1,
2060
2006
 
2061
-
2062
-
2063
2007
  /**
2064
2008
  * In Highcharts 1.0, the appearance of all markers belonging to the
2065
2009
  * hovered series. For settings on the hover state of the individual
2066
2010
  * point, see
2067
2011
  * [marker.states.hover](#plotOptions.series.marker.states.hover).
2068
2012
  *
2069
- * @extends plotOptions.series.marker
2070
2013
  * @deprecated
2014
+ *
2015
+ * @extends plotOptions.series.marker
2071
2016
  * @product highcharts highstock
2072
2017
  */
2073
2018
  marker: {
@@ -2075,8 +2020,6 @@ H.Series = H.seriesType('line', null, { // base series options
2075
2020
  // radius: base + 1
2076
2021
  },
2077
2022
 
2078
-
2079
-
2080
2023
  /**
2081
2024
  * Options for the halo appearing around the hovered point in line-
2082
2025
  * type series as well as outside the hovered slice in pie charts.
@@ -2087,10 +2030,12 @@ H.Series = H.seriesType('line', null, { // base series options
2087
2030
  * In styled mode, the halo is styled with the `.highcharts-halo`
2088
2031
  * class, with colors inherited from `.highcharts-color-{n}`.
2089
2032
  *
2090
- * @type {Object}
2091
- * @sample {highcharts} highcharts/plotoptions/halo/ Halo options
2092
- * @sample {highstock} highcharts/plotoptions/halo/ Halo options
2093
- * @since 4.0
2033
+ * @sample {highcharts} highcharts/plotoptions/halo/
2034
+ * Halo options
2035
+ * @sample {highstock} highcharts/plotoptions/halo/
2036
+ * Halo options
2037
+ *
2038
+ * @since 4.0
2094
2039
  * @product highcharts highstock
2095
2040
  */
2096
2041
  halo: {
@@ -2099,9 +2044,9 @@ H.Series = H.seriesType('line', null, { // base series options
2099
2044
  * A collection of SVG attributes to override the appearance of
2100
2045
  * the halo, for example `fill`, `stroke` and `stroke-width`.
2101
2046
  *
2102
- * @type {Object}
2103
- * @since 4.0
2104
- * @product highcharts highstock
2047
+ * @type {Highcharts.SVGAttributes}
2048
+ * @since 4.0
2049
+ * @product highcharts highstock
2105
2050
  * @apioption plotOptions.series.states.hover.halo.attributes
2106
2051
  */
2107
2052
 
@@ -2112,28 +2057,25 @@ H.Series = H.seriesType('line', null, { // base series options
2112
2057
  * halo outside the slice. For bubbles it defaults to 5 and is
2113
2058
  * the width of the halo outside the bubble.
2114
2059
  *
2115
- * @type {Number}
2116
- * @default 10
2117
- * @since 4.0
2060
+ * @since 4.0
2118
2061
  * @product highcharts highstock
2119
2062
  */
2120
2063
  size: 10,
2121
-
2122
-
2123
2064
 
2065
+
2124
2066
 
2125
2067
  /**
2126
2068
  * Opacity for the halo unless a specific fill is overridden
2127
2069
  * using the `attributes` setting. Note that Highcharts is only
2128
2070
  * able to apply opacity to colors of hex or rgb(a) formats.
2129
2071
  *
2130
- * @type {Number}
2131
- * @default 0.25
2132
- * @since 4.0
2072
+ * @since 4.0
2133
2073
  * @product highcharts highstock
2134
2074
  */
2135
2075
  opacity: 0.25
2076
+
2136
2077
 
2078
+
2137
2079
  }
2138
2080
  },
2139
2081
 
@@ -2143,15 +2085,15 @@ H.Series = H.seriesType('line', null, { // base series options
2143
2085
  * by [allowPointSelect](#plotOptions.series.allowPointSelect) or
2144
2086
  * programmatically.
2145
2087
  *
2146
- * @type {Object}
2147
- * @extends plotOptions.series.states.hover
2148
- * @excluding brightness
2149
2088
  * @sample {highmaps} maps/plotoptions/series-allowpointselect/
2150
2089
  * Allow point select demo
2151
- * @product highmaps
2090
+ *
2091
+ * @extends plotOptions.series.states.hover
2092
+ * @excluding brightness
2093
+ * @product highmaps
2152
2094
  */
2153
2095
  select: {
2154
- marker: {}
2096
+ // marker: {}
2155
2097
  }
2156
2098
  },
2157
2099
 
@@ -2167,15 +2109,15 @@ H.Series = H.seriesType('line', null, { // base series options
2167
2109
  * be hidden when moving the mouse between series. Defaults to true for line
2168
2110
  * and area type series, but to false for columns, pies etc.
2169
2111
  *
2170
- * @type {Boolean}
2171
2112
  * @sample {highcharts} highcharts/plotoptions/series-stickytracking-true/
2172
2113
  * True by default
2173
2114
  * @sample {highcharts} highcharts/plotoptions/series-stickytracking-false/
2174
2115
  * False
2116
+ *
2175
2117
  * @default {highcharts} true
2176
2118
  * @default {highstock} true
2177
2119
  * @default {highmaps} false
2178
- * @since 2.0
2120
+ * @since 2.0
2179
2121
  */
2180
2122
  stickyTracking: true,
2181
2123
 
@@ -2184,12 +2126,11 @@ H.Series = H.seriesType('line', null, { // base series options
2184
2126
  * Properties are inherited from [tooltip](#tooltip), but only the
2185
2127
  * following properties can be defined on a series level.
2186
2128
  *
2187
- * @type {Object}
2188
- * @extends tooltip
2129
+ * @since 2.3
2130
+ * @extends tooltip
2189
2131
  * @excluding animation,backgroundColor,borderColor,borderRadius,
2190
2132
  * borderWidth,crosshairs,enabled,formatter,positioner,shadow,
2191
2133
  * shared,shape,snap,style,useHTML
2192
- * @since 2.3
2193
2134
  * @apioption plotOptions.series.tooltip
2194
2135
  */
2195
2136
 
@@ -2200,10 +2141,8 @@ H.Series = H.seriesType('line', null, { // base series options
2200
2141
  * and the rest are assumed to be the same format. This saves expensive
2201
2142
  * data checking and indexing in long series. Set it to `0` disable.
2202
2143
  *
2203
- * @type {Number}
2204
- * @default 1000
2205
- * @since 2.2
2206
- * @product highcharts highstock
2144
+ * @since 2.2
2145
+ * @product highcharts highstock gantt
2207
2146
  */
2208
2147
  turboThreshold: 1000,
2209
2148
 
@@ -2216,56 +2155,65 @@ H.Series = H.seriesType('line', null, { // base series options
2216
2155
  * In styled mode, the color zones are styled with the
2217
2156
  * `.highcharts-zone-{n}` class, or custom classed from the `className`
2218
2157
  * option
2219
- * ([view live demo](http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/color-zones/)).
2158
+ * ([view live demo](https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/css/color-zones/)).
2220
2159
  *
2221
- * @type {Array}
2222
2160
  * @see [zoneAxis](#plotOptions.series.zoneAxis)
2223
- * @sample {highcharts} highcharts/series/color-zones-simple/ Color zones
2224
- * @sample {highstock} highcharts/series/color-zones-simple/ Color zones
2225
- * @since 4.1.0
2226
- * @product highcharts highstock
2161
+ *
2162
+ * @sample {highcharts} highcharts/series/color-zones-simple/
2163
+ * Color zones
2164
+ * @sample {highstock} highcharts/series/color-zones-simple/
2165
+ * Color zones
2166
+ *
2167
+ * @type {Array<*>}
2168
+ * @since 4.1.0
2169
+ * @product highcharts highstock
2227
2170
  * @apioption plotOptions.series.zones
2228
2171
  */
2229
2172
 
2230
2173
  /**
2231
2174
  * Styled mode only. A custom class name for the zone.
2232
2175
  *
2233
- * @type {String}
2234
- * @sample highcharts/css/color-zones/ Zones styled by class name
2235
- * @since 5.0.0
2176
+ * @sample highcharts/css/color-zones/
2177
+ * Zones styled by class name
2178
+ *
2179
+ * @type {string}
2180
+ * @since 5.0.0
2236
2181
  * @apioption plotOptions.series.zones.className
2237
2182
  */
2238
2183
 
2239
2184
  /**
2240
2185
  * Defines the color of the series.
2241
2186
  *
2242
- * @type {Color}
2243
2187
  * @see [series color](#plotOptions.series.color)
2244
- * @since 4.1.0
2245
- * @product highcharts highstock
2188
+ *
2189
+ * @type {Highcharts.ColorString}
2190
+ * @since 4.1.0
2191
+ * @product highcharts highstock
2246
2192
  * @apioption plotOptions.series.zones.color
2247
2193
  */
2248
2194
 
2249
2195
  /**
2250
2196
  * A name for the dash style to use for the graph.
2251
2197
  *
2252
- * @type {String}
2253
2198
  * @see [series.dashStyle](#plotOptions.series.dashStyle)
2254
- * @sample {highcharts|highstock}
2255
- * highcharts/series/color-zones-dashstyle-dot/
2199
+ *
2200
+ * @sample {highcharts|highstock} highcharts/series/color-zones-dashstyle-dot/
2256
2201
  * Dashed line indicates prognosis
2257
- * @since 4.1.0
2258
- * @product highcharts highstock
2202
+ *
2203
+ * @type {string}
2204
+ * @since 4.1.0
2205
+ * @product highcharts highstock
2259
2206
  * @apioption plotOptions.series.zones.dashStyle
2260
2207
  */
2261
2208
 
2262
2209
  /**
2263
2210
  * Defines the fill color for the series (in area type series)
2264
2211
  *
2265
- * @type {Color}
2266
2212
  * @see [fillColor](#plotOptions.area.fillColor)
2267
- * @since 4.1.0
2268
- * @product highcharts highstock
2213
+ *
2214
+ * @type {Highcharts.ColorString}
2215
+ * @since 4.1.0
2216
+ * @product highcharts highstock
2269
2217
  * @apioption plotOptions.series.zones.fillColor
2270
2218
  */
2271
2219
 
@@ -2273,15 +2221,12 @@ H.Series = H.seriesType('line', null, { // base series options
2273
2221
  * The value up to where the zone extends, if undefined the zones stretches
2274
2222
  * to the last value in the series.
2275
2223
  *
2276
- * @type {Number}
2277
- * @default undefined
2278
- * @since 4.1.0
2279
- * @product highcharts highstock
2224
+ * @type {number}
2225
+ * @since 4.1.0
2226
+ * @product highcharts highstock
2280
2227
  * @apioption plotOptions.series.zones.value
2281
2228
  */
2282
2229
 
2283
-
2284
-
2285
2230
  /**
2286
2231
  * Determines whether the series should look for the nearest point
2287
2232
  * in both dimensions or just the x-dimension when hovering the series.
@@ -2292,19 +2237,158 @@ H.Series = H.seriesType('line', null, { // base series options
2292
2237
  * Applies only to series types using nearest neighbor search (not
2293
2238
  * direct hover) for tooltip.
2294
2239
  *
2295
- * @validvalue ['x', 'xy']
2296
- * @type {String}
2297
2240
  * @sample {highcharts} highcharts/series/findnearestpointby/
2298
2241
  * Different hover behaviors
2299
2242
  * @sample {highstock} highcharts/series/findnearestpointby/
2300
2243
  * Different hover behaviors
2301
2244
  * @sample {highmaps} highcharts/series/findnearestpointby/
2302
2245
  * Different hover behaviors
2303
- * @since 5.0.10
2246
+ *
2247
+ * @since 5.0.10
2248
+ * @validvalue ["x", "xy"]
2304
2249
  */
2305
2250
  findNearestPointBy: 'x'
2306
2251
 
2307
2252
  }, /** @lends Highcharts.Series.prototype */ {
2253
+
2254
+ /**
2255
+ * Series options for specific data and the data itself. In TypeScript you
2256
+ * have to cast the series options to specific series types, to get all
2257
+ * possible options for a series.
2258
+ *
2259
+ * @example
2260
+ * // TypeScript example
2261
+ * Highcharts.chart('container', {
2262
+ * series: [{
2263
+ * color: '#06C',
2264
+ * data: [[0, 1], [2, 3]]
2265
+ * } as Highcharts.SeriesLineOptions ]
2266
+ * });
2267
+ *
2268
+ *
2269
+ * @type {Array<*>}
2270
+ * @apioption series
2271
+ */
2272
+
2273
+ /**
2274
+ * An id for the series. This can be used after render time to get a pointer
2275
+ * to the series object through `chart.get()`.
2276
+ *
2277
+ * @sample {highcharts} highcharts/plotoptions/series-id/
2278
+ * Get series by id
2279
+ *
2280
+ * @type {string}
2281
+ * @since 1.2.0
2282
+ * @apioption series.id
2283
+ */
2284
+
2285
+ /**
2286
+ * The index of the series in the chart, affecting the internal index in the
2287
+ * `chart.series` array, the visible Z index as well as the order in the
2288
+ * legend.
2289
+ *
2290
+ * @type {number}
2291
+ * @since 2.3.0
2292
+ * @apioption series.index
2293
+ */
2294
+
2295
+ /**
2296
+ * The sequential index of the series in the legend.
2297
+ *
2298
+ * @see [legend.reversed](#legend.reversed),
2299
+ * [yAxis.reversedStacks](#yAxis.reversedStacks)
2300
+ *
2301
+ * @sample {highcharts|highstock} highcharts/series/legendindex/
2302
+ * Legend in opposite order
2303
+ *
2304
+ * @type {number}
2305
+ * @apioption series.legendIndex
2306
+ */
2307
+ /**
2308
+ * The name of the series as shown in the legend, tooltip etc.
2309
+ *
2310
+ * @sample {highcharts} highcharts/series/name/
2311
+ * Series name
2312
+ * @sample {highmaps} maps/demo/category-map/
2313
+ * Series name
2314
+ *
2315
+ * @type {string}
2316
+ * @apioption series.name
2317
+ */
2318
+
2319
+ /**
2320
+ * This option allows grouping series in a stacked chart. The stack option
2321
+ * can be a string or anything else, as long as the grouped series' stack
2322
+ * options match each other after conversion into a string.
2323
+ *
2324
+ * @sample {highcharts} highcharts/series/stack/
2325
+ * Stacked and grouped columns
2326
+ *
2327
+ * @type {string|*}
2328
+ * @since 2.1
2329
+ * @product highcharts highstock
2330
+ * @apioption series.stack
2331
+ */
2332
+
2333
+ /**
2334
+ * The type of series, for example `line` or `column`. By default, the
2335
+ * series type is inherited from [chart.type](#chart.type), so unless the
2336
+ * chart is a combination of series types, there is no need to set it on the
2337
+ * series level.
2338
+ *
2339
+ * @sample {highcharts} highcharts/series/type/
2340
+ * Line and column in the same chart
2341
+ * @sample {highmaps} maps/demo/mapline-mappoint/
2342
+ * Multiple types in the same map
2343
+ *
2344
+ * @type {string}
2345
+ * @apioption series.type
2346
+ */
2347
+
2348
+ /**
2349
+ * When using dual or multiple x axes, this number defines which xAxis the
2350
+ * particular series is connected to. It refers to either the
2351
+ * {@link #xAxis.id|axis id}
2352
+ * or the index of the axis in the xAxis array, with 0 being the first.
2353
+ *
2354
+ * @type {number|string}
2355
+ * @default 0
2356
+ * @product highcharts highstock
2357
+ * @apioption series.xAxis
2358
+ */
2359
+
2360
+ /**
2361
+ * When using dual or multiple y axes, this number defines which yAxis the
2362
+ * particular series is connected to. It refers to either the
2363
+ * {@link #yAxis.id|axis id}
2364
+ * or the index of the axis in the yAxis array, with 0 being the first.
2365
+ *
2366
+ * @sample {highcharts} highcharts/series/yaxis/
2367
+ * Apply the column series to the secondary Y axis
2368
+ *
2369
+ * @type {number|string}
2370
+ * @default 0
2371
+ * @product highcharts highstock
2372
+ * @apioption series.yAxis
2373
+ */
2374
+
2375
+ /**
2376
+ * Define the visual z index of the series.
2377
+ *
2378
+ * @sample {highcharts} highcharts/plotoptions/series-zindex-default/
2379
+ * With no z index, the series defined last are on top
2380
+ * @sample {highcharts} highcharts/plotoptions/series-zindex/
2381
+ * With a z index, the series with the highest z index is on top
2382
+ * @sample {highstock} highcharts/plotoptions/series-zindex-default/
2383
+ * With no z index, the series defined last are on top
2384
+ * @sample {highstock} highcharts/plotoptions/series-zindex/
2385
+ * With a z index, the series with the highest z index is on top
2386
+ *
2387
+ * @type {number}
2388
+ * @product highcharts highstock
2389
+ * @apioption series.zIndex
2390
+ */
2391
+
2308
2392
  isCartesian: true,
2309
2393
  pointClass: Point,
2310
2394
  sorted: true, // requires the data to be sorted
@@ -2324,9 +2408,8 @@ H.Series = H.seriesType('line', null, { // base series options
2324
2408
  /**
2325
2409
  * Read only. The chart that the series belongs to.
2326
2410
  *
2327
- * @name chart
2328
- * @memberof Series
2329
- * @type {Chart}
2411
+ * @name Highcharts.Series#chart
2412
+ * @type {Highcharts.Chart}
2330
2413
  */
2331
2414
  series.chart = chart;
2332
2415
 
@@ -2335,18 +2418,16 @@ H.Series = H.seriesType('line', null, { // base series options
2335
2418
  * type in the series options anc can be altered using {@link
2336
2419
  * Series#update}.
2337
2420
  *
2338
- * @name type
2339
- * @memberof Series
2340
- * @type String
2421
+ * @name Highcharts.Series#type
2422
+ * @type {string}
2341
2423
  */
2342
2424
 
2343
2425
  /**
2344
2426
  * Read only. The series' current options. To update, use {@link
2345
2427
  * Series#update}.
2346
2428
  *
2347
- * @name options
2348
- * @memberof Series
2349
- * @type SeriesOptions
2429
+ * @name Highcharts.Series#options
2430
+ * @type {Highcharts.PlotSeriesOptions}
2350
2431
  */
2351
2432
  series.options = options = series.setOptions(options);
2352
2433
  series.linkedSeries = [];
@@ -2360,9 +2441,8 @@ H.Series = H.seriesType('line', null, { // base series options
2360
2441
  * The series name as given in the options. Defaults to
2361
2442
  * "Series {n}".
2362
2443
  *
2363
- * @name name
2364
- * @memberof Series
2365
- * @type {String}
2444
+ * @name Highcharts.Series#name
2445
+ * @type {string}
2366
2446
  */
2367
2447
  name: options.name,
2368
2448
  state: '',
@@ -2371,18 +2451,16 @@ H.Series = H.seriesType('line', null, { // base series options
2371
2451
  * Series#show}, {@link Series#hide}, or in the initial
2372
2452
  * configuration.
2373
2453
  *
2374
- * @name visible
2375
- * @memberof Series
2376
- * @type {Boolean}
2454
+ * @name Highcharts.Series#visible
2455
+ * @type {boolean}
2377
2456
  */
2378
2457
  visible: options.visible !== false, // true by default
2379
2458
  /**
2380
2459
  * Read only. The series' selected state as set by {@link
2381
2460
  * Highcharts.Series#select}.
2382
2461
  *
2383
- * @name selected
2384
- * @memberof Series
2385
- * @type {Boolean}
2462
+ * @name Highcharts.Series#selected
2463
+ * @type {boolean}
2386
2464
  */
2387
2465
  selected: options.selected === true // false by default
2388
2466
  });
@@ -2438,9 +2516,13 @@ H.Series = H.seriesType('line', null, { // base series options
2438
2516
  * option. Used internally when adding series.
2439
2517
  *
2440
2518
  * @private
2441
- * @param {Array<Series>} collection
2442
- * A collection of series, like `chart.series` or `xAxis.series`.
2443
- * @returns {Number} The index of the series in the collection.
2519
+ * @function Highcharts.Series#insert
2520
+ *
2521
+ * @param {Array<Highcharts.Series>} collection
2522
+ * A collection of series, like `chart.series` or `xAxis.series`.
2523
+ *
2524
+ * @return {number}
2525
+ * The index of the series in the collection.
2444
2526
  */
2445
2527
  insert: function (collection) {
2446
2528
  var indexOption = this.options.index,
@@ -2474,6 +2556,9 @@ H.Series = H.seriesType('line', null, { // base series options
2474
2556
  * series in the `axis.series` array.
2475
2557
  *
2476
2558
  * @private
2559
+ * @function Highcharts.Series#bindAxes
2560
+ *
2561
+ * @exception 18
2477
2562
  */
2478
2563
  bindAxes: function () {
2479
2564
  var series = this,
@@ -2510,17 +2595,15 @@ H.Series = H.seriesType('line', null, { // base series options
2510
2595
  * Read only. The unique xAxis object associated with the
2511
2596
  * series.
2512
2597
  *
2513
- * @name xAxis
2514
- * @memberof Series
2515
- * @type Axis
2598
+ * @name Highcharts.Series#xAxis
2599
+ * @type {Highcharts.Axis}
2516
2600
  */
2517
2601
  /**
2518
2602
  * Read only. The unique yAxis object associated with the
2519
2603
  * series.
2520
2604
  *
2521
- * @name yAxis
2522
- * @memberof Series
2523
- * @type Axis
2605
+ * @name Highcharts.Series#yAxis
2606
+ * @type {Highcharts.Axis}
2524
2607
  */
2525
2608
  series[AXIS] = axis;
2526
2609
 
@@ -2545,6 +2628,11 @@ H.Series = H.seriesType('line', null, { // base series options
2545
2628
  * `series.parallelArrays` array.
2546
2629
  *
2547
2630
  * @private
2631
+ * @function Highcharts.Series#updateParallelArrays
2632
+ *
2633
+ * @param {Highcharts.Point} point
2634
+ *
2635
+ * @param {number|string} i
2548
2636
  */
2549
2637
  updateParallelArrays: function (point, i) {
2550
2638
  var series = point.series,
@@ -2575,6 +2663,9 @@ H.Series = H.seriesType('line', null, { // base series options
2575
2663
  * the point that calls autoIncrement.
2576
2664
  *
2577
2665
  * @private
2666
+ * @function Highcharts.Series#autoIncrement
2667
+ *
2668
+ * @return {number}
2578
2669
  */
2579
2670
  autoIncrement: function () {
2580
2671
 
@@ -2630,8 +2721,14 @@ H.Series = H.seriesType('line', null, { // base series options
2630
2721
  * internally on initiating and updating series. This function will not
2631
2722
  * redraw the series. For API usage, use {@link Series#update}.
2632
2723
  *
2633
- * @param {Options.plotOptions.series} itemOptions
2634
- * The series options.
2724
+ * @function Highcharts.Series#setOptions
2725
+ *
2726
+ * @param {Highcharts.PlotSeriesOptions} itemOptions
2727
+ * The series options.
2728
+ *
2729
+ * @return {Highcharts.PlotSeriesOptions}
2730
+ *
2731
+ * @fires Highcharts.Series#event:afterSetOptions
2635
2732
  */
2636
2733
  setOptions: function (itemOptions) {
2637
2734
  var chart = this.chart,
@@ -2731,12 +2828,25 @@ H.Series = H.seriesType('line', null, { // base series options
2731
2828
  * user. This method can be simply overridden as series name format can
2732
2829
  * vary (e.g. technical indicators).
2733
2830
  *
2734
- * @return {String} The series name.
2831
+ * @function Highcharts.Series#getName
2832
+ *
2833
+ * @return {string}
2834
+ * The series name.
2735
2835
  */
2736
2836
  getName: function () {
2737
2837
  return this.name || 'Series ' + (this.index + 1);
2738
2838
  },
2739
2839
 
2840
+ /**
2841
+ * @private
2842
+ * @function Highcharts.Series#getCyclic
2843
+ *
2844
+ * @param {string} prop
2845
+ *
2846
+ * @param {*} value
2847
+ *
2848
+ * @param {*} [defaults]
2849
+ */
2740
2850
  getCyclic: function (prop, value, defaults) {
2741
2851
  var i,
2742
2852
  chart = this.chart,
@@ -2781,7 +2891,7 @@ H.Series = H.seriesType('line', null, { // base series options
2781
2891
  * Get the series' color based on either the options or pulled from global
2782
2892
  * options.
2783
2893
  *
2784
- * @return {Color} The series color.
2894
+ * @function Highcharts.Series#getColor
2785
2895
  */
2786
2896
 
2787
2897
  getColor: function () {
@@ -2801,10 +2911,11 @@ H.Series = H.seriesType('line', null, { // base series options
2801
2911
  /**
2802
2912
  * Get the series' symbol based on either the options or pulled from global
2803
2913
  * options.
2914
+ *
2915
+ * @function Highcharts.Series#getSymbol
2804
2916
  */
2805
2917
  getSymbol: function () {
2806
2918
  var seriesMarkerOption = this.options.marker;
2807
-
2808
2919
  this.getCyclic(
2809
2920
  'symbol',
2810
2921
  seriesMarkerOption.symbol,
@@ -2812,6 +2923,10 @@ H.Series = H.seriesType('line', null, { // base series options
2812
2923
  );
2813
2924
  },
2814
2925
 
2926
+ /**
2927
+ * @private
2928
+ * @borrows LegendSymbolMixin.drawLineMarker as Highcharts.Series#drawLegendSymbol
2929
+ */
2815
2930
  drawLegendSymbol: LegendSymbolMixin.drawLineMarker,
2816
2931
 
2817
2932
  /**
@@ -2821,6 +2936,11 @@ H.Series = H.seriesType('line', null, { // base series options
2821
2936
  * allows adding or removing points if the X-es don't match.
2822
2937
  *
2823
2938
  * @private
2939
+ * @function Highcharts.Series#updateData
2940
+ *
2941
+ * @param {Array<*>} data
2942
+ *
2943
+ * @return {boolean}
2824
2944
  */
2825
2945
  updateData: function (data) {
2826
2946
  var options = this.options,
@@ -2850,8 +2970,10 @@ H.Series = H.seriesType('line', null, { // base series options
2850
2970
  // Search for the same X in the existing data set
2851
2971
  pointIndex = H.inArray(x, this.xData, lastIndex);
2852
2972
 
2853
- // Matching X not found, add point (but later)
2854
- if (pointIndex === -1) {
2973
+ // Matching X not found
2974
+ // or used already due to ununique x values (#8995),
2975
+ // add point (but later)
2976
+ if (pointIndex === -1 || oldData[pointIndex].touched) {
2855
2977
  pointsToAdd.push(pointOptions);
2856
2978
 
2857
2979
  // Matching X found, update
@@ -2867,10 +2989,10 @@ H.Series = H.seriesType('line', null, { // base series options
2867
2989
  // are not touched.
2868
2990
  oldData[pointIndex].touched = true;
2869
2991
 
2870
- // Speed optimize by only searching from last known index.
2992
+ // Speed optimize by only searching after last known index.
2871
2993
  // Performs ~20% bettor on large data sets.
2872
2994
  if (requireSorting) {
2873
- lastIndex = pointIndex;
2995
+ lastIndex = pointIndex + 1;
2874
2996
  }
2875
2997
  // Point exists, no changes, don't remove it
2876
2998
  } else if (oldData[pointIndex]) {
@@ -2923,25 +3045,6 @@ H.Series = H.seriesType('line', null, { // base series options
2923
3045
  * or a different amount of points, as handled by the `updatePoints`
2924
3046
  * parameter.
2925
3047
  *
2926
- * @param {SeriesDataOptions} data
2927
- * Takes an array of data in the same format as described under
2928
- * `series.typedata` for the given series type.
2929
- * @param {Boolean} [redraw=true]
2930
- * Whether to redraw the chart after the series is altered. If doing
2931
- * more operations on the chart, it is a good idea to set redraw to
2932
- * false and call {@link Chart#redraw} after.
2933
- * @param {AnimationOptions} [animation]
2934
- * When the updated data is the same length as the existing data,
2935
- * points will be updated by default, and animation visualizes how
2936
- * the points are changed. Set false to disable animation, or a
2937
- * configuration object to set duration or easing.
2938
- * @param {Boolean} [updatePoints=true]
2939
- * When the updated data is the same length as the existing data, or
2940
- * points can be matched by X values, points will be updated instead
2941
- * of replaced. This allows updating with animation and performs
2942
- * better. In this case, the original array is not passed by
2943
- * reference. Set `false` to prevent.
2944
- *
2945
3048
  * @sample highcharts/members/series-setdata/
2946
3049
  * Set new data from a button
2947
3050
  * @sample highcharts/members/series-setdata-pie/
@@ -2950,6 +3053,32 @@ H.Series = H.seriesType('line', null, { // base series options
2950
3053
  * Set new data in Highstock
2951
3054
  * @sample maps/members/series-setdata/
2952
3055
  * Set new data in Highmaps
3056
+ *
3057
+ * @function Highcharts.Series#setData
3058
+ *
3059
+ * @param {Array<*>} data
3060
+ * Takes an array of data in the same format as described under
3061
+ * `series.{type}.data` for the given series type, for example a
3062
+ * line series would take data in the form described under
3063
+ * [series.line.data](https://api.highcharts.com/highcharts/series.line.data).
3064
+ *
3065
+ * @param {boolean} [redraw=true]
3066
+ * Whether to redraw the chart after the series is altered. If doing
3067
+ * more operations on the chart, it is a good idea to set redraw to
3068
+ * false and call {@link Chart#redraw} after.
3069
+ *
3070
+ * @param {Highcharts.AnimationOptionsObject} [animation]
3071
+ * When the updated data is the same length as the existing data,
3072
+ * points will be updated by default, and animation visualizes how
3073
+ * the points are changed. Set false to disable animation, or a
3074
+ * configuration object to set duration or easing.
3075
+ *
3076
+ * @param {boolean} [updatePoints=true]
3077
+ * When the updated data is the same length as the existing data, or
3078
+ * points can be matched by X values, points will be updated instead
3079
+ * of replaced. This allows updating with animation and performs
3080
+ * better. In this case, the original array is not passed by
3081
+ * reference. Set `false` to prevent.
2953
3082
  */
2954
3083
  setData: function (data, redraw, animation, updatePoints) {
2955
3084
  var series = this,
@@ -2981,7 +3110,10 @@ H.Series = H.seriesType('line', null, { // base series options
2981
3110
  oldDataLength &&
2982
3111
  !series.cropped &&
2983
3112
  !series.hasGroupedData &&
2984
- series.visible
3113
+ series.visible &&
3114
+ // Soft updating has no benefit in boost, and causes JS error
3115
+ // (#8355)
3116
+ !series.isSeriesBoosting
2985
3117
  ) {
2986
3118
  updatedData = this.updateData(data);
2987
3119
  }
@@ -3099,8 +3231,12 @@ H.Series = H.seriesType('line', null, { // base series options
3099
3231
  * provide data grouping.
3100
3232
  *
3101
3233
  * @private
3102
- * @param {Boolean} force
3103
- * Force data grouping.
3234
+ * @function Highcharts.Series#processData
3235
+ *
3236
+ * @param {boolean} force
3237
+ * Force data grouping.
3238
+ *
3239
+ * @return {boolean|undefined}
3104
3240
  */
3105
3241
  processData: function (force) {
3106
3242
  var series = this,
@@ -3164,8 +3300,10 @@ H.Series = H.seriesType('line', null, { // base series options
3164
3300
 
3165
3301
  // only crop if it's actually spilling out
3166
3302
  } else if (
3167
- processedXData[0] < min ||
3168
- processedXData[dataLength - 1] > max
3303
+ series.yData && (
3304
+ processedXData[0] < min ||
3305
+ processedXData[dataLength - 1] > max
3306
+ )
3169
3307
  ) {
3170
3308
  croppedData = this.cropData(
3171
3309
  series.xData,
@@ -3222,6 +3360,19 @@ H.Series = H.seriesType('line', null, { // base series options
3222
3360
  * dataMin and dataMax within the cropped range.
3223
3361
  *
3224
3362
  * @private
3363
+ * @function Highcharts.Series#cropData
3364
+ *
3365
+ * @param {Array<number>} xData
3366
+ *
3367
+ * @param {Array<number>} yData
3368
+ *
3369
+ * @param {number} min
3370
+ *
3371
+ * @param {number} max
3372
+ *
3373
+ * @param {number} [cropShoulder]
3374
+ *
3375
+ * @return {*}
3225
3376
  */
3226
3377
  cropData: function (xData, yData, min, max, cropShoulder) {
3227
3378
  var dataLength = xData.length,
@@ -3263,6 +3414,7 @@ H.Series = H.seriesType('line', null, { // base series options
3263
3414
  * away unused points and optionally grouped in Highcharts Stock.
3264
3415
  *
3265
3416
  * @private
3417
+ * @function Highcharts.Series#generatePoints
3266
3418
  */
3267
3419
  generatePoints: function () {
3268
3420
  var series = this,
@@ -3321,12 +3473,16 @@ H.Series = H.seriesType('line', null, { // base series options
3321
3473
  * in the group.
3322
3474
  * - `dataGroup.length` is the amount of points in the group.
3323
3475
  *
3324
- * @name dataGroup
3325
- * @memberof Point
3326
- * @type {Object}
3476
+ * @name Highcharts.Point#dataGroup
3477
+ * @type {Highcharts.SVGElement|undefined}
3327
3478
  *
3479
+ * @product highstock
3328
3480
  */
3329
3481
  point.dataGroup = series.groupMap[i];
3482
+ if (point.dataGroup.options) {
3483
+ point.options = point.dataGroup.options;
3484
+ extend(point, point.dataGroup.options);
3485
+ }
3330
3486
  }
3331
3487
  if (point) { // #6279
3332
3488
  point.index = cursor; // For faster access in Point.update
@@ -3369,9 +3525,9 @@ H.Series = H.seriesType('line', null, { // base series options
3369
3525
  * demand. To modify the data, use {@link Highcharts.Series#setData} or
3370
3526
  * {@link Highcharts.Point#update}.
3371
3527
  *
3372
- * @name data
3373
- * @memberof Highcharts.Series
3374
- * @see Series.points
3528
+ * @see Series.points
3529
+ *
3530
+ * @name Highcharts.Series#data
3375
3531
  * @type {Array<Point>}
3376
3532
  */
3377
3533
  series.data = data;
@@ -3384,9 +3540,9 @@ H.Series = H.seriesType('line', null, { // base series options
3384
3540
  * is grouped, these can't be correlated one to one. To
3385
3541
  * modify the data, use {@link Highcharts.Series#setData} or {@link
3386
3542
  * Highcharts.Point#update}.
3387
- * @name points
3388
- * @memberof Series
3389
- * @type {Array<Point>}
3543
+ *
3544
+ * @name Highcharts.Series#points
3545
+ * @type {Array<Highcharts.Point>}
3390
3546
  */
3391
3547
  series.points = points;
3392
3548
  },
@@ -3395,10 +3551,11 @@ H.Series = H.seriesType('line', null, { // base series options
3395
3551
  * Calculate Y extremes for the visible data. The result is set as
3396
3552
  * `dataMin` and `dataMax` on the Series item.
3397
3553
  *
3398
- * @param {Array<Number>} [yData]
3399
- * The data to inspect. Defaults to the current data within the
3400
- * visible range.
3554
+ * @function Highcharts.Series#getExtremes
3401
3555
  *
3556
+ * @param {Array<number>} [yData]
3557
+ * The data to inspect. Defaults to the current data within the
3558
+ * visible range.
3402
3559
  */
3403
3560
  getExtremes: function (yData) {
3404
3561
  var xAxis = this.xAxis,
@@ -3469,6 +3626,11 @@ H.Series = H.seriesType('line', null, { // base series options
3469
3626
  * data needed later in the `drawPoints` and `drawGraph` functions. This
3470
3627
  * function can be overridden in plugins and custom series type
3471
3628
  * implementations.
3629
+ *
3630
+ * @function Highcharts.Series#translate
3631
+ *
3632
+ * @todo
3633
+ * Make events official: Fires the event `afterTranslate`.
3472
3634
  */
3473
3635
  translate: function () {
3474
3636
  if (!this.processedXData) { // hidden series
@@ -3646,13 +3808,14 @@ H.Series = H.seriesType('line', null, { // base series options
3646
3808
  /**
3647
3809
  * Return the series points with null points filtered out.
3648
3810
  *
3649
- * @param {Array<Point>} [points]
3650
- * The points to inspect, defaults to {@link Series.points}.
3651
- * @param {Boolean} [insideOnly=false]
3652
- * Whether to inspect only the points that are inside the visible
3653
- * view.
3811
+ * @param {Array<Highcharts.Point>} [points]
3812
+ * The points to inspect, defaults to {@link Series.points}.
3654
3813
  *
3655
- * @return {Array<Point>}
3814
+ * @param {boolean} [insideOnly=false]
3815
+ * Whether to inspect only the points that are inside the visible
3816
+ * view.
3817
+ *
3818
+ * @return {Array<Highcharts.Point>}
3656
3819
  * The valid points.
3657
3820
  */
3658
3821
  getValidPoints: function (points, insideOnly) {
@@ -3676,6 +3839,9 @@ H.Series = H.seriesType('line', null, { // base series options
3676
3839
  * animation to set the final clip.
3677
3840
  *
3678
3841
  * @private
3842
+ * @function Highcharts.Series#setClip
3843
+ *
3844
+ * @param {boolean} [animation]
3679
3845
  */
3680
3846
  setClip: function (animation) {
3681
3847
  var chart = this.chart,
@@ -3766,8 +3932,10 @@ H.Series = H.seriesType('line', null, { // base series options
3766
3932
  * order to perform the actual animation. After the second run, the function
3767
3933
  * is removed.
3768
3934
  *
3769
- * @param {Boolean} init
3770
- * Initialize the animation.
3935
+ * @function Highcharts.Series#animate
3936
+ *
3937
+ * @param {boolean} init
3938
+ * Initialize the animation.
3771
3939
  */
3772
3940
  animate: function (init) {
3773
3941
  var series = this,
@@ -3808,6 +3976,10 @@ H.Series = H.seriesType('line', null, { // base series options
3808
3976
  * This runs after animation to land on the final plot clipping.
3809
3977
  *
3810
3978
  * @private
3979
+ * @function Highcharts.Series#afterAnimate
3980
+ *
3981
+ * @todo
3982
+ * Make events official: Fires the event `afterAnimate`.
3811
3983
  */
3812
3984
  afterAnimate: function () {
3813
3985
  this.setClip();
@@ -3821,6 +3993,8 @@ H.Series = H.seriesType('line', null, { // base series options
3821
3993
  * types. The resulting element is typically stored as {@link
3822
3994
  * Point.graphic}, and is created on the first call and updated and moved on
3823
3995
  * subsequent calls.
3996
+ *
3997
+ * @function Highcharts.Series#drawPoints
3824
3998
  */
3825
3999
  drawPoints: function () {
3826
4000
  var series = this,
@@ -3938,14 +4112,15 @@ H.Series = H.seriesType('line', null, { // base series options
3938
4112
  * Get non-presentational attributes for a point. Used internally for both
3939
4113
  * styled mode and classic. Can be overridden for different series types.
3940
4114
  *
3941
- * @see Series#pointAttribs
4115
+ * @see Series#pointAttribs
4116
+ *
4117
+ * @param {Highcharts.Point} point
4118
+ * The Point to inspect.
3942
4119
  *
3943
- * @param {Point} point
3944
- * The Point to inspect.
3945
- * @param {String} [state]
3946
- * The state, can be either `hover`, `select` or undefined.
4120
+ * @param {string} [state]
4121
+ * The state, can be either `hover`, `select` or undefined.
3947
4122
  *
3948
- * @return {SVGAttributes}
4123
+ * @return {Highcharts.SVGAttributes}
3949
4124
  * A hash containing those attributes that are not settable from
3950
4125
  * CSS.
3951
4126
  */
@@ -3997,19 +4172,21 @@ H.Series = H.seriesType('line', null, { // base series options
3997
4172
  },
3998
4173
 
3999
4174
 
4175
+
4000
4176
  /**
4001
4177
  * Internal function to get presentational attributes for each point. Unlike
4002
4178
  * {@link Series#markerAttribs}, this function should return those
4003
4179
  * attributes that can also be set in CSS. In styled mode, `pointAttribs`
4004
4180
  * won't be called.
4005
4181
  *
4006
- * @param {Point} point
4007
- * The point instance to inspect.
4008
- * @param {String} [state]
4009
- * The point state, can be either `hover`, `select` or undefined for
4010
- * normal state.
4182
+ * @param {Highcharts.Point} point
4183
+ * The point instance to inspect.
4184
+ *
4185
+ * @param {string} [state]
4186
+ * The point state, can be either `hover`, `select` or undefined for
4187
+ * normal state.
4011
4188
  *
4012
- * @return {SVGAttributes}
4189
+ * @return {Highcharts.SVGAttributes}
4013
4190
  * The presentational attributes to be set on the point.
4014
4191
  */
4015
4192
  pointAttribs: function (point, state) {
@@ -4079,11 +4256,17 @@ H.Series = H.seriesType('line', null, { // base series options
4079
4256
  'fill': fill
4080
4257
  };
4081
4258
  },
4259
+
4082
4260
 
4261
+
4083
4262
  /**
4084
4263
  * Clear DOM objects and free up memory.
4085
4264
  *
4086
4265
  * @private
4266
+ * @function Highcharts.Series#destroy
4267
+ *
4268
+ * @todo
4269
+ * Make events official: Fires the event `destroy`.
4087
4270
  */
4088
4271
  destroy: function () {
4089
4272
  var series = this,
@@ -4160,6 +4343,15 @@ H.Series = H.seriesType('line', null, { // base series options
4160
4343
  * Get the graph path.
4161
4344
  *
4162
4345
  * @private
4346
+ * @function Highcharts.Series#getGraphPath
4347
+ *
4348
+ * @param {Array<*>} points
4349
+ *
4350
+ * @param {boolean} nullsAsZeroes
4351
+ *
4352
+ * @param {boolean} connectCliffs
4353
+ *
4354
+ * @return {Array<number|string>}
4163
4355
  */
4164
4356
  getGraphPath: function (points, nullsAsZeroes, connectCliffs) {
4165
4357
  var series = this,
@@ -4285,6 +4477,8 @@ H.Series = H.seriesType('line', null, { // base series options
4285
4477
  * The first time it generates the `series.graph` item and optionally other
4286
4478
  * series-wide items like `series.area` for area charts. On subsequent calls
4287
4479
  * these items are updated with new positions and attributes.
4480
+ *
4481
+ * @function Highcharts.Series#drawGraph
4288
4482
  */
4289
4483
  drawGraph: function () {
4290
4484
  var series = this,
@@ -4356,6 +4550,11 @@ H.Series = H.seriesType('line', null, { // base series options
4356
4550
  * Extendable by series with multiple lines within one series.
4357
4551
  *
4358
4552
  * @private
4553
+ * @function Highcharts.Series#getZonesGraphs
4554
+ *
4555
+ * @param {Array<Array<string>>} props
4556
+ *
4557
+ * @return {Array<Array<string>>}
4359
4558
  */
4360
4559
  getZonesGraphs: function (props) {
4361
4560
  // Add the zone properties if any
@@ -4378,6 +4577,7 @@ H.Series = H.seriesType('line', null, { // base series options
4378
4577
  * Clip the graphs into zones for colors and styling.
4379
4578
  *
4380
4579
  * @private
4580
+ * @function Highcharts.Series#applyZones
4381
4581
  */
4382
4582
  applyZones: function () {
4383
4583
  var series = this,
@@ -4522,6 +4722,9 @@ H.Series = H.seriesType('line', null, { // base series options
4522
4722
  * series.markerGroup.
4523
4723
  *
4524
4724
  * @private
4725
+ * @function Highcharts.Series#invertGroups
4726
+ *
4727
+ * @param {boolean} inverted
4525
4728
  */
4526
4729
  invertGroups: function (inverted) {
4527
4730
  var series = this,
@@ -4570,6 +4773,19 @@ H.Series = H.seriesType('line', null, { // base series options
4570
4773
  * group will only be adjusted to the updated plot size.
4571
4774
  *
4572
4775
  * @private
4776
+ * @function Highcharts.Series#plotGroup
4777
+ *
4778
+ * @param {string} prop
4779
+ *
4780
+ * @param {string} name
4781
+ *
4782
+ * @param {string} visibility
4783
+ *
4784
+ * @param {number} zIndex
4785
+ *
4786
+ * @param {Highcharts.SVGElement} parent
4787
+ *
4788
+ * @return {Highcharts.SVGElement}
4573
4789
  */
4574
4790
  plotGroup: function (prop, name, visibility, zIndex, parent) {
4575
4791
  var group = this[prop],
@@ -4616,6 +4832,10 @@ H.Series = H.seriesType('line', null, { // base series options
4616
4832
 
4617
4833
  /**
4618
4834
  * Get the translation and scale for the plot area of this series.
4835
+ *
4836
+ * @function Highcharts.Series#getPlotBox
4837
+ *
4838
+ * @return {Highcharts.SeriesPlotBoxObject}
4619
4839
  */
4620
4840
  getPlotBox: function () {
4621
4841
  var chart = this.chart,
@@ -4639,6 +4859,11 @@ H.Series = H.seriesType('line', null, { // base series options
4639
4859
  * Render the graph and markers. Called internally when first rendering and
4640
4860
  * later when redrawing the chart. This function can be extended in plugins,
4641
4861
  * but normally shouldn't be called directly.
4862
+ *
4863
+ * @function Highcharts.Series#render
4864
+ *
4865
+ * @todo
4866
+ * Make events official: Fires the event `afterRender`.
4642
4867
  */
4643
4868
  render: function () {
4644
4869
  var series = this,
@@ -4750,6 +4975,7 @@ H.Series = H.seriesType('line', null, { // base series options
4750
4975
  * and normally shouldn't be called directly.
4751
4976
  *
4752
4977
  * @private
4978
+ * @function Highcharts.Series#redraw
4753
4979
  */
4754
4980
  redraw: function () {
4755
4981
  var series = this,
@@ -4784,6 +5010,16 @@ H.Series = H.seriesType('line', null, { // base series options
4784
5010
 
4785
5011
  kdAxisArray: ['clientX', 'plotY'],
4786
5012
 
5013
+ /**
5014
+ * @private
5015
+ * @function Highcharts.Series#searchPoint
5016
+ *
5017
+ * @param {*} e
5018
+ *
5019
+ * @param {*} compareX
5020
+ *
5021
+ * @return {Highcharts.Point}
5022
+ */
4787
5023
  searchPoint: function (e, compareX) {
4788
5024
  var series = this,
4789
5025
  xAxis = series.xAxis,
@@ -4807,6 +5043,7 @@ H.Series = H.seriesType('line', null, { // base series options
4807
5043
  * typically search in two dimensions, X and Y.
4808
5044
  *
4809
5045
  * @private
5046
+ * @function Highcharts.Series#buildKDTree
4810
5047
  */
4811
5048
  buildKDTree: function () {
4812
5049
 
@@ -4870,6 +5107,16 @@ H.Series = H.seriesType('line', null, { // base series options
4870
5107
  syncTimeout(startRecursive, series.options.kdNow ? 0 : 1);
4871
5108
  },
4872
5109
 
5110
+ /**
5111
+ * @private
5112
+ * @function Highcharts.Series#searchKDTree
5113
+ *
5114
+ * @param {*} point
5115
+ *
5116
+ * @param {*} compareX
5117
+ *
5118
+ * @return {Highcharts.Point}
5119
+ */
4873
5120
  searchKDTree: function (point, compareX) {
4874
5121
  var series = this,
4875
5122
  kdX = this.kdAxisArray[0],
@@ -4948,22 +5195,39 @@ H.Series = H.seriesType('line', null, { // base series options
4948
5195
  * A line series displays information as a series of data points connected by
4949
5196
  * straight line segments.
4950
5197
  *
4951
- * @sample {highcharts} highcharts/demo/line-basic/ Line chart
4952
- * @sample {highstock} stock/demo/basic-line/ Line chart
5198
+ * @sample {highcharts} highcharts/demo/line-basic/
5199
+ * Line chart
5200
+ * @sample {highstock} stock/demo/basic-line/
5201
+ * Line chart
4953
5202
  *
4954
- * @extends plotOptions.series
4955
- * @product highcharts highstock
5203
+ * @extends plotOptions.series
5204
+ * @product highcharts highstock
4956
5205
  * @apioption plotOptions.line
4957
5206
  */
4958
5207
 
5208
+
5209
+
5210
+ /**
5211
+ * The SVG value used for the `stroke-linecap` and `stroke-linejoin`
5212
+ * of a line graph. Round means that lines are rounded in the ends and
5213
+ * bends.
5214
+ *
5215
+ * @type {string}
5216
+ * @validvalue ["round", "butt", "square"]
5217
+ * @default round
5218
+ * @since 3.0.7
5219
+ * @apioption plotOptions.line.linecap
5220
+ */
5221
+
5222
+
5223
+
4959
5224
  /**
4960
5225
  * A `line` series. If the [type](#series.line.type) option is not
4961
5226
  * specified, it is inherited from [chart.type](#chart.type).
4962
5227
  *
4963
- * @type {Object}
4964
- * @extends series,plotOptions.line
5228
+ * @extends series,plotOptions.line
4965
5229
  * @excluding dataParser,dataURL
4966
- * @product highcharts highstock
5230
+ * @product highcharts highstock
4967
5231
  * @apioption series.line
4968
5232
  */
4969
5233
 
@@ -4993,8 +5257,8 @@ H.Series = H.seriesType('line', null, { // base series options
4993
5257
  * ]
4994
5258
  * ```
4995
5259
  *
4996
- * 3. An array of objects with named values. The objects are point
4997
- * configuration objects as seen below. If the total number of data
5260
+ * 3. An array of objects with named values. The following snippet shows only a
5261
+ * few settings, see the complete options set below. If the total number of data
4998
5262
  * points exceeds the series' [turboThreshold](#series.line.turboThreshold),
4999
5263
  * this option is not available.
5000
5264
  *
@@ -5012,7 +5276,6 @@ H.Series = H.seriesType('line', null, { // base series options
5012
5276
  * }]
5013
5277
  * ```
5014
5278
  *
5015
- * @type {Array<Object|Array|Number>}
5016
5279
  * @sample {highcharts} highcharts/chart/reflow-true/
5017
5280
  * Numerical values
5018
5281
  * @sample {highcharts} highcharts/series/data-array-of-arrays/
@@ -5023,6 +5286,8 @@ H.Series = H.seriesType('line', null, { // base series options
5023
5286
  * Arrays of point.name and y
5024
5287
  * @sample {highcharts} highcharts/series/data-array-of-objects/
5025
5288
  * Config objects
5289
+ *
5290
+ * @type {Array<number|Array<number|string|Date>|*>}
5026
5291
  * @apioption series.line.data
5027
5292
  */
5028
5293
 
@@ -5030,9 +5295,9 @@ H.Series = H.seriesType('line', null, { // base series options
5030
5295
  * An additional, individual class name for the data point's graphic
5031
5296
  * representation.
5032
5297
  *
5033
- * @type {String}
5034
- * @since 5.0.0
5035
- * @product highcharts
5298
+ * @type {string}
5299
+ * @since 5.0.0
5300
+ * @product highcharts
5036
5301
  * @apioption series.line.data.className
5037
5302
  */
5038
5303
 
@@ -5043,10 +5308,11 @@ H.Series = H.seriesType('line', null, { // base series options
5043
5308
  * In styled mode, the `color` option doesn't take effect. Instead, use
5044
5309
  * `colorIndex`.
5045
5310
  *
5046
- * @type {Color}
5047
- * @sample {highcharts} highcharts/point/color/ Mark the highest point
5048
- * @default undefined
5049
- * @product highcharts highstock
5311
+ * @sample {highcharts} highcharts/point/color/
5312
+ * Mark the highest point
5313
+ *
5314
+ * @type {Highcharts.ColorString}
5315
+ * @product highcharts highstock
5050
5316
  * @apioption series.line.data.color
5051
5317
  */
5052
5318
 
@@ -5057,9 +5323,9 @@ H.Series = H.seriesType('line', null, { // base series options
5057
5323
  * the `fill` attribute, so the change in class name won't have a visual effect
5058
5324
  * by default.
5059
5325
  *
5060
- * @type {Number}
5061
- * @since 5.0.0
5062
- * @product highcharts
5326
+ * @type {number}
5327
+ * @since 5.0.0
5328
+ * @product highcharts
5063
5329
  * @apioption series.line.data.colorIndex
5064
5330
  */
5065
5331
 
@@ -5068,10 +5334,11 @@ H.Series = H.seriesType('line', null, { // base series options
5068
5334
  * the ones for [plotOptions.series.dataLabels](
5069
5335
  * #plotOptions.series.dataLabels).
5070
5336
  *
5071
- * @type {Object}
5072
5337
  * @sample highcharts/point/datalabels/
5073
5338
  * Show a label for the last value
5074
- * @product highcharts highstock
5339
+ *
5340
+ * @type {Highcharts.PlotSeriesDataLabelsOptions}
5341
+ * @product highcharts highstock
5075
5342
  * @apioption series.line.data.dataLabels
5076
5343
  */
5077
5344
 
@@ -5079,9 +5346,8 @@ H.Series = H.seriesType('line', null, { // base series options
5079
5346
  * A description of the point to add to the screen reader information
5080
5347
  * about the point. Requires the Accessibility module.
5081
5348
  *
5082
- * @type {String}
5083
- * @default undefined
5084
- * @since 5.0.0
5349
+ * @type {string}
5350
+ * @since 5.0.0
5085
5351
  * @apioption series.line.data.description
5086
5352
  */
5087
5353
 
@@ -5089,11 +5355,12 @@ H.Series = H.seriesType('line', null, { // base series options
5089
5355
  * An id for the point. This can be used after render time to get a
5090
5356
  * pointer to the point object through `chart.get()`.
5091
5357
  *
5092
- * @type {String}
5093
- * @sample {highcharts} highcharts/point/id/ Remove an id'd point
5094
- * @default null
5095
- * @since 1.2.0
5096
- * @product highcharts highstock
5358
+ * @sample {highcharts} highcharts/point/id/
5359
+ * Remove an id'd point
5360
+ *
5361
+ * @type {string}
5362
+ * @since 1.2.0
5363
+ * @product highcharts highstock
5097
5364
  * @apioption series.line.data.id
5098
5365
  */
5099
5366
 
@@ -5102,7 +5369,7 @@ H.Series = H.seriesType('line', null, { // base series options
5102
5369
  * data labels are about to overlap, only the one with the highest `labelrank`
5103
5370
  * will be drawn.
5104
5371
  *
5105
- * @type {Number}
5372
+ * @type {number}
5106
5373
  * @apioption series.line.data.labelrank
5107
5374
  */
5108
5375
 
@@ -5110,18 +5377,21 @@ H.Series = H.seriesType('line', null, { // base series options
5110
5377
  * The name of the point as shown in the legend, tooltip, dataLabel
5111
5378
  * etc.
5112
5379
  *
5113
- * @type {String}
5114
- * @sample {highcharts} highcharts/series/data-array-of-objects/ Point names
5115
5380
  * @see [xAxis.uniqueNames](#xAxis.uniqueNames)
5381
+ *
5382
+ * @sample {highcharts} highcharts/series/data-array-of-objects/
5383
+ * Point names
5384
+ *
5385
+ * @type {string}
5116
5386
  * @apioption series.line.data.name
5117
5387
  */
5118
5388
 
5119
5389
  /**
5120
5390
  * Whether the data point is selected initially.
5121
5391
  *
5122
- * @type {Boolean}
5123
- * @default false
5124
- * @product highcharts highstock
5392
+ * @type {boolean}
5393
+ * @default false
5394
+ * @product highcharts highstock
5125
5395
  * @apioption series.line.data.selected
5126
5396
  */
5127
5397
 
@@ -5129,30 +5399,29 @@ H.Series = H.seriesType('line', null, { // base series options
5129
5399
  * The x value of the point. For datetime axes, the X value is the timestamp
5130
5400
  * in milliseconds since 1970.
5131
5401
  *
5132
- * @type {Number}
5133
- * @product highcharts highstock
5402
+ * @type {number}
5403
+ * @product highcharts highstock
5134
5404
  * @apioption series.line.data.x
5135
5405
  */
5136
5406
 
5137
5407
  /**
5138
5408
  * The y value of the point.
5139
5409
  *
5140
- * @type {Number}
5141
- * @default null
5142
- * @product highcharts highstock
5410
+ * @type {number}
5411
+ * @product highcharts highstock
5143
5412
  * @apioption series.line.data.y
5144
5413
  */
5145
5414
 
5146
5415
  /**
5147
5416
  * Individual point events
5148
5417
  *
5149
- * @extends plotOptions.series.point.events
5150
- * @product highcharts highstock
5418
+ * @extends plotOptions.series.point.events
5419
+ * @product highcharts highstock
5151
5420
  * @apioption series.line.data.events
5152
5421
  */
5153
5422
 
5154
5423
  /**
5155
- * @extends plotOptions.series.marker
5156
- * @product highcharts highstock
5424
+ * @extends plotOptions.series.marker
5425
+ * @product highcharts highstock
5157
5426
  * @apioption series.line.data.marker
5158
5427
  */