highcharts 6.1.4 → 6.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (695) hide show
  1. package/bower.json +1 -1
  2. package/css/highcharts.css +17 -0
  3. package/css/highcharts.scss +14 -0
  4. package/css/themes/dark-unica.css +17 -0
  5. package/css/themes/grid-light.css +17 -0
  6. package/css/themes/sand-signika.css +17 -0
  7. package/es-modules/indicators/momentum.src.js +1 -1
  8. package/es-modules/indicators/pivot-points.src.js +6 -1
  9. package/es-modules/masters/highcharts-gantt.src.js +11 -0
  10. package/es-modules/masters/modules/annotations.src.js +1 -1
  11. package/es-modules/masters/modules/arrow-symbols.src.js +12 -0
  12. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  13. package/es-modules/masters/modules/current-date-indicator.src.js +12 -0
  14. package/es-modules/masters/modules/data.src.js +1 -1
  15. package/es-modules/masters/modules/draggable-points.src.js +9 -0
  16. package/es-modules/masters/modules/export-data.src.js +1 -1
  17. package/es-modules/masters/modules/exporting.src.js +1 -1
  18. package/es-modules/masters/modules/funnel.src.js +1 -1
  19. package/es-modules/masters/modules/gantt.src.js +2 -1
  20. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  21. package/es-modules/masters/modules/heatmap.src.js +1 -1
  22. package/es-modules/masters/modules/item-series.src.js +1 -1
  23. package/es-modules/masters/modules/map.src.js +1 -1
  24. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  25. package/es-modules/masters/modules/pathfinder.src.js +12 -0
  26. package/es-modules/masters/modules/sankey.src.js +1 -1
  27. package/es-modules/masters/modules/series-label.src.js +1 -1
  28. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  29. package/es-modules/masters/modules/stock.src.js +1 -1
  30. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  31. package/es-modules/masters/modules/treegrid.src.js +12 -0
  32. package/es-modules/masters/modules/variwide.src.js +1 -1
  33. package/es-modules/masters/modules/vector.src.js +1 -1
  34. package/es-modules/masters/modules/windbarb.src.js +1 -1
  35. package/es-modules/masters/modules/xrange.src.js +1 -1
  36. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  37. package/es-modules/masters/themes/dark-green.src.js +1 -1
  38. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  39. package/es-modules/masters/themes/gray.src.js +1 -1
  40. package/es-modules/masters/themes/grid-light.src.js +1 -1
  41. package/es-modules/masters/themes/grid.src.js +1 -1
  42. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  43. package/es-modules/masters/themes/skies.src.js +1 -1
  44. package/es-modules/mixins/centered-series.js +1 -1
  45. package/es-modules/mixins/on-series.js +1 -1
  46. package/es-modules/modules/boost.src.js +22 -14
  47. package/es-modules/modules/broken-axis.src.js +169 -134
  48. package/es-modules/modules/data.src.js +2 -2
  49. package/es-modules/modules/draggable-points.src.js +2257 -0
  50. package/es-modules/modules/drilldown.src.js +1 -0
  51. package/es-modules/modules/export-data.src.js +1 -1
  52. package/es-modules/modules/exporting.src.js +1 -1
  53. package/es-modules/modules/funnel.src.js +1 -1
  54. package/es-modules/modules/item-series.src.js +1 -1
  55. package/es-modules/modules/no-data-to-display.src.js +5 -5
  56. package/es-modules/modules/oldie.src.js +1 -1
  57. package/es-modules/modules/overlapping-datalabels.src.js +38 -22
  58. package/es-modules/modules/parallel-coordinates.src.js +3 -2
  59. package/es-modules/modules/sankey.src.js +1 -1
  60. package/es-modules/modules/series-label.src.js +2 -2
  61. package/es-modules/modules/solid-gauge.src.js +1 -1
  62. package/es-modules/modules/static-scale.src.js +67 -28
  63. package/es-modules/modules/streamgraph.src.js +1 -1
  64. package/es-modules/modules/tilemap.src.js +231 -134
  65. package/es-modules/modules/variwide.src.js +1 -1
  66. package/es-modules/modules/vector.src.js +92 -22
  67. package/es-modules/modules/windbarb.src.js +1 -1
  68. package/es-modules/modules/xrange.src.js +257 -77
  69. package/es-modules/parts/AreaSeries.js +77 -77
  70. package/es-modules/parts/AreaSplineSeries.js +64 -27
  71. package/es-modules/parts/Axis.js +160 -67
  72. package/es-modules/parts/BarSeries.js +68 -51
  73. package/es-modules/parts/CandlestickSeries.js +1 -1
  74. package/es-modules/parts/Chart.js +31 -55
  75. package/es-modules/parts/Color.js +29 -18
  76. package/es-modules/parts/ColumnSeries.js +264 -142
  77. package/es-modules/parts/DataGrouping.js +9 -6
  78. package/es-modules/parts/DataLabels.js +261 -210
  79. package/es-modules/parts/DateTimeAxis.js +26 -7
  80. package/es-modules/parts/Dynamics.js +5 -2
  81. package/es-modules/parts/FlagsSeries.js +1 -1
  82. package/es-modules/parts/Globals.js +1 -1
  83. package/es-modules/parts/Html.js +64 -12
  84. package/es-modules/parts/Interaction.js +187 -63
  85. package/es-modules/parts/Legend.js +7 -3
  86. package/es-modules/parts/LogarithmicAxis.js +35 -4
  87. package/es-modules/parts/MSPointer.js +1 -1
  88. package/es-modules/parts/Navigator.js +27 -5
  89. package/es-modules/parts/OHLCSeries.js +1 -1
  90. package/es-modules/parts/Options.js +15 -13
  91. package/es-modules/parts/OrdinalAxis.js +1 -1
  92. package/es-modules/parts/PieSeries.js +256 -140
  93. package/es-modules/parts/PlotBandSeries.experimental.js +1 -1
  94. package/es-modules/parts/PlotLineOrBand.js +7 -40
  95. package/es-modules/parts/Point.js +28 -4
  96. package/es-modules/parts/Pointer.js +8 -6
  97. package/es-modules/parts/RangeSelector.js +1 -1
  98. package/es-modules/parts/Responsive.js +82 -36
  99. package/es-modules/parts/ScatterSeries.js +57 -25
  100. package/es-modules/parts/ScrollablePlotArea.js +17 -7
  101. package/es-modules/parts/Scrollbar.js +9 -2
  102. package/es-modules/parts/Series.js +22 -9
  103. package/es-modules/parts/SplineSeries.js +51 -29
  104. package/es-modules/parts/Stacking.js +100 -6
  105. package/es-modules/parts/StockChart.js +9 -3
  106. package/es-modules/parts/SvgRenderer.js +15 -10
  107. package/es-modules/parts/Tick.js +150 -30
  108. package/es-modules/parts/Time.js +23 -5
  109. package/es-modules/parts/Tooltip.js +2 -2
  110. package/es-modules/parts/TouchPointer.js +1 -1
  111. package/es-modules/parts/Utilities.js +16 -1
  112. package/es-modules/parts-3d/Axis.js +1 -1
  113. package/es-modules/parts-3d/Chart.js +1 -1
  114. package/es-modules/parts-3d/Column.js +1 -1
  115. package/es-modules/parts-3d/Math.js +1 -1
  116. package/es-modules/parts-3d/Pie.js +1 -1
  117. package/es-modules/parts-3d/SVGRenderer.js +1 -1
  118. package/es-modules/parts-3d/Scatter.js +1 -1
  119. package/es-modules/parts-3d/Series.js +1 -1
  120. package/es-modules/parts-3d/VMLRenderer.js +1 -1
  121. package/es-modules/parts-gantt/ArrowSymbols.js +110 -0
  122. package/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
  123. package/es-modules/parts-gantt/GanttChart.js +111 -0
  124. package/es-modules/parts-gantt/GanttSeries.js +376 -0
  125. package/es-modules/parts-gantt/GridAxis.js +965 -0
  126. package/es-modules/parts-gantt/Pathfinder.js +1247 -0
  127. package/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
  128. package/es-modules/parts-gantt/Tree.js +146 -0
  129. package/es-modules/parts-gantt/TreeGrid.js +917 -0
  130. package/es-modules/parts-map/ColorAxis.js +1 -1
  131. package/es-modules/parts-map/ColorSeriesMixin.js +1 -1
  132. package/es-modules/parts-map/GeoJSON.js +1 -1
  133. package/es-modules/parts-map/HeatmapSeries.js +124 -53
  134. package/es-modules/parts-map/Map.js +1 -1
  135. package/es-modules/parts-map/MapAxis.js +1 -1
  136. package/es-modules/parts-map/MapBubbleSeries.js +1 -1
  137. package/es-modules/parts-map/MapLineSeries.js +1 -1
  138. package/es-modules/parts-map/MapNavigation.js +1 -1
  139. package/es-modules/parts-map/MapPointSeries.js +1 -1
  140. package/es-modules/parts-map/MapPointer.js +1 -1
  141. package/es-modules/parts-map/MapSeries.js +2 -2
  142. package/es-modules/parts-more/AreaRangeSeries.js +80 -38
  143. package/es-modules/parts-more/AreaSplineRangeSeries.js +1 -1
  144. package/es-modules/parts-more/BoxPlotSeries.js +1 -1
  145. package/es-modules/parts-more/BubbleSeries.js +1 -1
  146. package/es-modules/parts-more/ColumnRangeSeries.js +1 -1
  147. package/es-modules/parts-more/ErrorBarSeries.js +1 -1
  148. package/es-modules/parts-more/GaugeSeries.js +1 -1
  149. package/es-modules/parts-more/Pane.js +2 -1
  150. package/es-modules/parts-more/Polar.js +1 -1
  151. package/es-modules/parts-more/PolygonSeries.js +1 -1
  152. package/es-modules/parts-more/RadialAxis.js +5 -4
  153. package/es-modules/parts-more/WaterfallSeries.js +1 -1
  154. package/es-modules/supplemental.docs.js +0 -1955
  155. package/es-modules/themes/dark-blue.js +1 -1
  156. package/es-modules/themes/dark-green.js +1 -1
  157. package/es-modules/themes/dark-unica.js +1 -1
  158. package/es-modules/themes/gray.js +1 -1
  159. package/es-modules/themes/grid-light.js +1 -1
  160. package/es-modules/themes/grid.js +1 -1
  161. package/es-modules/themes/sand-signika.js +1 -1
  162. package/es-modules/themes/skies.js +1 -1
  163. package/highcharts-3d.js +1 -1
  164. package/highcharts-3d.src.js +10 -10
  165. package/highcharts-gantt.js +503 -0
  166. package/highcharts-gantt.js.map +1 -0
  167. package/highcharts-gantt.src.js +49289 -0
  168. package/highcharts-more.js +65 -64
  169. package/highcharts-more.js.map +1 -1
  170. package/highcharts-more.src.js +97 -53
  171. package/highcharts.js +415 -410
  172. package/highcharts.js.map +1 -1
  173. package/highcharts.src.js +2170 -1128
  174. package/highmaps.js +443 -438
  175. package/highmaps.js.map +1 -1
  176. package/highmaps.src.js +1647 -849
  177. package/highstock.js +553 -548
  178. package/highstock.js.map +1 -1
  179. package/highstock.src.js +2398 -1283
  180. package/indicators/accumulation-distribution.js +1 -1
  181. package/indicators/accumulation-distribution.src.js +1 -1
  182. package/indicators/atr.js +1 -1
  183. package/indicators/atr.src.js +1 -1
  184. package/indicators/bollinger-bands.js +1 -1
  185. package/indicators/bollinger-bands.src.js +1 -1
  186. package/indicators/cci.js +1 -1
  187. package/indicators/cci.src.js +1 -1
  188. package/indicators/cmf.js +1 -1
  189. package/indicators/cmf.src.js +1 -1
  190. package/indicators/ema.js +1 -1
  191. package/indicators/ema.src.js +1 -1
  192. package/indicators/ichimoku-kinko-hyo.js +1 -1
  193. package/indicators/ichimoku-kinko-hyo.src.js +1 -1
  194. package/indicators/indicators.js +1 -1
  195. package/indicators/indicators.src.js +1 -1
  196. package/indicators/macd.js +1 -1
  197. package/indicators/macd.src.js +1 -1
  198. package/indicators/mfi.js +1 -1
  199. package/indicators/mfi.src.js +1 -1
  200. package/indicators/momentum.js +1 -1
  201. package/indicators/momentum.src.js +2 -2
  202. package/indicators/pivot-points.js +4 -4
  203. package/indicators/pivot-points.js.map +1 -1
  204. package/indicators/pivot-points.src.js +7 -2
  205. package/indicators/price-envelopes.js +1 -1
  206. package/indicators/price-envelopes.src.js +1 -1
  207. package/indicators/psar.js +1 -1
  208. package/indicators/psar.src.js +1 -1
  209. package/indicators/roc.js +1 -1
  210. package/indicators/roc.src.js +1 -1
  211. package/indicators/rsi.js +1 -1
  212. package/indicators/rsi.src.js +1 -1
  213. package/indicators/stochastic.js +1 -1
  214. package/indicators/stochastic.src.js +1 -1
  215. package/indicators/volume-by-price.js +1 -1
  216. package/indicators/volume-by-price.src.js +1 -1
  217. package/indicators/vwap.js +1 -1
  218. package/indicators/vwap.src.js +1 -1
  219. package/indicators/wma.js +1 -1
  220. package/indicators/wma.src.js +1 -1
  221. package/indicators/zigzag.js +1 -1
  222. package/indicators/zigzag.src.js +1 -1
  223. package/js/es-modules/indicators/momentum.src.js +1 -1
  224. package/js/es-modules/indicators/pivot-points.src.js +6 -1
  225. package/js/es-modules/masters/highcharts-gantt.src.js +11 -0
  226. package/js/es-modules/masters/modules/annotations.src.js +1 -1
  227. package/js/es-modules/masters/modules/arrow-symbols.src.js +12 -0
  228. package/js/es-modules/masters/modules/broken-axis.src.js +1 -1
  229. package/js/es-modules/masters/modules/current-date-indicator.src.js +12 -0
  230. package/js/es-modules/masters/modules/data.src.js +1 -1
  231. package/js/es-modules/masters/modules/draggable-points.src.js +9 -0
  232. package/js/es-modules/masters/modules/export-data.src.js +1 -1
  233. package/js/es-modules/masters/modules/exporting.src.js +1 -1
  234. package/js/es-modules/masters/modules/funnel.src.js +1 -1
  235. package/js/es-modules/masters/modules/gantt.src.js +2 -1
  236. package/js/es-modules/masters/modules/grid-axis.src.js +1 -1
  237. package/js/es-modules/masters/modules/heatmap.src.js +1 -1
  238. package/js/es-modules/masters/modules/item-series.src.js +1 -1
  239. package/js/es-modules/masters/modules/map.src.js +1 -1
  240. package/js/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  241. package/js/es-modules/masters/modules/pathfinder.src.js +12 -0
  242. package/js/es-modules/masters/modules/sankey.src.js +1 -1
  243. package/js/es-modules/masters/modules/series-label.src.js +1 -1
  244. package/js/es-modules/masters/modules/solid-gauge.src.js +1 -1
  245. package/js/es-modules/masters/modules/stock.src.js +1 -1
  246. package/js/es-modules/masters/modules/streamgraph.src.js +1 -1
  247. package/js/es-modules/masters/modules/treegrid.src.js +12 -0
  248. package/js/es-modules/masters/modules/variwide.src.js +1 -1
  249. package/js/es-modules/masters/modules/vector.src.js +1 -1
  250. package/js/es-modules/masters/modules/windbarb.src.js +1 -1
  251. package/js/es-modules/masters/modules/xrange.src.js +1 -1
  252. package/js/es-modules/masters/themes/dark-blue.src.js +1 -1
  253. package/js/es-modules/masters/themes/dark-green.src.js +1 -1
  254. package/js/es-modules/masters/themes/dark-unica.src.js +1 -1
  255. package/js/es-modules/masters/themes/gray.src.js +1 -1
  256. package/js/es-modules/masters/themes/grid-light.src.js +1 -1
  257. package/js/es-modules/masters/themes/grid.src.js +1 -1
  258. package/js/es-modules/masters/themes/sand-signika.src.js +1 -1
  259. package/js/es-modules/masters/themes/skies.src.js +1 -1
  260. package/js/es-modules/mixins/centered-series.js +1 -1
  261. package/js/es-modules/mixins/on-series.js +1 -1
  262. package/js/es-modules/modules/boost.src.js +22 -14
  263. package/js/es-modules/modules/broken-axis.src.js +169 -134
  264. package/js/es-modules/modules/data.src.js +2 -2
  265. package/js/es-modules/modules/draggable-points.src.js +2257 -0
  266. package/js/es-modules/modules/drilldown.src.js +1 -0
  267. package/js/es-modules/modules/export-data.src.js +1 -1
  268. package/js/es-modules/modules/exporting.src.js +1 -1
  269. package/js/es-modules/modules/funnel.src.js +1 -1
  270. package/js/es-modules/modules/item-series.src.js +1 -1
  271. package/js/es-modules/modules/no-data-to-display.src.js +5 -5
  272. package/js/es-modules/modules/oldie.src.js +1 -1
  273. package/js/es-modules/modules/overlapping-datalabels.src.js +38 -22
  274. package/js/es-modules/modules/parallel-coordinates.src.js +3 -2
  275. package/js/es-modules/modules/sankey.src.js +1 -1
  276. package/js/es-modules/modules/series-label.src.js +2 -2
  277. package/js/es-modules/modules/solid-gauge.src.js +1 -1
  278. package/js/es-modules/modules/static-scale.src.js +67 -28
  279. package/js/es-modules/modules/streamgraph.src.js +1 -1
  280. package/js/es-modules/modules/tilemap.src.js +231 -134
  281. package/js/es-modules/modules/variwide.src.js +1 -1
  282. package/js/es-modules/modules/vector.src.js +92 -22
  283. package/js/es-modules/modules/windbarb.src.js +1 -1
  284. package/js/es-modules/modules/xrange.src.js +255 -68
  285. package/js/es-modules/parts/AreaSeries.js +77 -77
  286. package/js/es-modules/parts/AreaSplineSeries.js +64 -27
  287. package/js/es-modules/parts/Axis.js +160 -67
  288. package/js/es-modules/parts/BarSeries.js +68 -51
  289. package/js/es-modules/parts/CandlestickSeries.js +1 -1
  290. package/js/es-modules/parts/Chart.js +31 -55
  291. package/js/es-modules/parts/Color.js +29 -18
  292. package/js/es-modules/parts/ColumnSeries.js +231 -123
  293. package/js/es-modules/parts/DataGrouping.js +9 -6
  294. package/js/es-modules/parts/DataLabels.js +230 -182
  295. package/js/es-modules/parts/DateTimeAxis.js +26 -7
  296. package/js/es-modules/parts/Dynamics.js +5 -2
  297. package/js/es-modules/parts/FlagsSeries.js +1 -1
  298. package/js/es-modules/parts/Globals.js +1 -1
  299. package/js/es-modules/parts/Html.js +64 -12
  300. package/js/es-modules/parts/Interaction.js +178 -61
  301. package/js/es-modules/parts/Legend.js +7 -3
  302. package/js/es-modules/parts/LogarithmicAxis.js +35 -4
  303. package/js/es-modules/parts/MSPointer.js +1 -1
  304. package/js/es-modules/parts/Navigator.js +27 -5
  305. package/js/es-modules/parts/OHLCSeries.js +1 -1
  306. package/js/es-modules/parts/Options.js +13 -12
  307. package/js/es-modules/parts/OrdinalAxis.js +1 -1
  308. package/js/es-modules/parts/PieSeries.js +245 -132
  309. package/js/es-modules/parts/PlotBandSeries.experimental.js +1 -1
  310. package/js/es-modules/parts/PlotLineOrBand.js +7 -40
  311. package/js/es-modules/parts/Point.js +28 -4
  312. package/js/es-modules/parts/Pointer.js +8 -6
  313. package/js/es-modules/parts/RangeSelector.js +1 -1
  314. package/js/es-modules/parts/Responsive.js +82 -36
  315. package/js/es-modules/parts/ScatterSeries.js +56 -25
  316. package/js/es-modules/parts/ScrollablePlotArea.js +17 -7
  317. package/js/es-modules/parts/Scrollbar.js +9 -2
  318. package/js/es-modules/parts/Series.js +22 -9
  319. package/js/es-modules/parts/SplineSeries.js +51 -29
  320. package/js/es-modules/parts/Stacking.js +100 -6
  321. package/js/es-modules/parts/StockChart.js +9 -3
  322. package/js/es-modules/parts/SvgRenderer.js +15 -10
  323. package/js/es-modules/parts/Tick.js +150 -30
  324. package/js/es-modules/parts/Time.js +23 -5
  325. package/js/es-modules/parts/Tooltip.js +2 -2
  326. package/js/es-modules/parts/TouchPointer.js +1 -1
  327. package/js/es-modules/parts/Utilities.js +16 -1
  328. package/js/es-modules/parts-3d/Axis.js +1 -1
  329. package/js/es-modules/parts-3d/Chart.js +1 -1
  330. package/js/es-modules/parts-3d/Column.js +1 -1
  331. package/js/es-modules/parts-3d/Math.js +1 -1
  332. package/js/es-modules/parts-3d/Pie.js +1 -1
  333. package/js/es-modules/parts-3d/SVGRenderer.js +1 -1
  334. package/js/es-modules/parts-3d/Scatter.js +1 -1
  335. package/js/es-modules/parts-3d/Series.js +1 -1
  336. package/js/es-modules/parts-3d/VMLRenderer.js +1 -1
  337. package/js/es-modules/parts-gantt/ArrowSymbols.js +110 -0
  338. package/js/es-modules/parts-gantt/CurrentDateIndicator.js +92 -0
  339. package/js/es-modules/parts-gantt/GanttChart.js +111 -0
  340. package/js/es-modules/parts-gantt/GanttSeries.js +371 -0
  341. package/js/es-modules/parts-gantt/GridAxis.js +962 -0
  342. package/js/es-modules/parts-gantt/Pathfinder.js +1225 -0
  343. package/js/es-modules/parts-gantt/PathfinderAlgorithms.js +746 -0
  344. package/js/es-modules/parts-gantt/Tree.js +146 -0
  345. package/js/es-modules/parts-gantt/TreeGrid.js +891 -0
  346. package/js/es-modules/parts-map/ColorAxis.js +1 -1
  347. package/js/es-modules/parts-map/ColorSeriesMixin.js +1 -1
  348. package/js/es-modules/parts-map/GeoJSON.js +1 -1
  349. package/js/es-modules/parts-map/HeatmapSeries.js +122 -52
  350. package/js/es-modules/parts-map/Map.js +1 -1
  351. package/js/es-modules/parts-map/MapAxis.js +1 -1
  352. package/js/es-modules/parts-map/MapBubbleSeries.js +1 -1
  353. package/js/es-modules/parts-map/MapLineSeries.js +1 -1
  354. package/js/es-modules/parts-map/MapNavigation.js +1 -1
  355. package/js/es-modules/parts-map/MapPointSeries.js +1 -1
  356. package/js/es-modules/parts-map/MapPointer.js +1 -1
  357. package/js/es-modules/parts-map/MapSeries.js +2 -2
  358. package/js/es-modules/parts-more/AreaRangeSeries.js +80 -38
  359. package/js/es-modules/parts-more/AreaSplineRangeSeries.js +1 -1
  360. package/js/es-modules/parts-more/BoxPlotSeries.js +1 -1
  361. package/js/es-modules/parts-more/BubbleSeries.js +1 -1
  362. package/js/es-modules/parts-more/ColumnRangeSeries.js +1 -1
  363. package/js/es-modules/parts-more/ErrorBarSeries.js +1 -1
  364. package/js/es-modules/parts-more/GaugeSeries.js +1 -1
  365. package/js/es-modules/parts-more/Pane.js +2 -1
  366. package/js/es-modules/parts-more/Polar.js +1 -1
  367. package/js/es-modules/parts-more/PolygonSeries.js +1 -1
  368. package/js/es-modules/parts-more/RadialAxis.js +5 -4
  369. package/js/es-modules/parts-more/WaterfallSeries.js +1 -1
  370. package/js/es-modules/supplemental.docs.js +0 -1955
  371. package/js/es-modules/themes/dark-blue.js +1 -1
  372. package/js/es-modules/themes/dark-green.js +1 -1
  373. package/js/es-modules/themes/dark-unica.js +1 -1
  374. package/js/es-modules/themes/gray.js +1 -1
  375. package/js/es-modules/themes/grid-light.js +1 -1
  376. package/js/es-modules/themes/grid.js +1 -1
  377. package/js/es-modules/themes/sand-signika.js +1 -1
  378. package/js/es-modules/themes/skies.js +1 -1
  379. package/js/highcharts-3d.js +1 -1
  380. package/js/highcharts-3d.src.js +10 -10
  381. package/js/highcharts-gantt.js +480 -0
  382. package/js/highcharts-gantt.js.map +1 -0
  383. package/js/highcharts-gantt.src.js +47011 -0
  384. package/js/highcharts-more.js +62 -61
  385. package/js/highcharts-more.js.map +1 -1
  386. package/js/highcharts-more.src.js +97 -53
  387. package/js/highcharts.js +394 -390
  388. package/js/highcharts.js.map +1 -1
  389. package/js/highcharts.src.js +2083 -1070
  390. package/js/highmaps.js +420 -416
  391. package/js/highmaps.js.map +1 -1
  392. package/js/highmaps.src.js +1569 -798
  393. package/js/highstock.js +526 -520
  394. package/js/highstock.js.map +1 -1
  395. package/js/highstock.src.js +2311 -1225
  396. package/js/indicators/accumulation-distribution.js +1 -1
  397. package/js/indicators/accumulation-distribution.src.js +1 -1
  398. package/js/indicators/atr.js +1 -1
  399. package/js/indicators/atr.src.js +1 -1
  400. package/js/indicators/bollinger-bands.js +1 -1
  401. package/js/indicators/bollinger-bands.src.js +1 -1
  402. package/js/indicators/cci.js +1 -1
  403. package/js/indicators/cci.src.js +1 -1
  404. package/js/indicators/cmf.js +1 -1
  405. package/js/indicators/cmf.src.js +1 -1
  406. package/js/indicators/ema.js +1 -1
  407. package/js/indicators/ema.src.js +1 -1
  408. package/js/indicators/ichimoku-kinko-hyo.js +1 -1
  409. package/js/indicators/ichimoku-kinko-hyo.src.js +1 -1
  410. package/js/indicators/indicators.js +1 -1
  411. package/js/indicators/indicators.src.js +1 -1
  412. package/js/indicators/macd.js +1 -1
  413. package/js/indicators/macd.src.js +1 -1
  414. package/js/indicators/mfi.js +1 -1
  415. package/js/indicators/mfi.src.js +1 -1
  416. package/js/indicators/momentum.js +1 -1
  417. package/js/indicators/momentum.src.js +2 -2
  418. package/js/indicators/pivot-points.js +4 -4
  419. package/js/indicators/pivot-points.js.map +1 -1
  420. package/js/indicators/pivot-points.src.js +7 -2
  421. package/js/indicators/price-envelopes.js +1 -1
  422. package/js/indicators/price-envelopes.src.js +1 -1
  423. package/js/indicators/psar.js +1 -1
  424. package/js/indicators/psar.src.js +1 -1
  425. package/js/indicators/roc.js +1 -1
  426. package/js/indicators/roc.src.js +1 -1
  427. package/js/indicators/rsi.js +1 -1
  428. package/js/indicators/rsi.src.js +1 -1
  429. package/js/indicators/stochastic.js +1 -1
  430. package/js/indicators/stochastic.src.js +1 -1
  431. package/js/indicators/volume-by-price.js +1 -1
  432. package/js/indicators/volume-by-price.src.js +1 -1
  433. package/js/indicators/vwap.js +1 -1
  434. package/js/indicators/vwap.src.js +1 -1
  435. package/js/indicators/wma.js +1 -1
  436. package/js/indicators/wma.src.js +1 -1
  437. package/js/indicators/zigzag.js +1 -1
  438. package/js/indicators/zigzag.src.js +1 -1
  439. package/js/modules/accessibility.js +1 -1
  440. package/js/modules/accessibility.src.js +1 -1
  441. package/js/modules/annotations.js +2 -2
  442. package/js/modules/annotations.src.js +2 -2
  443. package/js/modules/arrow-symbols.js +13 -0
  444. package/js/modules/arrow-symbols.js.map +1 -0
  445. package/js/modules/arrow-symbols.src.js +138 -0
  446. package/js/modules/boost-canvas.js +1 -1
  447. package/js/modules/boost-canvas.src.js +1 -1
  448. package/js/modules/boost.js +43 -43
  449. package/js/modules/boost.js.map +1 -1
  450. package/js/modules/boost.src.js +23 -15
  451. package/js/modules/broken-axis.js +11 -10
  452. package/js/modules/broken-axis.js.map +1 -1
  453. package/js/modules/broken-axis.src.js +171 -136
  454. package/js/modules/bullet.js +1 -1
  455. package/js/modules/bullet.src.js +1 -1
  456. package/js/modules/current-date-indicator.js +13 -0
  457. package/js/modules/current-date-indicator.js.map +1 -0
  458. package/js/modules/current-date-indicator.src.js +120 -0
  459. package/js/modules/data.js +2 -2
  460. package/js/modules/data.src.js +4 -4
  461. package/js/modules/drag-panes.js +1 -1
  462. package/js/modules/drag-panes.src.js +1 -1
  463. package/js/modules/draggable-points.js +38 -0
  464. package/js/modules/draggable-points.js.map +1 -0
  465. package/js/modules/draggable-points.src.js +2281 -0
  466. package/js/modules/drilldown.js +1 -1
  467. package/js/modules/drilldown.js.map +1 -1
  468. package/js/modules/drilldown.src.js +2 -1
  469. package/js/modules/export-data.js +2 -2
  470. package/js/modules/export-data.src.js +3 -3
  471. package/js/modules/exporting.js +2 -2
  472. package/js/modules/exporting.src.js +3 -3
  473. package/js/modules/funnel.js +2 -2
  474. package/js/modules/funnel.src.js +3 -3
  475. package/js/modules/gantt.js +80 -18
  476. package/js/modules/gantt.js.map +1 -1
  477. package/js/modules/gantt.src.js +5490 -372
  478. package/js/modules/grid-axis.js +15 -11
  479. package/js/modules/grid-axis.js.map +1 -1
  480. package/js/modules/grid-axis.src.js +731 -293
  481. package/js/modules/heatmap.js +2 -2
  482. package/js/modules/heatmap.js.map +1 -1
  483. package/js/modules/heatmap.src.js +126 -56
  484. package/js/modules/histogram-bellcurve.js +1 -1
  485. package/js/modules/histogram-bellcurve.src.js +1 -1
  486. package/js/modules/item-series.js +2 -2
  487. package/js/modules/item-series.src.js +3 -3
  488. package/js/modules/map.js +2 -2
  489. package/js/modules/map.js.map +1 -1
  490. package/js/modules/map.src.js +137 -67
  491. package/js/modules/no-data-to-display.js +1 -1
  492. package/js/modules/no-data-to-display.src.js +6 -6
  493. package/js/modules/offline-exporting.js +2 -2
  494. package/js/modules/offline-exporting.src.js +2 -2
  495. package/js/modules/oldie.js +2 -2
  496. package/js/modules/oldie.src.js +3 -3
  497. package/js/modules/overlapping-datalabels.js +2 -2
  498. package/js/modules/overlapping-datalabels.src.js +2 -2
  499. package/js/modules/parallel-coordinates.js +9 -9
  500. package/js/modules/parallel-coordinates.js.map +1 -1
  501. package/js/modules/parallel-coordinates.src.js +4 -3
  502. package/js/modules/pareto.js +1 -1
  503. package/js/modules/pareto.src.js +1 -1
  504. package/js/modules/pathfinder.js +34 -0
  505. package/js/modules/pathfinder.js.map +1 -0
  506. package/js/modules/pathfinder.src.js +2106 -0
  507. package/js/modules/pattern-fill.js +1 -1
  508. package/js/modules/pattern-fill.src.js +1 -1
  509. package/js/modules/sankey.js +2 -2
  510. package/js/modules/sankey.src.js +3 -3
  511. package/js/modules/series-label.js +2 -2
  512. package/js/modules/series-label.src.js +4 -4
  513. package/js/modules/solid-gauge.js +2 -2
  514. package/js/modules/solid-gauge.src.js +3 -3
  515. package/js/modules/static-scale.js +3 -3
  516. package/js/modules/static-scale.js.map +1 -1
  517. package/js/modules/static-scale.src.js +65 -26
  518. package/js/modules/stock.js +135 -134
  519. package/js/modules/stock.js.map +1 -1
  520. package/js/modules/stock.src.js +230 -157
  521. package/js/modules/streamgraph.js +2 -2
  522. package/js/modules/streamgraph.src.js +3 -3
  523. package/js/modules/sunburst.js +1 -1
  524. package/js/modules/sunburst.src.js +1 -1
  525. package/js/modules/tilemap.js +1 -1
  526. package/js/modules/tilemap.js.map +1 -1
  527. package/js/modules/tilemap.src.js +355 -188
  528. package/js/modules/treegrid.js +51 -0
  529. package/js/modules/treegrid.js.map +1 -0
  530. package/js/modules/treegrid.src.js +2759 -0
  531. package/js/modules/treemap.js +1 -1
  532. package/js/modules/treemap.src.js +1 -1
  533. package/js/modules/variable-pie.js +1 -1
  534. package/js/modules/variable-pie.src.js +1 -1
  535. package/js/modules/variwide.js +2 -2
  536. package/js/modules/variwide.src.js +3 -3
  537. package/js/modules/vector.js +2 -2
  538. package/js/modules/vector.js.map +1 -1
  539. package/js/modules/vector.src.js +94 -24
  540. package/js/modules/windbarb.js +2 -2
  541. package/js/modules/windbarb.src.js +4 -4
  542. package/js/modules/wordcloud.js +1 -1
  543. package/js/modules/wordcloud.src.js +1 -1
  544. package/js/modules/xrange.js +11 -10
  545. package/js/modules/xrange.js.map +1 -1
  546. package/js/modules/xrange.src.js +257 -70
  547. package/js/themes/avocado.js +1 -1
  548. package/js/themes/avocado.src.js +1 -1
  549. package/js/themes/dark-blue.js +2 -2
  550. package/js/themes/dark-blue.src.js +3 -3
  551. package/js/themes/dark-green.js +2 -2
  552. package/js/themes/dark-green.src.js +3 -3
  553. package/js/themes/dark-unica.js +2 -2
  554. package/js/themes/dark-unica.src.js +3 -3
  555. package/js/themes/gray.js +2 -2
  556. package/js/themes/gray.src.js +3 -3
  557. package/js/themes/grid-light.js +2 -2
  558. package/js/themes/grid-light.src.js +3 -3
  559. package/js/themes/grid.js +2 -2
  560. package/js/themes/grid.src.js +3 -3
  561. package/js/themes/sand-signika.js +2 -2
  562. package/js/themes/sand-signika.src.js +3 -3
  563. package/js/themes/skies.js +2 -2
  564. package/js/themes/skies.src.js +3 -3
  565. package/js/themes/sunset.js +1 -1
  566. package/js/themes/sunset.src.js +1 -1
  567. package/modules/accessibility.js +1 -1
  568. package/modules/accessibility.src.js +1 -1
  569. package/modules/annotations.js +2 -2
  570. package/modules/annotations.src.js +2 -2
  571. package/modules/arrow-symbols.js +13 -0
  572. package/modules/arrow-symbols.js.map +1 -0
  573. package/modules/arrow-symbols.src.js +138 -0
  574. package/modules/boost-canvas.js +1 -1
  575. package/modules/boost-canvas.src.js +1 -1
  576. package/modules/boost.js +36 -36
  577. package/modules/boost.js.map +1 -1
  578. package/modules/boost.src.js +23 -15
  579. package/modules/broken-axis.js +11 -10
  580. package/modules/broken-axis.js.map +1 -1
  581. package/modules/broken-axis.src.js +171 -136
  582. package/modules/bullet.js +1 -1
  583. package/modules/bullet.src.js +1 -1
  584. package/modules/current-date-indicator.js +13 -0
  585. package/modules/current-date-indicator.js.map +1 -0
  586. package/modules/current-date-indicator.src.js +120 -0
  587. package/modules/data.js +2 -2
  588. package/modules/data.src.js +4 -4
  589. package/modules/drag-panes.js +1 -1
  590. package/modules/drag-panes.src.js +1 -1
  591. package/modules/draggable-points.js +38 -0
  592. package/modules/draggable-points.js.map +1 -0
  593. package/modules/draggable-points.src.js +2281 -0
  594. package/modules/drilldown.js +1 -1
  595. package/modules/drilldown.js.map +1 -1
  596. package/modules/drilldown.src.js +2 -1
  597. package/modules/export-data.js +2 -2
  598. package/modules/export-data.src.js +3 -3
  599. package/modules/exporting.js +2 -2
  600. package/modules/exporting.src.js +3 -3
  601. package/modules/funnel.js +2 -2
  602. package/modules/funnel.src.js +3 -3
  603. package/modules/gantt.js +83 -19
  604. package/modules/gantt.js.map +1 -1
  605. package/modules/gantt.src.js +5553 -379
  606. package/modules/grid-axis.js +16 -11
  607. package/modules/grid-axis.js.map +1 -1
  608. package/modules/grid-axis.src.js +732 -293
  609. package/modules/heatmap.js +2 -2
  610. package/modules/heatmap.js.map +1 -1
  611. package/modules/heatmap.src.js +128 -57
  612. package/modules/histogram-bellcurve.js +1 -1
  613. package/modules/histogram-bellcurve.src.js +1 -1
  614. package/modules/item-series.js +2 -2
  615. package/modules/item-series.src.js +3 -3
  616. package/modules/map.js +2 -2
  617. package/modules/map.js.map +1 -1
  618. package/modules/map.src.js +139 -68
  619. package/modules/no-data-to-display.js +1 -1
  620. package/modules/no-data-to-display.src.js +6 -6
  621. package/modules/offline-exporting.js +2 -2
  622. package/modules/offline-exporting.src.js +2 -2
  623. package/modules/oldie.js +2 -2
  624. package/modules/oldie.src.js +3 -3
  625. package/modules/overlapping-datalabels.js +2 -2
  626. package/modules/overlapping-datalabels.src.js +2 -2
  627. package/modules/parallel-coordinates.js +8 -8
  628. package/modules/parallel-coordinates.js.map +1 -1
  629. package/modules/parallel-coordinates.src.js +4 -3
  630. package/modules/pareto.js +1 -1
  631. package/modules/pareto.src.js +1 -1
  632. package/modules/pathfinder.js +35 -0
  633. package/modules/pathfinder.js.map +1 -0
  634. package/modules/pathfinder.src.js +2128 -0
  635. package/modules/pattern-fill.js +1 -1
  636. package/modules/pattern-fill.src.js +1 -1
  637. package/modules/sankey.js +2 -2
  638. package/modules/sankey.src.js +3 -3
  639. package/modules/series-label.js +2 -2
  640. package/modules/series-label.src.js +4 -4
  641. package/modules/solid-gauge.js +2 -2
  642. package/modules/solid-gauge.src.js +3 -3
  643. package/modules/static-scale.js +3 -3
  644. package/modules/static-scale.js.map +1 -1
  645. package/modules/static-scale.src.js +65 -26
  646. package/modules/stock.js +142 -142
  647. package/modules/stock.js.map +1 -1
  648. package/modules/stock.src.js +230 -157
  649. package/modules/streamgraph.js +2 -2
  650. package/modules/streamgraph.src.js +3 -3
  651. package/modules/sunburst.js +1 -1
  652. package/modules/sunburst.src.js +1 -1
  653. package/modules/tilemap.js +1 -1
  654. package/modules/tilemap.js.map +1 -1
  655. package/modules/tilemap.src.js +357 -189
  656. package/modules/treegrid.js +52 -0
  657. package/modules/treegrid.js.map +1 -0
  658. package/modules/treegrid.src.js +2797 -0
  659. package/modules/treemap.js +1 -1
  660. package/modules/treemap.src.js +1 -1
  661. package/modules/variable-pie.js +1 -1
  662. package/modules/variable-pie.src.js +1 -1
  663. package/modules/variwide.js +2 -2
  664. package/modules/variwide.src.js +3 -3
  665. package/modules/vector.js +2 -2
  666. package/modules/vector.js.map +1 -1
  667. package/modules/vector.src.js +94 -24
  668. package/modules/windbarb.js +2 -2
  669. package/modules/windbarb.src.js +4 -4
  670. package/modules/wordcloud.js +1 -1
  671. package/modules/wordcloud.src.js +1 -1
  672. package/modules/xrange.js +12 -11
  673. package/modules/xrange.js.map +1 -1
  674. package/modules/xrange.src.js +259 -79
  675. package/package.json +1 -1
  676. package/themes/avocado.js +1 -1
  677. package/themes/avocado.src.js +1 -1
  678. package/themes/dark-blue.js +2 -2
  679. package/themes/dark-blue.src.js +3 -3
  680. package/themes/dark-green.js +2 -2
  681. package/themes/dark-green.src.js +3 -3
  682. package/themes/dark-unica.js +2 -2
  683. package/themes/dark-unica.src.js +3 -3
  684. package/themes/gray.js +2 -2
  685. package/themes/gray.src.js +3 -3
  686. package/themes/grid-light.js +2 -2
  687. package/themes/grid-light.src.js +3 -3
  688. package/themes/grid.js +2 -2
  689. package/themes/grid.src.js +3 -3
  690. package/themes/sand-signika.js +2 -2
  691. package/themes/sand-signika.src.js +3 -3
  692. package/themes/skies.js +2 -2
  693. package/themes/skies.src.js +3 -3
  694. package/themes/sunset.js +1 -1
  695. package/themes/sunset.src.js +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,9 +1,11 @@
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
+
6
7
  'use strict';
