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
@@ -1,1577 +0,0 @@
1
- /* *
2
- *
3
- * (c) 2010-2020 Torstein Honsi
4
- *
5
- * Extension for 3D charts
6
- *
7
- * License: www.highcharts.com/license
8
- *
9
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
10
- *
11
- * */
12
- 'use strict';
13
- import Axis from '../parts/Axis.js';
14
- import Axis3D from './Axis3D.js';
15
- import H from '../parts/Globals.js';
16
- import U from '../parts/Utilities.js';
17
- var addEvent = U.addEvent, Fx = U.Fx, isArray = U.isArray, merge = U.merge, pick = U.pick, wrap = U.wrap;
18
- import ZAxis from './ZAxis.js';
19
- import '../parts/Chart.js';
20
- var Chart = H.Chart, perspective = H.perspective;
21
- /**
22
- * Shorthand to check the is3d flag.
23
- * @private
24
- * @return {boolean}
25
- * Whether it is a 3D chart.
26
- */
27
- Chart.prototype.is3d = function () {
28
- return (this.options.chart.options3d &&
29
- this.options.chart.options3d.enabled); // #4280
30
- };
31
- Chart.prototype.propsRequireDirtyBox.push('chart.options3d');
32
- Chart.prototype.propsRequireUpdateSeries.push('chart.options3d');
33
- /* eslint-disable no-invalid-this */
34
- // Legacy support for HC < 6 to make 'scatter' series in a 3D chart route to the
35
- // real 'scatter3d' series type.
36
- addEvent(Chart, 'afterInit', function () {
37
- var options = this.options;
38
- if (this.is3d()) {
39
- (options.series || []).forEach(function (s) {
40
- var type = s.type ||
41
- options.chart.type ||
42
- options.chart.defaultSeriesType;
43
- if (type === 'scatter') {
44
- s.type = 'scatter3d';
45
- }
46
- });
47
- }
48
- });
49
- // And do it on dynamic add (#8407)
50
- addEvent(Chart, 'addSeries', function (e) {
51
- if (this.is3d()) {
52
- if (e.options.type === 'scatter') {
53
- e.options.type = 'scatter3d';
54
- }
55
- }
56
- });
57
- /**
58
- * Calculate scale of the 3D view. That is required to
59
- * fit chart's 3D projection into the actual plotting area. Reported as #4933.
60
- * @notice This function should ideally take the plot values instead of a chart
61
- * object, but since the chart object is needed for perspective it is
62
- * not practical. Possible to make both getScale and perspective more
63
- * logical and also immutable.
64
- *
65
- * @private
66
- * @function getScale
67
- *
68
- * @param {Highcharts.Chart} chart
69
- * Chart object
70
- *
71
- * @param {number} depth
72
- * The depth of the chart
73
- *
74
- * @return {number}
75
- * The scale to fit the 3D chart into the plotting area.
76
- *
77
- * @requires highcharts-3d
78
- */
79
- function getScale(chart, depth) {
80
- var plotLeft = chart.plotLeft, plotRight = chart.plotWidth + plotLeft, plotTop = chart.plotTop, plotBottom = chart.plotHeight + plotTop, originX = plotLeft + chart.plotWidth / 2, originY = plotTop + chart.plotHeight / 2, bbox3d = {
81
- minX: Number.MAX_VALUE,
82
- maxX: -Number.MAX_VALUE,
83
- minY: Number.MAX_VALUE,
84
- maxY: -Number.MAX_VALUE
85
- }, corners, scale = 1;
86
- // Top left corners:
87
- corners = [{
88
- x: plotLeft,
89
- y: plotTop,
90
- z: 0
91
- }, {
92
- x: plotLeft,
93
- y: plotTop,
94
- z: depth
95
- }];
96
- // Top right corners:
97
- [0, 1].forEach(function (i) {
98
- corners.push({
99
- x: plotRight,
100
- y: corners[i].y,
101
- z: corners[i].z
102
- });
103
- });
104
- // All bottom corners:
105
- [0, 1, 2, 3].forEach(function (i) {
106
- corners.push({
107
- x: corners[i].x,
108
- y: plotBottom,
109
- z: corners[i].z
110
- });
111
- });
112
- // Calculate 3D corners:
113
- corners = perspective(corners, chart, false);
114
- // Get bounding box of 3D element:
115
- corners.forEach(function (corner) {
116
- bbox3d.minX = Math.min(bbox3d.minX, corner.x);
117
- bbox3d.maxX = Math.max(bbox3d.maxX, corner.x);
118
- bbox3d.minY = Math.min(bbox3d.minY, corner.y);
119
- bbox3d.maxY = Math.max(bbox3d.maxY, corner.y);
120
- });
121
- // Left edge:
122
- if (plotLeft > bbox3d.minX) {
123
- scale = Math.min(scale, 1 - Math.abs((plotLeft + originX) / (bbox3d.minX + originX)) % 1);
124
- }
125
- // Right edge:
126
- if (plotRight < bbox3d.maxX) {
127
- scale = Math.min(scale, (plotRight - originX) / (bbox3d.maxX - originX));
128
- }
129
- // Top edge:
130
- if (plotTop > bbox3d.minY) {
131
- if (bbox3d.minY < 0) {
132
- scale = Math.min(scale, (plotTop + originY) / (-bbox3d.minY + plotTop + originY));
133
- }
134
- else {
135
- scale = Math.min(scale, 1 - (plotTop + originY) / (bbox3d.minY + originY) % 1);
136
- }
137
- }
138
- // Bottom edge:
139
- if (plotBottom < bbox3d.maxY) {
140
- scale = Math.min(scale, Math.abs((plotBottom - originY) / (bbox3d.maxY - originY)));
141
- }
142
- return scale;
143
- }
144
- wrap(H.Chart.prototype, 'isInsidePlot', function (proceed) {
145
- return this.is3d() || proceed.apply(this, [].slice.call(arguments, 1));
146
- });
147
- var defaultOptions = H.getOptions();
148
- /**
149
- * @optionparent
150
- */
151
- var extendedOptions = {
152
- chart: {
153
- /**
154
- * Options to render charts in 3 dimensions. This feature requires
155
- * `highcharts-3d.js`, found in the download package or online at
156
- * [code.highcharts.com/highcharts-3d.js](https://code.highcharts.com/highcharts-3d.js).
157
- *
158
- * @since 4.0
159
- * @product highcharts
160
- * @requires highcharts-3d
161
- */
162
- options3d: {
163
- /**
164
- * Wether to render the chart using the 3D functionality.
165
- *
166
- * @since 4.0
167
- * @product highcharts
168
- */
169
- enabled: false,
170
- /**
171
- * One of the two rotation angles for the chart.
172
- *
173
- * @since 4.0
174
- * @product highcharts
175
- */
176
- alpha: 0,
177
- /**
178
- * One of the two rotation angles for the chart.
179
- *
180
- * @since 4.0
181
- * @product highcharts
182
- */
183
- beta: 0,
184
- /**
185
- * The total depth of the chart.
186
- *
187
- * @since 4.0
188
- * @product highcharts
189
- */
190
- depth: 100,
191
- /**
192
- * Whether the 3d box should automatically adjust to the chart plot
193
- * area.
194
- *
195
- * @since 4.2.4
196
- * @product highcharts
197
- */
198
- fitToPlot: true,
199
- /**
200
- * Defines the distance the viewer is standing in front of the
201
- * chart, this setting is important to calculate the perspective
202
- * effect in column and scatter charts. It is not used for 3D pie
203
- * charts.
204
- *
205
- * @since 4.0
206
- * @product highcharts
207
- */
208
- viewDistance: 25,
209
- /**
210
- * Set it to `"auto"` to automatically move the labels to the best
211
- * edge.
212
- *
213
- * @type {"auto"|null}
214
- * @since 5.0.12
215
- * @product highcharts
216
- */
217
- axisLabelPosition: null,
218
- /**
219
- * Provides the option to draw a frame around the charts by defining
220
- * a bottom, front and back panel.
221
- *
222
- * @since 4.0
223
- * @product highcharts
224
- * @requires highcharts-3d
225
- */
226
- frame: {
227
- /**
228
- * Whether the frames are visible.
229
- */
230
- visible: 'default',
231
- /**
232
- * General pixel thickness for the frame faces.
233
- */
234
- size: 1,
235
- /**
236
- * The bottom of the frame around a 3D chart.
237
- *
238
- * @since 4.0
239
- * @product highcharts
240
- * @requires highcharts-3d
241
- */
242
- /**
243
- * The color of the panel.
244
- *
245
- * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
246
- * @default transparent
247
- * @since 4.0
248
- * @product highcharts
249
- * @apioption chart.options3d.frame.bottom.color
250
- */
251
- /**
252
- * The thickness of the panel.
253
- *
254
- * @type {number}
255
- * @default 1
256
- * @since 4.0
257
- * @product highcharts
258
- * @apioption chart.options3d.frame.bottom.size
259
- */
260
- /**
261
- * Whether to display the frame. Possible values are `true`,
262
- * `false`, `"auto"` to display only the frames behind the data,
263
- * and `"default"` to display faces behind the data based on the
264
- * axis layout, ignoring the point of view.
265
- *
266
- * @sample {highcharts} highcharts/3d/scatter-frame/
267
- * Auto frames
268
- *
269
- * @type {boolean|"default"|"auto"}
270
- * @default default
271
- * @since 5.0.12
272
- * @product highcharts
273
- * @apioption chart.options3d.frame.bottom.visible
274
- */
275
- /**
276
- * The bottom of the frame around a 3D chart.
277
- */
278
- bottom: {},
279
- /**
280
- * The top of the frame around a 3D chart.
281
- *
282
- * @extends chart.options3d.frame.bottom
283
- */
284
- top: {},
285
- /**
286
- * The left side of the frame around a 3D chart.
287
- *
288
- * @extends chart.options3d.frame.bottom
289
- */
290
- left: {},
291
- /**
292
- * The right of the frame around a 3D chart.
293
- *
294
- * @extends chart.options3d.frame.bottom
295
- */
296
- right: {},
297
- /**
298
- * The back side of the frame around a 3D chart.
299
- *
300
- * @extends chart.options3d.frame.bottom
301
- */
302
- back: {},
303
- /**
304
- * The front of the frame around a 3D chart.
305
- *
306
- * @extends chart.options3d.frame.bottom
307
- */
308
- front: {}
309
- }
310
- }
311
- }
312
- };
313
- merge(true, defaultOptions, extendedOptions);
314
- // Add the required CSS classes for column sides (#6018)
315
- addEvent(Chart, 'afterGetContainer', function () {
316
- if (this.styledMode) {
317
- this.renderer.definition({
318
- tagName: 'style',
319
- textContent: '.highcharts-3d-top{' +
320
- 'filter: url(#highcharts-brighter)' +
321
- '}\n' +
322
- '.highcharts-3d-side{' +
323
- 'filter: url(#highcharts-darker)' +
324
- '}\n'
325
- });
326
- // Add add definitions used by brighter and darker faces of the cuboids.
327
- [{
328
- name: 'darker',
329
- slope: 0.6
330
- }, {
331
- name: 'brighter',
332
- slope: 1.4
333
- }].forEach(function (cfg) {
334
- this.renderer.definition({
335
- tagName: 'filter',
336
- id: 'highcharts-' + cfg.name,
337
- children: [{
338
- tagName: 'feComponentTransfer',
339
- children: [{
340
- tagName: 'feFuncR',
341
- type: 'linear',
342
- slope: cfg.slope
343
- }, {
344
- tagName: 'feFuncG',
345
- type: 'linear',
346
- slope: cfg.slope
347
- }, {
348
- tagName: 'feFuncB',
349
- type: 'linear',
350
- slope: cfg.slope
351
- }]
352
- }]
353
- });
354
- }, this);
355
- }
356
- });
357
- wrap(Chart.prototype, 'setClassName', function (proceed) {
358
- proceed.apply(this, [].slice.call(arguments, 1));
359
- if (this.is3d()) {
360
- this.container.className += ' highcharts-3d-chart';
361
- }
362
- });
363
- addEvent(H.Chart, 'afterSetChartSize', function () {
364
- var chart = this, options3d = chart.options.chart.options3d;
365
- if (chart.is3d()) {
366
- // Add a 0-360 normalisation for alfa and beta angles in 3d graph
367
- if (options3d) {
368
- options3d.alpha = options3d.alpha % 360 + (options3d.alpha >= 0 ? 0 : 360);
369
- options3d.beta = options3d.beta % 360 + (options3d.beta >= 0 ? 0 : 360);
370
- }
371
- var inverted = chart.inverted, clipBox = chart.clipBox, margin = chart.margin, x = inverted ? 'y' : 'x', y = inverted ? 'x' : 'y', w = inverted ? 'height' : 'width', h = inverted ? 'width' : 'height';
372
- clipBox[x] = -(margin[3] || 0);
373
- clipBox[y] = -(margin[0] || 0);
374
- clipBox[w] =
375
- chart.chartWidth + (margin[3] || 0) + (margin[1] || 0);
376
- clipBox[h] =
377
- chart.chartHeight + (margin[0] || 0) + (margin[2] || 0);
378
- // Set scale, used later in perspective method():
379
- // getScale uses perspective, so scale3d has to be reset.
380
- chart.scale3d = 1;
381
- if (options3d.fitToPlot === true) {
382
- chart.scale3d = getScale(chart, options3d.depth);
383
- }
384
- // Recalculate the 3d frame with every call of setChartSize,
385
- // instead of doing it after every redraw(). It avoids ticks
386
- // and axis title outside of chart.
387
- chart.frame3d = this.get3dFrame(); // #7942
388
- }
389
- });
390
- addEvent(Chart, 'beforeRedraw', function () {
391
- if (this.is3d()) {
392
- // Set to force a redraw of all elements
393
- this.isDirtyBox = true;
394
- }
395
- });
396
- addEvent(Chart, 'beforeRender', function () {
397
- if (this.is3d()) {
398
- this.frame3d = this.get3dFrame();
399
- }
400
- });
401
- // Draw the series in the reverse order (#3803, #3917)
402
- wrap(Chart.prototype, 'renderSeries', function (proceed) {
403
- var series, i = this.series.length;
404
- if (this.is3d()) {
405
- while (i--) {
406
- series = this.series[i];
407
- series.translate();
408
- series.render();
409
- }
410
- }
411
- else {
412
- proceed.call(this);
413
- }
414
- });
415
- addEvent(Chart, 'afterDrawChartBox', function () {
416
- if (this.is3d()) {
417
- var chart = this, renderer = chart.renderer, options3d = this.options.chart.options3d, frame = chart.get3dFrame(), xm = this.plotLeft, xp = this.plotLeft + this.plotWidth, ym = this.plotTop, yp = this.plotTop + this.plotHeight, zm = 0, zp = options3d.depth, xmm = xm - (frame.left.visible ? frame.left.size : 0), xpp = xp + (frame.right.visible ? frame.right.size : 0), ymm = ym - (frame.top.visible ? frame.top.size : 0), ypp = yp + (frame.bottom.visible ? frame.bottom.size : 0), zmm = zm - (frame.front.visible ? frame.front.size : 0), zpp = zp + (frame.back.visible ? frame.back.size : 0), verb = chart.hasRendered ? 'animate' : 'attr';
418
- this.frame3d = frame;
419
- if (!this.frameShapes) {
420
- this.frameShapes = {
421
- bottom: renderer.polyhedron().add(),
422
- top: renderer.polyhedron().add(),
423
- left: renderer.polyhedron().add(),
424
- right: renderer.polyhedron().add(),
425
- back: renderer.polyhedron().add(),
426
- front: renderer.polyhedron().add()
427
- };
428
- }
429
- this.frameShapes.bottom[verb]({
430
- 'class': 'highcharts-3d-frame highcharts-3d-frame-bottom',
431
- zIndex: frame.bottom.frontFacing ? -1000 : 1000,
432
- faces: [{
433
- fill: H.color(frame.bottom.color).brighten(0.1).get(),
434
- vertexes: [{
435
- x: xmm,
436
- y: ypp,
437
- z: zmm
438
- }, {
439
- x: xpp,
440
- y: ypp,
441
- z: zmm
442
- }, {
443
- x: xpp,
444
- y: ypp,
445
- z: zpp
446
- }, {
447
- x: xmm,
448
- y: ypp,
449
- z: zpp
450
- }],
451
- enabled: frame.bottom.visible
452
- },
453
- {
454
- fill: H.color(frame.bottom.color).brighten(0.1).get(),
455
- vertexes: [{
456
- x: xm,
457
- y: yp,
458
- z: zp
459
- }, {
460
- x: xp,
461
- y: yp,
462
- z: zp
463
- }, {
464
- x: xp,
465
- y: yp,
466
- z: zm
467
- }, {
468
- x: xm,
469
- y: yp,
470
- z: zm
471
- }],
472
- enabled: frame.bottom.visible
473
- },
474
- {
475
- fill: H.color(frame.bottom.color).brighten(-0.1).get(),
476
- vertexes: [{
477
- x: xmm,
478
- y: ypp,
479
- z: zmm
480
- }, {
481
- x: xmm,
482
- y: ypp,
483
- z: zpp
484
- }, {
485
- x: xm,
486
- y: yp,
487
- z: zp
488
- }, {
489
- x: xm,
490
- y: yp,
491
- z: zm
492
- }],
493
- enabled: frame.bottom.visible && !frame.left.visible
494
- },
495
- {
496
- fill: H.color(frame.bottom.color).brighten(-0.1).get(),
497
- vertexes: [{
498
- x: xpp,
499
- y: ypp,
500
- z: zpp
501
- }, {
502
- x: xpp,
503
- y: ypp,
504
- z: zmm
505
- }, {
506
- x: xp,
507
- y: yp,
508
- z: zm
509
- }, {
510
- x: xp,
511
- y: yp,
512
- z: zp
513
- }],
514
- enabled: frame.bottom.visible && !frame.right.visible
515
- },
516
- {
517
- fill: H.color(frame.bottom.color).get(),
518
- vertexes: [{
519
- x: xpp,
520
- y: ypp,
521
- z: zmm
522
- }, {
523
- x: xmm,
524
- y: ypp,
525
- z: zmm
526
- }, {
527
- x: xm,
528
- y: yp,
529
- z: zm
530
- }, {
531
- x: xp,
532
- y: yp,
533
- z: zm
534
- }],
535
- enabled: frame.bottom.visible && !frame.front.visible
536
- },
537
- {
538
- fill: H.color(frame.bottom.color).get(),
539
- vertexes: [{
540
- x: xmm,
541
- y: ypp,
542
- z: zpp
543
- }, {
544
- x: xpp,
545
- y: ypp,
546
- z: zpp
547
- }, {
548
- x: xp,
549
- y: yp,
550
- z: zp
551
- }, {
552
- x: xm,
553
- y: yp,
554
- z: zp
555
- }],
556
- enabled: frame.bottom.visible && !frame.back.visible
557
- }]
558
- });
559
- this.frameShapes.top[verb]({
560
- 'class': 'highcharts-3d-frame highcharts-3d-frame-top',
561
- zIndex: frame.top.frontFacing ? -1000 : 1000,
562
- faces: [{
563
- fill: H.color(frame.top.color).brighten(0.1).get(),
564
- vertexes: [{
565
- x: xmm,
566
- y: ymm,
567
- z: zpp
568
- }, {
569
- x: xpp,
570
- y: ymm,
571
- z: zpp
572
- }, {
573
- x: xpp,
574
- y: ymm,
575
- z: zmm
576
- }, {
577
- x: xmm,
578
- y: ymm,
579
- z: zmm
580
- }],
581
- enabled: frame.top.visible
582
- },
583
- {
584
- fill: H.color(frame.top.color).brighten(0.1).get(),
585
- vertexes: [{
586
- x: xm,
587
- y: ym,
588
- z: zm
589
- }, {
590
- x: xp,
591
- y: ym,
592
- z: zm
593
- }, {
594
- x: xp,
595
- y: ym,
596
- z: zp
597
- }, {
598
- x: xm,
599
- y: ym,
600
- z: zp
601
- }],
602
- enabled: frame.top.visible
603
- },
604
- {
605
- fill: H.color(frame.top.color).brighten(-0.1).get(),
606
- vertexes: [{
607
- x: xmm,
608
- y: ymm,
609
- z: zpp
610
- }, {
611
- x: xmm,
612
- y: ymm,
613
- z: zmm
614
- }, {
615
- x: xm,
616
- y: ym,
617
- z: zm
618
- }, {
619
- x: xm,
620
- y: ym,
621
- z: zp
622
- }],
623
- enabled: frame.top.visible && !frame.left.visible
624
- },
625
- {
626
- fill: H.color(frame.top.color).brighten(-0.1).get(),
627
- vertexes: [{
628
- x: xpp,
629
- y: ymm,
630
- z: zmm
631
- }, {
632
- x: xpp,
633
- y: ymm,
634
- z: zpp
635
- }, {
636
- x: xp,
637
- y: ym,
638
- z: zp
639
- }, {
640
- x: xp,
641
- y: ym,
642
- z: zm
643
- }],
644
- enabled: frame.top.visible && !frame.right.visible
645
- },
646
- {
647
- fill: H.color(frame.top.color).get(),
648
- vertexes: [{
649
- x: xmm,
650
- y: ymm,
651
- z: zmm
652
- }, {
653
- x: xpp,
654
- y: ymm,
655
- z: zmm
656
- }, {
657
- x: xp,
658
- y: ym,
659
- z: zm
660
- }, {
661
- x: xm,
662
- y: ym,
663
- z: zm
664
- }],
665
- enabled: frame.top.visible && !frame.front.visible
666
- },
667
- {
668
- fill: H.color(frame.top.color).get(),
669
- vertexes: [{
670
- x: xpp,
671
- y: ymm,
672
- z: zpp
673
- }, {
674
- x: xmm,
675
- y: ymm,
676
- z: zpp
677
- }, {
678
- x: xm,
679
- y: ym,
680
- z: zp
681
- }, {
682
- x: xp,
683
- y: ym,
684
- z: zp
685
- }],
686
- enabled: frame.top.visible && !frame.back.visible
687
- }]
688
- });
689
- this.frameShapes.left[verb]({
690
- 'class': 'highcharts-3d-frame highcharts-3d-frame-left',
691
- zIndex: frame.left.frontFacing ? -1000 : 1000,
692
- faces: [{
693
- fill: H.color(frame.left.color).brighten(0.1).get(),
694
- vertexes: [{
695
- x: xmm,
696
- y: ypp,
697
- z: zmm
698
- }, {
699
- x: xm,
700
- y: yp,
701
- z: zm
702
- }, {
703
- x: xm,
704
- y: yp,
705
- z: zp
706
- }, {
707
- x: xmm,
708
- y: ypp,
709
- z: zpp
710
- }],
711
- enabled: frame.left.visible && !frame.bottom.visible
712
- },
713
- {
714
- fill: H.color(frame.left.color).brighten(0.1).get(),
715
- vertexes: [{
716
- x: xmm,
717
- y: ymm,
718
- z: zpp
719
- }, {
720
- x: xm,
721
- y: ym,
722
- z: zp
723
- }, {
724
- x: xm,
725
- y: ym,
726
- z: zm
727
- }, {
728
- x: xmm,
729
- y: ymm,
730
- z: zmm
731
- }],
732
- enabled: frame.left.visible && !frame.top.visible
733
- },
734
- {
735
- fill: H.color(frame.left.color).brighten(-0.1).get(),
736
- vertexes: [{
737
- x: xmm,
738
- y: ypp,
739
- z: zpp
740
- }, {
741
- x: xmm,
742
- y: ymm,
743
- z: zpp
744
- }, {
745
- x: xmm,
746
- y: ymm,
747
- z: zmm
748
- }, {
749
- x: xmm,
750
- y: ypp,
751
- z: zmm
752
- }],
753
- enabled: frame.left.visible
754
- },
755
- {
756
- fill: H.color(frame.left.color).brighten(-0.1).get(),
757
- vertexes: [{
758
- x: xm,
759
- y: ym,
760
- z: zp
761
- }, {
762
- x: xm,
763
- y: yp,
764
- z: zp
765
- }, {
766
- x: xm,
767
- y: yp,
768
- z: zm
769
- }, {
770
- x: xm,
771
- y: ym,
772
- z: zm
773
- }],
774
- enabled: frame.left.visible
775
- },
776
- {
777
- fill: H.color(frame.left.color).get(),
778
- vertexes: [{
779
- x: xmm,
780
- y: ypp,
781
- z: zmm
782
- }, {
783
- x: xmm,
784
- y: ymm,
785
- z: zmm
786
- }, {
787
- x: xm,
788
- y: ym,
789
- z: zm
790
- }, {
791
- x: xm,
792
- y: yp,
793
- z: zm
794
- }],
795
- enabled: frame.left.visible && !frame.front.visible
796
- },
797
- {
798
- fill: H.color(frame.left.color).get(),
799
- vertexes: [{
800
- x: xmm,
801
- y: ymm,
802
- z: zpp
803
- }, {
804
- x: xmm,
805
- y: ypp,
806
- z: zpp
807
- }, {
808
- x: xm,
809
- y: yp,
810
- z: zp
811
- }, {
812
- x: xm,
813
- y: ym,
814
- z: zp
815
- }],
816
- enabled: frame.left.visible && !frame.back.visible
817
- }]
818
- });
819
- this.frameShapes.right[verb]({
820
- 'class': 'highcharts-3d-frame highcharts-3d-frame-right',
821
- zIndex: frame.right.frontFacing ? -1000 : 1000,
822
- faces: [{
823
- fill: H.color(frame.right.color).brighten(0.1).get(),
824
- vertexes: [{
825
- x: xpp,
826
- y: ypp,
827
- z: zpp
828
- }, {
829
- x: xp,
830
- y: yp,
831
- z: zp
832
- }, {
833
- x: xp,
834
- y: yp,
835
- z: zm
836
- }, {
837
- x: xpp,
838
- y: ypp,
839
- z: zmm
840
- }],
841
- enabled: frame.right.visible && !frame.bottom.visible
842
- },
843
- {
844
- fill: H.color(frame.right.color).brighten(0.1).get(),
845
- vertexes: [{
846
- x: xpp,
847
- y: ymm,
848
- z: zmm
849
- }, {
850
- x: xp,
851
- y: ym,
852
- z: zm
853
- }, {
854
- x: xp,
855
- y: ym,
856
- z: zp
857
- }, {
858
- x: xpp,
859
- y: ymm,
860
- z: zpp
861
- }],
862
- enabled: frame.right.visible && !frame.top.visible
863
- },
864
- {
865
- fill: H.color(frame.right.color).brighten(-0.1).get(),
866
- vertexes: [{
867
- x: xp,
868
- y: ym,
869
- z: zm
870
- }, {
871
- x: xp,
872
- y: yp,
873
- z: zm
874
- }, {
875
- x: xp,
876
- y: yp,
877
- z: zp
878
- }, {
879
- x: xp,
880
- y: ym,
881
- z: zp
882
- }],
883
- enabled: frame.right.visible
884
- },
885
- {
886
- fill: H.color(frame.right.color).brighten(-0.1).get(),
887
- vertexes: [{
888
- x: xpp,
889
- y: ypp,
890
- z: zmm
891
- }, {
892
- x: xpp,
893
- y: ymm,
894
- z: zmm
895
- }, {
896
- x: xpp,
897
- y: ymm,
898
- z: zpp
899
- }, {
900
- x: xpp,
901
- y: ypp,
902
- z: zpp
903
- }],
904
- enabled: frame.right.visible
905
- },
906
- {
907
- fill: H.color(frame.right.color).get(),
908
- vertexes: [{
909
- x: xpp,
910
- y: ymm,
911
- z: zmm
912
- }, {
913
- x: xpp,
914
- y: ypp,
915
- z: zmm
916
- }, {
917
- x: xp,
918
- y: yp,
919
- z: zm
920
- }, {
921
- x: xp,
922
- y: ym,
923
- z: zm
924
- }],
925
- enabled: frame.right.visible && !frame.front.visible
926
- },
927
- {
928
- fill: H.color(frame.right.color).get(),
929
- vertexes: [{
930
- x: xpp,
931
- y: ypp,
932
- z: zpp
933
- }, {
934
- x: xpp,
935
- y: ymm,
936
- z: zpp
937
- }, {
938
- x: xp,
939
- y: ym,
940
- z: zp
941
- }, {
942
- x: xp,
943
- y: yp,
944
- z: zp
945
- }],
946
- enabled: frame.right.visible && !frame.back.visible
947
- }]
948
- });
949
- this.frameShapes.back[verb]({
950
- 'class': 'highcharts-3d-frame highcharts-3d-frame-back',
951
- zIndex: frame.back.frontFacing ? -1000 : 1000,
952
- faces: [{
953
- fill: H.color(frame.back.color).brighten(0.1).get(),
954
- vertexes: [{
955
- x: xpp,
956
- y: ypp,
957
- z: zpp
958
- }, {
959
- x: xmm,
960
- y: ypp,
961
- z: zpp
962
- }, {
963
- x: xm,
964
- y: yp,
965
- z: zp
966
- }, {
967
- x: xp,
968
- y: yp,
969
- z: zp
970
- }],
971
- enabled: frame.back.visible && !frame.bottom.visible
972
- },
973
- {
974
- fill: H.color(frame.back.color).brighten(0.1).get(),
975
- vertexes: [{
976
- x: xmm,
977
- y: ymm,
978
- z: zpp
979
- }, {
980
- x: xpp,
981
- y: ymm,
982
- z: zpp
983
- }, {
984
- x: xp,
985
- y: ym,
986
- z: zp
987
- }, {
988
- x: xm,
989
- y: ym,
990
- z: zp
991
- }],
992
- enabled: frame.back.visible && !frame.top.visible
993
- },
994
- {
995
- fill: H.color(frame.back.color).brighten(-0.1).get(),
996
- vertexes: [{
997
- x: xmm,
998
- y: ypp,
999
- z: zpp
1000
- }, {
1001
- x: xmm,
1002
- y: ymm,
1003
- z: zpp
1004
- }, {
1005
- x: xm,
1006
- y: ym,
1007
- z: zp
1008
- }, {
1009
- x: xm,
1010
- y: yp,
1011
- z: zp
1012
- }],
1013
- enabled: frame.back.visible && !frame.left.visible
1014
- },
1015
- {
1016
- fill: H.color(frame.back.color).brighten(-0.1).get(),
1017
- vertexes: [{
1018
- x: xpp,
1019
- y: ymm,
1020
- z: zpp
1021
- }, {
1022
- x: xpp,
1023
- y: ypp,
1024
- z: zpp
1025
- }, {
1026
- x: xp,
1027
- y: yp,
1028
- z: zp
1029
- }, {
1030
- x: xp,
1031
- y: ym,
1032
- z: zp
1033
- }],
1034
- enabled: frame.back.visible && !frame.right.visible
1035
- },
1036
- {
1037
- fill: H.color(frame.back.color).get(),
1038
- vertexes: [{
1039
- x: xm,
1040
- y: ym,
1041
- z: zp
1042
- }, {
1043
- x: xp,
1044
- y: ym,
1045
- z: zp
1046
- }, {
1047
- x: xp,
1048
- y: yp,
1049
- z: zp
1050
- }, {
1051
- x: xm,
1052
- y: yp,
1053
- z: zp
1054
- }],
1055
- enabled: frame.back.visible
1056
- },
1057
- {
1058
- fill: H.color(frame.back.color).get(),
1059
- vertexes: [{
1060
- x: xmm,
1061
- y: ypp,
1062
- z: zpp
1063
- }, {
1064
- x: xpp,
1065
- y: ypp,
1066
- z: zpp
1067
- }, {
1068
- x: xpp,
1069
- y: ymm,
1070
- z: zpp
1071
- }, {
1072
- x: xmm,
1073
- y: ymm,
1074
- z: zpp
1075
- }],
1076
- enabled: frame.back.visible
1077
- }]
1078
- });
1079
- this.frameShapes.front[verb]({
1080
- 'class': 'highcharts-3d-frame highcharts-3d-frame-front',
1081
- zIndex: frame.front.frontFacing ? -1000 : 1000,
1082
- faces: [{
1083
- fill: H.color(frame.front.color).brighten(0.1).get(),
1084
- vertexes: [{
1085
- x: xmm,
1086
- y: ypp,
1087
- z: zmm
1088
- }, {
1089
- x: xpp,
1090
- y: ypp,
1091
- z: zmm
1092
- }, {
1093
- x: xp,
1094
- y: yp,
1095
- z: zm
1096
- }, {
1097
- x: xm,
1098
- y: yp,
1099
- z: zm
1100
- }],
1101
- enabled: frame.front.visible && !frame.bottom.visible
1102
- },
1103
- {
1104
- fill: H.color(frame.front.color).brighten(0.1).get(),
1105
- vertexes: [{
1106
- x: xpp,
1107
- y: ymm,
1108
- z: zmm
1109
- }, {
1110
- x: xmm,
1111
- y: ymm,
1112
- z: zmm
1113
- }, {
1114
- x: xm,
1115
- y: ym,
1116
- z: zm
1117
- }, {
1118
- x: xp,
1119
- y: ym,
1120
- z: zm
1121
- }],
1122
- enabled: frame.front.visible && !frame.top.visible
1123
- },
1124
- {
1125
- fill: H.color(frame.front.color).brighten(-0.1).get(),
1126
- vertexes: [{
1127
- x: xmm,
1128
- y: ymm,
1129
- z: zmm
1130
- }, {
1131
- x: xmm,
1132
- y: ypp,
1133
- z: zmm
1134
- }, {
1135
- x: xm,
1136
- y: yp,
1137
- z: zm
1138
- }, {
1139
- x: xm,
1140
- y: ym,
1141
- z: zm
1142
- }],
1143
- enabled: frame.front.visible && !frame.left.visible
1144
- },
1145
- {
1146
- fill: H.color(frame.front.color).brighten(-0.1).get(),
1147
- vertexes: [{
1148
- x: xpp,
1149
- y: ypp,
1150
- z: zmm
1151
- }, {
1152
- x: xpp,
1153
- y: ymm,
1154
- z: zmm
1155
- }, {
1156
- x: xp,
1157
- y: ym,
1158
- z: zm
1159
- }, {
1160
- x: xp,
1161
- y: yp,
1162
- z: zm
1163
- }],
1164
- enabled: frame.front.visible && !frame.right.visible
1165
- },
1166
- {
1167
- fill: H.color(frame.front.color).get(),
1168
- vertexes: [{
1169
- x: xp,
1170
- y: ym,
1171
- z: zm
1172
- }, {
1173
- x: xm,
1174
- y: ym,
1175
- z: zm
1176
- }, {
1177
- x: xm,
1178
- y: yp,
1179
- z: zm
1180
- }, {
1181
- x: xp,
1182
- y: yp,
1183
- z: zm
1184
- }],
1185
- enabled: frame.front.visible
1186
- },
1187
- {
1188
- fill: H.color(frame.front.color).get(),
1189
- vertexes: [{
1190
- x: xpp,
1191
- y: ypp,
1192
- z: zmm
1193
- }, {
1194
- x: xmm,
1195
- y: ypp,
1196
- z: zmm
1197
- }, {
1198
- x: xmm,
1199
- y: ymm,
1200
- z: zmm
1201
- }, {
1202
- x: xpp,
1203
- y: ymm,
1204
- z: zmm
1205
- }],
1206
- enabled: frame.front.visible
1207
- }]
1208
- });
1209
- }
1210
- });
1211
- Chart.prototype.retrieveStacks = function (stacking) {
1212
- var series = this.series, stacks = {}, stackNumber, i = 1;
1213
- this.series.forEach(function (s) {
1214
- stackNumber = pick(s.options.stack, (stacking ? 0 : series.length - 1 - s.index)); // #3841, #4532
1215
- if (!stacks[stackNumber]) {
1216
- stacks[stackNumber] = { series: [s], position: i };
1217
- i++;
1218
- }
1219
- else {
1220
- stacks[stackNumber].series.push(s);
1221
- }
1222
- });
1223
- stacks.totalStacks = i + 1;
1224
- return stacks;
1225
- };
1226
- Chart.prototype.get3dFrame = function () {
1227
- var chart = this, options3d = chart.options.chart.options3d, frameOptions = options3d.frame, xm = chart.plotLeft, xp = chart.plotLeft + chart.plotWidth, ym = chart.plotTop, yp = chart.plotTop + chart.plotHeight, zm = 0, zp = options3d.depth, faceOrientation = function (vertexes) {
1228
- var area = H.shapeArea3d(vertexes, chart);
1229
- // Give it 0.5 squared-pixel as a margin for rounding errors.
1230
- if (area > 0.5) {
1231
- return 1;
1232
- }
1233
- if (area < -0.5) {
1234
- return -1;
1235
- }
1236
- return 0;
1237
- }, bottomOrientation = faceOrientation([
1238
- { x: xm, y: yp, z: zp },
1239
- { x: xp, y: yp, z: zp },
1240
- { x: xp, y: yp, z: zm },
1241
- { x: xm, y: yp, z: zm }
1242
- ]), topOrientation = faceOrientation([
1243
- { x: xm, y: ym, z: zm },
1244
- { x: xp, y: ym, z: zm },
1245
- { x: xp, y: ym, z: zp },
1246
- { x: xm, y: ym, z: zp }
1247
- ]), leftOrientation = faceOrientation([
1248
- { x: xm, y: ym, z: zm },
1249
- { x: xm, y: ym, z: zp },
1250
- { x: xm, y: yp, z: zp },
1251
- { x: xm, y: yp, z: zm }
1252
- ]), rightOrientation = faceOrientation([
1253
- { x: xp, y: ym, z: zp },
1254
- { x: xp, y: ym, z: zm },
1255
- { x: xp, y: yp, z: zm },
1256
- { x: xp, y: yp, z: zp }
1257
- ]), frontOrientation = faceOrientation([
1258
- { x: xm, y: yp, z: zm },
1259
- { x: xp, y: yp, z: zm },
1260
- { x: xp, y: ym, z: zm },
1261
- { x: xm, y: ym, z: zm }
1262
- ]), backOrientation = faceOrientation([
1263
- { x: xm, y: ym, z: zp },
1264
- { x: xp, y: ym, z: zp },
1265
- { x: xp, y: yp, z: zp },
1266
- { x: xm, y: yp, z: zp }
1267
- ]), defaultShowBottom = false, defaultShowTop = false, defaultShowLeft = false, defaultShowRight = false, defaultShowFront = false, defaultShowBack = true;
1268
- // The 'default' criteria to visible faces of the frame is looking up every
1269
- // axis to decide whenever the left/right//top/bottom sides of the frame
1270
- // will be shown
1271
- []
1272
- .concat(chart.xAxis, chart.yAxis, chart.zAxis)
1273
- .forEach(function (axis) {
1274
- if (axis) {
1275
- if (axis.horiz) {
1276
- if (axis.opposite) {
1277
- defaultShowTop = true;
1278
- }
1279
- else {
1280
- defaultShowBottom = true;
1281
- }
1282
- }
1283
- else {
1284
- if (axis.opposite) {
1285
- defaultShowRight = true;
1286
- }
1287
- else {
1288
- defaultShowLeft = true;
1289
- }
1290
- }
1291
- }
1292
- });
1293
- var getFaceOptions = function (sources, faceOrientation, defaultVisible) {
1294
- var faceAttrs = ['size', 'color', 'visible'];
1295
- var options = {};
1296
- for (var i = 0; i < faceAttrs.length; i++) {
1297
- var attr = faceAttrs[i];
1298
- for (var j = 0; j < sources.length; j++) {
1299
- if (typeof sources[j] === 'object') {
1300
- var val = sources[j][attr];
1301
- if (typeof val !== 'undefined' && val !== null) {
1302
- options[attr] = val;
1303
- break;
1304
- }
1305
- }
1306
- }
1307
- }
1308
- var isVisible = defaultVisible;
1309
- if (options.visible === true || options.visible === false) {
1310
- isVisible = options.visible;
1311
- }
1312
- else if (options.visible === 'auto') {
1313
- isVisible = faceOrientation > 0;
1314
- }
1315
- return {
1316
- size: pick(options.size, 1),
1317
- color: pick(options.color, 'none'),
1318
- frontFacing: faceOrientation > 0,
1319
- visible: isVisible
1320
- };
1321
- };
1322
- // docs @TODO: Add all frame options (left, right, top, bottom, front, back)
1323
- // to apioptions JSDoc once the new system is up.
1324
- var ret = {
1325
- axes: {},
1326
- // FIXME: Previously, left/right, top/bottom and front/back pairs shared
1327
- // size and color.
1328
- // For compatibility and consistency sake, when one face have
1329
- // size/color/visibility set, the opposite face will default to the same
1330
- // values. Also, left/right used to be called 'side', so that's also
1331
- // added as a fallback
1332
- bottom: getFaceOptions([frameOptions.bottom, frameOptions.top, frameOptions], bottomOrientation, defaultShowBottom),
1333
- top: getFaceOptions([frameOptions.top, frameOptions.bottom, frameOptions], topOrientation, defaultShowTop),
1334
- left: getFaceOptions([
1335
- frameOptions.left,
1336
- frameOptions.right,
1337
- frameOptions.side,
1338
- frameOptions
1339
- ], leftOrientation, defaultShowLeft),
1340
- right: getFaceOptions([
1341
- frameOptions.right,
1342
- frameOptions.left,
1343
- frameOptions.side,
1344
- frameOptions
1345
- ], rightOrientation, defaultShowRight),
1346
- back: getFaceOptions([frameOptions.back, frameOptions.front, frameOptions], backOrientation, defaultShowBack),
1347
- front: getFaceOptions([frameOptions.front, frameOptions.back, frameOptions], frontOrientation, defaultShowFront)
1348
- };
1349
- // Decide the bast place to put axis title/labels based on the visible
1350
- // faces. Ideally, The labels can only be on the edge between a visible face
1351
- // and an invisble one. Also, the Y label should be one the left-most edge
1352
- // (right-most if opposite),
1353
- if (options3d.axisLabelPosition === 'auto') {
1354
- var isValidEdge = function (face1, face2) {
1355
- return ((face1.visible !== face2.visible) ||
1356
- (face1.visible &&
1357
- face2.visible &&
1358
- (face1.frontFacing !== face2.frontFacing)));
1359
- };
1360
- var yEdges = [];
1361
- if (isValidEdge(ret.left, ret.front)) {
1362
- yEdges.push({
1363
- y: (ym + yp) / 2,
1364
- x: xm,
1365
- z: zm,
1366
- xDir: { x: 1, y: 0, z: 0 }
1367
- });
1368
- }
1369
- if (isValidEdge(ret.left, ret.back)) {
1370
- yEdges.push({
1371
- y: (ym + yp) / 2,
1372
- x: xm,
1373
- z: zp,
1374
- xDir: { x: 0, y: 0, z: -1 }
1375
- });
1376
- }
1377
- if (isValidEdge(ret.right, ret.front)) {
1378
- yEdges.push({
1379
- y: (ym + yp) / 2,
1380
- x: xp,
1381
- z: zm,
1382
- xDir: { x: 0, y: 0, z: 1 }
1383
- });
1384
- }
1385
- if (isValidEdge(ret.right, ret.back)) {
1386
- yEdges.push({
1387
- y: (ym + yp) / 2,
1388
- x: xp,
1389
- z: zp,
1390
- xDir: { x: -1, y: 0, z: 0 }
1391
- });
1392
- }
1393
- var xBottomEdges = [];
1394
- if (isValidEdge(ret.bottom, ret.front)) {
1395
- xBottomEdges.push({
1396
- x: (xm + xp) / 2,
1397
- y: yp,
1398
- z: zm,
1399
- xDir: { x: 1, y: 0, z: 0 }
1400
- });
1401
- }
1402
- if (isValidEdge(ret.bottom, ret.back)) {
1403
- xBottomEdges.push({
1404
- x: (xm + xp) / 2,
1405
- y: yp,
1406
- z: zp,
1407
- xDir: { x: -1, y: 0, z: 0 }
1408
- });
1409
- }
1410
- var xTopEdges = [];
1411
- if (isValidEdge(ret.top, ret.front)) {
1412
- xTopEdges.push({
1413
- x: (xm + xp) / 2,
1414
- y: ym,
1415
- z: zm,
1416
- xDir: { x: 1, y: 0, z: 0 }
1417
- });
1418
- }
1419
- if (isValidEdge(ret.top, ret.back)) {
1420
- xTopEdges.push({
1421
- x: (xm + xp) / 2,
1422
- y: ym,
1423
- z: zp,
1424
- xDir: { x: -1, y: 0, z: 0 }
1425
- });
1426
- }
1427
- var zBottomEdges = [];
1428
- if (isValidEdge(ret.bottom, ret.left)) {
1429
- zBottomEdges.push({
1430
- z: (zm + zp) / 2,
1431
- y: yp,
1432
- x: xm,
1433
- xDir: { x: 0, y: 0, z: -1 }
1434
- });
1435
- }
1436
- if (isValidEdge(ret.bottom, ret.right)) {
1437
- zBottomEdges.push({
1438
- z: (zm + zp) / 2,
1439
- y: yp,
1440
- x: xp,
1441
- xDir: { x: 0, y: 0, z: 1 }
1442
- });
1443
- }
1444
- var zTopEdges = [];
1445
- if (isValidEdge(ret.top, ret.left)) {
1446
- zTopEdges.push({
1447
- z: (zm + zp) / 2,
1448
- y: ym,
1449
- x: xm,
1450
- xDir: { x: 0, y: 0, z: -1 }
1451
- });
1452
- }
1453
- if (isValidEdge(ret.top, ret.right)) {
1454
- zTopEdges.push({
1455
- z: (zm + zp) / 2,
1456
- y: ym,
1457
- x: xp,
1458
- xDir: { x: 0, y: 0, z: 1 }
1459
- });
1460
- }
1461
- var pickEdge = function (edges, axis, mult) {
1462
- if (edges.length === 0) {
1463
- return null;
1464
- }
1465
- if (edges.length === 1) {
1466
- return edges[0];
1467
- }
1468
- var best = 0, projections = perspective(edges, chart, false);
1469
- for (var i = 1; i < projections.length; i++) {
1470
- if (mult * projections[i][axis] >
1471
- mult * projections[best][axis]) {
1472
- best = i;
1473
- }
1474
- else if ((mult * projections[i][axis] ===
1475
- mult * projections[best][axis]) &&
1476
- (projections[i].z < projections[best].z)) {
1477
- best = i;
1478
- }
1479
- }
1480
- return edges[best];
1481
- };
1482
- ret.axes = {
1483
- y: {
1484
- 'left': pickEdge(yEdges, 'x', -1),
1485
- 'right': pickEdge(yEdges, 'x', +1)
1486
- },
1487
- x: {
1488
- 'top': pickEdge(xTopEdges, 'y', -1),
1489
- 'bottom': pickEdge(xBottomEdges, 'y', +1)
1490
- },
1491
- z: {
1492
- 'top': pickEdge(zTopEdges, 'y', -1),
1493
- 'bottom': pickEdge(zBottomEdges, 'y', +1)
1494
- }
1495
- };
1496
- }
1497
- else {
1498
- ret.axes = {
1499
- y: {
1500
- 'left': { x: xm, z: zm, xDir: { x: 1, y: 0, z: 0 } },
1501
- 'right': { x: xp, z: zm, xDir: { x: 0, y: 0, z: 1 } }
1502
- },
1503
- x: {
1504
- 'top': { y: ym, z: zm, xDir: { x: 1, y: 0, z: 0 } },
1505
- 'bottom': { y: yp, z: zm, xDir: { x: 1, y: 0, z: 0 } }
1506
- },
1507
- z: {
1508
- 'top': {
1509
- x: defaultShowLeft ? xp : xm,
1510
- y: ym,
1511
- xDir: defaultShowLeft ?
1512
- { x: 0, y: 0, z: 1 } :
1513
- { x: 0, y: 0, z: -1 }
1514
- },
1515
- 'bottom': {
1516
- x: defaultShowLeft ? xp : xm,
1517
- y: yp,
1518
- xDir: defaultShowLeft ?
1519
- { x: 0, y: 0, z: 1 } :
1520
- { x: 0, y: 0, z: -1 }
1521
- }
1522
- }
1523
- };
1524
- }
1525
- return ret;
1526
- };
1527
- // Animation setter for matrix property.
1528
- Fx.prototype.matrixSetter = function () {
1529
- var interpolated;
1530
- if (this.pos < 1 &&
1531
- (isArray(this.start) || isArray(this.end))) {
1532
- var start = this.start || [1, 0, 0, 1, 0, 0];
1533
- var end = this.end || [1, 0, 0, 1, 0, 0];
1534
- interpolated = [];
1535
- for (var i = 0; i < 6; i++) {
1536
- interpolated.push(this.pos * end[i] + (1 - this.pos) * start[i]);
1537
- }
1538
- }
1539
- else {
1540
- interpolated = this.end;
1541
- }
1542
- this.elem.attr(this.prop, interpolated, null, true);
1543
- };
1544
- ZAxis.ZChartComposition.compose(Chart);
1545
- Axis3D.compose(Axis);
1546
- /**
1547
- * Note: As of v5.0.12, `frame.left` or `frame.right` should be used instead.
1548
- *
1549
- * The side for the frame around a 3D chart.
1550
- *
1551
- * @deprecated
1552
- * @since 4.0
1553
- * @product highcharts
1554
- * @requires highcharts-3d
1555
- * @apioption chart.options3d.frame.side
1556
- */
1557
- /**
1558
- * The color of the panel.
1559
- *
1560
- * @deprecated
1561
- * @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
1562
- * @default transparent
1563
- * @since 4.0
1564
- * @product highcharts
1565
- * @apioption chart.options3d.frame.side.color
1566
- */
1567
- /**
1568
- * The thickness of the panel.
1569
- *
1570
- * @deprecated
1571
- * @type {number}
1572
- * @default 1
1573
- * @since 4.0
1574
- * @product highcharts
1575
- * @apioption chart.options3d.frame.side.size
1576
- */
1577
- ''; // adds doclets above to transpiled file