ps-toolkit-ui 0.0.207 → 0.0.211
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.
- package/karma.conf.js +32 -0
- package/ng-package.json +16 -0
- package/package.json +19 -22
- package/src/assets/plugins/highcharts/code/css/annotations/popup.css +276 -0
- package/src/assets/plugins/highcharts/code/css/annotations/popup.scss +289 -0
- package/src/assets/plugins/highcharts/code/css/highcharts.css +1013 -0
- package/src/assets/plugins/highcharts/code/css/highcharts.scss +896 -0
- package/src/assets/plugins/highcharts/code/css/stocktools/gui.css +271 -0
- package/src/assets/plugins/highcharts/code/css/stocktools/gui.scss +271 -0
- package/src/assets/plugins/highcharts/code/css/themes/dark-unica.css +1074 -0
- package/src/assets/plugins/highcharts/code/css/themes/dark-unica.scss +122 -0
- package/src/assets/plugins/highcharts/code/css/themes/grid-light.css +1027 -0
- package/src/assets/plugins/highcharts/code/css/themes/grid-light.scss +33 -0
- package/src/assets/plugins/highcharts/code/css/themes/sand-signika.css +1043 -0
- package/src/assets/plugins/highcharts/code/css/themes/sand-signika.scss +74 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/A11yI18n.js +299 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Accessibility.js +401 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/AccessibilityComponent.js +153 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/AnnotationsA11y.js +160 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/ContainerComponent.js +159 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/InfoRegionsComponent.js +543 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/LegendComponent.js +478 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/MenuComponent.js +451 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/RangeSelectorComponent.js +506 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +217 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +324 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +148 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +390 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +650 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Components/ZoomComponent.js +375 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/FocusBorder.js +302 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/HighContrastMode.js +96 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/HighContrastTheme.js +221 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/KeyboardNavigation.js +449 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/KeyboardNavigationHandler.js +128 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/DeprecatedOptions.js +250 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/LangOptions.js +339 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Options/Options.js +831 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/ProxyElement.js +218 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/ProxyProvider.js +302 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/Announcer.js +91 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/ChartUtilities.js +294 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/DOMElementProvider.js +62 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/EventProvider.js +58 -0
- package/src/assets/plugins/highcharts/code/es-modules/Accessibility/Utils/HTMLUtilities.js +305 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Animation/AnimationUtilities.js +200 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Animation/Fx.js +387 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Axis.js +3225 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Axis3D.js +612 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/AxisDefaults.js +2935 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/BrokenAxis.js +601 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxis.js +668 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxisComposition.js +287 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Color/ColorAxisDefaults.js +434 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/DateTimeAxis.js +196 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/GridAxis.js +1046 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/LogarithmicAxis.js +202 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/NavigatorAxis.js +159 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/OrdinalAxis.js +992 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +873 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +287 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/RadialAxis.js +954 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/ScrollbarAxis.js +182 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/SolidGaugeAxis.js +127 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/StackingAxis.js +216 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Tick.js +723 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/Tick3D.js +68 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/TreeGridAxis.js +720 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/TreeGridTick.js +306 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/WaterfallAxis.js +149 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Axis/ZAxis.js +156 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/Chart.js +2909 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/Chart3D.js +1695 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/ChartDefaults.js +1053 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/ChartNavigationComposition.js +92 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/GanttChart.js +177 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/MapChart.js +179 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Chart/StockChart.js +644 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Color/Color.js +419 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Color/Palettes.js +22 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/DefaultOptions.js +2743 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/FormatUtilities.js +246 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Foundation.js +61 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Geometry/CircleUtilities.js +386 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Geometry/GeometryUtilities.js +83 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Globals.js +131 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/HttpUtilities.js +195 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Legend/Legend.js +1284 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Legend/LegendSymbol.js +109 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/MSPointer.js +170 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Navigator.js +1958 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Pointer.js +1518 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/AST.js +475 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/HTMLElement.js +261 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/HTML/HTMLRenderer.js +272 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/RendererRegistry.js +77 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/RendererUtilities.js +159 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGElement.js +2176 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGElement3D.js +160 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGLabel.js +408 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGRenderer.js +1900 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +842 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/Symbols.js +197 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Renderer/SVG/TextBuilder.js +452 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Responsive.js +334 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Scrollbar.js +658 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/ScrollbarDefaults.js +218 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/DataLabel.js +568 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Point.js +1307 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Series.js +3718 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/Series3D.js +126 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/SeriesDefaults.js +2293 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Series/SeriesRegistry.js +127 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Time.js +741 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Tooltip.js +1378 -0
- package/src/assets/plugins/highcharts/code/es-modules/Core/Utilities.js +1967 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/DataConverter.js +483 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/DataPromise.js +252 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/DataSeriesConverter.js +207 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/DataTable.js +1205 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/ChainModifier.js +299 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/DataModifier.js +303 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/GroupModifier.js +144 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/InvertModifier.js +254 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/RangeModifier.js +143 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/SeriesPointsModifier.js +110 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Modifiers/SortModifier.js +249 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/CSVParser.js +400 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/DataParser.js +101 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/GoogleSheetsParser.js +223 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Parsers/HTMLTableParser.js +213 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/CSVStore.js +317 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/DataStore.js +276 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/GoogleSheetsStore.js +169 -0
- package/src/assets/plugins/highcharts/code/es-modules/Data/Stores/HTMLTableStore.js +353 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Annotations.js +1442 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/ControlPoint.js +141 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +117 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +199 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +111 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +387 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +181 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +121 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +378 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +221 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +179 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/MockPoint.js +428 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/NavigationBindings.js +1212 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Popup.js +1123 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +237 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/CrookedLine.js +185 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/ElliottWave.js +95 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Fibonacci.js +205 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +219 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/InfinityLine.js +161 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Measure.js +791 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Pitchfork.js +194 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/TimeCycles.js +211 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/Tunnel.js +211 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Annotations/Types/VerticalLine.js +156 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/ArrowSymbols.js +166 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/Boost.js +34 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostAttach.js +150 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostInit.js +318 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostOptions.js +219 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostOverrides.js +386 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostUtils.js +255 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/BoostableMap.js +18 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/Boostables.js +25 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/NamedColors.js +162 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLRenderer.js +1188 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLShader.js +470 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Boost/WGLVBuffer.js +153 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/BoostCanvas.js +509 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/CurrentDateIndication.js +100 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Data.js +2037 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/DataGrouping.js +1134 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Debugger/Debugger.js +101 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Debugger/ErrorMessages.js +106 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/DownloadURL.js +106 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/DragPanes.js +512 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/DraggablePoints.js +2259 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Drilldown.js +1170 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/ExportData.js +997 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/Exporting.js +1260 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/ExportingDefaults.js +796 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Exporting/ExportingSymbols.js +73 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/FullScreen.js +240 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/GeoJSON.js +436 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/MarkerClusters.js +1436 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Math3D.js +245 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/NoDataToDisplay.js +189 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/OfflineExporting/OfflineExporting.js +617 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +58 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/Oldie.js +1182 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/VMLAxis3D.js +101 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Oldie/VMLRenderer3D.js +47 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/OldiePolyfills.js +167 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/OverlappingDataLabels.js +226 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Pane.js +404 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/ParallelCoordinates.js +464 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/PatternFill.js +580 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Polar.js +740 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/PriceIndication.js +292 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/RangeSelector.js +2175 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/ScrollablePlotArea.js +387 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/SeriesLabel.js +765 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/ChartSonify.js +724 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Earcon.js +197 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Instrument.js +606 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/MusicalFrequencies.js +122 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Options.js +44 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/PointSonify.js +391 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SeriesSonify.js +474 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SignalHandler.js +122 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Sonification.js +97 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/SonificationUtilities.js +150 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/Timeline.js +308 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/TimelineEvent.js +157 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Sonification/TimelinePath.js +311 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Stacking.js +516 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/StaticScale.js +76 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Avocado.js +67 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/BrandDark.js +293 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/BrandLight.js +259 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkBlue.js +279 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkGreen.js +279 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/DarkUnica.js +249 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Gray.js +287 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Grid.js +140 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/GridLight.js +111 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/HighContrastDark.js +239 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/HighContrastLight.js +69 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/SandSignika.js +144 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Skies.js +131 -0
- package/src/assets/plugins/highcharts/code/es-modules/Extensions/Themes/Sunset.js +66 -0
- package/src/assets/plugins/highcharts/code/es-modules/Gantt/Connection.js +838 -0
- package/src/assets/plugins/highcharts/code/es-modules/Gantt/Pathfinder.js +818 -0
- package/src/assets/plugins/highcharts/code/es-modules/Gantt/PathfinderAlgorithms.js +657 -0
- package/src/assets/plugins/highcharts/code/es-modules/Gantt/Tree.js +110 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapNavigation.js +278 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapNavigationOptionsDefault.js +264 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapPointer.js +83 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapSymbols.js +80 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapView.js +450 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/MapViewOptionsDefault.js +97 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projection.js +436 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/ProjectionDefinition.js +9 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/EqualEarth.js +42 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/LambertConformalConic.js +52 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/Miller.js +16 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/Orthographic.js +26 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/ProjectionRegistry.js +19 -0
- package/src/assets/plugins/highcharts/code/es-modules/Maps/Projections/WebMercator.js +24 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Area/AreaSeries.js +563 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Area3DSeries.js +70 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/AreaRange/AreaRangePoint.js +129 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/AreaRange/AreaRangeSeries.js +650 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/AreaSpline/AreaSplineSeries.js +203 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +199 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bar/BarSeries.js +171 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bellcurve/BellcurveSeries.js +241 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/BoxPlot/BoxPlotSeries.js +681 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendComposition.js +279 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendDefaults.js +266 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleLegendItem.js +462 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubblePoint.js +77 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bubble/BubbleSeries.js +676 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bullet/BulletPoint.js +62 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Bullet/BulletSeries.js +365 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Candlestick/CandlestickSeries.js +333 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/CenteredUtilities.js +128 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ColorMapMixin.js +84 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Column/ColumnDataLabel.js +109 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Column/ColumnSeries.js +1171 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Column3D/Column3DComposition.js +508 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +308 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnRange/ColumnRangePoint.js +62 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ColumnRange/ColumnRangeSeries.js +308 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderComposition.js +274 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderPoint.js +60 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Cylinder/CylinderSeries.js +175 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DataModifyComposition.js +539 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +100 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +368 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DerivedComposition.js +137 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DotPlot/DotPlotSeries.js +158 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/DrawPointComposition.js +111 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Dumbbell/DumbbellPoint.js +104 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Dumbbell/DumbbellSeries.js +464 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ErrorBar/ErrorBarSeries.js +228 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsPoint.js +74 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsSeries.js +614 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Flags/FlagsSymbols.js +90 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel/FunnelSeries.js +517 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DComposition.js +383 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DPoint.js +62 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Funnel3D/Funnel3DSeries.js +447 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Gantt/GanttPoint.js +109 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Gantt/GanttSeries.js +352 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Gauge/GaugePoint.js +66 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Gauge/GaugeSeries.js +568 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HLC/HLCPoint.js +55 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HLC/HLCSeries.js +378 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Heatmap/HeatmapPoint.js +144 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Heatmap/HeatmapSeries.js +946 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +60 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +278 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Histogram/HistogramSeries.js +253 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +80 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +368 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Item/ItemPoint.js +59 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Item/ItemSeries.js +505 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Line/LineSeries.js +541 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Lollipop/LollipopPoint.js +60 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Lollipop/LollipopSeries.js +209 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Map/MapPoint.js +136 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Map/MapSeries.js +1100 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/MapBubble/MapBubblePoint.js +73 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/MapBubble/MapBubbleSeries.js +283 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/MapLine/MapLineSeries.js +181 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/MapPoint/MapPointPoint.js +71 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/MapPoint/MapPointSeries.js +309 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/DraggableNodes.js +132 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Integrations.js +348 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Layouts.js +555 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/Networkgraph.js +1178 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Networkgraph/QuadTree.js +352 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/NodesComposition.js +229 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/OHLC/OHLCPoint.js +116 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/OHLC/OHLCSeries.js +254 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/OnSeriesComposition.js +168 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Organization/OrganizationPoint.js +71 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Organization/OrganizationSeries.js +594 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubbleComposition.js +172 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubblePoint.js +98 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/PackedBubble/PackedBubbleSeries.js +1284 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/ParetoSeries/ParetoSeries.js +195 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PieDataLabel.js +447 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PiePoint.js +270 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie/PieSeries.js +1074 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DComposition.js +27 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DPoint.js +72 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pie3D/Pie3DSeries.js +200 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Polygon/PolygonSeries.js +195 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pyramid/PyramidSeries.js +161 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +172 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Sankey/SankeyPoint.js +97 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Sankey/SankeySeries.js +1195 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter/ScatterSeries.js +306 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter3D/Scatter3DPoint.js +66 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Scatter3D/Scatter3DSeries.js +194 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/SolidGauge/SolidGaugeComposition.js +62 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/SolidGauge/SolidGaugeSeries.js +358 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Spline/SplineSeries.js +279 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Streamgraph/StreamgraphSeries.js +213 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstPoint.js +115 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstSeries.js +907 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Sunburst/SunburstUtilities.js +138 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapComposition.js +61 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapPoint.js +77 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapSeries.js +368 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Tilemap/TilemapShapes.js +275 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Timeline/TimelinePoint.js +168 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Timeline/TimelineSeries.js +552 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/TreeUtilities.js +192 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapAlgorithmGroup.js +93 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapComposition.js +58 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapPoint.js +107 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapSeries.js +1473 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Treemap/TreemapUtilities.js +65 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/VariablePie/VariablePieSeries.js +446 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwideComposition.js +78 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwidePoint.js +63 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Variwide/VariwideSeries.js +317 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Vector/VectorSeries.js +362 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennPoint.js +76 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennSeries.js +633 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Venn/VennUtils.js +607 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Waterfall/WaterfallPoint.js +68 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Waterfall/WaterfallSeries.js +743 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Windbarb/WindbarbPoint.js +64 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Windbarb/WindbarbSeries.js +462 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudPoint.js +66 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudSeries.js +503 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/Wordcloud/WordcloudUtils.js +718 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangeComposition.js +49 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangePoint.js +168 -0
- package/src/assets/plugins/highcharts/code/es-modules/Series/XRange/XRangeSeries.js +608 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +243 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AD/ADIndicator.js +160 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AO/AOIndicator.js +212 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/APO/APOIndicator.js +167 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ATR/ATRIndicator.js +162 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +197 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +141 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ArrayUtilities.js +47 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/BB/BBIndicator.js +241 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CCI/CCIIndicator.js +154 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CMF/CMFIndicator.js +243 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/CMO/CMOIndicator.js +166 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +187 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +149 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DMI/DMIIndicator.js +276 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DPO/DPOIndicator.js +163 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +179 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/EMA/EMAIndicator.js +154 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/IKH/IKHIndicator.js +682 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +217 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +270 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +282 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js +119 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js +104 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js +104 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MACD/MACDIndicator.js +402 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MFI/MFIIndicator.js +198 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +121 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/MultipleLinesComposition.js +294 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/NATR/NATRIndicator.js +111 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/OBV/OBVIndicator.js +170 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PC/PCIndicator.js +197 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PPO/PPOIndicator.js +164 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +280 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +310 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PivotPoints/PivotPointsPoint.js +78 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +240 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/ROC/ROCIndicator.js +176 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/RSI/RSIIndicator.js +171 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SMA/SMAComposition.js +12 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SMA/SMAIndicator.js +367 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +134 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +208 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +485 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +208 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +98 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +148 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VBP/VBPIndicator.js +556 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VBP/VBPPoint.js +49 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +193 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/WMA/WMAIndicator.js +153 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +135 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +228 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/StockToolsBindings.js +2009 -0
- package/src/assets/plugins/highcharts/code/es-modules/Stock/StockToolsGui.js +1816 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts-3d.src.js +28 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts-more.src.js +28 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/highcharts.src.js +147 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/accessibility.src.js +28 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/annotations-advanced.src.js +26 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/annotations.src.js +15 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/arrow-symbols.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/boost-canvas.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/boost.src.js +15 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/broken-axis.src.js +15 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/bullet.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/coloraxis.src.js +17 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/current-date-indicator.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/cylinder.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/data.src.js +23 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/datagrouping.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/debugger.src.js +16 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dependency-wheel.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dotplot.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/drag-panes.src.js +15 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/draggable-points.src.js +11 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/drilldown.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/dumbbell.src.js +11 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/export-data.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/exporting.src.js +22 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/full-screen.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/funnel.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/funnel3d.src.js +18 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/gantt.src.js +26 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/grid-axis.src.js +17 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/heatmap.src.js +16 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/heikinashi.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/histogram-bellcurve.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/hollowcandlestick.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/item-series.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/lollipop.src.js +11 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/marker-clusters.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/networkgraph.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/no-data-to-display.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/offline-exporting.src.js +20 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/oldie-polyfills.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/oldie.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/organization.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/overlapping-datalabels.src.js +11 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/parallel-coordinates.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pareto.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pathfinder.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pattern-fill.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/price-indicator.src.js +15 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/pyramid3d.src.js +16 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sankey.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/series-label.src.js +11 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/solid-gauge.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sonification.src.js +44 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/static-scale.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/stock-tools.src.js +16 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/stock.src.js +33 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/streamgraph.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/sunburst.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/tilemap.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/timeline.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/treegrid.src.js +17 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/treemap.src.js +12 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/variable-pie.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/variwide.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/vector.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/venn.src.js +12 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/windbarb.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/wordcloud.src.js +12 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/modules/xrange.src.js +13 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/avocado.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/brand-dark.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/brand-light.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-blue.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-green.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/dark-unica.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/gray.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/grid-light.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/grid.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/high-contrast-dark.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/high-contrast-light.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/sand-signika.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/skies.src.js +14 -0
- package/src/assets/plugins/highcharts/code/es-modules/masters/themes/sunset.src.js +14 -0
- package/src/assets/plugins/highcharts/code/highcharts-3d.js +105 -0
- package/src/assets/plugins/highcharts/code/highcharts-3d.js.map +1 -0
- package/src/assets/plugins/highcharts/code/highcharts-3d.src.js +5439 -0
- package/src/assets/plugins/highcharts/code/highcharts-more.js +201 -0
- package/src/assets/plugins/highcharts/code/highcharts-more.js.map +1 -0
- package/src/assets/plugins/highcharts/code/highcharts-more.src.js +12004 -0
- package/src/assets/plugins/highcharts/code/highcharts.js +593 -0
- package/src/assets/plugins/highcharts/code/highcharts.js.map +1 -0
- package/src/assets/plugins/highcharts/code/highcharts.src.js +47519 -0
- package/src/assets/plugins/highcharts/code/lib/canvg.js +8 -0
- package/src/assets/plugins/highcharts/code/lib/jspdf.js +283 -0
- package/src/assets/plugins/highcharts/code/lib/jspdf.src.js +21627 -0
- package/src/assets/plugins/highcharts/code/lib/svg2pdf.js +38 -0
- package/src/assets/plugins/highcharts/code/lib/svg2pdf.src.js +4390 -0
- package/src/assets/plugins/highcharts/code/modules/accessibility.js +256 -0
- package/src/assets/plugins/highcharts/code/modules/accessibility.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/accessibility.src.js +11868 -0
- package/src/assets/plugins/highcharts/code/modules/annotations-advanced.js +201 -0
- package/src/assets/plugins/highcharts/code/modules/annotations-advanced.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/annotations-advanced.src.js +9616 -0
- package/src/assets/plugins/highcharts/code/modules/annotations.js +135 -0
- package/src/assets/plugins/highcharts/code/modules/annotations.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/annotations.src.js +6712 -0
- package/src/assets/plugins/highcharts/code/modules/arrow-symbols.js +12 -0
- package/src/assets/plugins/highcharts/code/modules/arrow-symbols.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/arrow-symbols.src.js +202 -0
- package/src/assets/plugins/highcharts/code/modules/boost-canvas.js +25 -0
- package/src/assets/plugins/highcharts/code/modules/boost-canvas.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/boost-canvas.src.js +593 -0
- package/src/assets/plugins/highcharts/code/modules/boost.js +90 -0
- package/src/assets/plugins/highcharts/code/modules/boost.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/boost.src.js +3834 -0
- package/src/assets/plugins/highcharts/code/modules/broken-axis.js +20 -0
- package/src/assets/plugins/highcharts/code/modules/broken-axis.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/broken-axis.src.js +682 -0
- package/src/assets/plugins/highcharts/code/modules/bullet.js +18 -0
- package/src/assets/plugins/highcharts/code/modules/bullet.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/bullet.src.js +489 -0
- package/src/assets/plugins/highcharts/code/modules/coloraxis.js +33 -0
- package/src/assets/plugins/highcharts/code/modules/coloraxis.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/coloraxis.src.js +1484 -0
- package/src/assets/plugins/highcharts/code/modules/current-date-indicator.js +13 -0
- package/src/assets/plugins/highcharts/code/modules/current-date-indicator.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/current-date-indicator.src.js +138 -0
- package/src/assets/plugins/highcharts/code/modules/cylinder.js +20 -0
- package/src/assets/plugins/highcharts/code/modules/cylinder.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/cylinder.src.js +585 -0
- package/src/assets/plugins/highcharts/code/modules/data.js +42 -0
- package/src/assets/plugins/highcharts/code/modules/data.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/data.src.js +2383 -0
- package/src/assets/plugins/highcharts/code/modules/datagrouping.js +29 -0
- package/src/assets/plugins/highcharts/code/modules/datagrouping.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/datagrouping.src.js +1275 -0
- package/src/assets/plugins/highcharts/code/modules/debugger.js +30 -0
- package/src/assets/plugins/highcharts/code/modules/debugger.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/debugger.src.js +250 -0
- package/src/assets/plugins/highcharts/code/modules/dependency-wheel.js +20 -0
- package/src/assets/plugins/highcharts/code/modules/dependency-wheel.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/dependency-wheel.src.js +533 -0
- package/src/assets/plugins/highcharts/code/modules/dotplot.js +15 -0
- package/src/assets/plugins/highcharts/code/modules/dotplot.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/dotplot.src.js +216 -0
- package/src/assets/plugins/highcharts/code/modules/drag-panes.js +20 -0
- package/src/assets/plugins/highcharts/code/modules/drag-panes.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/drag-panes.src.js +586 -0
- package/src/assets/plugins/highcharts/code/modules/draggable-points.js +41 -0
- package/src/assets/plugins/highcharts/code/modules/draggable-points.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/draggable-points.src.js +2405 -0
- package/src/assets/plugins/highcharts/code/modules/drilldown.js +34 -0
- package/src/assets/plugins/highcharts/code/modules/drilldown.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/drilldown.src.js +1266 -0
- package/src/assets/plugins/highcharts/code/modules/dumbbell.js +24 -0
- package/src/assets/plugins/highcharts/code/modules/dumbbell.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/dumbbell.src.js +798 -0
- package/src/assets/plugins/highcharts/code/modules/export-data.js +30 -0
- package/src/assets/plugins/highcharts/code/modules/export-data.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/export-data.src.js +1203 -0
- package/src/assets/plugins/highcharts/code/modules/exporting.js +48 -0
- package/src/assets/plugins/highcharts/code/modules/exporting.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/exporting.src.js +2789 -0
- package/src/assets/plugins/highcharts/code/modules/full-screen.js +17 -0
- package/src/assets/plugins/highcharts/code/modules/full-screen.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/full-screen.src.js +284 -0
- package/src/assets/plugins/highcharts/code/modules/funnel.js +21 -0
- package/src/assets/plugins/highcharts/code/modules/funnel.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/funnel.src.js +777 -0
- package/src/assets/plugins/highcharts/code/modules/funnel3d.js +30 -0
- package/src/assets/plugins/highcharts/code/modules/funnel3d.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/funnel3d.src.js +1004 -0
- package/src/assets/plugins/highcharts/code/modules/gantt.js +226 -0
- package/src/assets/plugins/highcharts/code/modules/gantt.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/gantt.src.js +13485 -0
- package/src/assets/plugins/highcharts/code/modules/grid-axis.js +32 -0
- package/src/assets/plugins/highcharts/code/modules/grid-axis.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/grid-axis.src.js +1160 -0
- package/src/assets/plugins/highcharts/code/modules/heatmap.js +46 -0
- package/src/assets/plugins/highcharts/code/modules/heatmap.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/heatmap.src.js +2726 -0
- package/src/assets/plugins/highcharts/code/modules/heikinashi.js +17 -0
- package/src/assets/plugins/highcharts/code/modules/heikinashi.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/heikinashi.src.js +396 -0
- package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.js +21 -0
- package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/histogram-bellcurve.src.js +699 -0
- package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.js +18 -0
- package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/hollowcandlestick.src.js +500 -0
- package/src/assets/plugins/highcharts/code/modules/item-series.js +21 -0
- package/src/assets/plugins/highcharts/code/modules/item-series.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/item-series.src.js +660 -0
- package/src/assets/plugins/highcharts/code/modules/lollipop.js +14 -0
- package/src/assets/plugins/highcharts/code/modules/lollipop.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/lollipop.src.js +318 -0
- package/src/assets/plugins/highcharts/code/modules/marker-clusters.js +45 -0
- package/src/assets/plugins/highcharts/code/modules/marker-clusters.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/marker-clusters.src.js +1713 -0
- package/src/assets/plugins/highcharts/code/modules/networkgraph.js +58 -0
- package/src/assets/plugins/highcharts/code/modules/networkgraph.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/networkgraph.src.js +2926 -0
- package/src/assets/plugins/highcharts/code/modules/no-data-to-display.js +15 -0
- package/src/assets/plugins/highcharts/code/modules/no-data-to-display.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/no-data-to-display.src.js +231 -0
- package/src/assets/plugins/highcharts/code/modules/offline-exporting.js +27 -0
- package/src/assets/plugins/highcharts/code/modules/offline-exporting.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/offline-exporting.src.js +847 -0
- package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.js +17 -0
- package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/oldie-polyfills.src.js +220 -0
- package/src/assets/plugins/highcharts/code/modules/oldie.js +40 -0
- package/src/assets/plugins/highcharts/code/modules/oldie.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/oldie.src.js +1443 -0
- package/src/assets/plugins/highcharts/code/modules/organization.js +22 -0
- package/src/assets/plugins/highcharts/code/modules/organization.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/organization.src.js +736 -0
- package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.js +9 -0
- package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/overlapping-datalabels.src.js +33 -0
- package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.js +20 -0
- package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/parallel-coordinates.src.js +555 -0
- package/src/assets/plugins/highcharts/code/modules/pareto.js +16 -0
- package/src/assets/plugins/highcharts/code/modules/pareto.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/pareto.src.js +382 -0
- package/src/assets/plugins/highcharts/code/modules/pathfinder.js +40 -0
- package/src/assets/plugins/highcharts/code/modules/pathfinder.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/pathfinder.src.js +2693 -0
- package/src/assets/plugins/highcharts/code/modules/pattern-fill.js +24 -0
- package/src/assets/plugins/highcharts/code/modules/pattern-fill.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/pattern-fill.src.js +640 -0
- package/src/assets/plugins/highcharts/code/modules/price-indicator.js +15 -0
- package/src/assets/plugins/highcharts/code/modules/price-indicator.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/price-indicator.src.js +346 -0
- package/src/assets/plugins/highcharts/code/modules/pyramid3d.js +13 -0
- package/src/assets/plugins/highcharts/code/modules/pyramid3d.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/pyramid3d.src.js +211 -0
- package/src/assets/plugins/highcharts/code/modules/sankey.js +38 -0
- package/src/assets/plugins/highcharts/code/modules/sankey.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/sankey.src.js +1868 -0
- package/src/assets/plugins/highcharts/code/modules/series-label.js +24 -0
- package/src/assets/plugins/highcharts/code/modules/series-label.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/series-label.src.js +852 -0
- package/src/assets/plugins/highcharts/code/modules/solid-gauge.js +19 -0
- package/src/assets/plugins/highcharts/code/modules/solid-gauge.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/solid-gauge.src.js +650 -0
- package/src/assets/plugins/highcharts/code/modules/sonification.js +68 -0
- package/src/assets/plugins/highcharts/code/modules/sonification.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/sonification.src.js +3869 -0
- package/src/assets/plugins/highcharts/code/modules/static-scale.js +13 -0
- package/src/assets/plugins/highcharts/code/modules/static-scale.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/static-scale.src.js +117 -0
- package/src/assets/plugins/highcharts/code/modules/stock-tools.js +189 -0
- package/src/assets/plugins/highcharts/code/modules/stock-tools.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/stock-tools.src.js +9592 -0
- package/src/assets/plugins/highcharts/code/modules/stock.js +213 -0
- package/src/assets/plugins/highcharts/code/modules/stock.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/stock.src.js +12237 -0
- package/src/assets/plugins/highcharts/code/modules/streamgraph.js +13 -0
- package/src/assets/plugins/highcharts/code/modules/streamgraph.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/streamgraph.src.js +253 -0
- package/src/assets/plugins/highcharts/code/modules/sunburst.js +68 -0
- package/src/assets/plugins/highcharts/code/modules/sunburst.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/sunburst.src.js +3721 -0
- package/src/assets/plugins/highcharts/code/modules/tilemap.js +26 -0
- package/src/assets/plugins/highcharts/code/modules/tilemap.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/tilemap.src.js +878 -0
- package/src/assets/plugins/highcharts/code/modules/timeline.js +28 -0
- package/src/assets/plugins/highcharts/code/modules/timeline.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/timeline.src.js +815 -0
- package/src/assets/plugins/highcharts/code/modules/treegrid.js +65 -0
- package/src/assets/plugins/highcharts/code/modules/treegrid.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/treegrid.src.js +3294 -0
- package/src/assets/plugins/highcharts/code/modules/treemap.js +49 -0
- package/src/assets/plugins/highcharts/code/modules/treemap.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/treemap.src.js +2416 -0
- package/src/assets/plugins/highcharts/code/modules/variable-pie.js +18 -0
- package/src/assets/plugins/highcharts/code/modules/variable-pie.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/variable-pie.src.js +533 -0
- package/src/assets/plugins/highcharts/code/modules/variwide.js +21 -0
- package/src/assets/plugins/highcharts/code/modules/variwide.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/variwide.src.js +529 -0
- package/src/assets/plugins/highcharts/code/modules/vector.js +16 -0
- package/src/assets/plugins/highcharts/code/modules/vector.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/vector.src.js +409 -0
- package/src/assets/plugins/highcharts/code/modules/venn.js +39 -0
- package/src/assets/plugins/highcharts/code/modules/venn.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/venn.src.js +2095 -0
- package/src/assets/plugins/highcharts/code/modules/windbarb.js +24 -0
- package/src/assets/plugins/highcharts/code/modules/windbarb.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/windbarb.src.js +772 -0
- package/src/assets/plugins/highcharts/code/modules/wordcloud.js +31 -0
- package/src/assets/plugins/highcharts/code/modules/wordcloud.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/wordcloud.src.js +1584 -0
- package/src/assets/plugins/highcharts/code/modules/xrange.js +26 -0
- package/src/assets/plugins/highcharts/code/modules/xrange.js.map +1 -0
- package/src/assets/plugins/highcharts/code/modules/xrange.src.js +940 -0
- package/src/assets/plugins/highcharts/code/themes/avocado.js +10 -0
- package/src/assets/plugins/highcharts/code/themes/avocado.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/avocado.src.js +103 -0
- package/src/assets/plugins/highcharts/code/themes/brand-dark.js +15 -0
- package/src/assets/plugins/highcharts/code/themes/brand-dark.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/brand-dark.src.js +328 -0
- package/src/assets/plugins/highcharts/code/themes/brand-light.js +15 -0
- package/src/assets/plugins/highcharts/code/themes/brand-light.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/brand-light.src.js +294 -0
- package/src/assets/plugins/highcharts/code/themes/dark-blue.js +15 -0
- package/src/assets/plugins/highcharts/code/themes/dark-blue.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/dark-blue.src.js +315 -0
- package/src/assets/plugins/highcharts/code/themes/dark-green.js +15 -0
- package/src/assets/plugins/highcharts/code/themes/dark-green.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/dark-green.src.js +315 -0
- package/src/assets/plugins/highcharts/code/themes/dark-unica.js +14 -0
- package/src/assets/plugins/highcharts/code/themes/dark-unica.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/dark-unica.src.js +284 -0
- package/src/assets/plugins/highcharts/code/themes/gray.js +15 -0
- package/src/assets/plugins/highcharts/code/themes/gray.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/gray.src.js +323 -0
- package/src/assets/plugins/highcharts/code/themes/grid-light.js +11 -0
- package/src/assets/plugins/highcharts/code/themes/grid-light.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/grid-light.src.js +146 -0
- package/src/assets/plugins/highcharts/code/themes/grid.js +12 -0
- package/src/assets/plugins/highcharts/code/themes/grid.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/grid.src.js +176 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.js +14 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-dark.src.js +275 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-light.js +10 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-light.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/high-contrast-light.src.js +105 -0
- package/src/assets/plugins/highcharts/code/themes/sand-signika.js +12 -0
- package/src/assets/plugins/highcharts/code/themes/sand-signika.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/sand-signika.src.js +179 -0
- package/src/assets/plugins/highcharts/code/themes/skies.js +12 -0
- package/src/assets/plugins/highcharts/code/themes/skies.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/skies.src.js +167 -0
- package/src/assets/plugins/highcharts/code/themes/sunset.js +10 -0
- package/src/assets/plugins/highcharts/code/themes/sunset.js.map +1 -0
- package/src/assets/plugins/highcharts/code/themes/sunset.src.js +102 -0
- package/src/assets/plugins/highcharts/examples/3d-area-multiple/index.html +192 -0
- package/src/assets/plugins/highcharts/examples/3d-column-interactive/index.html +111 -0
- package/src/assets/plugins/highcharts/examples/3d-column-null-values/index.html +118 -0
- package/src/assets/plugins/highcharts/examples/3d-column-stacking-grouping/index.html +144 -0
- package/src/assets/plugins/highcharts/examples/3d-pie/index.html +130 -0
- package/src/assets/plugins/highcharts/examples/3d-pie-donut/index.html +112 -0
- package/src/assets/plugins/highcharts/examples/3d-scatter-draggable/index.html +221 -0
- package/src/assets/plugins/highcharts/examples/accessible-line/index.html +198 -0
- package/src/assets/plugins/highcharts/examples/accessible-pie/index.html +213 -0
- package/src/assets/plugins/highcharts/examples/advanced-accessible/index.html +271 -0
- package/src/assets/plugins/highcharts/examples/annotations/index.html +2170 -0
- package/src/assets/plugins/highcharts/examples/area-basic/index.html +157 -0
- package/src/assets/plugins/highcharts/examples/area-inverted/index.html +135 -0
- package/src/assets/plugins/highcharts/examples/area-missing/index.html +125 -0
- package/src/assets/plugins/highcharts/examples/area-negative/index.html +101 -0
- package/src/assets/plugins/highcharts/examples/area-stacked/index.html +136 -0
- package/src/assets/plugins/highcharts/examples/area-stacked-percent/index.html +141 -0
- package/src/assets/plugins/highcharts/examples/arearange/index.html +132 -0
- package/src/assets/plugins/highcharts/examples/arearange-line/index.html +195 -0
- package/src/assets/plugins/highcharts/examples/areaspline/index.html +137 -0
- package/src/assets/plugins/highcharts/examples/bar-basic/index.html +143 -0
- package/src/assets/plugins/highcharts/examples/bar-negative-stack/index.html +173 -0
- package/src/assets/plugins/highcharts/examples/bar-stacked/index.html +112 -0
- package/src/assets/plugins/highcharts/examples/bellcurve/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/box-plot/index.html +149 -0
- package/src/assets/plugins/highcharts/examples/bubble/index.html +209 -0
- package/src/assets/plugins/highcharts/examples/bubble-3d/index.html +159 -0
- package/src/assets/plugins/highcharts/examples/bullet-graph/index.html +233 -0
- package/src/assets/plugins/highcharts/examples/chart-update/index.html +137 -0
- package/src/assets/plugins/highcharts/examples/column-basic/index.html +144 -0
- package/src/assets/plugins/highcharts/examples/column-comparison/index.html +350 -0
- package/src/assets/plugins/highcharts/examples/column-drilldown/index.html +387 -0
- package/src/assets/plugins/highcharts/examples/column-negative/index.html +101 -0
- package/src/assets/plugins/highcharts/examples/column-parsed/index.html +138 -0
- package/src/assets/plugins/highcharts/examples/column-placement/index.html +160 -0
- package/src/assets/plugins/highcharts/examples/column-pyramid/index.html +117 -0
- package/src/assets/plugins/highcharts/examples/column-rotated-labels/index.html +147 -0
- package/src/assets/plugins/highcharts/examples/column-stacked/index.html +138 -0
- package/src/assets/plugins/highcharts/examples/column-stacked-and-grouped/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/column-stacked-percent/index.html +113 -0
- package/src/assets/plugins/highcharts/examples/columnrange/index.html +145 -0
- package/src/assets/plugins/highcharts/examples/combo/index.html +146 -0
- package/src/assets/plugins/highcharts/examples/combo-dual-axes/index.html +153 -0
- package/src/assets/plugins/highcharts/examples/combo-meteogram/index.html +768 -0
- package/src/assets/plugins/highcharts/examples/combo-multi-axes/index.html +222 -0
- package/src/assets/plugins/highcharts/examples/combo-regression/index.html +110 -0
- package/src/assets/plugins/highcharts/examples/combo-timeline/index.html +592 -0
- package/src/assets/plugins/highcharts/examples/cylinder/index.html +104 -0
- package/src/assets/plugins/highcharts/examples/dependency-wheel/index.html +165 -0
- package/src/assets/plugins/highcharts/examples/dumbbell/index.html +230 -0
- package/src/assets/plugins/highcharts/examples/dynamic-click-to-add/index.html +147 -0
- package/src/assets/plugins/highcharts/examples/dynamic-master-detail/index.html +316 -0
- package/src/assets/plugins/highcharts/examples/dynamic-update/index.html +163 -0
- package/src/assets/plugins/highcharts/examples/error-bar/index.html +154 -0
- package/src/assets/plugins/highcharts/examples/euler-diagram/index.html +119 -0
- package/src/assets/plugins/highcharts/examples/flame/index.html +1324 -0
- package/src/assets/plugins/highcharts/examples/funnel/index.html +131 -0
- package/src/assets/plugins/highcharts/examples/funnel3d/index.html +117 -0
- package/src/assets/plugins/highcharts/examples/gauge-activity/index.html +272 -0
- package/src/assets/plugins/highcharts/examples/gauge-clock/index.html +261 -0
- package/src/assets/plugins/highcharts/examples/gauge-dual/index.html +181 -0
- package/src/assets/plugins/highcharts/examples/gauge-solid/index.html +248 -0
- package/src/assets/plugins/highcharts/examples/gauge-speedometer/index.html +189 -0
- package/src/assets/plugins/highcharts/examples/gauge-vu-meter/index.html +210 -0
- package/src/assets/plugins/highcharts/examples/heatmap/index.html +168 -0
- package/src/assets/plugins/highcharts/examples/heatmap-canvas/index.html +8928 -0
- package/src/assets/plugins/highcharts/examples/histogram/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/honeycomb-usa/index.html +518 -0
- package/src/assets/plugins/highcharts/examples/line-ajax/index.html +206 -0
- package/src/assets/plugins/highcharts/examples/line-basic/index.html +147 -0
- package/src/assets/plugins/highcharts/examples/line-boost/index.html +144 -0
- package/src/assets/plugins/highcharts/examples/line-labels/index.html +108 -0
- package/src/assets/plugins/highcharts/examples/line-log-axis/index.html +106 -0
- package/src/assets/plugins/highcharts/examples/line-time-series/index.html +136 -0
- package/src/assets/plugins/highcharts/examples/live-data/index.html +155 -0
- package/src/assets/plugins/highcharts/examples/lollipop/index.html +161 -0
- package/src/assets/plugins/highcharts/examples/network-graph/index.html +277 -0
- package/src/assets/plugins/highcharts/examples/organization-chart/index.html +224 -0
- package/src/assets/plugins/highcharts/examples/packed-bubble/index.html +588 -0
- package/src/assets/plugins/highcharts/examples/packed-bubble-split/index.html +589 -0
- package/src/assets/plugins/highcharts/examples/parallel-coordinates/index.html +176 -0
- package/src/assets/plugins/highcharts/examples/pareto/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/parliament-chart/index.html +138 -0
- package/src/assets/plugins/highcharts/examples/pie-basic/index.html +141 -0
- package/src/assets/plugins/highcharts/examples/pie-donut/index.html +347 -0
- package/src/assets/plugins/highcharts/examples/pie-drilldown/index.html +418 -0
- package/src/assets/plugins/highcharts/examples/pie-gradient/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/pie-legend/index.html +128 -0
- package/src/assets/plugins/highcharts/examples/pie-monochrome/index.html +139 -0
- package/src/assets/plugins/highcharts/examples/pie-semi-circle/index.html +133 -0
- package/src/assets/plugins/highcharts/examples/polar/index.html +136 -0
- package/src/assets/plugins/highcharts/examples/polar-radial-bar/index.html +169 -0
- package/src/assets/plugins/highcharts/examples/polar-spider/index.html +148 -0
- package/src/assets/plugins/highcharts/examples/polar-wind-rose/index.html +351 -0
- package/src/assets/plugins/highcharts/examples/polygon/index.html +190 -0
- package/src/assets/plugins/highcharts/examples/pyramid/index.html +126 -0
- package/src/assets/plugins/highcharts/examples/pyramid3d/index.html +117 -0
- package/src/assets/plugins/highcharts/examples/renderer/index.html +334 -0
- package/src/assets/plugins/highcharts/examples/responsive/index.html +176 -0
- package/src/assets/plugins/highcharts/examples/sankey-diagram/index.html +145 -0
- package/src/assets/plugins/highcharts/examples/scatter/index.html +246 -0
- package/src/assets/plugins/highcharts/examples/scatter-boost/index.html +142 -0
- package/src/assets/plugins/highcharts/examples/sonification/index.html +331 -0
- package/src/assets/plugins/highcharts/examples/sparkline/index.html +676 -0
- package/src/assets/plugins/highcharts/examples/spline-inverted/index.html +135 -0
- package/src/assets/plugins/highcharts/examples/spline-irregular-time/index.html +255 -0
- package/src/assets/plugins/highcharts/examples/spline-plot-bands/index.html +223 -0
- package/src/assets/plugins/highcharts/examples/spline-symbols/index.html +139 -0
- package/src/assets/plugins/highcharts/examples/streamgraph/index.html +447 -0
- package/src/assets/plugins/highcharts/examples/styled-mode-column/index.html +146 -0
- package/src/assets/plugins/highcharts/examples/styled-mode-pie/index.html +119 -0
- package/src/assets/plugins/highcharts/examples/sunburst/index.html +1520 -0
- package/src/assets/plugins/highcharts/examples/synchronized-charts/index.html +238 -0
- package/src/assets/plugins/highcharts/examples/timeline/index.html +142 -0
- package/src/assets/plugins/highcharts/examples/treemap-coloraxis/index.html +119 -0
- package/src/assets/plugins/highcharts/examples/treemap-large-dataset/index.html +172 -0
- package/src/assets/plugins/highcharts/examples/treemap-with-levels/index.html +151 -0
- package/src/assets/plugins/highcharts/examples/variable-radius-pie/index.html +131 -0
- package/src/assets/plugins/highcharts/examples/variwide/index.html +146 -0
- package/src/assets/plugins/highcharts/examples/vector-plot/index.html +494 -0
- package/src/assets/plugins/highcharts/examples/venn-diagram/index.html +124 -0
- package/src/assets/plugins/highcharts/examples/waterfall/index.html +143 -0
- package/src/assets/plugins/highcharts/examples/windbarb-series/index.html +189 -0
- package/src/assets/plugins/highcharts/examples/wordcloud/index.html +110 -0
- package/src/assets/plugins/highcharts/examples/x-range/index.html +142 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/annotations-hidden.svg +19 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/annotations-visible.svg +20 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-bottom.svg +9 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-left.svg +9 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-line.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-ray.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-right.svg +9 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow-segment.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/arrow.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/circle.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/close.svg +8 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/crooked-3.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/crooked-5.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/current-price-hide.svg +40 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/current-price-show.svg +41 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/destroy.svg +14 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/drawing.svg +18 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/edit.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/elliott-3.svg +59 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/elliott-5.svg +41 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/ellipse.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/fibonacci-timezone.svg +16 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/fibonacci.svg +25 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/flag-basic.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/flag-diamond.svg +12 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/flag-elipse.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/flag-trapeze.svg +14 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/fullscreen.svg +15 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/horizontal-line.svg +8 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/indicators.svg +27 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/label.svg +16 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/line.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/linear.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/logarithmic.svg +1 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/measure-x.svg +23 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/measure-xy.svg +28 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/measure-y.svg +24 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/panning.svg +17 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/parallel-channel.svg +15 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/pitchfork.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/ray.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/rectangle.svg +8 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/remove-annotations.svg +15 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/save-chart.svg +12 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/segment.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/separator.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-candlestick.svg +12 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-heikin-ashi.svg +1 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-hlc.svg +1 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-hollow-candlestick.svg +1 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-line.svg +11 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/series-ohlc.svg +14 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/text.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/time-cycles.svg +35 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-arrow.svg +7 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-counter.svg +23 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-double-arrow.svg +10 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-label.svg +14 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/vertical-line.svg +8 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-x.svg +17 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-xy.svg +13 -0
- package/src/assets/plugins/highcharts/gfx/stock-icons/zoom-y.svg +17 -0
- package/src/assets/plugins/highcharts/gfx/vml-radial-gradient.png +0 -0
- package/src/assets/plugins/highcharts/graphics/color-picker.svg +12 -0
- package/src/assets/plugins/highcharts/graphics/cursor.svg +11 -0
- package/src/assets/plugins/highcharts/graphics/earth.svg +432 -0
- package/src/assets/plugins/highcharts/graphics/feature.svg +13 -0
- package/src/assets/plugins/highcharts/graphics/flag-circle.svg +17 -0
- package/src/assets/plugins/highcharts/graphics/flag-circlepin.svg +15 -0
- package/src/assets/plugins/highcharts/graphics/flag-diamondpin.svg +15 -0
- package/src/assets/plugins/highcharts/graphics/flag-flag.svg +14 -0
- package/src/assets/plugins/highcharts/graphics/flag-rectangle.svg +18 -0
- package/src/assets/plugins/highcharts/graphics/flag-squarepin.svg +16 -0
- package/src/assets/plugins/highcharts/graphics/flag.svg +15 -0
- package/src/assets/plugins/highcharts/graphics/homepage/apple.svg +55 -0
- package/src/assets/plugins/highcharts/graphics/homepage/award.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/cloud.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/earth.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/jupiter.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/mars.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/mercury.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/moon.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/neptune.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p1.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p1.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p2.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p2.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p3.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p3.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p4.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p4.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p5.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p5.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p6.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/p6.svg +9 -0
- package/src/assets/plugins/highcharts/graphics/homepage/product.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/saturn.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/sun.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/uranus.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/venus.png +0 -0
- package/src/assets/plugins/highcharts/graphics/homepage/version.png +0 -0
- package/src/assets/plugins/highcharts/graphics/rect.svg +12 -0
- package/src/assets/plugins/highcharts/graphics/reset.svg +16 -0
- package/src/assets/plugins/highcharts/graphics/sand.png +0 -0
- package/src/assets/plugins/highcharts/graphics/save-chart-cloud.svg +14 -0
- package/src/assets/plugins/highcharts/graphics/save.svg +14 -0
- package/src/assets/plugins/highcharts/graphics/search.png +0 -0
- package/src/assets/plugins/highcharts/graphics/skies.jpg +0 -0
- package/src/assets/plugins/highcharts/graphics/snow.png +0 -0
- package/src/assets/plugins/highcharts/graphics/sun.png +0 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/blue-flake-big.svg +32 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/blue-star-big.svg +16 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/car-tree.svg +429 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/green-flake-big.svg +119 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/green-star.svg +20 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/hill.svg +193 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/hill2.svg +164 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/horse.svg +1 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/people.svg +2336 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/pines.svg +777 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/pond-skate.svg +1 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-flake.svg +30 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-house.svg +85 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-star-big.svg +36 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/red-star.svg +20 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/santa-b.svg +91 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/santa.svg +91 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/snow-mound.svg +146 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/snow.svg +20788 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/sun-disk.svg +597 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/tree-cluster.svg +2735 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-flake-big.svg +99 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-flake.big.svg +96 -0
- package/src/assets/plugins/highcharts/graphics/xmas-card-2020/white-star-big.svg +36 -0
- package/src/assets/plugins/highcharts/index.html +133 -0
- package/src/lib/classes/chart.class.ts +140 -0
- package/src/lib/classes/enum.class.ts +193 -0
- package/src/lib/classes/excel.class.ts +46 -0
- package/src/lib/classes/form.class.ts +528 -0
- package/src/lib/classes/helper.class.ts +283 -0
- package/src/lib/classes/lang.class.ts +32 -0
- package/src/lib/classes/login.class.ts +27 -0
- package/src/lib/classes/modal.class.ts +59 -0
- package/src/lib/classes/permission.class.ts +55 -0
- package/src/lib/classes/request.class.ts +255 -0
- package/src/lib/classes/safestyle.class.ts +4 -0
- package/src/lib/classes/sidebar.class.ts +20 -0
- package/src/lib/classes/steps.class.ts +19 -0
- package/src/lib/classes/string.class.ts +219 -0
- package/src/lib/classes/table.class.ts +228 -0
- package/src/lib/components/accordion/accordion.component.css +116 -0
- package/src/lib/components/accordion/accordion.component.html +19 -0
- package/src/lib/components/accordion/accordion.component.ts +41 -0
- package/src/lib/components/alert/alert.component.css +112 -0
- package/src/lib/components/alert/alert.component.html +1 -0
- package/src/lib/components/alert/alert.component.ts +35 -0
- package/src/lib/components/base.component.ts +38 -0
- package/src/lib/components/calendar/calendar.component.css +206 -0
- package/src/lib/components/calendar/calendar.component.html +36 -0
- package/src/lib/components/calendar/calendar.component.ts +99 -0
- package/src/lib/components/chart/chart.component.css +24 -0
- package/src/lib/components/chart/chart.component.html +6 -0
- package/src/lib/components/chart/chart.component.ts +14 -0
- package/src/lib/components/clock/clock.component.css +141 -0
- package/src/lib/components/clock/clock.component.html +10 -0
- package/src/lib/components/clock/clock.component.ts +37 -0
- package/src/lib/components/confirm/confirm.component.css +112 -0
- package/src/lib/components/confirm/confirm.component.html +1 -0
- package/src/lib/components/confirm/confirm.component.ts +47 -0
- package/src/lib/components/footer/footer.component.css +46 -0
- package/src/lib/components/footer/footer.component.html +9 -0
- package/src/lib/components/footer/footer.component.ts +18 -0
- package/src/lib/components/form/bank-card/form.bank-card.component.css +115 -0
- package/src/lib/components/form/bank-card/form.bank-card.component.html +13 -0
- package/src/lib/components/form/bank-card/form.bank-card.component.ts +144 -0
- package/src/lib/components/form/button/form.button.component.css +222 -0
- package/src/lib/components/form/button/form.button.component.html +16 -0
- package/src/lib/components/form/button/form.button.component.ts +65 -0
- package/src/lib/components/form/car/form.car.component.css +287 -0
- package/src/lib/components/form/car/form.car.component.html +11 -0
- package/src/lib/components/form/car/form.car.component.ts +82 -0
- package/src/lib/components/form/car/search/form.car.search.component.css +287 -0
- package/src/lib/components/form/car/search/form.car.search.component.html +15 -0
- package/src/lib/components/form/car/search/form.car.search.component.ts +170 -0
- package/src/lib/components/form/checkbox/form.checkbox.component.css +128 -0
- package/src/lib/components/form/checkbox/form.checkbox.component.html +8 -0
- package/src/lib/components/form/checkbox/form.checkbox.component.ts +64 -0
- package/src/lib/components/form/date/form.date.component.css +310 -0
- package/src/lib/components/form/date/form.date.component.html +46 -0
- package/src/lib/components/form/date/form.date.component.ts +247 -0
- package/src/lib/components/form/datetime/form.datetime.component.css +157 -0
- package/src/lib/components/form/datetime/form.datetime.component.html +11 -0
- package/src/lib/components/form/datetime/form.datetime.component.ts +98 -0
- package/src/lib/components/form/file/form.file.component.css +151 -0
- package/src/lib/components/form/file/form.file.component.html +12 -0
- package/src/lib/components/form/file/form.file.component.ts +130 -0
- package/src/lib/components/form/finger/form.finger.component.css +215 -0
- package/src/lib/components/form/finger/form.finger.component.html +59 -0
- package/src/lib/components/form/finger/form.finger.component.ts +131 -0
- package/src/lib/components/form/hidden/form.hidden.component.css +0 -0
- package/src/lib/components/form/hidden/form.hidden.component.html +0 -0
- package/src/lib/components/form/hidden/form.hidden.component.ts +29 -0
- package/src/lib/components/form/icon/form.icon.component.css +108 -0
- package/src/lib/components/form/icon/form.icon.component.html +14 -0
- package/src/lib/components/form/icon/form.icon.component.ts +73 -0
- package/src/lib/components/form/index/form.component.css +89 -0
- package/src/lib/components/form/index/form.component.html +35 -0
- package/src/lib/components/form/index/form.component.ts +45 -0
- package/src/lib/components/form/label/form.label.component.css +45 -0
- package/src/lib/components/form/label/form.label.component.html +2 -0
- package/src/lib/components/form/label/form.label.component.ts +30 -0
- package/src/lib/components/form/plaque/form.plaque.component.css +76 -0
- package/src/lib/components/form/plaque/form.plaque.component.html +10 -0
- package/src/lib/components/form/plaque/form.plaque.component.ts +178 -0
- package/src/lib/components/form/plaque/select/form.plaque.select.component.css +167 -0
- package/src/lib/components/form/plaque/select/form.plaque.select.component.html +19 -0
- package/src/lib/components/form/plaque/select/form.plaque.select.component.ts +385 -0
- package/src/lib/components/form/radio/form.radio.component.css +158 -0
- package/src/lib/components/form/radio/form.radio.component.html +16 -0
- package/src/lib/components/form/radio/form.radio.component.ts +78 -0
- package/src/lib/components/form/select/form.select.component.css +326 -0
- package/src/lib/components/form/select/form.select.component.html +16 -0
- package/src/lib/components/form/select/form.select.component.ts +358 -0
- package/src/lib/components/form/select/item/form.select.item.component.css +59 -0
- package/src/lib/components/form/select/item/form.select.item.component.html +10 -0
- package/src/lib/components/form/select/item/form.select.item.component.ts +40 -0
- package/src/lib/components/form/table/form.table.component.css +50 -0
- package/src/lib/components/form/table/form.table.component.html +8 -0
- package/src/lib/components/form/table/form.table.component.ts +94 -0
- package/src/lib/components/form/textarea/form.textarea.component.css +109 -0
- package/src/lib/components/form/textarea/form.textarea.component.html +10 -0
- package/src/lib/components/form/textarea/form.textarea.component.ts +76 -0
- package/src/lib/components/form/textbox/form.textbox.component.css +296 -0
- package/src/lib/components/form/textbox/form.textbox.component.html +13 -0
- package/src/lib/components/form/textbox/form.textbox.component.ts +185 -0
- package/src/lib/components/form/time/form.time.component.css +205 -0
- package/src/lib/components/form/time/form.time.component.html +22 -0
- package/src/lib/components/form/time/form.time.component.ts +139 -0
- package/src/lib/components/form/tree/form.tree.component.css +109 -0
- package/src/lib/components/form/tree/form.tree.component.html +11 -0
- package/src/lib/components/form/tree/form.tree.component.ts +98 -0
- package/src/lib/components/form/tree/item/form.tree.item.component.css +142 -0
- package/src/lib/components/form/tree/item/form.tree.item.component.html +9 -0
- package/src/lib/components/form/tree/item/form.tree.item.component.ts +49 -0
- package/src/lib/components/header/header.component.css +57 -0
- package/src/lib/components/header/header.component.html +5 -0
- package/src/lib/components/header/header.component.ts +28 -0
- package/src/lib/components/header/sub/sub.header.component.css +62 -0
- package/src/lib/components/header/sub/sub.header.component.html +8 -0
- package/src/lib/components/header/sub/sub.header.component.ts +11 -0
- package/src/lib/components/layout/layout.component.css +300 -0
- package/src/lib/components/layout/layout.component.html +20 -0
- package/src/lib/components/layout/layout.component.ts +21 -0
- package/src/lib/components/loading/loading.component.css +39 -0
- package/src/lib/components/loading/loading.component.html +8 -0
- package/src/lib/components/loading/loading.component.ts +18 -0
- package/src/lib/components/login/login.component.css +389 -0
- package/src/lib/components/login/login.component.html +27 -0
- package/src/lib/components/login/login.component.ts +145 -0
- package/src/lib/components/modal/modal.component.css +60 -0
- package/src/lib/components/modal/modal.component.html +12 -0
- package/src/lib/components/modal/modal.component.ts +23 -0
- package/src/lib/components/notfound/notfound.component.css +134 -0
- package/src/lib/components/notfound/notfound.component.html +10 -0
- package/src/lib/components/notfound/notfound.component.ts +25 -0
- package/src/lib/components/notification/notification.component.css +45 -0
- package/src/lib/components/notification/notification.component.html +2 -0
- package/src/lib/components/notification/notification.component.ts +11 -0
- package/src/lib/components/sidebar/item/sidebar.item.component.css +236 -0
- package/src/lib/components/sidebar/item/sidebar.item.component.html +16 -0
- package/src/lib/components/sidebar/item/sidebar.item.component.ts +54 -0
- package/src/lib/components/sidebar/sidebar.component.css +42 -0
- package/src/lib/components/sidebar/sidebar.component.html +10 -0
- package/src/lib/components/sidebar/sidebar.component.ts +60 -0
- package/src/lib/components/steps/steps.component.css +320 -0
- package/src/lib/components/steps/steps.component.html +18 -0
- package/src/lib/components/steps/steps.component.ts +44 -0
- package/src/lib/components/table/loading/table.loading.component.css +29 -0
- package/src/lib/components/table/loading/table.loading.component.html +9 -0
- package/src/lib/components/table/loading/table.loading.component.ts +14 -0
- package/src/lib/components/table/pagination/table.pagination.component.css +138 -0
- package/src/lib/components/table/pagination/table.pagination.component.html +9 -0
- package/src/lib/components/table/pagination/table.pagination.component.ts +89 -0
- package/src/lib/components/table/report/table.report.component.css +125 -0
- package/src/lib/components/table/report/table.report.component.html +19 -0
- package/src/lib/components/table/report/table.report.component.ts +238 -0
- package/src/lib/components/table/row/table.row.component.css +170 -0
- package/src/lib/components/table/row/table.row.component.html +21 -0
- package/src/lib/components/table/row/table.row.component.ts +373 -0
- package/src/lib/components/table/table.component.css +116 -0
- package/src/lib/components/table/table.component.html +62 -0
- package/src/lib/components/table/table.component.ts +180 -0
- package/src/lib/components/tooltip/tooltip.component.css +159 -0
- package/src/lib/components/tooltip/tooltip.component.html +1 -0
- package/src/lib/components/tooltip/tooltip.component.ts +15 -0
- package/src/lib/ps-toolkit-ui.module.ts +94 -0
- package/src/lib/services/config.service.ts +8 -0
- package/src/public-api.ts +53 -0
- package/src/test.ts +26 -0
- package/tsconfig.lib.json +25 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/tslint.json +17 -0
- package/bundles/ps-toolkit-ui.umd.js +0 -7628
- package/bundles/ps-toolkit-ui.umd.js.map +0 -1
- package/bundles/ps-toolkit-ui.umd.min.js +0 -2
- package/bundles/ps-toolkit-ui.umd.min.js.map +0 -1
- package/esm2015/lib/classes/enum.class.js +0 -187
- package/esm2015/lib/classes/form.class.js +0 -481
- package/esm2015/lib/classes/helper.class.js +0 -284
- package/esm2015/lib/classes/lang.class.js +0 -32
- package/esm2015/lib/classes/login.class.js +0 -22
- package/esm2015/lib/classes/modal.class.js +0 -52
- package/esm2015/lib/classes/permission.class.js +0 -61
- package/esm2015/lib/classes/request.class.js +0 -256
- package/esm2015/lib/classes/safestyle.class.js +0 -15
- package/esm2015/lib/classes/sidebar.class.js +0 -14
- package/esm2015/lib/classes/steps.class.js +0 -20
- package/esm2015/lib/classes/string.class.js +0 -220
- package/esm2015/lib/classes/table.class.js +0 -215
- package/esm2015/lib/components/accordion/accordion.component.js +0 -45
- package/esm2015/lib/components/alert/alert.component.js +0 -39
- package/esm2015/lib/components/base.component.js +0 -45
- package/esm2015/lib/components/calendar/calendar.component.js +0 -97
- package/esm2015/lib/components/clock/clock.component.js +0 -33
- package/esm2015/lib/components/confirm/confirm.component.js +0 -50
- package/esm2015/lib/components/footer/footer.component.js +0 -23
- package/esm2015/lib/components/form/bank-card/form.bank-card.component.js +0 -148
- package/esm2015/lib/components/form/button/form.button.component.js +0 -68
- package/esm2015/lib/components/form/car/form.car.component.js +0 -84
- package/esm2015/lib/components/form/car/search/form.car.search.component.js +0 -172
- package/esm2015/lib/components/form/checkbox/form.checkbox.component.js +0 -66
- package/esm2015/lib/components/form/date/form.date.component.js +0 -254
- package/esm2015/lib/components/form/datetime/form.datetime.component.js +0 -104
- package/esm2015/lib/components/form/file/form.file.component.js +0 -133
- package/esm2015/lib/components/form/finger/form.finger.component.js +0 -138
- package/esm2015/lib/components/form/hidden/form.hidden.component.js +0 -31
- package/esm2015/lib/components/form/icon/form.icon.component.js +0 -76
- package/esm2015/lib/components/form/index/form.component.js +0 -48
- package/esm2015/lib/components/form/label/form.label.component.js +0 -32
- package/esm2015/lib/components/form/plaque/form.plaque.component.js +0 -176
- package/esm2015/lib/components/form/plaque/select/form.plaque.select.component.js +0 -390
- package/esm2015/lib/components/form/radio/form.radio.component.js +0 -79
- package/esm2015/lib/components/form/select/form.select.component.js +0 -374
- package/esm2015/lib/components/form/select/item/form.select.item.component.js +0 -43
- package/esm2015/lib/components/form/table/form.table.component.js +0 -98
- package/esm2015/lib/components/form/textarea/form.textarea.component.js +0 -78
- package/esm2015/lib/components/form/textbox/form.textbox.component.js +0 -186
- package/esm2015/lib/components/form/time/form.time.component.js +0 -145
- package/esm2015/lib/components/form/tree/form.tree.component.js +0 -99
- package/esm2015/lib/components/form/tree/item/form.tree.item.component.js +0 -48
- package/esm2015/lib/components/header/header.component.js +0 -33
- package/esm2015/lib/components/header/sub/sub.header.component.js +0 -14
- package/esm2015/lib/components/layout/layout.component.js +0 -25
- package/esm2015/lib/components/loading/loading.component.js +0 -22
- package/esm2015/lib/components/login/login.component.js +0 -148
- package/esm2015/lib/components/modal/modal.component.js +0 -25
- package/esm2015/lib/components/notfound/notfound.component.js +0 -29
- package/esm2015/lib/components/notification/notification.component.js +0 -14
- package/esm2015/lib/components/sidebar/item/sidebar.item.component.js +0 -53
- package/esm2015/lib/components/sidebar/sidebar.component.js +0 -67
- package/esm2015/lib/components/steps/steps.component.js +0 -51
- package/esm2015/lib/components/table/loading/table.loading.component.js +0 -17
- package/esm2015/lib/components/table/pagination/table.pagination.component.js +0 -84
- package/esm2015/lib/components/table/report/table.report.component.js +0 -246
- package/esm2015/lib/components/table/row/table.row.component.js +0 -379
- package/esm2015/lib/components/table/table.component.js +0 -179
- package/esm2015/lib/components/tooltip/tooltip.component.js +0 -19
- package/esm2015/lib/ps-toolkit-ui.module.js +0 -94
- package/esm2015/lib/services/config.service.js +0 -14
- package/esm2015/ps-toolkit-ui.js +0 -19
- package/esm2015/public-api.js +0 -52
- package/fesm2015/ps-toolkit-ui.js +0 -6550
- package/fesm2015/ps-toolkit-ui.js.map +0 -1
- package/lib/classes/enum.class.d.ts +0 -158
- package/lib/classes/form.class.d.ts +0 -173
- package/lib/classes/helper.class.d.ts +0 -28
- package/lib/classes/lang.class.d.ts +0 -5
- package/lib/classes/login.class.d.ts +0 -17
- package/lib/classes/modal.class.d.ts +0 -19
- package/lib/classes/permission.class.d.ts +0 -31
- package/lib/classes/request.class.d.ts +0 -12
- package/lib/classes/safestyle.class.d.ts +0 -7
- package/lib/classes/sidebar.class.d.ts +0 -11
- package/lib/classes/steps.class.d.ts +0 -17
- package/lib/classes/string.class.d.ts +0 -218
- package/lib/classes/table.class.d.ts +0 -69
- package/lib/components/accordion/accordion.component.d.ts +0 -7
- package/lib/components/alert/alert.component.d.ts +0 -10
- package/lib/components/base.component.d.ts +0 -14
- package/lib/components/calendar/calendar.component.d.ts +0 -26
- package/lib/components/clock/clock.component.d.ts +0 -11
- package/lib/components/confirm/confirm.component.d.ts +0 -14
- package/lib/components/footer/footer.component.d.ts +0 -6
- package/lib/components/form/bank-card/form.bank-card.component.d.ts +0 -22
- package/lib/components/form/button/form.button.component.d.ts +0 -15
- package/lib/components/form/car/form.car.component.d.ts +0 -16
- package/lib/components/form/car/search/form.car.search.component.d.ts +0 -17
- package/lib/components/form/checkbox/form.checkbox.component.d.ts +0 -14
- package/lib/components/form/date/form.date.component.d.ts +0 -42
- package/lib/components/form/datetime/form.datetime.component.d.ts +0 -13
- package/lib/components/form/file/form.file.component.d.ts +0 -17
- package/lib/components/form/finger/form.finger.component.d.ts +0 -15
- package/lib/components/form/hidden/form.hidden.component.d.ts +0 -7
- package/lib/components/form/icon/form.icon.component.d.ts +0 -15
- package/lib/components/form/index/form.component.d.ts +0 -10
- package/lib/components/form/label/form.label.component.d.ts +0 -8
- package/lib/components/form/plaque/form.plaque.component.d.ts +0 -22
- package/lib/components/form/plaque/select/form.plaque.select.component.d.ts +0 -36
- package/lib/components/form/radio/form.radio.component.d.ts +0 -13
- package/lib/components/form/select/form.select.component.d.ts +0 -39
- package/lib/components/form/select/item/form.select.item.component.d.ts +0 -12
- package/lib/components/form/table/form.table.component.d.ts +0 -9
- package/lib/components/form/textarea/form.textarea.component.d.ts +0 -13
- package/lib/components/form/textbox/form.textbox.component.d.ts +0 -20
- package/lib/components/form/time/form.time.component.d.ts +0 -25
- package/lib/components/form/tree/form.tree.component.d.ts +0 -16
- package/lib/components/form/tree/item/form.tree.item.component.d.ts +0 -17
- package/lib/components/header/header.component.d.ts +0 -9
- package/lib/components/header/sub/sub.header.component.d.ts +0 -3
- package/lib/components/layout/layout.component.d.ts +0 -8
- package/lib/components/loading/loading.component.d.ts +0 -5
- package/lib/components/login/login.component.d.ts +0 -13
- package/lib/components/modal/modal.component.d.ts +0 -9
- package/lib/components/notfound/notfound.component.d.ts +0 -8
- package/lib/components/notification/notification.component.d.ts +0 -3
- package/lib/components/sidebar/item/sidebar.item.component.d.ts +0 -14
- package/lib/components/sidebar/sidebar.component.d.ts +0 -19
- package/lib/components/steps/steps.component.d.ts +0 -10
- package/lib/components/table/loading/table.loading.component.d.ts +0 -5
- package/lib/components/table/pagination/table.pagination.component.d.ts +0 -15
- package/lib/components/table/report/table.report.component.d.ts +0 -34
- package/lib/components/table/row/table.row.component.d.ts +0 -34
- package/lib/components/table/table.component.d.ts +0 -40
- package/lib/components/tooltip/tooltip.component.d.ts +0 -5
- package/lib/ps-toolkit-ui.module.d.ts +0 -4
- package/lib/services/config.service.d.ts +0 -6
- package/ps-toolkit-ui.d.ts +0 -18
- package/ps-toolkit-ui.metadata.json +0 -1
- package/public-api.d.ts +0 -48
|
@@ -0,0 +1,3721 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Highcharts JS v9.3.3 (2022-02-01)
|
|
3
|
+
*
|
|
4
|
+
* (c) 2016-2021 Highsoft AS
|
|
5
|
+
* Authors: Jon Arild Nygard
|
|
6
|
+
*
|
|
7
|
+
* License: www.highcharts.com/license
|
|
8
|
+
*/
|
|
9
|
+
'use strict';
|
|
10
|
+
(function (factory) {
|
|
11
|
+
if (typeof module === 'object' && module.exports) {
|
|
12
|
+
factory['default'] = factory;
|
|
13
|
+
module.exports = factory;
|
|
14
|
+
} else if (typeof define === 'function' && define.amd) {
|
|
15
|
+
define('highcharts/modules/sunburst', ['highcharts'], function (Highcharts) {
|
|
16
|
+
factory(Highcharts);
|
|
17
|
+
factory.Highcharts = Highcharts;
|
|
18
|
+
return factory;
|
|
19
|
+
});
|
|
20
|
+
} else {
|
|
21
|
+
factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
|
|
22
|
+
}
|
|
23
|
+
}(function (Highcharts) {
|
|
24
|
+
var _modules = Highcharts ? Highcharts._modules : {};
|
|
25
|
+
function _registerModule(obj, path, args, fn) {
|
|
26
|
+
if (!obj.hasOwnProperty(path)) {
|
|
27
|
+
obj[path] = fn.apply(null, args);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
_registerModule(_modules, 'Series/ColorMapMixin.js', [_modules['Core/Globals.js'], _modules['Core/Series/Point.js'], _modules['Core/Utilities.js']], function (H, Point, U) {
|
|
31
|
+
/* *
|
|
32
|
+
*
|
|
33
|
+
* (c) 2010-2021 Torstein Honsi
|
|
34
|
+
*
|
|
35
|
+
* License: www.highcharts.com/license
|
|
36
|
+
*
|
|
37
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
38
|
+
*
|
|
39
|
+
* */
|
|
40
|
+
// @todo cleanup & reduction - consider composition
|
|
41
|
+
var noop = H.noop,
|
|
42
|
+
seriesTypes = H.seriesTypes;
|
|
43
|
+
var defined = U.defined,
|
|
44
|
+
addEvent = U.addEvent;
|
|
45
|
+
// Move points to the top of the z-index order when hovered
|
|
46
|
+
addEvent(Point, 'afterSetState', function (e) {
|
|
47
|
+
var point = this;
|
|
48
|
+
if (point.moveToTopOnHover && point.graphic) {
|
|
49
|
+
point.graphic.attr({
|
|
50
|
+
zIndex: e && e.state === 'hover' ? 1 : 0
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
/**
|
|
55
|
+
* Mixin for maps and heatmaps
|
|
56
|
+
*
|
|
57
|
+
* @private
|
|
58
|
+
* @mixin Highcharts.colorMapPointMixin
|
|
59
|
+
*/
|
|
60
|
+
var PointMixin = {
|
|
61
|
+
dataLabelOnNull: true,
|
|
62
|
+
moveToTopOnHover: true,
|
|
63
|
+
/* eslint-disable valid-jsdoc */
|
|
64
|
+
/**
|
|
65
|
+
* Color points have a value option that determines whether or not it is
|
|
66
|
+
* a null point
|
|
67
|
+
* @private
|
|
68
|
+
*/
|
|
69
|
+
isValid: function () {
|
|
70
|
+
// undefined is allowed
|
|
71
|
+
return (this.value !== null &&
|
|
72
|
+
this.value !== Infinity &&
|
|
73
|
+
this.value !== -Infinity);
|
|
74
|
+
}
|
|
75
|
+
/* eslint-enable valid-jsdoc */
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* @private
|
|
79
|
+
* @mixin Highcharts.colorMapSeriesMixin
|
|
80
|
+
*/
|
|
81
|
+
var SeriesMixin = {
|
|
82
|
+
pointArrayMap: ['value'],
|
|
83
|
+
axisTypes: ['xAxis', 'yAxis', 'colorAxis'],
|
|
84
|
+
trackerGroups: ['group', 'markerGroup', 'dataLabelsGroup'],
|
|
85
|
+
getSymbol: noop,
|
|
86
|
+
parallelArrays: ['x', 'y', 'value'],
|
|
87
|
+
colorKey: 'value',
|
|
88
|
+
pointAttribs: seriesTypes.column.prototype.pointAttribs,
|
|
89
|
+
/* eslint-disable valid-jsdoc */
|
|
90
|
+
/**
|
|
91
|
+
* Get the color attibutes to apply on the graphic
|
|
92
|
+
* @private
|
|
93
|
+
* @function Highcharts.colorMapSeriesMixin.colorAttribs
|
|
94
|
+
* @param {Highcharts.Point} point
|
|
95
|
+
* @return {Highcharts.SVGAttributes}
|
|
96
|
+
* The SVG attributes
|
|
97
|
+
*/
|
|
98
|
+
colorAttribs: function (point) {
|
|
99
|
+
var ret = {};
|
|
100
|
+
if (defined(point.color) &&
|
|
101
|
+
(!point.state || point.state === 'normal') // #15746
|
|
102
|
+
) {
|
|
103
|
+
ret[this.colorProp || 'fill'] = point.color;
|
|
104
|
+
}
|
|
105
|
+
return ret;
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
var ColorMapMixin = {
|
|
109
|
+
PointMixin: PointMixin,
|
|
110
|
+
SeriesMixin: SeriesMixin
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
return ColorMapMixin;
|
|
114
|
+
});
|
|
115
|
+
_registerModule(_modules, 'Series/Treemap/TreemapAlgorithmGroup.js', [], function () {
|
|
116
|
+
/* *
|
|
117
|
+
*
|
|
118
|
+
* (c) 2014-2021 Highsoft AS
|
|
119
|
+
*
|
|
120
|
+
* Authors: Jon Arild Nygard / Oystein Moseng
|
|
121
|
+
*
|
|
122
|
+
* License: www.highcharts.com/license
|
|
123
|
+
*
|
|
124
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
125
|
+
*
|
|
126
|
+
* */
|
|
127
|
+
/* *
|
|
128
|
+
*
|
|
129
|
+
* Class
|
|
130
|
+
*
|
|
131
|
+
* */
|
|
132
|
+
var TreemapAlgorithmGroup = /** @class */ (function () {
|
|
133
|
+
/* *
|
|
134
|
+
*
|
|
135
|
+
* Constructor
|
|
136
|
+
*
|
|
137
|
+
* */
|
|
138
|
+
function TreemapAlgorithmGroup(h, w, d, p) {
|
|
139
|
+
this.height = h;
|
|
140
|
+
this.width = w;
|
|
141
|
+
this.plot = p;
|
|
142
|
+
this.direction = d;
|
|
143
|
+
this.startDirection = d;
|
|
144
|
+
this.total = 0;
|
|
145
|
+
this.nW = 0;
|
|
146
|
+
this.lW = 0;
|
|
147
|
+
this.nH = 0;
|
|
148
|
+
this.lH = 0;
|
|
149
|
+
this.elArr = [];
|
|
150
|
+
this.lP = {
|
|
151
|
+
total: 0,
|
|
152
|
+
lH: 0,
|
|
153
|
+
nH: 0,
|
|
154
|
+
lW: 0,
|
|
155
|
+
nW: 0,
|
|
156
|
+
nR: 0,
|
|
157
|
+
lR: 0,
|
|
158
|
+
aspectRatio: function (w, h) {
|
|
159
|
+
return Math.max((w / h), (h / w));
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
/* *
|
|
164
|
+
*
|
|
165
|
+
* Functions
|
|
166
|
+
*
|
|
167
|
+
* */
|
|
168
|
+
/* eslint-disable valid-jsdoc */
|
|
169
|
+
TreemapAlgorithmGroup.prototype.addElement = function (el) {
|
|
170
|
+
this.lP.total = this.elArr[this.elArr.length - 1];
|
|
171
|
+
this.total = this.total + el;
|
|
172
|
+
if (this.direction === 0) {
|
|
173
|
+
// Calculate last point old aspect ratio
|
|
174
|
+
this.lW = this.nW;
|
|
175
|
+
this.lP.lH = this.lP.total / this.lW;
|
|
176
|
+
this.lP.lR = this.lP.aspectRatio(this.lW, this.lP.lH);
|
|
177
|
+
// Calculate last point new aspect ratio
|
|
178
|
+
this.nW = this.total / this.height;
|
|
179
|
+
this.lP.nH = this.lP.total / this.nW;
|
|
180
|
+
this.lP.nR = this.lP.aspectRatio(this.nW, this.lP.nH);
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
// Calculate last point old aspect ratio
|
|
184
|
+
this.lH = this.nH;
|
|
185
|
+
this.lP.lW = this.lP.total / this.lH;
|
|
186
|
+
this.lP.lR = this.lP.aspectRatio(this.lP.lW, this.lH);
|
|
187
|
+
// Calculate last point new aspect ratio
|
|
188
|
+
this.nH = this.total / this.width;
|
|
189
|
+
this.lP.nW = this.lP.total / this.nH;
|
|
190
|
+
this.lP.nR = this.lP.aspectRatio(this.lP.nW, this.nH);
|
|
191
|
+
}
|
|
192
|
+
this.elArr.push(el);
|
|
193
|
+
};
|
|
194
|
+
TreemapAlgorithmGroup.prototype.reset = function () {
|
|
195
|
+
this.nW = 0;
|
|
196
|
+
this.lW = 0;
|
|
197
|
+
this.elArr = [];
|
|
198
|
+
this.total = 0;
|
|
199
|
+
};
|
|
200
|
+
return TreemapAlgorithmGroup;
|
|
201
|
+
}());
|
|
202
|
+
/* *
|
|
203
|
+
*
|
|
204
|
+
* Default Export
|
|
205
|
+
*
|
|
206
|
+
* */
|
|
207
|
+
|
|
208
|
+
return TreemapAlgorithmGroup;
|
|
209
|
+
});
|
|
210
|
+
_registerModule(_modules, 'Series/DrawPointComposition.js', [], function () {
|
|
211
|
+
/* *
|
|
212
|
+
*
|
|
213
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
214
|
+
*
|
|
215
|
+
* */
|
|
216
|
+
/* *
|
|
217
|
+
*
|
|
218
|
+
* Composition
|
|
219
|
+
*
|
|
220
|
+
* */
|
|
221
|
+
var DrawPointComposition;
|
|
222
|
+
(function (DrawPointComposition) {
|
|
223
|
+
/* *
|
|
224
|
+
*
|
|
225
|
+
* Declarations
|
|
226
|
+
*
|
|
227
|
+
* */
|
|
228
|
+
/* *
|
|
229
|
+
*
|
|
230
|
+
* Constants
|
|
231
|
+
*
|
|
232
|
+
* */
|
|
233
|
+
var composedClasses = [];
|
|
234
|
+
/* *
|
|
235
|
+
*
|
|
236
|
+
* Functions
|
|
237
|
+
*
|
|
238
|
+
* */
|
|
239
|
+
/* eslint-disable valid-jsdoc */
|
|
240
|
+
/**
|
|
241
|
+
* @private
|
|
242
|
+
*/
|
|
243
|
+
function compose(PointClass) {
|
|
244
|
+
if (composedClasses.indexOf(PointClass) === -1) {
|
|
245
|
+
composedClasses.push(PointClass);
|
|
246
|
+
var pointProto = PointClass.prototype;
|
|
247
|
+
pointProto.draw = draw;
|
|
248
|
+
if (!pointProto.shouldDraw) {
|
|
249
|
+
pointProto.shouldDraw = shouldDraw;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
return PointClass;
|
|
253
|
+
}
|
|
254
|
+
DrawPointComposition.compose = compose;
|
|
255
|
+
/**
|
|
256
|
+
* Handles the drawing of a component.
|
|
257
|
+
* Can be used for any type of component that reserves the graphic property,
|
|
258
|
+
* and provides a shouldDraw on its context.
|
|
259
|
+
*
|
|
260
|
+
* @private
|
|
261
|
+
*
|
|
262
|
+
* @todo add type checking.
|
|
263
|
+
* @todo export this function to enable usage
|
|
264
|
+
*/
|
|
265
|
+
function draw(params) {
|
|
266
|
+
var _this = this;
|
|
267
|
+
var animatableAttribs = params.animatableAttribs,
|
|
268
|
+
onComplete = params.onComplete,
|
|
269
|
+
css = params.css,
|
|
270
|
+
renderer = params.renderer;
|
|
271
|
+
var animation = (this.series && this.series.chart.hasRendered) ?
|
|
272
|
+
// Chart-level animation on updates
|
|
273
|
+
void 0 :
|
|
274
|
+
// Series-level animation on new points
|
|
275
|
+
(this.series &&
|
|
276
|
+
this.series.options.animation);
|
|
277
|
+
var graphic = this.graphic;
|
|
278
|
+
params.attribs = params.attribs || {};
|
|
279
|
+
// Assigning class in dot notation does go well in IE8
|
|
280
|
+
// eslint-disable-next-line dot-notation
|
|
281
|
+
params.attribs['class'] = this.getClassName();
|
|
282
|
+
if (this.shouldDraw()) {
|
|
283
|
+
if (!graphic) {
|
|
284
|
+
this.graphic = graphic =
|
|
285
|
+
renderer[params.shapeType](params.shapeArgs)
|
|
286
|
+
.add(params.group);
|
|
287
|
+
}
|
|
288
|
+
graphic
|
|
289
|
+
.css(css)
|
|
290
|
+
.attr(params.attribs)
|
|
291
|
+
.animate(animatableAttribs, params.isNew ? false : animation, onComplete);
|
|
292
|
+
}
|
|
293
|
+
else if (graphic) {
|
|
294
|
+
var destroy_1 = function () {
|
|
295
|
+
_this.graphic = graphic = (graphic && graphic.destroy());
|
|
296
|
+
if (typeof onComplete === 'function') {
|
|
297
|
+
onComplete();
|
|
298
|
+
}
|
|
299
|
+
};
|
|
300
|
+
// animate only runs complete callback if something was animated.
|
|
301
|
+
if (Object.keys(animatableAttribs).length) {
|
|
302
|
+
graphic.animate(animatableAttribs, void 0, function () {
|
|
303
|
+
destroy_1();
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
else {
|
|
307
|
+
destroy_1();
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
/**
|
|
312
|
+
* @private
|
|
313
|
+
*/
|
|
314
|
+
function shouldDraw() {
|
|
315
|
+
return !this.isNull;
|
|
316
|
+
}
|
|
317
|
+
})(DrawPointComposition || (DrawPointComposition = {}));
|
|
318
|
+
/* *
|
|
319
|
+
*
|
|
320
|
+
* Default Export
|
|
321
|
+
*
|
|
322
|
+
* */
|
|
323
|
+
|
|
324
|
+
return DrawPointComposition;
|
|
325
|
+
});
|
|
326
|
+
_registerModule(_modules, 'Series/Treemap/TreemapPoint.js', [_modules['Series/DrawPointComposition.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (DrawPointComposition, SeriesRegistry, U) {
|
|
327
|
+
/* *
|
|
328
|
+
*
|
|
329
|
+
* (c) 2014-2021 Highsoft AS
|
|
330
|
+
*
|
|
331
|
+
* Authors: Jon Arild Nygard / Oystein Moseng
|
|
332
|
+
*
|
|
333
|
+
* License: www.highcharts.com/license
|
|
334
|
+
*
|
|
335
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
336
|
+
*
|
|
337
|
+
* */
|
|
338
|
+
var __extends = (this && this.__extends) || (function () {
|
|
339
|
+
var extendStatics = function (d,
|
|
340
|
+
b) {
|
|
341
|
+
extendStatics = Object.setPrototypeOf ||
|
|
342
|
+
({ __proto__: [] } instanceof Array && function (d,
|
|
343
|
+
b) { d.__proto__ = b; }) ||
|
|
344
|
+
function (d,
|
|
345
|
+
b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
346
|
+
return extendStatics(d, b);
|
|
347
|
+
};
|
|
348
|
+
return function (d, b) {
|
|
349
|
+
extendStatics(d, b);
|
|
350
|
+
function __() { this.constructor = d; }
|
|
351
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
352
|
+
};
|
|
353
|
+
})();
|
|
354
|
+
var Point = SeriesRegistry.series.prototype.pointClass,
|
|
355
|
+
_a = SeriesRegistry.seriesTypes,
|
|
356
|
+
PiePoint = _a.pie.prototype.pointClass,
|
|
357
|
+
ScatterPoint = _a.scatter.prototype.pointClass;
|
|
358
|
+
var extend = U.extend,
|
|
359
|
+
isNumber = U.isNumber,
|
|
360
|
+
pick = U.pick;
|
|
361
|
+
/* *
|
|
362
|
+
*
|
|
363
|
+
* Class
|
|
364
|
+
*
|
|
365
|
+
* */
|
|
366
|
+
var TreemapPoint = /** @class */ (function (_super) {
|
|
367
|
+
__extends(TreemapPoint, _super);
|
|
368
|
+
function TreemapPoint() {
|
|
369
|
+
/* *
|
|
370
|
+
*
|
|
371
|
+
* Properties
|
|
372
|
+
*
|
|
373
|
+
* */
|
|
374
|
+
var _this = _super !== null && _super.apply(this,
|
|
375
|
+
arguments) || this;
|
|
376
|
+
_this.name = void 0;
|
|
377
|
+
_this.node = void 0;
|
|
378
|
+
_this.options = void 0;
|
|
379
|
+
_this.series = void 0;
|
|
380
|
+
_this.value = void 0;
|
|
381
|
+
return _this;
|
|
382
|
+
/* eslint-enable valid-jsdoc */
|
|
383
|
+
}
|
|
384
|
+
/* *
|
|
385
|
+
*
|
|
386
|
+
* Functions
|
|
387
|
+
*
|
|
388
|
+
* */
|
|
389
|
+
/* eslint-disable valid-jsdoc */
|
|
390
|
+
TreemapPoint.prototype.getClassName = function () {
|
|
391
|
+
var className = Point.prototype.getClassName.call(this),
|
|
392
|
+
series = this.series,
|
|
393
|
+
options = series.options;
|
|
394
|
+
// Above the current level
|
|
395
|
+
if (this.node.level <= series.nodeMap[series.rootNode].level) {
|
|
396
|
+
className += ' highcharts-above-level';
|
|
397
|
+
}
|
|
398
|
+
else if (!this.node.isLeaf &&
|
|
399
|
+
!pick(options.interactByLeaf, !options.allowTraversingTree)) {
|
|
400
|
+
className += ' highcharts-internal-node-interactive';
|
|
401
|
+
}
|
|
402
|
+
else if (!this.node.isLeaf) {
|
|
403
|
+
className += ' highcharts-internal-node';
|
|
404
|
+
}
|
|
405
|
+
return className;
|
|
406
|
+
};
|
|
407
|
+
/**
|
|
408
|
+
* A tree point is valid if it has han id too, assume it may be a parent
|
|
409
|
+
* item.
|
|
410
|
+
*
|
|
411
|
+
* @private
|
|
412
|
+
* @function Highcharts.Point#isValid
|
|
413
|
+
*/
|
|
414
|
+
TreemapPoint.prototype.isValid = function () {
|
|
415
|
+
return Boolean(this.id || isNumber(this.value));
|
|
416
|
+
};
|
|
417
|
+
TreemapPoint.prototype.setState = function (state) {
|
|
418
|
+
Point.prototype.setState.call(this, state);
|
|
419
|
+
// Graphic does not exist when point is not visible.
|
|
420
|
+
if (this.graphic) {
|
|
421
|
+
this.graphic.attr({
|
|
422
|
+
zIndex: state === 'hover' ? 1 : 0
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
};
|
|
426
|
+
TreemapPoint.prototype.shouldDraw = function () {
|
|
427
|
+
return isNumber(this.plotY) && this.y !== null;
|
|
428
|
+
};
|
|
429
|
+
return TreemapPoint;
|
|
430
|
+
}(ScatterPoint));
|
|
431
|
+
extend(TreemapPoint.prototype, {
|
|
432
|
+
setVisible: PiePoint.prototype.setVisible
|
|
433
|
+
});
|
|
434
|
+
DrawPointComposition.compose(TreemapPoint);
|
|
435
|
+
/* *
|
|
436
|
+
*
|
|
437
|
+
* Default Export
|
|
438
|
+
*
|
|
439
|
+
* */
|
|
440
|
+
|
|
441
|
+
return TreemapPoint;
|
|
442
|
+
});
|
|
443
|
+
_registerModule(_modules, 'Series/Treemap/TreemapUtilities.js', [_modules['Core/Utilities.js']], function (U) {
|
|
444
|
+
/* *
|
|
445
|
+
*
|
|
446
|
+
* (c) 2014-2021 Highsoft AS
|
|
447
|
+
*
|
|
448
|
+
* Authors: Jon Arild Nygard / Oystein Moseng
|
|
449
|
+
*
|
|
450
|
+
* License: www.highcharts.com/license
|
|
451
|
+
*
|
|
452
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
453
|
+
*
|
|
454
|
+
* */
|
|
455
|
+
/* *
|
|
456
|
+
*
|
|
457
|
+
* Imports
|
|
458
|
+
*
|
|
459
|
+
* */
|
|
460
|
+
var objectEach = U.objectEach;
|
|
461
|
+
/* *
|
|
462
|
+
*
|
|
463
|
+
* Namespace
|
|
464
|
+
*
|
|
465
|
+
* */
|
|
466
|
+
var TreemapUtilities;
|
|
467
|
+
(function (TreemapUtilities) {
|
|
468
|
+
TreemapUtilities.AXIS_MAX = 100;
|
|
469
|
+
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
470
|
+
/**
|
|
471
|
+
* @todo Similar to eachObject, this function is likely redundant
|
|
472
|
+
*/
|
|
473
|
+
function isBoolean(x) {
|
|
474
|
+
return typeof x === 'boolean';
|
|
475
|
+
}
|
|
476
|
+
TreemapUtilities.isBoolean = isBoolean;
|
|
477
|
+
/**
|
|
478
|
+
* @todo Similar to recursive, this function is likely redundant
|
|
479
|
+
*/
|
|
480
|
+
function eachObject(list, func, context) {
|
|
481
|
+
context = context || this;
|
|
482
|
+
objectEach(list, function (val, key) {
|
|
483
|
+
func.call(context, val, key, list);
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
TreemapUtilities.eachObject = eachObject;
|
|
487
|
+
/**
|
|
488
|
+
* @todo find correct name for this function.
|
|
489
|
+
* @todo Similar to reduce, this function is likely redundant
|
|
490
|
+
*/
|
|
491
|
+
function recursive(item, func, context) {
|
|
492
|
+
if (context === void 0) { context = this; }
|
|
493
|
+
var next;
|
|
494
|
+
next = func.call(context, item);
|
|
495
|
+
if (next !== false) {
|
|
496
|
+
recursive(next, func, context);
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
TreemapUtilities.recursive = recursive;
|
|
500
|
+
})(TreemapUtilities || (TreemapUtilities = {}));
|
|
501
|
+
/* *
|
|
502
|
+
*
|
|
503
|
+
* Default Export
|
|
504
|
+
*
|
|
505
|
+
* */
|
|
506
|
+
|
|
507
|
+
return TreemapUtilities;
|
|
508
|
+
});
|
|
509
|
+
_registerModule(_modules, 'Series/TreeUtilities.js', [_modules['Core/Color/Color.js'], _modules['Core/Utilities.js']], function (Color, U) {
|
|
510
|
+
/* *
|
|
511
|
+
*
|
|
512
|
+
* (c) 2014-2021 Highsoft AS
|
|
513
|
+
*
|
|
514
|
+
* Authors: Jon Arild Nygard / Oystein Moseng
|
|
515
|
+
*
|
|
516
|
+
* License: www.highcharts.com/license
|
|
517
|
+
*
|
|
518
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
519
|
+
*
|
|
520
|
+
* */
|
|
521
|
+
var extend = U.extend,
|
|
522
|
+
isArray = U.isArray,
|
|
523
|
+
isNumber = U.isNumber,
|
|
524
|
+
isObject = U.isObject,
|
|
525
|
+
merge = U.merge,
|
|
526
|
+
pick = U.pick;
|
|
527
|
+
/* *
|
|
528
|
+
*
|
|
529
|
+
* Functions
|
|
530
|
+
*
|
|
531
|
+
* */
|
|
532
|
+
/* eslint-disable valid-jsdoc */
|
|
533
|
+
/**
|
|
534
|
+
* @private
|
|
535
|
+
*/
|
|
536
|
+
function getColor(node, options) {
|
|
537
|
+
var index = options.index,
|
|
538
|
+
mapOptionsToLevel = options.mapOptionsToLevel,
|
|
539
|
+
parentColor = options.parentColor,
|
|
540
|
+
parentColorIndex = options.parentColorIndex,
|
|
541
|
+
series = options.series,
|
|
542
|
+
colors = options.colors,
|
|
543
|
+
siblings = options.siblings,
|
|
544
|
+
points = series.points,
|
|
545
|
+
chartOptionsChart = series.chart.options.chart;
|
|
546
|
+
var getColorByPoint,
|
|
547
|
+
point,
|
|
548
|
+
level,
|
|
549
|
+
colorByPoint,
|
|
550
|
+
colorIndexByPoint,
|
|
551
|
+
color,
|
|
552
|
+
colorIndex;
|
|
553
|
+
/**
|
|
554
|
+
* @private
|
|
555
|
+
*/
|
|
556
|
+
var variateColor = function (color) {
|
|
557
|
+
var colorVariation = level && level.colorVariation;
|
|
558
|
+
if (colorVariation &&
|
|
559
|
+
colorVariation.key === 'brightness' &&
|
|
560
|
+
index &&
|
|
561
|
+
siblings) {
|
|
562
|
+
return Color.parse(color).brighten(colorVariation.to * (index / siblings)).get();
|
|
563
|
+
}
|
|
564
|
+
return color;
|
|
565
|
+
};
|
|
566
|
+
if (node) {
|
|
567
|
+
point = points[node.i];
|
|
568
|
+
level = mapOptionsToLevel[node.level] || {};
|
|
569
|
+
getColorByPoint = point && level.colorByPoint;
|
|
570
|
+
if (getColorByPoint) {
|
|
571
|
+
colorIndexByPoint = point.index % (colors ?
|
|
572
|
+
colors.length :
|
|
573
|
+
chartOptionsChart.colorCount);
|
|
574
|
+
colorByPoint = colors && colors[colorIndexByPoint];
|
|
575
|
+
}
|
|
576
|
+
// Select either point color, level color or inherited color.
|
|
577
|
+
if (!series.chart.styledMode) {
|
|
578
|
+
color = pick(point && point.options.color, level && level.color, colorByPoint, parentColor && variateColor(parentColor), series.color);
|
|
579
|
+
}
|
|
580
|
+
colorIndex = pick(point && point.options.colorIndex, level && level.colorIndex, colorIndexByPoint, parentColorIndex, options.colorIndex);
|
|
581
|
+
}
|
|
582
|
+
return {
|
|
583
|
+
color: color,
|
|
584
|
+
colorIndex: colorIndex
|
|
585
|
+
};
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Creates a map from level number to its given options.
|
|
589
|
+
*
|
|
590
|
+
* @private
|
|
591
|
+
*
|
|
592
|
+
* @param {Object} params
|
|
593
|
+
* Object containing parameters.
|
|
594
|
+
* - `defaults` Object containing default options. The default options are
|
|
595
|
+
* merged with the userOptions to get the final options for a specific
|
|
596
|
+
* level.
|
|
597
|
+
* - `from` The lowest level number.
|
|
598
|
+
* - `levels` User options from series.levels.
|
|
599
|
+
* - `to` The highest level number.
|
|
600
|
+
*
|
|
601
|
+
* @return {Highcharts.Dictionary<object>|null}
|
|
602
|
+
* Returns a map from level number to its given options.
|
|
603
|
+
*/
|
|
604
|
+
function getLevelOptions(params) {
|
|
605
|
+
var result = null,
|
|
606
|
+
defaults,
|
|
607
|
+
converted,
|
|
608
|
+
i,
|
|
609
|
+
from,
|
|
610
|
+
to,
|
|
611
|
+
levels;
|
|
612
|
+
if (isObject(params)) {
|
|
613
|
+
result = {};
|
|
614
|
+
from = isNumber(params.from) ? params.from : 1;
|
|
615
|
+
levels = params.levels;
|
|
616
|
+
converted = {};
|
|
617
|
+
defaults = isObject(params.defaults) ? params.defaults : {};
|
|
618
|
+
if (isArray(levels)) {
|
|
619
|
+
converted = levels.reduce(function (obj, item) {
|
|
620
|
+
var level,
|
|
621
|
+
levelIsConstant,
|
|
622
|
+
options;
|
|
623
|
+
if (isObject(item) && isNumber(item.level)) {
|
|
624
|
+
options = merge({}, item);
|
|
625
|
+
levelIsConstant = pick(options.levelIsConstant, defaults.levelIsConstant);
|
|
626
|
+
// Delete redundant properties.
|
|
627
|
+
delete options.levelIsConstant;
|
|
628
|
+
delete options.level;
|
|
629
|
+
// Calculate which level these options apply to.
|
|
630
|
+
level = item.level + (levelIsConstant ? 0 : from - 1);
|
|
631
|
+
if (isObject(obj[level])) {
|
|
632
|
+
merge(true, obj[level], options); // #16329
|
|
633
|
+
}
|
|
634
|
+
else {
|
|
635
|
+
obj[level] = options;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
return obj;
|
|
639
|
+
}, {});
|
|
640
|
+
}
|
|
641
|
+
to = isNumber(params.to) ? params.to : 1;
|
|
642
|
+
for (i = 0; i <= to; i++) {
|
|
643
|
+
result[i] = merge({}, defaults, isObject(converted[i]) ? converted[i] : {});
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
return result;
|
|
647
|
+
}
|
|
648
|
+
/**
|
|
649
|
+
* @private
|
|
650
|
+
* @todo Combine buildTree and buildNode with setTreeValues
|
|
651
|
+
* @todo Remove logic from Treemap and make it utilize this mixin.
|
|
652
|
+
*/
|
|
653
|
+
function setTreeValues(tree, options) {
|
|
654
|
+
var before = options.before,
|
|
655
|
+
idRoot = options.idRoot,
|
|
656
|
+
mapIdToNode = options.mapIdToNode,
|
|
657
|
+
nodeRoot = mapIdToNode[idRoot],
|
|
658
|
+
levelIsConstant = (options.levelIsConstant !== false),
|
|
659
|
+
points = options.points,
|
|
660
|
+
point = points[tree.i],
|
|
661
|
+
optionsPoint = point && point.options || {},
|
|
662
|
+
children = [];
|
|
663
|
+
var childrenTotal = 0;
|
|
664
|
+
tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
|
|
665
|
+
tree.name = pick(point && point.name, '');
|
|
666
|
+
tree.visible = (idRoot === tree.id ||
|
|
667
|
+
options.visible === true);
|
|
668
|
+
if (typeof before === 'function') {
|
|
669
|
+
tree = before(tree, options);
|
|
670
|
+
}
|
|
671
|
+
// First give the children some values
|
|
672
|
+
tree.children.forEach(function (child, i) {
|
|
673
|
+
var newOptions = extend({},
|
|
674
|
+
options);
|
|
675
|
+
extend(newOptions, {
|
|
676
|
+
index: i,
|
|
677
|
+
siblings: tree.children.length,
|
|
678
|
+
visible: tree.visible
|
|
679
|
+
});
|
|
680
|
+
child = setTreeValues(child, newOptions);
|
|
681
|
+
children.push(child);
|
|
682
|
+
if (child.visible) {
|
|
683
|
+
childrenTotal += child.val;
|
|
684
|
+
}
|
|
685
|
+
});
|
|
686
|
+
// Set the values
|
|
687
|
+
var value = pick(optionsPoint.value,
|
|
688
|
+
childrenTotal);
|
|
689
|
+
tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
|
|
690
|
+
tree.children = children;
|
|
691
|
+
tree.childrenTotal = childrenTotal;
|
|
692
|
+
tree.isLeaf = tree.visible && !childrenTotal;
|
|
693
|
+
tree.val = value;
|
|
694
|
+
return tree;
|
|
695
|
+
}
|
|
696
|
+
/**
|
|
697
|
+
* Update the rootId property on the series. Also makes sure that it is
|
|
698
|
+
* accessible to exporting.
|
|
699
|
+
*
|
|
700
|
+
* @private
|
|
701
|
+
*
|
|
702
|
+
* @param {Object} series
|
|
703
|
+
* The series to operate on.
|
|
704
|
+
*
|
|
705
|
+
* @return {string}
|
|
706
|
+
* Returns the resulting rootId after update.
|
|
707
|
+
*/
|
|
708
|
+
function updateRootId(series) {
|
|
709
|
+
var rootId,
|
|
710
|
+
options;
|
|
711
|
+
if (isObject(series)) {
|
|
712
|
+
// Get the series options.
|
|
713
|
+
options = isObject(series.options) ? series.options : {};
|
|
714
|
+
// Calculate the rootId.
|
|
715
|
+
rootId = pick(series.rootNode, options.rootId, '');
|
|
716
|
+
// Set rootId on series.userOptions to pick it up in exporting.
|
|
717
|
+
if (isObject(series.userOptions)) {
|
|
718
|
+
series.userOptions.rootId = rootId;
|
|
719
|
+
}
|
|
720
|
+
// Set rootId on series to pick it up on next update.
|
|
721
|
+
series.rootNode = rootId;
|
|
722
|
+
}
|
|
723
|
+
return rootId;
|
|
724
|
+
}
|
|
725
|
+
/* *
|
|
726
|
+
*
|
|
727
|
+
* Default Export
|
|
728
|
+
*
|
|
729
|
+
* */
|
|
730
|
+
var TreeUtilities = {
|
|
731
|
+
getColor: getColor,
|
|
732
|
+
getLevelOptions: getLevelOptions,
|
|
733
|
+
setTreeValues: setTreeValues,
|
|
734
|
+
updateRootId: updateRootId
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
return TreeUtilities;
|
|
738
|
+
});
|
|
739
|
+
_registerModule(_modules, 'Series/Treemap/TreemapComposition.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Series/Treemap/TreemapUtilities.js'], _modules['Core/Utilities.js']], function (SeriesRegistry, TreemapUtilities, U) {
|
|
740
|
+
/* *
|
|
741
|
+
*
|
|
742
|
+
* (c) 2014-2021 Highsoft AS
|
|
743
|
+
*
|
|
744
|
+
* Authors: Jon Arild Nygard / Oystein Moseng
|
|
745
|
+
*
|
|
746
|
+
* License: www.highcharts.com/license
|
|
747
|
+
*
|
|
748
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
749
|
+
*
|
|
750
|
+
* */
|
|
751
|
+
/* *
|
|
752
|
+
*
|
|
753
|
+
* Imports
|
|
754
|
+
*
|
|
755
|
+
* */
|
|
756
|
+
var Series = SeriesRegistry.series;
|
|
757
|
+
var addEvent = U.addEvent,
|
|
758
|
+
extend = U.extend;
|
|
759
|
+
/* *
|
|
760
|
+
*
|
|
761
|
+
* Composition
|
|
762
|
+
*
|
|
763
|
+
* */
|
|
764
|
+
var treemapAxisDefaultValues = false;
|
|
765
|
+
addEvent(Series, 'afterBindAxes', function () {
|
|
766
|
+
// eslint-disable-next-line no-invalid-this
|
|
767
|
+
var series = this,
|
|
768
|
+
xAxis = series.xAxis,
|
|
769
|
+
yAxis = series.yAxis,
|
|
770
|
+
treeAxis;
|
|
771
|
+
if (xAxis && yAxis) {
|
|
772
|
+
if (series.is('treemap')) {
|
|
773
|
+
treeAxis = {
|
|
774
|
+
endOnTick: false,
|
|
775
|
+
gridLineWidth: 0,
|
|
776
|
+
lineWidth: 0,
|
|
777
|
+
min: 0,
|
|
778
|
+
// dataMin: 0,
|
|
779
|
+
minPadding: 0,
|
|
780
|
+
max: TreemapUtilities.AXIS_MAX,
|
|
781
|
+
// dataMax: TreemapUtilities.AXIS_MAX,
|
|
782
|
+
maxPadding: 0,
|
|
783
|
+
startOnTick: false,
|
|
784
|
+
title: void 0,
|
|
785
|
+
tickPositions: []
|
|
786
|
+
};
|
|
787
|
+
extend(yAxis.options, treeAxis);
|
|
788
|
+
extend(xAxis.options, treeAxis);
|
|
789
|
+
treemapAxisDefaultValues = true;
|
|
790
|
+
}
|
|
791
|
+
else if (treemapAxisDefaultValues) {
|
|
792
|
+
yAxis.setOptions(yAxis.userOptions);
|
|
793
|
+
xAxis.setOptions(xAxis.userOptions);
|
|
794
|
+
treemapAxisDefaultValues = false;
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
});
|
|
798
|
+
|
|
799
|
+
});
|
|
800
|
+
_registerModule(_modules, 'Series/Treemap/TreemapSeries.js', [_modules['Core/Color/Color.js'], _modules['Series/ColorMapMixin.js'], _modules['Core/Globals.js'], _modules['Core/Legend/LegendSymbol.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Series/Treemap/TreemapAlgorithmGroup.js'], _modules['Series/Treemap/TreemapPoint.js'], _modules['Series/Treemap/TreemapUtilities.js'], _modules['Series/TreeUtilities.js'], _modules['Core/Utilities.js']], function (Color, ColorMapMixin, H, LegendSymbol, SeriesRegistry, TreemapAlgorithmGroup, TreemapPoint, TreemapUtilities, TU, U) {
|
|
801
|
+
/* *
|
|
802
|
+
*
|
|
803
|
+
* (c) 2014-2021 Highsoft AS
|
|
804
|
+
*
|
|
805
|
+
* Authors: Jon Arild Nygard / Oystein Moseng
|
|
806
|
+
*
|
|
807
|
+
* License: www.highcharts.com/license
|
|
808
|
+
*
|
|
809
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
810
|
+
*
|
|
811
|
+
* */
|
|
812
|
+
var __extends = (this && this.__extends) || (function () {
|
|
813
|
+
var extendStatics = function (d,
|
|
814
|
+
b) {
|
|
815
|
+
extendStatics = Object.setPrototypeOf ||
|
|
816
|
+
({ __proto__: [] } instanceof Array && function (d,
|
|
817
|
+
b) { d.__proto__ = b; }) ||
|
|
818
|
+
function (d,
|
|
819
|
+
b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
820
|
+
return extendStatics(d, b);
|
|
821
|
+
};
|
|
822
|
+
return function (d, b) {
|
|
823
|
+
extendStatics(d, b);
|
|
824
|
+
function __() { this.constructor = d; }
|
|
825
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
826
|
+
};
|
|
827
|
+
})();
|
|
828
|
+
var color = Color.parse;
|
|
829
|
+
var noop = H.noop;
|
|
830
|
+
var Series = SeriesRegistry.series,
|
|
831
|
+
_a = SeriesRegistry.seriesTypes,
|
|
832
|
+
ColumnSeries = _a.column,
|
|
833
|
+
HeatmapSeries = _a.heatmap,
|
|
834
|
+
ScatterSeries = _a.scatter;
|
|
835
|
+
var getColor = TU.getColor,
|
|
836
|
+
getLevelOptions = TU.getLevelOptions,
|
|
837
|
+
updateRootId = TU.updateRootId;
|
|
838
|
+
var addEvent = U.addEvent,
|
|
839
|
+
correctFloat = U.correctFloat,
|
|
840
|
+
defined = U.defined,
|
|
841
|
+
error = U.error,
|
|
842
|
+
extend = U.extend,
|
|
843
|
+
fireEvent = U.fireEvent,
|
|
844
|
+
isArray = U.isArray,
|
|
845
|
+
isObject = U.isObject,
|
|
846
|
+
isString = U.isString,
|
|
847
|
+
merge = U.merge,
|
|
848
|
+
pick = U.pick,
|
|
849
|
+
stableSort = U.stableSort;
|
|
850
|
+
/* *
|
|
851
|
+
*
|
|
852
|
+
* Class
|
|
853
|
+
*
|
|
854
|
+
* */
|
|
855
|
+
/**
|
|
856
|
+
* @private
|
|
857
|
+
* @class
|
|
858
|
+
* @name Highcharts.seriesTypes.treemap
|
|
859
|
+
*
|
|
860
|
+
* @augments Highcharts.Series
|
|
861
|
+
*/
|
|
862
|
+
var TreemapSeries = /** @class */ (function (_super) {
|
|
863
|
+
__extends(TreemapSeries, _super);
|
|
864
|
+
function TreemapSeries() {
|
|
865
|
+
/* *
|
|
866
|
+
*
|
|
867
|
+
* Static Properties
|
|
868
|
+
*
|
|
869
|
+
* */
|
|
870
|
+
var _this = _super !== null && _super.apply(this,
|
|
871
|
+
arguments) || this;
|
|
872
|
+
/* *
|
|
873
|
+
*
|
|
874
|
+
* Properties
|
|
875
|
+
*
|
|
876
|
+
* */
|
|
877
|
+
_this.axisRatio = void 0;
|
|
878
|
+
_this.data = void 0;
|
|
879
|
+
_this.mapOptionsToLevel = void 0;
|
|
880
|
+
_this.nodeMap = void 0;
|
|
881
|
+
_this.options = void 0;
|
|
882
|
+
_this.points = void 0;
|
|
883
|
+
_this.rootNode = void 0;
|
|
884
|
+
_this.tree = void 0;
|
|
885
|
+
return _this;
|
|
886
|
+
/* eslint-enable valid-jsdoc */
|
|
887
|
+
}
|
|
888
|
+
/* *
|
|
889
|
+
*
|
|
890
|
+
* Function
|
|
891
|
+
*
|
|
892
|
+
* */
|
|
893
|
+
/* eslint-disable valid-jsdoc */
|
|
894
|
+
TreemapSeries.prototype.algorithmCalcPoints = function (directionChange, last, group, childrenArea) {
|
|
895
|
+
var pX,
|
|
896
|
+
pY,
|
|
897
|
+
pW,
|
|
898
|
+
pH,
|
|
899
|
+
gW = group.lW,
|
|
900
|
+
gH = group.lH,
|
|
901
|
+
plot = group.plot,
|
|
902
|
+
keep,
|
|
903
|
+
i = 0,
|
|
904
|
+
end = group.elArr.length - 1;
|
|
905
|
+
if (last) {
|
|
906
|
+
gW = group.nW;
|
|
907
|
+
gH = group.nH;
|
|
908
|
+
}
|
|
909
|
+
else {
|
|
910
|
+
keep = group.elArr[group.elArr.length - 1];
|
|
911
|
+
}
|
|
912
|
+
group.elArr.forEach(function (p) {
|
|
913
|
+
if (last || (i < end)) {
|
|
914
|
+
if (group.direction === 0) {
|
|
915
|
+
pX = plot.x;
|
|
916
|
+
pY = plot.y;
|
|
917
|
+
pW = gW;
|
|
918
|
+
pH = p / pW;
|
|
919
|
+
}
|
|
920
|
+
else {
|
|
921
|
+
pX = plot.x;
|
|
922
|
+
pY = plot.y;
|
|
923
|
+
pH = gH;
|
|
924
|
+
pW = p / pH;
|
|
925
|
+
}
|
|
926
|
+
childrenArea.push({
|
|
927
|
+
x: pX,
|
|
928
|
+
y: pY,
|
|
929
|
+
width: pW,
|
|
930
|
+
height: correctFloat(pH)
|
|
931
|
+
});
|
|
932
|
+
if (group.direction === 0) {
|
|
933
|
+
plot.y = plot.y + pH;
|
|
934
|
+
}
|
|
935
|
+
else {
|
|
936
|
+
plot.x = plot.x + pW;
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
i = i + 1;
|
|
940
|
+
});
|
|
941
|
+
// Reset variables
|
|
942
|
+
group.reset();
|
|
943
|
+
if (group.direction === 0) {
|
|
944
|
+
group.width = group.width - gW;
|
|
945
|
+
}
|
|
946
|
+
else {
|
|
947
|
+
group.height = group.height - gH;
|
|
948
|
+
}
|
|
949
|
+
plot.y = plot.parent.y + (plot.parent.height - group.height);
|
|
950
|
+
plot.x = plot.parent.x + (plot.parent.width - group.width);
|
|
951
|
+
if (directionChange) {
|
|
952
|
+
group.direction = 1 - group.direction;
|
|
953
|
+
}
|
|
954
|
+
// If not last, then add uncalculated element
|
|
955
|
+
if (!last) {
|
|
956
|
+
group.addElement(keep);
|
|
957
|
+
}
|
|
958
|
+
};
|
|
959
|
+
TreemapSeries.prototype.algorithmFill = function (directionChange, parent, children) {
|
|
960
|
+
var childrenArea = [],
|
|
961
|
+
pTot,
|
|
962
|
+
direction = parent.direction,
|
|
963
|
+
x = parent.x,
|
|
964
|
+
y = parent.y,
|
|
965
|
+
width = parent.width,
|
|
966
|
+
height = parent.height,
|
|
967
|
+
pX,
|
|
968
|
+
pY,
|
|
969
|
+
pW,
|
|
970
|
+
pH;
|
|
971
|
+
children.forEach(function (child) {
|
|
972
|
+
pTot =
|
|
973
|
+
(parent.width * parent.height) * (child.val / parent.val);
|
|
974
|
+
pX = x;
|
|
975
|
+
pY = y;
|
|
976
|
+
if (direction === 0) {
|
|
977
|
+
pH = height;
|
|
978
|
+
pW = pTot / pH;
|
|
979
|
+
width = width - pW;
|
|
980
|
+
x = x + pW;
|
|
981
|
+
}
|
|
982
|
+
else {
|
|
983
|
+
pW = width;
|
|
984
|
+
pH = pTot / pW;
|
|
985
|
+
height = height - pH;
|
|
986
|
+
y = y + pH;
|
|
987
|
+
}
|
|
988
|
+
childrenArea.push({
|
|
989
|
+
x: pX,
|
|
990
|
+
y: pY,
|
|
991
|
+
width: pW,
|
|
992
|
+
height: pH
|
|
993
|
+
});
|
|
994
|
+
if (directionChange) {
|
|
995
|
+
direction = 1 - direction;
|
|
996
|
+
}
|
|
997
|
+
});
|
|
998
|
+
return childrenArea;
|
|
999
|
+
};
|
|
1000
|
+
TreemapSeries.prototype.algorithmLowAspectRatio = function (directionChange, parent, children) {
|
|
1001
|
+
var childrenArea = [],
|
|
1002
|
+
series = this,
|
|
1003
|
+
pTot,
|
|
1004
|
+
plot = {
|
|
1005
|
+
x: parent.x,
|
|
1006
|
+
y: parent.y,
|
|
1007
|
+
parent: parent
|
|
1008
|
+
},
|
|
1009
|
+
direction = parent.direction,
|
|
1010
|
+
i = 0,
|
|
1011
|
+
end = children.length - 1,
|
|
1012
|
+
group = new TreemapAlgorithmGroup(parent.height,
|
|
1013
|
+
parent.width,
|
|
1014
|
+
direction,
|
|
1015
|
+
plot);
|
|
1016
|
+
// Loop through and calculate all areas
|
|
1017
|
+
children.forEach(function (child) {
|
|
1018
|
+
pTot =
|
|
1019
|
+
(parent.width * parent.height) * (child.val / parent.val);
|
|
1020
|
+
group.addElement(pTot);
|
|
1021
|
+
if (group.lP.nR > group.lP.lR) {
|
|
1022
|
+
series.algorithmCalcPoints(directionChange, false, group, childrenArea, plot // @todo no supported
|
|
1023
|
+
);
|
|
1024
|
+
}
|
|
1025
|
+
// If last child, then calculate all remaining areas
|
|
1026
|
+
if (i === end) {
|
|
1027
|
+
series.algorithmCalcPoints(directionChange, true, group, childrenArea, plot // @todo not supported
|
|
1028
|
+
);
|
|
1029
|
+
}
|
|
1030
|
+
i = i + 1;
|
|
1031
|
+
});
|
|
1032
|
+
return childrenArea;
|
|
1033
|
+
};
|
|
1034
|
+
/**
|
|
1035
|
+
* Over the alignment method by setting z index.
|
|
1036
|
+
* @private
|
|
1037
|
+
*/
|
|
1038
|
+
TreemapSeries.prototype.alignDataLabel = function (point, dataLabel, labelOptions) {
|
|
1039
|
+
var style = labelOptions.style;
|
|
1040
|
+
// #8160: Prevent the label from exceeding the point's
|
|
1041
|
+
// boundaries in treemaps by applying ellipsis overflow.
|
|
1042
|
+
// The issue was happening when datalabel's text contained a
|
|
1043
|
+
// long sequence of characters without a whitespace.
|
|
1044
|
+
if (style &&
|
|
1045
|
+
!defined(style.textOverflow) &&
|
|
1046
|
+
dataLabel.text &&
|
|
1047
|
+
dataLabel.getBBox().width > dataLabel.text.textWidth) {
|
|
1048
|
+
dataLabel.css({
|
|
1049
|
+
textOverflow: 'ellipsis',
|
|
1050
|
+
// unit (px) is required when useHTML is true
|
|
1051
|
+
width: style.width += 'px'
|
|
1052
|
+
});
|
|
1053
|
+
}
|
|
1054
|
+
ColumnSeries.prototype.alignDataLabel.apply(this, arguments);
|
|
1055
|
+
if (point.dataLabel) {
|
|
1056
|
+
// point.node.zIndex could be undefined (#6956)
|
|
1057
|
+
point.dataLabel.attr({ zIndex: (point.node.zIndex || 0) + 1 });
|
|
1058
|
+
}
|
|
1059
|
+
};
|
|
1060
|
+
TreemapSeries.prototype.buildNode = function (id, i, level, list, parent) {
|
|
1061
|
+
var series = this,
|
|
1062
|
+
children = [],
|
|
1063
|
+
point = series.points[i],
|
|
1064
|
+
height = 0,
|
|
1065
|
+
node,
|
|
1066
|
+
child;
|
|
1067
|
+
// Actions
|
|
1068
|
+
((list[id] || [])).forEach(function (i) {
|
|
1069
|
+
child = series.buildNode(series.points[i].id, i, (level + 1), list, id);
|
|
1070
|
+
height = Math.max(child.height + 1, height);
|
|
1071
|
+
children.push(child);
|
|
1072
|
+
});
|
|
1073
|
+
node = {
|
|
1074
|
+
id: id,
|
|
1075
|
+
i: i,
|
|
1076
|
+
children: children,
|
|
1077
|
+
height: height,
|
|
1078
|
+
level: level,
|
|
1079
|
+
parent: parent,
|
|
1080
|
+
visible: false // @todo move this to better location
|
|
1081
|
+
};
|
|
1082
|
+
series.nodeMap[node.id] = node;
|
|
1083
|
+
if (point) {
|
|
1084
|
+
point.node = node;
|
|
1085
|
+
}
|
|
1086
|
+
return node;
|
|
1087
|
+
};
|
|
1088
|
+
/**
|
|
1089
|
+
* Recursive function which calculates the area for all children of a
|
|
1090
|
+
* node.
|
|
1091
|
+
*
|
|
1092
|
+
* @private
|
|
1093
|
+
* @function Highcharts.Series#calculateChildrenAreas
|
|
1094
|
+
*
|
|
1095
|
+
* @param {Object} node
|
|
1096
|
+
* The node which is parent to the children.
|
|
1097
|
+
*
|
|
1098
|
+
* @param {Object} area
|
|
1099
|
+
* The rectangular area of the parent.
|
|
1100
|
+
*/
|
|
1101
|
+
TreemapSeries.prototype.calculateChildrenAreas = function (parent, area) {
|
|
1102
|
+
var series = this,
|
|
1103
|
+
options = series.options,
|
|
1104
|
+
mapOptionsToLevel = series.mapOptionsToLevel,
|
|
1105
|
+
level = mapOptionsToLevel[parent.level + 1],
|
|
1106
|
+
algorithm = pick((series[(level && level.layoutAlgorithm)] &&
|
|
1107
|
+
level.layoutAlgorithm),
|
|
1108
|
+
options.layoutAlgorithm),
|
|
1109
|
+
alternate = options.alternateStartingDirection,
|
|
1110
|
+
childrenValues = [],
|
|
1111
|
+
children;
|
|
1112
|
+
// Collect all children which should be included
|
|
1113
|
+
children = parent.children.filter(function (n) {
|
|
1114
|
+
return !n.ignore;
|
|
1115
|
+
});
|
|
1116
|
+
if (level && level.layoutStartingDirection) {
|
|
1117
|
+
area.direction = level.layoutStartingDirection === 'vertical' ?
|
|
1118
|
+
0 :
|
|
1119
|
+
1;
|
|
1120
|
+
}
|
|
1121
|
+
childrenValues = series[algorithm](area, children);
|
|
1122
|
+
children.forEach(function (child, index) {
|
|
1123
|
+
var values = childrenValues[index];
|
|
1124
|
+
child.values = merge(values, {
|
|
1125
|
+
val: child.childrenTotal,
|
|
1126
|
+
direction: (alternate ? 1 - area.direction : area.direction)
|
|
1127
|
+
});
|
|
1128
|
+
child.pointValues = merge(values, {
|
|
1129
|
+
x: (values.x / series.axisRatio),
|
|
1130
|
+
// Flip y-values to avoid visual regression with csvCoord in
|
|
1131
|
+
// Axis.translate at setPointValues. #12488
|
|
1132
|
+
y: TreemapUtilities.AXIS_MAX - values.y - values.height,
|
|
1133
|
+
width: (values.width / series.axisRatio)
|
|
1134
|
+
});
|
|
1135
|
+
// If node has children, then call method recursively
|
|
1136
|
+
if (child.children.length) {
|
|
1137
|
+
series.calculateChildrenAreas(child, child.values);
|
|
1138
|
+
}
|
|
1139
|
+
});
|
|
1140
|
+
};
|
|
1141
|
+
/**
|
|
1142
|
+
* Extend drawDataLabels with logic to handle custom options related to
|
|
1143
|
+
* the treemap series:
|
|
1144
|
+
*
|
|
1145
|
+
* - Points which is not a leaf node, has dataLabels disabled by
|
|
1146
|
+
* default.
|
|
1147
|
+
*
|
|
1148
|
+
* - Options set on series.levels is merged in.
|
|
1149
|
+
*
|
|
1150
|
+
* - Width of the dataLabel is set to match the width of the point
|
|
1151
|
+
* shape.
|
|
1152
|
+
*
|
|
1153
|
+
* @private
|
|
1154
|
+
*/
|
|
1155
|
+
TreemapSeries.prototype.drawDataLabels = function () {
|
|
1156
|
+
var series = this,
|
|
1157
|
+
mapOptionsToLevel = series.mapOptionsToLevel,
|
|
1158
|
+
points = series.points.filter(function (n) {
|
|
1159
|
+
return n.node.visible;
|
|
1160
|
+
}), options, level;
|
|
1161
|
+
points.forEach(function (point) {
|
|
1162
|
+
level = mapOptionsToLevel[point.node.level];
|
|
1163
|
+
// Set options to new object to avoid problems with scope
|
|
1164
|
+
options = { style: {} };
|
|
1165
|
+
// If not a leaf, then label should be disabled as default
|
|
1166
|
+
if (!point.node.isLeaf) {
|
|
1167
|
+
options.enabled = false;
|
|
1168
|
+
}
|
|
1169
|
+
// If options for level exists, include them as well
|
|
1170
|
+
if (level && level.dataLabels) {
|
|
1171
|
+
options = merge(options, level.dataLabels);
|
|
1172
|
+
series._hasPointLabels = true;
|
|
1173
|
+
}
|
|
1174
|
+
// Set dataLabel width to the width of the point shape.
|
|
1175
|
+
if (point.shapeArgs) {
|
|
1176
|
+
options.style.width = point.shapeArgs.width;
|
|
1177
|
+
if (point.dataLabel) {
|
|
1178
|
+
point.dataLabel.css({
|
|
1179
|
+
width: point.shapeArgs.width + 'px'
|
|
1180
|
+
});
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
// Merge custom options with point options
|
|
1184
|
+
point.dlOptions = merge(options, point.options.dataLabels);
|
|
1185
|
+
});
|
|
1186
|
+
Series.prototype.drawDataLabels.call(this);
|
|
1187
|
+
};
|
|
1188
|
+
/**
|
|
1189
|
+
* Override drawPoints
|
|
1190
|
+
* @private
|
|
1191
|
+
*/
|
|
1192
|
+
TreemapSeries.prototype.drawPoints = function () {
|
|
1193
|
+
var series = this,
|
|
1194
|
+
chart = series.chart,
|
|
1195
|
+
renderer = chart.renderer,
|
|
1196
|
+
points = series.points,
|
|
1197
|
+
styledMode = chart.styledMode,
|
|
1198
|
+
options = series.options,
|
|
1199
|
+
shadow = styledMode ? {} : options.shadow,
|
|
1200
|
+
borderRadius = options.borderRadius,
|
|
1201
|
+
withinAnimationLimit = chart.pointCount < options.animationLimit,
|
|
1202
|
+
allowTraversingTree = options.allowTraversingTree;
|
|
1203
|
+
points.forEach(function (point) {
|
|
1204
|
+
var levelDynamic = point.node.levelDynamic,
|
|
1205
|
+
animatableAttribs = {},
|
|
1206
|
+
attribs = {},
|
|
1207
|
+
css = {},
|
|
1208
|
+
groupKey = 'level-group-' + point.node.level,
|
|
1209
|
+
hasGraphic = !!point.graphic,
|
|
1210
|
+
shouldAnimate = withinAnimationLimit && hasGraphic,
|
|
1211
|
+
shapeArgs = point.shapeArgs;
|
|
1212
|
+
// Don't bother with calculate styling if the point is not drawn
|
|
1213
|
+
if (point.shouldDraw()) {
|
|
1214
|
+
point.isInside = true;
|
|
1215
|
+
if (borderRadius) {
|
|
1216
|
+
attribs.r = borderRadius;
|
|
1217
|
+
}
|
|
1218
|
+
merge(true, // Extend object
|
|
1219
|
+
// Which object to extend
|
|
1220
|
+
shouldAnimate ? animatableAttribs : attribs,
|
|
1221
|
+
// Add shapeArgs to animate/attr if graphic exists
|
|
1222
|
+
hasGraphic ? shapeArgs : {},
|
|
1223
|
+
// Add style attribs if !styleMode
|
|
1224
|
+
styledMode ?
|
|
1225
|
+
{} :
|
|
1226
|
+
series.pointAttribs(point, point.selected ? 'select' : void 0));
|
|
1227
|
+
// In styled mode apply point.color. Use CSS, otherwise the
|
|
1228
|
+
// fill used in the style sheet will take precedence over
|
|
1229
|
+
// the fill attribute.
|
|
1230
|
+
if (series.colorAttribs && styledMode) {
|
|
1231
|
+
// Heatmap is loaded
|
|
1232
|
+
extend(css, series.colorAttribs(point));
|
|
1233
|
+
}
|
|
1234
|
+
if (!series[groupKey]) {
|
|
1235
|
+
series[groupKey] = renderer.g(groupKey)
|
|
1236
|
+
.attr({
|
|
1237
|
+
// @todo Set the zIndex based upon the number of
|
|
1238
|
+
// levels, instead of using 1000
|
|
1239
|
+
zIndex: 1000 - (levelDynamic || 0)
|
|
1240
|
+
})
|
|
1241
|
+
.add(series.group);
|
|
1242
|
+
series[groupKey].survive = true;
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
// Draw the point
|
|
1246
|
+
point.draw({
|
|
1247
|
+
animatableAttribs: animatableAttribs,
|
|
1248
|
+
attribs: attribs,
|
|
1249
|
+
css: css,
|
|
1250
|
+
group: series[groupKey],
|
|
1251
|
+
renderer: renderer,
|
|
1252
|
+
shadow: shadow,
|
|
1253
|
+
shapeArgs: shapeArgs,
|
|
1254
|
+
shapeType: 'rect'
|
|
1255
|
+
});
|
|
1256
|
+
// If setRootNode is allowed, set a point cursor on clickables &
|
|
1257
|
+
// add drillId to point
|
|
1258
|
+
if (allowTraversingTree && point.graphic) {
|
|
1259
|
+
point.drillId = options.interactByLeaf ?
|
|
1260
|
+
series.drillToByLeaf(point) :
|
|
1261
|
+
series.drillToByGroup(point);
|
|
1262
|
+
}
|
|
1263
|
+
});
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* Finds the drill id for a parent node. Returns false if point should
|
|
1267
|
+
* not have a click event.
|
|
1268
|
+
* @private
|
|
1269
|
+
*/
|
|
1270
|
+
TreemapSeries.prototype.drillToByGroup = function (point) {
|
|
1271
|
+
var series = this,
|
|
1272
|
+
drillId = false;
|
|
1273
|
+
if ((point.node.level - series.nodeMap[series.rootNode].level) ===
|
|
1274
|
+
1 &&
|
|
1275
|
+
!point.node.isLeaf) {
|
|
1276
|
+
drillId = point.id;
|
|
1277
|
+
}
|
|
1278
|
+
return drillId;
|
|
1279
|
+
};
|
|
1280
|
+
/**
|
|
1281
|
+
* Finds the drill id for a leaf node. Returns false if point should not
|
|
1282
|
+
* have a click event
|
|
1283
|
+
* @private
|
|
1284
|
+
*/
|
|
1285
|
+
TreemapSeries.prototype.drillToByLeaf = function (point) {
|
|
1286
|
+
var series = this,
|
|
1287
|
+
drillId = false,
|
|
1288
|
+
nodeParent;
|
|
1289
|
+
if ((point.node.parent !== series.rootNode) &&
|
|
1290
|
+
point.node.isLeaf) {
|
|
1291
|
+
nodeParent = point.node;
|
|
1292
|
+
while (!drillId) {
|
|
1293
|
+
nodeParent = series.nodeMap[nodeParent.parent];
|
|
1294
|
+
if (nodeParent.parent === series.rootNode) {
|
|
1295
|
+
drillId = nodeParent.id;
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
return drillId;
|
|
1300
|
+
};
|
|
1301
|
+
/**
|
|
1302
|
+
* @todo remove this function at a suitable version.
|
|
1303
|
+
* @private
|
|
1304
|
+
*/
|
|
1305
|
+
TreemapSeries.prototype.drillToNode = function (id, redraw) {
|
|
1306
|
+
error(32, false, void 0, { 'treemap.drillToNode': 'use treemap.setRootNode' });
|
|
1307
|
+
this.setRootNode(id, redraw);
|
|
1308
|
+
};
|
|
1309
|
+
TreemapSeries.prototype.drillUp = function () {
|
|
1310
|
+
var series = this,
|
|
1311
|
+
node = series.nodeMap[series.rootNode];
|
|
1312
|
+
if (node && isString(node.parent)) {
|
|
1313
|
+
series.setRootNode(node.parent, true, { trigger: 'traverseUpButton' });
|
|
1314
|
+
}
|
|
1315
|
+
};
|
|
1316
|
+
TreemapSeries.prototype.getExtremes = function () {
|
|
1317
|
+
// Get the extremes from the value data
|
|
1318
|
+
var _a = Series.prototype.getExtremes
|
|
1319
|
+
.call(this,
|
|
1320
|
+
this.colorValueData),
|
|
1321
|
+
dataMin = _a.dataMin,
|
|
1322
|
+
dataMax = _a.dataMax;
|
|
1323
|
+
this.valueMin = dataMin;
|
|
1324
|
+
this.valueMax = dataMax;
|
|
1325
|
+
// Get the extremes from the y data
|
|
1326
|
+
return Series.prototype.getExtremes.call(this);
|
|
1327
|
+
};
|
|
1328
|
+
/**
|
|
1329
|
+
* Creates an object map from parent id to childrens index.
|
|
1330
|
+
*
|
|
1331
|
+
* @private
|
|
1332
|
+
* @function Highcharts.Series#getListOfParents
|
|
1333
|
+
*
|
|
1334
|
+
* @param {Highcharts.SeriesTreemapDataOptions} [data]
|
|
1335
|
+
* List of points set in options.
|
|
1336
|
+
*
|
|
1337
|
+
* @param {Array<string>} [existingIds]
|
|
1338
|
+
* List of all point ids.
|
|
1339
|
+
*
|
|
1340
|
+
* @return {Object}
|
|
1341
|
+
* Map from parent id to children index in data.
|
|
1342
|
+
*/
|
|
1343
|
+
TreemapSeries.prototype.getListOfParents = function (data, existingIds) {
|
|
1344
|
+
var arr = isArray(data) ? data : [],
|
|
1345
|
+
ids = isArray(existingIds) ? existingIds : [],
|
|
1346
|
+
listOfParents = arr.reduce(function (prev,
|
|
1347
|
+
curr,
|
|
1348
|
+
i) {
|
|
1349
|
+
var parent = pick(curr.parent, '');
|
|
1350
|
+
if (typeof prev[parent] === 'undefined') {
|
|
1351
|
+
prev[parent] = [];
|
|
1352
|
+
}
|
|
1353
|
+
prev[parent].push(i);
|
|
1354
|
+
return prev;
|
|
1355
|
+
}, {
|
|
1356
|
+
'': [] // Root of tree
|
|
1357
|
+
});
|
|
1358
|
+
// If parent does not exist, hoist parent to root of tree.
|
|
1359
|
+
TreemapUtilities.eachObject(listOfParents, function (children, parent, list) {
|
|
1360
|
+
if ((parent !== '') && (ids.indexOf(parent) === -1)) {
|
|
1361
|
+
children.forEach(function (child) {
|
|
1362
|
+
list[''].push(child);
|
|
1363
|
+
});
|
|
1364
|
+
delete list[parent];
|
|
1365
|
+
}
|
|
1366
|
+
});
|
|
1367
|
+
return listOfParents;
|
|
1368
|
+
};
|
|
1369
|
+
/**
|
|
1370
|
+
* Creates a tree structured object from the series points.
|
|
1371
|
+
* @private
|
|
1372
|
+
*/
|
|
1373
|
+
TreemapSeries.prototype.getTree = function () {
|
|
1374
|
+
var series = this,
|
|
1375
|
+
allIds = this.data.map(function (d) {
|
|
1376
|
+
return d.id;
|
|
1377
|
+
}), parentList = series.getListOfParents(this.data, allIds);
|
|
1378
|
+
series.nodeMap = {};
|
|
1379
|
+
return series.buildNode('', -1, 0, parentList);
|
|
1380
|
+
};
|
|
1381
|
+
/**
|
|
1382
|
+
* Define hasData function for non-cartesian series. Returns true if the
|
|
1383
|
+
* series has points at all.
|
|
1384
|
+
* @private
|
|
1385
|
+
*/
|
|
1386
|
+
TreemapSeries.prototype.hasData = function () {
|
|
1387
|
+
return !!this.processedXData.length; // != 0
|
|
1388
|
+
};
|
|
1389
|
+
TreemapSeries.prototype.init = function (chart, options) {
|
|
1390
|
+
var series = this,
|
|
1391
|
+
setOptionsEvent;
|
|
1392
|
+
// If color series logic is loaded, add some properties
|
|
1393
|
+
this.colorAttribs = ColorMapMixin.SeriesMixin.colorAttribs;
|
|
1394
|
+
setOptionsEvent = addEvent(series, 'setOptions', function (event) {
|
|
1395
|
+
var options = event.userOptions;
|
|
1396
|
+
if (defined(options.allowDrillToNode) &&
|
|
1397
|
+
!defined(options.allowTraversingTree)) {
|
|
1398
|
+
options.allowTraversingTree = options.allowDrillToNode;
|
|
1399
|
+
delete options.allowDrillToNode;
|
|
1400
|
+
}
|
|
1401
|
+
if (defined(options.drillUpButton) &&
|
|
1402
|
+
!defined(options.traverseUpButton)) {
|
|
1403
|
+
options.traverseUpButton = options.drillUpButton;
|
|
1404
|
+
delete options.drillUpButton;
|
|
1405
|
+
}
|
|
1406
|
+
});
|
|
1407
|
+
Series.prototype.init.call(series, chart, options);
|
|
1408
|
+
// Treemap's opacity is a different option from other series
|
|
1409
|
+
delete series.opacity;
|
|
1410
|
+
// Handle deprecated options.
|
|
1411
|
+
series.eventsToUnbind.push(setOptionsEvent);
|
|
1412
|
+
if (series.options.allowTraversingTree) {
|
|
1413
|
+
series.eventsToUnbind.push(addEvent(series, 'click', series.onClickDrillToNode));
|
|
1414
|
+
}
|
|
1415
|
+
};
|
|
1416
|
+
/**
|
|
1417
|
+
* Add drilling on the suitable points.
|
|
1418
|
+
* @private
|
|
1419
|
+
*/
|
|
1420
|
+
TreemapSeries.prototype.onClickDrillToNode = function (event) {
|
|
1421
|
+
var series = this,
|
|
1422
|
+
point = event.point,
|
|
1423
|
+
drillId = point && point.drillId;
|
|
1424
|
+
// If a drill id is returned, add click event and cursor.
|
|
1425
|
+
if (isString(drillId)) {
|
|
1426
|
+
point.setState(''); // Remove hover
|
|
1427
|
+
series.setRootNode(drillId, true, { trigger: 'click' });
|
|
1428
|
+
}
|
|
1429
|
+
};
|
|
1430
|
+
/**
|
|
1431
|
+
* Get presentational attributes
|
|
1432
|
+
* @private
|
|
1433
|
+
*/
|
|
1434
|
+
TreemapSeries.prototype.pointAttribs = function (point, state) {
|
|
1435
|
+
var series = this,
|
|
1436
|
+
mapOptionsToLevel = (isObject(series.mapOptionsToLevel) ?
|
|
1437
|
+
series.mapOptionsToLevel :
|
|
1438
|
+
{}),
|
|
1439
|
+
level = point && mapOptionsToLevel[point.node.level] || {},
|
|
1440
|
+
options = this.options,
|
|
1441
|
+
attr,
|
|
1442
|
+
stateOptions = (state && options.states[state]) || {},
|
|
1443
|
+
className = (point && point.getClassName()) || '',
|
|
1444
|
+
opacity;
|
|
1445
|
+
// Set attributes by precedence. Point trumps level trumps series.
|
|
1446
|
+
// Stroke width uses pick because it can be 0.
|
|
1447
|
+
attr = {
|
|
1448
|
+
'stroke': (point && point.borderColor) ||
|
|
1449
|
+
level.borderColor ||
|
|
1450
|
+
stateOptions.borderColor ||
|
|
1451
|
+
options.borderColor,
|
|
1452
|
+
'stroke-width': pick(point && point.borderWidth, level.borderWidth, stateOptions.borderWidth, options.borderWidth),
|
|
1453
|
+
'dashstyle': (point && point.borderDashStyle) ||
|
|
1454
|
+
level.borderDashStyle ||
|
|
1455
|
+
stateOptions.borderDashStyle ||
|
|
1456
|
+
options.borderDashStyle,
|
|
1457
|
+
'fill': (point && point.color) || this.color
|
|
1458
|
+
};
|
|
1459
|
+
// Hide levels above the current view
|
|
1460
|
+
if (className.indexOf('highcharts-above-level') !== -1) {
|
|
1461
|
+
attr.fill = 'none';
|
|
1462
|
+
attr['stroke-width'] = 0;
|
|
1463
|
+
// Nodes with children that accept interaction
|
|
1464
|
+
}
|
|
1465
|
+
else if (className.indexOf('highcharts-internal-node-interactive') !== -1) {
|
|
1466
|
+
opacity = pick(stateOptions.opacity, options.opacity);
|
|
1467
|
+
attr.fill = color(attr.fill).setOpacity(opacity).get();
|
|
1468
|
+
attr.cursor = 'pointer';
|
|
1469
|
+
// Hide nodes that have children
|
|
1470
|
+
}
|
|
1471
|
+
else if (className.indexOf('highcharts-internal-node') !== -1) {
|
|
1472
|
+
attr.fill = 'none';
|
|
1473
|
+
}
|
|
1474
|
+
else if (state) {
|
|
1475
|
+
// Brighten and hoist the hover nodes
|
|
1476
|
+
attr.fill = color(attr.fill)
|
|
1477
|
+
.brighten(stateOptions.brightness)
|
|
1478
|
+
.get();
|
|
1479
|
+
}
|
|
1480
|
+
return attr;
|
|
1481
|
+
};
|
|
1482
|
+
TreemapSeries.prototype.renderTraverseUpButton = function (rootId) {
|
|
1483
|
+
var series = this,
|
|
1484
|
+
nodeMap = series.nodeMap,
|
|
1485
|
+
node = nodeMap[rootId],
|
|
1486
|
+
name = node.name,
|
|
1487
|
+
buttonOptions = series.options
|
|
1488
|
+
.traverseUpButton,
|
|
1489
|
+
backText = pick(buttonOptions.text,
|
|
1490
|
+
name, '◁ Back'),
|
|
1491
|
+
attr,
|
|
1492
|
+
states;
|
|
1493
|
+
if (rootId === '' || (series.is('sunburst') &&
|
|
1494
|
+
series.tree.children.length === 1 &&
|
|
1495
|
+
rootId === series.tree.children[0].id)) {
|
|
1496
|
+
if (series.drillUpButton) {
|
|
1497
|
+
series.drillUpButton = series.drillUpButton.destroy();
|
|
1498
|
+
}
|
|
1499
|
+
}
|
|
1500
|
+
else if (!this.drillUpButton) {
|
|
1501
|
+
attr = buttonOptions.theme;
|
|
1502
|
+
states = attr && attr.states;
|
|
1503
|
+
this.drillUpButton = this.chart.renderer
|
|
1504
|
+
.button(backText, 0, 0, function () {
|
|
1505
|
+
series.drillUp();
|
|
1506
|
+
}, attr, states && states.hover, states && states.select)
|
|
1507
|
+
.addClass('highcharts-drillup-button')
|
|
1508
|
+
.attr({
|
|
1509
|
+
align: buttonOptions.position.align,
|
|
1510
|
+
zIndex: 7
|
|
1511
|
+
})
|
|
1512
|
+
.add()
|
|
1513
|
+
.align(buttonOptions.position, false, buttonOptions.relativeTo || 'plotBox');
|
|
1514
|
+
}
|
|
1515
|
+
else {
|
|
1516
|
+
this.drillUpButton.placed = false;
|
|
1517
|
+
this.drillUpButton.attr({
|
|
1518
|
+
text: backText
|
|
1519
|
+
})
|
|
1520
|
+
.align();
|
|
1521
|
+
}
|
|
1522
|
+
};
|
|
1523
|
+
/**
|
|
1524
|
+
* Set the node's color recursively, from the parent down.
|
|
1525
|
+
* @private
|
|
1526
|
+
*/
|
|
1527
|
+
TreemapSeries.prototype.setColorRecursive = function (node, parentColor, colorIndex, index, siblings) {
|
|
1528
|
+
var series = this,
|
|
1529
|
+
chart = series && series.chart,
|
|
1530
|
+
colors = chart && chart.options && chart.options.colors,
|
|
1531
|
+
colorInfo,
|
|
1532
|
+
point;
|
|
1533
|
+
if (node) {
|
|
1534
|
+
colorInfo = getColor(node, {
|
|
1535
|
+
colors: colors,
|
|
1536
|
+
index: index,
|
|
1537
|
+
mapOptionsToLevel: series.mapOptionsToLevel,
|
|
1538
|
+
parentColor: parentColor,
|
|
1539
|
+
parentColorIndex: colorIndex,
|
|
1540
|
+
series: series,
|
|
1541
|
+
siblings: siblings
|
|
1542
|
+
});
|
|
1543
|
+
point = series.points[node.i];
|
|
1544
|
+
if (point) {
|
|
1545
|
+
point.color = colorInfo.color;
|
|
1546
|
+
point.colorIndex = colorInfo.colorIndex;
|
|
1547
|
+
}
|
|
1548
|
+
// Do it all again with the children
|
|
1549
|
+
(node.children || []).forEach(function (child, i) {
|
|
1550
|
+
series.setColorRecursive(child, colorInfo.color, colorInfo.colorIndex, i, node.children.length);
|
|
1551
|
+
});
|
|
1552
|
+
}
|
|
1553
|
+
};
|
|
1554
|
+
TreemapSeries.prototype.setPointValues = function () {
|
|
1555
|
+
var series = this;
|
|
1556
|
+
var points = series.points,
|
|
1557
|
+
xAxis = series.xAxis,
|
|
1558
|
+
yAxis = series.yAxis;
|
|
1559
|
+
var styledMode = series.chart.styledMode;
|
|
1560
|
+
// Get the crisp correction in classic mode. For this to work in
|
|
1561
|
+
// styled mode, we would need to first add the shape (without x,
|
|
1562
|
+
// y, width and height), then read the rendered stroke width
|
|
1563
|
+
// using point.graphic.strokeWidth(), then modify and apply the
|
|
1564
|
+
// shapeArgs. This applies also to column series, but the
|
|
1565
|
+
// downside is performance and code complexity.
|
|
1566
|
+
var getCrispCorrection = function (point) { return (styledMode ?
|
|
1567
|
+
0 :
|
|
1568
|
+
((series.pointAttribs(point)['stroke-width'] || 0) % 2) / 2); };
|
|
1569
|
+
points.forEach(function (point) {
|
|
1570
|
+
var _a = point.node,
|
|
1571
|
+
values = _a.pointValues,
|
|
1572
|
+
visible = _a.visible;
|
|
1573
|
+
// Points which is ignored, have no values.
|
|
1574
|
+
if (values && visible) {
|
|
1575
|
+
var height = values.height,
|
|
1576
|
+
width = values.width,
|
|
1577
|
+
x = values.x,
|
|
1578
|
+
y = values.y;
|
|
1579
|
+
var crispCorr = getCrispCorrection(point);
|
|
1580
|
+
var x1 = Math.round(xAxis.toPixels(x,
|
|
1581
|
+
true)) - crispCorr;
|
|
1582
|
+
var x2 = Math.round(xAxis.toPixels(x + width,
|
|
1583
|
+
true)) - crispCorr;
|
|
1584
|
+
var y1 = Math.round(yAxis.toPixels(y,
|
|
1585
|
+
true)) - crispCorr;
|
|
1586
|
+
var y2 = Math.round(yAxis.toPixels(y + height,
|
|
1587
|
+
true)) - crispCorr;
|
|
1588
|
+
// Set point values
|
|
1589
|
+
var shapeArgs = {
|
|
1590
|
+
x: Math.min(x1,
|
|
1591
|
+
x2),
|
|
1592
|
+
y: Math.min(y1,
|
|
1593
|
+
y2),
|
|
1594
|
+
width: Math.abs(x2 - x1),
|
|
1595
|
+
height: Math.abs(y2 - y1)
|
|
1596
|
+
};
|
|
1597
|
+
point.plotX = shapeArgs.x + (shapeArgs.width / 2);
|
|
1598
|
+
point.plotY = shapeArgs.y + (shapeArgs.height / 2);
|
|
1599
|
+
point.shapeArgs = shapeArgs;
|
|
1600
|
+
}
|
|
1601
|
+
else {
|
|
1602
|
+
// Reset visibility
|
|
1603
|
+
delete point.plotX;
|
|
1604
|
+
delete point.plotY;
|
|
1605
|
+
}
|
|
1606
|
+
});
|
|
1607
|
+
};
|
|
1608
|
+
/**
|
|
1609
|
+
* Sets a new root node for the series.
|
|
1610
|
+
*
|
|
1611
|
+
* @private
|
|
1612
|
+
* @function Highcharts.Series#setRootNode
|
|
1613
|
+
*
|
|
1614
|
+
* @param {string} id
|
|
1615
|
+
* The id of the new root node.
|
|
1616
|
+
*
|
|
1617
|
+
* @param {boolean} [redraw=true]
|
|
1618
|
+
* Wether to redraw the chart or not.
|
|
1619
|
+
*
|
|
1620
|
+
* @param {Object} [eventArguments]
|
|
1621
|
+
* Arguments to be accessed in event handler.
|
|
1622
|
+
*
|
|
1623
|
+
* @param {string} [eventArguments.newRootId]
|
|
1624
|
+
* Id of the new root.
|
|
1625
|
+
*
|
|
1626
|
+
* @param {string} [eventArguments.previousRootId]
|
|
1627
|
+
* Id of the previous root.
|
|
1628
|
+
*
|
|
1629
|
+
* @param {boolean} [eventArguments.redraw]
|
|
1630
|
+
* Wether to redraw the chart after.
|
|
1631
|
+
*
|
|
1632
|
+
* @param {Object} [eventArguments.series]
|
|
1633
|
+
* The series to update the root of.
|
|
1634
|
+
*
|
|
1635
|
+
* @param {string} [eventArguments.trigger]
|
|
1636
|
+
* The action which triggered the event. Undefined if the setRootNode is
|
|
1637
|
+
* called directly.
|
|
1638
|
+
*
|
|
1639
|
+
* @emits Highcharts.Series#event:setRootNode
|
|
1640
|
+
*/
|
|
1641
|
+
TreemapSeries.prototype.setRootNode = function (id, redraw, eventArguments) {
|
|
1642
|
+
var series = this,
|
|
1643
|
+
eventArgs = extend({
|
|
1644
|
+
newRootId: id,
|
|
1645
|
+
previousRootId: series.rootNode,
|
|
1646
|
+
redraw: pick(redraw,
|
|
1647
|
+
true),
|
|
1648
|
+
series: series
|
|
1649
|
+
},
|
|
1650
|
+
eventArguments);
|
|
1651
|
+
/**
|
|
1652
|
+
* The default functionality of the setRootNode event.
|
|
1653
|
+
*
|
|
1654
|
+
* @private
|
|
1655
|
+
* @param {Object} args The event arguments.
|
|
1656
|
+
* @param {string} args.newRootId Id of the new root.
|
|
1657
|
+
* @param {string} args.previousRootId Id of the previous root.
|
|
1658
|
+
* @param {boolean} args.redraw Wether to redraw the chart after.
|
|
1659
|
+
* @param {Object} args.series The series to update the root of.
|
|
1660
|
+
* @param {string} [args.trigger=undefined] The action which
|
|
1661
|
+
* triggered the event. Undefined if the setRootNode is called
|
|
1662
|
+
* directly.
|
|
1663
|
+
*/
|
|
1664
|
+
var defaultFn = function (args) {
|
|
1665
|
+
var series = args.series;
|
|
1666
|
+
// Store previous and new root ids on the series.
|
|
1667
|
+
series.idPreviousRoot = args.previousRootId;
|
|
1668
|
+
series.rootNode = args.newRootId;
|
|
1669
|
+
// Redraw the chart
|
|
1670
|
+
series.isDirty = true; // Force redraw
|
|
1671
|
+
if (args.redraw) {
|
|
1672
|
+
series.chart.redraw();
|
|
1673
|
+
}
|
|
1674
|
+
};
|
|
1675
|
+
// Fire setRootNode event.
|
|
1676
|
+
fireEvent(series, 'setRootNode', eventArgs, defaultFn);
|
|
1677
|
+
};
|
|
1678
|
+
/**
|
|
1679
|
+
* Workaround for `inactive` state. Since `series.opacity` option is
|
|
1680
|
+
* already reserved, don't use that state at all by disabling
|
|
1681
|
+
* `inactiveOtherPoints` and not inheriting states by points.
|
|
1682
|
+
* @private
|
|
1683
|
+
*/
|
|
1684
|
+
TreemapSeries.prototype.setState = function (state) {
|
|
1685
|
+
this.options.inactiveOtherPoints = true;
|
|
1686
|
+
Series.prototype.setState.call(this, state, false);
|
|
1687
|
+
this.options.inactiveOtherPoints = false;
|
|
1688
|
+
};
|
|
1689
|
+
TreemapSeries.prototype.setTreeValues = function (tree) {
|
|
1690
|
+
var series = this,
|
|
1691
|
+
options = series.options,
|
|
1692
|
+
idRoot = series.rootNode,
|
|
1693
|
+
mapIdToNode = series.nodeMap,
|
|
1694
|
+
nodeRoot = mapIdToNode[idRoot],
|
|
1695
|
+
levelIsConstant = (TreemapUtilities.isBoolean(options.levelIsConstant) ?
|
|
1696
|
+
options.levelIsConstant :
|
|
1697
|
+
true),
|
|
1698
|
+
childrenTotal = 0,
|
|
1699
|
+
children = [],
|
|
1700
|
+
val,
|
|
1701
|
+
point = series.points[tree.i];
|
|
1702
|
+
// First give the children some values
|
|
1703
|
+
tree.children.forEach(function (child) {
|
|
1704
|
+
child = series.setTreeValues(child);
|
|
1705
|
+
children.push(child);
|
|
1706
|
+
if (!child.ignore) {
|
|
1707
|
+
childrenTotal += child.val;
|
|
1708
|
+
}
|
|
1709
|
+
});
|
|
1710
|
+
// Sort the children
|
|
1711
|
+
stableSort(children, function (a, b) {
|
|
1712
|
+
return (a.sortIndex || 0) - (b.sortIndex || 0);
|
|
1713
|
+
});
|
|
1714
|
+
// Set the values
|
|
1715
|
+
val = pick(point && point.options.value, childrenTotal);
|
|
1716
|
+
if (point) {
|
|
1717
|
+
point.value = val;
|
|
1718
|
+
}
|
|
1719
|
+
extend(tree, {
|
|
1720
|
+
children: children,
|
|
1721
|
+
childrenTotal: childrenTotal,
|
|
1722
|
+
// Ignore this node if point is not visible
|
|
1723
|
+
ignore: !(pick(point && point.visible, true) && (val > 0)),
|
|
1724
|
+
isLeaf: tree.visible && !childrenTotal,
|
|
1725
|
+
levelDynamic: (tree.level - (levelIsConstant ? 0 : nodeRoot.level)),
|
|
1726
|
+
name: pick(point && point.name, ''),
|
|
1727
|
+
sortIndex: pick(point && point.sortIndex, -val),
|
|
1728
|
+
val: val
|
|
1729
|
+
});
|
|
1730
|
+
return tree;
|
|
1731
|
+
};
|
|
1732
|
+
TreemapSeries.prototype.sliceAndDice = function (parent, children) {
|
|
1733
|
+
return this.algorithmFill(true, parent, children);
|
|
1734
|
+
};
|
|
1735
|
+
TreemapSeries.prototype.squarified = function (parent, children) {
|
|
1736
|
+
return this.algorithmLowAspectRatio(true, parent, children);
|
|
1737
|
+
};
|
|
1738
|
+
TreemapSeries.prototype.strip = function (parent, children) {
|
|
1739
|
+
return this.algorithmLowAspectRatio(false, parent, children);
|
|
1740
|
+
};
|
|
1741
|
+
TreemapSeries.prototype.stripes = function (parent, children) {
|
|
1742
|
+
return this.algorithmFill(false, parent, children);
|
|
1743
|
+
};
|
|
1744
|
+
TreemapSeries.prototype.translate = function () {
|
|
1745
|
+
var series = this,
|
|
1746
|
+
options = series.options,
|
|
1747
|
+
// NOTE: updateRootId modifies series.
|
|
1748
|
+
rootId = updateRootId(series),
|
|
1749
|
+
rootNode,
|
|
1750
|
+
pointValues,
|
|
1751
|
+
seriesArea,
|
|
1752
|
+
tree,
|
|
1753
|
+
val;
|
|
1754
|
+
// Call prototype function
|
|
1755
|
+
Series.prototype.translate.call(series);
|
|
1756
|
+
// @todo Only if series.isDirtyData is true
|
|
1757
|
+
tree = series.tree = series.getTree();
|
|
1758
|
+
rootNode = series.nodeMap[rootId];
|
|
1759
|
+
if (rootId !== '' &&
|
|
1760
|
+
(!rootNode || !rootNode.children.length)) {
|
|
1761
|
+
series.setRootNode('', false);
|
|
1762
|
+
rootId = series.rootNode;
|
|
1763
|
+
rootNode = series.nodeMap[rootId];
|
|
1764
|
+
}
|
|
1765
|
+
series.renderTraverseUpButton(rootId);
|
|
1766
|
+
series.mapOptionsToLevel = getLevelOptions({
|
|
1767
|
+
from: rootNode.level + 1,
|
|
1768
|
+
levels: options.levels,
|
|
1769
|
+
to: tree.height,
|
|
1770
|
+
defaults: {
|
|
1771
|
+
levelIsConstant: series.options.levelIsConstant,
|
|
1772
|
+
colorByPoint: options.colorByPoint
|
|
1773
|
+
}
|
|
1774
|
+
});
|
|
1775
|
+
// Parents of the root node is by default visible
|
|
1776
|
+
TreemapUtilities.recursive(series.nodeMap[series.rootNode], function (node) {
|
|
1777
|
+
var next = false,
|
|
1778
|
+
p = node.parent;
|
|
1779
|
+
node.visible = true;
|
|
1780
|
+
if (p || p === '') {
|
|
1781
|
+
next = series.nodeMap[p];
|
|
1782
|
+
}
|
|
1783
|
+
return next;
|
|
1784
|
+
});
|
|
1785
|
+
// Children of the root node is by default visible
|
|
1786
|
+
TreemapUtilities.recursive(series.nodeMap[series.rootNode].children, function (children) {
|
|
1787
|
+
var next = false;
|
|
1788
|
+
children.forEach(function (child) {
|
|
1789
|
+
child.visible = true;
|
|
1790
|
+
if (child.children.length) {
|
|
1791
|
+
next = (next || []).concat(child.children);
|
|
1792
|
+
}
|
|
1793
|
+
});
|
|
1794
|
+
return next;
|
|
1795
|
+
});
|
|
1796
|
+
series.setTreeValues(tree);
|
|
1797
|
+
// Calculate plotting values.
|
|
1798
|
+
series.axisRatio = (series.xAxis.len / series.yAxis.len);
|
|
1799
|
+
series.nodeMap[''].pointValues = pointValues = {
|
|
1800
|
+
x: 0,
|
|
1801
|
+
y: 0,
|
|
1802
|
+
width: TreemapUtilities.AXIS_MAX,
|
|
1803
|
+
height: TreemapUtilities.AXIS_MAX
|
|
1804
|
+
};
|
|
1805
|
+
series.nodeMap[''].values = seriesArea = merge(pointValues, {
|
|
1806
|
+
width: (pointValues.width * series.axisRatio),
|
|
1807
|
+
direction: (options.layoutStartingDirection === 'vertical' ? 0 : 1),
|
|
1808
|
+
val: tree.val
|
|
1809
|
+
});
|
|
1810
|
+
series.calculateChildrenAreas(tree, seriesArea);
|
|
1811
|
+
// Logic for point colors
|
|
1812
|
+
if (!series.colorAxis &&
|
|
1813
|
+
!options.colorByPoint) {
|
|
1814
|
+
series.setColorRecursive(series.tree);
|
|
1815
|
+
}
|
|
1816
|
+
// Update axis extremes according to the root node.
|
|
1817
|
+
if (options.allowTraversingTree) {
|
|
1818
|
+
val = rootNode.pointValues;
|
|
1819
|
+
series.xAxis.setExtremes(val.x, val.x + val.width, false);
|
|
1820
|
+
series.yAxis.setExtremes(val.y, val.y + val.height, false);
|
|
1821
|
+
series.xAxis.setScale();
|
|
1822
|
+
series.yAxis.setScale();
|
|
1823
|
+
}
|
|
1824
|
+
// Assign values to points.
|
|
1825
|
+
series.setPointValues();
|
|
1826
|
+
};
|
|
1827
|
+
/**
|
|
1828
|
+
* A treemap displays hierarchical data using nested rectangles. The data
|
|
1829
|
+
* can be laid out in varying ways depending on options.
|
|
1830
|
+
*
|
|
1831
|
+
* @sample highcharts/demo/treemap-large-dataset/
|
|
1832
|
+
* Treemap
|
|
1833
|
+
*
|
|
1834
|
+
* @extends plotOptions.scatter
|
|
1835
|
+
* @excluding dragDrop, marker, jitter, dataSorting
|
|
1836
|
+
* @product highcharts
|
|
1837
|
+
* @requires modules/treemap
|
|
1838
|
+
* @optionparent plotOptions.treemap
|
|
1839
|
+
*/
|
|
1840
|
+
TreemapSeries.defaultOptions = merge(ScatterSeries.defaultOptions, {
|
|
1841
|
+
/**
|
|
1842
|
+
* When enabled the user can click on a point which is a parent and
|
|
1843
|
+
* zoom in on its children. Deprecated and replaced by
|
|
1844
|
+
* [allowTraversingTree](#plotOptions.treemap.allowTraversingTree).
|
|
1845
|
+
*
|
|
1846
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-allowdrilltonode/
|
|
1847
|
+
* Enabled
|
|
1848
|
+
*
|
|
1849
|
+
* @deprecated
|
|
1850
|
+
* @type {boolean}
|
|
1851
|
+
* @default false
|
|
1852
|
+
* @since 4.1.0
|
|
1853
|
+
* @product highcharts
|
|
1854
|
+
* @apioption plotOptions.treemap.allowDrillToNode
|
|
1855
|
+
*/
|
|
1856
|
+
/**
|
|
1857
|
+
* When enabled the user can click on a point which is a parent and
|
|
1858
|
+
* zoom in on its children.
|
|
1859
|
+
*
|
|
1860
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-allowtraversingtree/
|
|
1861
|
+
* Enabled
|
|
1862
|
+
*
|
|
1863
|
+
* @since 7.0.3
|
|
1864
|
+
* @product highcharts
|
|
1865
|
+
*/
|
|
1866
|
+
allowTraversingTree: false,
|
|
1867
|
+
animationLimit: 250,
|
|
1868
|
+
/**
|
|
1869
|
+
* The border radius for each treemap item.
|
|
1870
|
+
*/
|
|
1871
|
+
borderRadius: 0,
|
|
1872
|
+
/**
|
|
1873
|
+
* When the series contains less points than the crop threshold, all
|
|
1874
|
+
* points are drawn, event if the points fall outside the visible plot
|
|
1875
|
+
* area at the current zoom. The advantage of drawing all points
|
|
1876
|
+
* (including markers and columns), is that animation is performed on
|
|
1877
|
+
* updates. On the other hand, when the series contains more points than
|
|
1878
|
+
* the crop threshold, the series data is cropped to only contain points
|
|
1879
|
+
* that fall within the plot area. The advantage of cropping away
|
|
1880
|
+
* invisible points is to increase performance on large series.
|
|
1881
|
+
*
|
|
1882
|
+
* @type {number}
|
|
1883
|
+
* @default 300
|
|
1884
|
+
* @since 4.1.0
|
|
1885
|
+
* @product highcharts
|
|
1886
|
+
* @apioption plotOptions.treemap.cropThreshold
|
|
1887
|
+
*/
|
|
1888
|
+
/**
|
|
1889
|
+
* Fires on a request for change of root node for the tree, before the
|
|
1890
|
+
* update is made. An event object is passed to the function, containing
|
|
1891
|
+
* additional properties `newRootId`, `previousRootId`, `redraw` and
|
|
1892
|
+
* `trigger`.
|
|
1893
|
+
*
|
|
1894
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-events-setrootnode/
|
|
1895
|
+
* Alert update information on setRootNode event.
|
|
1896
|
+
*
|
|
1897
|
+
* @type {Function}
|
|
1898
|
+
* @default undefined
|
|
1899
|
+
* @since 7.0.3
|
|
1900
|
+
* @product highcharts
|
|
1901
|
+
* @apioption plotOptions.treemap.events.setRootNode
|
|
1902
|
+
*/
|
|
1903
|
+
/**
|
|
1904
|
+
* This option decides if the user can interact with the parent nodes
|
|
1905
|
+
* or just the leaf nodes. When this option is undefined, it will be
|
|
1906
|
+
* true by default. However when allowTraversingTree is true, then it
|
|
1907
|
+
* will be false by default.
|
|
1908
|
+
*
|
|
1909
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-interactbyleaf-false/
|
|
1910
|
+
* False
|
|
1911
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-interactbyleaf-true-and-allowtraversingtree/
|
|
1912
|
+
* InteractByLeaf and allowTraversingTree is true
|
|
1913
|
+
*
|
|
1914
|
+
* @type {boolean}
|
|
1915
|
+
* @since 4.1.2
|
|
1916
|
+
* @product highcharts
|
|
1917
|
+
* @apioption plotOptions.treemap.interactByLeaf
|
|
1918
|
+
*/
|
|
1919
|
+
/**
|
|
1920
|
+
* The sort index of the point inside the treemap level.
|
|
1921
|
+
*
|
|
1922
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-sortindex/
|
|
1923
|
+
* Sort by years
|
|
1924
|
+
*
|
|
1925
|
+
* @type {number}
|
|
1926
|
+
* @since 4.1.10
|
|
1927
|
+
* @product highcharts
|
|
1928
|
+
* @apioption plotOptions.treemap.sortIndex
|
|
1929
|
+
*/
|
|
1930
|
+
/**
|
|
1931
|
+
* A series specific or series type specific color set to apply instead
|
|
1932
|
+
* of the global [colors](#colors) when
|
|
1933
|
+
* [colorByPoint](#plotOptions.treemap.colorByPoint) is true.
|
|
1934
|
+
*
|
|
1935
|
+
* @type {Array<Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject>}
|
|
1936
|
+
* @since 3.0
|
|
1937
|
+
* @product highcharts
|
|
1938
|
+
* @apioption plotOptions.treemap.colors
|
|
1939
|
+
*/
|
|
1940
|
+
/**
|
|
1941
|
+
* Whether to display this series type or specific series item in the
|
|
1942
|
+
* legend.
|
|
1943
|
+
*/
|
|
1944
|
+
showInLegend: false,
|
|
1945
|
+
/**
|
|
1946
|
+
* @ignore-option
|
|
1947
|
+
*/
|
|
1948
|
+
marker: void 0,
|
|
1949
|
+
/**
|
|
1950
|
+
* When using automatic point colors pulled from the `options.colors`
|
|
1951
|
+
* collection, this option determines whether the chart should receive
|
|
1952
|
+
* one color per series or one color per point.
|
|
1953
|
+
*
|
|
1954
|
+
* @see [series colors](#plotOptions.treemap.colors)
|
|
1955
|
+
*
|
|
1956
|
+
* @since 2.0
|
|
1957
|
+
* @product highcharts
|
|
1958
|
+
* @apioption plotOptions.treemap.colorByPoint
|
|
1959
|
+
*/
|
|
1960
|
+
colorByPoint: false,
|
|
1961
|
+
/**
|
|
1962
|
+
* @since 4.1.0
|
|
1963
|
+
*/
|
|
1964
|
+
dataLabels: {
|
|
1965
|
+
defer: false,
|
|
1966
|
+
enabled: true,
|
|
1967
|
+
formatter: function () {
|
|
1968
|
+
var point = this && this.point ?
|
|
1969
|
+
this.point :
|
|
1970
|
+
{},
|
|
1971
|
+
name = isString(point.name) ? point.name : '';
|
|
1972
|
+
return name;
|
|
1973
|
+
},
|
|
1974
|
+
inside: true,
|
|
1975
|
+
verticalAlign: 'middle'
|
|
1976
|
+
},
|
|
1977
|
+
tooltip: {
|
|
1978
|
+
headerFormat: '',
|
|
1979
|
+
pointFormat: '<b>{point.name}</b>: {point.value}<br/>'
|
|
1980
|
+
},
|
|
1981
|
+
/**
|
|
1982
|
+
* Whether to ignore hidden points when the layout algorithm runs.
|
|
1983
|
+
* If `false`, hidden points will leave open spaces.
|
|
1984
|
+
*
|
|
1985
|
+
* @since 5.0.8
|
|
1986
|
+
*/
|
|
1987
|
+
ignoreHiddenPoint: true,
|
|
1988
|
+
/**
|
|
1989
|
+
* This option decides which algorithm is used for setting position
|
|
1990
|
+
* and dimensions of the points.
|
|
1991
|
+
*
|
|
1992
|
+
* @see [How to write your own algorithm](https://www.highcharts.com/docs/chart-and-series-types/treemap)
|
|
1993
|
+
*
|
|
1994
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-sliceanddice/
|
|
1995
|
+
* SliceAndDice by default
|
|
1996
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-stripes/
|
|
1997
|
+
* Stripes
|
|
1998
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-squarified/
|
|
1999
|
+
* Squarified
|
|
2000
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-layoutalgorithm-strip/
|
|
2001
|
+
* Strip
|
|
2002
|
+
*
|
|
2003
|
+
* @since 4.1.0
|
|
2004
|
+
* @validvalue ["sliceAndDice", "stripes", "squarified", "strip"]
|
|
2005
|
+
*/
|
|
2006
|
+
layoutAlgorithm: 'sliceAndDice',
|
|
2007
|
+
/**
|
|
2008
|
+
* Defines which direction the layout algorithm will start drawing.
|
|
2009
|
+
*
|
|
2010
|
+
* @since 4.1.0
|
|
2011
|
+
* @validvalue ["vertical", "horizontal"]
|
|
2012
|
+
*/
|
|
2013
|
+
layoutStartingDirection: 'vertical',
|
|
2014
|
+
/**
|
|
2015
|
+
* Enabling this option will make the treemap alternate the drawing
|
|
2016
|
+
* direction between vertical and horizontal. The next levels starting
|
|
2017
|
+
* direction will always be the opposite of the previous.
|
|
2018
|
+
*
|
|
2019
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-alternatestartingdirection-true/
|
|
2020
|
+
* Enabled
|
|
2021
|
+
*
|
|
2022
|
+
* @since 4.1.0
|
|
2023
|
+
*/
|
|
2024
|
+
alternateStartingDirection: false,
|
|
2025
|
+
/**
|
|
2026
|
+
* Used together with the levels and allowTraversingTree options. When
|
|
2027
|
+
* set to false the first level visible to be level one, which is
|
|
2028
|
+
* dynamic when traversing the tree. Otherwise the level will be the
|
|
2029
|
+
* same as the tree structure.
|
|
2030
|
+
*
|
|
2031
|
+
* @since 4.1.0
|
|
2032
|
+
*/
|
|
2033
|
+
levelIsConstant: true,
|
|
2034
|
+
/**
|
|
2035
|
+
* Options for the button appearing when drilling down in a treemap.
|
|
2036
|
+
* Deprecated and replaced by
|
|
2037
|
+
* [traverseUpButton](#plotOptions.treemap.traverseUpButton).
|
|
2038
|
+
*
|
|
2039
|
+
* @deprecated
|
|
2040
|
+
*/
|
|
2041
|
+
drillUpButton: {
|
|
2042
|
+
/**
|
|
2043
|
+
* The position of the button.
|
|
2044
|
+
*
|
|
2045
|
+
* @deprecated
|
|
2046
|
+
*/
|
|
2047
|
+
position: {
|
|
2048
|
+
/**
|
|
2049
|
+
* Vertical alignment of the button.
|
|
2050
|
+
*
|
|
2051
|
+
* @deprecated
|
|
2052
|
+
* @type {Highcharts.VerticalAlignValue}
|
|
2053
|
+
* @default top
|
|
2054
|
+
* @product highcharts
|
|
2055
|
+
* @apioption plotOptions.treemap.drillUpButton.position.verticalAlign
|
|
2056
|
+
*/
|
|
2057
|
+
/**
|
|
2058
|
+
* Horizontal alignment of the button.
|
|
2059
|
+
*
|
|
2060
|
+
* @deprecated
|
|
2061
|
+
* @type {Highcharts.AlignValue}
|
|
2062
|
+
*/
|
|
2063
|
+
align: 'right',
|
|
2064
|
+
/**
|
|
2065
|
+
* Horizontal offset of the button.
|
|
2066
|
+
*
|
|
2067
|
+
* @deprecated
|
|
2068
|
+
*/
|
|
2069
|
+
x: -10,
|
|
2070
|
+
/**
|
|
2071
|
+
* Vertical offset of the button.
|
|
2072
|
+
*
|
|
2073
|
+
* @deprecated
|
|
2074
|
+
*/
|
|
2075
|
+
y: 10
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2078
|
+
/**
|
|
2079
|
+
* Options for the button appearing when traversing down in a treemap.
|
|
2080
|
+
*/
|
|
2081
|
+
traverseUpButton: {
|
|
2082
|
+
/**
|
|
2083
|
+
* The position of the button.
|
|
2084
|
+
*/
|
|
2085
|
+
position: {
|
|
2086
|
+
/**
|
|
2087
|
+
* Vertical alignment of the button.
|
|
2088
|
+
*
|
|
2089
|
+
* @type {Highcharts.VerticalAlignValue}
|
|
2090
|
+
* @default top
|
|
2091
|
+
* @product highcharts
|
|
2092
|
+
* @apioption plotOptions.treemap.traverseUpButton.position.verticalAlign
|
|
2093
|
+
*/
|
|
2094
|
+
/**
|
|
2095
|
+
* Horizontal alignment of the button.
|
|
2096
|
+
*
|
|
2097
|
+
* @type {Highcharts.AlignValue}
|
|
2098
|
+
*/
|
|
2099
|
+
align: 'right',
|
|
2100
|
+
/**
|
|
2101
|
+
* Horizontal offset of the button.
|
|
2102
|
+
*/
|
|
2103
|
+
x: -10,
|
|
2104
|
+
/**
|
|
2105
|
+
* Vertical offset of the button.
|
|
2106
|
+
*/
|
|
2107
|
+
y: 10
|
|
2108
|
+
}
|
|
2109
|
+
},
|
|
2110
|
+
/**
|
|
2111
|
+
* Set options on specific levels. Takes precedence over series options,
|
|
2112
|
+
* but not point options.
|
|
2113
|
+
*
|
|
2114
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-levels/
|
|
2115
|
+
* Styling dataLabels and borders
|
|
2116
|
+
* @sample {highcharts} highcharts/demo/treemap-with-levels/
|
|
2117
|
+
* Different layoutAlgorithm
|
|
2118
|
+
*
|
|
2119
|
+
* @type {Array<*>}
|
|
2120
|
+
* @since 4.1.0
|
|
2121
|
+
* @product highcharts
|
|
2122
|
+
* @apioption plotOptions.treemap.levels
|
|
2123
|
+
*/
|
|
2124
|
+
/**
|
|
2125
|
+
* Can set a `borderColor` on all points which lies on the same level.
|
|
2126
|
+
*
|
|
2127
|
+
* @type {Highcharts.ColorString}
|
|
2128
|
+
* @since 4.1.0
|
|
2129
|
+
* @product highcharts
|
|
2130
|
+
* @apioption plotOptions.treemap.levels.borderColor
|
|
2131
|
+
*/
|
|
2132
|
+
/**
|
|
2133
|
+
* Set the dash style of the border of all the point which lies on the
|
|
2134
|
+
* level. See
|
|
2135
|
+
* [plotOptions.scatter.dashStyle](#plotoptions.scatter.dashstyle)
|
|
2136
|
+
* for possible options.
|
|
2137
|
+
*
|
|
2138
|
+
* @type {Highcharts.DashStyleValue}
|
|
2139
|
+
* @since 4.1.0
|
|
2140
|
+
* @product highcharts
|
|
2141
|
+
* @apioption plotOptions.treemap.levels.borderDashStyle
|
|
2142
|
+
*/
|
|
2143
|
+
/**
|
|
2144
|
+
* Can set the borderWidth on all points which lies on the same level.
|
|
2145
|
+
*
|
|
2146
|
+
* @type {number}
|
|
2147
|
+
* @since 4.1.0
|
|
2148
|
+
* @product highcharts
|
|
2149
|
+
* @apioption plotOptions.treemap.levels.borderWidth
|
|
2150
|
+
*/
|
|
2151
|
+
/**
|
|
2152
|
+
* Can set a color on all points which lies on the same level.
|
|
2153
|
+
*
|
|
2154
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
2155
|
+
* @since 4.1.0
|
|
2156
|
+
* @product highcharts
|
|
2157
|
+
* @apioption plotOptions.treemap.levels.color
|
|
2158
|
+
*/
|
|
2159
|
+
/**
|
|
2160
|
+
* A configuration object to define how the color of a child varies from
|
|
2161
|
+
* the parent's color. The variation is distributed among the children
|
|
2162
|
+
* of node. For example when setting brightness, the brightness change
|
|
2163
|
+
* will range from the parent's original brightness on the first child,
|
|
2164
|
+
* to the amount set in the `to` setting on the last node. This allows a
|
|
2165
|
+
* gradient-like color scheme that sets children out from each other
|
|
2166
|
+
* while highlighting the grouping on treemaps and sectors on sunburst
|
|
2167
|
+
* charts.
|
|
2168
|
+
*
|
|
2169
|
+
* @sample highcharts/demo/sunburst/
|
|
2170
|
+
* Sunburst with color variation
|
|
2171
|
+
*
|
|
2172
|
+
* @since 6.0.0
|
|
2173
|
+
* @product highcharts
|
|
2174
|
+
* @apioption plotOptions.treemap.levels.colorVariation
|
|
2175
|
+
*/
|
|
2176
|
+
/**
|
|
2177
|
+
* The key of a color variation. Currently supports `brightness` only.
|
|
2178
|
+
*
|
|
2179
|
+
* @type {string}
|
|
2180
|
+
* @since 6.0.0
|
|
2181
|
+
* @product highcharts
|
|
2182
|
+
* @validvalue ["brightness"]
|
|
2183
|
+
* @apioption plotOptions.treemap.levels.colorVariation.key
|
|
2184
|
+
*/
|
|
2185
|
+
/**
|
|
2186
|
+
* The ending value of a color variation. The last sibling will receive
|
|
2187
|
+
* this value.
|
|
2188
|
+
*
|
|
2189
|
+
* @type {number}
|
|
2190
|
+
* @since 6.0.0
|
|
2191
|
+
* @product highcharts
|
|
2192
|
+
* @apioption plotOptions.treemap.levels.colorVariation.to
|
|
2193
|
+
*/
|
|
2194
|
+
/**
|
|
2195
|
+
* Can set the options of dataLabels on each point which lies on the
|
|
2196
|
+
* level.
|
|
2197
|
+
* [plotOptions.treemap.dataLabels](#plotOptions.treemap.dataLabels) for
|
|
2198
|
+
* possible values.
|
|
2199
|
+
*
|
|
2200
|
+
* @extends plotOptions.treemap.dataLabels
|
|
2201
|
+
* @since 4.1.0
|
|
2202
|
+
* @product highcharts
|
|
2203
|
+
* @apioption plotOptions.treemap.levels.dataLabels
|
|
2204
|
+
*/
|
|
2205
|
+
/**
|
|
2206
|
+
* Can set the layoutAlgorithm option on a specific level.
|
|
2207
|
+
*
|
|
2208
|
+
* @type {string}
|
|
2209
|
+
* @since 4.1.0
|
|
2210
|
+
* @product highcharts
|
|
2211
|
+
* @validvalue ["sliceAndDice", "stripes", "squarified", "strip"]
|
|
2212
|
+
* @apioption plotOptions.treemap.levels.layoutAlgorithm
|
|
2213
|
+
*/
|
|
2214
|
+
/**
|
|
2215
|
+
* Can set the layoutStartingDirection option on a specific level.
|
|
2216
|
+
*
|
|
2217
|
+
* @type {string}
|
|
2218
|
+
* @since 4.1.0
|
|
2219
|
+
* @product highcharts
|
|
2220
|
+
* @validvalue ["vertical", "horizontal"]
|
|
2221
|
+
* @apioption plotOptions.treemap.levels.layoutStartingDirection
|
|
2222
|
+
*/
|
|
2223
|
+
/**
|
|
2224
|
+
* Decides which level takes effect from the options set in the levels
|
|
2225
|
+
* object.
|
|
2226
|
+
*
|
|
2227
|
+
* @sample {highcharts} highcharts/plotoptions/treemap-levels/
|
|
2228
|
+
* Styling of both levels
|
|
2229
|
+
*
|
|
2230
|
+
* @type {number}
|
|
2231
|
+
* @since 4.1.0
|
|
2232
|
+
* @product highcharts
|
|
2233
|
+
* @apioption plotOptions.treemap.levels.level
|
|
2234
|
+
*/
|
|
2235
|
+
// Presentational options
|
|
2236
|
+
/**
|
|
2237
|
+
* The color of the border surrounding each tree map item.
|
|
2238
|
+
*
|
|
2239
|
+
* @type {Highcharts.ColorString}
|
|
2240
|
+
*/
|
|
2241
|
+
borderColor: "#e6e6e6" /* neutralColor10 */,
|
|
2242
|
+
/**
|
|
2243
|
+
* The width of the border surrounding each tree map item.
|
|
2244
|
+
*/
|
|
2245
|
+
borderWidth: 1,
|
|
2246
|
+
colorKey: 'colorValue',
|
|
2247
|
+
/**
|
|
2248
|
+
* The opacity of a point in treemap. When a point has children, the
|
|
2249
|
+
* visibility of the children is determined by the opacity.
|
|
2250
|
+
*
|
|
2251
|
+
* @since 4.2.4
|
|
2252
|
+
*/
|
|
2253
|
+
opacity: 0.15,
|
|
2254
|
+
/**
|
|
2255
|
+
* A wrapper object for all the series options in specific states.
|
|
2256
|
+
*
|
|
2257
|
+
* @extends plotOptions.heatmap.states
|
|
2258
|
+
*/
|
|
2259
|
+
states: {
|
|
2260
|
+
/**
|
|
2261
|
+
* Options for the hovered series
|
|
2262
|
+
*
|
|
2263
|
+
* @extends plotOptions.heatmap.states.hover
|
|
2264
|
+
* @excluding halo
|
|
2265
|
+
*/
|
|
2266
|
+
hover: {
|
|
2267
|
+
/**
|
|
2268
|
+
* The border color for the hovered state.
|
|
2269
|
+
*/
|
|
2270
|
+
borderColor: "#999999" /* neutralColor40 */,
|
|
2271
|
+
/**
|
|
2272
|
+
* Brightness for the hovered point. Defaults to 0 if the
|
|
2273
|
+
* heatmap series is loaded first, otherwise 0.1.
|
|
2274
|
+
*
|
|
2275
|
+
* @type {number}
|
|
2276
|
+
* @default undefined
|
|
2277
|
+
*/
|
|
2278
|
+
brightness: HeatmapSeries ? 0 : 0.1,
|
|
2279
|
+
/**
|
|
2280
|
+
* @extends plotOptions.heatmap.states.hover.halo
|
|
2281
|
+
*/
|
|
2282
|
+
halo: false,
|
|
2283
|
+
/**
|
|
2284
|
+
* The opacity of a point in treemap. When a point has children,
|
|
2285
|
+
* the visibility of the children is determined by the opacity.
|
|
2286
|
+
*
|
|
2287
|
+
* @since 4.2.4
|
|
2288
|
+
*/
|
|
2289
|
+
opacity: 0.75,
|
|
2290
|
+
/**
|
|
2291
|
+
* The shadow option for hovered state.
|
|
2292
|
+
*/
|
|
2293
|
+
shadow: false
|
|
2294
|
+
}
|
|
2295
|
+
}
|
|
2296
|
+
});
|
|
2297
|
+
return TreemapSeries;
|
|
2298
|
+
}(ScatterSeries));
|
|
2299
|
+
extend(TreemapSeries.prototype, {
|
|
2300
|
+
buildKDTree: noop,
|
|
2301
|
+
colorKey: 'colorValue',
|
|
2302
|
+
directTouch: true,
|
|
2303
|
+
drawLegendSymbol: LegendSymbol.drawRectangle,
|
|
2304
|
+
getExtremesFromAll: true,
|
|
2305
|
+
getSymbol: noop,
|
|
2306
|
+
optionalAxis: 'colorAxis',
|
|
2307
|
+
parallelArrays: ['x', 'y', 'value', 'colorValue'],
|
|
2308
|
+
pointArrayMap: ['value'],
|
|
2309
|
+
pointClass: TreemapPoint,
|
|
2310
|
+
trackerGroups: ['group', 'dataLabelsGroup'],
|
|
2311
|
+
utils: {
|
|
2312
|
+
recursive: TreemapUtilities.recursive
|
|
2313
|
+
}
|
|
2314
|
+
});
|
|
2315
|
+
SeriesRegistry.registerSeriesType('treemap', TreemapSeries);
|
|
2316
|
+
/* *
|
|
2317
|
+
*
|
|
2318
|
+
* Default Export
|
|
2319
|
+
*
|
|
2320
|
+
* */
|
|
2321
|
+
/* *
|
|
2322
|
+
*
|
|
2323
|
+
* API Options
|
|
2324
|
+
*
|
|
2325
|
+
* */
|
|
2326
|
+
/**
|
|
2327
|
+
* A `treemap` series. If the [type](#series.treemap.type) option is
|
|
2328
|
+
* not specified, it is inherited from [chart.type](#chart.type).
|
|
2329
|
+
*
|
|
2330
|
+
* @extends series,plotOptions.treemap
|
|
2331
|
+
* @excluding dataParser, dataURL, stack, dataSorting
|
|
2332
|
+
* @product highcharts
|
|
2333
|
+
* @requires modules/treemap
|
|
2334
|
+
* @apioption series.treemap
|
|
2335
|
+
*/
|
|
2336
|
+
/**
|
|
2337
|
+
* An array of data points for the series. For the `treemap` series
|
|
2338
|
+
* type, points can be given in the following ways:
|
|
2339
|
+
*
|
|
2340
|
+
* 1. An array of numerical values. In this case, the numerical values will be
|
|
2341
|
+
* interpreted as `value` options. Example:
|
|
2342
|
+
* ```js
|
|
2343
|
+
* data: [0, 5, 3, 5]
|
|
2344
|
+
* ```
|
|
2345
|
+
*
|
|
2346
|
+
* 2. An array of objects with named values. The following snippet shows only a
|
|
2347
|
+
* few settings, see the complete options set below. If the total number of
|
|
2348
|
+
* data points exceeds the series'
|
|
2349
|
+
* [turboThreshold](#series.treemap.turboThreshold),
|
|
2350
|
+
* this option is not available.
|
|
2351
|
+
* ```js
|
|
2352
|
+
* data: [{
|
|
2353
|
+
* value: 9,
|
|
2354
|
+
* name: "Point2",
|
|
2355
|
+
* color: "#00FF00"
|
|
2356
|
+
* }, {
|
|
2357
|
+
* value: 6,
|
|
2358
|
+
* name: "Point1",
|
|
2359
|
+
* color: "#FF00FF"
|
|
2360
|
+
* }]
|
|
2361
|
+
* ```
|
|
2362
|
+
*
|
|
2363
|
+
* @sample {highcharts} highcharts/chart/reflow-true/
|
|
2364
|
+
* Numerical values
|
|
2365
|
+
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
2366
|
+
* Config objects
|
|
2367
|
+
*
|
|
2368
|
+
* @type {Array<number|null|*>}
|
|
2369
|
+
* @extends series.heatmap.data
|
|
2370
|
+
* @excluding x, y, pointPadding
|
|
2371
|
+
* @product highcharts
|
|
2372
|
+
* @apioption series.treemap.data
|
|
2373
|
+
*/
|
|
2374
|
+
/**
|
|
2375
|
+
* The value of the point, resulting in a relative area of the point
|
|
2376
|
+
* in the treemap.
|
|
2377
|
+
*
|
|
2378
|
+
* @type {number|null}
|
|
2379
|
+
* @product highcharts
|
|
2380
|
+
* @apioption series.treemap.data.value
|
|
2381
|
+
*/
|
|
2382
|
+
/**
|
|
2383
|
+
* Serves a purpose only if a `colorAxis` object is defined in the chart
|
|
2384
|
+
* options. This value will decide which color the point gets from the
|
|
2385
|
+
* scale of the colorAxis.
|
|
2386
|
+
*
|
|
2387
|
+
* @type {number}
|
|
2388
|
+
* @since 4.1.0
|
|
2389
|
+
* @product highcharts
|
|
2390
|
+
* @apioption series.treemap.data.colorValue
|
|
2391
|
+
*/
|
|
2392
|
+
/**
|
|
2393
|
+
* Only for treemap. Use this option to build a tree structure. The
|
|
2394
|
+
* value should be the id of the point which is the parent. If no points
|
|
2395
|
+
* has a matching id, or this option is undefined, then the parent will
|
|
2396
|
+
* be set to the root.
|
|
2397
|
+
*
|
|
2398
|
+
* @sample {highcharts} highcharts/point/parent/
|
|
2399
|
+
* Point parent
|
|
2400
|
+
* @sample {highcharts} highcharts/demo/treemap-with-levels/
|
|
2401
|
+
* Example where parent id is not matching
|
|
2402
|
+
*
|
|
2403
|
+
* @type {string}
|
|
2404
|
+
* @since 4.1.0
|
|
2405
|
+
* @product highcharts
|
|
2406
|
+
* @apioption series.treemap.data.parent
|
|
2407
|
+
*/
|
|
2408
|
+
''; // adds doclets above to transpiled file
|
|
2409
|
+
|
|
2410
|
+
return TreemapSeries;
|
|
2411
|
+
});
|
|
2412
|
+
_registerModule(_modules, 'Series/Sunburst/SunburstPoint.js', [_modules['Series/DrawPointComposition.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (DrawPointComposition, SeriesRegistry, U) {
|
|
2413
|
+
/* *
|
|
2414
|
+
*
|
|
2415
|
+
* This module implements sunburst charts in Highcharts.
|
|
2416
|
+
*
|
|
2417
|
+
* (c) 2016-2021 Highsoft AS
|
|
2418
|
+
*
|
|
2419
|
+
* Authors: Jon Arild Nygard
|
|
2420
|
+
*
|
|
2421
|
+
* License: www.highcharts.com/license
|
|
2422
|
+
*
|
|
2423
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
2424
|
+
*
|
|
2425
|
+
* */
|
|
2426
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2427
|
+
var extendStatics = function (d,
|
|
2428
|
+
b) {
|
|
2429
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2430
|
+
({ __proto__: [] } instanceof Array && function (d,
|
|
2431
|
+
b) { d.__proto__ = b; }) ||
|
|
2432
|
+
function (d,
|
|
2433
|
+
b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2434
|
+
return extendStatics(d, b);
|
|
2435
|
+
};
|
|
2436
|
+
return function (d, b) {
|
|
2437
|
+
extendStatics(d, b);
|
|
2438
|
+
function __() { this.constructor = d; }
|
|
2439
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2440
|
+
};
|
|
2441
|
+
})();
|
|
2442
|
+
var Point = SeriesRegistry.series.prototype.pointClass,
|
|
2443
|
+
TreemapPoint = SeriesRegistry.seriesTypes.treemap.prototype.pointClass;
|
|
2444
|
+
var correctFloat = U.correctFloat,
|
|
2445
|
+
extend = U.extend;
|
|
2446
|
+
/* *
|
|
2447
|
+
*
|
|
2448
|
+
* Class
|
|
2449
|
+
*
|
|
2450
|
+
* */
|
|
2451
|
+
var SunburstPoint = /** @class */ (function (_super) {
|
|
2452
|
+
__extends(SunburstPoint, _super);
|
|
2453
|
+
function SunburstPoint() {
|
|
2454
|
+
/* *
|
|
2455
|
+
*
|
|
2456
|
+
* Properties
|
|
2457
|
+
*
|
|
2458
|
+
* */
|
|
2459
|
+
var _this = _super !== null && _super.apply(this,
|
|
2460
|
+
arguments) || this;
|
|
2461
|
+
_this.node = void 0;
|
|
2462
|
+
_this.options = void 0;
|
|
2463
|
+
_this.series = void 0;
|
|
2464
|
+
_this.shapeExisting = void 0;
|
|
2465
|
+
return _this;
|
|
2466
|
+
/* eslint-enable valid-jsdoc */
|
|
2467
|
+
}
|
|
2468
|
+
/* *
|
|
2469
|
+
*
|
|
2470
|
+
* Functions
|
|
2471
|
+
*
|
|
2472
|
+
* */
|
|
2473
|
+
/* eslint-disable valid-jsdoc */
|
|
2474
|
+
SunburstPoint.prototype.getDataLabelPath = function (label) {
|
|
2475
|
+
var renderer = this.series.chart.renderer,
|
|
2476
|
+
shapeArgs = this.shapeExisting,
|
|
2477
|
+
start = shapeArgs.start,
|
|
2478
|
+
end = shapeArgs.end,
|
|
2479
|
+
angle = start + (end - start) / 2, // arc middle value
|
|
2480
|
+
upperHalf = angle < 0 &&
|
|
2481
|
+
angle > -Math.PI ||
|
|
2482
|
+
angle > Math.PI,
|
|
2483
|
+
r = (shapeArgs.r + (label.options.distance || 0)),
|
|
2484
|
+
moreThanHalf;
|
|
2485
|
+
// Check if point is a full circle
|
|
2486
|
+
if (start === -Math.PI / 2 &&
|
|
2487
|
+
correctFloat(end) === correctFloat(Math.PI * 1.5)) {
|
|
2488
|
+
start = -Math.PI + Math.PI / 360;
|
|
2489
|
+
end = -Math.PI / 360;
|
|
2490
|
+
upperHalf = true;
|
|
2491
|
+
}
|
|
2492
|
+
// Check if dataLabels should be render in the
|
|
2493
|
+
// upper half of the circle
|
|
2494
|
+
if (end - start > Math.PI) {
|
|
2495
|
+
upperHalf = false;
|
|
2496
|
+
moreThanHalf = true;
|
|
2497
|
+
}
|
|
2498
|
+
if (this.dataLabelPath) {
|
|
2499
|
+
this.dataLabelPath = this.dataLabelPath.destroy();
|
|
2500
|
+
}
|
|
2501
|
+
this.dataLabelPath = renderer
|
|
2502
|
+
.arc({
|
|
2503
|
+
open: true,
|
|
2504
|
+
longArc: moreThanHalf ? 1 : 0
|
|
2505
|
+
})
|
|
2506
|
+
// Add it inside the data label group so it gets destroyed
|
|
2507
|
+
// with the label
|
|
2508
|
+
.add(label);
|
|
2509
|
+
this.dataLabelPath.attr({
|
|
2510
|
+
start: (upperHalf ? start : end),
|
|
2511
|
+
end: (upperHalf ? end : start),
|
|
2512
|
+
clockwise: +upperHalf,
|
|
2513
|
+
x: shapeArgs.x,
|
|
2514
|
+
y: shapeArgs.y,
|
|
2515
|
+
r: (r + shapeArgs.innerR) / 2
|
|
2516
|
+
});
|
|
2517
|
+
return this.dataLabelPath;
|
|
2518
|
+
};
|
|
2519
|
+
SunburstPoint.prototype.isValid = function () {
|
|
2520
|
+
return true;
|
|
2521
|
+
};
|
|
2522
|
+
return SunburstPoint;
|
|
2523
|
+
}(TreemapPoint));
|
|
2524
|
+
extend(SunburstPoint.prototype, {
|
|
2525
|
+
getClassName: Point.prototype.getClassName,
|
|
2526
|
+
haloPath: Point.prototype.haloPath,
|
|
2527
|
+
setState: Point.prototype.setState
|
|
2528
|
+
});
|
|
2529
|
+
DrawPointComposition.compose(SunburstPoint);
|
|
2530
|
+
/* *
|
|
2531
|
+
*
|
|
2532
|
+
* Defaul Export
|
|
2533
|
+
*
|
|
2534
|
+
* */
|
|
2535
|
+
|
|
2536
|
+
return SunburstPoint;
|
|
2537
|
+
});
|
|
2538
|
+
_registerModule(_modules, 'Series/Sunburst/SunburstUtilities.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (SeriesRegistry, U) {
|
|
2539
|
+
/* *
|
|
2540
|
+
*
|
|
2541
|
+
* This module implements sunburst charts in Highcharts.
|
|
2542
|
+
*
|
|
2543
|
+
* (c) 2016-2021 Highsoft AS
|
|
2544
|
+
*
|
|
2545
|
+
* Authors: Jon Arild Nygard
|
|
2546
|
+
*
|
|
2547
|
+
* License: www.highcharts.com/license
|
|
2548
|
+
*
|
|
2549
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
2550
|
+
*
|
|
2551
|
+
* */
|
|
2552
|
+
var TreemapSeries = SeriesRegistry.seriesTypes.treemap;
|
|
2553
|
+
var isNumber = U.isNumber,
|
|
2554
|
+
isObject = U.isObject,
|
|
2555
|
+
merge = U.merge;
|
|
2556
|
+
/* *
|
|
2557
|
+
*
|
|
2558
|
+
* Namespace
|
|
2559
|
+
*
|
|
2560
|
+
* */
|
|
2561
|
+
var SunburstUtilities;
|
|
2562
|
+
(function (SunburstUtilities) {
|
|
2563
|
+
/* *
|
|
2564
|
+
*
|
|
2565
|
+
* Constants
|
|
2566
|
+
*
|
|
2567
|
+
* */
|
|
2568
|
+
SunburstUtilities.recursive = TreemapSeries.prototype.utils.recursive;
|
|
2569
|
+
/* *
|
|
2570
|
+
*
|
|
2571
|
+
* Functions
|
|
2572
|
+
*
|
|
2573
|
+
* */
|
|
2574
|
+
/* eslint-disable valid-jsdoc */
|
|
2575
|
+
/**
|
|
2576
|
+
* @private
|
|
2577
|
+
* @function calculateLevelSizes
|
|
2578
|
+
*
|
|
2579
|
+
* @param {Object} levelOptions
|
|
2580
|
+
* Map of level to its options.
|
|
2581
|
+
*
|
|
2582
|
+
* @param {Highcharts.Dictionary<number>} params
|
|
2583
|
+
* Object containing number parameters `innerRadius` and `outerRadius`.
|
|
2584
|
+
*
|
|
2585
|
+
* @return {Highcharts.SunburstSeriesLevelsOptions|undefined}
|
|
2586
|
+
* Returns the modified options, or undefined.
|
|
2587
|
+
*/
|
|
2588
|
+
function calculateLevelSizes(levelOptions, params) {
|
|
2589
|
+
var result,
|
|
2590
|
+
p = isObject(params) ? params : {},
|
|
2591
|
+
totalWeight = 0,
|
|
2592
|
+
diffRadius,
|
|
2593
|
+
levels,
|
|
2594
|
+
levelsNotIncluded,
|
|
2595
|
+
remainingSize,
|
|
2596
|
+
from,
|
|
2597
|
+
to;
|
|
2598
|
+
if (isObject(levelOptions)) {
|
|
2599
|
+
result = merge({}, levelOptions);
|
|
2600
|
+
from = isNumber(p.from) ? p.from : 0;
|
|
2601
|
+
to = isNumber(p.to) ? p.to : 0;
|
|
2602
|
+
levels = range(from, to);
|
|
2603
|
+
levelsNotIncluded = Object.keys(result).filter(function (k) {
|
|
2604
|
+
return levels.indexOf(+k) === -1;
|
|
2605
|
+
});
|
|
2606
|
+
diffRadius = remainingSize = isNumber(p.diffRadius) ?
|
|
2607
|
+
p.diffRadius : 0;
|
|
2608
|
+
// Convert percentage to pixels.
|
|
2609
|
+
// Calculate the remaining size to divide between "weight" levels.
|
|
2610
|
+
// Calculate total weight to use in convertion from weight to
|
|
2611
|
+
// pixels.
|
|
2612
|
+
levels.forEach(function (level) {
|
|
2613
|
+
var options = result[level],
|
|
2614
|
+
unit = options.levelSize.unit,
|
|
2615
|
+
value = options.levelSize.value;
|
|
2616
|
+
if (unit === 'weight') {
|
|
2617
|
+
totalWeight += value;
|
|
2618
|
+
}
|
|
2619
|
+
else if (unit === 'percentage') {
|
|
2620
|
+
options.levelSize = {
|
|
2621
|
+
unit: 'pixels',
|
|
2622
|
+
value: (value / 100) * diffRadius
|
|
2623
|
+
};
|
|
2624
|
+
remainingSize -= options.levelSize.value;
|
|
2625
|
+
}
|
|
2626
|
+
else if (unit === 'pixels') {
|
|
2627
|
+
remainingSize -= value;
|
|
2628
|
+
}
|
|
2629
|
+
});
|
|
2630
|
+
// Convert weight to pixels.
|
|
2631
|
+
levels.forEach(function (level) {
|
|
2632
|
+
var options = result[level],
|
|
2633
|
+
weight;
|
|
2634
|
+
if (options.levelSize.unit === 'weight') {
|
|
2635
|
+
weight = options.levelSize.value;
|
|
2636
|
+
result[level].levelSize = {
|
|
2637
|
+
unit: 'pixels',
|
|
2638
|
+
value: (weight / totalWeight) * remainingSize
|
|
2639
|
+
};
|
|
2640
|
+
}
|
|
2641
|
+
});
|
|
2642
|
+
// Set all levels not included in interval [from,to] to have 0
|
|
2643
|
+
// pixels.
|
|
2644
|
+
levelsNotIncluded.forEach(function (level) {
|
|
2645
|
+
result[level].levelSize = {
|
|
2646
|
+
value: 0,
|
|
2647
|
+
unit: 'pixels'
|
|
2648
|
+
};
|
|
2649
|
+
});
|
|
2650
|
+
}
|
|
2651
|
+
return result;
|
|
2652
|
+
}
|
|
2653
|
+
SunburstUtilities.calculateLevelSizes = calculateLevelSizes;
|
|
2654
|
+
/**
|
|
2655
|
+
* @private
|
|
2656
|
+
*/
|
|
2657
|
+
function getLevelFromAndTo(_a) {
|
|
2658
|
+
var level = _a.level,
|
|
2659
|
+
height = _a.height;
|
|
2660
|
+
// Never displays level below 1
|
|
2661
|
+
var from = level > 0 ? level : 1;
|
|
2662
|
+
var to = level + height;
|
|
2663
|
+
return { from: from, to: to };
|
|
2664
|
+
}
|
|
2665
|
+
SunburstUtilities.getLevelFromAndTo = getLevelFromAndTo;
|
|
2666
|
+
/**
|
|
2667
|
+
* TODO introduce step, which should default to 1.
|
|
2668
|
+
* @private
|
|
2669
|
+
*/
|
|
2670
|
+
function range(from, to) {
|
|
2671
|
+
var result = [],
|
|
2672
|
+
i;
|
|
2673
|
+
if (isNumber(from) && isNumber(to) && from <= to) {
|
|
2674
|
+
for (i = from; i <= to; i++) {
|
|
2675
|
+
result.push(i);
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
return result;
|
|
2679
|
+
}
|
|
2680
|
+
SunburstUtilities.range = range;
|
|
2681
|
+
/* eslint-enable valid-jsdoc */
|
|
2682
|
+
})(SunburstUtilities || (SunburstUtilities = {}));
|
|
2683
|
+
/* *
|
|
2684
|
+
*
|
|
2685
|
+
* Default Export
|
|
2686
|
+
*
|
|
2687
|
+
* */
|
|
2688
|
+
|
|
2689
|
+
return SunburstUtilities;
|
|
2690
|
+
});
|
|
2691
|
+
_registerModule(_modules, 'Series/Sunburst/SunburstSeries.js', [_modules['Series/CenteredUtilities.js'], _modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Series/Sunburst/SunburstPoint.js'], _modules['Series/Sunburst/SunburstUtilities.js'], _modules['Series/TreeUtilities.js'], _modules['Core/Utilities.js']], function (CU, H, SeriesRegistry, SunburstPoint, SunburstUtilities, TU, U) {
|
|
2692
|
+
/* *
|
|
2693
|
+
*
|
|
2694
|
+
* This module implements sunburst charts in Highcharts.
|
|
2695
|
+
*
|
|
2696
|
+
* (c) 2016-2021 Highsoft AS
|
|
2697
|
+
*
|
|
2698
|
+
* Authors: Jon Arild Nygard
|
|
2699
|
+
*
|
|
2700
|
+
* License: www.highcharts.com/license
|
|
2701
|
+
*
|
|
2702
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
2703
|
+
*
|
|
2704
|
+
* */
|
|
2705
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2706
|
+
var extendStatics = function (d,
|
|
2707
|
+
b) {
|
|
2708
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2709
|
+
({ __proto__: [] } instanceof Array && function (d,
|
|
2710
|
+
b) { d.__proto__ = b; }) ||
|
|
2711
|
+
function (d,
|
|
2712
|
+
b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2713
|
+
return extendStatics(d, b);
|
|
2714
|
+
};
|
|
2715
|
+
return function (d, b) {
|
|
2716
|
+
extendStatics(d, b);
|
|
2717
|
+
function __() { this.constructor = d; }
|
|
2718
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2719
|
+
};
|
|
2720
|
+
})();
|
|
2721
|
+
var getCenter = CU.getCenter,
|
|
2722
|
+
getStartAndEndRadians = CU.getStartAndEndRadians;
|
|
2723
|
+
var noop = H.noop;
|
|
2724
|
+
var Series = SeriesRegistry.series,
|
|
2725
|
+
_a = SeriesRegistry.seriesTypes,
|
|
2726
|
+
ColumnSeries = _a.column,
|
|
2727
|
+
TreemapSeries = _a.treemap;
|
|
2728
|
+
var getColor = TU.getColor,
|
|
2729
|
+
getLevelOptions = TU.getLevelOptions,
|
|
2730
|
+
setTreeValues = TU.setTreeValues,
|
|
2731
|
+
updateRootId = TU.updateRootId;
|
|
2732
|
+
var error = U.error,
|
|
2733
|
+
extend = U.extend,
|
|
2734
|
+
isNumber = U.isNumber,
|
|
2735
|
+
isObject = U.isObject,
|
|
2736
|
+
isString = U.isString,
|
|
2737
|
+
merge = U.merge,
|
|
2738
|
+
splat = U.splat;
|
|
2739
|
+
/* *
|
|
2740
|
+
*
|
|
2741
|
+
* Constants
|
|
2742
|
+
*
|
|
2743
|
+
* */
|
|
2744
|
+
var rad2deg = 180 / Math.PI;
|
|
2745
|
+
/* *
|
|
2746
|
+
*
|
|
2747
|
+
* Functions
|
|
2748
|
+
*
|
|
2749
|
+
* */
|
|
2750
|
+
// eslint-disable-next-line require-jsdoc
|
|
2751
|
+
function isBoolean(x) {
|
|
2752
|
+
return typeof x === 'boolean';
|
|
2753
|
+
}
|
|
2754
|
+
/**
|
|
2755
|
+
* Find a set of coordinates given a start coordinates, an angle, and a
|
|
2756
|
+
* distance.
|
|
2757
|
+
*
|
|
2758
|
+
* @private
|
|
2759
|
+
* @function getEndPoint
|
|
2760
|
+
*
|
|
2761
|
+
* @param {number} x
|
|
2762
|
+
* Start coordinate x
|
|
2763
|
+
*
|
|
2764
|
+
* @param {number} y
|
|
2765
|
+
* Start coordinate y
|
|
2766
|
+
*
|
|
2767
|
+
* @param {number} angle
|
|
2768
|
+
* Angle in radians
|
|
2769
|
+
*
|
|
2770
|
+
* @param {number} distance
|
|
2771
|
+
* Distance from start to end coordinates
|
|
2772
|
+
*
|
|
2773
|
+
* @return {Highcharts.SVGAttributes}
|
|
2774
|
+
* Returns the end coordinates, x and y.
|
|
2775
|
+
*/
|
|
2776
|
+
var getEndPoint = function getEndPoint(x,
|
|
2777
|
+
y,
|
|
2778
|
+
angle,
|
|
2779
|
+
distance) {
|
|
2780
|
+
return {
|
|
2781
|
+
x: x + (Math.cos(angle) * distance),
|
|
2782
|
+
y: y + (Math.sin(angle) * distance)
|
|
2783
|
+
};
|
|
2784
|
+
};
|
|
2785
|
+
// eslint-disable-next-line require-jsdoc
|
|
2786
|
+
function getDlOptions(params) {
|
|
2787
|
+
// Set options to new object to avoid problems with scope
|
|
2788
|
+
var point = params.point,
|
|
2789
|
+
shape = isObject(params.shapeArgs) ? params.shapeArgs : {},
|
|
2790
|
+
optionsPoint = (isObject(params.optionsPoint) ?
|
|
2791
|
+
params.optionsPoint.dataLabels :
|
|
2792
|
+
{}),
|
|
2793
|
+
// The splat was used because levels dataLabels
|
|
2794
|
+
// options doesn't work as an array
|
|
2795
|
+
optionsLevel = splat(isObject(params.level) ?
|
|
2796
|
+
params.level.dataLabels :
|
|
2797
|
+
{})[0],
|
|
2798
|
+
options = merge({
|
|
2799
|
+
style: {}
|
|
2800
|
+
},
|
|
2801
|
+
optionsLevel,
|
|
2802
|
+
optionsPoint),
|
|
2803
|
+
rotationRad,
|
|
2804
|
+
rotation,
|
|
2805
|
+
rotationMode = options.rotationMode;
|
|
2806
|
+
if (!isNumber(options.rotation)) {
|
|
2807
|
+
if (rotationMode === 'auto' || rotationMode === 'circular') {
|
|
2808
|
+
if (point.innerArcLength < 1 &&
|
|
2809
|
+
point.outerArcLength > shape.radius) {
|
|
2810
|
+
rotationRad = 0;
|
|
2811
|
+
// Triger setTextPath function to get textOutline etc.
|
|
2812
|
+
if (point.dataLabelPath && rotationMode === 'circular') {
|
|
2813
|
+
options.textPath = {
|
|
2814
|
+
enabled: true
|
|
2815
|
+
};
|
|
2816
|
+
}
|
|
2817
|
+
}
|
|
2818
|
+
else if (point.innerArcLength > 1 &&
|
|
2819
|
+
point.outerArcLength > 1.5 * shape.radius) {
|
|
2820
|
+
if (rotationMode === 'circular') {
|
|
2821
|
+
options.textPath = {
|
|
2822
|
+
enabled: true,
|
|
2823
|
+
attributes: {
|
|
2824
|
+
dy: 5
|
|
2825
|
+
}
|
|
2826
|
+
};
|
|
2827
|
+
}
|
|
2828
|
+
else {
|
|
2829
|
+
rotationMode = 'parallel';
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
else {
|
|
2833
|
+
// Trigger the destroyTextPath function
|
|
2834
|
+
if (point.dataLabel &&
|
|
2835
|
+
point.dataLabel.textPathWrapper &&
|
|
2836
|
+
rotationMode === 'circular') {
|
|
2837
|
+
options.textPath = {
|
|
2838
|
+
enabled: false
|
|
2839
|
+
};
|
|
2840
|
+
}
|
|
2841
|
+
rotationMode = 'perpendicular';
|
|
2842
|
+
}
|
|
2843
|
+
}
|
|
2844
|
+
if (rotationMode !== 'auto' && rotationMode !== 'circular') {
|
|
2845
|
+
rotationRad = (shape.end -
|
|
2846
|
+
(shape.end - shape.start) / 2);
|
|
2847
|
+
}
|
|
2848
|
+
if (rotationMode === 'parallel') {
|
|
2849
|
+
options.style.width = Math.min(shape.radius * 2.5, (point.outerArcLength + point.innerArcLength) / 2);
|
|
2850
|
+
}
|
|
2851
|
+
else {
|
|
2852
|
+
options.style.width = shape.radius;
|
|
2853
|
+
}
|
|
2854
|
+
if (rotationMode === 'perpendicular' &&
|
|
2855
|
+
point.series.chart.renderer.fontMetrics(options.style.fontSize).h > point.outerArcLength) {
|
|
2856
|
+
options.style.width = 1;
|
|
2857
|
+
}
|
|
2858
|
+
// Apply padding (#8515)
|
|
2859
|
+
options.style.width = Math.max(options.style.width - 2 * (options.padding || 0), 1);
|
|
2860
|
+
rotation = (rotationRad * rad2deg) % 180;
|
|
2861
|
+
if (rotationMode === 'parallel') {
|
|
2862
|
+
rotation -= 90;
|
|
2863
|
+
}
|
|
2864
|
+
// Prevent text from rotating upside down
|
|
2865
|
+
if (rotation > 90) {
|
|
2866
|
+
rotation -= 180;
|
|
2867
|
+
}
|
|
2868
|
+
else if (rotation < -90) {
|
|
2869
|
+
rotation += 180;
|
|
2870
|
+
}
|
|
2871
|
+
options.rotation = rotation;
|
|
2872
|
+
}
|
|
2873
|
+
if (options.textPath) {
|
|
2874
|
+
if (point.shapeExisting.innerR === 0 &&
|
|
2875
|
+
options.textPath.enabled) {
|
|
2876
|
+
// Enable rotation to render text
|
|
2877
|
+
options.rotation = 0;
|
|
2878
|
+
// Center dataLabel - disable textPath
|
|
2879
|
+
options.textPath.enabled = false;
|
|
2880
|
+
// Setting width and padding
|
|
2881
|
+
options.style.width = Math.max((point.shapeExisting.r * 2) -
|
|
2882
|
+
2 * (options.padding || 0), 1);
|
|
2883
|
+
}
|
|
2884
|
+
else if (point.dlOptions &&
|
|
2885
|
+
point.dlOptions.textPath &&
|
|
2886
|
+
!point.dlOptions.textPath.enabled &&
|
|
2887
|
+
(rotationMode === 'circular')) {
|
|
2888
|
+
// Bring dataLabel back if was a center dataLabel
|
|
2889
|
+
options.textPath.enabled = true;
|
|
2890
|
+
}
|
|
2891
|
+
if (options.textPath.enabled) {
|
|
2892
|
+
// Enable rotation to render text
|
|
2893
|
+
options.rotation = 0;
|
|
2894
|
+
// Setting width and padding
|
|
2895
|
+
options.style.width = Math.max((point.outerArcLength +
|
|
2896
|
+
point.innerArcLength) / 2 -
|
|
2897
|
+
2 * (options.padding || 0), 1);
|
|
2898
|
+
}
|
|
2899
|
+
}
|
|
2900
|
+
// NOTE: alignDataLabel positions the data label differntly when rotation is
|
|
2901
|
+
// 0. Avoiding this by setting rotation to a small number.
|
|
2902
|
+
if (options.rotation === 0) {
|
|
2903
|
+
options.rotation = 0.001;
|
|
2904
|
+
}
|
|
2905
|
+
return options;
|
|
2906
|
+
}
|
|
2907
|
+
// eslint-disable-next-line require-jsdoc
|
|
2908
|
+
function getAnimation(shape, params) {
|
|
2909
|
+
var point = params.point,
|
|
2910
|
+
radians = params.radians,
|
|
2911
|
+
innerR = params.innerR,
|
|
2912
|
+
idRoot = params.idRoot,
|
|
2913
|
+
idPreviousRoot = params.idPreviousRoot,
|
|
2914
|
+
shapeExisting = params.shapeExisting,
|
|
2915
|
+
shapeRoot = params.shapeRoot,
|
|
2916
|
+
shapePreviousRoot = params.shapePreviousRoot,
|
|
2917
|
+
visible = params.visible,
|
|
2918
|
+
from = {},
|
|
2919
|
+
to = {
|
|
2920
|
+
end: shape.end,
|
|
2921
|
+
start: shape.start,
|
|
2922
|
+
innerR: shape.innerR,
|
|
2923
|
+
r: shape.r,
|
|
2924
|
+
x: shape.x,
|
|
2925
|
+
y: shape.y
|
|
2926
|
+
};
|
|
2927
|
+
if (visible) {
|
|
2928
|
+
// Animate points in
|
|
2929
|
+
if (!point.graphic && shapePreviousRoot) {
|
|
2930
|
+
if (idRoot === point.id) {
|
|
2931
|
+
from = {
|
|
2932
|
+
start: radians.start,
|
|
2933
|
+
end: radians.end
|
|
2934
|
+
};
|
|
2935
|
+
}
|
|
2936
|
+
else {
|
|
2937
|
+
from = (shapePreviousRoot.end <= shape.start) ? {
|
|
2938
|
+
start: radians.end,
|
|
2939
|
+
end: radians.end
|
|
2940
|
+
} : {
|
|
2941
|
+
start: radians.start,
|
|
2942
|
+
end: radians.start
|
|
2943
|
+
};
|
|
2944
|
+
}
|
|
2945
|
+
// Animate from center and outwards.
|
|
2946
|
+
from.innerR = from.r = innerR;
|
|
2947
|
+
}
|
|
2948
|
+
}
|
|
2949
|
+
else {
|
|
2950
|
+
// Animate points out
|
|
2951
|
+
if (point.graphic) {
|
|
2952
|
+
if (idPreviousRoot === point.id) {
|
|
2953
|
+
to = {
|
|
2954
|
+
innerR: innerR,
|
|
2955
|
+
r: innerR
|
|
2956
|
+
};
|
|
2957
|
+
}
|
|
2958
|
+
else if (shapeRoot) {
|
|
2959
|
+
to = (shapeRoot.end <= shapeExisting.start) ?
|
|
2960
|
+
{
|
|
2961
|
+
innerR: innerR,
|
|
2962
|
+
r: innerR,
|
|
2963
|
+
start: radians.end,
|
|
2964
|
+
end: radians.end
|
|
2965
|
+
} : {
|
|
2966
|
+
innerR: innerR,
|
|
2967
|
+
r: innerR,
|
|
2968
|
+
start: radians.start,
|
|
2969
|
+
end: radians.start
|
|
2970
|
+
};
|
|
2971
|
+
}
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
return {
|
|
2975
|
+
from: from,
|
|
2976
|
+
to: to
|
|
2977
|
+
};
|
|
2978
|
+
}
|
|
2979
|
+
// eslint-disable-next-line require-jsdoc
|
|
2980
|
+
function getDrillId(point, idRoot, mapIdToNode) {
|
|
2981
|
+
var drillId,
|
|
2982
|
+
node = point.node,
|
|
2983
|
+
nodeRoot;
|
|
2984
|
+
if (!node.isLeaf) {
|
|
2985
|
+
// When it is the root node, the drillId should be set to parent.
|
|
2986
|
+
if (idRoot === point.id) {
|
|
2987
|
+
nodeRoot = mapIdToNode[idRoot];
|
|
2988
|
+
drillId = nodeRoot.parent;
|
|
2989
|
+
}
|
|
2990
|
+
else {
|
|
2991
|
+
drillId = point.id;
|
|
2992
|
+
}
|
|
2993
|
+
}
|
|
2994
|
+
return drillId;
|
|
2995
|
+
}
|
|
2996
|
+
// eslint-disable-next-line require-jsdoc
|
|
2997
|
+
function cbSetTreeValuesBefore(node, options) {
|
|
2998
|
+
var mapIdToNode = options.mapIdToNode,
|
|
2999
|
+
nodeParent = mapIdToNode[node.parent],
|
|
3000
|
+
series = options.series,
|
|
3001
|
+
chart = series.chart,
|
|
3002
|
+
points = series.points,
|
|
3003
|
+
point = points[node.i],
|
|
3004
|
+
colors = (series.options.colors || chart && chart.options.colors),
|
|
3005
|
+
colorInfo = getColor(node, {
|
|
3006
|
+
colors: colors,
|
|
3007
|
+
colorIndex: series.colorIndex,
|
|
3008
|
+
index: options.index,
|
|
3009
|
+
mapOptionsToLevel: options.mapOptionsToLevel,
|
|
3010
|
+
parentColor: nodeParent && nodeParent.color,
|
|
3011
|
+
parentColorIndex: nodeParent && nodeParent.colorIndex,
|
|
3012
|
+
series: options.series,
|
|
3013
|
+
siblings: options.siblings
|
|
3014
|
+
});
|
|
3015
|
+
node.color = colorInfo.color;
|
|
3016
|
+
node.colorIndex = colorInfo.colorIndex;
|
|
3017
|
+
if (point) {
|
|
3018
|
+
point.color = node.color;
|
|
3019
|
+
point.colorIndex = node.colorIndex;
|
|
3020
|
+
// Set slicing on node, but avoid slicing the top node.
|
|
3021
|
+
node.sliced = (node.id !== options.idRoot) ? point.sliced : false;
|
|
3022
|
+
}
|
|
3023
|
+
return node;
|
|
3024
|
+
}
|
|
3025
|
+
/* *
|
|
3026
|
+
*
|
|
3027
|
+
* Class
|
|
3028
|
+
*
|
|
3029
|
+
* */
|
|
3030
|
+
var SunburstSeries = /** @class */ (function (_super) {
|
|
3031
|
+
__extends(SunburstSeries, _super);
|
|
3032
|
+
function SunburstSeries() {
|
|
3033
|
+
/* *
|
|
3034
|
+
*
|
|
3035
|
+
* Static Properties
|
|
3036
|
+
*
|
|
3037
|
+
* */
|
|
3038
|
+
var _this = _super !== null && _super.apply(this,
|
|
3039
|
+
arguments) || this;
|
|
3040
|
+
/* *
|
|
3041
|
+
*
|
|
3042
|
+
* Properties
|
|
3043
|
+
*
|
|
3044
|
+
* */
|
|
3045
|
+
_this.center = void 0;
|
|
3046
|
+
_this.data = void 0;
|
|
3047
|
+
_this.mapOptionsToLevel = void 0;
|
|
3048
|
+
_this.nodeMap = void 0;
|
|
3049
|
+
_this.options = void 0;
|
|
3050
|
+
_this.points = void 0;
|
|
3051
|
+
_this.shapeRoot = void 0;
|
|
3052
|
+
_this.startAndEndRadians = void 0;
|
|
3053
|
+
_this.tree = void 0;
|
|
3054
|
+
return _this;
|
|
3055
|
+
/* eslint-enable valid-jsdoc */
|
|
3056
|
+
}
|
|
3057
|
+
/* *
|
|
3058
|
+
*
|
|
3059
|
+
* Functions
|
|
3060
|
+
*
|
|
3061
|
+
* */
|
|
3062
|
+
/* eslint-disable valid-jsdoc */
|
|
3063
|
+
SunburstSeries.prototype.alignDataLabel = function (_point, _dataLabel, labelOptions) {
|
|
3064
|
+
if (labelOptions.textPath && labelOptions.textPath.enabled) {
|
|
3065
|
+
return;
|
|
3066
|
+
}
|
|
3067
|
+
return _super.prototype.alignDataLabel.apply(this, arguments);
|
|
3068
|
+
};
|
|
3069
|
+
/**
|
|
3070
|
+
* Animate the slices in. Similar to the animation of polar charts.
|
|
3071
|
+
* @private
|
|
3072
|
+
*/
|
|
3073
|
+
SunburstSeries.prototype.animate = function (init) {
|
|
3074
|
+
var chart = this.chart,
|
|
3075
|
+
center = [
|
|
3076
|
+
chart.plotWidth / 2,
|
|
3077
|
+
chart.plotHeight / 2
|
|
3078
|
+
],
|
|
3079
|
+
plotLeft = chart.plotLeft,
|
|
3080
|
+
plotTop = chart.plotTop,
|
|
3081
|
+
attribs,
|
|
3082
|
+
group = this.group;
|
|
3083
|
+
// Initialize the animation
|
|
3084
|
+
if (init) {
|
|
3085
|
+
// Scale down the group and place it in the center
|
|
3086
|
+
attribs = {
|
|
3087
|
+
translateX: center[0] + plotLeft,
|
|
3088
|
+
translateY: center[1] + plotTop,
|
|
3089
|
+
scaleX: 0.001,
|
|
3090
|
+
scaleY: 0.001,
|
|
3091
|
+
rotation: 10,
|
|
3092
|
+
opacity: 0.01
|
|
3093
|
+
};
|
|
3094
|
+
group.attr(attribs);
|
|
3095
|
+
// Run the animation
|
|
3096
|
+
}
|
|
3097
|
+
else {
|
|
3098
|
+
attribs = {
|
|
3099
|
+
translateX: plotLeft,
|
|
3100
|
+
translateY: plotTop,
|
|
3101
|
+
scaleX: 1,
|
|
3102
|
+
scaleY: 1,
|
|
3103
|
+
rotation: 0,
|
|
3104
|
+
opacity: 1
|
|
3105
|
+
};
|
|
3106
|
+
group.animate(attribs, this.options.animation);
|
|
3107
|
+
}
|
|
3108
|
+
};
|
|
3109
|
+
SunburstSeries.prototype.drawPoints = function () {
|
|
3110
|
+
var series = this,
|
|
3111
|
+
mapOptionsToLevel = series.mapOptionsToLevel,
|
|
3112
|
+
shapeRoot = series.shapeRoot,
|
|
3113
|
+
group = series.group,
|
|
3114
|
+
hasRendered = series.hasRendered,
|
|
3115
|
+
idRoot = series.rootNode,
|
|
3116
|
+
idPreviousRoot = series.idPreviousRoot,
|
|
3117
|
+
nodeMap = series.nodeMap,
|
|
3118
|
+
nodePreviousRoot = nodeMap[idPreviousRoot],
|
|
3119
|
+
shapePreviousRoot = nodePreviousRoot && nodePreviousRoot.shapeArgs,
|
|
3120
|
+
points = series.points,
|
|
3121
|
+
radians = series.startAndEndRadians,
|
|
3122
|
+
chart = series.chart,
|
|
3123
|
+
optionsChart = chart && chart.options && chart.options.chart || {},
|
|
3124
|
+
animation = (isBoolean(optionsChart.animation) ?
|
|
3125
|
+
optionsChart.animation :
|
|
3126
|
+
true),
|
|
3127
|
+
positions = series.center,
|
|
3128
|
+
center = {
|
|
3129
|
+
x: positions[0],
|
|
3130
|
+
y: positions[1]
|
|
3131
|
+
},
|
|
3132
|
+
innerR = positions[3] / 2,
|
|
3133
|
+
renderer = series.chart.renderer,
|
|
3134
|
+
animateLabels,
|
|
3135
|
+
animateLabelsCalled = false,
|
|
3136
|
+
addedHack = false,
|
|
3137
|
+
hackDataLabelAnimation = !!(animation &&
|
|
3138
|
+
hasRendered &&
|
|
3139
|
+
idRoot !== idPreviousRoot &&
|
|
3140
|
+
series.dataLabelsGroup);
|
|
3141
|
+
if (hackDataLabelAnimation) {
|
|
3142
|
+
series.dataLabelsGroup.attr({ opacity: 0 });
|
|
3143
|
+
animateLabels = function () {
|
|
3144
|
+
var s = series;
|
|
3145
|
+
animateLabelsCalled = true;
|
|
3146
|
+
if (s.dataLabelsGroup) {
|
|
3147
|
+
s.dataLabelsGroup.animate({
|
|
3148
|
+
opacity: 1,
|
|
3149
|
+
visibility: 'visible'
|
|
3150
|
+
});
|
|
3151
|
+
}
|
|
3152
|
+
};
|
|
3153
|
+
}
|
|
3154
|
+
points.forEach(function (point) {
|
|
3155
|
+
var node = point.node,
|
|
3156
|
+
level = mapOptionsToLevel[node.level],
|
|
3157
|
+
shapeExisting = (point.shapeExisting || {}),
|
|
3158
|
+
shape = node.shapeArgs || {},
|
|
3159
|
+
animationInfo,
|
|
3160
|
+
onComplete,
|
|
3161
|
+
visible = !!(node.visible && node.shapeArgs);
|
|
3162
|
+
if (hasRendered && animation) {
|
|
3163
|
+
animationInfo = getAnimation(shape, {
|
|
3164
|
+
center: center,
|
|
3165
|
+
point: point,
|
|
3166
|
+
radians: radians,
|
|
3167
|
+
innerR: innerR,
|
|
3168
|
+
idRoot: idRoot,
|
|
3169
|
+
idPreviousRoot: idPreviousRoot,
|
|
3170
|
+
shapeExisting: shapeExisting,
|
|
3171
|
+
shapeRoot: shapeRoot,
|
|
3172
|
+
shapePreviousRoot: shapePreviousRoot,
|
|
3173
|
+
visible: visible
|
|
3174
|
+
});
|
|
3175
|
+
}
|
|
3176
|
+
else {
|
|
3177
|
+
// When animation is disabled, attr is called from animation.
|
|
3178
|
+
animationInfo = {
|
|
3179
|
+
to: shape,
|
|
3180
|
+
from: {}
|
|
3181
|
+
};
|
|
3182
|
+
}
|
|
3183
|
+
extend(point, {
|
|
3184
|
+
shapeExisting: shape,
|
|
3185
|
+
tooltipPos: [shape.plotX, shape.plotY],
|
|
3186
|
+
drillId: getDrillId(point, idRoot, nodeMap),
|
|
3187
|
+
name: '' + (point.name || point.id || point.index),
|
|
3188
|
+
plotX: shape.plotX,
|
|
3189
|
+
plotY: shape.plotY,
|
|
3190
|
+
value: node.val,
|
|
3191
|
+
isInside: visible,
|
|
3192
|
+
isNull: !visible // used for dataLabels & point.draw
|
|
3193
|
+
});
|
|
3194
|
+
point.dlOptions = getDlOptions({
|
|
3195
|
+
point: point,
|
|
3196
|
+
level: level,
|
|
3197
|
+
optionsPoint: point.options,
|
|
3198
|
+
shapeArgs: shape
|
|
3199
|
+
});
|
|
3200
|
+
if (!addedHack && visible) {
|
|
3201
|
+
addedHack = true;
|
|
3202
|
+
onComplete = animateLabels;
|
|
3203
|
+
}
|
|
3204
|
+
point.draw({
|
|
3205
|
+
animatableAttribs: animationInfo.to,
|
|
3206
|
+
attribs: extend(animationInfo.from, (!chart.styledMode && series.pointAttribs(point, (point.selected && 'select')))),
|
|
3207
|
+
onComplete: onComplete,
|
|
3208
|
+
group: group,
|
|
3209
|
+
renderer: renderer,
|
|
3210
|
+
shapeType: 'arc',
|
|
3211
|
+
shapeArgs: shape
|
|
3212
|
+
});
|
|
3213
|
+
});
|
|
3214
|
+
// Draw data labels after points
|
|
3215
|
+
// TODO draw labels one by one to avoid addtional looping
|
|
3216
|
+
if (hackDataLabelAnimation && addedHack) {
|
|
3217
|
+
series.hasRendered = false;
|
|
3218
|
+
series.options.dataLabels.defer = true;
|
|
3219
|
+
Series.prototype.drawDataLabels.call(series);
|
|
3220
|
+
series.hasRendered = true;
|
|
3221
|
+
// If animateLabels is called before labels were hidden, then call
|
|
3222
|
+
// it again.
|
|
3223
|
+
if (animateLabelsCalled) {
|
|
3224
|
+
animateLabels();
|
|
3225
|
+
}
|
|
3226
|
+
}
|
|
3227
|
+
else {
|
|
3228
|
+
Series.prototype.drawDataLabels.call(series);
|
|
3229
|
+
}
|
|
3230
|
+
};
|
|
3231
|
+
/**
|
|
3232
|
+
* The layout algorithm for the levels.
|
|
3233
|
+
* @private
|
|
3234
|
+
*/
|
|
3235
|
+
SunburstSeries.prototype.layoutAlgorithm = function (parent, children, options) {
|
|
3236
|
+
var startAngle = parent.start,
|
|
3237
|
+
range = parent.end - startAngle,
|
|
3238
|
+
total = parent.val,
|
|
3239
|
+
x = parent.x,
|
|
3240
|
+
y = parent.y,
|
|
3241
|
+
radius = ((options &&
|
|
3242
|
+
isObject(options.levelSize) &&
|
|
3243
|
+
isNumber(options.levelSize.value)) ?
|
|
3244
|
+
options.levelSize.value :
|
|
3245
|
+
0),
|
|
3246
|
+
innerRadius = parent.r,
|
|
3247
|
+
outerRadius = innerRadius + radius,
|
|
3248
|
+
slicedOffset = options && isNumber(options.slicedOffset) ?
|
|
3249
|
+
options.slicedOffset :
|
|
3250
|
+
0;
|
|
3251
|
+
return (children || []).reduce(function (arr, child) {
|
|
3252
|
+
var percentage = (1 / total) * child.val,
|
|
3253
|
+
radians = percentage * range,
|
|
3254
|
+
radiansCenter = startAngle + (radians / 2),
|
|
3255
|
+
offsetPosition = getEndPoint(x,
|
|
3256
|
+
y,
|
|
3257
|
+
radiansCenter,
|
|
3258
|
+
slicedOffset),
|
|
3259
|
+
values = {
|
|
3260
|
+
x: child.sliced ? offsetPosition.x : x,
|
|
3261
|
+
y: child.sliced ? offsetPosition.y : y,
|
|
3262
|
+
innerR: innerRadius,
|
|
3263
|
+
r: outerRadius,
|
|
3264
|
+
radius: radius,
|
|
3265
|
+
start: startAngle,
|
|
3266
|
+
end: startAngle + radians
|
|
3267
|
+
};
|
|
3268
|
+
arr.push(values);
|
|
3269
|
+
startAngle = values.end;
|
|
3270
|
+
return arr;
|
|
3271
|
+
}, []);
|
|
3272
|
+
};
|
|
3273
|
+
/**
|
|
3274
|
+
* Set the shape arguments on the nodes. Recursive from root down.
|
|
3275
|
+
* @private
|
|
3276
|
+
*/
|
|
3277
|
+
SunburstSeries.prototype.setShapeArgs = function (parent, parentValues, mapOptionsToLevel) {
|
|
3278
|
+
var childrenValues = [],
|
|
3279
|
+
level = parent.level + 1,
|
|
3280
|
+
options = mapOptionsToLevel[level],
|
|
3281
|
+
// Collect all children which should be included
|
|
3282
|
+
children = parent.children.filter(function (n) {
|
|
3283
|
+
return n.visible;
|
|
3284
|
+
}), twoPi = 6.28; // Two times Pi.
|
|
3285
|
+
childrenValues = this.layoutAlgorithm(parentValues, children, options);
|
|
3286
|
+
children.forEach(function (child, index) {
|
|
3287
|
+
var values = childrenValues[index],
|
|
3288
|
+
angle = values.start + ((values.end - values.start) / 2),
|
|
3289
|
+
radius = values.innerR + ((values.r - values.innerR) / 2),
|
|
3290
|
+
radians = (values.end - values.start),
|
|
3291
|
+
isCircle = (values.innerR === 0 && radians > twoPi),
|
|
3292
|
+
center = (isCircle ?
|
|
3293
|
+
{ x: values.x,
|
|
3294
|
+
y: values.y } :
|
|
3295
|
+
getEndPoint(values.x,
|
|
3296
|
+
values.y,
|
|
3297
|
+
angle,
|
|
3298
|
+
radius)),
|
|
3299
|
+
val = (child.val ?
|
|
3300
|
+
(child.childrenTotal > child.val ?
|
|
3301
|
+
child.childrenTotal :
|
|
3302
|
+
child.val) :
|
|
3303
|
+
child.childrenTotal);
|
|
3304
|
+
// The inner arc length is a convenience for data label filters.
|
|
3305
|
+
if (this.points[child.i]) {
|
|
3306
|
+
this.points[child.i].innerArcLength = radians * values.innerR;
|
|
3307
|
+
this.points[child.i].outerArcLength = radians * values.r;
|
|
3308
|
+
}
|
|
3309
|
+
child.shapeArgs = merge(values, {
|
|
3310
|
+
plotX: center.x,
|
|
3311
|
+
plotY: center.y + 4 * Math.abs(Math.cos(angle))
|
|
3312
|
+
});
|
|
3313
|
+
child.values = merge(values, {
|
|
3314
|
+
val: val
|
|
3315
|
+
});
|
|
3316
|
+
// If node has children, then call method recursively
|
|
3317
|
+
if (child.children.length) {
|
|
3318
|
+
this.setShapeArgs(child, child.values, mapOptionsToLevel);
|
|
3319
|
+
}
|
|
3320
|
+
}, this);
|
|
3321
|
+
};
|
|
3322
|
+
SunburstSeries.prototype.translate = function () {
|
|
3323
|
+
var series = this,
|
|
3324
|
+
options = series.options,
|
|
3325
|
+
positions = series.center = getCenter.call(series),
|
|
3326
|
+
radians = series.startAndEndRadians = getStartAndEndRadians(options.startAngle,
|
|
3327
|
+
options.endAngle),
|
|
3328
|
+
innerRadius = positions[3] / 2,
|
|
3329
|
+
outerRadius = positions[2] / 2,
|
|
3330
|
+
diffRadius = outerRadius - innerRadius,
|
|
3331
|
+
// NOTE: updateRootId modifies series.
|
|
3332
|
+
rootId = updateRootId(series),
|
|
3333
|
+
mapIdToNode = series.nodeMap,
|
|
3334
|
+
mapOptionsToLevel,
|
|
3335
|
+
idTop,
|
|
3336
|
+
nodeRoot = mapIdToNode && mapIdToNode[rootId],
|
|
3337
|
+
nodeTop,
|
|
3338
|
+
tree,
|
|
3339
|
+
values,
|
|
3340
|
+
nodeIds = {};
|
|
3341
|
+
series.shapeRoot = nodeRoot && nodeRoot.shapeArgs;
|
|
3342
|
+
// Call prototype function
|
|
3343
|
+
Series.prototype.translate.call(series);
|
|
3344
|
+
// @todo Only if series.isDirtyData is true
|
|
3345
|
+
tree = series.tree = series.getTree();
|
|
3346
|
+
// Render traverseUpButton, after series.nodeMap i calculated.
|
|
3347
|
+
series.renderTraverseUpButton(rootId);
|
|
3348
|
+
mapIdToNode = series.nodeMap;
|
|
3349
|
+
nodeRoot = mapIdToNode[rootId];
|
|
3350
|
+
idTop = isString(nodeRoot.parent) ? nodeRoot.parent : '';
|
|
3351
|
+
nodeTop = mapIdToNode[idTop];
|
|
3352
|
+
var _a = SunburstUtilities.getLevelFromAndTo(nodeRoot),
|
|
3353
|
+
from = _a.from,
|
|
3354
|
+
to = _a.to;
|
|
3355
|
+
mapOptionsToLevel = getLevelOptions({
|
|
3356
|
+
from: from,
|
|
3357
|
+
levels: series.options.levels,
|
|
3358
|
+
to: to,
|
|
3359
|
+
defaults: {
|
|
3360
|
+
colorByPoint: options.colorByPoint,
|
|
3361
|
+
dataLabels: options.dataLabels,
|
|
3362
|
+
levelIsConstant: options.levelIsConstant,
|
|
3363
|
+
levelSize: options.levelSize,
|
|
3364
|
+
slicedOffset: options.slicedOffset
|
|
3365
|
+
}
|
|
3366
|
+
});
|
|
3367
|
+
// NOTE consider doing calculateLevelSizes in a callback to
|
|
3368
|
+
// getLevelOptions
|
|
3369
|
+
mapOptionsToLevel = SunburstUtilities.calculateLevelSizes(mapOptionsToLevel, {
|
|
3370
|
+
diffRadius: diffRadius,
|
|
3371
|
+
from: from,
|
|
3372
|
+
to: to
|
|
3373
|
+
});
|
|
3374
|
+
// TODO Try to combine setTreeValues & setColorRecursive to avoid
|
|
3375
|
+
// unnecessary looping.
|
|
3376
|
+
setTreeValues(tree, {
|
|
3377
|
+
before: cbSetTreeValuesBefore,
|
|
3378
|
+
idRoot: rootId,
|
|
3379
|
+
levelIsConstant: options.levelIsConstant,
|
|
3380
|
+
mapOptionsToLevel: mapOptionsToLevel,
|
|
3381
|
+
mapIdToNode: mapIdToNode,
|
|
3382
|
+
points: series.points,
|
|
3383
|
+
series: series
|
|
3384
|
+
});
|
|
3385
|
+
values = mapIdToNode[''].shapeArgs = {
|
|
3386
|
+
end: radians.end,
|
|
3387
|
+
r: innerRadius,
|
|
3388
|
+
start: radians.start,
|
|
3389
|
+
val: nodeRoot.val,
|
|
3390
|
+
x: positions[0],
|
|
3391
|
+
y: positions[1]
|
|
3392
|
+
};
|
|
3393
|
+
this.setShapeArgs(nodeTop, values, mapOptionsToLevel);
|
|
3394
|
+
// Set mapOptionsToLevel on series for use in drawPoints.
|
|
3395
|
+
series.mapOptionsToLevel = mapOptionsToLevel;
|
|
3396
|
+
// #10669 - verify if all nodes have unique ids
|
|
3397
|
+
series.data.forEach(function (child) {
|
|
3398
|
+
if (nodeIds[child.id]) {
|
|
3399
|
+
error(31, false, series.chart);
|
|
3400
|
+
}
|
|
3401
|
+
// map
|
|
3402
|
+
nodeIds[child.id] = true;
|
|
3403
|
+
});
|
|
3404
|
+
// reset object
|
|
3405
|
+
nodeIds = {};
|
|
3406
|
+
};
|
|
3407
|
+
/**
|
|
3408
|
+
* A Sunburst displays hierarchical data, where a level in the hierarchy is
|
|
3409
|
+
* represented by a circle. The center represents the root node of the tree.
|
|
3410
|
+
* The visualization bears a resemblance to both treemap and pie charts.
|
|
3411
|
+
*
|
|
3412
|
+
* @sample highcharts/demo/sunburst
|
|
3413
|
+
* Sunburst chart
|
|
3414
|
+
*
|
|
3415
|
+
* @extends plotOptions.pie
|
|
3416
|
+
* @excluding allAreas, clip, colorAxis, colorKey, compare, compareBase,
|
|
3417
|
+
* dataGrouping, depth, dragDrop, endAngle, gapSize, gapUnit,
|
|
3418
|
+
* ignoreHiddenPoint, innerSize, joinBy, legendType, linecap,
|
|
3419
|
+
* minSize, navigatorOptions, pointRange
|
|
3420
|
+
* @product highcharts
|
|
3421
|
+
* @requires modules/sunburst.js
|
|
3422
|
+
* @optionparent plotOptions.sunburst
|
|
3423
|
+
* @private
|
|
3424
|
+
*/
|
|
3425
|
+
SunburstSeries.defaultOptions = merge(TreemapSeries.defaultOptions, {
|
|
3426
|
+
/**
|
|
3427
|
+
* Set options on specific levels. Takes precedence over series options,
|
|
3428
|
+
* but not point options.
|
|
3429
|
+
*
|
|
3430
|
+
* @sample highcharts/demo/sunburst
|
|
3431
|
+
* Sunburst chart
|
|
3432
|
+
*
|
|
3433
|
+
* @type {Array<*>}
|
|
3434
|
+
* @apioption plotOptions.sunburst.levels
|
|
3435
|
+
*/
|
|
3436
|
+
/**
|
|
3437
|
+
* Can set a `borderColor` on all points which lies on the same level.
|
|
3438
|
+
*
|
|
3439
|
+
* @type {Highcharts.ColorString}
|
|
3440
|
+
* @apioption plotOptions.sunburst.levels.borderColor
|
|
3441
|
+
*/
|
|
3442
|
+
/**
|
|
3443
|
+
* Can set a `borderWidth` on all points which lies on the same level.
|
|
3444
|
+
*
|
|
3445
|
+
* @type {number}
|
|
3446
|
+
* @apioption plotOptions.sunburst.levels.borderWidth
|
|
3447
|
+
*/
|
|
3448
|
+
/**
|
|
3449
|
+
* Can set a `borderDashStyle` on all points which lies on the same
|
|
3450
|
+
* level.
|
|
3451
|
+
*
|
|
3452
|
+
* @type {Highcharts.DashStyleValue}
|
|
3453
|
+
* @apioption plotOptions.sunburst.levels.borderDashStyle
|
|
3454
|
+
*/
|
|
3455
|
+
/**
|
|
3456
|
+
* Can set a `color` on all points which lies on the same level.
|
|
3457
|
+
*
|
|
3458
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
3459
|
+
* @apioption plotOptions.sunburst.levels.color
|
|
3460
|
+
*/
|
|
3461
|
+
/**
|
|
3462
|
+
* Can set a `colorVariation` on all points which lies on the same
|
|
3463
|
+
* level.
|
|
3464
|
+
*
|
|
3465
|
+
* @apioption plotOptions.sunburst.levels.colorVariation
|
|
3466
|
+
*/
|
|
3467
|
+
/**
|
|
3468
|
+
* The key of a color variation. Currently supports `brightness` only.
|
|
3469
|
+
*
|
|
3470
|
+
* @type {string}
|
|
3471
|
+
* @apioption plotOptions.sunburst.levels.colorVariation.key
|
|
3472
|
+
*/
|
|
3473
|
+
/**
|
|
3474
|
+
* The ending value of a color variation. The last sibling will receive
|
|
3475
|
+
* this value.
|
|
3476
|
+
*
|
|
3477
|
+
* @type {number}
|
|
3478
|
+
* @apioption plotOptions.sunburst.levels.colorVariation.to
|
|
3479
|
+
*/
|
|
3480
|
+
/**
|
|
3481
|
+
* Can set `dataLabels` on all points which lies on the same level.
|
|
3482
|
+
*
|
|
3483
|
+
* @extends plotOptions.sunburst.dataLabels
|
|
3484
|
+
* @apioption plotOptions.sunburst.levels.dataLabels
|
|
3485
|
+
*/
|
|
3486
|
+
/**
|
|
3487
|
+
* Decides which level takes effect from the options set in the levels
|
|
3488
|
+
* object.
|
|
3489
|
+
*
|
|
3490
|
+
* @sample highcharts/demo/sunburst
|
|
3491
|
+
* Sunburst chart
|
|
3492
|
+
*
|
|
3493
|
+
* @type {number}
|
|
3494
|
+
* @apioption plotOptions.sunburst.levels.level
|
|
3495
|
+
*/
|
|
3496
|
+
/**
|
|
3497
|
+
* Can set a `levelSize` on all points which lies on the same level.
|
|
3498
|
+
*
|
|
3499
|
+
* @type {Object}
|
|
3500
|
+
* @apioption plotOptions.sunburst.levels.levelSize
|
|
3501
|
+
*/
|
|
3502
|
+
/**
|
|
3503
|
+
* When enabled the user can click on a point which is a parent and
|
|
3504
|
+
* zoom in on its children. Deprecated and replaced by
|
|
3505
|
+
* [allowTraversingTree](#plotOptions.sunburst.allowTraversingTree).
|
|
3506
|
+
*
|
|
3507
|
+
* @deprecated
|
|
3508
|
+
* @type {boolean}
|
|
3509
|
+
* @default false
|
|
3510
|
+
* @since 6.0.0
|
|
3511
|
+
* @product highcharts
|
|
3512
|
+
* @apioption plotOptions.sunburst.allowDrillToNode
|
|
3513
|
+
*/
|
|
3514
|
+
/**
|
|
3515
|
+
* When enabled the user can click on a point which is a parent and
|
|
3516
|
+
* zoom in on its children.
|
|
3517
|
+
*
|
|
3518
|
+
* @type {boolean}
|
|
3519
|
+
* @default false
|
|
3520
|
+
* @since 7.0.3
|
|
3521
|
+
* @product highcharts
|
|
3522
|
+
* @apioption plotOptions.sunburst.allowTraversingTree
|
|
3523
|
+
*/
|
|
3524
|
+
/**
|
|
3525
|
+
* The center of the sunburst chart relative to the plot area. Can be
|
|
3526
|
+
* percentages or pixel values.
|
|
3527
|
+
*
|
|
3528
|
+
* @sample {highcharts} highcharts/plotoptions/pie-center/
|
|
3529
|
+
* Centered at 100, 100
|
|
3530
|
+
*
|
|
3531
|
+
* @type {Array<number|string>}
|
|
3532
|
+
* @default ["50%", "50%"]
|
|
3533
|
+
* @product highcharts
|
|
3534
|
+
*/
|
|
3535
|
+
center: ['50%', '50%'],
|
|
3536
|
+
colorByPoint: false,
|
|
3537
|
+
/**
|
|
3538
|
+
* Disable inherited opacity from Treemap series.
|
|
3539
|
+
*
|
|
3540
|
+
* @ignore-option
|
|
3541
|
+
*/
|
|
3542
|
+
opacity: 1,
|
|
3543
|
+
/**
|
|
3544
|
+
* @declare Highcharts.SeriesSunburstDataLabelsOptionsObject
|
|
3545
|
+
*/
|
|
3546
|
+
dataLabels: {
|
|
3547
|
+
allowOverlap: true,
|
|
3548
|
+
defer: true,
|
|
3549
|
+
/**
|
|
3550
|
+
* Decides how the data label will be rotated relative to the
|
|
3551
|
+
* perimeter of the sunburst. Valid values are `auto`, `circular`,
|
|
3552
|
+
* `parallel` and `perpendicular`. When `auto`, the best fit will be
|
|
3553
|
+
* computed for the point. The `circular` option works similiar
|
|
3554
|
+
* to `auto`, but uses the `textPath` feature - labels are curved,
|
|
3555
|
+
* resulting in a better layout, however multiple lines and
|
|
3556
|
+
* `textOutline` are not supported.
|
|
3557
|
+
*
|
|
3558
|
+
* The `rotation` option takes precedence over `rotationMode`.
|
|
3559
|
+
*
|
|
3560
|
+
* @type {string}
|
|
3561
|
+
* @sample {highcharts} highcharts/plotoptions/sunburst-datalabels-rotationmode-circular/
|
|
3562
|
+
* Circular rotation mode
|
|
3563
|
+
* @validvalue ["auto", "perpendicular", "parallel", "circular"]
|
|
3564
|
+
* @since 6.0.0
|
|
3565
|
+
*/
|
|
3566
|
+
rotationMode: 'auto',
|
|
3567
|
+
style: {
|
|
3568
|
+
/** @internal */
|
|
3569
|
+
textOverflow: 'ellipsis'
|
|
3570
|
+
}
|
|
3571
|
+
},
|
|
3572
|
+
/**
|
|
3573
|
+
* Which point to use as a root in the visualization.
|
|
3574
|
+
*
|
|
3575
|
+
* @type {string}
|
|
3576
|
+
*/
|
|
3577
|
+
rootId: void 0,
|
|
3578
|
+
/**
|
|
3579
|
+
* Used together with the levels and `allowDrillToNode` options. When
|
|
3580
|
+
* set to false the first level visible when drilling is considered
|
|
3581
|
+
* to be level one. Otherwise the level will be the same as the tree
|
|
3582
|
+
* structure.
|
|
3583
|
+
*/
|
|
3584
|
+
levelIsConstant: true,
|
|
3585
|
+
/**
|
|
3586
|
+
* Determines the width of the ring per level.
|
|
3587
|
+
*
|
|
3588
|
+
* @sample {highcharts} highcharts/plotoptions/sunburst-levelsize/
|
|
3589
|
+
* Sunburst with various sizes per level
|
|
3590
|
+
*
|
|
3591
|
+
* @since 6.0.5
|
|
3592
|
+
*/
|
|
3593
|
+
levelSize: {
|
|
3594
|
+
/**
|
|
3595
|
+
* The value used for calculating the width of the ring. Its' affect
|
|
3596
|
+
* is determined by `levelSize.unit`.
|
|
3597
|
+
*
|
|
3598
|
+
* @sample {highcharts} highcharts/plotoptions/sunburst-levelsize/
|
|
3599
|
+
* Sunburst with various sizes per level
|
|
3600
|
+
*/
|
|
3601
|
+
value: 1,
|
|
3602
|
+
/**
|
|
3603
|
+
* How to interpret `levelSize.value`.
|
|
3604
|
+
*
|
|
3605
|
+
* - `percentage` gives a width relative to result of outer radius
|
|
3606
|
+
* minus inner radius.
|
|
3607
|
+
*
|
|
3608
|
+
* - `pixels` gives the ring a fixed width in pixels.
|
|
3609
|
+
*
|
|
3610
|
+
* - `weight` takes the remaining width after percentage and pixels,
|
|
3611
|
+
* and distributes it accross all "weighted" levels. The value
|
|
3612
|
+
* relative to the sum of all weights determines the width.
|
|
3613
|
+
*
|
|
3614
|
+
* @sample {highcharts} highcharts/plotoptions/sunburst-levelsize/
|
|
3615
|
+
* Sunburst with various sizes per level
|
|
3616
|
+
*
|
|
3617
|
+
* @validvalue ["percentage", "pixels", "weight"]
|
|
3618
|
+
*/
|
|
3619
|
+
unit: 'weight'
|
|
3620
|
+
},
|
|
3621
|
+
/**
|
|
3622
|
+
* Options for the button appearing when traversing down in a treemap.
|
|
3623
|
+
*
|
|
3624
|
+
* @extends plotOptions.treemap.traverseUpButton
|
|
3625
|
+
* @since 6.0.0
|
|
3626
|
+
* @apioption plotOptions.sunburst.traverseUpButton
|
|
3627
|
+
*/
|
|
3628
|
+
/**
|
|
3629
|
+
* If a point is sliced, moved out from the center, how many pixels
|
|
3630
|
+
* should it be moved?.
|
|
3631
|
+
*
|
|
3632
|
+
* @sample highcharts/plotoptions/sunburst-sliced
|
|
3633
|
+
* Sliced sunburst
|
|
3634
|
+
*
|
|
3635
|
+
* @since 6.0.4
|
|
3636
|
+
*/
|
|
3637
|
+
slicedOffset: 10
|
|
3638
|
+
});
|
|
3639
|
+
return SunburstSeries;
|
|
3640
|
+
}(TreemapSeries));
|
|
3641
|
+
extend(SunburstSeries.prototype, {
|
|
3642
|
+
drawDataLabels: noop,
|
|
3643
|
+
pointAttribs: ColumnSeries.prototype.pointAttribs,
|
|
3644
|
+
pointClass: SunburstPoint,
|
|
3645
|
+
utils: SunburstUtilities
|
|
3646
|
+
});
|
|
3647
|
+
SeriesRegistry.registerSeriesType('sunburst', SunburstSeries);
|
|
3648
|
+
/* *
|
|
3649
|
+
*
|
|
3650
|
+
* Default Export
|
|
3651
|
+
*
|
|
3652
|
+
* */
|
|
3653
|
+
/* *
|
|
3654
|
+
*
|
|
3655
|
+
* API Options
|
|
3656
|
+
*
|
|
3657
|
+
* */
|
|
3658
|
+
/**
|
|
3659
|
+
* A `sunburst` series. If the [type](#series.sunburst.type) option is
|
|
3660
|
+
* not specified, it is inherited from [chart.type](#chart.type).
|
|
3661
|
+
*
|
|
3662
|
+
* @extends series,plotOptions.sunburst
|
|
3663
|
+
* @excluding dataParser, dataURL, stack, dataSorting, boostThreshold,
|
|
3664
|
+
* boostBlending
|
|
3665
|
+
* @product highcharts
|
|
3666
|
+
* @requires modules/sunburst.js
|
|
3667
|
+
* @apioption series.sunburst
|
|
3668
|
+
*/
|
|
3669
|
+
/**
|
|
3670
|
+
* @type {Array<number|null|*>}
|
|
3671
|
+
* @extends series.treemap.data
|
|
3672
|
+
* @excluding x, y
|
|
3673
|
+
* @product highcharts
|
|
3674
|
+
* @apioption series.sunburst.data
|
|
3675
|
+
*/
|
|
3676
|
+
/**
|
|
3677
|
+
* @type {Highcharts.SeriesSunburstDataLabelsOptionsObject|Array<Highcharts.SeriesSunburstDataLabelsOptionsObject>}
|
|
3678
|
+
* @product highcharts
|
|
3679
|
+
* @apioption series.sunburst.data.dataLabels
|
|
3680
|
+
*/
|
|
3681
|
+
/**
|
|
3682
|
+
* The value of the point, resulting in a relative area of the point
|
|
3683
|
+
* in the sunburst.
|
|
3684
|
+
*
|
|
3685
|
+
* @type {number|null}
|
|
3686
|
+
* @since 6.0.0
|
|
3687
|
+
* @product highcharts
|
|
3688
|
+
* @apioption series.sunburst.data.value
|
|
3689
|
+
*/
|
|
3690
|
+
/**
|
|
3691
|
+
* Use this option to build a tree structure. The value should be the id of the
|
|
3692
|
+
* point which is the parent. If no points has a matching id, or this option is
|
|
3693
|
+
* undefined, then the parent will be set to the root.
|
|
3694
|
+
*
|
|
3695
|
+
* @type {string}
|
|
3696
|
+
* @since 6.0.0
|
|
3697
|
+
* @product highcharts
|
|
3698
|
+
* @apioption series.sunburst.data.parent
|
|
3699
|
+
*/
|
|
3700
|
+
/**
|
|
3701
|
+
* Whether to display a slice offset from the center. When a sunburst point is
|
|
3702
|
+
* sliced, its children are also offset.
|
|
3703
|
+
*
|
|
3704
|
+
* @sample highcharts/plotoptions/sunburst-sliced
|
|
3705
|
+
* Sliced sunburst
|
|
3706
|
+
*
|
|
3707
|
+
* @type {boolean}
|
|
3708
|
+
* @default false
|
|
3709
|
+
* @since 6.0.4
|
|
3710
|
+
* @product highcharts
|
|
3711
|
+
* @apioption series.sunburst.data.sliced
|
|
3712
|
+
*/
|
|
3713
|
+
''; // detach doclets above
|
|
3714
|
+
|
|
3715
|
+
return SunburstSeries;
|
|
3716
|
+
});
|
|
3717
|
+
_registerModule(_modules, 'masters/modules/sunburst.src.js', [], function () {
|
|
3718
|
+
|
|
3719
|
+
|
|
3720
|
+
});
|
|
3721
|
+
}));
|