8
+
7
9
  import H from '../parts/Globals.js';
8
10
  import '../parts/Utilities.js';
9
11
  import '../parts/Options.js';
@@ -11,6 +13,7 @@ import '../parts/Point.js';
11
13
  import '../parts/Series.js';
12
14
  import '../parts/Legend.js';
13
15
  import './ColorSeriesMixin.js';
16
+
14
17
  var colorPointMixin = H.colorPointMixin,
15
18
  colorSeriesMixin = H.colorSeriesMixin,
16
19
  each = H.each,
@@ -22,29 +25,36 @@ var colorPointMixin = H.colorPointMixin,
22
25
  seriesType = H.seriesType,
23
26
  seriesTypes = H.seriesTypes;
24
27
 
28
+ /**
29
+ * @private
30
+ * @class
31
+ * @name Highcharts.seriesTypes.heatmap
32
+ *
33
+ * @augments Highcharts.Series
34
+ */
35
+ seriesType('heatmap', 'scatter'
25
36
 
26
37
  /**
27
38
  * A heatmap is a graphical representation of data where the individual values
28
39
  * contained in a matrix are represented as colors.
29
40
  *
30
- * @sample highcharts/demo/heatmap/
31
- * Simple heatmap
32
- * @sample highcharts/demo/heatmap-canvas/
33
- * Heavy heatmap
41
+ * @sample highcharts/demo/heatmap/
42
+ * Simple heatmap
43
+ * @sample highcharts/demo/heatmap-canvas/
44
+ * Heavy heatmap
45
+ *
34
46
  * @extends {plotOptions.scatter}
35
- * @excluding animationLimit,connectEnds,connectNulls,dashStyle,
36
- * findNearestPointBy,getExtremesFromAll,linecap,lineWidth,marker,
37
- * pointInterval,pointIntervalUnit,pointRange,pointStart,shadow,
38
- * softThreshold,stacking,step,threshold
47
+ * @excluding animationLimit, connectEnds, connectNulls, dashStyle,
48
+ * findNearestPointBy, getExtremesFromAll, linecap, lineWidth,
49
+ * marker, pointInterval, pointIntervalUnit, pointRange,
50
+ * pointStart, shadow, softThreshold, stacking, step, threshold
39
51
  * @product highcharts highmaps
40
52
  * @optionparent plotOptions.heatmap
41
53
  */
42
- seriesType('heatmap', 'scatter', {
54
+ , {
43
55
 
44
56
  /**
45
57
  * Animation is disabled by default on the heatmap series.
46
- *
47
- * @type {Boolean|Object}
48
58
  */
49
59
  animation: false,
50
60
 
@@ -56,9 +66,9 @@ seriesType('heatmap', 'scatter', {
56
66
  /**
57
67
  * Padding between the points in the heatmap.
58
68
  *
59
- * @type {Number}
60
- * @default 0
61
- * @since 6.0
69
+ * @type {number}
70
+ * @default 0
71
+ * @since 6.0
62
72
  * @apioption plotOptions.heatmap.pointPadding
63
73
  */
64
74
 
@@ -68,10 +78,9 @@ seriesType('heatmap', 'scatter', {
68
78
  * options are set in the [colorAxis](#colorAxis), the default value
69
79
  * is pulled from the [options.colors](#colors) array.
70
80
  *
71
- * @type {Color}
72
- * @default null
73
- * @since 4.0
74
- * @product highcharts
81
+ * @type {Highcharts.ColorString}
82
+ * @since 4.0
83
+ * @product highcharts
75
84
  * @apioption plotOptions.heatmap.color
76
85
  */
77
86
 
@@ -79,31 +88,36 @@ seriesType('heatmap', 'scatter', {
79
88
  * The column size - how many X axis units each column in the heatmap
80
89
  * should span.
81
90
  *
82
- * @type {Number}
83
- * @sample {highcharts} maps/demo/heatmap/ One day
84
- * @sample {highmaps} maps/demo/heatmap/ One day
85
- * @default 1
86
- * @since 4.0
87
- * @product highcharts highmaps
91
+ * @sample {highcharts} maps/demo/heatmap/
92
+ * One day
93
+ * @sample {highmaps} maps/demo/heatmap/
94
+ * One day
95
+ *
96
+ * @type {number}
97
+ * @default 1
98
+ * @since 4.0
99
+ * @product highcharts highmaps
88
100
  * @apioption plotOptions.heatmap.colsize
89
101
  */
90
102
 
91
103
  /**
92
104
  * The row size - how many Y axis units each heatmap row should span.
93
105
  *
94
- * @type {Number}
95
- * @sample {highcharts} maps/demo/heatmap/ 1 by default
96
- * @sample {highmaps} maps/demo/heatmap/ 1 by default
97
- * @default 1
98
- * @since 4.0
99
- * @product highcharts highmaps
106
+ * @sample {highcharts} maps/demo/heatmap/
107
+ * 1 by default
108
+ * @sample {highmaps} maps/demo/heatmap/
109
+ * 1 by default
110
+ *
111
+ * @type {number}
112
+ * @default 1
113
+ * @since 4.0
114
+ * @product highcharts highmaps
100
115
  * @apioption plotOptions.heatmap.rowsize
101
116
  */
102
117
 
103
118
 
104
119
 
105
120
  dataLabels: {
106
-
107
121
  formatter: function () { // #2945
108
122
  return this.point.value;
109
123
  },
@@ -119,7 +133,9 @@ seriesType('heatmap', 'scatter', {
119
133
  */
120
134
  marker: null,
121
135
 
122
- /** @ignore */
136
+ /**
137
+ * @ignore
138
+ */
123
139
  pointRange: null, // dynamically set to colsize by default
124
140
 
125
141
  tooltip: {
@@ -129,6 +145,7 @@ seriesType('heatmap', 'scatter', {
129
145
  states: {
130
146
 
131
147
  hover: {
148
+
132
149
  /**
133
150
  * @ignore
134
151
  */
@@ -141,14 +158,15 @@ seriesType('heatmap', 'scatter', {
141
158
  * In styled mode, the hover brightening is by default replaced
142
159
  * with a fill-opacity set in the `.highcharts-point:hover` rule.
143
160
  *
144
- * @type {Number}
145
161
  * @product highcharts highmaps
146
162
  */
147
163
  brightness: 0.2
148
164
  }
165
+
149
166
  }
150
167
 
151
168
  }, merge(colorSeriesMixin, {
169
+
152
170
  pointArrayMap: ['y', 'value'],
153
171
  hasPointSpecificOptions: true,
154
172
  getExtremesFromAll: true,
@@ -156,6 +174,9 @@ seriesType('heatmap', 'scatter', {
156
174
 
157
175
  /**
158
176
  * Override the init method to add point ranges on both axes.
177
+ *
178
+ * @private
179
+ * @function Highcharts.seriesTypes.heatmap#init
159
180
  */
160
181
  init: function () {
161
182
  var options;
@@ -166,6 +187,11 @@ seriesType('heatmap', 'scatter', {
166
187
  options.pointRange = pick(options.pointRange, options.colsize || 1);
167
188
  this.yAxis.axisPointRange = options.rowsize || 1; // general point range
168
189
  },
190
+
191
+ /**
192
+ * @private
193
+ * @function Highcharts.seriesTypes.heatmap#translate
194
+ */
169
195
  translate: function () {
170
196
  var series = this,
171
197
  options = series.options,
@@ -220,6 +246,11 @@ seriesType('heatmap', 'scatter', {
220
246
 
221
247
  series.translateColors();
222
248
  },
249
+
250
+ /**
251
+ * @private
252
+ * @function Highcharts.seriesTypes.heatmap#drawPoints
253
+ */
223
254
  drawPoints: function () {
224
255
  seriesTypes.column.prototype.drawPoints.call(this);
225
256
 
@@ -231,10 +262,37 @@ seriesType('heatmap', 'scatter', {
231
262
 
232
263
  }, this);
233
264
  },
265
+
266
+ /**
267
+ * @ignore
268
+ * @deprecated
269
+ * @function Highcharts.seriesTypes.heatmap#animate
270
+ */
234
271
  animate: noop,
272
+
273
+ /**
274
+ * @ignore
275
+ * @deprecated
276
+ * @function Highcharts.seriesTypes.heatmap#getBox
277
+ */
235
278
  getBox: noop,
279
+
280
+ /**
281
+ * @private
282
+ * @borrows Highcharts.LegendSymbolMixin.drawRectangle as Highcharts.seriesTypes.heatmap#drawLegendSymbol
283
+ */
236
284
  drawLegendSymbol: LegendSymbolMixin.drawRectangle,
285
+
286
+ /**
287
+ * @private
288
+ * @borrows Highcharts.seriesTypes.column#alignDataLabel as Highcharts.seriesTypes.heatmap#alignDataLabel
289
+ */
237
290
  alignDataLabel: seriesTypes.column.prototype.alignDataLabel,
291
+
292
+ /**
293
+ * @private
294
+ * @function Highcharts.seriesTypes.heatmap#getExtremes
295
+ */
238
296
  getExtremes: function () {
239
297
  // Get the extremes from the value data
240
298
  Series.prototype.getExtremes.call(this, this.valueData);
@@ -246,6 +304,15 @@ seriesType('heatmap', 'scatter', {
246
304
  }
247
305
 
248
306
  }), H.extend({
307
+
308
+ /**
309
+ * @private
310
+ * @function Highcharts.Point#haloPath
311
+ *
312
+ * @param {number} size
313
+ *
314
+ * @return {Highcharts.SVGPathArray}
315
+ */
249
316
  haloPath: function (size) {
250
317
  if (!size) {
251
318
  return [];
@@ -260,14 +327,14 @@ seriesType('heatmap', 'scatter', {
260
327
  ];
261
328
  }
262
329
  }, colorPointMixin));
330
+
263
331
  /**
264
332
  * A `heatmap` series. If the [type](#series.heatmap.type) option is
265
333
  * not specified, it is inherited from [chart.type](#chart.type).
266
334
  *
267
- * @type {Object}
268
- * @extends series,plotOptions.heatmap
269
- * @excluding dataParser,dataURL,marker,pointRange,stack
270
- * @product highcharts highmaps
335
+ * @extends series,plotOptions.heatmap
336
+ * @excluding dataParser, dataURL, marker, pointRange, stack
337
+ * @product highcharts highmaps
271
338
  * @apioption series.heatmap
272
339
  */
273
340
 
@@ -312,9 +379,6 @@ seriesType('heatmap', 'scatter', {
312
379
  * }]
313
380
  * ```
314
381
  *
315
- * @type {Array<Object|Array>}
316
- * @extends series.line.data
317
- * @excluding marker
318
382
  * @sample {highcharts} highcharts/chart/reflow-true/
319
383
  * Numerical values
320
384
  * @sample {highcharts} highcharts/series/data-array-of-arrays/
@@ -325,7 +389,11 @@ seriesType('heatmap', 'scatter', {
325
389
  * Arrays of point.name and y
326
390
  * @sample {highcharts} highcharts/series/data-array-of-objects/
327
391
  * Config objects
328
- * @product highcharts highmaps
392
+ *
393
+ * @type {Array<Array<number>|*>}
394
+ * @extends series.line.data
395
+ * @excluding marker
396
+ * @product highcharts highmaps
329
397
  * @apioption series.heatmap.data
330
398
  */
331
399
 
@@ -334,8 +402,8 @@ seriesType('heatmap', 'scatter', {
334
402
  * explicitly, as we use the color to denote the `value`. Options for
335
403
  * this are set in the [colorAxis](#colorAxis) configuration.
336
404
  *
337
- * @type {Color}
338
- * @product highcharts highmaps
405
+ * @type {Highcharts.ColorString}
406
+ * @product highcharts highmaps
339
407
  * @apioption series.heatmap.data.color
340
408
  */
341
409
 
@@ -343,8 +411,8 @@ seriesType('heatmap', 'scatter', {
343
411
  * The value of the point, resulting in a color controled by options
344
412
  * as set in the [colorAxis](#colorAxis) configuration.
345
413
  *
346
- * @type {Number}
347
- * @product highcharts highmaps
414
+ * @type {number}
415
+ * @product highcharts highmaps
348
416
  * @apioption series.heatmap.data.value
349
417
  */
350
418
 
@@ -352,24 +420,26 @@ seriesType('heatmap', 'scatter', {
352
420
  * The x value of the point. For datetime axes,
353
421
  * the X value is the timestamp in milliseconds since 1970.
354
422
  *
355
- * @type {Number}
356
- * @product highcharts highmaps
423
+ * @type {number}
424
+ * @product highcharts highmaps
357
425
  * @apioption series.heatmap.data.x
358
426
  */
359
427
 
360
428
  /**
361
429
  * The y value of the point.
362
430
  *
363
- * @type {Number}
364
- * @product highcharts highmaps
431
+ * @type {number}
432
+ * @product highcharts highmaps
365
433
  * @apioption series.heatmap.data.y
366
434
  */
367
435
 
368
436
  /**
369
437
  * Point padding for a single point.
370
438
  *
371
- * @type {Number}
372
- * @sample maps/plotoptions/tilemap-pointpadding Point padding on tiles
439
+ * @sample maps/plotoptions/tilemap-pointpadding
440
+ * Point padding on tiles
441
+ *
442
+ * @type {number}
373
443
  * @apioption series.heatmap.data.pointPadding
374
444
  */
375
445
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -33,7 +33,7 @@ var colorPointMixin = H.colorPointMixin,
33
33
  * The map series is used for basic choropleth maps, where each map area has a
34
34
  * color based on its value.
35
35
  *
36
- * @sample maps/demo/base/ Choropleth map
36
+ * @sample maps/demo/all-maps/ Choropleth map
37
37
  * @extends plotOptions.scatter
38
38
  * @excluding marker
39
39
  * @product highmaps
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -11,6 +11,8 @@ import '../parts/Series.js';
11
11
  var each = H.each,
12
12
  noop = H.noop,
13
13
  pick = H.pick,
14
+ extend = H.extend,
15
+ isArray = H.isArray,
14
16
  defined = H.defined,
15
17
  Series = H.Series,
16
18
  seriesType = H.seriesType,
@@ -120,7 +122,6 @@ seriesType('arearange', 'area', {
120
122
  // Prototype members
121
123
  }, {
122
124
  pointArrayMap: ['low', 'high'],
123
- dataLabelCollections: ['dataLabel', 'dataLabelUpper'],
124
125
  toYData: function (point) {
125
126
  return [point.low, point.high];
126
127
  },
@@ -308,31 +309,55 @@ seriesType('arearange', 'area', {
308
309
  */
309
310
  drawDataLabels: function () {
310
311
 
311
- var data = this.data,
312
+ var data = this.points,
312
313
  length = data.length,
313
314
  i,
314
315
  originalDataLabels = [],
315
316
  dataLabelOptions = this.options.dataLabels,
316
- align = dataLabelOptions.align,
317
- verticalAlign = dataLabelOptions.verticalAlign,
318
- inside = dataLabelOptions.inside,
319
317
  point,
320
318
  up,
321
- inverted = this.chart.inverted;
322
-
323
- if (dataLabelOptions.enabled || this._hasPointLabels) {
319
+ inverted = this.chart.inverted,
320
+ upperDataLabelOptions,
321
+ lowerDataLabelOptions;
322
+
323
+ // Split into upper and lower options. If data labels is an array, the
324
+ // first element is the upper label, the second is the lower.
325
+ //
326
+ // TODO: We want to change this and allow multiple labels for both upper
327
+ // and lower values in the future - introducing some options for which
328
+ // point value to use as Y for the dataLabel, so that this could be
329
+ // handled in Series.drawDataLabels. This would also improve performance
330
+ // since we now have to loop over all the points multiple times to work
331
+ // around the data label logic.
332
+ if (isArray(dataLabelOptions)) {
333
+ if (dataLabelOptions.length > 1) {
334
+ upperDataLabelOptions = dataLabelOptions[0];
335
+ lowerDataLabelOptions = dataLabelOptions[1];
336
+ } else {
337
+ upperDataLabelOptions = dataLabelOptions[0];
338
+ lowerDataLabelOptions = { enabled: false };
339
+ }
340
+ } else {
341
+ upperDataLabelOptions = extend({}, dataLabelOptions); // Make copy;
342
+ upperDataLabelOptions.x = dataLabelOptions.xHigh;
343
+ upperDataLabelOptions.y = dataLabelOptions.yHigh;
344
+ lowerDataLabelOptions = extend({}, dataLabelOptions); // Make copy
345
+ lowerDataLabelOptions.x = dataLabelOptions.xLow;
346
+ lowerDataLabelOptions.y = dataLabelOptions.yLow;
347
+ }
324
348
 
325
- // Step 1: set preliminary values for plotY and dataLabel
349
+ // Draw upper labels
350
+ if (upperDataLabelOptions.enabled || this._hasPointLabels) {
351
+ // Set preliminary values for plotY and dataLabel
326
352
  // and draw the upper labels
327
353
  i = length;
328
354
  while (i--) {
329
355
  point = data[i];
330
356
  if (point) {
331
- up = inside ?
357
+ up = upperDataLabelOptions.inside ?
332
358
  point.plotHigh < point.plotLow :
333
359
  point.plotHigh > point.plotLow;
334
360
 
335
- // Set preliminary values
336
361
  point.y = point.high;
337
362
  point._plotY = point.plotY;
338
363
  point.plotY = point.plotHigh;
@@ -345,70 +370,87 @@ seriesType('arearange', 'area', {
345
370
  // Set the default offset
346
371
  point.below = up;
347
372
  if (inverted) {
348
- if (!align) {
349
- dataLabelOptions.align = up ? 'right' : 'left';
373
+ if (!upperDataLabelOptions.align) {
374
+ upperDataLabelOptions.align = up ? 'right' : 'left';
350
375
  }
351
376
  } else {
352
- if (!verticalAlign) {
353
- dataLabelOptions.verticalAlign = up ?
377
+ if (!upperDataLabelOptions.verticalAlign) {
378
+ upperDataLabelOptions.verticalAlign = up ?
354
379
  'top' :
355
380
  'bottom';
356
381
  }
357
382
  }
358
-
359
- dataLabelOptions.x = dataLabelOptions.xHigh;
360
- dataLabelOptions.y = dataLabelOptions.yHigh;
361
383
  }
362
384
  }
363
385
 
386
+ this.options.dataLabels = upperDataLabelOptions;
387
+
364
388
  if (seriesProto.drawDataLabels) {
365
389
  seriesProto.drawDataLabels.apply(this, arguments); // #1209
366
390
  }
367
391
 
368
- // Step 2: reorganize and handle data labels for the lower values
392
+ // Reset state after the upper labels were created. Move
393
+ // it to point.dataLabelUpper and reassign the originals.
394
+ // We do this here to support not drawing a lower label.
369
395
  i = length;
370
396
  while (i--) {
371
397
  point = data[i];
372
398
  if (point) {
373
- up = inside ?
374
- point.plotHigh < point.plotLow :
375
- point.plotHigh > point.plotLow;
376
-
377
- // Move the generated labels from step 1, and reassign
378
- // the original data labels
379
399
  point.dataLabelUpper = point.dataLabel;
380
400
  point.dataLabel = originalDataLabels[i];
381
-
382
- // Reset values
401
+ delete point.dataLabels;
383
402
  point.y = point.low;
384
403
  point.plotY = point._plotY;
404
+ }
405
+ }
406
+ }
407
+
408
+ // Draw lower labels
409
+ if (lowerDataLabelOptions.enabled || this._hasPointLabels) {
410
+ i = length;
411
+ while (i--) {
412
+ point = data[i];
413
+ if (point) {
414
+ up = lowerDataLabelOptions.inside ?
415
+ point.plotHigh < point.plotLow :
416
+ point.plotHigh > point.plotLow;
385
417
 
386
418
  // Set the default offset
387
419
  point.below = !up;
388
420
  if (inverted) {
389
- if (!align) {
390
- dataLabelOptions.align = up ? 'left' : 'right';
421
+ if (!lowerDataLabelOptions.align) {
422
+ lowerDataLabelOptions.align = up ? 'left' : 'right';
391
423
  }
392
424
  } else {
393
- if (!verticalAlign) {
394
- dataLabelOptions.verticalAlign = up ?
425
+ if (!lowerDataLabelOptions.verticalAlign) {
426
+ lowerDataLabelOptions.verticalAlign = up ?
395
427
  'bottom' :
396
428
  'top';
397
429
  }
398
-
399
430
  }
400
-
401
- dataLabelOptions.x = dataLabelOptions.xLow;
402
- dataLabelOptions.y = dataLabelOptions.yLow;
403
431
  }
404
432
  }
433
+
434
+ this.options.dataLabels = lowerDataLabelOptions;
435
+
405
436
  if (seriesProto.drawDataLabels) {
406
437
  seriesProto.drawDataLabels.apply(this, arguments);
407
438
  }
408
439
  }
409
440
 
410
- dataLabelOptions.align = align;
411
- dataLabelOptions.verticalAlign = verticalAlign;
441
+ // Merge upper and lower into point.dataLabels for later destroying
442
+ if (upperDataLabelOptions.enabled) {
443
+ i = length;
444
+ while (i--) {
445
+ point = data[i];
446
+ if (point && point.dataLabelUpper) {
447
+ point.dataLabels = [point.dataLabelUpper, point.dataLabel];
448
+ }
449
+ }
450
+ }
451
+
452
+ // Reset options
453
+ this.options.dataLabels = dataLabelOptions;
412
454
  },
413
455
 
414
456
  alignDataLabel: function () {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * (c) 2010-2017 Torstein Honsi
2
+ * (c) 2010-2018 Torstein Honsi
3
3
  *
4
4
  * License: www.highcharts.com/license
5
5
  */