highcharts 10.2.1 → 10.3.1
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/bower.json +1 -1
- package/es-modules/Accessibility/Accessibility.js +1 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +9 -6
- package/es-modules/Accessibility/Components/LegendComponent.js +36 -32
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +1 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -16
- package/es-modules/Accessibility/Options/LangDefaults.js +4 -0
- package/es-modules/Core/Axis/Axis.js +42 -32
- package/es-modules/Core/Axis/Axis3DComposition.js +501 -0
- package/es-modules/Core/Axis/Axis3DDefaults.js +130 -0
- package/es-modules/Core/Axis/AxisDefaults.js +20 -7
- package/es-modules/Core/Axis/Color/ColorAxis.js +46 -52
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +4 -2
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +161 -0
- package/es-modules/Core/Axis/OrdinalAxis.js +2 -1
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +1 -1
- package/es-modules/Core/Axis/RadialAxis.js +19 -5
- package/es-modules/Core/Axis/Tick.js +1 -1
- package/es-modules/Core/Axis/Tick3DComposition.js +71 -0
- package/es-modules/Core/Chart/Chart.js +16 -20
- package/es-modules/Core/Chart/Chart3D.js +4 -4
- package/es-modules/Core/Chart/ChartDefaults.js +33 -43
- package/es-modules/Core/Chart/GanttChart.js +1 -1
- package/es-modules/Core/Chart/MapChart.js +1 -1
- package/es-modules/Core/Chart/StockChart.js +11 -28
- package/es-modules/Core/{DefaultOptions.js → Defaults.js} +21 -37
- package/es-modules/Core/FormatUtilities.js +1 -1
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +114 -110
- package/es-modules/Core/Legend/LegendSymbol.js +9 -6
- package/es-modules/Core/MSPointer.js +4 -2
- package/es-modules/Core/Pointer.js +125 -75
- package/es-modules/Core/Renderer/SVG/SVGElement.js +0 -3
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +28 -14
- package/es-modules/Core/Series/DataLabel.js +8 -5
- package/es-modules/Core/Series/Point.js +38 -22
- package/es-modules/Core/Series/Series.js +12 -9
- package/es-modules/Core/Series/SeriesDefaults.js +36 -24
- package/es-modules/Core/Series/SeriesRegistry.js +2 -2
- package/es-modules/Core/Time.js +6 -5
- package/es-modules/Core/Tooltip.js +6 -28
- package/es-modules/Core/Utilities.js +6 -8
- package/es-modules/Extensions/Annotations/Annotation.js +1 -1
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +13 -8
- package/es-modules/Extensions/Annotations/MockPoint.js +2 -1
- package/es-modules/Extensions/Annotations/NavigationBindings.js +4 -5
- package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
- package/es-modules/Extensions/Annotations/Popup/Popup.js +2 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -4
- package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +11 -8
- package/es-modules/Extensions/Breadcrumbs.js +2 -2
- package/es-modules/Extensions/Data.js +2 -2
- package/es-modules/Extensions/DataGrouping/ApproximationDefaults.js +157 -0
- package/es-modules/Extensions/DataGrouping/ApproximationRegistry.js +35 -0
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +469 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +174 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +143 -0
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +479 -0
- package/es-modules/Extensions/Debugger/Debugger.js +1 -1
- package/es-modules/Extensions/DraggablePoints.js +6 -2
- package/es-modules/Extensions/Drilldown.js +3 -5
- package/es-modules/Extensions/ExportData/ExportData.js +31 -5
- package/es-modules/Extensions/Exporting/Exporting.js +47 -60
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +22 -24
- package/es-modules/Extensions/GeoJSON.js +3 -1
- package/es-modules/Extensions/MarkerClusters.js +1 -1
- package/es-modules/Extensions/NoDataToDisplay.js +1 -1
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +5 -5
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +3 -3
- package/es-modules/Extensions/Oldie/VMLRenderer3D.js +1 -1
- package/es-modules/Extensions/OldiePolyfills.js +3 -1
- package/es-modules/Extensions/Pane.js +42 -5
- package/es-modules/Extensions/ParallelCoordinates.js +5 -1
- package/es-modules/Extensions/PatternFill.js +10 -10
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +2 -2
- package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +4 -0
- package/es-modules/Extensions/Sonification/Sonification.js +1 -1
- package/es-modules/Extensions/Themes/Avocado.js +1 -1
- package/es-modules/Extensions/Themes/BrandDark.js +1 -1
- package/es-modules/Extensions/Themes/BrandLight.js +1 -1
- package/es-modules/Extensions/Themes/DarkBlue.js +1 -1
- package/es-modules/Extensions/Themes/DarkGreen.js +1 -1
- package/es-modules/Extensions/Themes/DarkUnica.js +1 -1
- package/es-modules/Extensions/Themes/Gray.js +1 -1
- package/es-modules/Extensions/Themes/Grid.js +1 -1
- package/es-modules/Extensions/Themes/GridLight.js +1 -1
- package/es-modules/Extensions/Themes/HighContrastDark.js +1 -1
- package/es-modules/Extensions/Themes/HighContrastLight.js +1 -1
- package/es-modules/Extensions/Themes/SandSignika.js +1 -1
- package/es-modules/Extensions/Themes/Skies.js +1 -1
- package/es-modules/Extensions/Themes/Sunset.js +1 -1
- package/es-modules/Gantt/Connection.js +5 -5
- package/es-modules/Gantt/Pathfinder.js +6 -6
- package/es-modules/Maps/MapNavigation.js +1 -1
- package/es-modules/Maps/{MapNavigationOptionsDefault.js → MapNavigationDefaults.js} +4 -4
- package/es-modules/Maps/MapViewOptionsDefault.js +4 -4
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -5
- package/es-modules/Series/AreaRange/AreaRangePoint.js +6 -10
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +59 -48
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +4 -1
- package/es-modules/Series/Bubble/BubbleLegendComposition.js +22 -16
- package/es-modules/Series/Bubble/BubbleLegendItem.js +17 -21
- package/es-modules/Series/Candlestick/CandlestickSeries.js +15 -175
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +179 -0
- package/es-modules/Series/Column/ColumnSeries.js +25 -506
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +487 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +40 -36
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +2 -106
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesDefaults.js +183 -0
- package/es-modules/Series/DotPlot/DotPlotSeries.js +11 -12
- package/es-modules/Series/DrawPointUtilities.js +2 -14
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +5 -4
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +11 -7
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +19 -136
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +147 -0
- package/es-modules/Series/Flags/FlagsPoint.js +2 -3
- package/es-modules/Series/Flags/FlagsSeries.js +31 -298
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +295 -0
- package/es-modules/Series/Flags/FlagsSymbols.js +96 -71
- package/es-modules/Series/HLC/HLCPoint.js +2 -2
- package/es-modules/Series/HLC/HLCSeries.js +7 -172
- package/es-modules/Series/HLC/HLCSeriesDefaults.js +184 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +3 -0
- package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -20
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +78 -139
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +102 -0
- package/es-modules/Series/Item/ItemPoint.js +0 -1
- package/es-modules/Series/Item/ItemSeries.js +13 -8
- package/es-modules/Series/Line/LineSeries.js +8 -4
- package/es-modules/Series/Map/MapPoint.js +19 -1
- package/es-modules/Series/Map/MapSeries.js +7 -3
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +4 -0
- package/es-modules/Series/MapPoint/MapPointPoint.js +0 -5
- package/es-modules/Series/MapPoint/MapPointSeries.js +24 -9
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +2 -5
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +2 -0
- package/es-modules/Series/OHLC/OHLCPoint.js +0 -2
- package/es-modules/Series/OHLC/OHLCSeries.js +64 -160
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +151 -0
- package/es-modules/Series/Organization/OrganizationPoint.js +0 -2
- package/es-modules/Series/Organization/OrganizationSeries.js +96 -469
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +415 -0
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +3 -10
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -0
- package/es-modules/Series/PathUtilities.js +74 -0
- package/es-modules/Series/Pie/PieSeries.js +2 -644
- package/es-modules/Series/Pie/PieSeriesDefaults.js +660 -0
- package/es-modules/Series/PolarComposition.js +233 -15
- package/es-modules/Series/Sankey/SankeySeries.js +27 -530
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +522 -0
- package/es-modules/Series/Scatter/ScatterSeries.js +2 -172
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +188 -0
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +12 -182
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +199 -0
- package/es-modules/Series/Sunburst/SunburstNode.js +34 -0
- package/es-modules/Series/Sunburst/SunburstPoint.js +2 -1
- package/es-modules/Series/Sunburst/SunburstSeries.js +3 -1
- package/es-modules/Series/Timeline/TimelineSeries.js +2 -231
- package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +248 -0
- package/es-modules/Series/TreeUtilities.js +1 -2
- package/es-modules/Series/Treegraph/TreegraphLayout.js +338 -0
- package/es-modules/Series/Treegraph/TreegraphLink.js +92 -0
- package/es-modules/Series/Treegraph/TreegraphNode.js +206 -0
- package/es-modules/Series/Treegraph/TreegraphPoint.js +175 -0
- package/es-modules/Series/Treegraph/TreegraphSeries.js +510 -0
- package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +231 -0
- package/es-modules/Series/Treemap/TreemapNode.js +48 -0
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -1
- package/es-modules/Series/Treemap/TreemapSeries.js +29 -27
- package/es-modules/Series/Variwide/VariwideComposition.js +70 -26
- package/es-modules/Series/Variwide/VariwidePoint.js +8 -7
- package/es-modules/Series/Variwide/VariwideSeries.js +19 -14
- package/es-modules/Series/Vector/VectorSeries.js +2 -2
- package/es-modules/Series/Venn/VennSeries.js +14 -0
- package/es-modules/Series/Waterfall/WaterfallSeries.js +0 -1
- package/es-modules/Series/Windbarb/WindbarbSeries.js +3 -2
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +3 -0
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -2
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +15 -4
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +21 -18
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +1 -2
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -2
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +3 -4
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -2
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +6 -7
- package/es-modules/{Core → Stock/Navigator}/Navigator.js +112 -686
- package/es-modules/Stock/Navigator/NavigatorComposition.js +218 -0
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +490 -0
- package/es-modules/Stock/Navigator/NavigatorSymbols.js +44 -0
- package/es-modules/{Extensions → Stock/RangeSelector}/RangeSelector.js +154 -818
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +286 -0
- package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +521 -0
- package/es-modules/{Core → Stock/Scrollbar}/Scrollbar.js +4 -4
- package/es-modules/{Core → Stock/Scrollbar}/ScrollbarDefaults.js +1 -1
- package/es-modules/Stock/{StockToolbar.js → StockTools/StockToolbar.js} +2 -2
- package/es-modules/Stock/{StockTools.js → StockTools/StockTools.js} +3 -3
- package/es-modules/Stock/{StockToolsBindings.js → StockTools/StockToolsBindings.js} +3 -3
- package/es-modules/Stock/{StockToolsDefaults.js → StockTools/StockToolsDefaults.js} +4 -4
- package/es-modules/Stock/{StockToolsGui.js → StockTools/StockToolsGui.js} +4 -4
- package/es-modules/Stock/{StockToolsUtilities.js → StockTools/StockToolsUtilities.js} +4 -4
- package/es-modules/masters/highcharts-3d.src.js +3 -5
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +6 -6
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +11 -3
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +9 -5
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +5 -2
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
- package/es-modules/masters/modules/oldie.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +4 -4
- package/es-modules/masters/modules/stock.src.js +17 -11
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +13 -0
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +5 -2
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/brand-dark.src.js +1 -1
- package/es-modules/masters/themes/brand-light.src.js +1 -1
- package/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/es-modules/masters/themes/dark-green.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/gray.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/grid.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/highcharts-3d.js +97 -98
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +476 -449
- package/highcharts-gantt.js +811 -808
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +14619 -14112
- package/highcharts-more.d.ts +0 -8
- package/highcharts-more.js +208 -201
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.d.ts +0 -8
- package/highcharts-more.src.js +679 -289
- package/highcharts.d.ts +30739 -6156
- package/highcharts.js +590 -589
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +30739 -6156
- package/highcharts.src.js +1988 -1799
- package/highmaps.js +759 -757
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +2339 -2077
- package/highstock.js +802 -794
- package/highstock.js.map +1 -1
- package/highstock.src.js +12349 -11416
- package/indicators/acceleration-bands.js +1 -1
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +6 -6
- package/indicators/ao.js.map +1 -1
- package/indicators/ao.src.js +4 -3
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +1 -1
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +1 -1
- package/indicators/aroon.src.js +1 -1
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.js +16 -5
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.d.ts +17 -0
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.d.ts +17 -0
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.d.ts +17 -0
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.d.ts +17 -0
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.d.ts +17 -0
- package/indicators/dmi.js +1 -1
- package/indicators/dmi.src.d.ts +17 -0
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +14 -14
- package/indicators/ichimoku-kinko-hyo.js.map +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +22 -19
- package/indicators/indicators-all.js +198 -199
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.js +63 -57
- package/indicators/indicators.js +13 -13
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +1 -15
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.d.ts +17 -0
- package/indicators/klinger.js +12 -12
- package/indicators/klinger.js.map +1 -1
- package/indicators/klinger.src.d.ts +17 -0
- package/indicators/klinger.src.js +4 -3
- package/indicators/macd.js +1 -1
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +4 -3
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.d.ts +17 -0
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.d.ts +17 -0
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +2 -2
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +1 -1
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +1 -1
- package/indicators/slow-stochastic.js +5 -5
- package/indicators/slow-stochastic.js.map +1 -1
- package/indicators/slow-stochastic.src.js +6 -5
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +7 -7
- package/indicators/supertrend.js.map +1 -1
- package/indicators/supertrend.src.js +4 -3
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +17 -17
- package/indicators/volume-by-price.js.map +1 -1
- package/indicators/volume-by-price.src.js +9 -8
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +214 -213
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +991 -835
- package/modules/annotations-advanced.js +16 -16
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +29 -24
- package/modules/annotations.js +91 -91
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +29 -24
- package/modules/arc-diagram.d.ts +17 -0
- package/modules/arc-diagram.js +15 -15
- package/modules/arc-diagram.js.map +1 -1
- package/modules/arc-diagram.src.d.ts +17 -0
- package/modules/arc-diagram.src.js +6 -6
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +19 -19
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +13 -8
- package/modules/boost.js +37 -37
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +13 -8
- package/modules/broken-axis.js +1 -1
- package/modules/broken-axis.src.js +1 -1
- package/modules/bullet.js +1 -1
- package/modules/bullet.src.js +1 -1
- package/modules/coloraxis.js +25 -24
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +77 -58
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +1 -1
- package/modules/cylinder.src.js +1 -1
- package/modules/data.js +27 -27
- package/modules/data.js.map +1 -1
- package/modules/data.src.js +3 -3
- package/modules/datagrouping.d.ts +31 -0
- package/modules/datagrouping.js +23 -21
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.d.ts +31 -0
- package/modules/datagrouping.src.js +921 -640
- package/modules/debugger.js +3 -3
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +2 -2
- package/modules/dependency-wheel.js +12 -12
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +191 -108
- package/modules/dotplot.js +6 -6
- package/modules/dotplot.js.map +1 -1
- package/modules/dotplot.src.js +10 -13
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +5 -5
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +7 -3
- package/modules/drilldown.js +37 -37
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +5 -6
- package/modules/dumbbell.js +17 -17
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +27 -22
- package/modules/export-data.js +26 -25
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +33 -6
- package/modules/exporting.js +36 -35
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +81 -88
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +1 -1
- package/modules/funnel.src.js +1 -1
- package/modules/funnel3d.js +1 -1
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.js +221 -219
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +12842 -12524
- package/modules/grid-axis.js +1 -1
- package/modules/grid-axis.src.js +1 -1
- package/modules/heatmap.js +40 -40
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +80 -58
- package/modules/heikinashi.d.ts +17 -0
- package/modules/heikinashi.js +9 -8
- package/modules/heikinashi.js.map +1 -1
- package/modules/heikinashi.src.d.ts +17 -0
- package/modules/heikinashi.src.js +192 -165
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/hollowcandlestick.d.ts +17 -0
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.d.ts +17 -0
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +12 -12
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +14 -10
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.js +172 -171
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +194 -121
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +2 -2
- package/modules/networkgraph.js +8 -8
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.js +5 -6
- package/modules/no-data-to-display.js +4 -4
- package/modules/no-data-to-display.js.map +1 -1
- package/modules/no-data-to-display.src.js +2 -2
- package/modules/offline-exporting.js +4 -4
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +7 -7
- package/modules/oldie-polyfills.js +7 -7
- package/modules/oldie-polyfills.js.map +1 -1
- package/modules/oldie-polyfills.src.js +9 -7
- package/modules/oldie.js +30 -30
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +5 -5
- package/modules/organization.js +18 -16
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +659 -495
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +10 -10
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +6 -2
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +31 -31
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +19 -23
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +11 -11
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- package/modules/sankey.js +33 -32
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.js +571 -550
- package/modules/series-label.js +17 -17
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +7 -3
- package/modules/series-on-point.d.ts +17 -0
- package/modules/series-on-point.js +1 -1
- package/modules/series-on-point.src.d.ts +17 -0
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +11 -10
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +220 -192
- package/modules/sonification.js +2 -2
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +2 -2
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +59 -59
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +19 -21
- package/modules/stock.d.ts +26 -6
- package/modules/stock.js +212 -205
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.d.ts +26 -6
- package/modules/stock.src.js +11361 -10617
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +75 -73
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +133 -57
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.js +18 -18
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +257 -233
- package/modules/treegraph.d.ts +17 -0
- package/modules/treegraph.js +44 -0
- package/modules/treegraph.js.map +1 -0
- package/modules/treegraph.src.d.ts +17 -0
- package/modules/treegraph.src.js +1829 -0
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +2 -3
- package/modules/treemap.js +54 -53
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +90 -52
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +12 -12
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +158 -106
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +3 -3
- package/modules/venn.js +31 -31
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +17 -16
- package/modules/windbarb.js +15 -15
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +41 -4
- package/modules/wordcloud.js +23 -23
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +6 -15
- package/modules/xrange.js +1 -1
- package/modules/xrange.src.js +1 -1
- package/package.json +1 -1
- package/themes/avocado.js +2 -3
- package/themes/avocado.js.map +1 -1
- package/themes/avocado.src.js +2 -2
- package/themes/brand-dark.d.ts +22 -0
- package/themes/brand-dark.js +3 -3
- package/themes/brand-dark.js.map +1 -1
- package/themes/brand-dark.src.d.ts +22 -0
- package/themes/brand-dark.src.js +2 -2
- package/themes/brand-light.d.ts +22 -0
- package/themes/brand-light.js +2 -2
- package/themes/brand-light.js.map +1 -1
- package/themes/brand-light.src.d.ts +22 -0
- package/themes/brand-light.src.js +2 -2
- package/themes/dark-blue.js +2 -2
- package/themes/dark-blue.js.map +1 -1
- package/themes/dark-blue.src.js +2 -2
- package/themes/dark-green.js +2 -2
- package/themes/dark-green.js.map +1 -1
- package/themes/dark-green.src.js +2 -2
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.js.map +1 -1
- package/themes/dark-unica.src.js +2 -2
- package/themes/gray.js +2 -2
- package/themes/gray.js.map +1 -1
- package/themes/gray.src.js +2 -2
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.js.map +1 -1
- package/themes/grid-light.src.js +2 -2
- package/themes/grid.js +2 -2
- package/themes/grid.js.map +1 -1
- package/themes/grid.src.js +2 -2
- package/themes/high-contrast-dark.d.ts +22 -0
- package/themes/high-contrast-dark.js +2 -2
- package/themes/high-contrast-dark.js.map +1 -1
- package/themes/high-contrast-dark.src.d.ts +22 -0
- package/themes/high-contrast-dark.src.js +2 -2
- package/themes/high-contrast-light.d.ts +22 -0
- package/themes/high-contrast-light.js +2 -2
- package/themes/high-contrast-light.js.map +1 -1
- package/themes/high-contrast-light.src.d.ts +22 -0
- package/themes/high-contrast-light.src.js +2 -2
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.js.map +1 -1
- package/themes/sand-signika.src.js +2 -2
- package/themes/skies.js +2 -2
- package/themes/skies.js.map +1 -1
- package/themes/skies.src.js +2 -2
- package/themes/sunset.js +2 -2
- package/themes/sunset.js.map +1 -1
- package/themes/sunset.src.js +2 -2
- package/es-modules/Core/Axis/Axis3D.js +0 -612
- package/es-modules/Core/Axis/NavigatorAxis.js +0 -159
- package/es-modules/Core/Axis/Tick3D.js +0 -68
- package/es-modules/Extensions/DataGrouping.js +0 -1177
- package/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -12
package/modules/streamgraph.js
CHANGED
package/modules/sunburst.js
CHANGED
|
@@ -1,81 +1,83 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Highcharts JS v10.
|
|
2
|
+
Highcharts JS v10.3.1 (2022-10-31)
|
|
3
3
|
|
|
4
4
|
(c) 2016-2021 Highsoft AS
|
|
5
5
|
Authors: Jon Arild Nygard
|
|
6
6
|
|
|
7
7
|
License: www.highcharts.com/license
|
|
8
8
|
*/
|
|
9
|
-
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/sunburst",["highcharts"],function(
|
|
10
|
-
"Series/ColorMapComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,d){var
|
|
11
|
-
{colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(
|
|
12
|
-
[],function(){return function(){function a(a,h,
|
|
13
|
-
this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH));this.elArr.push(a)};a.prototype.reset=function(){this.lW=this.nW=0;this.elArr=[];this.total=0};return a}()});
|
|
14
|
-
function(a){
|
|
15
|
-
|
|
16
|
-
a}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
this.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
a["Core/Legend/LegendSymbol.js"],a["Core/Series/SeriesRegistry.js"],a["Series/Treemap/TreemapAlgorithmGroup.js"],a["Series/Treemap/TreemapPoint.js"],a["Series/Treemap/TreemapUtilities.js"],a["Series/TreeUtilities.js"],a["Extensions/Breadcrumbs.js"],a["Core/Utilities.js"]
|
|
37
|
-
(a[b]=g[b])};return a(b,g)};return function(b,g){function
|
|
38
|
-
arguments)||this;g.axisRatio=void 0;g.data=void 0;g.mapOptionsToLevel=void 0;g.nodeMap=void 0;g.options=void 0;g.points=void 0;g.rootNode=void 0;g.tree=void 0;g.level=void 0;return g}
|
|
39
|
-
y.y
|
|
40
|
-
function(a,b,c){var g=[],
|
|
41
|
-
|
|
42
|
-
c.layoutAlgorithm),
|
|
43
|
-
|
|
44
|
-
(c=
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
!0,{trigger:"traverseUpButton"})};
|
|
48
|
-
delete c[b])});return b};
|
|
49
|
-
|
|
50
|
-
g.eventsToUnbind.push(
|
|
51
|
-
this.mapOptionsToLevel:{},g=a&&c[a.node.level]||{};c=this.options;var
|
|
52
|
-
(
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
(c
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
l.
|
|
75
|
-
|
|
76
|
-
l
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
9
|
+
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/sunburst",["highcharts"],function(u){a(u);a.Highcharts=u;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function u(a,d,e,h){a.hasOwnProperty(d)||(a[d]=h.apply(null,e),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:d,module:a[d]}})))}a=a?a._modules:{};u(a,
|
|
10
|
+
"Series/ColorMapComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,d){var e=a.seriesTypes.column.prototype,h=d.addEvent,p=d.defined,n;(function(a){function f(b){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:b&&"hover"===b.state?1:0})}var d=[];a.pointMembers={dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value&&(void 0===this.value||!isNaN(this.value))}};a.seriesMembers=
|
|
11
|
+
{colorKey:"value",axisTypes:["xAxis","yAxis","colorAxis"],parallelArrays:["x","y","value"],pointArrayMap:["value"],trackerGroups:["group","markerGroup","dataLabelsGroup"],colorAttribs:function(b){var c={};!p(b.color)||b.state&&"normal"!==b.state||(c[this.colorProp||"fill"]=b.color);return c},pointAttribs:e.pointAttribs};a.compose=function(b){var c=b.prototype.pointClass;-1===d.indexOf(c)&&(d.push(c),h(c,"afterSetState",f));return b}})(n||(n={}));return n});u(a,"Series/Treemap/TreemapAlgorithmGroup.js",
|
|
12
|
+
[],function(){return function(){function a(a,e,h,p){this.height=a;this.width=e;this.plot=p;this.startDirection=this.direction=h;this.lH=this.nH=this.lW=this.nW=this.total=0;this.elArr=[];this.lP={total:0,lH:0,nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(a,d){return Math.max(a/d,d/a)}}}a.prototype.addElement=function(a){this.lP.total=this.elArr[this.elArr.length-1];this.total+=a;0===this.direction?(this.lW=this.nW,this.lP.lH=this.lP.total/this.lW,this.lP.lR=this.lP.aspectRatio(this.lW,this.lP.lH),
|
|
13
|
+
this.nW=this.total/this.height,this.lP.nH=this.lP.total/this.nW,this.lP.nR=this.lP.aspectRatio(this.nW,this.lP.nH)):(this.lH=this.nH,this.lP.lW=this.lP.total/this.lH,this.lP.lR=this.lP.aspectRatio(this.lP.lW,this.lH),this.nH=this.total/this.width,this.lP.nW=this.lP.total/this.nH,this.lP.nR=this.lP.aspectRatio(this.lP.nW,this.nH));this.elArr.push(a)};a.prototype.reset=function(){this.lW=this.nW=0;this.elArr=[];this.total=0};return a}()});u(a,"Series/DrawPointUtilities.js",[a["Core/Utilities.js"]],
|
|
14
|
+
function(a){return{draw:function(a,e){var h=e.animatableAttribs,d=e.onComplete,n=e.css,k=e.renderer,f=a.series&&a.series.chart.hasRendered?void 0:a.series&&a.series.options.animation,m=a.graphic;e.attribs=e.attribs||{};e.attribs["class"]=a.getClassName();if(a.shouldDraw())m||(a.graphic=m="text"===e.shapeType?k.text():k[e.shapeType](e.shapeArgs||{}),m.add(e.group)),n&&m.css(n),m.attr(e.attribs).animate(h,e.isNew?!1:f,d);else if(m){var b=function(){a.graphic=m=m&&m.destroy();"function"===typeof d&&
|
|
15
|
+
d()};Object.keys(h).length?m.animate(h,void 0,function(){return b()}):b()}}}});u(a,"Series/Treemap/TreemapPoint.js",[a["Series/DrawPointUtilities.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,d,e){var h=this&&this.__extends||function(){var b=function(a,f){b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c])};return b(a,f)};return function(a,f){function c(){this.constructor=
|
|
16
|
+
a}b(a,f);a.prototype=null===f?Object.create(f):(c.prototype=f.prototype,new c)}}(),p=d.series.prototype.pointClass,n=d.seriesTypes;d=n.pie.prototype.pointClass;var k=e.extend,f=e.isNumber,m=e.pick;e=function(b){function c(){var a=null!==b&&b.apply(this,arguments)||this;a.name=void 0;a.node=void 0;a.options=void 0;a.series=void 0;a.shapeType="rect";a.value=void 0;return a}h(c,b);c.prototype.draw=function(b){a.draw(this,b)};c.prototype.getClassName=function(){var a=p.prototype.getClassName.call(this),
|
|
17
|
+
b=this.series,c=b.options;this.node.level<=b.nodeMap[b.rootNode].level?a+=" highcharts-above-level":this.node.isLeaf||m(c.interactByLeaf,!c.allowTraversingTree)?this.node.isLeaf||(a+=" highcharts-internal-node"):a+=" highcharts-internal-node-interactive";return a};c.prototype.isValid=function(){return!(!this.id&&!f(this.value))};c.prototype.setState=function(a){p.prototype.setState.call(this,a);this.graphic&&this.graphic.attr({zIndex:"hover"===a?1:0})};c.prototype.shouldDraw=function(){return f(this.plotY)&&
|
|
18
|
+
null!==this.y};return c}(n.scatter.prototype.pointClass);k(e.prototype,{setVisible:d.prototype.setVisible});return e});u(a,"Series/Treemap/TreemapUtilities.js",[a["Core/Utilities.js"]],function(a){var d=a.objectEach,e;(function(a){function e(a,k,f){void 0===f&&(f=this);a=k.call(f,a);!1!==a&&e(a,k,f)}a.AXIS_MAX=100;a.isBoolean=function(a){return"boolean"===typeof a};a.eachObject=function(a,e,f){f=f||this;d(a,function(d,b){e.call(f,d,b,a)})};a.recursive=e})(e||(e={}));return e});u(a,"Series/TreeUtilities.js",
|
|
19
|
+
[a["Core/Color/Color.js"],a["Core/Utilities.js"]],function(a,d){function e(a,c){var b=c.before,f=c.idRoot,d=c.mapIdToNode[f],q=c.points[a.i],z=q&&q.options||{},w=[],B=0;a.levelDynamic=a.level-(!1!==c.levelIsConstant?0:d.level);a.name=m(q&&q.name,"");a.visible=f===a.id||!0===c.visible;"function"===typeof b&&(a=b(a,c));a.children.forEach(function(b,q){var f=h({},c);h(f,{index:q,siblings:a.children.length,visible:a.visible});b=e(b,f);w.push(b);b.visible&&(B+=b.val)});b=m(z.value,B);a.visible=0<=b&&(0<
|
|
20
|
+
B||a.visible);a.children=w;a.childrenTotal=B;a.isLeaf=a.visible&&!B;a.val=b;return a}var h=d.extend,p=d.isArray,n=d.isNumber,k=d.isObject,f=d.merge,m=d.pick;return{getColor:function(b,c){var f=c.index,e=c.mapOptionsToLevel,d=c.parentColor,q=c.parentColorIndex,z=c.series,w=c.colors,B=c.siblings,k=z.points,h=z.chart.options.chart,n;if(b){k=k[b.i];b=e[b.level]||{};if(e=k&&b.colorByPoint){var p=k.index%(w?w.length:h.colorCount);var x=w&&w[p]}if(!z.chart.styledMode){w=k&&k.options.color;h=b&&b.color;if(n=
|
|
21
|
+
d)n=(n=b&&b.colorVariation)&&"brightness"===n.key&&f&&B?a.parse(d).brighten(f/B*n.to).get():d;n=m(w,h,x,n,z.color)}var D=m(k&&k.options.colorIndex,b&&b.colorIndex,p,q,c.colorIndex)}return{color:n,colorIndex:D}},getLevelOptions:function(a){var b={};if(k(a)){var e=n(a.from)?a.from:1;var d=a.levels;var h={};var q=k(a.defaults)?a.defaults:{};p(d)&&(h=d.reduce(function(a,b){if(k(b)&&n(b.level)){var c=f({},b);var d=m(c.levelIsConstant,q.levelIsConstant);delete c.levelIsConstant;delete c.level;b=b.level+
|
|
22
|
+
(d?0:e-1);k(a[b])?f(!0,a[b],c):a[b]=c}return a},{}));d=n(a.to)?a.to:1;for(a=0;a<=d;a++)b[a]=f({},q,k(h[a])?h[a]:{})}return b},setTreeValues:e,updateRootId:function(a){if(k(a)){var b=k(a.options)?a.options:{};b=m(a.rootNode,b.rootId,"");k(a.userOptions)&&(a.userOptions.rootId=b);a.rootNode=b}return b}}});u(a,"Extensions/Breadcrumbs.js",[a["Core/Chart/Chart.js"],a["Core/Defaults.js"],a["Core/Globals.js"],a["Core/Utilities.js"],a["Core/FormatUtilities.js"]],function(a,d,e,h,p){var n=p.format;p=h.addEvent;
|
|
23
|
+
var k=h.objectEach,f=h.extend,m=h.fireEvent,b=h.merge,c=h.pick,x=h.defined,S=h.isString;f(d.defaultOptions.lang,{mainBreadcrumb:"Main"});d=function(){function a(c,f){this.group=void 0;this.list=[];this.elementList={};this.isDirty=!0;this.level=0;this.options=void 0;f=b(c.options.drilldown&&c.options.drilldown.drillUpButton,a.defaultBreadcrumbsOptions,c.options.navigation&&c.options.navigation.breadcrumbs,f);this.chart=c;this.options=f||{}}a.prototype.updateProperties=function(a){this.setList(a);this.setLevel();
|
|
24
|
+
this.isDirty=!0};a.prototype.setList=function(a){this.list=a};a.prototype.setLevel=function(){this.level=this.list.length&&this.list.length-1};a.prototype.getLevel=function(){return this.level};a.prototype.getButtonText=function(a){var b=this.chart,f=this.options,d=b.options.lang,e=c(f.format,f.showFullPath?"{level.name}":"\u2190 {level.name}");d=d&&c(d.drillUpText,d.mainBreadcrumb);a=f.formatter&&f.formatter(a)||n(e,{level:a.levelOptions},b)||"";(S(a)&&!a.length||"\u2190 "===a)&&x(d)&&(a=f.showFullPath?
|
|
25
|
+
d:"\u2190 "+d);return a};a.prototype.redraw=function(){this.isDirty&&this.render();this.group&&this.group.align();this.isDirty=!1};a.prototype.render=function(){var a=this.chart,b=this.options;!this.group&&b&&(this.group=a.renderer.g("breadcrumbs-group").addClass("highcharts-no-tooltip highcharts-breadcrumbs").attr({zIndex:b.zIndex}).add());b.showFullPath?this.renderFullPathButtons():this.renderSingleButton();this.alignBreadcrumbsGroup()};a.prototype.renderFullPathButtons=function(){this.destroySingleButton();
|
|
26
|
+
this.resetElementListState();this.updateListElements();this.destroyListElements()};a.prototype.renderSingleButton=function(){var a=this.chart,b=this.list,c=this.options.buttonSpacing;this.destroyListElements();var f=this.group?this.group.getBBox().width:c;b=b[b.length-2];!a.drillUpButton&&0<this.level?a.drillUpButton=this.renderButton(b,f,c):a.drillUpButton&&(0<this.level?this.updateSingleButton():this.destroySingleButton())};a.prototype.alignBreadcrumbsGroup=function(a){if(this.group){var f=this.options,
|
|
27
|
+
d=f.buttonTheme,e=f.position,k="chart"===f.relativeTo||"spacingBox"===f.relativeTo?void 0:"scrollablePlotBox",q=this.group.getBBox();f=2*(d.padding||0)+f.buttonSpacing;e.width=q.width+f;e.height=q.height+f;q=b(e);a&&(q.x+=a);this.options.rtl&&(q.x+=e.width);q.y=c(q.y,this.yOffset,0);this.group.align(q,!0,k)}};a.prototype.renderButton=function(a,c,f){var d=this,e=this.chart,q=d.options,k=b(q.buttonTheme);c=e.renderer.button(d.getButtonText(a),c,f,function(b){var c=q.events&&q.events.click,f;c&&(f=
|
|
28
|
+
c.call(d,b,a));!1!==f&&(b.newLevel=q.showFullPath?a.level:d.level-1,m(d,"up",b))},k).addClass("highcharts-breadcrumbs-button").add(d.group);e.styledMode||c.attr(q.style);return c};a.prototype.renderSeparator=function(a,b){var c=this.chart,f=this.options.separator;a=c.renderer.label(f.text,a,b,void 0,void 0,void 0,!1).addClass("highcharts-breadcrumbs-separator").add(this.group);c.styledMode||a.css(f.style);return a};a.prototype.update=function(a){b(!0,this.options,a);this.destroy();this.isDirty=!0};
|
|
29
|
+
a.prototype.updateSingleButton=function(){var a=this.chart,b=this.list[this.level-1];a.drillUpButton&&a.drillUpButton.attr({text:this.getButtonText(b)})};a.prototype.destroy=function(){this.destroySingleButton();this.destroyListElements(!0);this.group&&this.group.destroy();this.group=void 0};a.prototype.destroyListElements=function(a){var b=this.elementList;k(b,function(c,f){if(a||!b[f].updated)c=b[f],c.button&&c.button.destroy(),c.separator&&c.separator.destroy(),delete c.button,delete c.separator,
|
|
30
|
+
delete b[f]});a&&(this.elementList={})};a.prototype.destroySingleButton=function(){this.chart.drillUpButton&&(this.chart.drillUpButton.destroy(),this.chart.drillUpButton=void 0)};a.prototype.resetElementListState=function(){k(this.elementList,function(a){a.updated=!1})};a.prototype.updateListElements=function(){var a=this,b=a.elementList,c=a.options.buttonSpacing,f=a.list,d=a.options.rtl,e=d?-1:1,k=function(a,b){return e*a.getBBox().width+e*b},h=a.group?k(a.group,c):c,n;f.forEach(function(q,m){m=
|
|
31
|
+
m===f.length-1;if(b[q.level]){n=b[q.level];var p=n.button;if(n.separator||m)n.separator&&m&&(n.separator.destroy(),delete n.separator);else{h+=e*c;n.separator=a.renderSeparator(h,c);if(d){var x=n.separator;x.translate(h-x.getBBox().width,c)}h+=k(n.separator,c)}b[q.level].updated=!0}else p=a.renderButton(q,h,c),d&&p.translate(h-p.getBBox().width,c),h+=k(p,c),m||(x=a.renderSeparator(h,c),d&&x.translate(h-x.getBBox().width,c),h+=k(x,c)),b[q.level]={button:p,separator:x,updated:!0};p&&p.setState(m?2:
|
|
32
|
+
0)})};a.defaultBreadcrumbsOptions={buttonTheme:{fill:"none",height:18,padding:2,"stroke-width":0,zIndex:7,states:{select:{fill:"none"}},style:{color:"#335cad"}},buttonSpacing:5,floating:!1,format:void 0,relativeTo:"plotBox",rtl:!1,position:{align:"left",verticalAlign:"top",x:0,y:void 0},separator:{text:"/",style:{color:"#666666"}},showFullPath:!0,style:{},useHTML:!1,zIndex:7};return a}();e.Breadcrumbs||(e.Breadcrumbs=d,p(a,"getMargins",function(){var a=this.breadcrumbs;if(a&&!a.options.floating&&
|
|
33
|
+
a.level){var b=a.options,c=b.buttonTheme;c=(c.height||0)+2*(c.padding||0)+b.buttonSpacing;b=b.position.verticalAlign;"bottom"===b?(this.marginBottom=(this.marginBottom||0)+c,a.yOffset=c):"middle"!==b?(this.plotTop+=c,a.yOffset=-c):a.yOffset=void 0}}),p(a,"redraw",function(){this.breadcrumbs&&this.breadcrumbs.redraw()}),p(a,"destroy",function(){this.breadcrumbs&&(this.breadcrumbs.destroy(),this.breadcrumbs=void 0)}),p(a,"afterShowResetZoom",function(){if(this.breadcrumbs){var a=this.resetZoomButton&&
|
|
34
|
+
this.resetZoomButton.getBBox(),b=this.breadcrumbs.options;a&&"right"===b.position.align&&"plotBox"===b.relativeTo&&this.breadcrumbs.alignBreadcrumbsGroup(-a.width-b.buttonSpacing)}}),p(a,"selection",function(a){!0===a.resetSelection&&this.breadcrumbs&&this.breadcrumbs.alignBreadcrumbsGroup()}));"";return d});u(a,"Series/Treemap/TreemapComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Series/Treemap/TreemapUtilities.js"],a["Core/Utilities.js"]],function(a,d,e){var h=e.addEvent,p=e.extend,n=!1;
|
|
35
|
+
h(a.series,"afterBindAxes",function(){var a=this.xAxis,f=this.yAxis;if(a&&f)if(this.is("treemap")){var e={endOnTick:!1,gridLineWidth:0,lineWidth:0,min:0,minPadding:0,max:d.AXIS_MAX,maxPadding:0,startOnTick:!1,title:void 0,tickPositions:[]};p(f.options,e);p(a.options,e);n=!0}else n&&(f.setOptions(f.userOptions),a.setOptions(a.userOptions),n=!1)})});u(a,"Series/Treemap/TreemapNode.js",[],function(){return function(){function a(){this.childrenTotal=0;this.visible=!1}a.prototype.init=function(a,e,h,p,
|
|
36
|
+
n,k,f){this.id=a;this.i=e;this.children=h;this.height=p;this.level=n;this.series=k;this.parent=f;return this};return a}()});u(a,"Series/Treemap/TreemapSeries.js",[a["Core/Color/Color.js"],a["Series/ColorMapComposition.js"],a["Core/Globals.js"],a["Core/Legend/LegendSymbol.js"],a["Core/Series/SeriesRegistry.js"],a["Series/Treemap/TreemapAlgorithmGroup.js"],a["Series/Treemap/TreemapPoint.js"],a["Series/Treemap/TreemapUtilities.js"],a["Series/TreeUtilities.js"],a["Extensions/Breadcrumbs.js"],a["Core/Utilities.js"],
|
|
37
|
+
a["Series/Treemap/TreemapNode.js"]],function(a,d,e,h,p,n,k,f,m,b,c,u){var x=this&&this.__extends||function(){var a=function(b,g){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,g){a.__proto__=g}||function(a,g){for(var b in g)g.hasOwnProperty(b)&&(a[b]=g[b])};return a(b,g)};return function(b,g){function t(){this.constructor=b}a(b,g);b.prototype=null===g?Object.create(g):(t.prototype=g.prototype,new t)}}(),O=a.parse;a=e.noop;var q=p.series;e=p.seriesTypes;var z=e.column,w=e.heatmap,
|
|
38
|
+
B=e.scatter,I=m.getColor,M=m.getLevelOptions,L=m.updateRootId,C=c.addEvent,G=c.correctFloat,D=c.defined,J=c.error,K=c.extend,N=c.fireEvent,Q=c.isArray,T=c.isObject,l=c.isString,E=c.merge,A=c.pick,U=c.stableSort;m=function(a){function c(){var g=null!==a&&a.apply(this,arguments)||this;g.axisRatio=void 0;g.data=void 0;g.mapOptionsToLevel=void 0;g.nodeMap=void 0;g.nodeList=void 0;g.options=void 0;g.points=void 0;g.rootNode=void 0;g.tree=void 0;g.level=void 0;return g}x(c,a);c.prototype.algorithmCalcPoints=
|
|
39
|
+
function(a,c,b,f){var g,t,r,d,e=b.lW,l=b.lH,y=b.plot,k=0,h=b.elArr.length-1;if(c)e=b.nW,l=b.nH;else var n=b.elArr[b.elArr.length-1];b.elArr.forEach(function(a){if(c||k<h)0===b.direction?(g=y.x,t=y.y,r=e,d=a/r):(g=y.x,t=y.y,d=l,r=a/d),f.push({x:g,y:t,width:r,height:G(d)}),0===b.direction?y.y+=d:y.x+=r;k+=1});b.reset();0===b.direction?b.width-=e:b.height-=l;y.y=y.parent.y+(y.parent.height-b.height);y.x=y.parent.x+(y.parent.width-b.width);a&&(b.direction=1-b.direction);c||b.addElement(n)};c.prototype.algorithmFill=
|
|
40
|
+
function(a,b,c){var g=[],t,f=b.direction,r=b.x,d=b.y,e=b.width,l=b.height,k,h,n,p;c.forEach(function(c){t=c.val/b.val*b.height*b.width;k=r;h=d;0===f?(p=l,n=t/p,e-=n,r+=n):(n=e,p=t/n,l-=p,d+=p);g.push({x:k,y:h,width:n,height:p});a&&(f=1-f)});return g};c.prototype.algorithmLowAspectRatio=function(a,b,c){var g=[],t=this,f,r={x:b.x,y:b.y,parent:b},d=0,e=c.length-1,l=new n(b.height,b.width,b.direction,r);c.forEach(function(c){f=c.val/b.val*b.height*b.width;l.addElement(f);l.lP.nR>l.lP.lR&&t.algorithmCalcPoints(a,
|
|
41
|
+
!1,l,g,r);d===e&&t.algorithmCalcPoints(a,!0,l,g,r);d+=1});return g};c.prototype.alignDataLabel=function(a,b,c){var g=c.style;g&&!D(g.textOverflow)&&b.text&&b.getBBox().width>b.text.textWidth&&b.css({textOverflow:"ellipsis",width:g.width+="px"});z.prototype.alignDataLabel.apply(this,arguments);a.dataLabel&&a.dataLabel.attr({zIndex:(a.node.zIndex||0)+1})};c.prototype.calculateChildrenAreas=function(a,b){var g=this,c=g.options,t=g.mapOptionsToLevel[a.level+1],d=A(g[t&&t.layoutAlgorithm]&&t.layoutAlgorithm,
|
|
42
|
+
c.layoutAlgorithm),l=c.alternateStartingDirection,e=[];a=a.children.filter(function(a){return!a.ignore});t&&t.layoutStartingDirection&&(b.direction="vertical"===t.layoutStartingDirection?0:1);e=g[d](b,a);a.forEach(function(a,c){c=e[c];a.values=E(c,{val:a.childrenTotal,direction:l?1-b.direction:b.direction});a.pointValues=E(c,{x:c.x/g.axisRatio,y:f.AXIS_MAX-c.y-c.height,width:c.width/g.axisRatio});a.children.length&&g.calculateChildrenAreas(a,a.values)})};c.prototype.createList=function(a){var g=this.chart,
|
|
43
|
+
b=[];if(g.breadcrumbs){var c=0;b.push({level:c,levelOptions:g.series[0]});g=a.target.nodeMap[a.newRootId];for(var f=[];g.parent||""===g.parent;)f.push(g),g=a.target.nodeMap[g.parent];f.reverse().forEach(function(a){b.push({level:++c,levelOptions:a})});1>=b.length&&(b.length=0)}return b};c.prototype.drawDataLabels=function(){var a=this,b=a.mapOptionsToLevel,c,f;a.points.filter(function(a){return a.node.visible}).forEach(function(g){f=b[g.node.level];c={style:{}};g.node.isLeaf||(c.enabled=!1);f&&f.dataLabels&&
|
|
44
|
+
(c=E(c,f.dataLabels),a._hasPointLabels=!0);g.shapeArgs&&(c.style.width=g.shapeArgs.width,g.dataLabel&&g.dataLabel.css({width:g.shapeArgs.width+"px"}));g.dlOptions=E(c,g.options.dataLabels)});q.prototype.drawDataLabels.call(this)};c.prototype.drawPoints=function(a){void 0===a&&(a=this.points);var g=this,b=g.chart,c=b.renderer,f=b.styledMode,d=g.options,l=f?{}:d.shadow,e=d.borderRadius,n=b.pointCount<d.animationLimit,k=d.allowTraversingTree;a.forEach(function(a){var b=a.node.levelDynamic,t={},r={},
|
|
45
|
+
R={},h="level-group-"+a.node.level,F=!!a.graphic,V=n&&F,p=a.shapeArgs;a.shouldDraw()&&(a.isInside=!0,e&&(r.r=e),E(!0,V?t:r,F?p:{},f?{}:g.pointAttribs(a,a.selected?"select":void 0)),g.colorAttribs&&f&&K(R,g.colorAttribs(a)),g[h]||(g[h]=c.g(h).attr({zIndex:1E3-(b||0)}).add(g.group),g[h].survive=!0));a.draw({animatableAttribs:t,attribs:r,css:R,group:g[h],renderer:c,shadow:l,shapeArgs:p,shapeType:a.shapeType});k&&a.graphic&&(a.drillId=d.interactByLeaf?g.drillToByLeaf(a):g.drillToByGroup(a))})};c.prototype.drillToByGroup=
|
|
46
|
+
function(a){var g=!1;1!==a.node.level-this.nodeMap[this.rootNode].level||a.node.isLeaf||(g=a.id);return g};c.prototype.drillToByLeaf=function(a){var g=!1;if(a.node.parent!==this.rootNode&&a.node.isLeaf)for(a=a.node;!g;)a=this.nodeMap[a.parent],a.parent===this.rootNode&&(g=a.id);return g};c.prototype.drillToNode=function(a,b){J(32,!1,void 0,{"treemap.drillToNode":"use treemap.setRootNode"});this.setRootNode(a,b)};c.prototype.drillUp=function(){var a=this.nodeMap[this.rootNode];a&&l(a.parent)&&this.setRootNode(a.parent,
|
|
47
|
+
!0,{trigger:"traverseUpButton"})};c.prototype.getExtremes=function(){var a=q.prototype.getExtremes.call(this,this.colorValueData),b=a.dataMax;this.valueMin=a.dataMin;this.valueMax=b;return q.prototype.getExtremes.call(this)};c.prototype.getListOfParents=function(a,b){a=Q(a)?a:[];var g=Q(b)?b:[];b=a.reduce(function(a,b,g){b=A(b.parent,"");"undefined"===typeof a[b]&&(a[b]=[]);a[b].push(g);return a},{"":[]});f.eachObject(b,function(a,b,c){""!==b&&-1===g.indexOf(b)&&(a.forEach(function(a){c[""].push(a)}),
|
|
48
|
+
delete c[b])});return b};c.prototype.getTree=function(){var a=this.data.map(function(a){return a.id});a=this.getListOfParents(this.data,a);this.nodeMap={};this.nodeList=[];return this.buildTree("",-1,0,a)};c.prototype.buildTree=function(a,b,c,f,d){var g=this,l=[],e=g.points[b],t=0,r;(f[a]||[]).forEach(function(b){r=g.buildTree(g.points[b].id,b,c+1,f,a);t=Math.max(r.height+1,t);l.push(r)});var h=(new g.NodeClass).init(a,b,l,t,c,g,d);l.forEach(function(a){a.parentNode=h});g.nodeMap[h.id]=h;g.nodeList.push(h);
|
|
49
|
+
e&&(e.node=h,h.point=e);return h};c.prototype.hasData=function(){return!!this.processedXData.length};c.prototype.init=function(a,c){var g=this,f=E(c.drillUpButton,c.breadcrumbs);var d=C(g,"setOptions",function(a){a=a.userOptions;D(a.allowDrillToNode)&&!D(a.allowTraversingTree)&&(a.allowTraversingTree=a.allowDrillToNode,delete a.allowDrillToNode);D(a.drillUpButton)&&!D(a.traverseUpButton)&&(a.traverseUpButton=a.drillUpButton,delete a.drillUpButton)});q.prototype.init.call(g,a,c);delete g.opacity;g.eventsToUnbind.push(d);
|
|
50
|
+
g.options.allowTraversingTree&&(g.eventsToUnbind.push(C(g,"click",g.onClickDrillToNode)),g.eventsToUnbind.push(C(g,"setRootNode",function(a){var b=g.chart;b.breadcrumbs&&b.breadcrumbs.updateProperties(g.createList(a))})),g.eventsToUnbind.push(C(g,"update",function(a,b){(b=this.chart.breadcrumbs)&&a.options.breadcrumbs&&b.update(a.options.breadcrumbs)})),g.eventsToUnbind.push(C(g,"destroy",function(a){var b=this.chart;b.breadcrumbs&&(b.breadcrumbs.destroy(),a.keepEventsForUpdate||(b.breadcrumbs=void 0))})));
|
|
51
|
+
a.breadcrumbs||(a.breadcrumbs=new b(a,f));g.eventsToUnbind.push(C(a.breadcrumbs,"up",function(a){a=this.level-a.newLevel;for(var b=0;b<a;b++)g.drillUp()}))};c.prototype.onClickDrillToNode=function(a){var b=(a=a.point)&&a.drillId;l(b)&&(a.setState(""),this.setRootNode(b,!0,{trigger:"click"}))};c.prototype.pointAttribs=function(a,b){var c=T(this.mapOptionsToLevel)?this.mapOptionsToLevel:{},g=a&&c[a.node.level]||{};c=this.options;var f=b&&c.states&&c.states[b]||{},d=a&&a.getClassName()||"";a={stroke:a&&
|
|
52
|
+
a.borderColor||g.borderColor||f.borderColor||c.borderColor,"stroke-width":A(a&&a.borderWidth,g.borderWidth,f.borderWidth,c.borderWidth),dashstyle:a&&a.borderDashStyle||g.borderDashStyle||f.borderDashStyle||c.borderDashStyle,fill:a&&a.color||this.color};-1!==d.indexOf("highcharts-above-level")?(a.fill="none",a["stroke-width"]=0):-1!==d.indexOf("highcharts-internal-node-interactive")?(b=A(f.opacity,c.opacity),a.fill=O(a.fill).setOpacity(b).get(),a.cursor="pointer"):-1!==d.indexOf("highcharts-internal-node")?
|
|
53
|
+
a.fill="none":b&&(a.fill=O(a.fill).brighten(f.brightness).get());return a};c.prototype.setColorRecursive=function(a,b,c,f,d){var g=this,l=g&&g.chart;l=l&&l.options&&l.options.colors;if(a){var e=I(a,{colors:l,index:f,mapOptionsToLevel:g.mapOptionsToLevel,parentColor:b,parentColorIndex:c,series:g,siblings:d});if(b=g.points[a.i])b.color=e.color,b.colorIndex=e.colorIndex;(a.children||[]).forEach(function(b,c){g.setColorRecursive(b,e.color,e.colorIndex,c,a.children.length)})}};c.prototype.setPointValues=
|
|
54
|
+
function(){var a=this,b=a.xAxis,c=a.yAxis,f=a.chart.styledMode;a.points.forEach(function(g){var d=g.node,l=d.pointValues;d=d.visible;if(l&&d){d=l.height;var e=l.width,h=l.x,n=l.y,k=f?0:(a.pointAttribs(g)["stroke-width"]||0)%2/2;l=Math.round(b.toPixels(h,!0))-k;e=Math.round(b.toPixels(h+e,!0))-k;h=Math.round(c.toPixels(n,!0))-k;d=Math.round(c.toPixels(n+d,!0))-k;d={x:Math.min(l,e),y:Math.min(h,d),width:Math.abs(e-l),height:Math.abs(d-h)};g.plotX=d.x+d.width/2;g.plotY=d.y+d.height/2;g.shapeArgs=d}else delete g.plotX,
|
|
55
|
+
delete g.plotY})};c.prototype.setRootNode=function(a,b,c){a=K({newRootId:a,previousRootId:this.rootNode,redraw:A(b,!0),series:this},c);N(this,"setRootNode",a,function(a){var b=a.series;b.idPreviousRoot=a.previousRootId;b.rootNode=a.newRootId;b.isDirty=!0;a.redraw&&b.chart.redraw()})};c.prototype.setState=function(a){this.options.inactiveOtherPoints=!0;q.prototype.setState.call(this,a,!1);this.options.inactiveOtherPoints=!1};c.prototype.setTreeValues=function(a){var b=this,c=b.options,g=b.nodeMap[b.rootNode];
|
|
56
|
+
c=f.isBoolean(c.levelIsConstant)?c.levelIsConstant:!0;var d=0,l=[],e=b.points[a.i];a.children.forEach(function(a){a=b.setTreeValues(a);l.push(a);a.ignore||(d+=a.val)});U(l,function(a,b){return(a.sortIndex||0)-(b.sortIndex||0)});var h=A(e&&e.options.value,d);e&&(e.value=h);K(a,{children:l,childrenTotal:d,ignore:!(A(e&&e.visible,!0)&&0<h),isLeaf:a.visible&&!d,levelDynamic:a.level-(c?0:g.level),name:A(e&&e.name,""),sortIndex:A(e&&e.sortIndex,-h),val:h});return a};c.prototype.sliceAndDice=function(a,
|
|
57
|
+
b){return this.algorithmFill(!0,a,b)};c.prototype.squarified=function(a,b){return this.algorithmLowAspectRatio(!0,a,b)};c.prototype.strip=function(a,b){return this.algorithmLowAspectRatio(!1,a,b)};c.prototype.stripes=function(a,b){return this.algorithmFill(!1,a,b)};c.prototype.translate=function(){var a=this,b=a.options,c=L(a);q.prototype.translate.call(a);var d=a.tree=a.getTree();var e=a.nodeMap[c];""===c||e&&e.children.length||(a.setRootNode("",!1),c=a.rootNode,e=a.nodeMap[c]);a.mapOptionsToLevel=
|
|
58
|
+
M({from:e.level+1,levels:b.levels,to:d.height,defaults:{levelIsConstant:a.options.levelIsConstant,colorByPoint:b.colorByPoint}});f.recursive(a.nodeMap[a.rootNode],function(b){var c=!1,g=b.parent;b.visible=!0;if(g||""===g)c=a.nodeMap[g];return c});f.recursive(a.nodeMap[a.rootNode].children,function(a){var b=!1;a.forEach(function(a){a.visible=!0;a.children.length&&(b=(b||[]).concat(a.children))});return b});a.setTreeValues(d);a.axisRatio=a.xAxis.len/a.yAxis.len;a.nodeMap[""].pointValues=c={x:0,y:0,
|
|
59
|
+
width:f.AXIS_MAX,height:f.AXIS_MAX};a.nodeMap[""].values=c=E(c,{width:c.width*a.axisRatio,direction:"vertical"===b.layoutStartingDirection?0:1,val:d.val});a.calculateChildrenAreas(d,c);a.colorAxis||b.colorByPoint||a.setColorRecursive(a.tree);b.allowTraversingTree&&(b=e.pointValues,a.xAxis.setExtremes(b.x,b.x+b.width,!1),a.yAxis.setExtremes(b.y,b.y+b.height,!1),a.xAxis.setScale(),a.yAxis.setScale());a.setPointValues()};c.defaultOptions=E(B.defaultOptions,{allowTraversingTree:!1,animationLimit:250,
|
|
60
|
+
borderRadius:0,showInLegend:!1,marker:void 0,colorByPoint:!1,dataLabels:{defer:!1,enabled:!0,formatter:function(){var a=this&&this.point?this.point:{};return l(a.name)?a.name:""},inside:!0,verticalAlign:"middle"},tooltip:{headerFormat:"",pointFormat:"<b>{point.name}</b>: {point.value}<br/>"},ignoreHiddenPoint:!0,layoutAlgorithm:"sliceAndDice",layoutStartingDirection:"vertical",alternateStartingDirection:!1,levelIsConstant:!0,traverseUpButton:{position:{align:"right",x:-10,y:10}},borderColor:"#e6e6e6",
|
|
61
|
+
borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:w?0:.1,halo:!1,opacity:.75,shadow:!1}}});return c}(B);K(m.prototype,{buildKDTree:a,colorAttribs:d.seriesMembers.colorAttribs,colorKey:"colorValue",directTouch:!0,drawLegendSymbol:h.drawRectangle,getExtremesFromAll:!0,getSymbol:a,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value"],pointClass:k,NodeClass:u,trackerGroups:["group","dataLabelsGroup"],utils:{recursive:f.recursive}});
|
|
62
|
+
d.compose(m);p.registerSeriesType("treemap",m);"";return m});u(a,"Series/Sunburst/SunburstPoint.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,d){var e=this&&this.__extends||function(){var a=function(d,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])};return a(d,f)};return function(d,f){function e(){this.constructor=d}a(d,f);d.prototype=null===f?Object.create(f):(e.prototype=
|
|
63
|
+
f.prototype,new e)}}(),h=a.series.prototype.pointClass,p=d.correctFloat;d=d.extend;a=function(a){function d(){var d=null!==a&&a.apply(this,arguments)||this;d.node=void 0;d.options=void 0;d.series=void 0;d.shapeExisting=void 0;d.shapeType=void 0;return d}e(d,a);d.prototype.getDataLabelPath=function(a){var d=this.series.chart.renderer,b=this.shapeExisting,c=b.start,f=b.end,e=c+(f-c)/2;e=0>e&&e>-Math.PI||e>Math.PI;a=b.r+(a.options.distance||0);c===-Math.PI/2&&p(f)===p(1.5*Math.PI)&&(c=-Math.PI+Math.PI/
|
|
64
|
+
360,f=-Math.PI/360,e=!0);if(f-c>Math.PI){e=!1;var h=!0}this.dataLabelPath&&(this.dataLabelPath=this.dataLabelPath.destroy());return this.dataLabelPath=d.arc({open:!0,longArc:h?1:0}).attr({start:e?c:f,end:e?f:c,clockwise:+e,x:b.x,y:b.y,r:(a+b.innerR)/2}).add(d.defs)};d.prototype.isValid=function(){return!0};return d}(a.seriesTypes.treemap.prototype.pointClass);d(a.prototype,{getClassName:h.prototype.getClassName,haloPath:h.prototype.haloPath,setState:h.prototype.setState});return a});u(a,"Series/Sunburst/SunburstUtilities.js",
|
|
65
|
+
[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,d){var e=a.seriesTypes.treemap,h=d.isNumber,p=d.isObject,n=d.merge,k;(function(a){function d(a,c){var b=[];if(h(a)&&h(c)&&a<=c)for(;a<=c;a++)b.push(a);return b}a.recursive=e.prototype.utils.recursive;a.calculateLevelSizes=function(a,c){c=p(c)?c:{};var b=0,e;if(p(a)){var f=n({},a);a=h(c.from)?c.from:0;var k=h(c.to)?c.to:0;var m=d(a,k);a=Object.keys(f).filter(function(a){return-1===m.indexOf(+a)});var u=e=h(c.diffRadius)?c.diffRadius:
|
|
66
|
+
0;m.forEach(function(a){a=f[a];var c=a.levelSize.unit,d=a.levelSize.value;"weight"===c?b+=d:"percentage"===c?(a.levelSize={unit:"pixels",value:d/100*u},e-=a.levelSize.value):"pixels"===c&&(e-=d)});m.forEach(function(a){var c=f[a];"weight"===c.levelSize.unit&&(c=c.levelSize.value,f[a].levelSize={unit:"pixels",value:c/b*e})});a.forEach(function(a){f[a].levelSize={value:0,unit:"pixels"}})}return f};a.getLevelFromAndTo=function(a){var b=a.level;return{from:0<b?b:1,to:b+a.height}};a.range=d})(k||(k={}));
|
|
67
|
+
return k});u(a,"Series/Sunburst/SunburstNode.js",[a["Series/Treemap/TreemapNode.js"]],function(a){var d=this&&this.__extends||function(){var a=function(d,e){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,d){a.__proto__=d}||function(a,d){for(var e in d)d.hasOwnProperty(e)&&(a[e]=d[e])};return a(d,e)};return function(d,e){function h(){this.constructor=d}a(d,e);d.prototype=null===e?Object.create(e):(h.prototype=e.prototype,new h)}}();return function(a){function e(){return null!==
|
|
68
|
+
a&&a.apply(this,arguments)||this}d(e,a);return e}(a)});u(a,"Series/Sunburst/SunburstSeries.js",[a["Series/CenteredUtilities.js"],a["Core/Globals.js"],a["Core/Series/SeriesRegistry.js"],a["Series/Sunburst/SunburstPoint.js"],a["Series/Sunburst/SunburstUtilities.js"],a["Series/TreeUtilities.js"],a["Core/Utilities.js"],a["Series/Sunburst/SunburstNode.js"]],function(a,d,e,h,p,n,k,f){function m(a,b){var c=b.mapIdToNode,d=a.parent;d=d?c[d]:void 0;var e=b.series,f=e.chart;c=e.points[a.i];d=z(a,{colors:e.options.colors||
|
|
69
|
+
f&&f.options.colors,colorIndex:e.colorIndex,index:b.index,mapOptionsToLevel:b.mapOptionsToLevel,parentColor:d&&d.color,parentColorIndex:d&&d.colorIndex,series:b.series,siblings:b.siblings});a.color=d.color;a.colorIndex=d.colorIndex;c&&(c.color=a.color,c.colorIndex=a.colorIndex,a.sliced=a.id!==b.idRoot?c.sliced:!1);return a}var b=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&
|
|
70
|
+
(a[c]=b[c])};return a(b,c)};return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),c=a.getCenter,u=a.getStartAndEndRadians;a=d.noop;var x=e.series,P=e.seriesTypes;d=P.column;var q=P.treemap,z=n.getColor,w=n.getLevelOptions,B=n.setTreeValues,I=n.updateRootId,M=k.error,L=k.extend,C=k.isNumber,G=k.isObject,D=k.isString,J=k.merge,K=k.splat,N=180/Math.PI;n=function(a){function c(){var b=null!==a&&a.apply(this,arguments)||this;
|
|
71
|
+
b.center=void 0;b.data=void 0;b.mapOptionsToLevel=void 0;b.nodeMap=void 0;b.options=void 0;b.points=void 0;b.shapeRoot=void 0;b.startAndEndRadians=void 0;b.tree=void 0;return b}b(c,a);c.prototype.alignDataLabel=function(b,c,d){if(!d.textPath||!d.textPath.enabled)return a.prototype.alignDataLabel.apply(this,arguments)};c.prototype.animate=function(a){var b=this.chart,c=[b.plotWidth/2,b.plotHeight/2],d=b.plotLeft,e=b.plotTop;b=this.group;a?(a={translateX:c[0]+d,translateY:c[1]+e,scaleX:.001,scaleY:.001,
|
|
72
|
+
rotation:10,opacity:.01},b.attr(a)):(a={translateX:d,translateY:e,scaleX:1,scaleY:1,rotation:0,opacity:1},b.animate(a,this.options.animation))};c.prototype.drawPoints=function(){var a=this,b=a.mapOptionsToLevel,c=a.shapeRoot,d=a.group,e=a.hasRendered,f=a.rootNode,g=a.idPreviousRoot,h=a.nodeMap,k=h[g],n=k&&k.shapeArgs;k=a.points;var p=a.startAndEndRadians,q=a.chart,m=q&&q.options&&q.options.chart||{},u="boolean"===typeof m.animation?m.animation:!0,w=a.center[3]/2,B=a.chart.renderer,z=!1,D=!1;if(m=
|
|
73
|
+
!!(u&&e&&f!==g&&a.dataLabelsGroup)){a.dataLabelsGroup.attr({opacity:0});var I=function(){z=!0;a.dataLabelsGroup&&a.dataLabelsGroup.animate({opacity:1,visibility:"inherit"})}}k.forEach(function(l){var k=l.node,m=b[k.level];var t=l.shapeExisting||{};var r=k.shapeArgs||{},y=!(!k.visible||!k.shapeArgs);if(e&&u){var A={};var E={end:r.end,start:r.start,innerR:r.innerR,r:r.r,x:r.x,y:r.y};y?!l.graphic&&n&&(A=f===l.id?{start:p.start,end:p.end}:n.end<=r.start?{start:p.end,end:p.end}:{start:p.start,end:p.start},
|
|
74
|
+
A.innerR=A.r=w):l.graphic&&(g===l.id?E={innerR:w,r:w}:c&&(E=c.end<=t.start?{innerR:w,r:w,start:p.end,end:p.end}:{innerR:w,r:w,start:p.start,end:p.start}));t=A}else E=r,t={};A=[r.plotX,r.plotY];if(!l.node.isLeaf)if(f===l.id){var v=h[f];v=v.parent}else v=l.id;L(l,{shapeExisting:r,tooltipPos:A,drillId:v,name:""+(l.name||l.id||l.index),plotX:r.plotX,plotY:r.plotY,value:k.val,isInside:y,isNull:!y});v=l.options;k=G(r)?r:{};v=G(v)?v.dataLabels:{};m=K(G(m)?m.dataLabels:{})[0];m=J({style:{}},m,v);v=m.rotationMode;
|
|
75
|
+
if(!C(m.rotation)){if("auto"===v||"circular"===v)if(1>l.innerArcLength&&l.outerArcLength>k.radius){var H=0;l.dataLabelPath&&"circular"===v&&(m.textPath={enabled:!0})}else 1<l.innerArcLength&&l.outerArcLength>1.5*k.radius?"circular"===v?m.textPath={enabled:!0,attributes:{dy:5}}:v="parallel":(l.dataLabel&&l.dataLabel.textPath&&"circular"===v&&(m.textPath={enabled:!1}),v="perpendicular");"auto"!==v&&"circular"!==v&&(H=k.end-(k.end-k.start)/2);m.style.width="parallel"===v?Math.min(2.5*k.radius,(l.outerArcLength+
|
|
76
|
+
l.innerArcLength)/2):k.radius;"perpendicular"===v&&l.series.chart.renderer.fontMetrics(m.style.fontSize).h>l.outerArcLength&&(m.style.width=1);m.style.width=Math.max(m.style.width-2*(m.padding||0),1);H=H*N%180;"parallel"===v&&(H-=90);90<H?H-=180:-90>H&&(H+=180);m.rotation=H}m.textPath&&(0===l.shapeExisting.innerR&&m.textPath.enabled?(m.rotation=0,m.textPath.enabled=!1,m.style.width=Math.max(2*l.shapeExisting.r-2*(m.padding||0),1)):l.dlOptions&&l.dlOptions.textPath&&!l.dlOptions.textPath.enabled&&
|
|
77
|
+
"circular"===v&&(m.textPath.enabled=!0),m.textPath.enabled&&(m.rotation=0,m.style.width=Math.max((l.outerArcLength+l.innerArcLength)/2-2*(m.padding||0),1)));0===m.rotation&&(m.rotation=.001);l.dlOptions=m;if(!D&&y){D=!0;var x=I}l.draw({animatableAttribs:E,attribs:L(t,!q.styledMode&&a.pointAttribs(l,l.selected&&"select")),onComplete:x,group:d,renderer:B,shapeType:"arc",shapeArgs:r})});m&&D?(a.hasRendered=!1,a.options.dataLabels.defer=!0,x.prototype.drawDataLabels.call(a),a.hasRendered=!0,z&&I()):x.prototype.drawDataLabels.call(a)};
|
|
78
|
+
c.prototype.layoutAlgorithm=function(a,b,c){var d=a.start,e=a.end-d,f=a.val,g=a.x,l=a.y,h=c&&G(c.levelSize)&&C(c.levelSize.value)?c.levelSize.value:0,k=a.r,m=k+h,n=c&&C(c.slicedOffset)?c.slicedOffset:0;return(b||[]).reduce(function(a,b){var c=1/f*b.val*e,p=d+c/2,r=g+Math.cos(p)*n;p=l+Math.sin(p)*n;b={x:b.sliced?r:g,y:b.sliced?p:l,innerR:k,r:m,radius:h,start:d,end:d+c};a.push(b);d=b.end;return a},[])};c.prototype.setShapeArgs=function(a,b,c){var d=[],e=c[a.level+1];a=a.children.filter(function(a){return a.visible});
|
|
79
|
+
d=this.layoutAlgorithm(b,a,e);a.forEach(function(a,b){b=d[b];var e=b.start+(b.end-b.start)/2,f=b.innerR+(b.r-b.innerR)/2,g=b.end-b.start;f=0===b.innerR&&6.28<g?{x:b.x,y:b.y}:{x:b.x+Math.cos(e)*f,y:b.y+Math.sin(e)*f};var h=a.val?a.childrenTotal>a.val?a.childrenTotal:a.val:a.childrenTotal;this.points[a.i]&&(this.points[a.i].innerArcLength=g*b.innerR,this.points[a.i].outerArcLength=g*b.r);a.shapeArgs=J(b,{plotX:f.x,plotY:f.y+4*Math.abs(Math.cos(e))});a.values=J(b,{val:h});a.children.length&&this.setShapeArgs(a,
|
|
80
|
+
a.values,c)},this)};c.prototype.translate=function(){var a=this,b=a.options,c=a.center=a.getCenter(),d=a.startAndEndRadians=u(b.startAngle,b.endAngle),e=c[3]/2,f=c[2]/2-e,g=I(a),h=a.nodeMap,k=h&&h[g],n={};a.shapeRoot=k&&k.shapeArgs;x.prototype.translate.call(a);var q=a.tree=a.getTree();h=a.nodeMap;k=h[g];var z=D(k.parent)?k.parent:"";z=h[z];var F=p.getLevelFromAndTo(k);var C=F.from,G=F.to;F=w({from:C,levels:a.options.levels,to:G,defaults:{colorByPoint:b.colorByPoint,dataLabels:b.dataLabels,levelIsConstant:b.levelIsConstant,
|
|
81
|
+
levelSize:b.levelSize,slicedOffset:b.slicedOffset}});F=p.calculateLevelSizes(F,{diffRadius:f,from:C,to:G});B(q,{before:m,idRoot:g,levelIsConstant:b.levelIsConstant,mapOptionsToLevel:F,mapIdToNode:h,points:a.points,series:a});b=h[""].shapeArgs={end:d.end,r:e,start:d.start,val:k.val,x:c[0],y:c[1]};this.setShapeArgs(z,b,F);a.mapOptionsToLevel=F;a.data.forEach(function(b){n[b.id]&&M(31,!1,a.chart);n[b.id]=!0});n={}};c.defaultOptions=J(q.defaultOptions,{center:["50%","50%"],colorByPoint:!1,opacity:1,dataLabels:{allowOverlap:!0,
|
|
82
|
+
defer:!0,rotationMode:"auto",style:{textOverflow:"ellipsis"}},rootId:void 0,levelIsConstant:!0,levelSize:{value:1,unit:"weight"},slicedOffset:10});return c}(q);L(n.prototype,{drawDataLabels:a,getCenter:c,onPointSupported:!0,pointAttribs:d.prototype.pointAttribs,pointClass:h,NodeClass:f,utils:p});e.registerSeriesType("sunburst",n);"";return n});u(a,"masters/modules/sunburst.src.js",[],function(){})});
|
|
81
83
|
//# sourceMappingURL=sunburst.js.map
|