highcharts 8.1.0 → 8.2.2

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 (854) hide show
  1. package/bower.json +1 -1
  2. package/css/highcharts.css +12 -0
  3. package/css/highcharts.scss +12 -0
  4. package/css/themes/dark-unica.css +12 -0
  5. package/css/themes/grid-light.css +12 -0
  6. package/css/themes/sand-signika.css +12 -0
  7. package/es-modules/{modules/accessibility/a11y-i18n.js → Accessibility/A11yI18n.js} +2 -2
  8. package/es-modules/{modules/accessibility/accessibility.js → Accessibility/Accessibility.js} +24 -21
  9. package/es-modules/{modules/accessibility → Accessibility}/AccessibilityComponent.js +73 -17
  10. package/es-modules/{modules/accessibility/components → Accessibility/Components}/AnnotationsA11y.js +2 -4
  11. package/es-modules/{modules/accessibility/components → Accessibility/Components}/ContainerComponent.js +8 -9
  12. package/es-modules/{modules/accessibility/components → Accessibility/Components}/InfoRegionsComponent.js +9 -12
  13. package/es-modules/{modules/accessibility/components → Accessibility/Components}/LegendComponent.js +60 -22
  14. package/es-modules/{modules/accessibility/components → Accessibility/Components}/MenuComponent.js +4 -11
  15. package/es-modules/{modules/accessibility/components → Accessibility/Components}/RangeSelectorComponent.js +8 -7
  16. package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +171 -0
  17. package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/NewDataAnnouncer.js +8 -7
  18. package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/SeriesComponent.js +5 -5
  19. package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/SeriesDescriber.js +6 -6
  20. package/es-modules/{modules/accessibility/components → Accessibility/Components}/SeriesComponent/SeriesKeyboardNavigation.js +22 -20
  21. package/es-modules/{modules/accessibility/components → Accessibility/Components}/ZoomComponent.js +9 -8
  22. package/es-modules/{modules/accessibility/focusBorder.js → Accessibility/FocusBorder.js} +13 -10
  23. package/es-modules/{modules/accessibility/high-contrast-mode.js → Accessibility/HighContrastMode.js} +3 -2
  24. package/es-modules/{modules/accessibility/high-contrast-theme.js → Accessibility/HighContrastTheme.js} +0 -0
  25. package/es-modules/{modules/accessibility → Accessibility}/KeyboardNavigation.js +35 -22
  26. package/es-modules/{modules/accessibility → Accessibility}/KeyboardNavigationHandler.js +1 -1
  27. package/es-modules/{modules/accessibility/options/deprecatedOptions.js → Accessibility/Options/DeprecatedOptions.js} +10 -20
  28. package/es-modules/{modules/accessibility/options/langOptions.js → Accessibility/Options/LangOptions.js} +1 -1
  29. package/es-modules/{modules/accessibility/options/options.js → Accessibility/Options/Options.js} +1 -2
  30. package/es-modules/{modules/accessibility/utils → Accessibility/Utils}/Announcer.js +2 -2
  31. package/es-modules/{modules/accessibility/utils/chartUtilities.js → Accessibility/Utils/ChartUtilities.js} +8 -9
  32. package/es-modules/{modules/accessibility/utils → Accessibility/Utils}/DOMElementProvider.js +5 -5
  33. package/es-modules/{modules/accessibility/utils → Accessibility/Utils}/EventProvider.js +2 -2
  34. package/es-modules/{modules/accessibility/utils/htmlUtilities.js → Accessibility/Utils/HTMLUtilities.js} +3 -4
  35. package/es-modules/Core/Animation/AnimationUtilities.js +193 -0
  36. package/es-modules/Core/Animation/Fx.js +378 -0
  37. package/es-modules/{parts → Core/Axis}/Axis.js +153 -89
  38. package/es-modules/{parts-3d → Core/Axis}/Axis3D.js +12 -7
  39. package/es-modules/{modules/broken-axis.src.js → Core/Axis/BrokenAxis.js} +6 -8
  40. package/es-modules/{parts-map → Core/Axis}/ColorAxis.js +28 -31
  41. package/es-modules/{parts → Core/Axis}/DateTimeAxis.js +1 -1
  42. package/es-modules/{parts-gantt → Core/Axis}/GridAxis.js +136 -39
  43. package/es-modules/{parts-more → Core/Axis}/HiddenAxis.js +0 -0
  44. package/es-modules/{parts → Core/Axis}/LogarithmicAxis.js +1 -1
  45. package/es-modules/{parts-map → Core/Axis}/MapAxis.js +2 -2
  46. package/es-modules/{parts → Core/Axis}/NavigatorAxis.js +2 -2
  47. package/es-modules/{parts → Core/Axis}/OrdinalAxis.js +241 -224
  48. package/es-modules/{parts → Core/Axis}/PlotLineOrBand.js +24 -15
  49. package/es-modules/{parts-more → Core/Axis}/RadialAxis.js +34 -27
  50. package/es-modules/{parts → Core/Axis}/ScrollbarAxis.js +2 -2
  51. package/es-modules/{parts → Core/Axis}/StackingAxis.js +11 -2
  52. package/es-modules/{parts → Core/Axis}/Tick.js +14 -14
  53. package/es-modules/{parts-3d → Core/Axis}/Tick3D.js +1 -1
  54. package/es-modules/{parts-gantt → Core/Axis}/TreeGridAxis.js +81 -15
  55. package/es-modules/{parts-gantt → Core/Axis}/TreeGridTick.js +1 -1
  56. package/es-modules/{parts-3d → Core/Axis}/ZAxis.js +2 -2
  57. package/es-modules/{parts → Core/Chart}/Chart.js +225 -227
  58. package/es-modules/Core/Chart/Chart3D.js +1674 -0
  59. package/es-modules/{parts-gantt → Core/Chart}/GanttChart.js +13 -12
  60. package/es-modules/{parts → Core/Chart}/StockChart.js +26 -25
  61. package/es-modules/Core/Color/Color.js +419 -0
  62. package/es-modules/Core/Color/ColorType.js +9 -0
  63. package/es-modules/{parts → Core}/Color.js +1 -1
  64. package/es-modules/{parts → Core}/Dynamics.js +91 -61
  65. package/es-modules/{parts → Core}/Globals.js +9 -1
  66. package/es-modules/{parts → Core}/Interaction.js +27 -20
  67. package/es-modules/{parts → Core}/Legend.js +26 -11
  68. package/es-modules/{parts → Core}/MSPointer.js +2 -2
  69. package/es-modules/{parts → Core}/Navigator.js +24 -14
  70. package/es-modules/{parts → Core}/Options.js +157 -69
  71. package/es-modules/{parts → Core}/Pointer.js +50 -27
  72. package/es-modules/Core/Renderer/DOMElementType.js +9 -0
  73. package/es-modules/Core/Renderer/HTML/HTMLElement.js +220 -0
  74. package/es-modules/{parts/Html.js → Core/Renderer/HTML/HTMLRenderer.js} +16 -207
  75. package/es-modules/{parts → Core/Renderer/SVG}/SVGElement.js +186 -32
  76. package/es-modules/Core/Renderer/SVG/SVGLabel.js +410 -0
  77. package/es-modules/{parts/SvgRenderer.js → Core/Renderer/SVG/SVGRenderer.js} +426 -886
  78. package/es-modules/{parts-3d/SVGRenderer.js → Core/Renderer/SVG/SVGRenderer3D.js} +31 -23
  79. package/es-modules/{parts → Core}/Responsive.js +24 -14
  80. package/es-modules/{parts → Core}/Scrollbar.js +5 -4
  81. package/es-modules/Core/Series/BaseSeries.js +157 -0
  82. package/es-modules/{parts/Series.js → Core/Series/CartesianSeries.js} +119 -55
  83. package/es-modules/{parts → Core/Series}/DataLabels.js +40 -36
  84. package/es-modules/{parts → Core/Series}/Point.js +8 -10
  85. package/es-modules/Core/Series/Series.js +158 -0
  86. package/es-modules/{parts-3d/Series.js → Core/Series/Series3D.js} +5 -3
  87. package/es-modules/{parts → Core}/Time.js +11 -133
  88. package/es-modules/{parts → Core}/Tooltip.js +30 -27
  89. package/es-modules/{parts → Core}/Utilities.js +103 -562
  90. package/es-modules/{mixins/ajax.js → Extensions/Ajax.js} +9 -4
  91. package/es-modules/{annotations/annotations.src.js → Extensions/Annotations/Annotations.js} +901 -709
  92. package/es-modules/{annotations → Extensions/Annotations}/ControlPoint.js +2 -2
  93. package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +117 -0
  94. package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +111 -0
  95. package/es-modules/{annotations/controllable → Extensions/Annotations/Controllables}/ControllableLabel.js +186 -146
  96. package/es-modules/{annotations/controllable → Extensions/Annotations/Controllables}/ControllablePath.js +81 -42
  97. package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +121 -0
  98. package/es-modules/{annotations/controllable/controllableMixin.js → Extensions/Annotations/Mixins/ControllableMixin.js} +8 -9
  99. package/es-modules/{annotations/eventEmitterMixin.js → Extensions/Annotations/Mixins/EventEmitterMixin.js} +7 -7
  100. package/es-modules/{annotations/controllable/markerMixin.js → Extensions/Annotations/Mixins/MarkerMixin.js} +10 -8
  101. package/es-modules/{annotations → Extensions/Annotations}/MockPoint.js +6 -6
  102. package/es-modules/{annotations/navigationBindings.js → Extensions/Annotations/NavigationBindings.js} +27 -16
  103. package/es-modules/{annotations/popup.js → Extensions/Annotations/Popup.js} +9 -9
  104. package/es-modules/{annotations/types → Extensions/Annotations/Types}/BasicAnnotation.js +68 -20
  105. package/es-modules/{annotations/types → Extensions/Annotations/Types}/CrookedLine.js +46 -19
  106. package/es-modules/{annotations/types → Extensions/Annotations/Types}/ElliottWave.js +33 -12
  107. package/es-modules/{annotations/types → Extensions/Annotations/Types}/Fibonacci.js +54 -22
  108. package/es-modules/Extensions/Annotations/Types/InfinityLine.js +147 -0
  109. package/es-modules/{annotations/types → Extensions/Annotations/Types}/Measure.js +82 -52
  110. package/es-modules/{annotations/types → Extensions/Annotations/Types}/Pitchfork.js +69 -32
  111. package/es-modules/{annotations/types → Extensions/Annotations/Types}/Tunnel.js +58 -30
  112. package/es-modules/{annotations/types → Extensions/Annotations/Types}/VerticalLine.js +64 -33
  113. package/es-modules/{parts-gantt → Extensions}/ArrowSymbols.js +9 -11
  114. package/es-modules/{modules/boost/boost.js → Extensions/Boost/Boost.js} +8 -8
  115. package/es-modules/{modules/boost/boost-attach.js → Extensions/Boost/BoostAttach.js} +10 -8
  116. package/es-modules/{modules/boost/boost-init.js → Extensions/Boost/BoostInit.js} +7 -6
  117. package/es-modules/{modules/boost/boost-options.js → Extensions/Boost/BoostOptions.js} +1 -1
  118. package/es-modules/{modules/boost/boost-overrides.js → Extensions/Boost/BoostOverrides.js} +14 -11
  119. package/es-modules/{modules/boost/boost-utils.js → Extensions/Boost/BoostUtils.js} +6 -6
  120. package/es-modules/{modules/boost/boostable-map.js → Extensions/Boost/BoostableMap.js} +1 -1
  121. package/es-modules/{modules/boost/boostables.js → Extensions/Boost/Boostables.js} +0 -0
  122. package/es-modules/{modules/boost/named-colors.js → Extensions/Boost/NamedColors.js} +1 -1
  123. package/es-modules/{modules/boost/wgl-renderer.js → Extensions/Boost/WGLRenderer.js} +9 -9
  124. package/es-modules/{modules/boost/wgl-shader.js → Extensions/Boost/WGLShader.js} +3 -4
  125. package/es-modules/{modules/boost/wgl-vbuffer.js → Extensions/Boost/WGLVBuffer.js} +0 -0
  126. package/es-modules/{modules/boost-canvas.src.js → Extensions/BoostCanvas.js} +13 -9
  127. package/es-modules/{parts-gantt/CurrentDateIndicator.js → Extensions/CurrentDateIndication.js} +5 -7
  128. package/es-modules/{modules/data.src.js → Extensions/Data.js} +14 -16
  129. package/es-modules/{parts → Extensions}/DataGrouping.js +12 -9
  130. package/es-modules/{modules/debugger.src.js → Extensions/Debugger.js} +6 -6
  131. package/es-modules/{mixins/download-url.js → Extensions/DownloadURL.js} +15 -7
  132. package/es-modules/{modules/drag-panes.src.js → Extensions/DragPanes.js} +6 -6
  133. package/es-modules/{modules/draggable-points.src.js → Extensions/DraggablePoints.js} +21 -32
  134. package/es-modules/{modules/drilldown.src.js → Extensions/Drilldown.js} +64 -43
  135. package/es-modules/{modules/export-data.src.js → Extensions/ExportData.js} +126 -26
  136. package/es-modules/{modules/exporting.src.js → Extensions/Exporting.js} +26 -12
  137. package/es-modules/{modules/full-screen.src.js → Extensions/FullScreen.js} +5 -3
  138. package/es-modules/{parts-map → Extensions}/GeoJSON.js +112 -7
  139. package/es-modules/{modules/marker-clusters.src.js → Extensions/MarkerClusters.js} +29 -39
  140. package/es-modules/{parts-3d/Math.js → Extensions/Math3D.js} +17 -9
  141. package/es-modules/{modules/no-data-to-display.src.js → Extensions/NoDataToDisplay.js} +14 -15
  142. package/es-modules/{modules/offline-exporting.src.js → Extensions/OfflineExporting.js} +39 -35
  143. package/es-modules/{modules/oldie.src.js → Extensions/Oldie/Oldie.js} +19 -12
  144. package/es-modules/{parts-3d → Extensions/Oldie}/VMLAxis3D.js +1 -1
  145. package/es-modules/Extensions/Oldie/VMLRenderer3D.js +46 -0
  146. package/es-modules/{modules/oldie-polyfills.src.js → Extensions/OldiePolyfills.js} +5 -0
  147. package/es-modules/{modules/overlapping-datalabels.src.js → Extensions/OverlappingDataLabels.js} +14 -13
  148. package/es-modules/{parts-more → Extensions}/Pane.js +13 -12
  149. package/es-modules/{modules/parallel-coordinates.src.js → Extensions/ParallelCoordinates.js} +140 -138
  150. package/es-modules/{modules/pattern-fill.src.js → Extensions/PatternFill.js} +23 -15
  151. package/es-modules/{parts-more → Extensions}/Polar.js +15 -12
  152. package/es-modules/{modules/price-indicator.src.js → Extensions/PriceIndication.js} +5 -3
  153. package/es-modules/{parts → Extensions}/RangeSelector.js +112 -79
  154. package/es-modules/{parts → Extensions}/ScrollablePlotArea.js +19 -9
  155. package/es-modules/{modules/series-label.src.js → Extensions/SeriesLabel.js} +14 -10
  156. package/es-modules/{modules/sonification/chartSonify.js → Extensions/Sonification/ChartSonify.js} +212 -41
  157. package/es-modules/{modules/sonification → Extensions/Sonification}/Earcon.js +3 -7
  158. package/es-modules/{modules/sonification → Extensions/Sonification}/Instrument.js +35 -11
  159. package/es-modules/{modules/sonification/instrumentDefinitions.js → Extensions/Sonification/InstrumentDefinitions.js} +1 -1
  160. package/es-modules/{modules/sonification/musicalFrequencies.js → Extensions/Sonification/MusicalFrequencies.js} +0 -0
  161. package/es-modules/Extensions/Sonification/Options.js +34 -0
  162. package/es-modules/{modules/sonification/pointSonify.js → Extensions/Sonification/PointSonify.js} +43 -28
  163. package/es-modules/{modules/sonification/sonification.js → Extensions/Sonification/Sonification.js} +16 -12
  164. package/es-modules/{modules/sonification → Extensions/Sonification}/Timeline.js +25 -6
  165. package/es-modules/{modules/sonification/utilities.js → Extensions/Sonification/Utilities.js} +8 -5
  166. package/es-modules/{parts → Extensions}/Stacking.js +57 -18
  167. package/es-modules/{modules/static-scale.src.js → Extensions/StaticScale.js} +4 -4
  168. package/es-modules/{themes/avocado.js → Extensions/Themes/Avocado.js} +5 -4
  169. package/es-modules/{themes/dark-blue.js → Extensions/Themes/DarkBlue.js} +4 -2
  170. package/es-modules/{themes/dark-green.js → Extensions/Themes/DarkGreen.js} +4 -2
  171. package/es-modules/{themes/dark-unica.js → Extensions/Themes/DarkUnica.js} +6 -6
  172. package/es-modules/{themes/gray.js → Extensions/Themes/Gray.js} +5 -4
  173. package/es-modules/{themes/grid.js → Extensions/Themes/Grid.js} +4 -2
  174. package/es-modules/{themes/grid-light.js → Extensions/Themes/GridLight.js} +4 -2
  175. package/es-modules/{themes/high-contrast-dark.js → Extensions/Themes/HighContrastDark.js} +5 -4
  176. package/es-modules/{themes/high-contrast-light.js → Extensions/Themes/HighContrastLight.js} +4 -2
  177. package/es-modules/{themes/sand-signika.js → Extensions/Themes/SandSignika.js} +4 -2
  178. package/es-modules/{themes/skies.js → Extensions/Themes/Skies.js} +5 -3
  179. package/es-modules/{themes/sunset.js → Extensions/Themes/Sunset.js} +5 -4
  180. package/es-modules/{parts-gantt/Pathfinder.js → Gantt/Connection.js} +41 -284
  181. package/es-modules/Gantt/Pathfinder.js +816 -0
  182. package/es-modules/Gantt/PathfinderAlgorithms.js +659 -0
  183. package/es-modules/{parts-gantt → Gantt}/Tree.js +1 -1
  184. package/es-modules/{parts-map → Maps}/Map.js +24 -15
  185. package/es-modules/{parts-map → Maps}/MapNavigation.js +4 -5
  186. package/es-modules/{parts-map → Maps}/MapPointer.js +2 -4
  187. package/es-modules/{mixins/centered-series.js → Mixins/CenteredSeries.js} +7 -5
  188. package/es-modules/{parts-map/ColorMapSeriesMixin.js → Mixins/ColorMapSeries.js} +10 -6
  189. package/es-modules/{parts-map/ColorSeriesMixin.js → Mixins/ColorSeries.js} +12 -4
  190. package/es-modules/{mixins/derived-series.js → Mixins/DerivedSeries.js} +3 -3
  191. package/es-modules/{mixins/draw-point.js → Mixins/DrawPoint.js} +6 -1
  192. package/es-modules/{mixins/geometry.js → Mixins/Geometry.js} +0 -0
  193. package/es-modules/{mixins/geometry-circles.js → Mixins/GeometryCircles.js} +2 -2
  194. package/es-modules/{mixins/indicator-required.js → Mixins/IndicatorRequired.js} +1 -1
  195. package/es-modules/{mixins/legend-symbol.js → Mixins/LegendSymbol.js} +6 -10
  196. package/es-modules/{mixins/multipe-lines.js → Mixins/MultipleLines.js} +2 -2
  197. package/es-modules/{mixins/navigation.js → Mixins/Navigation.js} +0 -0
  198. package/es-modules/{mixins/nelder-mead.js → Mixins/NelderMead.js} +2 -2
  199. package/es-modules/{mixins/nodes.js → Mixins/Nodes.js} +7 -5
  200. package/es-modules/{mixins/on-series.js → Mixins/OnSeries.js} +3 -2
  201. package/es-modules/{mixins/polygon.js → Mixins/Polygon.js} +2 -2
  202. package/es-modules/{mixins/reduce-array.js → Mixins/ReduceArray.js} +1 -1
  203. package/es-modules/{mixins/tree-series.js → Mixins/TreeSeries.js} +2 -2
  204. package/es-modules/{parts-more → Series}/AreaRangeSeries.js +75 -38
  205. package/es-modules/{parts → Series}/AreaSeries.js +43 -25
  206. package/es-modules/{parts-more → Series}/AreaSplineRangeSeries.js +47 -10
  207. package/es-modules/{parts → Series}/AreaSplineSeries.js +49 -10
  208. package/es-modules/{parts → Series}/BarSeries.js +2 -5
  209. package/es-modules/{modules/bellcurve.src.js → Series/BellcurveSeries.js} +47 -7
  210. package/es-modules/{parts-more → Series}/BoxPlotSeries.js +18 -13
  211. package/es-modules/{parts-more → Series/Bubble}/BubbleLegend.js +11 -9
  212. package/es-modules/{parts-more → Series/Bubble}/BubbleSeries.js +25 -27
  213. package/es-modules/{modules/bullet.src.js → Series/BulletSeries.js} +9 -8
  214. package/es-modules/{parts → Series}/CandlestickSeries.js +11 -8
  215. package/es-modules/{parts-3d/Column.js → Series/Column3DSeries.js} +108 -28
  216. package/es-modules/{parts-more → Series}/ColumnPyramidSeries.js +9 -9
  217. package/es-modules/{parts-more → Series}/ColumnRangeSeries.js +21 -18
  218. package/es-modules/{parts → Series}/ColumnSeries.js +119 -41
  219. package/es-modules/{modules/cylinder.src.js → Series/CylinderSeries.js} +14 -14
  220. package/es-modules/{modules/dependency-wheel.src.js → Series/DependencyWheelSeries.js} +14 -12
  221. package/es-modules/{modules/dotplot.src.js → Series/DotplotSeries.js} +7 -15
  222. package/es-modules/{modules/dumbbell.src.js → Series/DumbbellSeries.js} +16 -10
  223. package/es-modules/{parts-more → Series}/ErrorBarSeries.js +8 -8
  224. package/es-modules/{parts → Series}/FlagsSeries.js +18 -12
  225. package/es-modules/{modules/funnel3d.src.js → Series/Funnel3DSeries.js} +14 -16
  226. package/es-modules/{modules/funnel.src.js → Series/FunnelSeries.js} +16 -14
  227. package/es-modules/{parts-gantt → Series}/GanttSeries.js +21 -20
  228. package/es-modules/{parts-more → Series}/GaugeSeries.js +14 -12
  229. package/es-modules/{parts-map → Series}/HeatmapSeries.js +23 -16
  230. package/es-modules/{modules/histogram.src.js → Series/HistogramSeries.js} +13 -9
  231. package/es-modules/{modules/item-series.src.js → Series/ItemSeries.js} +22 -14
  232. package/es-modules/Series/LineSeries.js +13 -0
  233. package/es-modules/{modules/lollipop.src.js → Series/LollipopSeries.js} +34 -10
  234. package/es-modules/{parts-map → Series}/MapBubbleSeries.js +8 -9
  235. package/es-modules/{parts-map → Series}/MapLineSeries.js +5 -7
  236. package/es-modules/{parts-map → Series}/MapPointSeries.js +9 -8
  237. package/es-modules/{parts-map → Series}/MapSeries.js +22 -18
  238. package/es-modules/{modules/networkgraph/draggable-nodes.js → Series/Networkgraph/DraggableNodes.js} +15 -30
  239. package/es-modules/{modules/networkgraph/integrations.js → Series/Networkgraph/Integrations.js} +1 -1
  240. package/es-modules/{modules/networkgraph/layouts.js → Series/Networkgraph/Layouts.js} +43 -13
  241. package/es-modules/{modules/networkgraph/networkgraph.src.js → Series/Networkgraph/Networkgraph.js} +29 -23
  242. package/es-modules/{modules/networkgraph → Series/Networkgraph}/QuadTree.js +2 -2
  243. package/es-modules/{parts → Series}/OHLCSeries.js +5 -7
  244. package/es-modules/{modules/organization.src.js → Series/OrganizationSeries.js} +10 -7
  245. package/es-modules/{parts-more → Series}/PackedBubbleSeries.js +104 -28
  246. package/es-modules/{modules/pareto.src.js → Series/ParetoSeries.js} +10 -9
  247. package/es-modules/{parts-3d/Pie.js → Series/Pie3DSeries.js} +5 -4
  248. package/es-modules/{parts → Series}/PieSeries.js +66 -31
  249. package/es-modules/{parts-more → Series}/PolygonSeries.js +13 -13
  250. package/es-modules/{modules/pyramid3d.src.js → Series/Pyramid3DSeries.js} +5 -7
  251. package/es-modules/{modules/sankey.src.js → Series/SankeySeries.js} +23 -21
  252. package/es-modules/{parts-3d/Scatter.js → Series/Scatter3DSeries.js} +10 -9
  253. package/es-modules/{parts → Series}/ScatterSeries.js +15 -10
  254. package/es-modules/{modules/solid-gauge.src.js → Series/SolidGaugeSeries.js} +112 -78
  255. package/es-modules/{parts → Series}/SplineSeries.js +9 -7
  256. package/es-modules/{modules/streamgraph.src.js → Series/StreamgraphSeries.js} +42 -6
  257. package/es-modules/{modules/sunburst.src.js → Series/SunburstSeries.js} +20 -13
  258. package/es-modules/{modules/tilemap.src.js → Series/TilemapSeries.js} +12 -9
  259. package/es-modules/{modules/timeline.src.js → Series/TimelineSeries.js} +16 -11
  260. package/es-modules/{modules/treemap.src.js → Series/TreemapSeries.js} +47 -40
  261. package/es-modules/{modules/variable-pie.src.js → Series/VariablePieSeries.js} +11 -8
  262. package/es-modules/{modules/variwide.src.js → Series/VariwideSeries.js} +12 -10
  263. package/es-modules/{modules/vector.src.js → Series/VectorSeries.js} +11 -7
  264. package/es-modules/{modules/venn.src.js → Series/VennSeries.js} +29 -20
  265. package/es-modules/{parts-more → Series}/WaterfallSeries.js +145 -66
  266. package/es-modules/{modules/windbarb.src.js → Series/WindbarbSeries.js} +13 -9
  267. package/es-modules/{modules/wordcloud.src.js → Series/WordcloudSeries.js} +17 -13
  268. package/es-modules/{modules/xrange.src.js → Series/XRangeSeries.js} +16 -12
  269. package/es-modules/{indicators/acceleration-bands.src.js → Stock/Indicators/ABIndicator.js} +8 -8
  270. package/es-modules/{indicators/accumulation-distribution.src.js → Stock/Indicators/ADIndicator.js} +5 -4
  271. package/es-modules/{indicators/ao.src.js → Stock/Indicators/AOIndicator.js} +6 -5
  272. package/es-modules/{indicators/apo.src.js → Stock/Indicators/APOIndicator.js} +8 -8
  273. package/es-modules/{indicators/atr.src.js → Stock/Indicators/ATRIndicator.js} +6 -6
  274. package/es-modules/{indicators/aroon.src.js → Stock/Indicators/AroonIndicator.js} +7 -6
  275. package/es-modules/{indicators/aroon-oscillator.src.js → Stock/Indicators/AroonOscillatorIndicator.js} +8 -8
  276. package/es-modules/{indicators/bollinger-bands.src.js → Stock/Indicators/BBIndicator.js} +8 -8
  277. package/es-modules/{indicators/cci.src.js → Stock/Indicators/CCIIndicator.js} +5 -4
  278. package/es-modules/{indicators/cmf.src.js → Stock/Indicators/CMFIndicator.js} +3 -4
  279. package/es-modules/{indicators/chaikin.src.js → Stock/Indicators/ChaikinIndicator.js} +10 -9
  280. package/es-modules/{indicators/dema.src.js → Stock/Indicators/DEMAIndicator.js} +8 -8
  281. package/es-modules/{indicators/dpo.src.js → Stock/Indicators/DPOIndicator.js} +5 -4
  282. package/es-modules/{indicators/ema.src.js → Stock/Indicators/EMAIndicator.js} +4 -4
  283. package/es-modules/{indicators/ichimoku-kinko-hyo.src.js → Stock/Indicators/IKHIndicator.js} +23 -20
  284. package/es-modules/{indicators/keltner-channels.src.js → Stock/Indicators/KeltnerChannelsIndicator.js} +11 -8
  285. package/es-modules/{indicators/macd.src.js → Stock/Indicators/MACDIndicator.js} +9 -6
  286. package/es-modules/{indicators/mfi.src.js → Stock/Indicators/MFIIndicator.js} +5 -4
  287. package/es-modules/{indicators/momentum.src.js → Stock/Indicators/MomentumIndicator.js} +5 -4
  288. package/es-modules/{indicators/natr.src.js → Stock/Indicators/NATRIndicator.js} +4 -6
  289. package/es-modules/{indicators/price-channel.src.js → Stock/Indicators/PCIndicator.js} +9 -8
  290. package/es-modules/{indicators/ppo.src.js → Stock/Indicators/PPOIndicator.js} +8 -8
  291. package/es-modules/{indicators/psar.src.js → Stock/Indicators/PSARIndicator.js} +3 -4
  292. package/es-modules/{indicators/pivot-points.src.js → Stock/Indicators/PivotPointsIndicator.js} +6 -6
  293. package/es-modules/{indicators/price-envelopes.src.js → Stock/Indicators/PriceEnvelopesIndicator.js} +6 -6
  294. package/es-modules/{indicators/roc.src.js → Stock/Indicators/ROCIndicator.js} +5 -4
  295. package/es-modules/{indicators/rsi.src.js → Stock/Indicators/RSIIndicator.js} +5 -4
  296. package/es-modules/{indicators/regressions.src.js → Stock/Indicators/RegressionIndicators.js} +8 -7
  297. package/es-modules/{indicators/indicators.src.js → Stock/Indicators/SMAIndicator.js} +12 -8
  298. package/es-modules/{indicators/slow-stochastic.src.js → Stock/Indicators/SlowStochasticIndicator.js} +6 -8
  299. package/es-modules/{indicators/stochastic.src.js → Stock/Indicators/StochasticIndicator.js} +9 -9
  300. package/es-modules/{indicators/supertrend.src.js → Stock/Indicators/SupertrendIndicator.js} +8 -7
  301. package/es-modules/{indicators/tema.src.js → Stock/Indicators/TEMAIndicator.js} +8 -8
  302. package/es-modules/{indicators/trix.src.js → Stock/Indicators/TRIXIndicator.js} +8 -8
  303. package/es-modules/{indicators/trendline.src.js → Stock/Indicators/TrendLineIndicator.js} +5 -4
  304. package/es-modules/{indicators/volume-by-price.src.js → Stock/Indicators/VBPIndicator.js} +10 -7
  305. package/es-modules/{indicators/vwap.src.js → Stock/Indicators/VWAPIndicator.js} +5 -4
  306. package/es-modules/{indicators/wma.src.js → Stock/Indicators/WMAIndicator.js} +5 -4
  307. package/es-modules/{indicators/williams-r.src.js → Stock/Indicators/WilliamsRIndicator.js} +7 -6
  308. package/es-modules/{indicators/zigzag.src.js → Stock/Indicators/ZigzagIndicator.js} +5 -7
  309. package/es-modules/{modules/stock-tools-bindings.js → Stock/StockToolsBindings.js} +22 -7
  310. package/es-modules/{modules/stock-tools-gui.js → Stock/StockToolsGui.js} +17 -17
  311. package/es-modules/error-messages.js +7 -2
  312. package/es-modules/highcharts.src.js +19853 -0
  313. package/es-modules/masters/highcharts-3d.src.js +11 -12
  314. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  315. package/es-modules/masters/highcharts-more.src.js +15 -15
  316. package/es-modules/masters/highcharts.src.js +28 -27
  317. package/es-modules/masters/highmaps.src.js +1 -1
  318. package/es-modules/masters/highstock.src.js +1 -1
  319. package/es-modules/masters/indicators/acceleration-bands.src.js +2 -2
  320. package/es-modules/masters/indicators/accumulation-distribution.src.js +2 -2
  321. package/es-modules/masters/indicators/ao.src.js +2 -2
  322. package/es-modules/masters/indicators/apo.src.js +2 -2
  323. package/es-modules/masters/indicators/aroon-oscillator.src.js +2 -2
  324. package/es-modules/masters/indicators/aroon.src.js +2 -2
  325. package/es-modules/masters/indicators/atr.src.js +2 -2
  326. package/es-modules/masters/indicators/bollinger-bands.src.js +2 -2
  327. package/es-modules/masters/indicators/cci.src.js +2 -2
  328. package/es-modules/masters/indicators/chaikin.src.js +2 -2
  329. package/es-modules/masters/indicators/cmf.src.js +2 -2
  330. package/es-modules/masters/indicators/dema.src.js +2 -2
  331. package/es-modules/masters/indicators/dpo.src.js +2 -2
  332. package/es-modules/masters/indicators/ema.src.js +2 -2
  333. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +2 -2
  334. package/es-modules/masters/indicators/indicators-all.src.js +41 -41
  335. package/es-modules/masters/indicators/indicators.src.js +2 -2
  336. package/es-modules/masters/indicators/keltner-channels.src.js +2 -2
  337. package/es-modules/masters/indicators/macd.src.js +2 -2
  338. package/es-modules/masters/indicators/mfi.src.js +2 -2
  339. package/es-modules/masters/indicators/momentum.src.js +2 -2
  340. package/es-modules/masters/indicators/natr.src.js +2 -2
  341. package/es-modules/masters/indicators/pivot-points.src.js +2 -2
  342. package/es-modules/masters/indicators/ppo.src.js +2 -2
  343. package/es-modules/masters/indicators/price-channel.src.js +2 -2
  344. package/es-modules/masters/indicators/price-envelopes.src.js +2 -2
  345. package/es-modules/masters/indicators/psar.src.js +2 -2
  346. package/es-modules/masters/indicators/regressions.src.js +2 -2
  347. package/es-modules/masters/indicators/roc.src.js +2 -2
  348. package/es-modules/masters/indicators/rsi.src.js +2 -2
  349. package/es-modules/masters/indicators/slow-stochastic.src.js +2 -2
  350. package/es-modules/masters/indicators/stochastic.src.js +2 -2
  351. package/es-modules/masters/indicators/supertrend.src.js +2 -2
  352. package/es-modules/masters/indicators/tema.src.js +2 -2
  353. package/es-modules/masters/indicators/trendline.src.js +2 -2
  354. package/es-modules/masters/indicators/trix.src.js +2 -2
  355. package/es-modules/masters/indicators/volume-by-price.src.js +2 -2
  356. package/es-modules/masters/indicators/vwap.src.js +2 -2
  357. package/es-modules/masters/indicators/williams-r.src.js +2 -2
  358. package/es-modules/masters/indicators/wma.src.js +2 -2
  359. package/es-modules/masters/indicators/zigzag.src.js +2 -2
  360. package/es-modules/masters/modules/accessibility.src.js +2 -2
  361. package/es-modules/masters/modules/annotations-advanced.src.js +13 -13
  362. package/es-modules/masters/modules/annotations.src.js +4 -4
  363. package/es-modules/masters/modules/arrow-symbols.src.js +2 -2
  364. package/es-modules/masters/modules/boost-canvas.src.js +2 -2
  365. package/es-modules/masters/modules/boost.src.js +2 -2
  366. package/es-modules/masters/modules/broken-axis.src.js +2 -2
  367. package/es-modules/masters/modules/bullet.src.js +2 -2
  368. package/es-modules/masters/modules/coloraxis.src.js +2 -2
  369. package/es-modules/masters/modules/current-date-indicator.src.js +2 -2
  370. package/es-modules/masters/modules/cylinder.src.js +2 -2
  371. package/es-modules/masters/modules/data.src.js +2 -2
  372. package/es-modules/masters/modules/datagrouping.src.js +2 -2
  373. package/es-modules/masters/modules/debugger.src.js +2 -2
  374. package/es-modules/masters/modules/dependency-wheel.src.js +2 -2
  375. package/es-modules/masters/modules/dotplot.src.js +2 -2
  376. package/es-modules/masters/modules/drag-panes.src.js +2 -2
  377. package/es-modules/masters/modules/draggable-points.src.js +2 -2
  378. package/es-modules/masters/modules/drilldown.src.js +2 -2
  379. package/es-modules/masters/modules/dumbbell.src.js +2 -2
  380. package/es-modules/masters/modules/export-data.src.js +2 -2
  381. package/es-modules/masters/modules/exporting.src.js +3 -3
  382. package/es-modules/masters/modules/full-screen.src.js +2 -2
  383. package/es-modules/masters/modules/funnel.src.js +2 -2
  384. package/es-modules/masters/modules/funnel3d.src.js +2 -2
  385. package/es-modules/masters/modules/gantt.src.js +6 -6
  386. package/es-modules/masters/modules/grid-axis.src.js +2 -2
  387. package/es-modules/masters/modules/heatmap.src.js +4 -4
  388. package/es-modules/masters/modules/histogram-bellcurve.src.js +3 -3
  389. package/es-modules/masters/modules/item-series.src.js +2 -2
  390. package/es-modules/masters/modules/lollipop.src.js +2 -2
  391. package/es-modules/masters/modules/map.src.js +13 -13
  392. package/es-modules/masters/modules/marker-clusters.src.js +2 -2
  393. package/es-modules/masters/modules/networkgraph.src.js +2 -2
  394. package/es-modules/masters/modules/no-data-to-display.src.js +2 -2
  395. package/es-modules/masters/modules/offline-exporting.src.js +2 -2
  396. package/es-modules/masters/modules/oldie-polyfills.src.js +2 -2
  397. package/es-modules/masters/modules/oldie.src.js +2 -2
  398. package/es-modules/masters/modules/organization.src.js +2 -2
  399. package/es-modules/masters/modules/overlapping-datalabels.src.js +2 -2
  400. package/es-modules/masters/modules/parallel-coordinates.src.js +2 -2
  401. package/es-modules/masters/modules/pareto.src.js +2 -2
  402. package/es-modules/masters/modules/pathfinder.src.js +2 -2
  403. package/es-modules/masters/modules/pattern-fill.src.js +2 -2
  404. package/es-modules/masters/modules/price-indicator.src.js +2 -2
  405. package/es-modules/masters/modules/pyramid3d.src.js +2 -2
  406. package/es-modules/masters/modules/sankey.src.js +2 -2
  407. package/es-modules/masters/modules/series-label.src.js +2 -2
  408. package/es-modules/masters/modules/solid-gauge.src.js +2 -2
  409. package/es-modules/masters/modules/sonification.src.js +2 -2
  410. package/es-modules/masters/modules/static-scale.src.js +2 -2
  411. package/es-modules/masters/modules/stock-tools.src.js +3 -3
  412. package/es-modules/masters/modules/stock.src.js +10 -10
  413. package/es-modules/masters/modules/streamgraph.src.js +2 -2
  414. package/es-modules/masters/modules/sunburst.src.js +2 -2
  415. package/es-modules/masters/modules/tilemap.src.js +2 -2
  416. package/es-modules/masters/modules/timeline.src.js +2 -2
  417. package/es-modules/masters/modules/treegrid.src.js +2 -2
  418. package/es-modules/masters/modules/treemap.src.js +2 -2
  419. package/es-modules/masters/modules/variable-pie.src.js +2 -2
  420. package/es-modules/masters/modules/variwide.src.js +2 -2
  421. package/es-modules/masters/modules/vector.src.js +2 -2
  422. package/es-modules/masters/modules/venn.src.js +2 -2
  423. package/es-modules/masters/modules/windbarb.src.js +2 -2
  424. package/es-modules/masters/modules/wordcloud.src.js +2 -2
  425. package/es-modules/masters/modules/xrange.src.js +2 -2
  426. package/es-modules/masters/themes/avocado.src.js +2 -2
  427. package/es-modules/masters/themes/dark-blue.src.js +2 -2
  428. package/es-modules/masters/themes/dark-green.src.js +2 -2
  429. package/es-modules/masters/themes/dark-unica.src.js +2 -2
  430. package/es-modules/masters/themes/gray.src.js +2 -2
  431. package/es-modules/masters/themes/grid-light.src.js +2 -2
  432. package/es-modules/masters/themes/grid.src.js +2 -2
  433. package/es-modules/masters/themes/high-contrast-dark.src.js +2 -2
  434. package/es-modules/masters/themes/high-contrast-light.src.js +2 -2
  435. package/es-modules/masters/themes/sand-signika.src.js +2 -2
  436. package/es-modules/masters/themes/skies.src.js +2 -2
  437. package/es-modules/masters/themes/sunset.src.js +2 -2
  438. package/highcharts-3d.js +86 -88
  439. package/highcharts-3d.js.map +1 -1
  440. package/highcharts-3d.src.js +1713 -1615
  441. package/highcharts-gantt.js +730 -697
  442. package/highcharts-gantt.js.map +1 -1
  443. package/highcharts-gantt.src.js +11747 -10110
  444. package/highcharts-more.js +164 -161
  445. package/highcharts-more.js.map +1 -1
  446. package/highcharts-more.src.js +766 -523
  447. package/highcharts.d.ts +7728 -1337
  448. package/highcharts.js +538 -515
  449. package/highcharts.js.map +1 -1
  450. package/highcharts.src.d.ts +7728 -1337
  451. package/highcharts.src.js +8517 -7691
  452. package/highmaps.js +636 -612
  453. package/highmaps.js.map +1 -1
  454. package/highmaps.src.js +9151 -8209
  455. package/highstock.js +697 -671
  456. package/highstock.js.map +1 -1
  457. package/highstock.src.js +8919 -8049
  458. package/indicators/acceleration-bands.js +8 -8
  459. package/indicators/acceleration-bands.js.map +1 -1
  460. package/indicators/acceleration-bands.src.js +8 -8
  461. package/indicators/accumulation-distribution.js +4 -4
  462. package/indicators/accumulation-distribution.js.map +1 -1
  463. package/indicators/accumulation-distribution.src.js +5 -5
  464. package/indicators/ao.js +5 -5
  465. package/indicators/ao.js.map +1 -1
  466. package/indicators/ao.src.js +6 -6
  467. package/indicators/apo.js +5 -5
  468. package/indicators/apo.js.map +1 -1
  469. package/indicators/apo.src.js +8 -9
  470. package/indicators/aroon-oscillator.js +8 -8
  471. package/indicators/aroon-oscillator.js.map +1 -1
  472. package/indicators/aroon-oscillator.src.js +8 -9
  473. package/indicators/aroon.js +7 -7
  474. package/indicators/aroon.js.map +1 -1
  475. package/indicators/aroon.src.js +7 -7
  476. package/indicators/atr.js +4 -4
  477. package/indicators/atr.js.map +1 -1
  478. package/indicators/atr.src.js +6 -14
  479. package/indicators/bollinger-bands.js +8 -8
  480. package/indicators/bollinger-bands.js.map +1 -1
  481. package/indicators/bollinger-bands.src.js +8 -8
  482. package/indicators/cci.js +4 -4
  483. package/indicators/cci.js.map +1 -1
  484. package/indicators/cci.src.js +5 -5
  485. package/indicators/chaikin.js +6 -6
  486. package/indicators/chaikin.js.map +1 -1
  487. package/indicators/chaikin.src.js +75 -75
  488. package/indicators/cmf.js +4 -4
  489. package/indicators/cmf.js.map +1 -1
  490. package/indicators/cmf.src.js +4 -4
  491. package/indicators/dema.js +5 -5
  492. package/indicators/dema.js.map +1 -1
  493. package/indicators/dema.src.js +8 -9
  494. package/indicators/dpo.js +4 -4
  495. package/indicators/dpo.js.map +1 -1
  496. package/indicators/dpo.src.js +5 -5
  497. package/indicators/ema.js +4 -4
  498. package/indicators/ema.js.map +1 -1
  499. package/indicators/ema.src.js +4 -5
  500. package/indicators/ichimoku-kinko-hyo.js +13 -13
  501. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  502. package/indicators/ichimoku-kinko-hyo.src.js +21 -20
  503. package/indicators/indicators-all.js +119 -118
  504. package/indicators/indicators-all.js.map +1 -1
  505. package/indicators/indicators-all.src.js +231 -240
  506. package/indicators/indicators.js +9 -9
  507. package/indicators/indicators.js.map +1 -1
  508. package/indicators/indicators.src.js +9 -9
  509. package/indicators/keltner-channels.js +8 -8
  510. package/indicators/keltner-channels.js.map +1 -1
  511. package/indicators/keltner-channels.src.js +13 -10
  512. package/indicators/macd.js +10 -10
  513. package/indicators/macd.js.map +1 -1
  514. package/indicators/macd.src.js +8 -7
  515. package/indicators/mfi.js +4 -4
  516. package/indicators/mfi.js.map +1 -1
  517. package/indicators/mfi.src.js +5 -5
  518. package/indicators/momentum.js +4 -4
  519. package/indicators/momentum.js.map +1 -1
  520. package/indicators/momentum.src.js +5 -5
  521. package/indicators/natr.js +3 -3
  522. package/indicators/natr.js.map +1 -1
  523. package/indicators/natr.src.js +5 -5
  524. package/indicators/pivot-points.js +8 -8
  525. package/indicators/pivot-points.js.map +1 -1
  526. package/indicators/pivot-points.src.js +6 -6
  527. package/indicators/ppo.js +5 -5
  528. package/indicators/ppo.js.map +1 -1
  529. package/indicators/ppo.src.js +8 -9
  530. package/indicators/price-channel.js +8 -8
  531. package/indicators/price-channel.js.map +1 -1
  532. package/indicators/price-channel.src.js +66 -66
  533. package/indicators/price-envelopes.js +6 -6
  534. package/indicators/price-envelopes.js.map +1 -1
  535. package/indicators/price-envelopes.src.js +6 -6
  536. package/indicators/psar.js +3 -3
  537. package/indicators/psar.js.map +1 -1
  538. package/indicators/psar.src.js +4 -4
  539. package/indicators/regressions.js +6 -6
  540. package/indicators/regressions.js.map +1 -1
  541. package/indicators/regressions.src.js +8 -8
  542. package/indicators/roc.js +3 -3
  543. package/indicators/roc.js.map +1 -1
  544. package/indicators/roc.src.js +5 -5
  545. package/indicators/rsi.js +4 -4
  546. package/indicators/rsi.js.map +1 -1
  547. package/indicators/rsi.src.js +5 -5
  548. package/indicators/slow-stochastic.js +5 -5
  549. package/indicators/slow-stochastic.js.map +1 -1
  550. package/indicators/slow-stochastic.src.js +7 -7
  551. package/indicators/stochastic.js +9 -9
  552. package/indicators/stochastic.js.map +1 -1
  553. package/indicators/stochastic.src.js +67 -67
  554. package/indicators/supertrend.js +9 -9
  555. package/indicators/supertrend.js.map +1 -1
  556. package/indicators/supertrend.src.js +9 -7
  557. package/indicators/tema.js +6 -6
  558. package/indicators/tema.js.map +1 -1
  559. package/indicators/tema.src.js +8 -9
  560. package/indicators/trendline.js +3 -3
  561. package/indicators/trendline.js.map +1 -1
  562. package/indicators/trendline.src.js +5 -5
  563. package/indicators/trix.js +4 -4
  564. package/indicators/trix.js.map +1 -1
  565. package/indicators/trix.src.js +8 -8
  566. package/indicators/volume-by-price.js +13 -13
  567. package/indicators/volume-by-price.js.map +1 -1
  568. package/indicators/volume-by-price.src.js +7 -8
  569. package/indicators/vwap.js +4 -4
  570. package/indicators/vwap.js.map +1 -1
  571. package/indicators/vwap.src.js +5 -5
  572. package/indicators/williams-r.js +4 -4
  573. package/indicators/williams-r.js.map +1 -1
  574. package/indicators/williams-r.src.js +7 -7
  575. package/indicators/wma.js +4 -4
  576. package/indicators/wma.js.map +1 -1
  577. package/indicators/wma.src.js +5 -5
  578. package/indicators/zigzag.js +4 -4
  579. package/indicators/zigzag.js.map +1 -1
  580. package/indicators/zigzag.src.js +6 -7
  581. package/modules/accessibility.d.ts +0 -35
  582. package/modules/accessibility.js +171 -168
  583. package/modules/accessibility.js.map +1 -1
  584. package/modules/accessibility.src.d.ts +0 -35
  585. package/modules/accessibility.src.js +369 -252
  586. package/modules/annotations-advanced.js +158 -136
  587. package/modules/annotations-advanced.js.map +1 -1
  588. package/modules/annotations-advanced.src.js +1929 -1263
  589. package/modules/annotations.js +105 -94
  590. package/modules/annotations.js.map +1 -1
  591. package/modules/annotations.src.js +1485 -1101
  592. package/modules/arrow-symbols.js +4 -4
  593. package/modules/arrow-symbols.js.map +1 -1
  594. package/modules/arrow-symbols.src.js +10 -12
  595. package/modules/boost-canvas.js +15 -15
  596. package/modules/boost-canvas.js.map +1 -1
  597. package/modules/boost-canvas.src.js +17 -17
  598. package/modules/boost.d.ts +4 -0
  599. package/modules/boost.js +77 -64
  600. package/modules/boost.js.map +1 -1
  601. package/modules/boost.src.d.ts +4 -0
  602. package/modules/boost.src.js +581 -33
  603. package/modules/broken-axis.js +10 -10
  604. package/modules/broken-axis.js.map +1 -1
  605. package/modules/broken-axis.src.js +4 -5
  606. package/modules/bullet.js +6 -6
  607. package/modules/bullet.js.map +1 -1
  608. package/modules/bullet.src.js +8 -8
  609. package/modules/coloraxis.js +22 -21
  610. package/modules/coloraxis.js.map +1 -1
  611. package/modules/coloraxis.src.js +67 -59
  612. package/modules/current-date-indicator.js +3 -3
  613. package/modules/current-date-indicator.js.map +1 -1
  614. package/modules/current-date-indicator.src.js +4 -5
  615. package/modules/cylinder.js +8 -8
  616. package/modules/cylinder.js.map +1 -1
  617. package/modules/cylinder.src.js +21 -23
  618. package/modules/data.d.ts +2 -2
  619. package/modules/data.js +32 -32
  620. package/modules/data.js.map +1 -1
  621. package/modules/data.src.d.ts +2 -2
  622. package/modules/data.src.js +26 -25
  623. package/modules/datagrouping.js +17 -17
  624. package/modules/datagrouping.js.map +1 -1
  625. package/modules/datagrouping.src.js +6 -7
  626. package/modules/debugger.js +5 -5
  627. package/modules/debugger.js.map +1 -1
  628. package/modules/debugger.src.js +13 -8
  629. package/modules/dependency-wheel.js +8 -8
  630. package/modules/dependency-wheel.js.map +1 -1
  631. package/modules/dependency-wheel.src.js +10 -10
  632. package/modules/dotplot.js +5 -5
  633. package/modules/dotplot.js.map +1 -1
  634. package/modules/dotplot.src.js +6 -14
  635. package/modules/drag-panes.js +10 -10
  636. package/modules/drag-panes.js.map +1 -1
  637. package/modules/drag-panes.src.js +4 -6
  638. package/modules/draggable-points.js +33 -33
  639. package/modules/draggable-points.js.map +1 -1
  640. package/modules/draggable-points.src.js +22 -35
  641. package/modules/drilldown.d.ts +1 -1
  642. package/modules/drilldown.js +23 -22
  643. package/modules/drilldown.js.map +1 -1
  644. package/modules/drilldown.src.d.ts +1 -1
  645. package/modules/drilldown.src.js +66 -53
  646. package/modules/dumbbell.d.ts +4 -0
  647. package/modules/dumbbell.js +24 -9
  648. package/modules/dumbbell.js.map +1 -1
  649. package/modules/dumbbell.src.d.ts +4 -0
  650. package/modules/dumbbell.src.js +1029 -104
  651. package/modules/export-data.d.ts +4 -29
  652. package/modules/export-data.js +21 -21
  653. package/modules/export-data.js.map +1 -1
  654. package/modules/export-data.src.d.ts +4 -29
  655. package/modules/export-data.src.js +155 -189
  656. package/modules/exporting.d.ts +2 -0
  657. package/modules/exporting.js +33 -33
  658. package/modules/exporting.js.map +1 -1
  659. package/modules/exporting.src.d.ts +2 -0
  660. package/modules/exporting.src.js +40 -30
  661. package/modules/full-screen.js +7 -7
  662. package/modules/full-screen.js.map +1 -1
  663. package/modules/full-screen.src.js +4 -3
  664. package/modules/funnel.js +9 -9
  665. package/modules/funnel.js.map +1 -1
  666. package/modules/funnel.src.js +14 -15
  667. package/modules/funnel3d.js +17 -17
  668. package/modules/funnel3d.js.map +1 -1
  669. package/modules/funnel3d.src.js +12 -14
  670. package/modules/gantt.js +194 -183
  671. package/modules/gantt.js.map +1 -1
  672. package/modules/gantt.src.js +2071 -1260
  673. package/modules/grid-axis.js +22 -19
  674. package/modules/grid-axis.js.map +1 -1
  675. package/modules/grid-axis.src.js +149 -43
  676. package/modules/heatmap.js +33 -32
  677. package/modules/heatmap.js.map +1 -1
  678. package/modules/heatmap.src.js +130 -114
  679. package/modules/histogram-bellcurve.js +10 -10
  680. package/modules/histogram-bellcurve.js.map +1 -1
  681. package/modules/histogram-bellcurve.src.js +57 -16
  682. package/modules/item-series.js +9 -9
  683. package/modules/item-series.js.map +1 -1
  684. package/modules/item-series.src.js +20 -13
  685. package/modules/lollipop.d.ts +20 -1
  686. package/modules/lollipop.js +26 -4
  687. package/modules/lollipop.js.map +1 -1
  688. package/modules/lollipop.src.d.ts +20 -1
  689. package/modules/lollipop.src.js +1452 -10
  690. package/modules/map.d.ts +2 -2
  691. package/modules/map.js +99 -98
  692. package/modules/map.js.map +1 -1
  693. package/modules/map.src.d.ts +2 -2
  694. package/modules/map.src.js +1442 -1326
  695. package/modules/marker-clusters.js +35 -36
  696. package/modules/marker-clusters.js.map +1 -1
  697. package/modules/marker-clusters.src.js +31 -51
  698. package/modules/networkgraph.js +47 -46
  699. package/modules/networkgraph.js.map +1 -1
  700. package/modules/networkgraph.src.js +98 -81
  701. package/modules/no-data-to-display.js +4 -4
  702. package/modules/no-data-to-display.js.map +1 -1
  703. package/modules/no-data-to-display.src.js +17 -13
  704. package/modules/offline-exporting.js +15 -15
  705. package/modules/offline-exporting.js.map +1 -1
  706. package/modules/offline-exporting.src.js +63 -46
  707. package/modules/oldie-polyfills.js +6 -6
  708. package/modules/oldie-polyfills.js.map +1 -1
  709. package/modules/oldie-polyfills.src.js +7 -2
  710. package/modules/oldie.js +52 -26
  711. package/modules/oldie.js.map +1 -1
  712. package/modules/oldie.src.js +1411 -34
  713. package/modules/organization.js +11 -11
  714. package/modules/organization.js.map +1 -1
  715. package/modules/organization.src.js +7 -6
  716. package/modules/overlapping-datalabels.js +1 -1
  717. package/modules/overlapping-datalabels.src.js +1 -1
  718. package/modules/parallel-coordinates.js +11 -11
  719. package/modules/parallel-coordinates.js.map +1 -1
  720. package/modules/parallel-coordinates.src.js +144 -136
  721. package/modules/pareto.js +5 -5
  722. package/modules/pareto.js.map +1 -1
  723. package/modules/pareto.src.js +8 -9
  724. package/modules/pathfinder.js +31 -27
  725. package/modules/pathfinder.js.map +1 -1
  726. package/modules/pathfinder.src.js +1589 -985
  727. package/modules/pattern-fill.js +13 -13
  728. package/modules/pattern-fill.js.map +1 -1
  729. package/modules/pattern-fill.src.js +25 -21
  730. package/modules/price-indicator.js +4 -4
  731. package/modules/price-indicator.js.map +1 -1
  732. package/modules/price-indicator.src.js +5 -3
  733. package/modules/pyramid3d.js +3 -3
  734. package/modules/pyramid3d.js.map +1 -1
  735. package/modules/pyramid3d.src.js +4 -5
  736. package/modules/sankey.js +25 -26
  737. package/modules/sankey.js.map +1 -1
  738. package/modules/sankey.src.js +39 -36
  739. package/modules/series-label.js +17 -17
  740. package/modules/series-label.js.map +1 -1
  741. package/modules/series-label.src.js +17 -17
  742. package/modules/solid-gauge.js +8 -8
  743. package/modules/solid-gauge.js.map +1 -1
  744. package/modules/solid-gauge.src.js +123 -91
  745. package/modules/sonification.d.ts +33 -16
  746. package/modules/sonification.js +55 -49
  747. package/modules/sonification.js.map +1 -1
  748. package/modules/sonification.src.d.ts +33 -16
  749. package/modules/sonification.src.js +361 -115
  750. package/modules/static-scale.js +4 -4
  751. package/modules/static-scale.js.map +1 -1
  752. package/modules/static-scale.src.js +3 -4
  753. package/modules/stock-tools.d.ts +23 -1
  754. package/modules/stock-tools.js +150 -84
  755. package/modules/stock-tools.js.map +1 -1
  756. package/modules/stock-tools.src.d.ts +23 -1
  757. package/modules/stock-tools.src.js +3792 -44
  758. package/modules/stock.js +161 -158
  759. package/modules/stock.js.map +1 -1
  760. package/modules/stock.src.js +456 -412
  761. package/modules/streamgraph.js +2 -2
  762. package/modules/streamgraph.js.map +1 -1
  763. package/modules/streamgraph.src.js +42 -5
  764. package/modules/sunburst.js +51 -49
  765. package/modules/sunburst.js.map +1 -1
  766. package/modules/sunburst.src.js +152 -52
  767. package/modules/tilemap.js +14 -14
  768. package/modules/tilemap.js.map +1 -1
  769. package/modules/tilemap.src.js +12 -11
  770. package/modules/timeline.js +14 -14
  771. package/modules/timeline.js.map +1 -1
  772. package/modules/timeline.src.js +19 -18
  773. package/modules/treegrid.js +57 -52
  774. package/modules/treegrid.js.map +1 -1
  775. package/modules/treegrid.src.js +236 -60
  776. package/modules/treemap.js +35 -34
  777. package/modules/treemap.js.map +1 -1
  778. package/modules/treemap.src.js +213 -118
  779. package/modules/variable-pie.js +8 -8
  780. package/modules/variable-pie.js.map +1 -1
  781. package/modules/variable-pie.src.js +12 -10
  782. package/modules/variwide.js +8 -8
  783. package/modules/variwide.js.map +1 -1
  784. package/modules/variwide.src.js +8 -8
  785. package/modules/vector.js +6 -6
  786. package/modules/vector.js.map +1 -1
  787. package/modules/vector.src.js +9 -9
  788. package/modules/venn.js +26 -26
  789. package/modules/venn.js.map +1 -1
  790. package/modules/venn.src.js +49 -37
  791. package/modules/windbarb.js +11 -11
  792. package/modules/windbarb.js.map +1 -1
  793. package/modules/windbarb.src.js +11 -12
  794. package/modules/wordcloud.js +19 -19
  795. package/modules/wordcloud.js.map +1 -1
  796. package/modules/wordcloud.src.js +26 -18
  797. package/modules/xrange.js +12 -12
  798. package/modules/xrange.js.map +1 -1
  799. package/modules/xrange.src.js +19 -20
  800. package/package.json +1 -1
  801. package/themes/avocado.js +3 -3
  802. package/themes/avocado.js.map +1 -1
  803. package/themes/avocado.src.js +5 -4
  804. package/themes/dark-blue.js +3 -3
  805. package/themes/dark-blue.js.map +1 -1
  806. package/themes/dark-blue.src.js +4 -3
  807. package/themes/dark-green.js +3 -3
  808. package/themes/dark-green.js.map +1 -1
  809. package/themes/dark-green.src.js +4 -3
  810. package/themes/dark-unica.js +7 -7
  811. package/themes/dark-unica.js.map +1 -1
  812. package/themes/dark-unica.src.js +6 -6
  813. package/themes/gray.js +3 -3
  814. package/themes/gray.js.map +1 -1
  815. package/themes/gray.src.js +5 -4
  816. package/themes/grid-light.js +4 -4
  817. package/themes/grid-light.js.map +1 -1
  818. package/themes/grid-light.src.js +4 -3
  819. package/themes/grid.js +3 -3
  820. package/themes/grid.js.map +1 -1
  821. package/themes/grid.src.js +4 -3
  822. package/themes/high-contrast-dark.js +6 -6
  823. package/themes/high-contrast-dark.js.map +1 -1
  824. package/themes/high-contrast-dark.src.js +5 -4
  825. package/themes/high-contrast-light.js +3 -3
  826. package/themes/high-contrast-light.js.map +1 -1
  827. package/themes/high-contrast-light.src.js +4 -3
  828. package/themes/sand-signika.js +5 -5
  829. package/themes/sand-signika.js.map +1 -1
  830. package/themes/sand-signika.src.js +4 -3
  831. package/themes/skies.js +4 -4
  832. package/themes/skies.js.map +1 -1
  833. package/themes/skies.src.js +5 -4
  834. package/themes/sunset.js +3 -3
  835. package/themes/sunset.js.map +1 -1
  836. package/themes/sunset.src.js +5 -4
  837. package/es-modules/annotations/controllable/ControllableCircle.js +0 -79
  838. package/es-modules/annotations/controllable/ControllableImage.js +0 -79
  839. package/es-modules/annotations/controllable/ControllableRect.js +0 -82
  840. package/es-modules/annotations/types/InfinityLine.js +0 -110
  841. package/es-modules/masters/modules/map-parser.src.js +0 -12
  842. package/es-modules/modules/accessibility/components/InfoRegionsComponent/AnnotationsA11y.js +0 -80
  843. package/es-modules/modules/accessibility/components/InfoRegionsComponent/InfoRegionsComponent.js +0 -499
  844. package/es-modules/modules/accessibility/components/SeriesComponent/forcedMarkers.js +0 -147
  845. package/es-modules/modules/map-parser.src.js +0 -365
  846. package/es-modules/modules/sonification/options.js +0 -36
  847. package/es-modules/parts-3d/Chart.js +0 -1577
  848. package/es-modules/parts-3d/VMLRenderer.js +0 -35
  849. package/es-modules/parts-gantt/PathfinderAlgorithms.js +0 -656
  850. package/modules/map-parser.d.ts +0 -17
  851. package/modules/map-parser.js +0 -17
  852. package/modules/map-parser.js.map +0 -1
  853. package/modules/map-parser.src.d.ts +0 -17
  854. package/modules/map-parser.src.js +0 -421
