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,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
  *
@@ -1,80 +1,81 @@
1
1
  /*
2
- Highcharts JS v6.1.1 (2018-06-27)
2
+ Highcharts JS v6.2.0 (2018-10-17)
3
3
 
4
4
  3D features for Highcharts JS
5
5
 
6
6
  @license: www.highcharts.com/license
7
7
  */
8
- (function(B){"object"===typeof module&&module.exports?module.exports=B:B(Highcharts)})(function(B){(function(b){var z=b.deg2rad,y=b.pick;b.perspective3D=function(b,v,m){v=0<m&&m<Number.POSITIVE_INFINITY?m/(b.z+v.z+m):1;return{x:b.x*v,y:b.y*v}};b.perspective=function(r,v,m){var x=v.options.chart.options3d,l=m?v.inverted:!1,w={x:v.plotWidth/2,y:v.plotHeight/2,z:x.depth/2,vd:y(x.depth,1)*y(x.viewDistance,0)},t=v.scale3d||1,q=z*x.beta*(l?-1:1),x=z*x.alpha*(l?-1:1),h=Math.cos(x),a=Math.cos(-q),f=Math.sin(x),
9
- g=Math.sin(-q);m||(w.x+=v.plotLeft,w.y+=v.plotTop);return b.map(r,function(k){var q;q=(l?k.y:k.x)-w.x;var d=(l?k.x:k.y)-w.y;k=(k.z||0)-w.z;q={x:a*q-g*k,y:-f*g*q+h*d-a*f*k,z:h*g*q+f*d+h*a*k};d=b.perspective3D(q,w,w.vd);d.x=d.x*t+w.x;d.y=d.y*t+w.y;d.z=q.z*t+w.z;return{x:l?d.y:d.x,y:l?d.x:d.y,z:d.z}})};b.pointCameraDistance=function(b,v){var m=v.options.chart.options3d,x=v.plotWidth/2;v=v.plotHeight/2;m=y(m.depth,1)*y(m.viewDistance,0)+m.depth;return Math.sqrt(Math.pow(x-b.plotX,2)+Math.pow(v-b.plotY,
10
- 2)+Math.pow(m-b.plotZ,2))};b.shapeArea=function(b){var v=0,m,x;for(m=0;m<b.length;m++)x=(m+1)%b.length,v+=b[m].x*b[x].y-b[x].x*b[m].y;return v/2};b.shapeArea3d=function(r,v,m){return b.shapeArea(b.perspective(r,v,m))}})(B);(function(b){function z(a,d,c,C,b,D,f,g){var A=[],u=D-b;return D>b&&D-b>Math.PI/2+.0001?(A=A.concat(z(a,d,c,C,b,b+Math.PI/2,f,g)),A=A.concat(z(a,d,c,C,b+Math.PI/2,D,f,g))):D<b&&b-D>Math.PI/2+.0001?(A=A.concat(z(a,d,c,C,b,b-Math.PI/2,f,g)),A=A.concat(z(a,d,c,C,b-Math.PI/2,D,f,g))):
11
- ["C",a+c*Math.cos(b)-c*e*u*Math.sin(b)+f,d+C*Math.sin(b)+C*e*u*Math.cos(b)+g,a+c*Math.cos(D)+c*e*u*Math.sin(D)+f,d+C*Math.sin(D)-C*e*u*Math.cos(D)+g,a+c*Math.cos(D)+f,d+C*Math.sin(D)+g]}var y=Math.cos,r=Math.PI,v=Math.sin,m=b.animObject,x=b.charts,l=b.color,w=b.defined,t=b.deg2rad,q=b.each,h=b.extend,a=b.inArray,f=b.map,g=b.merge,k=b.perspective,p=b.pick,d=b.SVGElement,c=b.SVGRenderer,n=b.wrap,e=4*(Math.sqrt(2)-1)/3/(r/2);n(c.prototype,"init",function(a){a.apply(this,[].slice.call(arguments,1));q([{name:"darker",
12
- slope:.6},{name:"brighter",slope:1.4}],function(a){this.definition({tagName:"filter",id:"highcharts-"+a.name,children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncR",type:"linear",slope:a.slope},{tagName:"feFuncG",type:"linear",slope:a.slope},{tagName:"feFuncB",type:"linear",slope:a.slope}]}]})},this)});c.prototype.toLinePath=function(a,d){var c=[];q(a,function(a){c.push("L",a.x,a.y)});a.length&&(c[0]="M",d&&c.push("Z"));return c};c.prototype.toLineSegments=function(a){var d=[],c=!0;
13
- q(a,function(a){d.push(c?"M":"L",a.x,a.y);c=!c});return d};c.prototype.face3d=function(a){var d=this,c=this.createElement("path");c.vertexes=[];c.insidePlotArea=!1;c.enabled=!0;n(c,"attr",function(a,c){if("object"===typeof c&&(w(c.enabled)||w(c.vertexes)||w(c.insidePlotArea))){this.enabled=p(c.enabled,this.enabled);this.vertexes=p(c.vertexes,this.vertexes);this.insidePlotArea=p(c.insidePlotArea,this.insidePlotArea);delete c.enabled;delete c.vertexes;delete c.insidePlotArea;var A=k(this.vertexes,x[d.chartIndex],
14
- this.insidePlotArea),C=d.toLinePath(A,!0),A=b.shapeArea(A),A=this.enabled&&0<A?"visible":"hidden";c.d=C;c.visibility=A}return a.apply(this,[].slice.call(arguments,1))});n(c,"animate",function(a,c){if("object"===typeof c&&(w(c.enabled)||w(c.vertexes)||w(c.insidePlotArea))){this.enabled=p(c.enabled,this.enabled);this.vertexes=p(c.vertexes,this.vertexes);this.insidePlotArea=p(c.insidePlotArea,this.insidePlotArea);delete c.enabled;delete c.vertexes;delete c.insidePlotArea;var A=k(this.vertexes,x[d.chartIndex],
15
- this.insidePlotArea),C=d.toLinePath(A,!0),A=b.shapeArea(A),A=this.enabled&&0<A?"visible":"hidden";c.d=C;this.attr("visibility",A)}return a.apply(this,[].slice.call(arguments,1))});return c.attr(a)};c.prototype.polyhedron=function(a){var c=this,d=this.g(),b=d.destroy;d.faces=[];d.destroy=function(){for(var a=0;a<d.faces.length;a++)d.faces[a].destroy();return b.call(this)};n(d,"attr",function(a,b,C,A,e){if("object"===typeof b&&w(b.faces)){for(;d.faces.length>b.faces.length;)d.faces.pop().destroy();
16
- for(;d.faces.length<b.faces.length;)d.faces.push(c.face3d().add(d));for(var f=0;f<b.faces.length;f++)d.faces[f].attr(b.faces[f],null,A,e);delete b.faces}return a.apply(this,[].slice.call(arguments,1))});n(d,"animate",function(a,b,C,A){if(b&&b.faces){for(;d.faces.length>b.faces.length;)d.faces.pop().destroy();for(;d.faces.length<b.faces.length;)d.faces.push(c.face3d().add(d));for(var e=0;e<b.faces.length;e++)d.faces[e].animate(b.faces[e],C,A);delete b.faces}return a.apply(this,[].slice.call(arguments,
17
- 1))});return d.attr(a)};c.prototype.cuboid=function(a){var c=this.g(),b=c.destroy;a=this.cuboidPath(a);c.front=this.path(a[0]).attr({"class":"highcharts-3d-front"}).add(c);c.top=this.path(a[1]).attr({"class":"highcharts-3d-top"}).add(c);c.side=this.path(a[2]).attr({"class":"highcharts-3d-side"}).add(c);c.fillSetter=function(a){this.front.attr({fill:a});this.top.attr({fill:l(a).brighten(.1).get()});this.side.attr({fill:l(a).brighten(-.1).get()});this.color=a;c.fill=a;return this};c.opacitySetter=function(a){this.front.attr({opacity:a});
18
- this.top.attr({opacity:a});this.side.attr({opacity:a});return this};c.attr=function(a,c,b,A){if("string"===typeof a&&"undefined"!==typeof c){var e=a;a={};a[e]=c}if(a.shapeArgs||w(a.x))a=this.renderer.cuboidPath(a.shapeArgs||a),this.front.attr({d:a[0]}),this.top.attr({d:a[1]}),this.side.attr({d:a[2]});else return d.prototype.attr.call(this,a,void 0,b,A);return this};c.animate=function(a,c,b){w(a.x)&&w(a.y)?(a=this.renderer.cuboidPath(a),this.front.animate({d:a[0]},c,b),this.top.animate({d:a[1]},c,
19
- b),this.side.animate({d:a[2]},c,b),this.attr({zIndex:-a[3]})):a.opacity?(this.front.animate(a,c,b),this.top.animate(a,c,b),this.side.animate(a,c,b)):d.prototype.animate.call(this,a,c,b);return this};c.destroy=function(){this.front.destroy();this.top.destroy();this.side.destroy();return b.call(this)};c.attr({zIndex:-a[3]});return c};b.SVGRenderer.prototype.cuboidPath=function(a){function c(a){return l[a]}var d=a.x,e=a.y,g=a.z,q=a.height,h=a.width,u=a.depth,n=x[this.chartIndex],p,G,v=n.options.chart.options3d.alpha,
20
- m=0,l=[{x:d,y:e,z:g},{x:d+h,y:e,z:g},{x:d+h,y:e+q,z:g},{x:d,y:e+q,z:g},{x:d,y:e+q,z:g+u},{x:d+h,y:e+q,z:g+u},{x:d+h,y:e,z:g+u},{x:d,y:e,z:g+u}],l=k(l,n,a.insidePlotArea);G=function(a,d){var e=[[],-1];a=f(a,c);d=f(d,c);0>b.shapeArea(a)?e=[a,0]:0>b.shapeArea(d)&&(e=[d,1]);return e};p=G([3,2,1,0],[7,6,5,4]);a=p[0];h=p[1];p=G([1,6,7,0],[4,5,2,3]);q=p[0];u=p[1];p=G([1,2,5,6],[0,7,4,3]);G=p[0];p=p[1];1===p?m+=1E4*(1E3-d):p||(m+=1E4*d);m+=10*(!u||0<=v&&180>=v||360>v&&357.5<v?n.plotHeight-e:10+e);1===h?m+=
21
- 100*g:h||(m+=100*(1E3-g));m=-Math.round(m);return[this.toLinePath(a,!0),this.toLinePath(q,!0),this.toLinePath(G,!0),m]};b.SVGRenderer.prototype.arc3d=function(c){function b(c){var d=!1,e={};c=g(c);for(var b in c)-1!==a(b,k)&&(e[b]=c[b],delete c[b],d=!0);return d?e:!1}var e=this.g(),f=e.renderer,k="x y r innerR start end".split(" ");c=g(c);c.alpha*=t;c.beta*=t;e.top=f.path();e.side1=f.path();e.side2=f.path();e.inn=f.path();e.out=f.path();e.onAdd=function(){var a=e.parentGroup,c=e.attr("class");e.top.add(e);
22
- q(["out","inn","side1","side2"],function(d){e[d].attr({"class":c+" highcharts-3d-side"}).add(a)})};q(["addClass","removeClass"],function(a){e[a]=function(){var c=arguments;q(["top","out","inn","side1","side2"],function(d){e[d][a].apply(e[d],c)})}});e.setPaths=function(a){var c=e.renderer.arc3dPath(a),d=100*c.zTop;e.attribs=a;e.top.attr({d:c.top,zIndex:c.zTop});e.inn.attr({d:c.inn,zIndex:c.zInn});e.out.attr({d:c.out,zIndex:c.zOut});e.side1.attr({d:c.side1,zIndex:c.zSide1});e.side2.attr({d:c.side2,
23
- zIndex:c.zSide2});e.zIndex=d;e.attr({zIndex:d});a.center&&(e.top.setRadialReference(a.center),delete a.center)};e.setPaths(c);e.fillSetter=function(a){var c=l(a).brighten(-.1).get();this.fill=a;this.side1.attr({fill:c});this.side2.attr({fill:c});this.inn.attr({fill:c});this.out.attr({fill:c});this.top.attr({fill:a});return this};q(["opacity","translateX","translateY","visibility"],function(a){e[a+"Setter"]=function(a,c){e[c]=a;q(["out","inn","side1","side2","top"],function(d){e[d].attr(c,a)})}});
24
- n(e,"attr",function(a,c){var d;"object"===typeof c&&(d=b(c))&&(h(e.attribs,d),e.setPaths(e.attribs));return a.apply(this,[].slice.call(arguments,1))});n(e,"animate",function(a,c,d,f){var q,h=this.attribs,k;delete c.center;delete c.z;delete c.depth;delete c.alpha;delete c.beta;k=m(p(d,this.renderer.globalAnimation));k.duration&&(q=b(c),c.dummy=e.dummy++,q&&(k.step=function(a,c){function d(a){return h[a]+(p(q[a],h[a])-h[a])*c.pos}"dummy"===c.prop&&c.elem.setPaths(g(h,{x:d("x"),y:d("y"),r:d("r"),innerR:d("innerR"),
25
- start:d("start"),end:d("end")}))}),d=k);return a.call(this,c,d,f)});e.dummy=0;e.destroy=function(){this.top.destroy();this.out.destroy();this.inn.destroy();this.side1.destroy();this.side2.destroy();d.prototype.destroy.call(this)};e.hide=function(){this.top.hide();this.out.hide();this.inn.hide();this.side1.hide();this.side2.hide()};e.show=function(){this.top.show();this.out.show();this.inn.show();this.side1.show();this.side2.show()};return e};c.prototype.arc3dPath=function(a){function c(a){a%=2*Math.PI;
26
- a>Math.PI&&(a=2*Math.PI-a);return a}var d=a.x,e=a.y,b=a.start,f=a.end-.00001,g=a.r,q=a.innerR,h=a.depth,k=a.alpha,n=a.beta,p=Math.cos(b),u=Math.sin(b);a=Math.cos(f);var m=Math.sin(f),l=g*Math.cos(n),g=g*Math.cos(k),x=q*Math.cos(n),w=q*Math.cos(k),q=h*Math.sin(n),t=h*Math.sin(k),h=["M",d+l*p,e+g*u],h=h.concat(z(d,e,l,g,b,f,0,0)),h=h.concat(["L",d+x*a,e+w*m]),h=h.concat(z(d,e,x,w,f,b,0,0)),h=h.concat(["Z"]),B=0<n?Math.PI/2:0,n=0<k?0:Math.PI/2,B=b>-B?b:f>-B?-B:b,E=f<r-n?f:b<r-n?r-n:f,F=2*r-n,k=["M",
27
- d+l*y(B),e+g*v(B)],k=k.concat(z(d,e,l,g,B,E,0,0));f>F&&b<F?(k=k.concat(["L",d+l*y(E)+q,e+g*v(E)+t]),k=k.concat(z(d,e,l,g,E,F,q,t)),k=k.concat(["L",d+l*y(F),e+g*v(F)]),k=k.concat(z(d,e,l,g,F,f,0,0)),k=k.concat(["L",d+l*y(f)+q,e+g*v(f)+t]),k=k.concat(z(d,e,l,g,f,F,q,t)),k=k.concat(["L",d+l*y(F),e+g*v(F)]),k=k.concat(z(d,e,l,g,F,E,0,0))):f>r-n&&b<r-n&&(k=k.concat(["L",d+l*Math.cos(E)+q,e+g*Math.sin(E)+t]),k=k.concat(z(d,e,l,g,E,f,q,t)),k=k.concat(["L",d+l*Math.cos(f),e+g*Math.sin(f)]),k=k.concat(z(d,
28
- e,l,g,f,E,0,0)));k=k.concat(["L",d+l*Math.cos(E)+q,e+g*Math.sin(E)+t]);k=k.concat(z(d,e,l,g,E,B,q,t));k=k.concat(["Z"]);n=["M",d+x*p,e+w*u];n=n.concat(z(d,e,x,w,b,f,0,0));n=n.concat(["L",d+x*Math.cos(f)+q,e+w*Math.sin(f)+t]);n=n.concat(z(d,e,x,w,f,b,q,t));n=n.concat(["Z"]);p=["M",d+l*p,e+g*u,"L",d+l*p+q,e+g*u+t,"L",d+x*p+q,e+w*u+t,"L",d+x*p,e+w*u,"Z"];d=["M",d+l*a,e+g*m,"L",d+l*a+q,e+g*m+t,"L",d+x*a+q,e+w*m+t,"L",d+x*a,e+w*m,"Z"];m=Math.atan2(t,-q);e=Math.abs(f+m);a=Math.abs(b+m);b=Math.abs((b+f)/
29
- 2+m);e=c(e);a=c(a);b=c(b);b*=1E5;f=1E5*a;e*=1E5;return{top:h,zTop:1E5*Math.PI+1,out:k,zOut:Math.max(b,f,e),inn:n,zInn:Math.max(b,f,e),side1:p,zSide1:.99*e,side2:d,zSide2:.99*f}}})(B);(function(b){function z(b,h){var a=b.plotLeft,f=b.plotWidth+a,g=b.plotTop,k=b.plotHeight+g,q=a+b.plotWidth/2,d=g+b.plotHeight/2,c=Number.MAX_VALUE,n=-Number.MAX_VALUE,e=Number.MAX_VALUE,u=-Number.MAX_VALUE,l,m=1;l=[{x:a,y:g,z:0},{x:a,y:g,z:h}];v([0,1],function(a){l.push({x:f,y:l[a].y,z:l[a].z})});v([0,1,2,3],function(a){l.push({x:l[a].x,
30
- y:k,z:l[a].z})});l=x(l,b,!1);v(l,function(a){c=Math.min(c,a.x);n=Math.max(n,a.x);e=Math.min(e,a.y);u=Math.max(u,a.y)});a>c&&(m=Math.min(m,1-Math.abs((a+q)/(c+q))%1));f<n&&(m=Math.min(m,(f-q)/(n-q)));g>e&&(m=0>e?Math.min(m,(g+d)/(-e+g+d)):Math.min(m,1-(g+d)/(e+d)%1));k<u&&(m=Math.min(m,Math.abs((k-d)/(u-d))));return m}var y=b.addEvent,r=b.Chart,v=b.each,m=b.merge,x=b.perspective,l=b.pick,w=b.wrap;r.prototype.is3d=function(){return this.options.chart.options3d&&this.options.chart.options3d.enabled};
31
- r.prototype.propsRequireDirtyBox.push("chart.options3d");r.prototype.propsRequireUpdateSeries.push("chart.options3d");y(r,"afterInit",function(){var b=this.options;this.is3d()&&v(b.series,function(q){"scatter"===(q.type||b.chart.type||b.chart.defaultSeriesType)&&(q.type="scatter3d")})});y(r,"addSeries",function(b){this.is3d()&&"scatter"===b.options.type&&(b.options.type="scatter3d")});b.wrap(b.Chart.prototype,"isInsidePlot",function(b){return this.is3d()||b.apply(this,[].slice.call(arguments,1))});
32
- var t=b.getOptions();m(!0,t,{chart:{options3d:{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:"default",frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}}}});y(r,"afterGetContainer",function(){this.renderer.definition({tagName:"style",textContent:".highcharts-3d-top{filter: url(#highcharts-brighter)}\n.highcharts-3d-side{filter: url(#highcharts-darker)}\n"})});w(r.prototype,"setClassName",function(b){b.apply(this,[].slice.call(arguments,
33
- 1));this.is3d()&&(this.container.className+=" highcharts-3d-chart")});y(b.Chart,"afterSetChartSize",function(){var b=this.options.chart.options3d;if(this.is3d()){var h=this.inverted,a=this.clipBox,f=this.margin;a[h?"y":"x"]=-(f[3]||0);a[h?"x":"y"]=-(f[0]||0);a[h?"height":"width"]=this.chartWidth+(f[3]||0)+(f[1]||0);a[h?"width":"height"]=this.chartHeight+(f[0]||0)+(f[2]||0);this.scale3d=1;!0===b.fitToPlot&&(this.scale3d=z(this,b.depth));this.frame3d=this.get3dFrame()}});y(r,"beforeRedraw",function(){this.is3d()&&
34
- (this.isDirtyBox=!0)});y(r,"beforeRender",function(){this.is3d()&&(this.frame3d=this.get3dFrame())});w(r.prototype,"renderSeries",function(b){var h=this.series.length;if(this.is3d())for(;h--;)b=this.series[h],b.translate(),b.render();else b.call(this)});y(r,"afterDrawChartBox",function(){if(this.is3d()){var q=this.renderer,h=this.options.chart.options3d,a=this.get3dFrame(),f=this.plotLeft,g=this.plotLeft+this.plotWidth,k=this.plotTop,p=this.plotTop+this.plotHeight,h=h.depth,d=f-(a.left.visible?a.left.size:
35
- 0),c=g+(a.right.visible?a.right.size:0),n=k-(a.top.visible?a.top.size:0),e=p+(a.bottom.visible?a.bottom.size:0),u=0-(a.front.visible?a.front.size:0),l=h+(a.back.visible?a.back.size:0),m=this.hasRendered?"animate":"attr";this.frame3d=a;this.frameShapes||(this.frameShapes={bottom:q.polyhedron().add(),top:q.polyhedron().add(),left:q.polyhedron().add(),right:q.polyhedron().add(),back:q.polyhedron().add(),front:q.polyhedron().add()});this.frameShapes.bottom[m]({"class":"highcharts-3d-frame highcharts-3d-frame-bottom",
36
- zIndex:a.bottom.frontFacing?-1E3:1E3,faces:[{fill:b.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:d,y:e,z:u},{x:c,y:e,z:u},{x:c,y:e,z:l},{x:d,y:e,z:l}],enabled:a.bottom.visible},{fill:b.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:f,y:p,z:h},{x:g,y:p,z:h},{x:g,y:p,z:0},{x:f,y:p,z:0}],enabled:a.bottom.visible},{fill:b.color(a.bottom.color).brighten(-.1).get(),vertexes:[{x:d,y:e,z:u},{x:d,y:e,z:l},{x:f,y:p,z:h},{x:f,y:p,z:0}],enabled:a.bottom.visible&&!a.left.visible},{fill:b.color(a.bottom.color).brighten(-.1).get(),
37
- vertexes:[{x:c,y:e,z:l},{x:c,y:e,z:u},{x:g,y:p,z:0},{x:g,y:p,z:h}],enabled:a.bottom.visible&&!a.right.visible},{fill:b.color(a.bottom.color).get(),vertexes:[{x:c,y:e,z:u},{x:d,y:e,z:u},{x:f,y:p,z:0},{x:g,y:p,z:0}],enabled:a.bottom.visible&&!a.front.visible},{fill:b.color(a.bottom.color).get(),vertexes:[{x:d,y:e,z:l},{x:c,y:e,z:l},{x:g,y:p,z:h},{x:f,y:p,z:h}],enabled:a.bottom.visible&&!a.back.visible}]});this.frameShapes.top[m]({"class":"highcharts-3d-frame highcharts-3d-frame-top",zIndex:a.top.frontFacing?
38
- -1E3:1E3,faces:[{fill:b.color(a.top.color).brighten(.1).get(),vertexes:[{x:d,y:n,z:l},{x:c,y:n,z:l},{x:c,y:n,z:u},{x:d,y:n,z:u}],enabled:a.top.visible},{fill:b.color(a.top.color).brighten(.1).get(),vertexes:[{x:f,y:k,z:0},{x:g,y:k,z:0},{x:g,y:k,z:h},{x:f,y:k,z:h}],enabled:a.top.visible},{fill:b.color(a.top.color).brighten(-.1).get(),vertexes:[{x:d,y:n,z:l},{x:d,y:n,z:u},{x:f,y:k,z:0},{x:f,y:k,z:h}],enabled:a.top.visible&&!a.left.visible},{fill:b.color(a.top.color).brighten(-.1).get(),vertexes:[{x:c,
39
- y:n,z:u},{x:c,y:n,z:l},{x:g,y:k,z:h},{x:g,y:k,z:0}],enabled:a.top.visible&&!a.right.visible},{fill:b.color(a.top.color).get(),vertexes:[{x:d,y:n,z:u},{x:c,y:n,z:u},{x:g,y:k,z:0},{x:f,y:k,z:0}],enabled:a.top.visible&&!a.front.visible},{fill:b.color(a.top.color).get(),vertexes:[{x:c,y:n,z:l},{x:d,y:n,z:l},{x:f,y:k,z:h},{x:g,y:k,z:h}],enabled:a.top.visible&&!a.back.visible}]});this.frameShapes.left[m]({"class":"highcharts-3d-frame highcharts-3d-frame-left",zIndex:a.left.frontFacing?-1E3:1E3,faces:[{fill:b.color(a.left.color).brighten(.1).get(),
40
- vertexes:[{x:d,y:e,z:u},{x:f,y:p,z:0},{x:f,y:p,z:h},{x:d,y:e,z:l}],enabled:a.left.visible&&!a.bottom.visible},{fill:b.color(a.left.color).brighten(.1).get(),vertexes:[{x:d,y:n,z:l},{x:f,y:k,z:h},{x:f,y:k,z:0},{x:d,y:n,z:u}],enabled:a.left.visible&&!a.top.visible},{fill:b.color(a.left.color).brighten(-.1).get(),vertexes:[{x:d,y:e,z:l},{x:d,y:n,z:l},{x:d,y:n,z:u},{x:d,y:e,z:u}],enabled:a.left.visible},{fill:b.color(a.left.color).brighten(-.1).get(),vertexes:[{x:f,y:k,z:h},{x:f,y:p,z:h},{x:f,y:p,z:0},
41
- {x:f,y:k,z:0}],enabled:a.left.visible},{fill:b.color(a.left.color).get(),vertexes:[{x:d,y:e,z:u},{x:d,y:n,z:u},{x:f,y:k,z:0},{x:f,y:p,z:0}],enabled:a.left.visible&&!a.front.visible},{fill:b.color(a.left.color).get(),vertexes:[{x:d,y:n,z:l},{x:d,y:e,z:l},{x:f,y:p,z:h},{x:f,y:k,z:h}],enabled:a.left.visible&&!a.back.visible}]});this.frameShapes.right[m]({"class":"highcharts-3d-frame highcharts-3d-frame-right",zIndex:a.right.frontFacing?-1E3:1E3,faces:[{fill:b.color(a.right.color).brighten(.1).get(),
42
- vertexes:[{x:c,y:e,z:l},{x:g,y:p,z:h},{x:g,y:p,z:0},{x:c,y:e,z:u}],enabled:a.right.visible&&!a.bottom.visible},{fill:b.color(a.right.color).brighten(.1).get(),vertexes:[{x:c,y:n,z:u},{x:g,y:k,z:0},{x:g,y:k,z:h},{x:c,y:n,z:l}],enabled:a.right.visible&&!a.top.visible},{fill:b.color(a.right.color).brighten(-.1).get(),vertexes:[{x:g,y:k,z:0},{x:g,y:p,z:0},{x:g,y:p,z:h},{x:g,y:k,z:h}],enabled:a.right.visible},{fill:b.color(a.right.color).brighten(-.1).get(),vertexes:[{x:c,y:e,z:u},{x:c,y:n,z:u},{x:c,y:n,
43
- z:l},{x:c,y:e,z:l}],enabled:a.right.visible},{fill:b.color(a.right.color).get(),vertexes:[{x:c,y:n,z:u},{x:c,y:e,z:u},{x:g,y:p,z:0},{x:g,y:k,z:0}],enabled:a.right.visible&&!a.front.visible},{fill:b.color(a.right.color).get(),vertexes:[{x:c,y:e,z:l},{x:c,y:n,z:l},{x:g,y:k,z:h},{x:g,y:p,z:h}],enabled:a.right.visible&&!a.back.visible}]});this.frameShapes.back[m]({"class":"highcharts-3d-frame highcharts-3d-frame-back",zIndex:a.back.frontFacing?-1E3:1E3,faces:[{fill:b.color(a.back.color).brighten(.1).get(),
44
- vertexes:[{x:c,y:e,z:l},{x:d,y:e,z:l},{x:f,y:p,z:h},{x:g,y:p,z:h}],enabled:a.back.visible&&!a.bottom.visible},{fill:b.color(a.back.color).brighten(.1).get(),vertexes:[{x:d,y:n,z:l},{x:c,y:n,z:l},{x:g,y:k,z:h},{x:f,y:k,z:h}],enabled:a.back.visible&&!a.top.visible},{fill:b.color(a.back.color).brighten(-.1).get(),vertexes:[{x:d,y:e,z:l},{x:d,y:n,z:l},{x:f,y:k,z:h},{x:f,y:p,z:h}],enabled:a.back.visible&&!a.left.visible},{fill:b.color(a.back.color).brighten(-.1).get(),vertexes:[{x:c,y:n,z:l},{x:c,y:e,
45
- z:l},{x:g,y:p,z:h},{x:g,y:k,z:h}],enabled:a.back.visible&&!a.right.visible},{fill:b.color(a.back.color).get(),vertexes:[{x:f,y:k,z:h},{x:g,y:k,z:h},{x:g,y:p,z:h},{x:f,y:p,z:h}],enabled:a.back.visible},{fill:b.color(a.back.color).get(),vertexes:[{x:d,y:e,z:l},{x:c,y:e,z:l},{x:c,y:n,z:l},{x:d,y:n,z:l}],enabled:a.back.visible}]});this.frameShapes.front[m]({"class":"highcharts-3d-frame highcharts-3d-frame-front",zIndex:a.front.frontFacing?-1E3:1E3,faces:[{fill:b.color(a.front.color).brighten(.1).get(),
46
- vertexes:[{x:d,y:e,z:u},{x:c,y:e,z:u},{x:g,y:p,z:0},{x:f,y:p,z:0}],enabled:a.front.visible&&!a.bottom.visible},{fill:b.color(a.front.color).brighten(.1).get(),vertexes:[{x:c,y:n,z:u},{x:d,y:n,z:u},{x:f,y:k,z:0},{x:g,y:k,z:0}],enabled:a.front.visible&&!a.top.visible},{fill:b.color(a.front.color).brighten(-.1).get(),vertexes:[{x:d,y:n,z:u},{x:d,y:e,z:u},{x:f,y:p,z:0},{x:f,y:k,z:0}],enabled:a.front.visible&&!a.left.visible},{fill:b.color(a.front.color).brighten(-.1).get(),vertexes:[{x:c,y:e,z:u},{x:c,
47
- y:n,z:u},{x:g,y:k,z:0},{x:g,y:p,z:0}],enabled:a.front.visible&&!a.right.visible},{fill:b.color(a.front.color).get(),vertexes:[{x:g,y:k,z:0},{x:f,y:k,z:0},{x:f,y:p,z:0},{x:g,y:p,z:0}],enabled:a.front.visible},{fill:b.color(a.front.color).get(),vertexes:[{x:c,y:e,z:u},{x:d,y:e,z:u},{x:d,y:n,z:u},{x:c,y:n,z:u}],enabled:a.front.visible}]})}});r.prototype.retrieveStacks=function(b){var h=this.series,a={},f,g=1;v(this.series,function(k){f=l(k.options.stack,b?0:h.length-1-k.index);a[f]?a[f].series.push(k):
48
- (a[f]={series:[k],position:g},g++)});a.totalStacks=g+1;return a};r.prototype.get3dFrame=function(){var q=this,h=q.options.chart.options3d,a=h.frame,f=q.plotLeft,g=q.plotLeft+q.plotWidth,k=q.plotTop,p=q.plotTop+q.plotHeight,d=h.depth,c=function(a){a=b.shapeArea3d(a,q);return.5<a?1:-.5>a?-1:0},n=c([{x:f,y:p,z:d},{x:g,y:p,z:d},{x:g,y:p,z:0},{x:f,y:p,z:0}]),e=c([{x:f,y:k,z:0},{x:g,y:k,z:0},{x:g,y:k,z:d},{x:f,y:k,z:d}]),u=c([{x:f,y:k,z:0},{x:f,y:k,z:d},{x:f,y:p,z:d},{x:f,y:p,z:0}]),m=c([{x:g,y:k,z:d},
49
- {x:g,y:k,z:0},{x:g,y:p,z:0},{x:g,y:p,z:d}]),w=c([{x:f,y:p,z:0},{x:g,y:p,z:0},{x:g,y:k,z:0},{x:f,y:k,z:0}]),c=c([{x:f,y:k,z:d},{x:g,y:k,z:d},{x:g,y:p,z:d},{x:f,y:p,z:d}]),t=!1,r=!1,y=!1,z=!1;v([].concat(q.xAxis,q.yAxis,q.zAxis),function(a){a&&(a.horiz?a.opposite?r=!0:t=!0:a.opposite?z=!0:y=!0)});var B=function(a,c,d){for(var b=["size","color","visible"],e={},f=0;f<b.length;f++)for(var g=b[f],k=0;k<a.length;k++)if("object"===typeof a[k]){var n=a[k][g];if(void 0!==n&&null!==n){e[g]=n;break}}a=d;!0===
50
- e.visible||!1===e.visible?a=e.visible:"auto"===e.visible&&(a=0<c);return{size:l(e.size,1),color:l(e.color,"none"),frontFacing:0<c,visible:a}},a={bottom:B([a.bottom,a.top,a],n,t),top:B([a.top,a.bottom,a],e,r),left:B([a.left,a.right,a.side,a],u,y),right:B([a.right,a.left,a.side,a],m,z),back:B([a.back,a.front,a],c,!0),front:B([a.front,a.back,a],w,!1)};"auto"===h.axisLabelPosition?(m=function(a,c){return a.visible!==c.visible||a.visible&&c.visible&&a.frontFacing!==c.frontFacing},h=[],m(a.left,a.front)&&
51
- h.push({y:(k+p)/2,x:f,z:0,xDir:{x:1,y:0,z:0}}),m(a.left,a.back)&&h.push({y:(k+p)/2,x:f,z:d,xDir:{x:0,y:0,z:-1}}),m(a.right,a.front)&&h.push({y:(k+p)/2,x:g,z:0,xDir:{x:0,y:0,z:1}}),m(a.right,a.back)&&h.push({y:(k+p)/2,x:g,z:d,xDir:{x:-1,y:0,z:0}}),n=[],m(a.bottom,a.front)&&n.push({x:(f+g)/2,y:p,z:0,xDir:{x:1,y:0,z:0}}),m(a.bottom,a.back)&&n.push({x:(f+g)/2,y:p,z:d,xDir:{x:-1,y:0,z:0}}),e=[],m(a.top,a.front)&&e.push({x:(f+g)/2,y:k,z:0,xDir:{x:1,y:0,z:0}}),m(a.top,a.back)&&e.push({x:(f+g)/2,y:k,z:d,
52
- xDir:{x:-1,y:0,z:0}}),u=[],m(a.bottom,a.left)&&u.push({z:(0+d)/2,y:p,x:f,xDir:{x:0,y:0,z:-1}}),m(a.bottom,a.right)&&u.push({z:(0+d)/2,y:p,x:g,xDir:{x:0,y:0,z:1}}),p=[],m(a.top,a.left)&&p.push({z:(0+d)/2,y:k,x:f,xDir:{x:0,y:0,z:-1}}),m(a.top,a.right)&&p.push({z:(0+d)/2,y:k,x:g,xDir:{x:0,y:0,z:1}}),f=function(a,c,d){if(0===a.length)return null;if(1===a.length)return a[0];for(var b=0,e=x(a,q,!1),f=1;f<e.length;f++)d*e[f][c]>d*e[b][c]?b=f:d*e[f][c]===d*e[b][c]&&e[f].z<e[b].z&&(b=f);return a[b]},a.axes=
53
- {y:{left:f(h,"x",-1),right:f(h,"x",1)},x:{top:f(e,"y",-1),bottom:f(n,"y",1)},z:{top:f(p,"y",-1),bottom:f(u,"y",1)}}):a.axes={y:{left:{x:f,z:0,xDir:{x:1,y:0,z:0}},right:{x:g,z:0,xDir:{x:0,y:0,z:1}}},x:{top:{y:k,z:0,xDir:{x:1,y:0,z:0}},bottom:{y:p,z:0,xDir:{x:1,y:0,z:0}}},z:{top:{x:y?g:f,y:k,xDir:y?{x:0,y:0,z:1}:{x:0,y:0,z:-1}},bottom:{x:y?g:f,y:p,xDir:y?{x:0,y:0,z:1}:{x:0,y:0,z:-1}}}};return a};b.Fx.prototype.matrixSetter=function(){var l;if(1>this.pos&&(b.isArray(this.start)||b.isArray(this.end))){var h=
54
- this.start||[1,0,0,1,0,0],a=this.end||[1,0,0,1,0,0];l=[];for(var f=0;6>f;f++)l.push(this.pos*a[f]+(1-this.pos)*h[f])}else l=this.end;this.elem.attr(this.prop,l,null,!0)}})(B);(function(b){function z(d,c,b){if(!d.chart.is3d()||"colorAxis"===d.coll)return c;var e=d.chart,g=x*e.options.chart.options3d.alpha,k=x*e.options.chart.options3d.beta,l=a(b&&d.options.title.position3d,d.options.labels.position3d);b=a(b&&d.options.title.skew3d,d.options.labels.skew3d);var n=e.frame3d,h=e.plotLeft,m=e.plotWidth+
55
- h,p=e.plotTop,v=e.plotHeight+p,e=!1,t=0,w=0,r={x:0,y:1,z:0};c=d.swapZ({x:c.x,y:c.y,z:0});if(d.isZAxis)if(d.opposite){if(null===n.axes.z.top)return{};w=c.y-p;c.x=n.axes.z.top.x;c.y=n.axes.z.top.y;h=n.axes.z.top.xDir;e=!n.top.frontFacing}else{if(null===n.axes.z.bottom)return{};w=c.y-v;c.x=n.axes.z.bottom.x;c.y=n.axes.z.bottom.y;h=n.axes.z.bottom.xDir;e=!n.bottom.frontFacing}else if(d.horiz)if(d.opposite){if(null===n.axes.x.top)return{};w=c.y-p;c.y=n.axes.x.top.y;c.z=n.axes.x.top.z;h=n.axes.x.top.xDir;
56
- e=!n.top.frontFacing}else{if(null===n.axes.x.bottom)return{};w=c.y-v;c.y=n.axes.x.bottom.y;c.z=n.axes.x.bottom.z;h=n.axes.x.bottom.xDir;e=!n.bottom.frontFacing}else if(d.opposite){if(null===n.axes.y.right)return{};t=c.x-m;c.x=n.axes.y.right.x;c.z=n.axes.y.right.z;h=n.axes.y.right.xDir;h={x:h.z,y:h.y,z:-h.x}}else{if(null===n.axes.y.left)return{};t=c.x-h;c.x=n.axes.y.left.x;c.z=n.axes.y.left.z;h=n.axes.y.left.xDir}"chart"!==l&&("flap"===l?d.horiz?(k=Math.sin(g),g=Math.cos(g),d.opposite&&(k=-k),e&&(k=
57
- -k),r={x:h.z*k,y:g,z:-h.x*k}):h={x:Math.cos(k),y:0,z:Math.sin(k)}:"ortho"===l?d.horiz?(r=Math.cos(g),l=Math.sin(k)*r,g=-Math.sin(g),k=-r*Math.cos(k),r={x:h.y*k-h.z*g,y:h.z*l-h.x*k,z:h.x*g-h.y*l},g=1/Math.sqrt(r.x*r.x+r.y*r.y+r.z*r.z),e&&(g=-g),r={x:g*r.x,y:g*r.y,z:g*r.z}):h={x:Math.cos(k),y:0,z:Math.sin(k)}:d.horiz?r={x:Math.sin(k)*Math.sin(g),y:Math.cos(g),z:-Math.cos(k)*Math.sin(g)}:h={x:Math.cos(k),y:0,z:Math.sin(k)});c.x+=t*h.x+w*r.x;c.y+=t*h.y+w*r.y;c.z+=t*h.z+w*r.z;e=q([c],d.chart)[0];b&&(0>
58
- f(q([c,{x:c.x+h.x,y:c.y+h.y,z:c.z+h.z},{x:c.x+r.x,y:c.y+r.y,z:c.z+r.z}],d.chart))&&(h={x:-h.x,y:-h.y,z:-h.z}),d=q([{x:c.x,y:c.y,z:c.z},{x:c.x+h.x,y:c.y+h.y,z:c.z+h.z},{x:c.x+r.x,y:c.y+r.y,z:c.z+r.z}],d.chart),e.matrix=[d[1].x-d[0].x,d[1].y-d[0].y,d[2].x-d[0].x,d[2].y-d[0].y,e.x,e.y],e.matrix[4]-=e.x*e.matrix[0]+e.y*e.matrix[2],e.matrix[5]-=e.x*e.matrix[1]+e.y*e.matrix[3]);return e}var y,r=b.addEvent,v=b.Axis,m=b.Chart,x=b.deg2rad,l=b.each,w=b.extend,t=b.merge,q=b.perspective,h=b.perspective3D,a=b.pick,
59
- f=b.shapeArea,g=b.splat,k=b.Tick,p=b.wrap;t(!0,v.prototype.defaultOptions,{labels:{position3d:"offset",skew3d:!1},title:{position3d:null,skew3d:null}});r(v,"afterSetOptions",function(){var d;this.chart.is3d&&this.chart.is3d()&&"colorAxis"!==this.coll&&(d=this.options,d.tickWidth=a(d.tickWidth,0),d.gridLineWidth=a(d.gridLineWidth,1))});p(v.prototype,"getPlotLinePath",function(a){var c=a.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d()||"colorAxis"===this.coll||null===c)return c;var d=this.chart,
60
- b=d.options.chart.options3d,b=this.isZAxis?d.plotWidth:b.depth,d=d.frame3d,c=[this.swapZ({x:c[1],y:c[2],z:0}),this.swapZ({x:c[1],y:c[2],z:b}),this.swapZ({x:c[4],y:c[5],z:0}),this.swapZ({x:c[4],y:c[5],z:b})],b=[];this.horiz?(this.isZAxis?(d.left.visible&&b.push(c[0],c[2]),d.right.visible&&b.push(c[1],c[3])):(d.front.visible&&b.push(c[0],c[2]),d.back.visible&&b.push(c[1],c[3])),d.top.visible&&b.push(c[0],c[1]),d.bottom.visible&&b.push(c[2],c[3])):(d.front.visible&&b.push(c[0],c[2]),d.back.visible&&
61
- b.push(c[1],c[3]),d.left.visible&&b.push(c[0],c[1]),d.right.visible&&b.push(c[2],c[3]));b=q(b,this.chart,!1);return this.chart.renderer.toLineSegments(b)});p(v.prototype,"getLinePath",function(a){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:a.apply(this,[].slice.call(arguments,1))});p(v.prototype,"getPlotBandPath",function(a){if(!this.chart.is3d()||"colorAxis"===this.coll)return a.apply(this,[].slice.call(arguments,1));var c=arguments,d=c[2],b=[],c=this.getPlotLinePath(c[1]),d=this.getPlotLinePath(d);
62
- if(c&&d)for(var g=0;g<c.length;g+=6)b.push("M",c[g+1],c[g+2],"L",c[g+4],c[g+5],"L",d[g+4],d[g+5],"L",d[g+1],d[g+2],"Z");return b});p(k.prototype,"getMarkPath",function(a){var c=a.apply(this,[].slice.call(arguments,1)),c=[z(this.axis,{x:c[1],y:c[2],z:0}),z(this.axis,{x:c[4],y:c[5],z:0})];return this.axis.chart.renderer.toLineSegments(c)});r(k,"afterGetLabelPosition",function(a){w(a.pos,z(this.axis,a.pos))});p(v.prototype,"getTitlePosition",function(a){var c=a.apply(this,[].slice.call(arguments,1));
63
- return z(this,c,!0)});r(v,"drawCrosshair",function(a){this.chart.is3d()&&"colorAxis"!==this.coll&&a.point&&(a.point.crosshairPos=this.isXAxis?a.point.axisXpos:this.len-a.point.axisYpos)});r(v,"destroy",function(){l(["backFrame","bottomFrame","sideFrame"],function(a){this[a]&&(this[a]=this[a].destroy())},this)});v.prototype.swapZ=function(a,c){return this.isZAxis?(c=c?0:this.chart.plotLeft,{x:c+a.z,y:a.y,z:a.x-c}):a};y=b.ZAxis=function(){this.init.apply(this,arguments)};w(y.prototype,v.prototype);
64
- w(y.prototype,{isZAxis:!0,setOptions:function(a){a=t({offset:0,lineWidth:0},a);v.prototype.setOptions.call(this,a);this.coll="zAxis"},setAxisSize:function(){v.prototype.setAxisSize.call(this);this.width=this.len=this.chart.options.chart.options3d.depth;this.right=this.chart.chartWidth-this.width-this.left},getSeriesExtremes:function(){var d=this,c=d.chart;d.hasVisibleSeries=!1;d.dataMin=d.dataMax=d.ignoreMinPadding=d.ignoreMaxPadding=null;d.buildStacks&&d.buildStacks();l(d.series,function(b){if(b.visible||
65
- !c.options.chart.ignoreHiddenSeries)d.hasVisibleSeries=!0,b=b.zData,b.length&&(d.dataMin=Math.min(a(d.dataMin,b[0]),Math.min.apply(null,b)),d.dataMax=Math.max(a(d.dataMax,b[0]),Math.max.apply(null,b)))})}});r(m,"afterGetAxes",function(){var a=this,c=this.options,c=c.zAxis=g(c.zAxis||{});a.is3d()&&(this.zAxis=[],l(c,function(c,b){c.index=b;c.isX=!0;(new y(a,c)).setScale()}))});p(v.prototype,"getSlotWidth",function(b,c){if(this.chart.is3d()&&c&&c.label&&this.categories){var d=this.chart,e=this.ticks,
66
- g=this.gridGroup.element.childNodes[0].getBBox(),k=d.frameShapes.left.getBBox(),f=d.options.chart.options3d,d={x:d.plotWidth/2,y:d.plotHeight/2,z:f.depth/2,vd:a(f.depth,1)*a(f.viewDistance,0)},l,q,f=c.pos,p=e[f-1],e=e[f+1];0!==f&&p&&(l=h({x:p.label.xy.x,y:p.label.xy.y,z:null},d,d.vd));e&&e.label.xy&&(q=h({x:e.label.xy.x,y:e.label.xy.y,z:null},d,d.vd));e={x:c.label.xy.x,y:c.label.xy.y,z:null};e=h(e,d,d.vd);return Math.abs(l?e.x-l.x:q?q.x-e.x:g.x-k.x)}return b.apply(this,[].slice.call(arguments,1))})})(B);
67
- (function(b){var z=b.addEvent,y=b.perspective,r=b.pick;z(b.Series,"afterTranslate",function(){this.chart.is3d()&&this.translate3dPoints()});b.Series.prototype.translate3dPoints=function(){var b=this.chart,m=r(this.zAxis,b.options.zAxis[0]),x=[],l,w,t;for(t=0;t<this.data.length;t++)l=this.data[t],m&&m.translate?(w=m.isLog&&m.val2lin?m.val2lin(l.z):l.z,l.plotZ=m.translate(w),l.isInside=l.isInside?w>=m.min&&w<=m.max:!1):l.plotZ=0,l.axisXpos=l.plotX,l.axisYpos=l.plotY,l.axisZpos=l.plotZ,x.push({x:l.plotX,
68
- y:l.plotY,z:l.plotZ});b=y(x,b,!0);for(t=0;t<this.data.length;t++)l=this.data[t],m=b[t],l.plotX=m.x,l.plotY=m.y,l.plotZ=m.z}})(B);(function(b){var z=b.addEvent,y=b.each,r=b.perspective,v=b.pick,m=b.Series,x=b.seriesTypes,l=b.inArray,w=b.svg,t=b.wrap;t(x.column.prototype,"translate",function(b){b.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&this.translate3dShapes()});t(b.Series.prototype,"alignDataLabel",function(b){arguments[3].outside3dPlot=arguments[1].outside3dPlot;b.apply(this,[].slice.call(arguments,
69
- 1))});t(b.Series.prototype,"justifyDataLabel",function(b){return arguments[2].outside3dPlot?!1:b.apply(this,[].slice.call(arguments,1))});x.column.prototype.translate3dPoints=function(){};x.column.prototype.translate3dShapes=function(){var b=this,h=b.chart,a=b.options,f=a.depth||25,g=(a.stacking?a.stack||0:b.index)*(f+(a.groupZPadding||1)),k=b.borderWidth%2?.5:0;h.inverted&&!b.yAxis.reversed&&(k*=-1);!1!==a.grouping&&(g=0);g+=a.groupZPadding||1;y(b.data,function(a){a.outside3dPlot=null;if(null!==
70
- a.y){var d=a.shapeArgs,c=a.tooltipPos,l;y([["x","width"],["y","height"]],function(c){l=d[c[0]]-k;0>l&&(d[c[1]]+=d[c[0]]+k,d[c[0]]=-k,l=0);l+d[c[1]]>b[c[0]+"Axis"].len&&0!==d[c[1]]&&(d[c[1]]=b[c[0]+"Axis"].len-d[c[0]]);if(0!==d[c[1]]&&(d[c[0]]>=b[c[0]+"Axis"].len||d[c[0]]+d[c[1]]<=k)){for(var e in d)d[e]=0;a.outside3dPlot=!0}});a.shapeType="cuboid";d.z=g;d.depth=f;d.insidePlotArea=!0;c=r([{x:c[0],y:c[1],z:g}],h,!0)[0];a.tooltipPos=[c.x,c.y]}});b.z=g};t(x.column.prototype,"animate",function(b){if(this.chart.is3d()){var h=
71
- arguments[1],a=this.yAxis,f=this,g=this.yAxis.reversed;w&&(h?y(f.data,function(b){null!==b.y&&(b.height=b.shapeArgs.height,b.shapey=b.shapeArgs.y,b.shapeArgs.height=1,g||(b.shapeArgs.y=b.stackY?b.plotY+a.translate(b.stackY):b.plotY+(b.negative?-b.height:b.height)))}):(y(f.data,function(a){null!==a.y&&(a.shapeArgs.height=a.height,a.shapeArgs.y=a.shapey,a.graphic&&a.graphic.animate(a.shapeArgs,f.options.animation))}),this.drawDataLabels(),f.animate=null))}else b.apply(this,[].slice.call(arguments,1))});
72
- t(x.column.prototype,"plotGroup",function(b,h,a,f,g,k){this.chart.is3d()&&k&&!this[h]&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(k)),this[h]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[h].survive=!0);return b.apply(this,Array.prototype.slice.call(arguments,1))});t(x.column.prototype,"setVisible",function(b,h){var a=this,f;a.chart.is3d()&&y(a.data,function(b){f=(b.visible=b.options.visible=h=void 0===h?!b.visible:h)?"visible":
73
- "hidden";a.options.data[l(b,a.data)]=b.options;b.graphic&&b.graphic.attr({visibility:f})});b.apply(this,Array.prototype.slice.call(arguments,1))});x.column.prototype.handle3dGrouping=!0;z(m,"afterInit",function(){if(this.chart.is3d()&&this.handle3dGrouping){var b=this.options,h=b.grouping,a=b.stacking,f=v(this.yAxis.options.reversedStacks,!0),g=0;if(void 0===h||h){h=this.chart.retrieveStacks(a);g=b.stack||0;for(a=0;a<h[g].series.length&&h[g].series[a]!==this;a++);g=10*(h.totalStacks-h[g].position)+
74
- (f?a:-a);this.xAxis.reversed||(g=10*h.totalStacks-g)}b.zIndex=g}});t(m.prototype,"alignDataLabel",function(b){if(this.chart.is3d()&&("column"===this.type||"columnrange"===this.type)){var h=arguments,a=h[4],h=h[1],f={x:a.x,y:a.y,z:this.z},f=r([f],this.chart,!0)[0];a.x=f.x;a.y=h.outside3dPlot?-9E9:f.y}b.apply(this,[].slice.call(arguments,1))});t(b.StackItem.prototype,"getStackBox",function(l,h){var a=l.apply(this,[].slice.call(arguments,1));if(h.is3d()){var f={x:a.x,y:a.y,z:0},f=b.perspective([f],h,
75
- !0)[0];a.x=f.x;a.y=f.y}return a})})(B);(function(b){var z=b.deg2rad,y=b.each,r=b.seriesTypes,v=b.svg;b=b.wrap;b(r.pie.prototype,"translate",function(b){b.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var m=this,l=m.options,r=l.depth||0,t=m.chart.options.chart.options3d,q=t.alpha,h=t.beta,a=l.stacking?(l.stack||0)*r:m._i*r,a=a+r/2;!1!==l.grouping&&(a=0);y(m.data,function(b){var g=b.shapeArgs;b.shapeType="arc3d";g.z=a;g.depth=.75*r;g.alpha=q;g.beta=h;g.center=m.center;g=(g.end+g.start)/
76
- 2;b.slicedTranslation={translateX:Math.round(Math.cos(g)*l.slicedOffset*Math.cos(q*z)),translateY:Math.round(Math.sin(g)*l.slicedOffset*Math.cos(q*z))}})}});b(r.pie.prototype.pointClass.prototype,"haloPath",function(b){var m=arguments;return this.series.chart.is3d()?[]:b.call(this,m[1])});b(r.pie.prototype,"drawPoints",function(b){b.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&y(this.points,function(b){var l=b.graphic;if(l)l[b.y&&b.visible?"show":"hide"]()})});b(r.pie.prototype,"drawDataLabels",
77
- function(b){if(this.chart.is3d()){var m=this.chart.options.chart.options3d;y(this.data,function(b){var l=b.shapeArgs,r=l.r,q=(l.start+l.end)/2,h=b.labelPos,a=-r*(1-Math.cos((l.alpha||m.alpha)*z))*Math.sin(q),f=r*(Math.cos((l.beta||m.beta)*z)-1)*Math.cos(q);y([0,2,4],function(b){h[b]+=f;h[b+1]+=a})})}b.apply(this,[].slice.call(arguments,1))});b(r.pie.prototype,"addPoint",function(b){b.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&this.update(this.userOptions,!0)});b(r.pie.prototype,"animate",
78
- function(b){if(this.chart.is3d()){var m=arguments[1],l=this.options.animation,r=this.center,t=this.group,q=this.markerGroup;v&&(!0===l&&(l={}),m?(t.oldtranslateX=t.translateX,t.oldtranslateY=t.translateY,m={translateX:r[0],translateY:r[1],scaleX:.001,scaleY:.001},t.attr(m),q&&(q.attrSetters=t.attrSetters,q.attr(m))):(m={translateX:t.oldtranslateX,translateY:t.oldtranslateY,scaleX:1,scaleY:1},t.animate(m,l),q&&q.animate(m,l),this.animate=null))}else b.apply(this,[].slice.call(arguments,1))})})(B);
79
- (function(b){var z=b.Point,y=b.seriesType,r=b.seriesTypes;y("scatter3d","scatter",{tooltip:{pointFormat:"x: \x3cb\x3e{point.x}\x3c/b\x3e\x3cbr/\x3ey: \x3cb\x3e{point.y}\x3c/b\x3e\x3cbr/\x3ez: \x3cb\x3e{point.z}\x3c/b\x3e\x3cbr/\x3e"}},{pointAttribs:function(v){var m=r.scatter.prototype.pointAttribs.apply(this,arguments);this.chart.is3d()&&v&&(m.zIndex=b.pointCameraDistance(v,this.chart));return m},axisTypes:["xAxis","yAxis","zAxis"],pointArrayMap:["x","y","z"],parallelArrays:["x","y","z"],directTouch:!0},
80
- {applyOptions:function(){z.prototype.applyOptions.apply(this,arguments);void 0===this.z&&(this.z=0);return this}})})(B)});
8
+ (function(A){"object"===typeof module&&module.exports?module.exports=A:"function"===typeof define&&define.amd?define(function(){return A}):A(Highcharts)})(function(A){(function(b){var z=b.deg2rad,y=b.pick;b.perspective3D=function(b,v,m){v=0<m&&m<Number.POSITIVE_INFINITY?m/(b.z+v.z+m):1;return{x:b.x*v,y:b.y*v}};b.perspective=function(r,v,m){var x=v.options.chart.options3d,g=m?v.inverted:!1,w={x:v.plotWidth/2,y:v.plotHeight/2,z:x.depth/2,vd:y(x.depth,1)*y(x.viewDistance,0)},u=v.scale3d||1,q=z*x.beta*
9
+ (g?-1:1),x=z*x.alpha*(g?-1:1),f=Math.cos(x),a=Math.cos(-q),e=Math.sin(x),h=Math.sin(-q);m||(w.x+=v.plotLeft,w.y+=v.plotTop);return b.map(r,function(l){var q;q=(g?l.y:l.x)-w.x;var d=(g?l.x:l.y)-w.y;l=(l.z||0)-w.z;q={x:a*q-h*l,y:-e*h*q+f*d-a*e*l,z:f*h*q+e*d+f*a*l};d=b.perspective3D(q,w,w.vd);d.x=d.x*u+w.x;d.y=d.y*u+w.y;d.z=q.z*u+w.z;return{x:g?d.y:d.x,y:g?d.x:d.y,z:d.z}})};b.pointCameraDistance=function(b,v){var m=v.options.chart.options3d,x=v.plotWidth/2;v=v.plotHeight/2;m=y(m.depth,1)*y(m.viewDistance,
10
+ 0)+m.depth;return Math.sqrt(Math.pow(x-b.plotX,2)+Math.pow(v-b.plotY,2)+Math.pow(m-b.plotZ,2))};b.shapeArea=function(b){var v=0,m,x;for(m=0;m<b.length;m++)x=(m+1)%b.length,v+=b[m].x*b[x].y-b[x].x*b[m].y;return v/2};b.shapeArea3d=function(r,v,m){return b.shapeArea(b.perspective(r,v,m))}})(A);(function(b){function z(a,d,c,C,b,D,e,h){var B=[],t=D-b;return D>b&&D-b>Math.PI/2+.0001?(B=B.concat(z(a,d,c,C,b,b+Math.PI/2,e,h)),B=B.concat(z(a,d,c,C,b+Math.PI/2,D,e,h))):D<b&&b-D>Math.PI/2+.0001?(B=B.concat(z(a,
11
+ d,c,C,b,b-Math.PI/2,e,h)),B=B.concat(z(a,d,c,C,b-Math.PI/2,D,e,h))):["C",a+c*Math.cos(b)-c*k*t*Math.sin(b)+e,d+C*Math.sin(b)+C*k*t*Math.cos(b)+h,a+c*Math.cos(D)+c*k*t*Math.sin(D)+e,d+C*Math.sin(D)-C*k*t*Math.cos(D)+h,a+c*Math.cos(D)+e,d+C*Math.sin(D)+h]}var y=Math.cos,r=Math.PI,v=Math.sin,m=b.animObject,x=b.charts,g=b.color,w=b.defined,u=b.deg2rad,q=b.each,f=b.extend,a=b.inArray,e=b.map,h=b.merge,l=b.perspective,n=b.pick,d=b.SVGElement,c=b.SVGRenderer,p=b.wrap,k=4*(Math.sqrt(2)-1)/3/(r/2);p(c.prototype,
12
+ "init",function(a){a.apply(this,[].slice.call(arguments,1));q([{name:"darker",slope:.6},{name:"brighter",slope:1.4}],function(a){this.definition({tagName:"filter",id:"highcharts-"+a.name,children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncR",type:"linear",slope:a.slope},{tagName:"feFuncG",type:"linear",slope:a.slope},{tagName:"feFuncB",type:"linear",slope:a.slope}]}]})},this)});c.prototype.toLinePath=function(a,d){var c=[];q(a,function(a){c.push("L",a.x,a.y)});a.length&&(c[0]="M",d&&
13
+ c.push("Z"));return c};c.prototype.toLineSegments=function(a){var d=[],c=!0;q(a,function(a){d.push(c?"M":"L",a.x,a.y);c=!c});return d};c.prototype.face3d=function(a){var d=this,c=this.createElement("path");c.vertexes=[];c.insidePlotArea=!1;c.enabled=!0;p(c,"attr",function(a,c){if("object"===typeof c&&(w(c.enabled)||w(c.vertexes)||w(c.insidePlotArea))){this.enabled=n(c.enabled,this.enabled);this.vertexes=n(c.vertexes,this.vertexes);this.insidePlotArea=n(c.insidePlotArea,this.insidePlotArea);delete c.enabled;
14
+ delete c.vertexes;delete c.insidePlotArea;var B=l(this.vertexes,x[d.chartIndex],this.insidePlotArea),C=d.toLinePath(B,!0),B=b.shapeArea(B),B=this.enabled&&0<B?"visible":"hidden";c.d=C;c.visibility=B}return a.apply(this,[].slice.call(arguments,1))});p(c,"animate",function(a,c){if("object"===typeof c&&(w(c.enabled)||w(c.vertexes)||w(c.insidePlotArea))){this.enabled=n(c.enabled,this.enabled);this.vertexes=n(c.vertexes,this.vertexes);this.insidePlotArea=n(c.insidePlotArea,this.insidePlotArea);delete c.enabled;
15
+ delete c.vertexes;delete c.insidePlotArea;var B=l(this.vertexes,x[d.chartIndex],this.insidePlotArea),C=d.toLinePath(B,!0),B=b.shapeArea(B),B=this.enabled&&0<B?"visible":"hidden";c.d=C;this.attr("visibility",B)}return a.apply(this,[].slice.call(arguments,1))});return c.attr(a)};c.prototype.polyhedron=function(a){var c=this,d=this.g(),b=d.destroy;d.faces=[];d.destroy=function(){for(var a=0;a<d.faces.length;a++)d.faces[a].destroy();return b.call(this)};p(d,"attr",function(a,b,C,B,k){if("object"===typeof b&&
16
+ w(b.faces)){for(;d.faces.length>b.faces.length;)d.faces.pop().destroy();for(;d.faces.length<b.faces.length;)d.faces.push(c.face3d().add(d));for(var e=0;e<b.faces.length;e++)d.faces[e].attr(b.faces[e],null,B,k);delete b.faces}return a.apply(this,[].slice.call(arguments,1))});p(d,"animate",function(a,b,C,B){if(b&&b.faces){for(;d.faces.length>b.faces.length;)d.faces.pop().destroy();for(;d.faces.length<b.faces.length;)d.faces.push(c.face3d().add(d));for(var k=0;k<b.faces.length;k++)d.faces[k].animate(b.faces[k],
17
+ C,B);delete b.faces}return a.apply(this,[].slice.call(arguments,1))});return d.attr(a)};c.prototype.cuboid=function(a){var c=this.g(),b=c.destroy;a=this.cuboidPath(a);c.front=this.path(a[0]).attr({"class":"highcharts-3d-front"}).add(c);c.top=this.path(a[1]).attr({"class":"highcharts-3d-top"}).add(c);c.side=this.path(a[2]).attr({"class":"highcharts-3d-side"}).add(c);c.fillSetter=function(a){this.front.attr({fill:a});this.top.attr({fill:g(a).brighten(.1).get()});this.side.attr({fill:g(a).brighten(-.1).get()});
18
+ this.color=a;c.fill=a;return this};c.opacitySetter=function(a){this.front.attr({opacity:a});this.top.attr({opacity:a});this.side.attr({opacity:a});return this};c.attr=function(a,c,b,B){if("string"===typeof a&&"undefined"!==typeof c){var k=a;a={};a[k]=c}if(a.shapeArgs||w(a.x))a=this.renderer.cuboidPath(a.shapeArgs||a),this.front.attr({d:a[0]}),this.top.attr({d:a[1]}),this.side.attr({d:a[2]});else return d.prototype.attr.call(this,a,void 0,b,B);return this};c.animate=function(a,c,b){w(a.x)&&w(a.y)?
19
+ (a=this.renderer.cuboidPath(a),this.front.animate({d:a[0]},c,b),this.top.animate({d:a[1]},c,b),this.side.animate({d:a[2]},c,b),this.attr({zIndex:-a[3]})):a.opacity?(this.front.animate(a,c,b),this.top.animate(a,c,b),this.side.animate(a,c,b)):d.prototype.animate.call(this,a,c,b);return this};c.destroy=function(){this.front.destroy();this.top.destroy();this.side.destroy();return b.call(this)};c.attr({zIndex:-a[3]});return c};b.SVGRenderer.prototype.cuboidPath=function(a){function c(a){return g[a]}var d=
20
+ a.x,k=a.y,h=a.z,q=a.height,f=a.width,t=a.depth,p=x[this.chartIndex],n,G,v=p.options.chart.options3d.alpha,m=0,g=[{x:d,y:k,z:h},{x:d+f,y:k,z:h},{x:d+f,y:k+q,z:h},{x:d,y:k+q,z:h},{x:d,y:k+q,z:h+t},{x:d+f,y:k+q,z:h+t},{x:d+f,y:k,z:h+t},{x:d,y:k,z:h+t}],g=l(g,p,a.insidePlotArea);G=function(a,d){var k=[[],-1];a=e(a,c);d=e(d,c);0>b.shapeArea(a)?k=[a,0]:0>b.shapeArea(d)&&(k=[d,1]);return k};n=G([3,2,1,0],[7,6,5,4]);a=n[0];f=n[1];n=G([1,6,7,0],[4,5,2,3]);q=n[0];t=n[1];n=G([1,2,5,6],[0,7,4,3]);G=n[0];n=n[1];
21
+ 1===n?m+=1E4*(1E3-d):n||(m+=1E4*d);m+=10*(!t||0<=v&&180>=v||360>v&&357.5<v?p.plotHeight-k:10+k);1===f?m+=100*h:f||(m+=100*(1E3-h));m=-Math.round(m);return[this.toLinePath(a,!0),this.toLinePath(q,!0),this.toLinePath(G,!0),m]};b.SVGRenderer.prototype.arc3d=function(c){function k(c){var d=!1,b={};c=h(c);for(var e in c)-1!==a(e,t)&&(b[e]=c[e],delete c[e],d=!0);return d?b:!1}var e=this.g(),l=e.renderer,t="x y r innerR start end".split(" ");c=h(c);c.alpha=(c.alpha||0)*u;c.beta=(c.beta||0)*u;e.top=l.path();
22
+ e.side1=l.path();e.side2=l.path();e.inn=l.path();e.out=l.path();e.onAdd=function(){var a=e.parentGroup,c=e.attr("class");e.top.add(e);q(["out","inn","side1","side2"],function(d){e[d].attr({"class":c+" highcharts-3d-side"}).add(a)})};q(["addClass","removeClass"],function(a){e[a]=function(){var c=arguments;q(["top","out","inn","side1","side2"],function(d){e[d][a].apply(e[d],c)})}});e.setPaths=function(a){var c=e.renderer.arc3dPath(a),d=100*c.zTop;e.attribs=a;e.top.attr({d:c.top,zIndex:c.zTop});e.inn.attr({d:c.inn,
23
+ zIndex:c.zInn});e.out.attr({d:c.out,zIndex:c.zOut});e.side1.attr({d:c.side1,zIndex:c.zSide1});e.side2.attr({d:c.side2,zIndex:c.zSide2});e.zIndex=d;e.attr({zIndex:d});a.center&&(e.top.setRadialReference(a.center),delete a.center)};e.setPaths(c);e.fillSetter=function(a){var c=g(a).brighten(-.1).get();this.fill=a;this.side1.attr({fill:c});this.side2.attr({fill:c});this.inn.attr({fill:c});this.out.attr({fill:c});this.top.attr({fill:a});return this};q(["opacity","translateX","translateY","visibility"],
24
+ function(a){e[a+"Setter"]=function(a,c){e[c]=a;q(["out","inn","side1","side2","top"],function(d){e[d].attr(c,a)})}});p(e,"attr",function(a,c){var d;"object"===typeof c&&(d=k(c))&&(f(e.attribs,d),e.setPaths(e.attribs));return a.apply(this,[].slice.call(arguments,1))});p(e,"animate",function(a,c,d,q){var l,f=this.attribs,p,t="data-"+Math.random().toString(26).substring(2,9);delete c.center;delete c.z;delete c.depth;delete c.alpha;delete c.beta;p=m(n(d,this.renderer.globalAnimation));p.duration&&(l=
25
+ k(c),e[t]=0,c[t]=1,e[t+"Setter"]=b.noop,l&&(p.step=function(a,c){function d(a){return f[a]+(n(l[a],f[a])-f[a])*c.pos}c.prop===t&&c.elem.setPaths(h(f,{x:d("x"),y:d("y"),r:d("r"),innerR:d("innerR"),start:d("start"),end:d("end")}))}),d=p);return a.call(this,c,d,q)});e.destroy=function(){this.top.destroy();this.out.destroy();this.inn.destroy();this.side1.destroy();this.side2.destroy();d.prototype.destroy.call(this)};e.hide=function(){this.top.hide();this.out.hide();this.inn.hide();this.side1.hide();this.side2.hide()};
26
+ e.show=function(){this.top.show();this.out.show();this.inn.show();this.side1.show();this.side2.show()};return e};c.prototype.arc3dPath=function(a){function c(a){a%=2*Math.PI;a>Math.PI&&(a=2*Math.PI-a);return a}var d=a.x,b=a.y,e=a.start,k=a.end-.00001,h=a.r,q=a.innerR||0,l=a.depth||0,f=a.alpha,p=a.beta,n=Math.cos(e),t=Math.sin(e);a=Math.cos(k);var m=Math.sin(k),g=h*Math.cos(p),h=h*Math.cos(f),x=q*Math.cos(p),w=q*Math.cos(f),q=l*Math.sin(p),u=l*Math.sin(f),l=["M",d+g*n,b+h*t],l=l.concat(z(d,b,g,h,e,
27
+ k,0,0)),l=l.concat(["L",d+x*a,b+w*m]),l=l.concat(z(d,b,x,w,k,e,0,0)),l=l.concat(["Z"]),A=0<p?Math.PI/2:0,p=0<f?0:Math.PI/2,A=e>-A?e:k>-A?-A:e,E=k<r-p?k:e<r-p?r-p:k,F=2*r-p,f=["M",d+g*y(A),b+h*v(A)],f=f.concat(z(d,b,g,h,A,E,0,0));k>F&&e<F?(f=f.concat(["L",d+g*y(E)+q,b+h*v(E)+u]),f=f.concat(z(d,b,g,h,E,F,q,u)),f=f.concat(["L",d+g*y(F),b+h*v(F)]),f=f.concat(z(d,b,g,h,F,k,0,0)),f=f.concat(["L",d+g*y(k)+q,b+h*v(k)+u]),f=f.concat(z(d,b,g,h,k,F,q,u)),f=f.concat(["L",d+g*y(F),b+h*v(F)]),f=f.concat(z(d,b,
28
+ g,h,F,E,0,0))):k>r-p&&e<r-p&&(f=f.concat(["L",d+g*Math.cos(E)+q,b+h*Math.sin(E)+u]),f=f.concat(z(d,b,g,h,E,k,q,u)),f=f.concat(["L",d+g*Math.cos(k),b+h*Math.sin(k)]),f=f.concat(z(d,b,g,h,k,E,0,0)));f=f.concat(["L",d+g*Math.cos(E)+q,b+h*Math.sin(E)+u]);f=f.concat(z(d,b,g,h,E,A,q,u));f=f.concat(["Z"]);p=["M",d+x*n,b+w*t];p=p.concat(z(d,b,x,w,e,k,0,0));p=p.concat(["L",d+x*Math.cos(k)+q,b+w*Math.sin(k)+u]);p=p.concat(z(d,b,x,w,k,e,q,u));p=p.concat(["Z"]);n=["M",d+g*n,b+h*t,"L",d+g*n+q,b+h*t+u,"L",d+x*
29
+ n+q,b+w*t+u,"L",d+x*n,b+w*t,"Z"];d=["M",d+g*a,b+h*m,"L",d+g*a+q,b+h*m+u,"L",d+x*a+q,b+w*m+u,"L",d+x*a,b+w*m,"Z"];m=Math.atan2(u,-q);b=Math.abs(k+m);a=Math.abs(e+m);e=Math.abs((e+k)/2+m);b=c(b);a=c(a);e=c(e);e*=1E5;k=1E5*a;b*=1E5;return{top:l,zTop:1E5*Math.PI+1,out:f,zOut:Math.max(e,k,b),inn:p,zInn:Math.max(e,k,b),side1:n,zSide1:.99*b,side2:d,zSide2:.99*k}}})(A);(function(b){function z(b,f){var a=b.plotLeft,e=b.plotWidth+a,h=b.plotTop,q=b.plotHeight+h,n=a+b.plotWidth/2,d=h+b.plotHeight/2,c=Number.MAX_VALUE,
30
+ p=-Number.MAX_VALUE,k=Number.MAX_VALUE,t=-Number.MAX_VALUE,g,m=1;g=[{x:a,y:h,z:0},{x:a,y:h,z:f}];v([0,1],function(a){g.push({x:e,y:g[a].y,z:g[a].z})});v([0,1,2,3],function(a){g.push({x:g[a].x,y:q,z:g[a].z})});g=x(g,b,!1);v(g,function(a){c=Math.min(c,a.x);p=Math.max(p,a.x);k=Math.min(k,a.y);t=Math.max(t,a.y)});a>c&&(m=Math.min(m,1-Math.abs((a+n)/(c+n))%1));e<p&&(m=Math.min(m,(e-n)/(p-n)));h>k&&(m=0>k?Math.min(m,(h+d)/(-k+h+d)):Math.min(m,1-(h+d)/(k+d)%1));q<t&&(m=Math.min(m,Math.abs((q-d)/(t-d))));
31
+ return m}var y=b.addEvent,r=b.Chart,v=b.each,m=b.merge,x=b.perspective,g=b.pick,w=b.wrap;r.prototype.is3d=function(){return this.options.chart.options3d&&this.options.chart.options3d.enabled};r.prototype.propsRequireDirtyBox.push("chart.options3d");r.prototype.propsRequireUpdateSeries.push("chart.options3d");y(r,"afterInit",function(){var b=this.options;this.is3d()&&v(b.series||[],function(f){"scatter"===(f.type||b.chart.type||b.chart.defaultSeriesType)&&(f.type="scatter3d")})});y(r,"addSeries",function(b){this.is3d()&&
32
+ "scatter"===b.options.type&&(b.options.type="scatter3d")});b.wrap(b.Chart.prototype,"isInsidePlot",function(b){return this.is3d()||b.apply(this,[].slice.call(arguments,1))});var u=b.getOptions();m(!0,u,{chart:{options3d:{enabled:!1,alpha:0,beta:0,depth:100,fitToPlot:!0,viewDistance:25,axisLabelPosition:null,frame:{visible:"default",size:1,bottom:{},top:{},left:{},right:{},back:{},front:{}}}}});y(r,"afterGetContainer",function(){this.renderer.definition({tagName:"style",textContent:".highcharts-3d-top{filter: url(#highcharts-brighter)}\n.highcharts-3d-side{filter: url(#highcharts-darker)}\n"})});
33
+ w(r.prototype,"setClassName",function(b){b.apply(this,[].slice.call(arguments,1));this.is3d()&&(this.container.className+=" highcharts-3d-chart")});y(b.Chart,"afterSetChartSize",function(){var b=this.options.chart.options3d;if(this.is3d()){var f=this.inverted,a=this.clipBox,e=this.margin;a[f?"y":"x"]=-(e[3]||0);a[f?"x":"y"]=-(e[0]||0);a[f?"height":"width"]=this.chartWidth+(e[3]||0)+(e[1]||0);a[f?"width":"height"]=this.chartHeight+(e[0]||0)+(e[2]||0);this.scale3d=1;!0===b.fitToPlot&&(this.scale3d=
34
+ z(this,b.depth));this.frame3d=this.get3dFrame()}});y(r,"beforeRedraw",function(){this.is3d()&&(this.isDirtyBox=!0)});y(r,"beforeRender",function(){this.is3d()&&(this.frame3d=this.get3dFrame())});w(r.prototype,"renderSeries",function(b){var f=this.series.length;if(this.is3d())for(;f--;)b=this.series[f],b.translate(),b.render();else b.call(this)});y(r,"afterDrawChartBox",function(){if(this.is3d()){var q=this.renderer,f=this.options.chart.options3d,a=this.get3dFrame(),e=this.plotLeft,h=this.plotLeft+
35
+ this.plotWidth,l=this.plotTop,n=this.plotTop+this.plotHeight,f=f.depth,d=e-(a.left.visible?a.left.size:0),c=h+(a.right.visible?a.right.size:0),p=l-(a.top.visible?a.top.size:0),k=n+(a.bottom.visible?a.bottom.size:0),t=0-(a.front.visible?a.front.size:0),g=f+(a.back.visible?a.back.size:0),m=this.hasRendered?"animate":"attr";this.frame3d=a;this.frameShapes||(this.frameShapes={bottom:q.polyhedron().add(),top:q.polyhedron().add(),left:q.polyhedron().add(),right:q.polyhedron().add(),back:q.polyhedron().add(),
36
+ front:q.polyhedron().add()});this.frameShapes.bottom[m]({"class":"highcharts-3d-frame highcharts-3d-frame-bottom",zIndex:a.bottom.frontFacing?-1E3:1E3,faces:[{fill:b.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:d,y:k,z:t},{x:c,y:k,z:t},{x:c,y:k,z:g},{x:d,y:k,z:g}],enabled:a.bottom.visible},{fill:b.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:e,y:n,z:f},{x:h,y:n,z:f},{x:h,y:n,z:0},{x:e,y:n,z:0}],enabled:a.bottom.visible},{fill:b.color(a.bottom.color).brighten(-.1).get(),vertexes:[{x:d,
37
+ y:k,z:t},{x:d,y:k,z:g},{x:e,y:n,z:f},{x:e,y:n,z:0}],enabled:a.bottom.visible&&!a.left.visible},{fill:b.color(a.bottom.color).brighten(-.1).get(),vertexes:[{x:c,y:k,z:g},{x:c,y:k,z:t},{x:h,y:n,z:0},{x:h,y:n,z:f}],enabled:a.bottom.visible&&!a.right.visible},{fill:b.color(a.bottom.color).get(),vertexes:[{x:c,y:k,z:t},{x:d,y:k,z:t},{x:e,y:n,z:0},{x:h,y:n,z:0}],enabled:a.bottom.visible&&!a.front.visible},{fill:b.color(a.bottom.color).get(),vertexes:[{x:d,y:k,z:g},{x:c,y:k,z:g},{x:h,y:n,z:f},{x:e,y:n,z:f}],
38
+ enabled:a.bottom.visible&&!a.back.visible}]});this.frameShapes.top[m]({"class":"highcharts-3d-frame highcharts-3d-frame-top",zIndex:a.top.frontFacing?-1E3:1E3,faces:[{fill:b.color(a.top.color).brighten(.1).get(),vertexes:[{x:d,y:p,z:g},{x:c,y:p,z:g},{x:c,y:p,z:t},{x:d,y:p,z:t}],enabled:a.top.visible},{fill:b.color(a.top.color).brighten(.1).get(),vertexes:[{x:e,y:l,z:0},{x:h,y:l,z:0},{x:h,y:l,z:f},{x:e,y:l,z:f}],enabled:a.top.visible},{fill:b.color(a.top.color).brighten(-.1).get(),vertexes:[{x:d,y:p,
39
+ z:g},{x:d,y:p,z:t},{x:e,y:l,z:0},{x:e,y:l,z:f}],enabled:a.top.visible&&!a.left.visible},{fill:b.color(a.top.color).brighten(-.1).get(),vertexes:[{x:c,y:p,z:t},{x:c,y:p,z:g},{x:h,y:l,z:f},{x:h,y:l,z:0}],enabled:a.top.visible&&!a.right.visible},{fill:b.color(a.top.color).get(),vertexes:[{x:d,y:p,z:t},{x:c,y:p,z:t},{x:h,y:l,z:0},{x:e,y:l,z:0}],enabled:a.top.visible&&!a.front.visible},{fill:b.color(a.top.color).get(),vertexes:[{x:c,y:p,z:g},{x:d,y:p,z:g},{x:e,y:l,z:f},{x:h,y:l,z:f}],enabled:a.top.visible&&
40
+ !a.back.visible}]});this.frameShapes.left[m]({"class":"highcharts-3d-frame highcharts-3d-frame-left",zIndex:a.left.frontFacing?-1E3:1E3,faces:[{fill:b.color(a.left.color).brighten(.1).get(),vertexes:[{x:d,y:k,z:t},{x:e,y:n,z:0},{x:e,y:n,z:f},{x:d,y:k,z:g}],enabled:a.left.visible&&!a.bottom.visible},{fill:b.color(a.left.color).brighten(.1).get(),vertexes:[{x:d,y:p,z:g},{x:e,y:l,z:f},{x:e,y:l,z:0},{x:d,y:p,z:t}],enabled:a.left.visible&&!a.top.visible},{fill:b.color(a.left.color).brighten(-.1).get(),
41
+ vertexes:[{x:d,y:k,z:g},{x:d,y:p,z:g},{x:d,y:p,z:t},{x:d,y:k,z:t}],enabled:a.left.visible},{fill:b.color(a.left.color).brighten(-.1).get(),vertexes:[{x:e,y:l,z:f},{x:e,y:n,z:f},{x:e,y:n,z:0},{x:e,y:l,z:0}],enabled:a.left.visible},{fill:b.color(a.left.color).get(),vertexes:[{x:d,y:k,z:t},{x:d,y:p,z:t},{x:e,y:l,z:0},{x:e,y:n,z:0}],enabled:a.left.visible&&!a.front.visible},{fill:b.color(a.left.color).get(),vertexes:[{x:d,y:p,z:g},{x:d,y:k,z:g},{x:e,y:n,z:f},{x:e,y:l,z:f}],enabled:a.left.visible&&!a.back.visible}]});
42
+ this.frameShapes.right[m]({"class":"highcharts-3d-frame highcharts-3d-frame-right",zIndex:a.right.frontFacing?-1E3:1E3,faces:[{fill:b.color(a.right.color).brighten(.1).get(),vertexes:[{x:c,y:k,z:g},{x:h,y:n,z:f},{x:h,y:n,z:0},{x:c,y:k,z:t}],enabled:a.right.visible&&!a.bottom.visible},{fill:b.color(a.right.color).brighten(.1).get(),vertexes:[{x:c,y:p,z:t},{x:h,y:l,z:0},{x:h,y:l,z:f},{x:c,y:p,z:g}],enabled:a.right.visible&&!a.top.visible},{fill:b.color(a.right.color).brighten(-.1).get(),vertexes:[{x:h,
43
+ y:l,z:0},{x:h,y:n,z:0},{x:h,y:n,z:f},{x:h,y:l,z:f}],enabled:a.right.visible},{fill:b.color(a.right.color).brighten(-.1).get(),vertexes:[{x:c,y:k,z:t},{x:c,y:p,z:t},{x:c,y:p,z:g},{x:c,y:k,z:g}],enabled:a.right.visible},{fill:b.color(a.right.color).get(),vertexes:[{x:c,y:p,z:t},{x:c,y:k,z:t},{x:h,y:n,z:0},{x:h,y:l,z:0}],enabled:a.right.visible&&!a.front.visible},{fill:b.color(a.right.color).get(),vertexes:[{x:c,y:k,z:g},{x:c,y:p,z:g},{x:h,y:l,z:f},{x:h,y:n,z:f}],enabled:a.right.visible&&!a.back.visible}]});
44
+ this.frameShapes.back[m]({"class":"highcharts-3d-frame highcharts-3d-frame-back",zIndex:a.back.frontFacing?-1E3:1E3,faces:[{fill:b.color(a.back.color).brighten(.1).get(),vertexes:[{x:c,y:k,z:g},{x:d,y:k,z:g},{x:e,y:n,z:f},{x:h,y:n,z:f}],enabled:a.back.visible&&!a.bottom.visible},{fill:b.color(a.back.color).brighten(.1).get(),vertexes:[{x:d,y:p,z:g},{x:c,y:p,z:g},{x:h,y:l,z:f},{x:e,y:l,z:f}],enabled:a.back.visible&&!a.top.visible},{fill:b.color(a.back.color).brighten(-.1).get(),vertexes:[{x:d,y:k,
45
+ z:g},{x:d,y:p,z:g},{x:e,y:l,z:f},{x:e,y:n,z:f}],enabled:a.back.visible&&!a.left.visible},{fill:b.color(a.back.color).brighten(-.1).get(),vertexes:[{x:c,y:p,z:g},{x:c,y:k,z:g},{x:h,y:n,z:f},{x:h,y:l,z:f}],enabled:a.back.visible&&!a.right.visible},{fill:b.color(a.back.color).get(),vertexes:[{x:e,y:l,z:f},{x:h,y:l,z:f},{x:h,y:n,z:f},{x:e,y:n,z:f}],enabled:a.back.visible},{fill:b.color(a.back.color).get(),vertexes:[{x:d,y:k,z:g},{x:c,y:k,z:g},{x:c,y:p,z:g},{x:d,y:p,z:g}],enabled:a.back.visible}]});this.frameShapes.front[m]({"class":"highcharts-3d-frame highcharts-3d-frame-front",
46
+ zIndex:a.front.frontFacing?-1E3:1E3,faces:[{fill:b.color(a.front.color).brighten(.1).get(),vertexes:[{x:d,y:k,z:t},{x:c,y:k,z:t},{x:h,y:n,z:0},{x:e,y:n,z:0}],enabled:a.front.visible&&!a.bottom.visible},{fill:b.color(a.front.color).brighten(.1).get(),vertexes:[{x:c,y:p,z:t},{x:d,y:p,z:t},{x:e,y:l,z:0},{x:h,y:l,z:0}],enabled:a.front.visible&&!a.top.visible},{fill:b.color(a.front.color).brighten(-.1).get(),vertexes:[{x:d,y:p,z:t},{x:d,y:k,z:t},{x:e,y:n,z:0},{x:e,y:l,z:0}],enabled:a.front.visible&&!a.left.visible},
47
+ {fill:b.color(a.front.color).brighten(-.1).get(),vertexes:[{x:c,y:k,z:t},{x:c,y:p,z:t},{x:h,y:l,z:0},{x:h,y:n,z:0}],enabled:a.front.visible&&!a.right.visible},{fill:b.color(a.front.color).get(),vertexes:[{x:h,y:l,z:0},{x:e,y:l,z:0},{x:e,y:n,z:0},{x:h,y:n,z:0}],enabled:a.front.visible},{fill:b.color(a.front.color).get(),vertexes:[{x:c,y:k,z:t},{x:d,y:k,z:t},{x:d,y:p,z:t},{x:c,y:p,z:t}],enabled:a.front.visible}]})}});r.prototype.retrieveStacks=function(b){var f=this.series,a={},e,h=1;v(this.series,
48
+ function(l){e=g(l.options.stack,b?0:f.length-1-l.index);a[e]?a[e].series.push(l):(a[e]={series:[l],position:h},h++)});a.totalStacks=h+1;return a};r.prototype.get3dFrame=function(){var q=this,f=q.options.chart.options3d,a=f.frame,e=q.plotLeft,h=q.plotLeft+q.plotWidth,l=q.plotTop,n=q.plotTop+q.plotHeight,d=f.depth,c=function(a){a=b.shapeArea3d(a,q);return.5<a?1:-.5>a?-1:0},p=c([{x:e,y:n,z:d},{x:h,y:n,z:d},{x:h,y:n,z:0},{x:e,y:n,z:0}]),k=c([{x:e,y:l,z:0},{x:h,y:l,z:0},{x:h,y:l,z:d},{x:e,y:l,z:d}]),t=
49
+ c([{x:e,y:l,z:0},{x:e,y:l,z:d},{x:e,y:n,z:d},{x:e,y:n,z:0}]),m=c([{x:h,y:l,z:d},{x:h,y:l,z:0},{x:h,y:n,z:0},{x:h,y:n,z:d}]),w=c([{x:e,y:n,z:0},{x:h,y:n,z:0},{x:h,y:l,z:0},{x:e,y:l,z:0}]),c=c([{x:e,y:l,z:d},{x:h,y:l,z:d},{x:h,y:n,z:d},{x:e,y:n,z:d}]),u=!1,r=!1,y=!1,z=!1;v([].concat(q.xAxis,q.yAxis,q.zAxis),function(a){a&&(a.horiz?a.opposite?r=!0:u=!0:a.opposite?z=!0:y=!0)});var A=function(a,c,d){for(var b=["size","color","visible"],e={},k=0;k<b.length;k++)for(var h=b[k],f=0;f<a.length;f++)if("object"===
50
+ typeof a[f]){var p=a[f][h];if(void 0!==p&&null!==p){e[h]=p;break}}a=d;!0===e.visible||!1===e.visible?a=e.visible:"auto"===e.visible&&(a=0<c);return{size:g(e.size,1),color:g(e.color,"none"),frontFacing:0<c,visible:a}},a={bottom:A([a.bottom,a.top,a],p,u),top:A([a.top,a.bottom,a],k,r),left:A([a.left,a.right,a.side,a],t,y),right:A([a.right,a.left,a.side,a],m,z),back:A([a.back,a.front,a],c,!0),front:A([a.front,a.back,a],w,!1)};"auto"===f.axisLabelPosition?(m=function(a,c){return a.visible!==c.visible||
51
+ a.visible&&c.visible&&a.frontFacing!==c.frontFacing},f=[],m(a.left,a.front)&&f.push({y:(l+n)/2,x:e,z:0,xDir:{x:1,y:0,z:0}}),m(a.left,a.back)&&f.push({y:(l+n)/2,x:e,z:d,xDir:{x:0,y:0,z:-1}}),m(a.right,a.front)&&f.push({y:(l+n)/2,x:h,z:0,xDir:{x:0,y:0,z:1}}),m(a.right,a.back)&&f.push({y:(l+n)/2,x:h,z:d,xDir:{x:-1,y:0,z:0}}),p=[],m(a.bottom,a.front)&&p.push({x:(e+h)/2,y:n,z:0,xDir:{x:1,y:0,z:0}}),m(a.bottom,a.back)&&p.push({x:(e+h)/2,y:n,z:d,xDir:{x:-1,y:0,z:0}}),k=[],m(a.top,a.front)&&k.push({x:(e+
52
+ h)/2,y:l,z:0,xDir:{x:1,y:0,z:0}}),m(a.top,a.back)&&k.push({x:(e+h)/2,y:l,z:d,xDir:{x:-1,y:0,z:0}}),t=[],m(a.bottom,a.left)&&t.push({z:(0+d)/2,y:n,x:e,xDir:{x:0,y:0,z:-1}}),m(a.bottom,a.right)&&t.push({z:(0+d)/2,y:n,x:h,xDir:{x:0,y:0,z:1}}),n=[],m(a.top,a.left)&&n.push({z:(0+d)/2,y:l,x:e,xDir:{x:0,y:0,z:-1}}),m(a.top,a.right)&&n.push({z:(0+d)/2,y:l,x:h,xDir:{x:0,y:0,z:1}}),e=function(a,c,d){if(0===a.length)return null;if(1===a.length)return a[0];for(var b=0,e=x(a,q,!1),k=1;k<e.length;k++)d*e[k][c]>
53
+ d*e[b][c]?b=k:d*e[k][c]===d*e[b][c]&&e[k].z<e[b].z&&(b=k);return a[b]},a.axes={y:{left:e(f,"x",-1),right:e(f,"x",1)},x:{top:e(k,"y",-1),bottom:e(p,"y",1)},z:{top:e(n,"y",-1),bottom:e(t,"y",1)}}):a.axes={y:{left:{x:e,z:0,xDir:{x:1,y:0,z:0}},right:{x:h,z:0,xDir:{x:0,y:0,z:1}}},x:{top:{y:l,z:0,xDir:{x:1,y:0,z:0}},bottom:{y:n,z:0,xDir:{x:1,y:0,z:0}}},z:{top:{x:y?h:e,y:l,xDir:y?{x:0,y:0,z:1}:{x:0,y:0,z:-1}},bottom:{x:y?h:e,y:n,xDir:y?{x:0,y:0,z:1}:{x:0,y:0,z:-1}}}};return a};b.Fx.prototype.matrixSetter=
54
+ function(){var g;if(1>this.pos&&(b.isArray(this.start)||b.isArray(this.end))){var f=this.start||[1,0,0,1,0,0],a=this.end||[1,0,0,1,0,0];g=[];for(var e=0;6>e;e++)g.push(this.pos*a[e]+(1-this.pos)*f[e])}else g=this.end;this.elem.attr(this.prop,g,null,!0)}})(A);(function(b){function z(d,c,b){if(!d.chart.is3d()||"colorAxis"===d.coll)return c;var k=d.chart,h=x*k.options.chart.options3d.alpha,f=x*k.options.chart.options3d.beta,p=a(b&&d.options.title.position3d,d.options.labels.position3d);b=a(b&&d.options.title.skew3d,
55
+ d.options.labels.skew3d);var g=k.frame3d,l=k.plotLeft,n=k.plotWidth+l,m=k.plotTop,v=k.plotHeight+m,k=!1,u=0,w=0,r={x:0,y:1,z:0};c=d.swapZ({x:c.x,y:c.y,z:0});if(d.isZAxis)if(d.opposite){if(null===g.axes.z.top)return{};w=c.y-m;c.x=g.axes.z.top.x;c.y=g.axes.z.top.y;l=g.axes.z.top.xDir;k=!g.top.frontFacing}else{if(null===g.axes.z.bottom)return{};w=c.y-v;c.x=g.axes.z.bottom.x;c.y=g.axes.z.bottom.y;l=g.axes.z.bottom.xDir;k=!g.bottom.frontFacing}else if(d.horiz)if(d.opposite){if(null===g.axes.x.top)return{};
56
+ w=c.y-m;c.y=g.axes.x.top.y;c.z=g.axes.x.top.z;l=g.axes.x.top.xDir;k=!g.top.frontFacing}else{if(null===g.axes.x.bottom)return{};w=c.y-v;c.y=g.axes.x.bottom.y;c.z=g.axes.x.bottom.z;l=g.axes.x.bottom.xDir;k=!g.bottom.frontFacing}else if(d.opposite){if(null===g.axes.y.right)return{};u=c.x-n;c.x=g.axes.y.right.x;c.z=g.axes.y.right.z;l=g.axes.y.right.xDir;l={x:l.z,y:l.y,z:-l.x}}else{if(null===g.axes.y.left)return{};u=c.x-l;c.x=g.axes.y.left.x;c.z=g.axes.y.left.z;l=g.axes.y.left.xDir}"chart"!==p&&("flap"===
57
+ p?d.horiz?(f=Math.sin(h),h=Math.cos(h),d.opposite&&(f=-f),k&&(f=-f),r={x:l.z*f,y:h,z:-l.x*f}):l={x:Math.cos(f),y:0,z:Math.sin(f)}:"ortho"===p?d.horiz?(r=Math.cos(h),p=Math.sin(f)*r,h=-Math.sin(h),f=-r*Math.cos(f),r={x:l.y*f-l.z*h,y:l.z*p-l.x*f,z:l.x*h-l.y*p},h=1/Math.sqrt(r.x*r.x+r.y*r.y+r.z*r.z),k&&(h=-h),r={x:h*r.x,y:h*r.y,z:h*r.z}):l={x:Math.cos(f),y:0,z:Math.sin(f)}:d.horiz?r={x:Math.sin(f)*Math.sin(h),y:Math.cos(h),z:-Math.cos(f)*Math.sin(h)}:l={x:Math.cos(f),y:0,z:Math.sin(f)});c.x+=u*l.x+w*
58
+ r.x;c.y+=u*l.y+w*r.y;c.z+=u*l.z+w*r.z;k=q([c],d.chart)[0];b&&(0>e(q([c,{x:c.x+l.x,y:c.y+l.y,z:c.z+l.z},{x:c.x+r.x,y:c.y+r.y,z:c.z+r.z}],d.chart))&&(l={x:-l.x,y:-l.y,z:-l.z}),d=q([{x:c.x,y:c.y,z:c.z},{x:c.x+l.x,y:c.y+l.y,z:c.z+l.z},{x:c.x+r.x,y:c.y+r.y,z:c.z+r.z}],d.chart),k.matrix=[d[1].x-d[0].x,d[1].y-d[0].y,d[2].x-d[0].x,d[2].y-d[0].y,k.x,k.y],k.matrix[4]-=k.x*k.matrix[0]+k.y*k.matrix[2],k.matrix[5]-=k.x*k.matrix[1]+k.y*k.matrix[3]);return k}var y,r=b.addEvent,v=b.Axis,m=b.Chart,x=b.deg2rad,g=b.each,
59
+ w=b.extend,u=b.merge,q=b.perspective,f=b.perspective3D,a=b.pick,e=b.shapeArea,h=b.splat,l=b.Tick,n=b.wrap;u(!0,v.prototype.defaultOptions,{labels:{position3d:"offset",skew3d:!1},title:{position3d:null,skew3d:null}});r(v,"afterSetOptions",function(){var d;this.chart.is3d&&this.chart.is3d()&&"colorAxis"!==this.coll&&(d=this.options,d.tickWidth=a(d.tickWidth,0),d.gridLineWidth=a(d.gridLineWidth,1))});n(v.prototype,"getPlotLinePath",function(a){var c=a.apply(this,[].slice.call(arguments,1));if(!this.chart.is3d()||
60
+ "colorAxis"===this.coll||null===c)return c;var d=this.chart,b=d.options.chart.options3d,b=this.isZAxis?d.plotWidth:b.depth,d=d.frame3d,c=[this.swapZ({x:c[1],y:c[2],z:0}),this.swapZ({x:c[1],y:c[2],z:b}),this.swapZ({x:c[4],y:c[5],z:0}),this.swapZ({x:c[4],y:c[5],z:b})],b=[];this.horiz?(this.isZAxis?(d.left.visible&&b.push(c[0],c[2]),d.right.visible&&b.push(c[1],c[3])):(d.front.visible&&b.push(c[0],c[2]),d.back.visible&&b.push(c[1],c[3])),d.top.visible&&b.push(c[0],c[1]),d.bottom.visible&&b.push(c[2],
61
+ c[3])):(d.front.visible&&b.push(c[0],c[2]),d.back.visible&&b.push(c[1],c[3]),d.left.visible&&b.push(c[0],c[1]),d.right.visible&&b.push(c[2],c[3]));b=q(b,this.chart,!1);return this.chart.renderer.toLineSegments(b)});n(v.prototype,"getLinePath",function(a){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:a.apply(this,[].slice.call(arguments,1))});n(v.prototype,"getPlotBandPath",function(a){if(!this.chart.is3d()||"colorAxis"===this.coll)return a.apply(this,[].slice.call(arguments,1));var c=arguments,
62
+ d=c[2],b=[],c=this.getPlotLinePath(c[1]),d=this.getPlotLinePath(d);if(c&&d)for(var e=0;e<c.length;e+=6)b.push("M",c[e+1],c[e+2],"L",c[e+4],c[e+5],"L",d[e+4],d[e+5],"L",d[e+1],d[e+2],"Z");return b});n(l.prototype,"getMarkPath",function(a){var c=a.apply(this,[].slice.call(arguments,1)),c=[z(this.axis,{x:c[1],y:c[2],z:0}),z(this.axis,{x:c[4],y:c[5],z:0})];return this.axis.chart.renderer.toLineSegments(c)});r(l,"afterGetLabelPosition",function(a){w(a.pos,z(this.axis,a.pos))});n(v.prototype,"getTitlePosition",
63
+ function(a){var c=a.apply(this,[].slice.call(arguments,1));return z(this,c,!0)});r(v,"drawCrosshair",function(a){this.chart.is3d()&&"colorAxis"!==this.coll&&a.point&&(a.point.crosshairPos=this.isXAxis?a.point.axisXpos:this.len-a.point.axisYpos)});r(v,"destroy",function(){g(["backFrame","bottomFrame","sideFrame"],function(a){this[a]&&(this[a]=this[a].destroy())},this)});v.prototype.swapZ=function(a,c){return this.isZAxis?(c=c?0:this.chart.plotLeft,{x:c+a.z,y:a.y,z:a.x-c}):a};y=b.ZAxis=function(){this.init.apply(this,
64
+ arguments)};w(y.prototype,v.prototype);w(y.prototype,{isZAxis:!0,setOptions:function(a){a=u({offset:0,lineWidth:0},a);v.prototype.setOptions.call(this,a);this.coll="zAxis"},setAxisSize:function(){v.prototype.setAxisSize.call(this);this.width=this.len=this.chart.options.chart.options3d.depth;this.right=this.chart.chartWidth-this.width-this.left},getSeriesExtremes:function(){var b=this,c=b.chart;b.hasVisibleSeries=!1;b.dataMin=b.dataMax=b.ignoreMinPadding=b.ignoreMaxPadding=null;b.buildStacks&&b.buildStacks();
65
+ g(b.series,function(d){if(d.visible||!c.options.chart.ignoreHiddenSeries)b.hasVisibleSeries=!0,d=d.zData,d.length&&(b.dataMin=Math.min(a(b.dataMin,d[0]),Math.min.apply(null,d)),b.dataMax=Math.max(a(b.dataMax,d[0]),Math.max.apply(null,d)))})}});r(m,"afterGetAxes",function(){var a=this,c=this.options,c=c.zAxis=h(c.zAxis||{});a.is3d()&&(this.zAxis=[],g(c,function(c,b){c.index=b;c.isX=!0;(new y(a,c)).setScale()}))});n(v.prototype,"getSlotWidth",function(b,c){if(this.chart.is3d()&&c&&c.label&&this.categories&&
66
+ this.chart.frameShapes){var d=this.chart,e=this.ticks,h=this.gridGroup.element.childNodes[0].getBBox(),l=d.frameShapes.left.getBBox(),g=d.options.chart.options3d,d={x:d.plotWidth/2,y:d.plotHeight/2,z:g.depth/2,vd:a(g.depth,1)*a(g.viewDistance,0)},q,n,g=c.pos,m=e[g-1],e=e[g+1];0!==g&&m&&m.label.xy&&(q=f({x:m.label.xy.x,y:m.label.xy.y,z:null},d,d.vd));e&&e.label.xy&&(n=f({x:e.label.xy.x,y:e.label.xy.y,z:null},d,d.vd));e={x:c.label.xy.x,y:c.label.xy.y,z:null};e=f(e,d,d.vd);return Math.abs(q?e.x-q.x:
67
+ n?n.x-e.x:h.x-l.x)}return b.apply(this,[].slice.call(arguments,1))})})(A);(function(b){var z=b.addEvent,y=b.perspective,r=b.pick;z(b.Series,"afterTranslate",function(){this.chart.is3d()&&this.translate3dPoints()});b.Series.prototype.translate3dPoints=function(){var b=this.chart,m=r(this.zAxis,b.options.zAxis[0]),x=[],g,w,u;for(u=0;u<this.data.length;u++)g=this.data[u],m&&m.translate?(w=m.isLog&&m.val2lin?m.val2lin(g.z):g.z,g.plotZ=m.translate(w),g.isInside=g.isInside?w>=m.min&&w<=m.max:!1):g.plotZ=
68
+ 0,g.axisXpos=g.plotX,g.axisYpos=g.plotY,g.axisZpos=g.plotZ,x.push({x:g.plotX,y:g.plotY,z:g.plotZ});b=y(x,b,!0);for(u=0;u<this.data.length;u++)g=this.data[u],m=b[u],g.plotX=m.x,g.plotY=m.y,g.plotZ=m.z}})(A);(function(b){var z=b.addEvent,y=b.each,r=b.perspective,v=b.pick,m=b.Series,x=b.seriesTypes,g=b.inArray,w=b.svg,u=b.wrap;u(x.column.prototype,"translate",function(b){b.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&this.translate3dShapes()});u(b.Series.prototype,"alignDataLabel",function(b){arguments[3].outside3dPlot=
69
+ arguments[1].outside3dPlot;b.apply(this,[].slice.call(arguments,1))});u(b.Series.prototype,"justifyDataLabel",function(b){return arguments[2].outside3dPlot?!1:b.apply(this,[].slice.call(arguments,1))});x.column.prototype.translate3dPoints=function(){};x.column.prototype.translate3dShapes=function(){var b=this,f=b.chart,a=b.options,e=a.depth||25,h=(a.stacking?a.stack||0:b.index)*(e+(a.groupZPadding||1)),l=b.borderWidth%2?.5:0;f.inverted&&!b.yAxis.reversed&&(l*=-1);!1!==a.grouping&&(h=0);h+=a.groupZPadding||
70
+ 1;y(b.data,function(a){a.outside3dPlot=null;if(null!==a.y){var d=a.shapeArgs,c=a.tooltipPos,g;y([["x","width"],["y","height"]],function(c){g=d[c[0]]-l;0>g&&(d[c[1]]+=d[c[0]]+l,d[c[0]]=-l,g=0);g+d[c[1]]>b[c[0]+"Axis"].len&&0!==d[c[1]]&&(d[c[1]]=b[c[0]+"Axis"].len-d[c[0]]);if(0!==d[c[1]]&&(d[c[0]]>=b[c[0]+"Axis"].len||d[c[0]]+d[c[1]]<=l)){for(var e in d)d[e]=0;a.outside3dPlot=!0}});a.shapeType="cuboid";d.z=h;d.depth=e;d.insidePlotArea=!0;c=r([{x:c[0],y:c[1],z:h}],f,!0)[0];a.tooltipPos=[c.x,c.y]}});
71
+ b.z=h};u(x.column.prototype,"animate",function(b){if(this.chart.is3d()){var f=arguments[1],a=this.yAxis,e=this,h=this.yAxis.reversed;w&&(f?y(e.data,function(b){null!==b.y&&(b.height=b.shapeArgs.height,b.shapey=b.shapeArgs.y,b.shapeArgs.height=1,h||(b.shapeArgs.y=b.stackY?b.plotY+a.translate(b.stackY):b.plotY+(b.negative?-b.height:b.height)))}):(y(e.data,function(a){null!==a.y&&(a.shapeArgs.height=a.height,a.shapeArgs.y=a.shapey,a.graphic&&a.graphic.animate(a.shapeArgs,e.options.animation))}),this.drawDataLabels(),
72
+ e.animate=null))}else b.apply(this,[].slice.call(arguments,1))});u(x.column.prototype,"plotGroup",function(b,f,a,e,h,g){this.chart.is3d()&&g&&!this[f]&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(g)),this[f]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[f].survive=!0);return b.apply(this,Array.prototype.slice.call(arguments,1))});u(x.column.prototype,"setVisible",function(b,f){var a=this,e;a.chart.is3d()&&y(a.data,function(b){e=
73
+ (b.visible=b.options.visible=f=void 0===f?!b.visible:f)?"visible":"hidden";a.options.data[g(b,a.data)]=b.options;b.graphic&&b.graphic.attr({visibility:e})});b.apply(this,Array.prototype.slice.call(arguments,1))});x.column.prototype.handle3dGrouping=!0;z(m,"afterInit",function(){if(this.chart.is3d()&&this.handle3dGrouping){var b=this.options,f=b.grouping,a=b.stacking,e=v(this.yAxis.options.reversedStacks,!0),h=0;if(void 0===f||f){f=this.chart.retrieveStacks(a);h=b.stack||0;for(a=0;a<f[h].series.length&&
74
+ f[h].series[a]!==this;a++);h=10*(f.totalStacks-f[h].position)+(e?a:-a);this.xAxis.reversed||(h=10*f.totalStacks-h)}b.zIndex=h}});u(m.prototype,"alignDataLabel",function(b){if(this.chart.is3d()&&("column"===this.type||"columnrange"===this.type)){var f=arguments,a=f[4],f=f[1],e={x:a.x,y:a.y,z:this.z},e=r([e],this.chart,!0)[0];a.x=e.x;a.y=f.outside3dPlot?-9E9:e.y}b.apply(this,[].slice.call(arguments,1))});u(b.StackItem.prototype,"getStackBox",function(g,f){var a=g.apply(this,[].slice.call(arguments,
75
+ 1));if(f.is3d()){var e={x:a.x,y:a.y,z:0},e=b.perspective([e],f,!0)[0];a.x=e.x;a.y=e.y}return a})})(A);(function(b){var z=b.deg2rad,y=b.each,r=b.seriesTypes,v=b.svg;b=b.wrap;b(r.pie.prototype,"translate",function(b){b.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var m=this,g=m.options,r=g.depth||0,u=m.chart.options.chart.options3d,q=u.alpha,f=u.beta,a=g.stacking?(g.stack||0)*r:m._i*r,a=a+r/2;!1!==g.grouping&&(a=0);y(m.data,function(b){var e=b.shapeArgs;b.shapeType="arc3d";e.z=a;e.depth=
76
+ .75*r;e.alpha=q;e.beta=f;e.center=m.center;e=(e.end+e.start)/2;b.slicedTranslation={translateX:Math.round(Math.cos(e)*g.slicedOffset*Math.cos(q*z)),translateY:Math.round(Math.sin(e)*g.slicedOffset*Math.cos(q*z))}})}});b(r.pie.prototype.pointClass.prototype,"haloPath",function(b){var m=arguments;return this.series.chart.is3d()?[]:b.call(this,m[1])});b(r.pie.prototype,"drawPoints",function(b){b.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&y(this.points,function(b){var g=b.graphic;if(g)g[b.y&&
77
+ b.visible?"show":"hide"]()})});b(r.pie.prototype,"drawDataLabels",function(b){if(this.chart.is3d()){var m=this.chart.options.chart.options3d;y(this.data,function(b){var g=b.shapeArgs,r=g.r,q=(g.start+g.end)/2,f=b.labelPos,a=-r*(1-Math.cos((g.alpha||m.alpha)*z))*Math.sin(q),e=r*(Math.cos((g.beta||m.beta)*z)-1)*Math.cos(q);y([0,2,4],function(b){f[b]+=e;f[b+1]+=a})})}b.apply(this,[].slice.call(arguments,1))});b(r.pie.prototype,"addPoint",function(b){b.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&
78
+ this.update(this.userOptions,!0)});b(r.pie.prototype,"animate",function(b){if(this.chart.is3d()){var m=arguments[1],g=this.options.animation,r=this.center,u=this.group,q=this.markerGroup;v&&(!0===g&&(g={}),m?(u.oldtranslateX=u.translateX,u.oldtranslateY=u.translateY,m={translateX:r[0],translateY:r[1],scaleX:.001,scaleY:.001},u.attr(m),q&&(q.attrSetters=u.attrSetters,q.attr(m))):(m={translateX:u.oldtranslateX,translateY:u.oldtranslateY,scaleX:1,scaleY:1},u.animate(m,g),q&&q.animate(m,g),this.animate=
79
+ null))}else b.apply(this,[].slice.call(arguments,1))})})(A);(function(b){var z=b.Point,y=b.seriesType,r=b.seriesTypes;y("scatter3d","scatter",{tooltip:{pointFormat:"x: \x3cb\x3e{point.x}\x3c/b\x3e\x3cbr/\x3ey: \x3cb\x3e{point.y}\x3c/b\x3e\x3cbr/\x3ez: \x3cb\x3e{point.z}\x3c/b\x3e\x3cbr/\x3e"}},{pointAttribs:function(v){var m=r.scatter.prototype.pointAttribs.apply(this,arguments);this.chart.is3d()&&v&&(m.zIndex=b.pointCameraDistance(v,this.chart));return m},axisTypes:["xAxis","yAxis","zAxis"],pointArrayMap:["x",
80
+ "y","z"],parallelArrays:["x","y","z"],directTouch:!0},{applyOptions:function(){z.prototype.applyOptions.apply(this,arguments);void 0===this.z&&(this.z=0);return this}})})(A)});
81
+ //# sourceMappingURL=highcharts-3d.js.map