package/highcharts-3d.js CHANGED
@@ -1,95 +1,93 @@
1
1
  /*
2
- Highcharts JS v8.1.0 (2020-05-05)
2
+ Highcharts JS v8.2.2 (2020-10-22)
3
3
 
4
4
  3D features for Highcharts JS
5
5
 
6
6
  License: www.highcharts.com/license
7
7
  */
8
- (function(g){"object"===typeof module&&module.exports?(g["default"]=g,module.exports=g):"function"===typeof define&&define.amd?define("highcharts/highcharts-3d",["highcharts"],function(y){g(y);g.Highcharts=y;return g}):g("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(g){function y(r,c,p,x){r.hasOwnProperty(c)||(r[c]=x.apply(null,p))}g=g?g._modules:{};y(g,"parts-3d/Math.js",[g["parts/Globals.js"],g["parts/Utilities.js"]],function(r,c){var p=c.pick,x=r.deg2rad;r.perspective3D=function(p,
9
- c,e){c=0<e&&e<Number.POSITIVE_INFINITY?e/(p.z+c.z+e):1;return{x:p.x*c,y:p.y*c}};r.perspective=function(m,c,e,A){var w=c.options.chart.options3d,t=p(A,e?c.inverted:!1),q={x:c.plotWidth/2,y:c.plotHeight/2,z:w.depth/2,vd:p(w.depth,1)*p(w.viewDistance,0)},z=c.scale3d||1;A=x*w.beta*(t?-1:1);w=x*w.alpha*(t?-1:1);var C=Math.cos(w),n=Math.cos(-A),b=Math.sin(w),h=Math.sin(-A);e||(q.x+=c.plotLeft,q.y+=c.plotTop);return m.map(function(a){var d=(t?a.y:a.x)-q.x;var l=(t?a.x:a.y)-q.y;a=(a.z||0)-q.z;d={x:n*d-h*
10
- a,y:-b*h*d+C*l-n*b*a,z:C*h*d+b*l+C*n*a};l=r.perspective3D(d,q,q.vd);l.x=l.x*z+q.x;l.y=l.y*z+q.y;l.z=d.z*z+q.z;return{x:t?l.y:l.x,y:t?l.x:l.y,z:l.z}})};r.pointCameraDistance=function(m,c){var e=c.options.chart.options3d,r=c.plotWidth/2;c=c.plotHeight/2;e=p(e.depth,1)*p(e.viewDistance,0)+e.depth;return Math.sqrt(Math.pow(r-p(m.plotX,m.x),2)+Math.pow(c-p(m.plotY,m.y),2)+Math.pow(e-p(m.plotZ,m.z),2))};r.shapeArea=function(p){var c=0,e;for(e=0;e<p.length;e++){var m=(e+1)%p.length;c+=p[e].x*p[m].y-p[m].x*
11
- p[e].y}return c/2};r.shapeArea3d=function(p,c,e){return r.shapeArea(r.perspective(p,c,e))}});y(g,"parts-3d/SVGRenderer.js",[g["parts/Globals.js"],g["parts/Utilities.js"]],function(r,c){function p(a,b,f,F,h,D,E,l){var k=[],u=D-h;return D>h&&D-h>Math.PI/2+.0001?(k=k.concat(p(a,b,f,F,h,h+Math.PI/2,E,l)),k=k.concat(p(a,b,f,F,h+Math.PI/2,D,E,l))):D<h&&h-D>Math.PI/2+.0001?(k=k.concat(p(a,b,f,F,h,h-Math.PI/2,E,l)),k=k.concat(p(a,b,f,F,h-Math.PI/2,D,E,l))):[["C",a+f*Math.cos(h)-f*d*u*Math.sin(h)+E,b+F*Math.sin(h)+
12
- F*d*u*Math.cos(h)+l,a+f*Math.cos(D)+f*d*u*Math.sin(D)+E,b+F*Math.sin(D)-F*d*u*Math.cos(D)+l,a+f*Math.cos(D)+E,b+F*Math.sin(D)+l]]}var x=c.animObject,m=c.defined,g=c.extend,e=c.merge,A=c.objectEach,w=c.pick,t=Math.cos,q=Math.PI,z=Math.sin,C=r.charts,n=r.color,b=r.deg2rad,h=r.perspective,a=r.SVGElement;c=r.SVGRenderer;var d=4*(Math.sqrt(2)-1)/3/(q/2);c.prototype.toLinePath=function(a,b){var f=[];a.forEach(function(a){f.push(["L",a.x,a.y])});a.length&&(f[0][0]="M",b&&f.push(["Z"]));return f};c.prototype.toLineSegments=
13
- function(a){var b=[],f=!0;a.forEach(function(a){b.push(f?["M",a.x,a.y]:["L",a.x,a.y]);f=!f});return b};c.prototype.face3d=function(b){var k=this,f=this.createElement("path");f.vertexes=[];f.insidePlotArea=!1;f.enabled=!0;f.attr=function(f){if("object"===typeof f&&(m(f.enabled)||m(f.vertexes)||m(f.insidePlotArea))){this.enabled=w(f.enabled,this.enabled);this.vertexes=w(f.vertexes,this.vertexes);this.insidePlotArea=w(f.insidePlotArea,this.insidePlotArea);delete f.enabled;delete f.vertexes;delete f.insidePlotArea;
14
- var b=h(this.vertexes,C[k.chartIndex],this.insidePlotArea),d=k.toLinePath(b,!0);b=r.shapeArea(b);b=this.enabled&&0<b?"visible":"hidden";f.d=d;f.visibility=b}return a.prototype.attr.apply(this,arguments)};f.animate=function(f){if("object"===typeof f&&(m(f.enabled)||m(f.vertexes)||m(f.insidePlotArea))){this.enabled=w(f.enabled,this.enabled);this.vertexes=w(f.vertexes,this.vertexes);this.insidePlotArea=w(f.insidePlotArea,this.insidePlotArea);delete f.enabled;delete f.vertexes;delete f.insidePlotArea;
15
- var b=h(this.vertexes,C[k.chartIndex],this.insidePlotArea),d=k.toLinePath(b,!0);b=r.shapeArea(b);b=this.enabled&&0<b?"visible":"hidden";f.d=d;this.attr("visibility",b)}return a.prototype.animate.apply(this,arguments)};return f.attr(b)};c.prototype.polyhedron=function(b){var d=this,f=this.g(),k=f.destroy;this.styledMode||f.attr({"stroke-linejoin":"round"});f.faces=[];f.destroy=function(){for(var a=0;a<f.faces.length;a++)f.faces[a].destroy();return k.call(this)};f.attr=function(b,k,h,l){if("object"===
16
- typeof b&&m(b.faces)){for(;f.faces.length>b.faces.length;)f.faces.pop().destroy();for(;f.faces.length<b.faces.length;)f.faces.push(d.face3d().add(f));for(var u=0;u<b.faces.length;u++)d.styledMode&&delete b.faces[u].fill,f.faces[u].attr(b.faces[u],null,h,l);delete b.faces}return a.prototype.attr.apply(this,arguments)};f.animate=function(b,k,h){if(b&&b.faces){for(;f.faces.length>b.faces.length;)f.faces.pop().destroy();for(;f.faces.length<b.faces.length;)f.faces.push(d.face3d().add(f));for(var u=0;u<
17
- b.faces.length;u++)f.faces[u].animate(b.faces[u],k,h);delete b.faces}return a.prototype.animate.apply(this,arguments)};return f.attr(b)};var l={initArgs:function(a){var b=this,f=b.renderer,d=f[b.pathType+"Path"](a),k=d.zIndexes;b.parts.forEach(function(a){b[a]=f.path(d[a]).attr({"class":"highcharts-3d-"+a,zIndex:k[a]||0}).add(b)});b.attr({"stroke-linejoin":"round",zIndex:k.group});b.originalDestroy=b.destroy;b.destroy=b.destroyParts;b.forcedSides=d.forcedSides},singleSetterForParts:function(a,b,f,
18
- d,h,l){var k={};d=[null,null,d||"attr",h,l];var u=f&&f.zIndexes;f?(u&&u.group&&this.attr({zIndex:u.group}),A(f,function(b,d){k[d]={};k[d][a]=b;u&&(k[d].zIndex=f.zIndexes[d]||0)}),d[1]=k):(k[a]=b,d[0]=k);return this.processParts.apply(this,d)},processParts:function(a,b,f,d,h){var k=this;k.parts.forEach(function(l){b&&(a=w(b[l],!1));if(!1!==a)k[l][f](a,d,h)});return k},destroyParts:function(){this.processParts(null,null,"destroy");return this.originalDestroy()}};var v=e(l,{parts:["front","top","side"],
19
- pathType:"cuboid",attr:function(b,d,f,h){if("string"===typeof b&&"undefined"!==typeof d){var k=b;b={};b[k]=d}return b.shapeArgs||m(b.x)?this.singleSetterForParts("d",null,this.renderer[this.pathType+"Path"](b.shapeArgs||b)):a.prototype.attr.call(this,b,void 0,f,h)},animate:function(b,d,f){if(m(b.x)&&m(b.y)){b=this.renderer[this.pathType+"Path"](b);var k=b.forcedSides;this.singleSetterForParts("d",null,b,"animate",d,f);this.attr({zIndex:b.zIndexes.group});k!==this.forcedSides&&(this.forcedSides=k,
20
- v.fillSetter.call(this,this.fill))}else a.prototype.animate.call(this,b,d,f);return this},fillSetter:function(a){this.forcedSides=this.forcedSides||[];this.singleSetterForParts("fill",null,{front:a,top:n(a).brighten(0<=this.forcedSides.indexOf("top")?0:.1).get(),side:n(a).brighten(0<=this.forcedSides.indexOf("side")?0:-.1).get()});this.color=this.fill=a;return this}});c.prototype.elements3d={base:l,cuboid:v};c.prototype.element3d=function(a,b){var f=this.g();g(f,this.elements3d[a]);f.initArgs(b);
21
- return f};c.prototype.cuboid=function(a){return this.element3d("cuboid",a)};r.SVGRenderer.prototype.cuboidPath=function(a){function b(a){return 0===E&&1<a&&6>a?{x:e[a].x,y:e[a].y+10,z:e[a].z}:e[0].x===e[7].x&&4<=a?{x:e[a].x+10,y:e[a].y,z:e[a].z}:0===n&&2>a||5<a?{x:e[a].x,y:e[a].y,z:e[a].z+10}:e[a]}function f(a){return e[a]}var d=a.x,k=a.y,l=a.z||0,E=a.height,v=a.width,n=a.depth,p=C[this.chartIndex],c=p.options.chart.options3d.alpha,q=0,e=[{x:d,y:k,z:l},{x:d+v,y:k,z:l},{x:d+v,y:k+E,z:l},{x:d,y:k+E,
22
- z:l},{x:d,y:k+E,z:l+n},{x:d+v,y:k+E,z:l+n},{x:d+v,y:k,z:l+n},{x:d,y:k,z:l+n}],z=[];e=h(e,p,a.insidePlotArea);var m=function(a,d,k){var h=[[],-1],l=a.map(f),u=d.map(f);a=a.map(b);d=d.map(b);0>r.shapeArea(l)?h=[l,0]:0>r.shapeArea(u)?h=[u,1]:k&&(z.push(k),h=0>r.shapeArea(a)?[l,0]:0>r.shapeArea(d)?[u,1]:[l,0]);return h};var t=m([3,2,1,0],[7,6,5,4],"front");a=t[0];var w=t[1];t=m([1,6,7,0],[4,5,2,3],"top");v=t[0];var g=t[1];t=m([1,2,5,6],[0,7,4,3],"side");m=t[0];t=t[1];1===t?q+=1E6*(p.plotWidth-d):t||(q+=
23
- 1E6*d);q+=10*(!g||0<=c&&180>=c||360>c&&357.5<c?p.plotHeight-k:10+k);1===w?q+=100*l:w||(q+=100*(1E3-l));return{front:this.toLinePath(a,!0),top:this.toLinePath(v,!0),side:this.toLinePath(m,!0),zIndexes:{group:Math.round(q)},forcedSides:z,isFront:w,isTop:g}};r.SVGRenderer.prototype.arc3d=function(d){function h(a){var b=!1,f={},d;a=e(a);for(d in a)-1!==l.indexOf(d)&&(f[d]=a[d],delete a[d],b=!0);return b?f:!1}var f=this.g(),k=f.renderer,l="x y r innerR start end depth".split(" ");d=e(d);d.alpha=(d.alpha||
24
- 0)*b;d.beta=(d.beta||0)*b;f.top=k.path();f.side1=k.path();f.side2=k.path();f.inn=k.path();f.out=k.path();f.onAdd=function(){var a=f.parentGroup,b=f.attr("class");f.top.add(f);["out","inn","side1","side2"].forEach(function(d){f[d].attr({"class":b+" highcharts-3d-side"}).add(a)})};["addClass","removeClass"].forEach(function(a){f[a]=function(){var b=arguments;["top","out","inn","side1","side2"].forEach(function(d){f[d][a].apply(f[d],b)})}});f.setPaths=function(a){var b=f.renderer.arc3dPath(a),d=100*
25
- b.zTop;f.attribs=a;f.top.attr({d:b.top,zIndex:b.zTop});f.inn.attr({d:b.inn,zIndex:b.zInn});f.out.attr({d:b.out,zIndex:b.zOut});f.side1.attr({d:b.side1,zIndex:b.zSide1});f.side2.attr({d:b.side2,zIndex:b.zSide2});f.zIndex=d;f.attr({zIndex:d});a.center&&(f.top.setRadialReference(a.center),delete a.center)};f.setPaths(d);f.fillSetter=function(a){var b=n(a).brighten(-.1).get();this.fill=a;this.side1.attr({fill:b});this.side2.attr({fill:b});this.inn.attr({fill:b});this.out.attr({fill:b});this.top.attr({fill:a});
26
- return this};["opacity","translateX","translateY","visibility"].forEach(function(a){f[a+"Setter"]=function(a,b){f[b]=a;["out","inn","side1","side2","top"].forEach(function(d){f[d].attr(b,a)})}});f.attr=function(b){var d;"object"===typeof b&&(d=h(b))&&(g(f.attribs,d),f.setPaths(f.attribs));return a.prototype.attr.apply(f,arguments)};f.animate=function(b,d,k){var l=this.attribs,u="data-"+Math.random().toString(26).substring(2,9);delete b.center;delete b.z;delete b.alpha;delete b.beta;var v=x(w(d,this.renderer.globalAnimation));
27
- if(v.duration){var F=h(b);f[u]=0;b[u]=1;f[u+"Setter"]=r.noop;F&&(v.step=function(a,b){function d(a){return l[a]+(w(F[a],l[a])-l[a])*b.pos}b.prop===u&&b.elem.setPaths(e(l,{x:d("x"),y:d("y"),r:d("r"),innerR:d("innerR"),start:d("start"),end:d("end"),depth:d("depth")}))});d=v}return a.prototype.animate.call(this,b,d,k)};f.destroy=function(){this.top.destroy();this.out.destroy();this.inn.destroy();this.side1.destroy();this.side2.destroy();return a.prototype.destroy.call(this)};f.hide=function(){this.top.hide();
28
- this.out.hide();this.inn.hide();this.side1.hide();this.side2.hide()};f.show=function(a){this.top.show(a);this.out.show(a);this.inn.show(a);this.side1.show(a);this.side2.show(a)};return f};c.prototype.arc3dPath=function(a){function b(a){a%=2*Math.PI;a>Math.PI&&(a=2*Math.PI-a);return a}var d=a.x,h=a.y,l=a.start,k=a.end-.00001,v=a.r,n=a.innerR||0,c=a.depth||0,e=a.alpha,m=a.beta,w=Math.cos(l),C=Math.sin(l);a=Math.cos(k);var r=Math.sin(k),g=v*Math.cos(m);v*=Math.cos(e);var x=n*Math.cos(m),A=n*Math.cos(e);
29
- n=c*Math.sin(m);var B=c*Math.sin(e);c=[["M",d+g*w,h+v*C]];c=c.concat(p(d,h,g,v,l,k,0,0));c.push(["L",d+x*a,h+A*r]);c=c.concat(p(d,h,x,A,k,l,0,0));c.push(["Z"]);var H=0<m?Math.PI/2:0;m=0<e?0:Math.PI/2;H=l>-H?l:k>-H?-H:l;var y=k<q-m?k:l<q-m?q-m:k,G=2*q-m;e=[["M",d+g*t(H),h+v*z(H)]];e=e.concat(p(d,h,g,v,H,y,0,0));k>G&&l<G?(e.push(["L",d+g*t(y)+n,h+v*z(y)+B]),e=e.concat(p(d,h,g,v,y,G,n,B)),e.push(["L",d+g*t(G),h+v*z(G)]),e=e.concat(p(d,h,g,v,G,k,0,0)),e.push(["L",d+g*t(k)+n,h+v*z(k)+B]),e=e.concat(p(d,
30
- h,g,v,k,G,n,B)),e.push(["L",d+g*t(G),h+v*z(G)]),e=e.concat(p(d,h,g,v,G,y,0,0))):k>q-m&&l<q-m&&(e.push(["L",d+g*Math.cos(y)+n,h+v*Math.sin(y)+B]),e=e.concat(p(d,h,g,v,y,k,n,B)),e.push(["L",d+g*Math.cos(k),h+v*Math.sin(k)]),e=e.concat(p(d,h,g,v,k,y,0,0)));e.push(["L",d+g*Math.cos(y)+n,h+v*Math.sin(y)+B]);e=e.concat(p(d,h,g,v,y,H,n,B));e.push(["Z"]);m=[["M",d+x*w,h+A*C]];m=m.concat(p(d,h,x,A,l,k,0,0));m.push(["L",d+x*Math.cos(k)+n,h+A*Math.sin(k)+B]);m=m.concat(p(d,h,x,A,k,l,n,B));m.push(["Z"]);w=[["M",
31
- d+g*w,h+v*C],["L",d+g*w+n,h+v*C+B],["L",d+x*w+n,h+A*C+B],["L",d+x*w,h+A*C],["Z"]];d=[["M",d+g*a,h+v*r],["L",d+g*a+n,h+v*r+B],["L",d+x*a+n,h+A*r+B],["L",d+x*a,h+A*r],["Z"]];r=Math.atan2(B,-n);h=Math.abs(k+r);a=Math.abs(l+r);l=Math.abs((l+k)/2+r);h=b(h);a=b(a);l=b(l);l*=1E5;k=1E5*a;h*=1E5;return{top:c,zTop:1E5*Math.PI+1,out:e,zOut:Math.max(l,k,h),inn:m,zInn:Math.max(l,k,h),side1:w,zSide1:.99*h,side2:d,zSide2:.99*k}}});y(g,"parts-3d/Tick3D.js",[g["parts/Utilities.js"]],function(g){var c=g.addEvent,p=
32
- g.extend,r=g.wrap;return function(){function m(){}m.compose=function(p){c(p,"afterGetLabelPosition",m.onAfterGetLabelPosition);r(p.prototype,"getMarkPath",m.wrapGetMarkPath)};m.onAfterGetLabelPosition=function(c){var e=this.axis.axis3D;e&&p(c.pos,e.fix3dPosition(c.pos))};m.wrapGetMarkPath=function(c){var e=this.axis.axis3D,p=c.apply(this,[].slice.call(arguments,1));if(e){var m=p[0],t=p[1];if("M"===m[0]&&"L"===t[0])return e=[e.fix3dPosition({x:m[1],y:m[2],z:0}),e.fix3dPosition({x:t[1],y:t[2],z:0})],
33
- this.axis.chart.renderer.toLineSegments(e)}return p};return m}()});y(g,"parts-3d/Axis3D.js",[g["parts/Globals.js"],g["parts/Tick.js"],g["parts-3d/Tick3D.js"],g["parts/Utilities.js"]],function(g,c,p,x){var m=x.addEvent,r=x.merge,e=x.pick,A=x.wrap,w=g.deg2rad,t=g.perspective,q=g.perspective3D,z=g.shapeArea,C=function(){function n(b){this.axis=b}n.prototype.fix3dPosition=function(b,h){var a=this.axis,d=a.chart;if("colorAxis"===a.coll||!d.is3d())return b;var l=w*d.options.chart.options3d.alpha,v=w*d.options.chart.options3d.beta,
34
- k=e(h&&a.options.title.position3d,a.options.labels.position3d);h=e(h&&a.options.title.skew3d,a.options.labels.skew3d);var u=d.frame3d,f=d.plotLeft,n=d.plotWidth+f,c=d.plotTop,p=d.plotHeight+c;d=!1;var m=0,q=0,g={x:0,y:1,z:0};b=a.axis3D.swapZ({x:b.x,y:b.y,z:0});if(a.isZAxis)if(a.opposite){if(null===u.axes.z.top)return{};q=b.y-c;b.x=u.axes.z.top.x;b.y=u.axes.z.top.y;f=u.axes.z.top.xDir;d=!u.top.frontFacing}else{if(null===u.axes.z.bottom)return{};q=b.y-p;b.x=u.axes.z.bottom.x;b.y=u.axes.z.bottom.y;f=
35
- u.axes.z.bottom.xDir;d=!u.bottom.frontFacing}else if(a.horiz)if(a.opposite){if(null===u.axes.x.top)return{};q=b.y-c;b.y=u.axes.x.top.y;b.z=u.axes.x.top.z;f=u.axes.x.top.xDir;d=!u.top.frontFacing}else{if(null===u.axes.x.bottom)return{};q=b.y-p;b.y=u.axes.x.bottom.y;b.z=u.axes.x.bottom.z;f=u.axes.x.bottom.xDir;d=!u.bottom.frontFacing}else if(a.opposite){if(null===u.axes.y.right)return{};m=b.x-n;b.x=u.axes.y.right.x;b.z=u.axes.y.right.z;f=u.axes.y.right.xDir;f={x:f.z,y:f.y,z:-f.x}}else{if(null===u.axes.y.left)return{};
36
- m=b.x-f;b.x=u.axes.y.left.x;b.z=u.axes.y.left.z;f=u.axes.y.left.xDir}"chart"!==k&&("flap"===k?a.horiz?(v=Math.sin(l),l=Math.cos(l),a.opposite&&(v=-v),d&&(v=-v),g={x:f.z*v,y:l,z:-f.x*v}):f={x:Math.cos(v),y:0,z:Math.sin(v)}:"ortho"===k?a.horiz?(g=Math.cos(l),k=Math.sin(v)*g,l=-Math.sin(l),v=-g*Math.cos(v),g={x:f.y*v-f.z*l,y:f.z*k-f.x*v,z:f.x*l-f.y*k},l=1/Math.sqrt(g.x*g.x+g.y*g.y+g.z*g.z),d&&(l=-l),g={x:l*g.x,y:l*g.y,z:l*g.z}):f={x:Math.cos(v),y:0,z:Math.sin(v)}:a.horiz?g={x:Math.sin(v)*Math.sin(l),
37
- y:Math.cos(l),z:-Math.cos(v)*Math.sin(l)}:f={x:Math.cos(v),y:0,z:Math.sin(v)});b.x+=m*f.x+q*g.x;b.y+=m*f.y+q*g.y;b.z+=m*f.z+q*g.z;d=t([b],a.chart)[0];h&&(0>z(t([b,{x:b.x+f.x,y:b.y+f.y,z:b.z+f.z},{x:b.x+g.x,y:b.y+g.y,z:b.z+g.z}],a.chart))&&(f={x:-f.x,y:-f.y,z:-f.z}),b=t([{x:b.x,y:b.y,z:b.z},{x:b.x+f.x,y:b.y+f.y,z:b.z+f.z},{x:b.x+g.x,y:b.y+g.y,z:b.z+g.z}],a.chart),d.matrix=[b[1].x-b[0].x,b[1].y-b[0].y,b[2].x-b[0].x,b[2].y-b[0].y,d.x,d.y],d.matrix[4]-=d.x*d.matrix[0]+d.y*d.matrix[2],d.matrix[5]-=d.x*
38
- d.matrix[1]+d.y*d.matrix[3]);return d};n.prototype.swapZ=function(b,h){var a=this.axis;return a.isZAxis?(h=h?0:a.chart.plotLeft,{x:h+b.z,y:b.y,z:b.x-h}):b};return n}();return function(){function n(){}n.compose=function(b){r(!0,b.defaultOptions,n.defaultOptions);b.keepProps.push("axis3D");m(b,"init",n.onInit);m(b,"afterSetOptions",n.onAfterSetOptions);m(b,"drawCrosshair",n.onDrawCrosshair);m(b,"destroy",n.onDestroy);b=b.prototype;A(b,"getLinePath",n.wrapGetLinePath);A(b,"getPlotBandPath",n.wrapGetPlotBandPath);
39
- A(b,"getPlotLinePath",n.wrapGetPlotLinePath);A(b,"getSlotWidth",n.wrapGetSlotWidth);A(b,"getTitlePosition",n.wrapGetTitlePosition);p.compose(c)};n.onAfterSetOptions=function(){var b=this.chart,h=this.options;b.is3d&&b.is3d()&&"colorAxis"!==this.coll&&(h.tickWidth=e(h.tickWidth,0),h.gridLineWidth=e(h.gridLineWidth,1))};n.onDestroy=function(){["backFrame","bottomFrame","sideFrame"].forEach(function(b){this[b]&&(this[b]=this[b].destroy())},this)};n.onDrawCrosshair=function(b){this.chart.is3d()&&"colorAxis"!==
40
- this.coll&&b.point&&(b.point.crosshairPos=this.isXAxis?b.point.axisXpos:this.len-b.point.axisYpos)};n.onInit=function(){this.axis3D||(this.axis3D=new C(this))};n.wrapGetLinePath=function(b){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:b.apply(this,[].slice.call(arguments,1))};n.wrapGetPlotBandPath=function(b){if(!this.chart.is3d()||"colorAxis"===this.coll)return b.apply(this,[].slice.call(arguments,1));var h=arguments,a=h[2],d=[];h=this.getPlotLinePath({value:h[1]});a=this.getPlotLinePath({value:a});
41
- if(h&&a)for(var l=0;l<h.length;l+=2){var v=h[l],k=h[l+1],u=a[l],f=a[l+1];"M"===v[0]&&"L"===k[0]&&"M"===u[0]&&"L"===f[0]&&d.push(v,k,f,["L",u[1],u[2]],["Z"])}return d};n.wrapGetPlotLinePath=function(b){var h=this.axis3D,a=this.chart,d=b.apply(this,[].slice.call(arguments,1));if(!a.is3d()||"colorAxis"===this.coll||null===d)return d;var l=a.options.chart.options3d,v=this.isZAxis?a.plotWidth:l.depth;l=a.frame3d;var k=d[0],u=d[1];d=[];"M"===k[0]&&"L"===u[0]&&(h=[h.swapZ({x:k[1],y:k[2],z:0}),h.swapZ({x:k[1],
42
- y:k[2],z:v}),h.swapZ({x:u[1],y:u[2],z:0}),h.swapZ({x:u[1],y:u[2],z:v})],this.horiz?(this.isZAxis?(l.left.visible&&d.push(h[0],h[2]),l.right.visible&&d.push(h[1],h[3])):(l.front.visible&&d.push(h[0],h[2]),l.back.visible&&d.push(h[1],h[3])),l.top.visible&&d.push(h[0],h[1]),l.bottom.visible&&d.push(h[2],h[3])):(l.front.visible&&d.push(h[0],h[2]),l.back.visible&&d.push(h[1],h[3]),l.left.visible&&d.push(h[0],h[1]),l.right.visible&&d.push(h[2],h[3])),d=t(d,this.chart,!1));return a.renderer.toLineSegments(d)};
43
- n.wrapGetSlotWidth=function(b,h){var a=this.chart,d=this.ticks,l=this.gridGroup;if(this.categories&&a.frameShapes&&a.is3d()&&l&&h&&h.label){l=l.element.childNodes[0].getBBox();var v=a.frameShapes.left.getBBox(),k=a.options.chart.options3d;a={x:a.plotWidth/2,y:a.plotHeight/2,z:k.depth/2,vd:e(k.depth,1)*e(k.viewDistance,0)};var u,f;k=h.pos;var n=d[k-1];d=d[k+1];0!==k&&n&&n.label.xy&&(u=q({x:n.label.xy.x,y:n.label.xy.y,z:null},a,a.vd));d&&d.label.xy&&(f=q({x:d.label.xy.x,y:d.label.xy.y,z:null},a,a.vd));
44
- d={x:h.label.xy.x,y:h.label.xy.y,z:null};d=q(d,a,a.vd);return Math.abs(u?d.x-u.x:f?f.x-d.x:l.x-v.x)}return b.apply(this,[].slice.call(arguments,1))};n.wrapGetTitlePosition=function(b){var h=b.apply(this,[].slice.call(arguments,1));return this.axis3D?this.axis3D.fix3dPosition(h,!0):h};n.defaultOptions={labels:{position3d:"offset",skew3d:!1},title:{position3d:null,skew3d:null}};return n}()});y(g,"parts-3d/ZAxis.js",[g["parts/Axis.js"],g["parts/Utilities.js"]],function(g,c){var p=this&&this.__extends||
45
- function(){var e=function(c,g){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var b in n)n.hasOwnProperty(b)&&(e[b]=n[b])};return e(c,g)};return function(c,g){function p(){this.constructor=c}e(c,g);c.prototype=null===g?Object.create(g):(p.prototype=g.prototype,new p)}}(),r=c.addEvent,m=c.merge,B=c.pick,e=c.splat,A=function(){function c(){}c.compose=function(e){r(e,"afterGetAxes",c.onAfterGetAxes);e=e.prototype;e.addZAxis=c.wrapAddZAxis;e.collectionsWithInit.zAxis=
46
- [e.addZAxis];e.collectionsWithUpdate.push("zAxis")};c.onAfterGetAxes=function(){var c=this,g=this.options;g=g.zAxis=e(g.zAxis||{});c.is3d()&&(c.zAxis=[],g.forEach(function(e,n){e.index=n;e.isX=!0;c.addZAxis(e).setScale()}))};c.wrapAddZAxis=function(e){return new w(this,e)};return c}(),w=function(e){function c(c,g){c=e.call(this,c,g)||this;c.isZAxis=!0;return c}p(c,e);c.prototype.getSeriesExtremes=function(){var e=this,c=e.chart;e.hasVisibleSeries=!1;e.dataMin=e.dataMax=e.ignoreMinPadding=e.ignoreMaxPadding=
47
- void 0;e.stacking&&e.stacking.buildStacks();e.series.forEach(function(n){!n.visible&&c.options.chart&&c.options.chart.ignoreHiddenSeries||(e.hasVisibleSeries=!0,n=n.zData,n.length&&(e.dataMin=Math.min(B(e.dataMin,n[0]),Math.min.apply(null,n)),e.dataMax=Math.max(B(e.dataMax,n[0]),Math.max.apply(null,n))))})};c.prototype.setAxisSize=function(){var c=this.chart;e.prototype.setAxisSize.call(this);this.width=this.len=c.options.chart&&c.options.chart.options3d&&c.options.chart.options3d.depth||0;this.right=
48
- c.chartWidth-this.width-this.left};c.prototype.setOptions=function(c){c=m({offset:0,lineWidth:0},c);e.prototype.setOptions.call(this,c);this.coll="zAxis"};c.ZChartComposition=A;return c}(g);return w});y(g,"parts-3d/Chart.js",[g["parts/Axis.js"],g["parts-3d/Axis3D.js"],g["parts/Globals.js"],g["parts/Utilities.js"],g["parts-3d/ZAxis.js"]],function(g,c,p,x,m){function r(b,h){var a=b.plotLeft,d=b.plotWidth+a,l=b.plotTop,e=b.plotHeight+l,k=a+b.plotWidth/2,c=l+b.plotHeight/2,f=Number.MAX_VALUE,n=-Number.MAX_VALUE,
49
- g=Number.MAX_VALUE,p=-Number.MAX_VALUE,m=1;var q=[{x:a,y:l,z:0},{x:a,y:l,z:h}];[0,1].forEach(function(a){q.push({x:d,y:q[a].y,z:q[a].z})});[0,1,2,3].forEach(function(a){q.push({x:q[a].x,y:e,z:q[a].z})});q=C(q,b,!1);q.forEach(function(a){f=Math.min(f,a.x);n=Math.max(n,a.x);g=Math.min(g,a.y);p=Math.max(p,a.y)});a>f&&(m=Math.min(m,1-Math.abs((a+k)/(f+k))%1));d<n&&(m=Math.min(m,(d-k)/(n-k)));l>g&&(m=0>g?Math.min(m,(l+c)/(-g+l+c)):Math.min(m,1-(l+c)/(g+c)%1));e<p&&(m=Math.min(m,Math.abs((e-c)/(p-c))));
50
- return m}var e=x.addEvent,A=x.Fx,w=x.isArray,t=x.merge,q=x.pick;x=x.wrap;var z=p.Chart,C=p.perspective;z.prototype.is3d=function(){return this.options.chart.options3d&&this.options.chart.options3d.enabled};z.prototype.propsRequireDirtyBox.push("chart.options3d");z.prototype.propsRequireUpdateSeries.push("chart.options3d");e(z,"afterInit",function(){var b=this.options;this.is3d()&&(b.series||[]).forEach(function(h){"scatter"===(h.type||b.chart.type||b.chart.defaultSeriesType)&&(h.type="scatter3d")})});
51
- e(z,"addSeries",function(b){this.is3d()&&"scatter"===b.options.type&&(b.options.type="scatter3d")});x(p.Chart.prototype,"isInsidePlot",function(b){return this.is3d()||b.apply(this,[].slice.call(arguments,1))});var n=p.getOptions();t(!0,n,{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:{}}}}});e(z,"afterGetContainer",function(){this.styledMode&&(this.renderer.definition({tagName:"style",
52
- textContent:".highcharts-3d-top{filter: url(#highcharts-brighter)}\n.highcharts-3d-side{filter: url(#highcharts-darker)}\n"}),[{name:"darker",slope:.6},{name:"brighter",slope:1.4}].forEach(function(b){this.renderer.definition({tagName:"filter",id:"highcharts-"+b.name,children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncR",type:"linear",slope:b.slope},{tagName:"feFuncG",type:"linear",slope:b.slope},{tagName:"feFuncB",type:"linear",slope:b.slope}]}]})},this))});x(z.prototype,"setClassName",
53
- function(b){b.apply(this,[].slice.call(arguments,1));this.is3d()&&(this.container.className+=" highcharts-3d-chart")});e(p.Chart,"afterSetChartSize",function(){var b=this.options.chart.options3d;if(this.is3d()){b&&(b.alpha=b.alpha%360+(0<=b.alpha?0:360),b.beta=b.beta%360+(0<=b.beta?0:360));var h=this.inverted,a=this.clipBox,d=this.margin;a[h?"y":"x"]=-(d[3]||0);a[h?"x":"y"]=-(d[0]||0);a[h?"height":"width"]=this.chartWidth+(d[3]||0)+(d[1]||0);a[h?"width":"height"]=this.chartHeight+(d[0]||0)+(d[2]||
54
- 0);this.scale3d=1;!0===b.fitToPlot&&(this.scale3d=r(this,b.depth));this.frame3d=this.get3dFrame()}});e(z,"beforeRedraw",function(){this.is3d()&&(this.isDirtyBox=!0)});e(z,"beforeRender",function(){this.is3d()&&(this.frame3d=this.get3dFrame())});x(z.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)});e(z,"afterDrawChartBox",function(){if(this.is3d()){var b=this.renderer,h=this.options.chart.options3d,a=
55
- this.get3dFrame(),d=this.plotLeft,l=this.plotLeft+this.plotWidth,e=this.plotTop,k=this.plotTop+this.plotHeight;h=h.depth;var c=d-(a.left.visible?a.left.size:0),f=l+(a.right.visible?a.right.size:0),n=e-(a.top.visible?a.top.size:0),g=k+(a.bottom.visible?a.bottom.size:0),m=0-(a.front.visible?a.front.size:0),q=h+(a.back.visible?a.back.size:0),w=this.hasRendered?"animate":"attr";this.frame3d=a;this.frameShapes||(this.frameShapes={bottom:b.polyhedron().add(),top:b.polyhedron().add(),left:b.polyhedron().add(),
56
- right:b.polyhedron().add(),back:b.polyhedron().add(),front:b.polyhedron().add()});this.frameShapes.bottom[w]({"class":"highcharts-3d-frame highcharts-3d-frame-bottom",zIndex:a.bottom.frontFacing?-1E3:1E3,faces:[{fill:p.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:c,y:g,z:m},{x:f,y:g,z:m},{x:f,y:g,z:q},{x:c,y:g,z:q}],enabled:a.bottom.visible},{fill:p.color(a.bottom.color).brighten(.1).get(),vertexes:[{x:d,y:k,z:h},{x:l,y:k,z:h},{x:l,y:k,z:0},{x:d,y:k,z:0}],enabled:a.bottom.visible},{fill:p.color(a.bottom.color).brighten(-.1).get(),
57
- vertexes:[{x:c,y:g,z:m},{x:c,y:g,z:q},{x:d,y:k,z:h},{x:d,y:k,z:0}],enabled:a.bottom.visible&&!a.left.visible},{fill:p.color(a.bottom.color).brighten(-.1).get(),vertexes:[{x:f,y:g,z:q},{x:f,y:g,z:m},{x:l,y:k,z:0},{x:l,y:k,z:h}],enabled:a.bottom.visible&&!a.right.visible},{fill:p.color(a.bottom.color).get(),vertexes:[{x:f,y:g,z:m},{x:c,y:g,z:m},{x:d,y:k,z:0},{x:l,y:k,z:0}],enabled:a.bottom.visible&&!a.front.visible},{fill:p.color(a.bottom.color).get(),vertexes:[{x:c,y:g,z:q},{x:f,y:g,z:q},{x:l,y:k,
58
- z:h},{x:d,y:k,z:h}],enabled:a.bottom.visible&&!a.back.visible}]});this.frameShapes.top[w]({"class":"highcharts-3d-frame highcharts-3d-frame-top",zIndex:a.top.frontFacing?-1E3:1E3,faces:[{fill:p.color(a.top.color).brighten(.1).get(),vertexes:[{x:c,y:n,z:q},{x:f,y:n,z:q},{x:f,y:n,z:m},{x:c,y:n,z:m}],enabled:a.top.visible},{fill:p.color(a.top.color).brighten(.1).get(),vertexes:[{x:d,y:e,z:0},{x:l,y:e,z:0},{x:l,y:e,z:h},{x:d,y:e,z:h}],enabled:a.top.visible},{fill:p.color(a.top.color).brighten(-.1).get(),
59
- vertexes:[{x:c,y:n,z:q},{x:c,y:n,z:m},{x:d,y:e,z:0},{x:d,y:e,z:h}],enabled:a.top.visible&&!a.left.visible},{fill:p.color(a.top.color).brighten(-.1).get(),vertexes:[{x:f,y:n,z:m},{x:f,y:n,z:q},{x:l,y:e,z:h},{x:l,y:e,z:0}],enabled:a.top.visible&&!a.right.visible},{fill:p.color(a.top.color).get(),vertexes:[{x:c,y:n,z:m},{x:f,y:n,z:m},{x:l,y:e,z:0},{x:d,y:e,z:0}],enabled:a.top.visible&&!a.front.visible},{fill:p.color(a.top.color).get(),vertexes:[{x:f,y:n,z:q},{x:c,y:n,z:q},{x:d,y:e,z:h},{x:l,y:e,z:h}],
60
- enabled:a.top.visible&&!a.back.visible}]});this.frameShapes.left[w]({"class":"highcharts-3d-frame highcharts-3d-frame-left",zIndex:a.left.frontFacing?-1E3:1E3,faces:[{fill:p.color(a.left.color).brighten(.1).get(),vertexes:[{x:c,y:g,z:m},{x:d,y:k,z:0},{x:d,y:k,z:h},{x:c,y:g,z:q}],enabled:a.left.visible&&!a.bottom.visible},{fill:p.color(a.left.color).brighten(.1).get(),vertexes:[{x:c,y:n,z:q},{x:d,y:e,z:h},{x:d,y:e,z:0},{x:c,y:n,z:m}],enabled:a.left.visible&&!a.top.visible},{fill:p.color(a.left.color).brighten(-.1).get(),
61
- vertexes:[{x:c,y:g,z:q},{x:c,y:n,z:q},{x:c,y:n,z:m},{x:c,y:g,z:m}],enabled:a.left.visible},{fill:p.color(a.left.color).brighten(-.1).get(),vertexes:[{x:d,y:e,z:h},{x:d,y:k,z:h},{x:d,y:k,z:0},{x:d,y:e,z:0}],enabled:a.left.visible},{fill:p.color(a.left.color).get(),vertexes:[{x:c,y:g,z:m},{x:c,y:n,z:m},{x:d,y:e,z:0},{x:d,y:k,z:0}],enabled:a.left.visible&&!a.front.visible},{fill:p.color(a.left.color).get(),vertexes:[{x:c,y:n,z:q},{x:c,y:g,z:q},{x:d,y:k,z:h},{x:d,y:e,z:h}],enabled:a.left.visible&&!a.back.visible}]});
62
- this.frameShapes.right[w]({"class":"highcharts-3d-frame highcharts-3d-frame-right",zIndex:a.right.frontFacing?-1E3:1E3,faces:[{fill:p.color(a.right.color).brighten(.1).get(),vertexes:[{x:f,y:g,z:q},{x:l,y:k,z:h},{x:l,y:k,z:0},{x:f,y:g,z:m}],enabled:a.right.visible&&!a.bottom.visible},{fill:p.color(a.right.color).brighten(.1).get(),vertexes:[{x:f,y:n,z:m},{x:l,y:e,z:0},{x:l,y:e,z:h},{x:f,y:n,z:q}],enabled:a.right.visible&&!a.top.visible},{fill:p.color(a.right.color).brighten(-.1).get(),vertexes:[{x:l,
63
- y:e,z:0},{x:l,y:k,z:0},{x:l,y:k,z:h},{x:l,y:e,z:h}],enabled:a.right.visible},{fill:p.color(a.right.color).brighten(-.1).get(),vertexes:[{x:f,y:g,z:m},{x:f,y:n,z:m},{x:f,y:n,z:q},{x:f,y:g,z:q}],enabled:a.right.visible},{fill:p.color(a.right.color).get(),vertexes:[{x:f,y:n,z:m},{x:f,y:g,z:m},{x:l,y:k,z:0},{x:l,y:e,z:0}],enabled:a.right.visible&&!a.front.visible},{fill:p.color(a.right.color).get(),vertexes:[{x:f,y:g,z:q},{x:f,y:n,z:q},{x:l,y:e,z:h},{x:l,y:k,z:h}],enabled:a.right.visible&&!a.back.visible}]});
64
- this.frameShapes.back[w]({"class":"highcharts-3d-frame highcharts-3d-frame-back",zIndex:a.back.frontFacing?-1E3:1E3,faces:[{fill:p.color(a.back.color).brighten(.1).get(),vertexes:[{x:f,y:g,z:q},{x:c,y:g,z:q},{x:d,y:k,z:h},{x:l,y:k,z:h}],enabled:a.back.visible&&!a.bottom.visible},{fill:p.color(a.back.color).brighten(.1).get(),vertexes:[{x:c,y:n,z:q},{x:f,y:n,z:q},{x:l,y:e,z:h},{x:d,y:e,z:h}],enabled:a.back.visible&&!a.top.visible},{fill:p.color(a.back.color).brighten(-.1).get(),vertexes:[{x:c,y:g,
65
- z:q},{x:c,y:n,z:q},{x:d,y:e,z:h},{x:d,y:k,z:h}],enabled:a.back.visible&&!a.left.visible},{fill:p.color(a.back.color).brighten(-.1).get(),vertexes:[{x:f,y:n,z:q},{x:f,y:g,z:q},{x:l,y:k,z:h},{x:l,y:e,z:h}],enabled:a.back.visible&&!a.right.visible},{fill:p.color(a.back.color).get(),vertexes:[{x:d,y:e,z:h},{x:l,y:e,z:h},{x:l,y:k,z:h},{x:d,y:k,z:h}],enabled:a.back.visible},{fill:p.color(a.back.color).get(),vertexes:[{x:c,y:g,z:q},{x:f,y:g,z:q},{x:f,y:n,z:q},{x:c,y:n,z:q}],enabled:a.back.visible}]});this.frameShapes.front[w]({"class":"highcharts-3d-frame highcharts-3d-frame-front",
66
- zIndex:a.front.frontFacing?-1E3:1E3,faces:[{fill:p.color(a.front.color).brighten(.1).get(),vertexes:[{x:c,y:g,z:m},{x:f,y:g,z:m},{x:l,y:k,z:0},{x:d,y:k,z:0}],enabled:a.front.visible&&!a.bottom.visible},{fill:p.color(a.front.color).brighten(.1).get(),vertexes:[{x:f,y:n,z:m},{x:c,y:n,z:m},{x:d,y:e,z:0},{x:l,y:e,z:0}],enabled:a.front.visible&&!a.top.visible},{fill:p.color(a.front.color).brighten(-.1).get(),vertexes:[{x:c,y:n,z:m},{x:c,y:g,z:m},{x:d,y:k,z:0},{x:d,y:e,z:0}],enabled:a.front.visible&&!a.left.visible},
67
- {fill:p.color(a.front.color).brighten(-.1).get(),vertexes:[{x:f,y:g,z:m},{x:f,y:n,z:m},{x:l,y:e,z:0},{x:l,y:k,z:0}],enabled:a.front.visible&&!a.right.visible},{fill:p.color(a.front.color).get(),vertexes:[{x:l,y:e,z:0},{x:d,y:e,z:0},{x:d,y:k,z:0},{x:l,y:k,z:0}],enabled:a.front.visible},{fill:p.color(a.front.color).get(),vertexes:[{x:f,y:g,z:m},{x:c,y:g,z:m},{x:c,y:n,z:m},{x:f,y:n,z:m}],enabled:a.front.visible}]})}});z.prototype.retrieveStacks=function(b){var h=this.series,a={},d,e=1;this.series.forEach(function(l){d=
68
- q(l.options.stack,b?0:h.length-1-l.index);a[d]?a[d].series.push(l):(a[d]={series:[l],position:e},e++)});a.totalStacks=e+1;return a};z.prototype.get3dFrame=function(){var b=this,h=b.options.chart.options3d,a=h.frame,d=b.plotLeft,e=b.plotLeft+b.plotWidth,c=b.plotTop,k=b.plotTop+b.plotHeight,n=h.depth,f=function(a){a=p.shapeArea3d(a,b);return.5<a?1:-.5>a?-1:0},g=f([{x:d,y:k,z:n},{x:e,y:k,z:n},{x:e,y:k,z:0},{x:d,y:k,z:0}]),m=f([{x:d,y:c,z:0},{x:e,y:c,z:0},{x:e,y:c,z:n},{x:d,y:c,z:n}]),w=f([{x:d,y:c,z:0},
69
- {x:d,y:c,z:n},{x:d,y:k,z:n},{x:d,y:k,z:0}]),t=f([{x:e,y:c,z:n},{x:e,y:c,z:0},{x:e,y:k,z:0},{x:e,y:k,z:n}]),r=f([{x:d,y:k,z:0},{x:e,y:k,z:0},{x:e,y:c,z:0},{x:d,y:c,z:0}]);f=f([{x:d,y:c,z:n},{x:e,y:c,z:n},{x:e,y:k,z:n},{x:d,y:k,z:n}]);var x=!1,A=!1,z=!1,B=!1;[].concat(b.xAxis,b.yAxis,b.zAxis).forEach(function(a){a&&(a.horiz?a.opposite?A=!0:x=!0:a.opposite?B=!0:z=!0)});var y=function(a,b,d){for(var f=["size","color","visible"],h={},e=0;e<f.length;e++)for(var c=f[e],k=0;k<a.length;k++)if("object"===typeof a[k]){var n=
70
- a[k][c];if("undefined"!==typeof n&&null!==n){h[c]=n;break}}a=d;!0===h.visible||!1===h.visible?a=h.visible:"auto"===h.visible&&(a=0<b);return{size:q(h.size,1),color:q(h.color,"none"),frontFacing:0<b,visible:a}};a={axes:{},bottom:y([a.bottom,a.top,a],g,x),top:y([a.top,a.bottom,a],m,A),left:y([a.left,a.right,a.side,a],w,z),right:y([a.right,a.left,a.side,a],t,B),back:y([a.back,a.front,a],f,!0),front:y([a.front,a.back,a],r,!1)};"auto"===h.axisLabelPosition?(t=function(a,b){return a.visible!==b.visible||
71
- a.visible&&b.visible&&a.frontFacing!==b.frontFacing},h=[],t(a.left,a.front)&&h.push({y:(c+k)/2,x:d,z:0,xDir:{x:1,y:0,z:0}}),t(a.left,a.back)&&h.push({y:(c+k)/2,x:d,z:n,xDir:{x:0,y:0,z:-1}}),t(a.right,a.front)&&h.push({y:(c+k)/2,x:e,z:0,xDir:{x:0,y:0,z:1}}),t(a.right,a.back)&&h.push({y:(c+k)/2,x:e,z:n,xDir:{x:-1,y:0,z:0}}),g=[],t(a.bottom,a.front)&&g.push({x:(d+e)/2,y:k,z:0,xDir:{x:1,y:0,z:0}}),t(a.bottom,a.back)&&g.push({x:(d+e)/2,y:k,z:n,xDir:{x:-1,y:0,z:0}}),m=[],t(a.top,a.front)&&m.push({x:(d+
72
- e)/2,y:c,z:0,xDir:{x:1,y:0,z:0}}),t(a.top,a.back)&&m.push({x:(d+e)/2,y:c,z:n,xDir:{x:-1,y:0,z:0}}),w=[],t(a.bottom,a.left)&&w.push({z:(0+n)/2,y:k,x:d,xDir:{x:0,y:0,z:-1}}),t(a.bottom,a.right)&&w.push({z:(0+n)/2,y:k,x:e,xDir:{x:0,y:0,z:1}}),k=[],t(a.top,a.left)&&k.push({z:(0+n)/2,y:c,x:d,xDir:{x:0,y:0,z:-1}}),t(a.top,a.right)&&k.push({z:(0+n)/2,y:c,x:e,xDir:{x:0,y:0,z:1}}),d=function(a,d,f){if(0===a.length)return null;if(1===a.length)return a[0];for(var h=0,e=C(a,b,!1),c=1;c<e.length;c++)f*e[c][d]>
73
- f*e[h][d]?h=c:f*e[c][d]===f*e[h][d]&&e[c].z<e[h].z&&(h=c);return a[h]},a.axes={y:{left:d(h,"x",-1),right:d(h,"x",1)},x:{top:d(m,"y",-1),bottom:d(g,"y",1)},z:{top:d(k,"y",-1),bottom:d(w,"y",1)}}):a.axes={y:{left:{x:d,z:0,xDir:{x:1,y:0,z:0}},right:{x:e,z:0,xDir:{x:0,y:0,z:1}}},x:{top:{y:c,z:0,xDir:{x:1,y:0,z:0}},bottom:{y:k,z:0,xDir:{x:1,y:0,z:0}}},z:{top:{x:z?e:d,y:c,xDir:z?{x:0,y:0,z:1}:{x:0,y:0,z:-1}},bottom:{x:z?e:d,y:k,xDir:z?{x:0,y:0,z:1}:{x:0,y:0,z:-1}}}};return a};A.prototype.matrixSetter=function(){if(1>
74
- this.pos&&(w(this.start)||w(this.end))){var b=this.start||[1,0,0,1,0,0],h=this.end||[1,0,0,1,0,0];var a=[];for(var d=0;6>d;d++)a.push(this.pos*h[d]+(1-this.pos)*b[d])}else a=this.end;this.elem.attr(this.prop,a,null,!0)};m.ZChartComposition.compose(z);c.compose(g);""});y(g,"parts-3d/Series.js",[g["parts/Globals.js"],g["parts/Utilities.js"]],function(g,c){var p=c.addEvent,r=c.pick,m=g.perspective;p(g.Series,"afterTranslate",function(){this.chart.is3d()&&this.translate3dPoints()});g.Series.prototype.translate3dPoints=
75
- function(){var c=this.chart,e=r(this.zAxis,c.options.zAxis[0]),g=[],p;for(p=0;p<this.data.length;p++){var t=this.data[p];if(e&&e.translate){var q=e.logarithmic&&e.val2lin?e.val2lin(t.z):t.z;t.plotZ=e.translate(q);t.isInside=t.isInside?q>=e.min&&q<=e.max:!1}else t.plotZ=0;t.axisXpos=t.plotX;t.axisYpos=t.plotY;t.axisZpos=t.plotZ;g.push({x:t.plotX,y:t.plotY,z:t.plotZ})}c=m(g,c,!0);for(p=0;p<this.data.length;p++)t=this.data[p],e=c[p],t.plotX=e.x,t.plotY=e.y,t.plotZ=e.z}});y(g,"parts-3d/Column.js",[g["parts/Globals.js"],
76
- g["parts/Utilities.js"],g["parts/Stacking.js"]],function(g,c,p){function x(e){var c=e.apply(this,[].slice.call(arguments,1));this.chart.is3d&&this.chart.is3d()&&(c.stroke=this.options.edgeColor||c.fill,c["stroke-width"]=A(this.options.edgeWidth,1));return c}function m(e,c,b){var h=this.chart.is3d&&this.chart.is3d();h&&(this.options.inactiveOtherPoints=!0);e.call(this,c,b);h&&(this.options.inactiveOtherPoints=!1)}function r(e){for(var c=[],b=1;b<arguments.length;b++)c[b-1]=arguments[b];return this.series.chart.is3d()?
77
- this.graphic&&"g"!==this.graphic.element.nodeName:e.apply(this,c)}var e=c.addEvent,A=c.pick;c=c.wrap;var w=g.perspective,t=g.Series,q=g.seriesTypes,z=g.svg;c(q.column.prototype,"translate",function(e){e.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&this.translate3dShapes()});c(g.Series.prototype,"justifyDataLabel",function(e){return arguments[2].outside3dPlot?!1:e.apply(this,[].slice.call(arguments,1))});q.column.prototype.translate3dPoints=function(){};q.column.prototype.translate3dShapes=
78
- function(){var e=this,c=e.chart,b=e.options,h=b.depth,a=(b.stacking?b.stack||0:e.index)*(h+(b.groupZPadding||1)),d=e.borderWidth%2?.5:0,g;c.inverted&&!e.yAxis.reversed&&(d*=-1);!1!==b.grouping&&(a=0);a+=b.groupZPadding||1;e.data.forEach(function(b){b.outside3dPlot=null;if(null!==b.y){var k=b.shapeArgs,n=b.tooltipPos,f;[["x","width"],["y","height"]].forEach(function(a){f=k[a[0]]-d;0>f&&(k[a[1]]+=k[a[0]]+d,k[a[0]]=-d,f=0);f+k[a[1]]>e[a[0]+"Axis"].len&&0!==k[a[1]]&&(k[a[1]]=e[a[0]+"Axis"].len-k[a[0]]);
79
- if(0!==k[a[1]]&&(k[a[0]]>=e[a[0]+"Axis"].len||k[a[0]]+k[a[1]]<=d)){for(var c in k)k[c]=0;b.outside3dPlot=!0}});"rect"===b.shapeType&&(b.shapeType="cuboid");k.z=a;k.depth=h;k.insidePlotArea=!0;g={x:k.x+k.width/2,y:k.y,z:a+h/2};c.inverted&&(g.x=k.height,g.y=b.clientX);b.plot3d=w([g],c,!0,!1)[0];n=w([{x:n[0],y:n[1],z:a+h/2}],c,!0,!1)[0];b.tooltipPos=[n.x,n.y]}});e.z=a};c(q.column.prototype,"animate",function(e){if(this.chart.is3d()){var c=arguments[1],b=this.yAxis,h=this,a=this.yAxis.reversed;z&&(c?
80
- h.data.forEach(function(d){null!==d.y&&(d.height=d.shapeArgs.height,d.shapey=d.shapeArgs.y,d.shapeArgs.height=1,a||(d.shapeArgs.y=d.stackY?d.plotY+b.translate(d.stackY):d.plotY+(d.negative?-d.height:d.height)))}):(h.data.forEach(function(a){null!==a.y&&(a.shapeArgs.height=a.height,a.shapeArgs.y=a.shapey,a.graphic&&a.graphic.animate(a.shapeArgs,h.options.animation))}),this.drawDataLabels()))}else e.apply(this,[].slice.call(arguments,1))});c(q.column.prototype,"plotGroup",function(e,c,b,h,a,d){"dataLabelsGroup"!==
81
- c&&this.chart.is3d()&&(this[c]&&delete this[c],d&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(d)),this[c]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[c].survive=!0,"group"===c||"markerGroup"===c))&&(arguments[3]="visible");return e.apply(this,Array.prototype.slice.call(arguments,1))});c(q.column.prototype,"setVisible",function(e,c){var b=this,h;b.chart.is3d()&&b.data.forEach(function(a){h=(a.visible=a.options.visible=c="undefined"===
82
- typeof c?!A(b.visible,a.visible):c)?"visible":"hidden";b.options.data[b.data.indexOf(a)]=a.options;a.graphic&&a.graphic.attr({visibility:h})});e.apply(this,Array.prototype.slice.call(arguments,1))});q.column.prototype.handle3dGrouping=!0;e(t,"afterInit",function(){if(this.chart.is3d()&&this.handle3dGrouping){var e=this.options,c=e.grouping,b=e.stacking,h=A(this.yAxis.options.reversedStacks,!0),a=0;if("undefined"===typeof c||c){c=this.chart.retrieveStacks(b);a=e.stack||0;for(b=0;b<c[a].series.length&&
83
- c[a].series[b]!==this;b++);a=10*(c.totalStacks-c[a].position)+(h?b:-b);this.xAxis.reversed||(a=10*c.totalStacks-a)}e.depth=e.depth||25;this.z=this.z||0;e.zIndex=a}});c(q.column.prototype,"pointAttribs",x);c(q.column.prototype,"setState",m);c(q.column.prototype.pointClass.prototype,"hasNewShapeType",r);q.columnrange&&(c(q.columnrange.prototype,"pointAttribs",x),c(q.columnrange.prototype,"setState",m),c(q.columnrange.prototype.pointClass.prototype,"hasNewShapeType",r),q.columnrange.prototype.plotGroup=
84
- q.column.prototype.plotGroup,q.columnrange.prototype.setVisible=q.column.prototype.setVisible);c(t.prototype,"alignDataLabel",function(e,c,b,h,a){var d=this.chart;h.outside3dPlot=c.outside3dPlot;if(d.is3d()&&this.is("column")){var g=this.options,m=A(h.inside,!!this.options.stacking),k=d.options.chart.options3d,n=c.pointWidth/2||0;g={x:a.x+n,y:a.y,z:this.z+g.depth/2};d.inverted&&(m&&(a.width=0,g.x+=c.shapeArgs.height/2),90<=k.alpha&&270>=k.alpha&&(g.y+=c.shapeArgs.width));g=w([g],d,!0,!1)[0];a.x=g.x-
85
- n;a.y=c.outside3dPlot?-9E9:g.y}e.apply(this,[].slice.call(arguments,1))});c(p.prototype,"getStackBox",function(c,e,b,h,a,d,g,m){var k=c.apply(this,[].slice.call(arguments,1));if(e.is3d()&&b.base){var l=+b.base.split(",")[0],f=e.series[l];l=e.options.chart.options3d;f&&f instanceof q.column&&(f={x:k.x+(e.inverted?g:d/2),y:k.y,z:f.options.depth/2},e.inverted&&(k.width=0,90<=l.alpha&&270>=l.alpha&&(f.y+=d)),f=w([f],e,!0,!1)[0],k.x=f.x-d/2,k.y=f.y)}return k})});y(g,"parts-3d/Pie.js",[g["parts/Globals.js"],
86
- g["parts/Utilities.js"]],function(g,c){var p=c.pick;c=c.wrap;var x=g.deg2rad,m=g.seriesTypes,r=g.svg;c(m.pie.prototype,"translate",function(e){e.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var c=this,g=c.options,m=g.depth||0,p=c.chart.options.chart.options3d,r=p.alpha,y=p.beta,n=g.stacking?(g.stack||0)*m:c._i*m;n+=m/2;!1!==g.grouping&&(n=0);c.data.forEach(function(b){var e=b.shapeArgs;b.shapeType="arc3d";e.z=n;e.depth=.75*m;e.alpha=r;e.beta=y;e.center=c.center;e=(e.end+e.start)/2;
87
- b.slicedTranslation={translateX:Math.round(Math.cos(e)*g.slicedOffset*Math.cos(r*x)),translateY:Math.round(Math.sin(e)*g.slicedOffset*Math.cos(r*x))}})}});c(m.pie.prototype.pointClass.prototype,"haloPath",function(e){var c=arguments;return this.series.chart.is3d()?[]:e.call(this,c[1])});c(m.pie.prototype,"pointAttribs",function(e,c,g){e=e.call(this,c,g);g=this.options;this.chart.is3d()&&!this.chart.styledMode&&(e.stroke=g.edgeColor||c.color||this.color,e["stroke-width"]=p(g.edgeWidth,1));return e});
88
- c(m.pie.prototype,"drawDataLabels",function(e){if(this.chart.is3d()){var c=this.chart.options.chart.options3d;this.data.forEach(function(e){var g=e.shapeArgs,m=g.r,p=(g.start+g.end)/2;e=e.labelPosition;var r=e.connectorPosition,n=-m*(1-Math.cos((g.alpha||c.alpha)*x))*Math.sin(p),b=m*(Math.cos((g.beta||c.beta)*x)-1)*Math.cos(p);[e.natural,r.breakAt,r.touchingSliceAt].forEach(function(e){e.x+=b;e.y+=n})})}e.apply(this,[].slice.call(arguments,1))});c(m.pie.prototype,"addPoint",function(e){e.apply(this,
89
- [].slice.call(arguments,1));this.chart.is3d()&&this.update(this.userOptions,!0)});c(m.pie.prototype,"animate",function(e){if(this.chart.is3d()){var c=arguments[1],g=this.options.animation,m=this.center,q=this.group,x=this.markerGroup;r&&(!0===g&&(g={}),c?(q.oldtranslateX=p(q.oldtranslateX,q.translateX),q.oldtranslateY=p(q.oldtranslateY,q.translateY),c={translateX:m[0],translateY:m[1],scaleX:.001,scaleY:.001},q.attr(c),x&&(x.attrSetters=q.attrSetters,x.attr(c))):(c={translateX:q.oldtranslateX,translateY:q.oldtranslateY,
90
- scaleX:1,scaleY:1},q.animate(c,g),x&&x.animate(c,g)))}else e.apply(this,[].slice.call(arguments,1))})});y(g,"parts-3d/Scatter.js",[g["parts/Globals.js"],g["parts/Point.js"],g["parts/Utilities.js"]],function(g,c,p){p=p.seriesType;var x=g.seriesTypes;p("scatter3d","scatter",{tooltip:{pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>z: <b>{point.z}</b><br/>"}},{pointAttribs:function(c){var m=x.scatter.prototype.pointAttribs.apply(this,arguments);this.chart.is3d()&&c&&(m.zIndex=g.pointCameraDistance(c,
91
- this.chart));return m},axisTypes:["xAxis","yAxis","zAxis"],pointArrayMap:["x","y","z"],parallelArrays:["x","y","z"],directTouch:!0},{applyOptions:function(){c.prototype.applyOptions.apply(this,arguments);"undefined"===typeof this.z&&(this.z=0);return this}});""});y(g,"parts-3d/VMLAxis3D.js",[g["parts/Utilities.js"]],function(g){var c=g.addEvent,p=function(){return function(c){this.axis=c}}();return function(){function g(){}g.compose=function(m){m.keepProps.push("vml");c(m,"init",g.onInit);c(m,"render",
92
- g.onRender)};g.onInit=function(){this.vml||(this.vml=new p(this))};g.onRender=function(){var c=this.vml;c.sideFrame&&(c.sideFrame.css({zIndex:0}),c.sideFrame.front.attr({fill:c.sideFrame.color}));c.bottomFrame&&(c.bottomFrame.css({zIndex:1}),c.bottomFrame.front.attr({fill:c.bottomFrame.color}));c.backFrame&&(c.backFrame.css({zIndex:0}),c.backFrame.front.attr({fill:c.backFrame.color}))};return g}()});y(g,"parts-3d/VMLRenderer.js",[g["parts/Axis.js"],g["parts/Globals.js"],g["parts-3d/VMLAxis3D.js"]],
93
- function(g,c,p){var r=c.SVGRenderer,m=c.VMLRenderer;m&&(c.setOptions({animate:!1}),m.prototype.face3d=r.prototype.face3d,m.prototype.polyhedron=r.prototype.polyhedron,m.prototype.elements3d=r.prototype.elements3d,m.prototype.element3d=r.prototype.element3d,m.prototype.cuboid=r.prototype.cuboid,m.prototype.cuboidPath=r.prototype.cuboidPath,m.prototype.toLinePath=r.prototype.toLinePath,m.prototype.toLineSegments=r.prototype.toLineSegments,m.prototype.arc3d=function(c){c=r.prototype.arc3d.call(this,
94
- c);c.css({zIndex:c.zIndex});return c},c.VMLRenderer.prototype.arc3dPath=c.SVGRenderer.prototype.arc3dPath,p.compose(g))});y(g,"masters/highcharts-3d.src.js",[],function(){})});
8
+ (function(b){"object"===typeof module&&module.exports?(b["default"]=b,module.exports=b):"function"===typeof define&&define.amd?define("highcharts/highcharts-3d",["highcharts"],function(G){b(G);b.Highcharts=G;return b}):b("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(b){function G(b,u,w,J){b.hasOwnProperty(u)||(b[u]=J.apply(null,w))}b=b?b._modules:{};G(b,"Extensions/Math3D.js",[b["Core/Globals.js"],b["Core/Utilities.js"]],function(b,u){var w=u.pick,y=b.deg2rad,c=b.perspective3D=function(c,
9
+ n,f){n=0<f&&f<Number.POSITIVE_INFINITY?f/(c.z+n.z+f):1;return{x:c.x*n,y:c.y*n}},x=b.perspective=function(q,n,f,r){var m=n.options.chart.options3d,b=w(r,f?n.inverted:!1),h={x:n.plotWidth/2,y:n.plotHeight/2,z:m.depth/2,vd:w(m.depth,1)*w(m.viewDistance,0)},k=n.scale3d||1;r=y*m.beta*(b?-1:1);m=y*m.alpha*(b?-1:1);var a=Math.cos(m),g=Math.cos(-r),C=Math.sin(m),d=Math.sin(-r);f||(h.x+=n.plotLeft,h.y+=n.plotTop);return q.map(function(p){var f=(b?p.y:p.x)-h.x;var m=(b?p.x:p.y)-h.y;p=(p.z||0)-h.z;f={x:g*f-
10
+ d*p,y:-C*d*f+a*m-g*C*p,z:a*d*f+C*m+a*g*p};m=c(f,h,h.vd);m.x=m.x*k+h.x;m.y=m.y*k+h.y;m.z=f.z*k+h.z;return{x:b?m.y:m.x,y:b?m.x:m.y,z:m.z}})};u=b.pointCameraDistance=function(c,b){var f=b.options.chart.options3d,r=b.plotWidth/2;b=b.plotHeight/2;f=w(f.depth,1)*w(f.viewDistance,0)+f.depth;return Math.sqrt(Math.pow(r-w(c.plotX,c.x),2)+Math.pow(b-w(c.plotY,c.y),2)+Math.pow(f-w(c.plotZ,c.z),2))};var h=b.shapeArea=function(c){var b=0,f;for(f=0;f<c.length;f++){var r=(f+1)%c.length;b+=c[f].x*c[r].y-c[r].x*c[f].y}return b/
11
+ 2};b=b.shapeArea3d=function(c,b,f){return h(x(c,b,f))};return{perspective:x,perspective3D:c,pointCameraDistance:u,shapeArea:h,shapeArea3D:b}});G(b,"Core/Renderer/SVG/SVGRenderer3D.js",[b["Core/Animation/AnimationUtilities.js"],b["Core/Color/Color.js"],b["Core/Globals.js"],b["Extensions/Math3D.js"],b["Core/Renderer/SVG/SVGElement.js"],b["Core/Renderer/SVG/SVGRenderer.js"],b["Core/Utilities.js"]],function(b,u,w,J,c,x,h){function q(a,d,e,K,g,l,c,t){var z=[],v=l-g;return l>g&&l-g>Math.PI/2+.0001?(z=z.concat(q(a,
12
+ d,e,K,g,g+Math.PI/2,c,t)),z=z.concat(q(a,d,e,K,g+Math.PI/2,l,c,t))):l<g&&g-l>Math.PI/2+.0001?(z=z.concat(q(a,d,e,K,g,g-Math.PI/2,c,t)),z=z.concat(q(a,d,e,K,g-Math.PI/2,l,c,t))):[["C",a+e*Math.cos(g)-e*F*v*Math.sin(g)+c,d+K*Math.sin(g)+K*F*v*Math.cos(g)+t,a+e*Math.cos(l)+e*F*v*Math.sin(l)+c,d+K*Math.sin(l)-K*F*v*Math.cos(l)+t,a+e*Math.cos(l)+c,d+K*Math.sin(l)+t]]}var n=b.animObject,f=u.parse,r=J.perspective,m=J.shapeArea,A=h.defined,y=h.extend,k=h.merge,a=h.objectEach,g=h.pick,C=Math.cos,d=Math.PI,
13
+ p=Math.sin,I=w.charts,L=w.deg2rad;var F=4*(Math.sqrt(2)-1)/3/(d/2);x.prototype.toLinePath=function(a,d){var e=[];a.forEach(function(a){e.push(["L",a.x,a.y])});a.length&&(e[0][0]="M",d&&e.push(["Z"]));return e};x.prototype.toLineSegments=function(a){var d=[],e=!0;a.forEach(function(a){d.push(e?["M",a.x,a.y]:["L",a.x,a.y]);e=!e});return d};x.prototype.face3d=function(a){var d=this,e=this.createElement("path");e.vertexes=[];e.insidePlotArea=!1;e.enabled=!0;e.attr=function(a){if("object"===typeof a&&
14
+ (A(a.enabled)||A(a.vertexes)||A(a.insidePlotArea))){this.enabled=g(a.enabled,this.enabled);this.vertexes=g(a.vertexes,this.vertexes);this.insidePlotArea=g(a.insidePlotArea,this.insidePlotArea);delete a.enabled;delete a.vertexes;delete a.insidePlotArea;var e=r(this.vertexes,I[d.chartIndex],this.insidePlotArea),l=d.toLinePath(e,!0);e=m(e);e=this.enabled&&0<e?"visible":"hidden";a.d=l;a.visibility=e}return c.prototype.attr.apply(this,arguments)};e.animate=function(a){if("object"===typeof a&&(A(a.enabled)||
15
+ A(a.vertexes)||A(a.insidePlotArea))){this.enabled=g(a.enabled,this.enabled);this.vertexes=g(a.vertexes,this.vertexes);this.insidePlotArea=g(a.insidePlotArea,this.insidePlotArea);delete a.enabled;delete a.vertexes;delete a.insidePlotArea;var e=r(this.vertexes,I[d.chartIndex],this.insidePlotArea),l=d.toLinePath(e,!0);e=m(e);e=this.enabled&&0<e?"visible":"hidden";a.d=l;this.attr("visibility",e)}return c.prototype.animate.apply(this,arguments)};return e.attr(a)};x.prototype.polyhedron=function(a){var d=
16
+ this,e=this.g(),g=e.destroy;this.styledMode||e.attr({"stroke-linejoin":"round"});e.faces=[];e.destroy=function(){for(var a=0;a<e.faces.length;a++)e.faces[a].destroy();return g.call(this)};e.attr=function(a,l,g,t){if("object"===typeof a&&A(a.faces)){for(;e.faces.length>a.faces.length;)e.faces.pop().destroy();for(;e.faces.length<a.faces.length;)e.faces.push(d.face3d().add(e));for(var z=0;z<a.faces.length;z++)d.styledMode&&delete a.faces[z].fill,e.faces[z].attr(a.faces[z],null,g,t);delete a.faces}return c.prototype.attr.apply(this,
17
+ arguments)};e.animate=function(a,l,g){if(a&&a.faces){for(;e.faces.length>a.faces.length;)e.faces.pop().destroy();for(;e.faces.length<a.faces.length;)e.faces.push(d.face3d().add(e));for(var t=0;t<a.faces.length;t++)e.faces[t].animate(a.faces[t],l,g);delete a.faces}return c.prototype.animate.apply(this,arguments)};return e.attr(a)};b={initArgs:function(a){var d=this,e=d.renderer,g=e[d.pathType+"Path"](a),c=g.zIndexes;d.parts.forEach(function(a){d[a]=e.path(g[a]).attr({"class":"highcharts-3d-"+a,zIndex:c[a]||
18
+ 0}).add(d)});d.attr({"stroke-linejoin":"round",zIndex:c.group});d.originalDestroy=d.destroy;d.destroy=d.destroyParts;d.forcedSides=g.forcedSides},singleSetterForParts:function(d,g,e,c,p,l){var b={};c=[null,null,c||"attr",p,l];var t=e&&e.zIndexes;e?(t&&t.group&&this.attr({zIndex:t.group}),a(e,function(a,v){b[v]={};b[v][d]=a;t&&(b[v].zIndex=e.zIndexes[v]||0)}),c[1]=b):(b[d]=g,c[0]=b);return this.processParts.apply(this,c)},processParts:function(a,d,e,c,p){var l=this;l.parts.forEach(function(b){d&&(a=
19
+ g(d[b],!1));if(!1!==a)l[b][e](a,c,p)});return l},destroyParts:function(){this.processParts(null,null,"destroy");return this.originalDestroy()}};var H=k(b,{parts:["front","top","side"],pathType:"cuboid",attr:function(a,d,e,g){if("string"===typeof a&&"undefined"!==typeof d){var p=a;a={};a[p]=d}return a.shapeArgs||A(a.x)?this.singleSetterForParts("d",null,this.renderer[this.pathType+"Path"](a.shapeArgs||a)):c.prototype.attr.call(this,a,void 0,e,g)},animate:function(a,d,e){if(A(a.x)&&A(a.y)){a=this.renderer[this.pathType+
20
+ "Path"](a);var g=a.forcedSides;this.singleSetterForParts("d",null,a,"animate",d,e);this.attr({zIndex:a.zIndexes.group});g!==this.forcedSides&&(this.forcedSides=g,H.fillSetter.call(this,this.fill))}else c.prototype.animate.call(this,a,d,e);return this},fillSetter:function(a){this.forcedSides=this.forcedSides||[];this.singleSetterForParts("fill",null,{front:a,top:f(a).brighten(0<=this.forcedSides.indexOf("top")?0:.1).get(),side:f(a).brighten(0<=this.forcedSides.indexOf("side")?0:-.1).get()});this.color=
21
+ this.fill=a;return this}});x.prototype.elements3d={base:b,cuboid:H};x.prototype.element3d=function(a,d){var e=this.g();y(e,this.elements3d[a]);e.initArgs(d);return e};x.prototype.cuboid=function(a){return this.element3d("cuboid",a)};x.prototype.cuboidPath=function(a){function d(a){return 0===p&&1<a&&6>a?{x:E[a].x,y:E[a].y+10,z:E[a].z}:E[0].x===E[7].x&&4<=a?{x:E[a].x+10,y:E[a].y,z:E[a].z}:0===z&&2>a||5<a?{x:E[a].x,y:E[a].y,z:E[a].z+10}:E[a]}function e(a){return E[a]}var g=a.x,c=a.y,l=a.z||0,p=a.height,
22
+ t=a.width,z=a.depth,v=I[this.chartIndex],B=v.options.chart.options3d.alpha,b=0,E=[{x:g,y:c,z:l},{x:g+t,y:c,z:l},{x:g+t,y:c+p,z:l},{x:g,y:c+p,z:l},{x:g,y:c+p,z:l+z},{x:g+t,y:c+p,z:l+z},{x:g+t,y:c,z:l+z},{x:g,y:c,z:l+z}],f=[];E=r(E,v,a.insidePlotArea);var D=function(a,v,g){var c=[[],-1],l=a.map(e),B=v.map(e);a=a.map(d);v=v.map(d);0>m(l)?c=[l,0]:0>m(B)?c=[B,1]:g&&(f.push(g),c=0>m(a)?[l,0]:0>m(v)?[B,1]:[l,0]);return c};var C=D([3,2,1,0],[7,6,5,4],"front");a=C[0];var k=C[1];C=D([1,6,7,0],[4,5,2,3],"top");
23
+ t=C[0];var F=C[1];C=D([1,2,5,6],[0,7,4,3],"side");D=C[0];C=C[1];1===C?b+=1E6*(v.plotWidth-g):C||(b+=1E6*g);b+=10*(!F||0<=B&&180>=B||360>B&&357.5<B?v.plotHeight-c:10+c);1===k?b+=100*l:k||(b+=100*(1E3-l));return{front:this.toLinePath(a,!0),top:this.toLinePath(t,!0),side:this.toLinePath(D,!0),zIndexes:{group:Math.round(b)},forcedSides:f,isFront:k,isTop:F}};x.prototype.arc3d=function(a){function d(a){var d=!1,e={},g;a=k(a);for(g in a)-1!==b.indexOf(g)&&(e[g]=a[g],delete a[g],d=!0);return d?[e,a]:!1}var e=
24
+ this.g(),p=e.renderer,b="x y r innerR start end depth".split(" ");a=k(a);a.alpha=(a.alpha||0)*L;a.beta=(a.beta||0)*L;e.top=p.path();e.side1=p.path();e.side2=p.path();e.inn=p.path();e.out=p.path();e.onAdd=function(){var a=e.parentGroup,d=e.attr("class");e.top.add(e);["out","inn","side1","side2"].forEach(function(g){e[g].attr({"class":d+" highcharts-3d-side"}).add(a)})};["addClass","removeClass"].forEach(function(a){e[a]=function(){var d=arguments;["top","out","inn","side1","side2"].forEach(function(g){e[g][a].apply(e[g],
25
+ d)})}});e.setPaths=function(a){var d=e.renderer.arc3dPath(a),g=100*d.zTop;e.attribs=a;e.top.attr({d:d.top,zIndex:d.zTop});e.inn.attr({d:d.inn,zIndex:d.zInn});e.out.attr({d:d.out,zIndex:d.zOut});e.side1.attr({d:d.side1,zIndex:d.zSide1});e.side2.attr({d:d.side2,zIndex:d.zSide2});e.zIndex=g;e.attr({zIndex:g});a.center&&(e.top.setRadialReference(a.center),delete a.center)};e.setPaths(a);e.fillSetter=function(a){var d=f(a).brighten(-.1).get();this.fill=a;this.side1.attr({fill:d});this.side2.attr({fill:d});
26
+ this.inn.attr({fill:d});this.out.attr({fill:d});this.top.attr({fill:a});return this};["opacity","translateX","translateY","visibility"].forEach(function(a){e[a+"Setter"]=function(a,d){e[d]=a;["out","inn","side1","side2","top"].forEach(function(g){e[g].attr(d,a)})}});e.attr=function(a){var g;if("object"===typeof a&&(g=d(a))){var p=g[0];arguments[0]=g[1];y(e.attribs,p);e.setPaths(e.attribs)}return c.prototype.attr.apply(e,arguments)};e.animate=function(a,p,b){var z=this.attribs,v="data-"+Math.random().toString(26).substring(2,
27
+ 9);delete a.center;delete a.z;delete a.alpha;delete a.beta;var B=n(g(p,this.renderer.globalAnimation));if(B.duration){p=d(a);e[v]=0;a[v]=1;e[v+"Setter"]=w.noop;if(p){var l=p[0];B.step=function(a,d){function e(a){return z[a]+(g(l[a],z[a])-z[a])*d.pos}d.prop===v&&d.elem.setPaths(k(z,{x:e("x"),y:e("y"),r:e("r"),innerR:e("innerR"),start:e("start"),end:e("end"),depth:e("depth")}))}}p=B}return c.prototype.animate.call(this,a,p,b)};e.destroy=function(){this.top.destroy();this.out.destroy();this.inn.destroy();
28
+ this.side1.destroy();this.side2.destroy();return c.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(a){this.top.show(a);this.out.show(a);this.inn.show(a);this.side1.show(a);this.side2.show(a)};return e};x.prototype.arc3dPath=function(a){function g(a){a%=2*Math.PI;a>Math.PI&&(a=2*Math.PI-a);return a}var e=a.x,c=a.y,b=a.start,l=a.end-.00001,f=a.r,t=a.innerR||0,z=a.depth||0,v=a.alpha,B=a.beta,m=Math.cos(b),
29
+ E=Math.sin(b);a=Math.cos(l);var k=Math.sin(l),D=f*Math.cos(B);f*=Math.cos(v);var F=t*Math.cos(B),r=t*Math.cos(v);t=z*Math.sin(B);var h=z*Math.sin(v);z=[["M",e+D*m,c+f*E]];z=z.concat(q(e,c,D,f,b,l,0,0));z.push(["L",e+F*a,c+r*k]);z=z.concat(q(e,c,F,r,l,b,0,0));z.push(["Z"]);var n=0<B?Math.PI/2:0;B=0<v?0:Math.PI/2;n=b>-n?b:l>-n?-n:b;var H=l<d-B?l:b<d-B?d-B:l,I=2*d-B;v=[["M",e+D*C(n),c+f*p(n)]];v=v.concat(q(e,c,D,f,n,H,0,0));l>I&&b<I?(v.push(["L",e+D*C(H)+t,c+f*p(H)+h]),v=v.concat(q(e,c,D,f,H,I,t,h)),
30
+ v.push(["L",e+D*C(I),c+f*p(I)]),v=v.concat(q(e,c,D,f,I,l,0,0)),v.push(["L",e+D*C(l)+t,c+f*p(l)+h]),v=v.concat(q(e,c,D,f,l,I,t,h)),v.push(["L",e+D*C(I),c+f*p(I)]),v=v.concat(q(e,c,D,f,I,H,0,0))):l>d-B&&b<d-B&&(v.push(["L",e+D*Math.cos(H)+t,c+f*Math.sin(H)+h]),v=v.concat(q(e,c,D,f,H,l,t,h)),v.push(["L",e+D*Math.cos(l),c+f*Math.sin(l)]),v=v.concat(q(e,c,D,f,l,H,0,0)));v.push(["L",e+D*Math.cos(H)+t,c+f*Math.sin(H)+h]);v=v.concat(q(e,c,D,f,H,n,t,h));v.push(["Z"]);B=[["M",e+F*m,c+r*E]];B=B.concat(q(e,c,
31
+ F,r,b,l,0,0));B.push(["L",e+F*Math.cos(l)+t,c+r*Math.sin(l)+h]);B=B.concat(q(e,c,F,r,l,b,t,h));B.push(["Z"]);m=[["M",e+D*m,c+f*E],["L",e+D*m+t,c+f*E+h],["L",e+F*m+t,c+r*E+h],["L",e+F*m,c+r*E],["Z"]];e=[["M",e+D*a,c+f*k],["L",e+D*a+t,c+f*k+h],["L",e+F*a+t,c+r*k+h],["L",e+F*a,c+r*k],["Z"]];k=Math.atan2(h,-t);c=Math.abs(l+k);a=Math.abs(b+k);b=Math.abs((b+l)/2+k);c=g(c);a=g(a);b=g(b);b*=1E5;l=1E5*a;c*=1E5;return{top:z,zTop:1E5*Math.PI+1,out:v,zOut:Math.max(b,l,c),inn:B,zInn:Math.max(b,l,c),side1:m,zSide1:.99*
32
+ c,side2:e,zSide2:.99*l}};return x});G(b,"Core/Axis/Tick3D.js",[b["Core/Utilities.js"]],function(b){var u=b.addEvent,w=b.extend,y=b.wrap;return function(){function c(){}c.compose=function(b){u(b,"afterGetLabelPosition",c.onAfterGetLabelPosition);y(b.prototype,"getMarkPath",c.wrapGetMarkPath)};c.onAfterGetLabelPosition=function(c){var b=this.axis.axis3D;b&&w(c.pos,b.fix3dPosition(c.pos))};c.wrapGetMarkPath=function(c){var b=this.axis.axis3D,q=c.apply(this,[].slice.call(arguments,1));if(b){var n=q[0],
33
+ f=q[1];if("M"===n[0]&&"L"===f[0])return b=[b.fix3dPosition({x:n[1],y:n[2],z:0}),b.fix3dPosition({x:f[1],y:f[2],z:0})],this.axis.chart.renderer.toLineSegments(b)}return q};return c}()});G(b,"Core/Axis/Axis3D.js",[b["Core/Globals.js"],b["Extensions/Math3D.js"],b["Core/Axis/Tick.js"],b["Core/Axis/Tick3D.js"],b["Core/Utilities.js"]],function(b,u,w,J,c){var x=u.perspective,h=u.perspective3D,q=u.shapeArea,n=c.addEvent,f=c.merge,r=c.pick,m=c.wrap,A=b.deg2rad,y=function(){function c(a){this.axis=a}c.prototype.fix3dPosition=
34
+ function(a,c){var g=this.axis,d=g.chart;if("colorAxis"===g.coll||!d.chart3d||!d.is3d())return a;var b=A*d.options.chart.options3d.alpha,f=A*d.options.chart.options3d.beta,m=r(c&&g.options.title.position3d,g.options.labels.position3d);c=r(c&&g.options.title.skew3d,g.options.labels.skew3d);var k=d.chart3d.frame3d,h=d.plotLeft,n=d.plotWidth+h,u=d.plotTop,e=d.plotHeight+u;d=!1;var w=0,y=0,l={x:0,y:1,z:0};a=g.axis3D.swapZ({x:a.x,y:a.y,z:0});if(g.isZAxis)if(g.opposite){if(null===k.axes.z.top)return{};y=
35
+ a.y-u;a.x=k.axes.z.top.x;a.y=k.axes.z.top.y;h=k.axes.z.top.xDir;d=!k.top.frontFacing}else{if(null===k.axes.z.bottom)return{};y=a.y-e;a.x=k.axes.z.bottom.x;a.y=k.axes.z.bottom.y;h=k.axes.z.bottom.xDir;d=!k.bottom.frontFacing}else if(g.horiz)if(g.opposite){if(null===k.axes.x.top)return{};y=a.y-u;a.y=k.axes.x.top.y;a.z=k.axes.x.top.z;h=k.axes.x.top.xDir;d=!k.top.frontFacing}else{if(null===k.axes.x.bottom)return{};y=a.y-e;a.y=k.axes.x.bottom.y;a.z=k.axes.x.bottom.z;h=k.axes.x.bottom.xDir;d=!k.bottom.frontFacing}else if(g.opposite){if(null===
36
+ k.axes.y.right)return{};w=a.x-n;a.x=k.axes.y.right.x;a.z=k.axes.y.right.z;h=k.axes.y.right.xDir;h={x:h.z,y:h.y,z:-h.x}}else{if(null===k.axes.y.left)return{};w=a.x-h;a.x=k.axes.y.left.x;a.z=k.axes.y.left.z;h=k.axes.y.left.xDir}"chart"!==m&&("flap"===m?g.horiz?(f=Math.sin(b),b=Math.cos(b),g.opposite&&(f=-f),d&&(f=-f),l={x:h.z*f,y:b,z:-h.x*f}):h={x:Math.cos(f),y:0,z:Math.sin(f)}:"ortho"===m?g.horiz?(l=Math.cos(b),m=Math.sin(f)*l,b=-Math.sin(b),f=-l*Math.cos(f),l={x:h.y*f-h.z*b,y:h.z*m-h.x*f,z:h.x*b-
37
+ h.y*m},b=1/Math.sqrt(l.x*l.x+l.y*l.y+l.z*l.z),d&&(b=-b),l={x:b*l.x,y:b*l.y,z:b*l.z}):h={x:Math.cos(f),y:0,z:Math.sin(f)}:g.horiz?l={x:Math.sin(f)*Math.sin(b),y:Math.cos(b),z:-Math.cos(f)*Math.sin(b)}:h={x:Math.cos(f),y:0,z:Math.sin(f)});a.x+=w*h.x+y*l.x;a.y+=w*h.y+y*l.y;a.z+=w*h.z+y*l.z;d=x([a],g.chart)[0];c&&(0>q(x([a,{x:a.x+h.x,y:a.y+h.y,z:a.z+h.z},{x:a.x+l.x,y:a.y+l.y,z:a.z+l.z}],g.chart))&&(h={x:-h.x,y:-h.y,z:-h.z}),a=x([{x:a.x,y:a.y,z:a.z},{x:a.x+h.x,y:a.y+h.y,z:a.z+h.z},{x:a.x+l.x,y:a.y+l.y,
38
+ z:a.z+l.z}],g.chart),d.matrix=[a[1].x-a[0].x,a[1].y-a[0].y,a[2].x-a[0].x,a[2].y-a[0].y,d.x,d.y],d.matrix[4]-=d.x*d.matrix[0]+d.y*d.matrix[2],d.matrix[5]-=d.x*d.matrix[1]+d.y*d.matrix[3]);return d};c.prototype.swapZ=function(a,g){var c=this.axis;return c.isZAxis?(g=g?0:c.chart.plotLeft,{x:g+a.z,y:a.y,z:a.x-g}):a};return c}();return function(){function c(){}c.compose=function(a){f(!0,a.defaultOptions,c.defaultOptions);a.keepProps.push("axis3D");n(a,"init",c.onInit);n(a,"afterSetOptions",c.onAfterSetOptions);
39
+ n(a,"drawCrosshair",c.onDrawCrosshair);n(a,"destroy",c.onDestroy);a=a.prototype;m(a,"getLinePath",c.wrapGetLinePath);m(a,"getPlotBandPath",c.wrapGetPlotBandPath);m(a,"getPlotLinePath",c.wrapGetPlotLinePath);m(a,"getSlotWidth",c.wrapGetSlotWidth);m(a,"getTitlePosition",c.wrapGetTitlePosition);J.compose(w)};c.onAfterSetOptions=function(){var a=this.chart,c=this.options;a.is3d&&a.is3d()&&"colorAxis"!==this.coll&&(c.tickWidth=r(c.tickWidth,0),c.gridLineWidth=r(c.gridLineWidth,1))};c.onDestroy=function(){["backFrame",
40
+ "bottomFrame","sideFrame"].forEach(function(a){this[a]&&(this[a]=this[a].destroy())},this)};c.onDrawCrosshair=function(a){this.chart.is3d()&&"colorAxis"!==this.coll&&a.point&&(a.point.crosshairPos=this.isXAxis?a.point.axisXpos:this.len-a.point.axisYpos)};c.onInit=function(){this.axis3D||(this.axis3D=new y(this))};c.wrapGetLinePath=function(a){return this.chart.is3d()&&"colorAxis"!==this.coll?[]:a.apply(this,[].slice.call(arguments,1))};c.wrapGetPlotBandPath=function(a){if(!this.chart.is3d()||"colorAxis"===
41
+ this.coll)return a.apply(this,[].slice.call(arguments,1));var c=arguments,b=c[2],d=[];c=this.getPlotLinePath({value:c[1]});b=this.getPlotLinePath({value:b});if(c&&b)for(var f=0;f<c.length;f+=2){var h=c[f],m=c[f+1],k=b[f],r=b[f+1];"M"===h[0]&&"L"===m[0]&&"M"===k[0]&&"L"===r[0]&&d.push(h,m,r,["L",k[1],k[2]],["Z"])}return d};c.wrapGetPlotLinePath=function(a){var c=this.axis3D,b=this.chart,d=a.apply(this,[].slice.call(arguments,1));if("colorAxis"===this.coll||!b.chart3d||!b.is3d()||null===d)return d;
42
+ var f=b.options.chart.options3d,h=this.isZAxis?b.plotWidth:f.depth;f=b.chart3d.frame3d;var m=d[0],k=d[1];d=[];"M"===m[0]&&"L"===k[0]&&(c=[c.swapZ({x:m[1],y:m[2],z:0}),c.swapZ({x:m[1],y:m[2],z:h}),c.swapZ({x:k[1],y:k[2],z:0}),c.swapZ({x:k[1],y:k[2],z:h})],this.horiz?(this.isZAxis?(f.left.visible&&d.push(c[0],c[2]),f.right.visible&&d.push(c[1],c[3])):(f.front.visible&&d.push(c[0],c[2]),f.back.visible&&d.push(c[1],c[3])),f.top.visible&&d.push(c[0],c[1]),f.bottom.visible&&d.push(c[2],c[3])):(f.front.visible&&
43
+ d.push(c[0],c[2]),f.back.visible&&d.push(c[1],c[3]),f.left.visible&&d.push(c[0],c[1]),f.right.visible&&d.push(c[2],c[3])),d=x(d,this.chart,!1));return b.renderer.toLineSegments(d)};c.wrapGetSlotWidth=function(a,c){var b=this.chart,d=this.ticks,f=this.gridGroup;if(this.categories&&b.frameShapes&&b.is3d()&&f&&c&&c.label){f=f.element.childNodes[0].getBBox();var g=b.frameShapes.left.getBBox(),m=b.options.chart.options3d;b={x:b.plotWidth/2,y:b.plotHeight/2,z:m.depth/2,vd:r(m.depth,1)*r(m.viewDistance,
44
+ 0)};var k,n;m=c.pos;var q=d[m-1];d=d[m+1];0!==m&&q&&q.label.xy&&(k=h({x:q.label.xy.x,y:q.label.xy.y,z:null},b,b.vd));d&&d.label.xy&&(n=h({x:d.label.xy.x,y:d.label.xy.y,z:null},b,b.vd));d={x:c.label.xy.x,y:c.label.xy.y,z:null};d=h(d,b,b.vd);return Math.abs(k?d.x-k.x:n?n.x-d.x:f.x-g.x)}return a.apply(this,[].slice.call(arguments,1))};c.wrapGetTitlePosition=function(a){var c=a.apply(this,[].slice.call(arguments,1));return this.axis3D?this.axis3D.fix3dPosition(c,!0):c};c.defaultOptions={labels:{position3d:"offset",
45
+ skew3d:!1},title:{position3d:null,skew3d:null}};return c}()});G(b,"Core/Axis/ZAxis.js",[b["Core/Axis/Axis.js"],b["Core/Utilities.js"]],function(b,u){var w=this&&this.__extends||function(){var c=function(b,f){c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,b){c.__proto__=b}||function(c,b){for(var f in b)b.hasOwnProperty(f)&&(c[f]=b[f])};return c(b,f)};return function(b,f){function h(){this.constructor=b}c(b,f);b.prototype=null===f?Object.create(f):(h.prototype=f.prototype,new h)}}(),
46
+ y=u.addEvent,c=u.merge,x=u.pick,h=u.splat,q=function(){function c(){}c.compose=function(b){y(b,"afterGetAxes",c.onAfterGetAxes);b=b.prototype;b.addZAxis=c.wrapAddZAxis;b.collectionsWithInit.zAxis=[b.addZAxis];b.collectionsWithUpdate.push("zAxis")};c.onAfterGetAxes=function(){var c=this,b=this.options;b=b.zAxis=h(b.zAxis||{});c.is3d()&&(c.zAxis=[],b.forEach(function(b,f){b.index=f;b.isX=!0;c.addZAxis(b).setScale()}))};c.wrapAddZAxis=function(c){return new n(this,c)};return c}(),n=function(b){function f(c,
47
+ f){c=b.call(this,c,f)||this;c.isZAxis=!0;return c}w(f,b);f.prototype.getSeriesExtremes=function(){var c=this,b=c.chart;c.hasVisibleSeries=!1;c.dataMin=c.dataMax=c.ignoreMinPadding=c.ignoreMaxPadding=void 0;c.stacking&&c.stacking.buildStacks();c.series.forEach(function(f){!f.visible&&b.options.chart&&b.options.chart.ignoreHiddenSeries||(c.hasVisibleSeries=!0,f=f.zData,f.length&&(c.dataMin=Math.min(x(c.dataMin,f[0]),Math.min.apply(null,f)),c.dataMax=Math.max(x(c.dataMax,f[0]),Math.max.apply(null,f))))})};
48
+ f.prototype.setAxisSize=function(){var c=this.chart;b.prototype.setAxisSize.call(this);this.width=this.len=c.options.chart&&c.options.chart.options3d&&c.options.chart.options3d.depth||0;this.right=c.chartWidth-this.width-this.left};f.prototype.setOptions=function(f){f=c({offset:0,lineWidth:0},f);b.prototype.setOptions.call(this,f);this.coll="zAxis"};f.ZChartComposition=q;return f}(b);return n});G(b,"Core/Chart/Chart3D.js",[b["Core/Axis/Axis.js"],b["Core/Axis/Axis3D.js"],b["Core/Chart/Chart.js"],b["Core/Animation/Fx.js"],
49
+ b["Core/Globals.js"],b["Extensions/Math3D.js"],b["Core/Options.js"],b["Core/Utilities.js"],b["Core/Axis/ZAxis.js"]],function(b,u,w,J,c,x,h,q,n){var f=x.perspective,r=x.shapeArea3D,m=h.defaultOptions,A=q.addEvent,y=q.isArray,k=q.merge,a=q.pick,g=q.wrap,C;(function(b){function d(a){this.is3d()&&"scatter"===a.options.type&&(a.options.type="scatter3d")}function h(){if(this.chart3d&&this.is3d()){var a=this.renderer,b=this.options.chart.options3d,d=this.chart3d.get3dFrame(),f=this.plotLeft,e=this.plotLeft+
50
+ this.plotWidth,g=this.plotTop,h=this.plotTop+this.plotHeight;b=b.depth;var k=f-(d.left.visible?d.left.size:0),l=e+(d.right.visible?d.right.size:0),p=g-(d.top.visible?d.top.size:0),m=h+(d.bottom.visible?d.bottom.size:0),n=0-(d.front.visible?d.front.size:0),q=b+(d.back.visible?d.back.size:0),r=this.hasRendered?"animate":"attr";this.chart3d.frame3d=d;this.frameShapes||(this.frameShapes={bottom:a.polyhedron().add(),top:a.polyhedron().add(),left:a.polyhedron().add(),right:a.polyhedron().add(),back:a.polyhedron().add(),
51
+ front:a.polyhedron().add()});this.frameShapes.bottom[r]({"class":"highcharts-3d-frame highcharts-3d-frame-bottom",zIndex:d.bottom.frontFacing?-1E3:1E3,faces:[{fill:c.color(d.bottom.color).brighten(.1).get(),vertexes:[{x:k,y:m,z:n},{x:l,y:m,z:n},{x:l,y:m,z:q},{x:k,y:m,z:q}],enabled:d.bottom.visible},{fill:c.color(d.bottom.color).brighten(.1).get(),vertexes:[{x:f,y:h,z:b},{x:e,y:h,z:b},{x:e,y:h,z:0},{x:f,y:h,z:0}],enabled:d.bottom.visible},{fill:c.color(d.bottom.color).brighten(-.1).get(),vertexes:[{x:k,
52
+ y:m,z:n},{x:k,y:m,z:q},{x:f,y:h,z:b},{x:f,y:h,z:0}],enabled:d.bottom.visible&&!d.left.visible},{fill:c.color(d.bottom.color).brighten(-.1).get(),vertexes:[{x:l,y:m,z:q},{x:l,y:m,z:n},{x:e,y:h,z:0},{x:e,y:h,z:b}],enabled:d.bottom.visible&&!d.right.visible},{fill:c.color(d.bottom.color).get(),vertexes:[{x:l,y:m,z:n},{x:k,y:m,z:n},{x:f,y:h,z:0},{x:e,y:h,z:0}],enabled:d.bottom.visible&&!d.front.visible},{fill:c.color(d.bottom.color).get(),vertexes:[{x:k,y:m,z:q},{x:l,y:m,z:q},{x:e,y:h,z:b},{x:f,y:h,z:b}],
53
+ enabled:d.bottom.visible&&!d.back.visible}]});this.frameShapes.top[r]({"class":"highcharts-3d-frame highcharts-3d-frame-top",zIndex:d.top.frontFacing?-1E3:1E3,faces:[{fill:c.color(d.top.color).brighten(.1).get(),vertexes:[{x:k,y:p,z:q},{x:l,y:p,z:q},{x:l,y:p,z:n},{x:k,y:p,z:n}],enabled:d.top.visible},{fill:c.color(d.top.color).brighten(.1).get(),vertexes:[{x:f,y:g,z:0},{x:e,y:g,z:0},{x:e,y:g,z:b},{x:f,y:g,z:b}],enabled:d.top.visible},{fill:c.color(d.top.color).brighten(-.1).get(),vertexes:[{x:k,y:p,
54
+ z:q},{x:k,y:p,z:n},{x:f,y:g,z:0},{x:f,y:g,z:b}],enabled:d.top.visible&&!d.left.visible},{fill:c.color(d.top.color).brighten(-.1).get(),vertexes:[{x:l,y:p,z:n},{x:l,y:p,z:q},{x:e,y:g,z:b},{x:e,y:g,z:0}],enabled:d.top.visible&&!d.right.visible},{fill:c.color(d.top.color).get(),vertexes:[{x:k,y:p,z:n},{x:l,y:p,z:n},{x:e,y:g,z:0},{x:f,y:g,z:0}],enabled:d.top.visible&&!d.front.visible},{fill:c.color(d.top.color).get(),vertexes:[{x:l,y:p,z:q},{x:k,y:p,z:q},{x:f,y:g,z:b},{x:e,y:g,z:b}],enabled:d.top.visible&&
55
+ !d.back.visible}]});this.frameShapes.left[r]({"class":"highcharts-3d-frame highcharts-3d-frame-left",zIndex:d.left.frontFacing?-1E3:1E3,faces:[{fill:c.color(d.left.color).brighten(.1).get(),vertexes:[{x:k,y:m,z:n},{x:f,y:h,z:0},{x:f,y:h,z:b},{x:k,y:m,z:q}],enabled:d.left.visible&&!d.bottom.visible},{fill:c.color(d.left.color).brighten(.1).get(),vertexes:[{x:k,y:p,z:q},{x:f,y:g,z:b},{x:f,y:g,z:0},{x:k,y:p,z:n}],enabled:d.left.visible&&!d.top.visible},{fill:c.color(d.left.color).brighten(-.1).get(),
56
+ vertexes:[{x:k,y:m,z:q},{x:k,y:p,z:q},{x:k,y:p,z:n},{x:k,y:m,z:n}],enabled:d.left.visible},{fill:c.color(d.left.color).brighten(-.1).get(),vertexes:[{x:f,y:g,z:b},{x:f,y:h,z:b},{x:f,y:h,z:0},{x:f,y:g,z:0}],enabled:d.left.visible},{fill:c.color(d.left.color).get(),vertexes:[{x:k,y:m,z:n},{x:k,y:p,z:n},{x:f,y:g,z:0},{x:f,y:h,z:0}],enabled:d.left.visible&&!d.front.visible},{fill:c.color(d.left.color).get(),vertexes:[{x:k,y:p,z:q},{x:k,y:m,z:q},{x:f,y:h,z:b},{x:f,y:g,z:b}],enabled:d.left.visible&&!d.back.visible}]});
57
+ this.frameShapes.right[r]({"class":"highcharts-3d-frame highcharts-3d-frame-right",zIndex:d.right.frontFacing?-1E3:1E3,faces:[{fill:c.color(d.right.color).brighten(.1).get(),vertexes:[{x:l,y:m,z:q},{x:e,y:h,z:b},{x:e,y:h,z:0},{x:l,y:m,z:n}],enabled:d.right.visible&&!d.bottom.visible},{fill:c.color(d.right.color).brighten(.1).get(),vertexes:[{x:l,y:p,z:n},{x:e,y:g,z:0},{x:e,y:g,z:b},{x:l,y:p,z:q}],enabled:d.right.visible&&!d.top.visible},{fill:c.color(d.right.color).brighten(-.1).get(),vertexes:[{x:e,
58
+ y:g,z:0},{x:e,y:h,z:0},{x:e,y:h,z:b},{x:e,y:g,z:b}],enabled:d.right.visible},{fill:c.color(d.right.color).brighten(-.1).get(),vertexes:[{x:l,y:m,z:n},{x:l,y:p,z:n},{x:l,y:p,z:q},{x:l,y:m,z:q}],enabled:d.right.visible},{fill:c.color(d.right.color).get(),vertexes:[{x:l,y:p,z:n},{x:l,y:m,z:n},{x:e,y:h,z:0},{x:e,y:g,z:0}],enabled:d.right.visible&&!d.front.visible},{fill:c.color(d.right.color).get(),vertexes:[{x:l,y:m,z:q},{x:l,y:p,z:q},{x:e,y:g,z:b},{x:e,y:h,z:b}],enabled:d.right.visible&&!d.back.visible}]});
59
+ this.frameShapes.back[r]({"class":"highcharts-3d-frame highcharts-3d-frame-back",zIndex:d.back.frontFacing?-1E3:1E3,faces:[{fill:c.color(d.back.color).brighten(.1).get(),vertexes:[{x:l,y:m,z:q},{x:k,y:m,z:q},{x:f,y:h,z:b},{x:e,y:h,z:b}],enabled:d.back.visible&&!d.bottom.visible},{fill:c.color(d.back.color).brighten(.1).get(),vertexes:[{x:k,y:p,z:q},{x:l,y:p,z:q},{x:e,y:g,z:b},{x:f,y:g,z:b}],enabled:d.back.visible&&!d.top.visible},{fill:c.color(d.back.color).brighten(-.1).get(),vertexes:[{x:k,y:m,
60
+ z:q},{x:k,y:p,z:q},{x:f,y:g,z:b},{x:f,y:h,z:b}],enabled:d.back.visible&&!d.left.visible},{fill:c.color(d.back.color).brighten(-.1).get(),vertexes:[{x:l,y:p,z:q},{x:l,y:m,z:q},{x:e,y:h,z:b},{x:e,y:g,z:b}],enabled:d.back.visible&&!d.right.visible},{fill:c.color(d.back.color).get(),vertexes:[{x:f,y:g,z:b},{x:e,y:g,z:b},{x:e,y:h,z:b},{x:f,y:h,z:b}],enabled:d.back.visible},{fill:c.color(d.back.color).get(),vertexes:[{x:k,y:m,z:q},{x:l,y:m,z:q},{x:l,y:p,z:q},{x:k,y:p,z:q}],enabled:d.back.visible}]});this.frameShapes.front[r]({"class":"highcharts-3d-frame highcharts-3d-frame-front",
61
+ zIndex:d.front.frontFacing?-1E3:1E3,faces:[{fill:c.color(d.front.color).brighten(.1).get(),vertexes:[{x:k,y:m,z:n},{x:l,y:m,z:n},{x:e,y:h,z:0},{x:f,y:h,z:0}],enabled:d.front.visible&&!d.bottom.visible},{fill:c.color(d.front.color).brighten(.1).get(),vertexes:[{x:l,y:p,z:n},{x:k,y:p,z:n},{x:f,y:g,z:0},{x:e,y:g,z:0}],enabled:d.front.visible&&!d.top.visible},{fill:c.color(d.front.color).brighten(-.1).get(),vertexes:[{x:k,y:p,z:n},{x:k,y:m,z:n},{x:f,y:h,z:0},{x:f,y:g,z:0}],enabled:d.front.visible&&!d.left.visible},
62
+ {fill:c.color(d.front.color).brighten(-.1).get(),vertexes:[{x:l,y:m,z:n},{x:l,y:p,z:n},{x:e,y:g,z:0},{x:e,y:h,z:0}],enabled:d.front.visible&&!d.right.visible},{fill:c.color(d.front.color).get(),vertexes:[{x:e,y:g,z:0},{x:f,y:g,z:0},{x:f,y:h,z:0},{x:e,y:h,z:0}],enabled:d.front.visible},{fill:c.color(d.front.color).get(),vertexes:[{x:l,y:m,z:n},{x:k,y:m,z:n},{x:k,y:p,z:n},{x:l,y:p,z:n}],enabled:d.front.visible}]})}}function n(){this.styledMode&&(this.renderer.definition({tagName:"style",textContent:".highcharts-3d-top{filter: url(#highcharts-brighter)}\n.highcharts-3d-side{filter: url(#highcharts-darker)}\n"}),
63
+ [{name:"darker",slope:.6},{name:"brighter",slope:1.4}].forEach(function(a){this.renderer.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))}function q(){var a=this.options;this.is3d()&&(a.series||[]).forEach(function(d){"scatter"===(d.type||a.chart.type||a.chart.defaultSeriesType)&&(d.type=
64
+ "scatter3d")})}function C(){var a=this.options.chart.options3d;if(this.chart3d&&this.is3d()){a&&(a.alpha=a.alpha%360+(0<=a.alpha?0:360),a.beta=a.beta%360+(0<=a.beta?0:360));var d=this.inverted,c=this.clipBox,b=this.margin;c[d?"y":"x"]=-(b[3]||0);c[d?"x":"y"]=-(b[0]||0);c[d?"height":"width"]=this.chartWidth+(b[3]||0)+(b[1]||0);c[d?"width":"height"]=this.chartHeight+(b[0]||0)+(b[2]||0);this.scale3d=1;!0===a.fitToPlot&&(this.scale3d=this.chart3d.getScale(a.depth));this.chart3d.frame3d=this.chart3d.get3dFrame()}}
65
+ function u(){this.is3d()&&(this.isDirtyBox=!0)}function w(){this.chart3d&&this.is3d()&&(this.chart3d.frame3d=this.chart3d.get3dFrame())}function e(){this.chart3d||(this.chart3d=new G(this))}function x(a){return this.is3d()||a.apply(this,[].slice.call(arguments,1))}function J(a){var d=this.series.length;if(this.is3d())for(;d--;)a=this.series[d],a.translate(),a.render();else a.call(this)}function l(a){a.apply(this,[].slice.call(arguments,1));this.is3d()&&(this.container.className+=" highcharts-3d-chart")}
66
+ var G=function(){function d(a){this.frame3d=void 0;this.chart=a}d.prototype.get3dFrame=function(){var d=this.chart,c=d.options.chart.options3d,b=c.frame,e=d.plotLeft,g=d.plotLeft+d.plotWidth,h=d.plotTop,k=d.plotTop+d.plotHeight,l=c.depth,p=function(a){a=r(a,d);return.5<a?1:-.5>a?-1:0},m=p([{x:e,y:k,z:l},{x:g,y:k,z:l},{x:g,y:k,z:0},{x:e,y:k,z:0}]),n=p([{x:e,y:h,z:0},{x:g,y:h,z:0},{x:g,y:h,z:l},{x:e,y:h,z:l}]),q=p([{x:e,y:h,z:0},{x:e,y:h,z:l},{x:e,y:k,z:l},{x:e,y:k,z:0}]),t=p([{x:g,y:h,z:l},{x:g,y:h,
67
+ z:0},{x:g,y:k,z:0},{x:g,y:k,z:l}]),C=p([{x:e,y:k,z:0},{x:g,y:k,z:0},{x:g,y:h,z:0},{x:e,y:h,z:0}]);p=p([{x:e,y:h,z:l},{x:g,y:h,z:l},{x:g,y:k,z:l},{x:e,y:k,z:l}]);var u=!1,F=!1,w=!1,y=!1;[].concat(d.xAxis,d.yAxis,d.zAxis).forEach(function(a){a&&(a.horiz?a.opposite?F=!0:u=!0:a.opposite?y=!0:w=!0)});var x=function(d,b,c){for(var e=["size","color","visible"],f={},g=0;g<e.length;g++)for(var h=e[g],k=0;k<d.length;k++)if("object"===typeof d[k]){var l=d[k][h];if("undefined"!==typeof l&&null!==l){f[h]=l;break}}d=
68
+ c;!0===f.visible||!1===f.visible?d=f.visible:"auto"===f.visible&&(d=0<b);return{size:a(f.size,1),color:a(f.color,"none"),frontFacing:0<b,visible:d}};b={axes:{},bottom:x([b.bottom,b.top,b],m,u),top:x([b.top,b.bottom,b],n,F),left:x([b.left,b.right,b.side,b],q,w),right:x([b.right,b.left,b.side,b],t,y),back:x([b.back,b.front,b],p,!0),front:x([b.front,b.back,b],C,!1)};"auto"===c.axisLabelPosition?(t=function(a,d){return a.visible!==d.visible||a.visible&&d.visible&&a.frontFacing!==d.frontFacing},c=[],t(b.left,
69
+ b.front)&&c.push({y:(h+k)/2,x:e,z:0,xDir:{x:1,y:0,z:0}}),t(b.left,b.back)&&c.push({y:(h+k)/2,x:e,z:l,xDir:{x:0,y:0,z:-1}}),t(b.right,b.front)&&c.push({y:(h+k)/2,x:g,z:0,xDir:{x:0,y:0,z:1}}),t(b.right,b.back)&&c.push({y:(h+k)/2,x:g,z:l,xDir:{x:-1,y:0,z:0}}),m=[],t(b.bottom,b.front)&&m.push({x:(e+g)/2,y:k,z:0,xDir:{x:1,y:0,z:0}}),t(b.bottom,b.back)&&m.push({x:(e+g)/2,y:k,z:l,xDir:{x:-1,y:0,z:0}}),n=[],t(b.top,b.front)&&n.push({x:(e+g)/2,y:h,z:0,xDir:{x:1,y:0,z:0}}),t(b.top,b.back)&&n.push({x:(e+g)/
70
+ 2,y:h,z:l,xDir:{x:-1,y:0,z:0}}),q=[],t(b.bottom,b.left)&&q.push({z:(0+l)/2,y:k,x:e,xDir:{x:0,y:0,z:-1}}),t(b.bottom,b.right)&&q.push({z:(0+l)/2,y:k,x:g,xDir:{x:0,y:0,z:1}}),k=[],t(b.top,b.left)&&k.push({z:(0+l)/2,y:h,x:e,xDir:{x:0,y:0,z:-1}}),t(b.top,b.right)&&k.push({z:(0+l)/2,y:h,x:g,xDir:{x:0,y:0,z:1}}),e=function(a,b,c){if(0===a.length)return null;if(1===a.length)return a[0];for(var e=0,g=f(a,d,!1),h=1;h<g.length;h++)c*g[h][b]>c*g[e][b]?e=h:c*g[h][b]===c*g[e][b]&&g[h].z<g[e].z&&(e=h);return a[e]},
71
+ b.axes={y:{left:e(c,"x",-1),right:e(c,"x",1)},x:{top:e(n,"y",-1),bottom:e(m,"y",1)},z:{top:e(k,"y",-1),bottom:e(q,"y",1)}}):b.axes={y:{left:{x:e,z:0,xDir:{x:1,y:0,z:0}},right:{x:g,z:0,xDir:{x:0,y:0,z:1}}},x:{top:{y:h,z:0,xDir:{x:1,y:0,z:0}},bottom:{y:k,z:0,xDir:{x:1,y:0,z:0}}},z:{top:{x:w?g:e,y:h,xDir:w?{x:0,y:0,z:1}:{x:0,y:0,z:-1}},bottom:{x:w?g:e,y:k,xDir:w?{x:0,y:0,z:1}:{x:0,y:0,z:-1}}}};return b};d.prototype.getScale=function(a){var d=this.chart,b=d.plotLeft,c=d.plotWidth+b,e=d.plotTop,g=d.plotHeight+
72
+ e,h=b+d.plotWidth/2,k=e+d.plotHeight/2,l=Number.MAX_VALUE,p=-Number.MAX_VALUE,m=Number.MAX_VALUE,n=-Number.MAX_VALUE,q=1;var t=[{x:b,y:e,z:0},{x:b,y:e,z:a}];[0,1].forEach(function(a){t.push({x:c,y:t[a].y,z:t[a].z})});[0,1,2,3].forEach(function(a){t.push({x:t[a].x,y:g,z:t[a].z})});t=f(t,d,!1);t.forEach(function(a){l=Math.min(l,a.x);p=Math.max(p,a.x);m=Math.min(m,a.y);n=Math.max(n,a.y)});b>l&&(q=Math.min(q,1-Math.abs((b+h)/(l+h))%1));c<p&&(q=Math.min(q,(c-h)/(p-h)));e>m&&(q=0>m?Math.min(q,(e+k)/(-m+
73
+ e+k)):Math.min(q,1-(e+k)/(m+k)%1));g<n&&(q=Math.min(q,Math.abs((g-k)/(n-k))));return q};return d}();b.Composition=G;b.defaultOptions={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:{}}}}};b.compose=function(a,f){var p=a.prototype;f=f.prototype;p.is3d=function(){return this.options.chart.options3d&&this.options.chart.options3d.enabled};p.propsRequireDirtyBox.push("chart.options3d");
74
+ p.propsRequireUpdateSeries.push("chart.options3d");f.matrixSetter=function(){if(1>this.pos&&(y(this.start)||y(this.end))){var a=this.start||[1,0,0,1,0,0],d=this.end||[1,0,0,1,0,0];var b=[];for(var c=0;6>c;c++)b.push(this.pos*d[c]+(1-this.pos)*a[c])}else b=this.end;this.elem.attr(this.prop,b,null,!0)};k(!0,m,b.defaultOptions);A(a,"init",e);A(a,"addSeries",d);A(a,"afterDrawChartBox",h);A(a,"afterGetContainer",n);A(a,"afterInit",q);A(a,"afterSetChartSize",C);A(a,"beforeRedraw",u);A(a,"beforeRender",
75
+ w);g(c.Chart.prototype,"isInsidePlot",x);g(a,"renderSeries",J);g(a,"setClassName",l)}})(C||(C={}));C.compose(w,J);n.ZChartComposition.compose(w);u.compose(b);"";return C});G(b,"Core/Series/Series3D.js",[b["Core/Globals.js"],b["Extensions/Math3D.js"],b["Core/Utilities.js"]],function(b,u,w){var y=u.perspective;u=w.addEvent;var c=w.pick;u(b.Series,"afterTranslate",function(){this.chart.is3d()&&this.translate3dPoints()});b.Series.prototype.translate3dPoints=function(){var b=this.chart,h=c(this.zAxis,
76
+ b.options.zAxis[0]),q=[],n;for(n=0;n<this.data.length;n++){var f=this.data[n];if(h&&h.translate){var r=h.logarithmic&&h.val2lin?h.val2lin(f.z):f.z;f.plotZ=h.translate(r);f.isInside=f.isInside?r>=h.min&&r<=h.max:!1}else f.plotZ=0;f.axisXpos=f.plotX;f.axisYpos=f.plotY;f.axisZpos=f.plotZ;q.push({x:f.plotX,y:f.plotY,z:f.plotZ})}b=y(q,b,!0);for(n=0;n<this.data.length;n++)f=this.data[n],h=b[n],f.plotX=h.x,f.plotY=h.y,f.plotZ=h.z}});G(b,"Series/Column3DSeries.js",[b["Core/Series/Series.js"],b["Core/Globals.js"],
77
+ b["Extensions/Math3D.js"],b["Extensions/Stacking.js"],b["Core/Utilities.js"]],function(b,u,w,J,c){function x(b,a){var c=b.series,f={},d,h=1;c.forEach(function(b){d=r(b.options.stack,a?0:c.length-1-b.index);f[d]?f[d].series.push(b):(f[d]={series:[b],position:h},h++)});f.totalStacks=h+1;return f}function h(b){var a=b.apply(this,[].slice.call(arguments,1));this.chart.is3d&&this.chart.is3d()&&(a.stroke=this.options.edgeColor||a.fill,a["stroke-width"]=r(this.options.edgeWidth,1));return a}function q(b,
78
+ a,c){var f=this.chart.is3d&&this.chart.is3d();f&&(this.options.inactiveOtherPoints=!0);b.call(this,a,c);f&&(this.options.inactiveOtherPoints=!1)}function n(b){for(var a=[],c=1;c<arguments.length;c++)a[c-1]=arguments[c];return this.series.chart.is3d()?this.graphic&&"g"!==this.graphic.element.nodeName:b.apply(this,a)}var f=w.perspective;w=c.addEvent;var r=c.pick;c=c.wrap;var m=u.Series,A=b.seriesTypes.column.prototype,y=u.svg;c(A,"translate",function(b){b.apply(this,[].slice.call(arguments,1));this.chart.is3d()&&
79
+ this.translate3dShapes()});c(m.prototype,"justifyDataLabel",function(b){return arguments[2].outside3dPlot?!1:b.apply(this,[].slice.call(arguments,1))});A.translate3dPoints=function(){};A.translate3dShapes=function(){var b=this,a=b.chart,c=b.options,h=c.depth,d=(c.stacking?c.stack||0:b.index)*(h+(c.groupZPadding||1)),p=b.borderWidth%2?.5:0,m;a.inverted&&!b.yAxis.reversed&&(p*=-1);!1!==c.grouping&&(d=0);d+=c.groupZPadding||1;b.data.forEach(function(c){c.outside3dPlot=null;if(null!==c.y){var g=c.shapeArgs,
80
+ k=c.tooltipPos,n;[["x","width"],["y","height"]].forEach(function(a){n=g[a[0]]-p;0>n&&(g[a[1]]+=g[a[0]]+p,g[a[0]]=-p,n=0);n+g[a[1]]>b[a[0]+"Axis"].len&&0!==g[a[1]]&&(g[a[1]]=b[a[0]+"Axis"].len-g[a[0]]);if(0!==g[a[1]]&&(g[a[0]]>=b[a[0]+"Axis"].len||g[a[0]]+g[a[1]]<=p)){for(var d in g)g[d]=0;c.outside3dPlot=!0}});"rect"===c.shapeType&&(c.shapeType="cuboid");g.z=d;g.depth=h;g.insidePlotArea=!0;m={x:g.x+g.width/2,y:g.y,z:d+h/2};a.inverted&&(m.x=g.height,m.y=c.clientX);c.plot3d=f([m],a,!0,!1)[0];k=f([{x:k[0],
81
+ y:k[1],z:d+h/2}],a,!0,!1)[0];c.tooltipPos=[k.x,k.y]}});b.z=d};c(A,"animate",function(b){if(this.chart.is3d()){var a=arguments[1],c=this.yAxis,f=this,d=this.yAxis.reversed;y&&(a?f.data.forEach(function(a){null!==a.y&&(a.height=a.shapeArgs.height,a.shapey=a.shapeArgs.y,a.shapeArgs.height=1,d||(a.shapeArgs.y=a.stackY?a.plotY+c.translate(a.stackY):a.plotY+(a.negative?-a.height:a.height)))}):(f.data.forEach(function(a){null!==a.y&&(a.shapeArgs.height=a.height,a.shapeArgs.y=a.shapey,a.graphic&&a.graphic.animate(a.shapeArgs,
82
+ f.options.animation))}),this.drawDataLabels()))}else b.apply(this,[].slice.call(arguments,1))});c(A,"plotGroup",function(b,a,c,f,d,h){"dataLabelsGroup"!==a&&this.chart.is3d()&&(this[a]&&delete this[a],h&&(this.chart.columnGroup||(this.chart.columnGroup=this.chart.renderer.g("columnGroup").add(h)),this[a]=this.chart.columnGroup,this.chart.columnGroup.attr(this.getPlotBox()),this[a].survive=!0,"group"===a||"markerGroup"===a))&&(arguments[3]="visible");return b.apply(this,Array.prototype.slice.call(arguments,
83
+ 1))});c(A,"setVisible",function(b,a){var c=this,f;c.chart.is3d()&&c.data.forEach(function(b){f=(b.visible=b.options.visible=a="undefined"===typeof a?!r(c.visible,b.visible):a)?"visible":"hidden";c.options.data[c.data.indexOf(b)]=b.options;b.graphic&&b.graphic.attr({visibility:f})});b.apply(this,Array.prototype.slice.call(arguments,1))});A.handle3dGrouping=!0;w(m,"afterInit",function(){if(this.chart.is3d()&&this.handle3dGrouping){var b=this.options,a=b.grouping,c=b.stacking,f=r(this.yAxis.options.reversedStacks,
84
+ !0),d=0;if("undefined"===typeof a||a){a=x(this.chart,c);d=b.stack||0;for(c=0;c<a[d].series.length&&a[d].series[c]!==this;c++);d=10*(a.totalStacks-a[d].position)+(f?c:-c);this.xAxis.reversed||(d=10*a.totalStacks-d)}b.depth=b.depth||25;this.z=this.z||0;b.zIndex=d}});c(A,"pointAttribs",h);c(A,"setState",q);c(A.pointClass.prototype,"hasNewShapeType",n);b.seriesTypes.columnRange&&(u=b.seriesTypes.columnrange.prototype,c(u,"pointAttribs",h),c(u,"setState",q),c(u.pointClass.prototype,"hasNewShapeType",n),
85
+ u.plotGroup=A.plotGroup,u.setVisible=A.setVisible);c(m.prototype,"alignDataLabel",function(b,a,c,h,d){var g=this.chart;h.outside3dPlot=a.outside3dPlot;if(g.is3d()&&this.is("column")){var k=this.options,m=r(h.inside,!!this.options.stacking),n=g.options.chart.options3d,q=a.pointWidth/2||0;k={x:d.x+q,y:d.y,z:this.z+k.depth/2};g.inverted&&(m&&(d.width=0,k.x+=a.shapeArgs.height/2),90<=n.alpha&&270>=n.alpha&&(k.y+=a.shapeArgs.width));k=f([k],g,!0,!1)[0];d.x=k.x-q;d.y=a.outside3dPlot?-9E9:k.y}b.apply(this,
86
+ [].slice.call(arguments,1))});c(J.prototype,"getStackBox",function(c,a,g,h,d,m,n,q){var k=c.apply(this,[].slice.call(arguments,1));if(a.is3d()&&g.base){var p=+g.base.split(",")[0],r=a.series[p];p=a.options.chart.options3d;r&&r instanceof b.seriesTypes.column&&(r={x:k.x+(a.inverted?n:m/2),y:k.y,z:r.options.depth/2},a.inverted&&(k.width=0,90<=p.alpha&&270>=p.alpha&&(r.y+=m)),r=f([r],a,!0,!1)[0],k.x=r.x-m/2,k.y=r.y)}return k})});G(b,"Series/Pie3DSeries.js",[b["Core/Series/Series.js"],b["Core/Globals.js"],
87
+ b["Core/Utilities.js"]],function(b,u,w){var y=u.deg2rad,c=u.svg,x=w.pick;u=w.wrap;b=b.seriesTypes;u(b.pie.prototype,"translate",function(b){b.apply(this,[].slice.call(arguments,1));if(this.chart.is3d()){var c=this,h=c.options,f=h.depth||0,r=c.chart.options.chart.options3d,m=r.alpha,u=r.beta,w=h.stacking?(h.stack||0)*f:c._i*f;w+=f/2;!1!==h.grouping&&(w=0);c.data.forEach(function(b){var a=b.shapeArgs;b.shapeType="arc3d";a.z=w;a.depth=.75*f;a.alpha=m;a.beta=u;a.center=c.center;a=(a.end+a.start)/2;b.slicedTranslation=
88
+ {translateX:Math.round(Math.cos(a)*h.slicedOffset*Math.cos(m*y)),translateY:Math.round(Math.sin(a)*h.slicedOffset*Math.cos(m*y))}})}});u(b.pie.prototype.pointClass.prototype,"haloPath",function(b){var c=arguments;return this.series.chart.is3d()?[]:b.call(this,c[1])});u(b.pie.prototype,"pointAttribs",function(b,c,n){b=b.call(this,c,n);n=this.options;this.chart.is3d()&&!this.chart.styledMode&&(b.stroke=n.edgeColor||c.color||this.color,b["stroke-width"]=x(n.edgeWidth,1));return b});u(b.pie.prototype,
89
+ "drawDataLabels",function(b){if(this.chart.is3d()){var c=this.chart.options.chart.options3d;this.data.forEach(function(b){var f=b.shapeArgs,h=f.r,m=(f.start+f.end)/2;b=b.labelPosition;var n=b.connectorPosition,q=-h*(1-Math.cos((f.alpha||c.alpha)*y))*Math.sin(m),k=h*(Math.cos((f.beta||c.beta)*y)-1)*Math.cos(m);[b.natural,n.breakAt,n.touchingSliceAt].forEach(function(a){a.x+=k;a.y+=q})})}b.apply(this,[].slice.call(arguments,1))});u(b.pie.prototype,"addPoint",function(b){b.apply(this,[].slice.call(arguments,
90
+ 1));this.chart.is3d()&&this.update(this.userOptions,!0)});u(b.pie.prototype,"animate",function(b){if(this.chart.is3d()){var h=arguments[1],n=this.options.animation,f=this.center,r=this.group,m=this.markerGroup;c&&(!0===n&&(n={}),h?(r.oldtranslateX=x(r.oldtranslateX,r.translateX),r.oldtranslateY=x(r.oldtranslateY,r.translateY),h={translateX:f[0],translateY:f[1],scaleX:.001,scaleY:.001},r.attr(h),m&&(m.attrSetters=r.attrSetters,m.attr(h))):(h={translateX:r.oldtranslateX,translateY:r.oldtranslateY,scaleX:1,
91
+ scaleY:1},r.animate(h,n),m&&m.animate(h,n)))}else b.apply(this,[].slice.call(arguments,1))})});G(b,"Series/Scatter3DSeries.js",[b["Core/Series/Series.js"],b["Extensions/Math3D.js"],b["Core/Series/Point.js"]],function(b,u,w){var y=b.seriesTypes,c=u.pointCameraDistance;b.seriesType("scatter3d","scatter",{tooltip:{pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>z: <b>{point.z}</b><br/>"}},{pointAttribs:function(b){var h=y.scatter.prototype.pointAttribs.apply(this,arguments);this.chart.is3d()&&
92
+ b&&(h.zIndex=c(b,this.chart));return h},axisTypes:["xAxis","yAxis","zAxis"],pointArrayMap:["x","y","z"],parallelArrays:["x","y","z"],directTouch:!0},{applyOptions:function(){w.prototype.applyOptions.apply(this,arguments);"undefined"===typeof this.z&&(this.z=0);return this}});""});G(b,"masters/highcharts-3d.src.js",[],function(){})});
95
93
  //# sourceMappingURL=highcharts-3d.js.map