highcharts 9.3.1 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/annotations/popup.css +1 -1
- package/css/highcharts.css +21 -4
- package/css/highcharts.scss +18 -3
- package/css/stocktools/gui.css +1 -1
- package/css/themes/dark-unica.css +21 -4
- package/css/themes/grid-light.css +21 -4
- package/css/themes/sand-signika.css +21 -4
- package/es-modules/Accessibility/A11yI18n.js +1 -5
- package/es-modules/Accessibility/Accessibility.js +12 -6
- package/es-modules/Accessibility/AccessibilityComponent.js +1 -1
- package/es-modules/Accessibility/Components/AnnotationsA11y.js +9 -5
- package/es-modules/Accessibility/Components/ContainerComponent.js +1 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +8 -19
- package/es-modules/Accessibility/Components/LegendComponent.js +196 -98
- package/es-modules/Accessibility/Components/MenuComponent.js +16 -15
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +11 -14
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +22 -12
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +9 -5
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +3 -2
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +19 -44
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +77 -56
- package/es-modules/Accessibility/Components/ZoomComponent.js +148 -67
- package/es-modules/Accessibility/FocusBorder.js +0 -5
- package/es-modules/Accessibility/HighContrastMode.js +4 -3
- package/es-modules/Accessibility/KeyboardNavigation.js +117 -101
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +12 -5
- package/es-modules/Accessibility/Options/LangOptions.js +3 -3
- package/es-modules/Accessibility/ProxyElement.js +26 -12
- package/es-modules/Accessibility/ProxyProvider.js +10 -5
- package/es-modules/Accessibility/Utils/Announcer.js +2 -2
- package/es-modules/Accessibility/Utils/ChartUtilities.js +17 -32
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +0 -12
- package/es-modules/Core/Animation/Fx.js +5 -14
- package/es-modules/Core/Axis/Axis.js +189 -111
- package/es-modules/Core/Axis/Axis3D.js +10 -4
- package/es-modules/Core/Axis/BrokenAxis.js +17 -11
- package/es-modules/Core/Axis/Color/ColorAxis.js +28 -8
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -3
- package/es-modules/Core/Axis/DateTimeAxis.js +3 -14
- package/es-modules/Core/Axis/GridAxis.js +34 -23
- package/es-modules/Core/Axis/NavigatorAxis.js +0 -5
- package/es-modules/Core/Axis/OrdinalAxis.js +83 -79
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +0 -5
- package/es-modules/Core/Axis/RadialAxis.js +7 -28
- package/es-modules/Core/Axis/ScrollbarAxis.js +18 -10
- package/es-modules/Core/Axis/StackingAxis.js +2 -1
- package/es-modules/Core/Axis/Tick.js +2 -4
- package/es-modules/Core/Axis/TreeGridAxis.js +26 -17
- package/es-modules/Core/Axis/TreeGridTick.js +15 -1
- package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
- package/es-modules/Core/Axis/ZAxis.js +1 -1
- package/es-modules/Core/Chart/Chart.js +42 -44
- package/es-modules/Core/Chart/Chart3D.js +24 -21
- package/es-modules/Core/Chart/ChartDefaults.js +32 -11
- package/es-modules/Core/Chart/GanttChart.js +4 -4
- package/es-modules/Core/Chart/MapChart.js +4 -9
- package/es-modules/Core/Chart/StockChart.js +10 -23
- package/es-modules/Core/DefaultOptions.js +5 -2
- package/es-modules/Core/Geometry/CircleUtilities.js +2 -1
- package/es-modules/Core/Geometry/PolygonClip.js +84 -0
- package/es-modules/Core/Globals.js +4 -18
- package/es-modules/Core/HttpUtilities.js +18 -12
- package/es-modules/Core/Legend/Legend.js +22 -21
- package/es-modules/Core/Navigator.js +43 -28
- package/es-modules/Core/Pointer.js +28 -20
- package/es-modules/Core/Renderer/HTML/AST.js +88 -18
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +4 -2
- package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +8 -6
- package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +33 -57
- package/es-modules/Core/Renderer/SVG/SVGElement3D.js +17 -5
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +17 -8
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +21 -28
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +12 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +25 -17
- package/es-modules/Core/Responsive.js +2 -3
- package/es-modules/Core/Scrollbar.js +14 -12
- package/es-modules/Core/Series/DataLabel.js +26 -13
- package/es-modules/Core/Series/Point.js +19 -18
- package/es-modules/Core/Series/Series.js +77 -88
- package/es-modules/Core/Series/SeriesDefaults.js +9 -5
- package/es-modules/Core/Time.js +14 -11
- package/es-modules/Core/Tooltip.js +30 -64
- package/es-modules/Core/Utilities.js +33 -45
- package/es-modules/Data/DataConverter.js +0 -6
- package/es-modules/Data/DataSeriesConverter.js +9 -5
- package/es-modules/Data/DataTable.js +2 -1
- package/es-modules/Data/Modifiers/DataModifier.js +1 -1
- package/es-modules/Data/Parsers/CSVParser.js +3 -2
- package/es-modules/Data/Parsers/GoogleSheetsParser.js +5 -2
- package/es-modules/Data/Stores/CSVStore.js +2 -2
- package/es-modules/Data/Stores/DataStore.js +1 -1
- package/es-modules/Data/Stores/GoogleSheetsStore.js +3 -1
- package/es-modules/Data/Stores/HTMLTableStore.js +3 -1
- package/es-modules/Extensions/Annotations/Annotations.js +18 -10
- package/es-modules/Extensions/Annotations/ControlPoint.js +0 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableCircle.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllableImage.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +3 -6
- package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +3 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableRect.js +1 -1
- package/es-modules/Extensions/Annotations/Mixins/ControllableMixin.js +6 -3
- package/es-modules/Extensions/Annotations/Mixins/EventEmitterMixin.js +0 -1
- package/es-modules/Extensions/Annotations/Mixins/MarkerMixin.js +5 -4
- package/es-modules/Extensions/Annotations/MockPoint.js +1 -1
- package/es-modules/Extensions/Annotations/NavigationBindings.js +34 -29
- package/es-modules/Extensions/Annotations/Popup.js +40 -32
- package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +5 -3
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -2
- package/es-modules/Extensions/Annotations/Types/ElliottWave.js +1 -1
- package/es-modules/Extensions/Annotations/Types/Measure.js +15 -11
- package/es-modules/Extensions/Annotations/Types/Pitchfork.js +2 -1
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +8 -4
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +10 -5
- package/es-modules/Extensions/Boost/BoostInit.js +6 -1
- package/es-modules/Extensions/Boost/BoostOptions.js +26 -0
- package/es-modules/Extensions/Boost/BoostOverrides.js +3 -9
- package/es-modules/Extensions/Boost/BoostUtils.js +0 -6
- package/es-modules/Extensions/Boost/Boostables.js +1 -0
- package/es-modules/Extensions/Boost/WGLRenderer.js +64 -49
- package/es-modules/Extensions/Boost/WGLShader.js +13 -11
- package/es-modules/Extensions/Boost/WGLVBuffer.js +4 -7
- package/es-modules/Extensions/Breadcrumbs.js +874 -0
- package/es-modules/Extensions/Data.js +30 -62
- package/es-modules/Extensions/DataGrouping.js +27 -17
- package/es-modules/Extensions/DraggablePoints.js +16 -15
- package/es-modules/Extensions/Drilldown.js +148 -90
- package/es-modules/Extensions/ExportData.js +6 -5
- package/es-modules/Extensions/Exporting/Exporting.js +32 -44
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +49 -1
- package/es-modules/Extensions/FullScreen.js +4 -3
- package/es-modules/Extensions/GeoJSON.js +152 -127
- package/es-modules/Extensions/MarkerClusters.js +37 -21
- package/es-modules/Extensions/Math3D.js +4 -4
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +133 -46
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +13 -77
- package/es-modules/Extensions/Oldie/VMLAxis3D.js +5 -1
- package/es-modules/Extensions/OverlappingDataLabels.js +10 -6
- package/es-modules/Extensions/Pane.js +6 -6
- package/es-modules/Extensions/ParallelCoordinates.js +5 -3
- package/es-modules/Extensions/PatternFill.js +17 -11
- package/es-modules/Extensions/Polar.js +6 -3
- package/es-modules/Extensions/PriceIndication.js +2 -1
- package/es-modules/Extensions/RangeSelector.js +19 -55
- package/es-modules/Extensions/ScrollablePlotArea.js +7 -3
- package/es-modules/Extensions/SeriesLabel.js +1 -1
- package/es-modules/Extensions/Sonification/ChartSonify.js +32 -26
- package/es-modules/Extensions/Sonification/Instrument.js +12 -15
- package/es-modules/Extensions/Sonification/PointSonify.js +12 -8
- package/es-modules/Extensions/Sonification/SeriesSonify.js +33 -18
- package/es-modules/Extensions/Sonification/SignalHandler.js +4 -6
- package/es-modules/Extensions/Sonification/Sonification.js +1 -1
- package/es-modules/Extensions/Sonification/SonificationUtilities.js +11 -7
- package/es-modules/Extensions/Sonification/Timeline.js +2 -7
- package/es-modules/Extensions/Sonification/TimelineEvent.js +0 -1
- package/es-modules/Extensions/Sonification/TimelinePath.js +8 -8
- package/es-modules/Extensions/Stacking.js +8 -25
- package/es-modules/Extensions/Themes/BrandDark.js +293 -0
- package/es-modules/Extensions/Themes/BrandLight.js +259 -0
- package/es-modules/Extensions/Themes/DarkUnica.js +4 -2
- package/es-modules/Extensions/Themes/Grid.js +4 -2
- package/es-modules/Extensions/Themes/GridLight.js +4 -2
- package/es-modules/Extensions/Themes/HighContrastDark.js +10 -10
- package/es-modules/Extensions/Themes/HighContrastLight.js +10 -10
- package/es-modules/Gantt/Connection.js +2 -2
- package/es-modules/Gantt/Pathfinder.js +6 -5
- package/es-modules/Gantt/PathfinderAlgorithms.js +12 -12
- package/es-modules/Maps/MapNavigation.js +54 -14
- package/es-modules/Maps/MapPointer.js +18 -1
- package/es-modules/Maps/MapSymbols.js +23 -3
- package/es-modules/Maps/MapUtilities.js +56 -0
- package/es-modules/Maps/MapView.js +606 -135
- package/es-modules/Maps/MapViewInsetsOptionsDefault.js +148 -0
- package/es-modules/Maps/MapViewOptionsDefault.js +58 -20
- package/es-modules/Maps/Projection.js +169 -77
- package/es-modules/Maps/Projections/EqualEarth.js +15 -6
- package/es-modules/Maps/Projections/LambertConformalConic.js +27 -19
- package/es-modules/Maps/Projections/Miller.js +23 -10
- package/es-modules/Maps/Projections/Orthographic.js +21 -10
- package/es-modules/Maps/Projections/WebMercator.js +25 -13
- package/es-modules/Series/ArcDiagram/ArcDiagramPoint.js +77 -0
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +581 -0
- package/es-modules/Series/Area/AreaSeries.js +13 -13
- package/es-modules/Series/Area3DSeries.js +4 -2
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +24 -12
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +2 -1
- package/es-modules/Series/Bubble/BubbleLegendItem.js +2 -12
- package/es-modules/Series/Candlestick/CandlestickSeries.js +0 -1
- package/es-modules/Series/ColorMapMixin.js +84 -0
- package/es-modules/Series/Column/ColumnSeries.js +20 -17
- package/es-modules/Series/Column3D/Column3DComposition.js +1 -2
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +5 -2
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +2 -1
- package/es-modules/Series/Cylinder/CylinderComposition.js +36 -4
- package/es-modules/Series/DataModifyComposition.js +1 -0
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +3 -3
- package/es-modules/Series/DrawPointComposition.js +7 -4
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +0 -1
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +0 -3
- package/es-modules/Series/Flags/FlagsSymbols.js +2 -2
- package/es-modules/Series/Funnel3D/Funnel3DComposition.js +14 -8
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +2 -1
- package/es-modules/Series/Gantt/GanttPoint.js +1 -1
- package/es-modules/Series/Gantt/GanttSeries.js +3 -1
- package/es-modules/Series/HLC/HLCSeries.js +1 -6
- package/es-modules/Series/Heatmap/HeatmapPoint.js +10 -10
- package/es-modules/Series/Heatmap/HeatmapSeries.js +9 -10
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +8 -6
- package/es-modules/Series/Histogram/HistogramSeries.js +4 -4
- package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +1 -4
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +19 -20
- package/es-modules/Series/Item/ItemSeries.js +4 -5
- package/es-modules/Series/Lollipop/LollipopSeries.js +1 -1
- package/es-modules/Series/Map/MapPoint.js +30 -1
- package/es-modules/Series/Map/MapSeries.js +216 -190
- package/es-modules/Series/MapBubble/MapBubblePoint.js +16 -24
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +11 -0
- package/es-modules/Series/MapLine/MapLineSeries.js +0 -4
- package/es-modules/Series/MapPoint/MapPointPoint.js +2 -8
- package/es-modules/Series/MapPoint/MapPointSeries.js +36 -14
- package/es-modules/Series/Networkgraph/DraggableNodes.js +0 -4
- package/es-modules/Series/Networkgraph/Integrations.js +8 -22
- package/es-modules/Series/Networkgraph/Networkgraph.js +1 -5
- package/es-modules/Series/Networkgraph/QuadTree.js +1 -3
- package/es-modules/Series/NodesComposition.js +60 -12
- package/es-modules/Series/OHLC/OHLCPoint.js +0 -1
- package/es-modules/Series/OHLC/OHLCSeries.js +8 -1
- package/es-modules/Series/Organization/OrganizationPoint.js +68 -2
- package/es-modules/Series/Organization/OrganizationSeries.js +81 -25
- package/es-modules/Series/PackedBubble/PackedBubbleComposition.js +1 -0
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +2 -4
- package/es-modules/Series/Pie/PiePoint.js +14 -7
- package/es-modules/Series/Pie/PieSeries.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DComposition.js +2 -1
- package/es-modules/Series/Pie3D/Pie3DPoint.js +2 -1
- package/es-modules/Series/Pie3D/Pie3DSeries.js +20 -1
- package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +2 -1
- package/es-modules/Series/Sankey/SankeyColumnComposition.js +193 -0
- package/es-modules/Series/Sankey/SankeyPoint.js +37 -1
- package/es-modules/Series/Sankey/SankeySeries.js +10 -126
- package/es-modules/Series/Scatter/ScatterSeries.js +1 -1
- package/es-modules/Series/SolidGauge/SolidGaugeComposition.js +3 -1
- package/es-modules/Series/Spline/SplineSeries.js +0 -8
- package/es-modules/Series/Sunburst/SunburstSeries.js +15 -4
- package/es-modules/Series/Sunburst/SunburstUtilities.js +3 -2
- package/es-modules/Series/Tilemap/TilemapPoint.js +0 -2
- package/es-modules/Series/Tilemap/TilemapShapes.js +0 -7
- package/es-modules/Series/TreeUtilities.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +104 -99
- package/es-modules/Series/Variwide/VariwideSeries.js +5 -1
- package/es-modules/Series/Venn/VennSeries.js +6 -9
- package/es-modules/Series/Venn/VennUtils.js +8 -7
- package/es-modules/Series/Waterfall/WaterfallSeries.js +8 -3
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +2 -2
- package/es-modules/Series/Wordcloud/WordcloudUtils.js +6 -10
- package/es-modules/Series/XRange/XRangePoint.js +6 -12
- package/es-modules/Series/XRange/XRangeSeries.js +4 -20
- package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +12 -0
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -0
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +12 -0
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +35 -15
- package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +9 -5
- package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +2 -1
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +6 -6
- package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +12 -0
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +8 -3
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +30 -12
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -1
- package/es-modules/Stock/Indicators/MultipleLinesComposition.js +70 -6
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +11 -0
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +2 -1
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +2 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +11 -5
- package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -1
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +3 -3
- package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +19 -7
- package/es-modules/Stock/StockToolsBindings.js +13 -6
- package/es-modules/Stock/StockToolsGui.js +34 -23
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +14 -0
- 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 +1 -1
- 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 +2 -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 +1 -1
- 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 +1 -1
- 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 +5 -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/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 +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- 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/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +5 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- 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 +14 -0
- package/es-modules/masters/themes/brand-light.src.js +14 -0
- 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 +99 -98
- package/highcharts-3d.js.map +1 -1
- package/highcharts-3d.src.js +114 -54
- package/highcharts-gantt.js +805 -800
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +1102 -973
- package/highcharts-more.js +195 -194
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.js +85 -104
- package/highcharts.d.ts +8196 -2661
- package/highcharts.js +590 -585
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +8196 -2661
- package/highcharts.src.js +872 -745
- package/highmaps.js +757 -727
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +3983 -2601
- package/highstock.js +792 -788
- package/highstock.js.map +1 -1
- package/highstock.src.js +1118 -1001
- package/indicators/acceleration-bands.d.ts +17 -1
- package/indicators/acceleration-bands.js +12 -10
- package/indicators/acceleration-bands.js.map +1 -1
- package/indicators/acceleration-bands.src.d.ts +17 -1
- package/indicators/acceleration-bands.src.js +98 -7
- package/indicators/accumulation-distribution.js +5 -5
- package/indicators/accumulation-distribution.js.map +1 -1
- package/indicators/accumulation-distribution.src.js +11 -2
- package/indicators/ao.js +6 -6
- package/indicators/ao.js.map +1 -1
- package/indicators/ao.src.js +11 -2
- package/indicators/apo.js +5 -5
- package/indicators/apo.js.map +1 -1
- package/indicators/apo.src.js +11 -2
- package/indicators/aroon-oscillator.d.ts +17 -1
- package/indicators/aroon-oscillator.js +10 -9
- package/indicators/aroon-oscillator.js.map +1 -1
- package/indicators/aroon-oscillator.src.d.ts +17 -1
- package/indicators/aroon-oscillator.src.js +86 -7
- package/indicators/aroon.d.ts +17 -1
- package/indicators/aroon.js +11 -9
- package/indicators/aroon.js.map +1 -1
- package/indicators/aroon.src.d.ts +17 -1
- package/indicators/aroon.src.js +87 -7
- package/indicators/atr.js +5 -5
- package/indicators/atr.js.map +1 -1
- package/indicators/atr.src.js +11 -2
- package/indicators/bollinger-bands.d.ts +17 -1
- package/indicators/bollinger-bands.js +12 -10
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.d.ts +17 -1
- package/indicators/bollinger-bands.src.js +98 -7
- package/indicators/cci.js +5 -5
- package/indicators/cci.js.map +1 -1
- package/indicators/cci.src.js +11 -2
- package/indicators/chaikin.js +8 -8
- package/indicators/chaikin.js.map +1 -1
- package/indicators/chaikin.src.js +11 -2
- package/indicators/cmf.js +6 -6
- package/indicators/cmf.js.map +1 -1
- package/indicators/cmf.src.js +46 -17
- package/indicators/cmo.js +5 -5
- package/indicators/cmo.js.map +1 -1
- package/indicators/cmo.src.js +11 -2
- package/indicators/dema.js +5 -5
- package/indicators/dema.js.map +1 -1
- package/indicators/dema.src.js +11 -2
- package/indicators/disparity-index.js +6 -6
- package/indicators/disparity-index.js.map +1 -1
- package/indicators/disparity-index.src.js +13 -3
- package/indicators/dmi.js +12 -11
- package/indicators/dmi.js.map +1 -1
- package/indicators/dmi.src.js +95 -12
- package/indicators/dpo.js +5 -5
- package/indicators/dpo.js.map +1 -1
- package/indicators/dpo.src.js +11 -2
- package/indicators/ema.js +2 -1
- package/indicators/ema.js.map +1 -1
- package/indicators/ema.src.js +10 -1
- package/indicators/ichimoku-kinko-hyo.js +16 -16
- package/indicators/ichimoku-kinko-hyo.js.map +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +17 -8
- package/indicators/indicators-all.d.ts +17 -1
- package/indicators/indicators-all.js +199 -197
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.d.ts +17 -1
- package/indicators/indicators-all.src.js +266 -69
- package/indicators/indicators.js +13 -12
- package/indicators/indicators.js.map +1 -1
- package/indicators/indicators.src.js +23 -8
- package/indicators/keltner-channels.d.ts +17 -1
- package/indicators/keltner-channels.js +12 -10
- package/indicators/keltner-channels.js.map +1 -1
- package/indicators/keltner-channels.src.d.ts +17 -1
- package/indicators/keltner-channels.src.js +98 -7
- package/indicators/klinger.js +14 -12
- package/indicators/klinger.js.map +1 -1
- package/indicators/klinger.src.js +94 -10
- package/indicators/macd.js +12 -11
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +12 -3
- package/indicators/mfi.js +6 -6
- package/indicators/mfi.js.map +1 -1
- package/indicators/mfi.src.js +11 -2
- package/indicators/momentum.js +5 -5
- package/indicators/momentum.js.map +1 -1
- package/indicators/momentum.src.js +11 -2
- package/indicators/natr.js +5 -4
- package/indicators/natr.js.map +1 -1
- package/indicators/natr.src.js +11 -2
- package/indicators/obv.js +5 -5
- package/indicators/obv.js.map +1 -1
- package/indicators/obv.src.js +11 -2
- package/indicators/pivot-points.js +11 -11
- package/indicators/pivot-points.js.map +1 -1
- package/indicators/pivot-points.src.js +13 -3
- package/indicators/ppo.js +5 -5
- package/indicators/ppo.js.map +1 -1
- package/indicators/ppo.src.js +11 -2
- package/indicators/price-channel.d.ts +17 -1
- package/indicators/price-channel.js +11 -9
- package/indicators/price-channel.js.map +1 -1
- package/indicators/price-channel.src.d.ts +17 -1
- package/indicators/price-channel.src.js +97 -7
- package/indicators/price-envelopes.js +8 -8
- package/indicators/price-envelopes.js.map +1 -1
- package/indicators/price-envelopes.src.js +11 -2
- package/indicators/psar.js +7 -6
- package/indicators/psar.js.map +1 -1
- package/indicators/psar.src.js +11 -2
- package/indicators/regressions.js +12 -12
- package/indicators/regressions.js.map +1 -1
- package/indicators/regressions.src.js +41 -14
- package/indicators/roc.js +5 -5
- package/indicators/roc.js.map +1 -1
- package/indicators/roc.src.js +11 -2
- package/indicators/rsi.js +6 -5
- package/indicators/rsi.js.map +1 -1
- package/indicators/rsi.src.js +13 -3
- package/indicators/slow-stochastic.js +5 -5
- package/indicators/slow-stochastic.js.map +1 -1
- package/indicators/slow-stochastic.src.js +11 -2
- package/indicators/stochastic.d.ts +17 -1
- package/indicators/stochastic.js +12 -10
- package/indicators/stochastic.js.map +1 -1
- package/indicators/stochastic.src.d.ts +17 -1
- package/indicators/stochastic.src.js +89 -8
- package/indicators/supertrend.js +10 -10
- package/indicators/supertrend.js.map +1 -1
- package/indicators/supertrend.src.js +11 -2
- package/indicators/tema.js +6 -6
- package/indicators/tema.js.map +1 -1
- package/indicators/tema.src.js +11 -2
- package/indicators/trendline.js +5 -5
- package/indicators/trendline.js.map +1 -1
- package/indicators/trendline.src.js +11 -2
- package/indicators/trix.js +4 -4
- package/indicators/trix.js.map +1 -1
- package/indicators/trix.src.js +11 -2
- package/indicators/volume-by-price.js +17 -17
- package/indicators/volume-by-price.js.map +1 -1
- package/indicators/volume-by-price.src.js +14 -5
- package/indicators/vwap.js +5 -5
- package/indicators/vwap.js.map +1 -1
- package/indicators/vwap.src.js +30 -9
- package/indicators/williams-r.js +6 -5
- package/indicators/williams-r.js.map +1 -1
- package/indicators/williams-r.src.js +11 -2
- package/indicators/wma.js +5 -5
- package/indicators/wma.js.map +1 -1
- package/indicators/wma.src.js +11 -2
- package/indicators/zigzag.js +6 -6
- package/indicators/zigzag.js.map +1 -1
- package/indicators/zigzag.src.js +11 -2
- package/lib/jspdf.js +299 -184
- package/lib/jspdf.src.js +25266 -18067
- package/lib/svg2pdf.js +35 -31
- package/lib/svg2pdf.src.js +5721 -4179
- package/modules/accessibility.d.ts +0 -35
- package/modules/accessibility.js +232 -226
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.d.ts +0 -35
- package/modules/accessibility.src.js +792 -613
- package/modules/annotations-advanced.js +175 -175
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +175 -129
- package/modules/annotations.js +124 -124
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +130 -102
- package/modules/arc-diagram.js +25 -0
- package/modules/arc-diagram.js.map +1 -0
- package/modules/arc-diagram.src.js +770 -0
- package/modules/arrow-symbols.js +4 -3
- package/modules/arrow-symbols.js.map +1 -1
- package/modules/arrow-symbols.src.js +11 -2
- package/modules/boost-canvas.js +15 -15
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +11 -2
- package/modules/boost.js +80 -79
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +103 -85
- package/modules/broken-axis.js +13 -13
- package/modules/broken-axis.js.map +1 -1
- package/modules/broken-axis.src.js +28 -13
- package/modules/bullet.js +9 -9
- package/modules/bullet.js.map +1 -1
- package/modules/bullet.src.js +11 -2
- package/modules/coloraxis.js +24 -24
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +42 -13
- package/modules/current-date-indicator.js +5 -4
- package/modules/current-date-indicator.js.map +1 -1
- package/modules/current-date-indicator.src.js +11 -2
- package/modules/cylinder.js +11 -11
- package/modules/cylinder.js.map +1 -1
- package/modules/cylinder.src.js +47 -6
- package/modules/data.d.ts +6 -6
- package/modules/data.js +34 -33
- package/modules/data.js.map +1 -1
- package/modules/data.src.d.ts +6 -6
- package/modules/data.src.js +68 -84
- package/modules/datagrouping.js +21 -20
- package/modules/datagrouping.js.map +1 -1
- package/modules/datagrouping.src.js +38 -19
- package/modules/debugger.js +6 -6
- package/modules/debugger.js.map +1 -1
- package/modules/debugger.src.js +11 -2
- package/modules/dependency-wheel.js +12 -11
- package/modules/dependency-wheel.js.map +1 -1
- package/modules/dependency-wheel.src.js +15 -6
- package/modules/dotplot.js +6 -6
- package/modules/dotplot.js.map +1 -1
- package/modules/dotplot.src.js +11 -2
- package/modules/drag-panes.js +10 -10
- package/modules/drag-panes.js.map +1 -1
- package/modules/drag-panes.src.js +11 -2
- package/modules/draggable-points.js +35 -34
- package/modules/draggable-points.js.map +1 -1
- package/modules/draggable-points.src.js +27 -17
- package/modules/drilldown.d.ts +19 -0
- package/modules/drilldown.js +37 -25
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.d.ts +19 -0
- package/modules/drilldown.src.js +1091 -101
- package/modules/dumbbell.js +17 -17
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.js +11 -6
- package/modules/export-data.js +22 -21
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +17 -7
- package/modules/exporting.js +39 -39
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.js +114 -62
- package/modules/full-screen.js +8 -7
- package/modules/full-screen.js.map +1 -1
- package/modules/full-screen.src.js +15 -5
- package/modules/funnel.js +12 -12
- package/modules/funnel.js.map +1 -1
- package/modules/funnel.src.js +11 -2
- package/modules/funnel3d.js +21 -21
- package/modules/funnel3d.js.map +1 -1
- package/modules/funnel3d.src.js +27 -11
- package/modules/gantt.js +217 -217
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +241 -230
- package/modules/grid-axis.js +23 -23
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +46 -27
- package/modules/heatmap.js +40 -39
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +119 -117
- package/modules/heikinashi.js +8 -8
- package/modules/heikinashi.js.map +1 -1
- package/modules/heikinashi.src.js +19 -8
- package/modules/histogram-bellcurve.js +13 -13
- package/modules/histogram-bellcurve.js.map +1 -1
- package/modules/histogram-bellcurve.src.js +17 -7
- package/modules/hollowcandlestick.js +9 -9
- package/modules/hollowcandlestick.js.map +1 -1
- package/modules/hollowcandlestick.src.js +31 -26
- package/modules/item-series.js +12 -12
- package/modules/item-series.js.map +1 -1
- package/modules/item-series.src.js +16 -7
- package/modules/lollipop.js +7 -7
- package/modules/lollipop.js.map +1 -1
- package/modules/lollipop.src.js +12 -3
- package/modules/map.d.ts +82 -43
- package/modules/map.js +169 -144
- package/modules/map.js.map +1 -1
- package/modules/map.src.d.ts +82 -43
- package/modules/map.src.js +8003 -6739
- package/modules/marker-clusters.js +36 -36
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +50 -24
- package/modules/networkgraph.d.ts +5 -0
- package/modules/networkgraph.js +49 -48
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.d.ts +5 -0
- package/modules/networkgraph.src.js +87 -48
- package/modules/no-data-to-display.js +5 -5
- package/modules/no-data-to-display.js.map +1 -1
- package/modules/no-data-to-display.src.js +11 -2
- package/modules/offline-exporting.js +20 -18
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +149 -53
- package/modules/oldie-polyfills.js +7 -7
- package/modules/oldie-polyfills.js.map +1 -1
- package/modules/oldie-polyfills.src.js +11 -2
- package/modules/oldie.js +30 -30
- package/modules/oldie.js.map +1 -1
- package/modules/oldie.src.js +29 -80
- package/modules/organization.js +16 -14
- package/modules/organization.js.map +1 -1
- package/modules/organization.src.js +168 -32
- package/modules/overlapping-datalabels.js +3 -2
- package/modules/overlapping-datalabels.js.map +1 -1
- package/modules/overlapping-datalabels.src.js +11 -2
- package/modules/parallel-coordinates.js +11 -11
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +16 -5
- package/modules/pareto.js +7 -7
- package/modules/pareto.js.map +1 -1
- package/modules/pareto.src.js +11 -2
- package/modules/pathfinder.js +31 -31
- package/modules/pathfinder.js.map +1 -1
- package/modules/pathfinder.src.js +31 -21
- package/modules/pattern-fill.js +14 -14
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +28 -13
- package/modules/price-indicator.js +5 -5
- package/modules/price-indicator.js.map +1 -1
- package/modules/price-indicator.src.js +13 -3
- package/modules/pyramid3d.js +4 -4
- package/modules/pyramid3d.js.map +1 -1
- package/modules/pyramid3d.src.js +13 -3
- package/modules/sankey.d.ts +5 -0
- package/modules/sankey.js +32 -29
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.d.ts +5 -0
- package/modules/sankey.src.js +340 -156
- package/modules/series-label.js +18 -17
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +12 -3
- package/modules/solid-gauge.js +10 -10
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +27 -3
- package/modules/sonification.js +59 -59
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +131 -104
- package/modules/static-scale.js +5 -4
- package/modules/static-scale.js.map +1 -1
- package/modules/static-scale.src.js +11 -2
- package/modules/stock-tools.js +107 -107
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +137 -98
- package/modules/stock.js +162 -162
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +257 -258
- package/modules/streamgraph.js +5 -4
- package/modules/streamgraph.js.map +1 -1
- package/modules/streamgraph.src.js +11 -2
- package/modules/sunburst.d.ts +3 -0
- package/modules/sunburst.js +73 -61
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.d.ts +3 -0
- package/modules/sunburst.src.js +1128 -205
- package/modules/tilemap.js +17 -17
- package/modules/tilemap.js.map +1 -1
- package/modules/tilemap.src.js +11 -11
- package/modules/timeline.js +18 -18
- package/modules/timeline.js.map +1 -1
- package/modules/timeline.src.js +11 -2
- package/modules/treegrid.js +57 -56
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +106 -58
- package/modules/treemap.d.ts +3 -0
- package/modules/treemap.js +53 -41
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.d.ts +3 -0
- package/modules/treemap.src.js +1113 -200
- package/modules/variable-pie.js +9 -9
- package/modules/variable-pie.js.map +1 -1
- package/modules/variable-pie.src.js +11 -2
- package/modules/variwide.js +12 -12
- package/modules/variwide.js.map +1 -1
- package/modules/variwide.src.js +17 -4
- package/modules/vector.js +8 -7
- package/modules/vector.js.map +1 -1
- package/modules/vector.src.js +11 -2
- package/modules/venn.js +31 -31
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +34 -23
- package/modules/windbarb.js +15 -15
- package/modules/windbarb.js.map +1 -1
- package/modules/windbarb.src.js +11 -2
- package/modules/wordcloud.js +23 -23
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +26 -18
- package/modules/xrange.js +16 -16
- package/modules/xrange.js.map +1 -1
- package/modules/xrange.src.js +21 -34
- package/package.json +1 -1
- package/themes/avocado.js +4 -3
- package/themes/avocado.js.map +1 -1
- package/themes/avocado.src.js +11 -2
- package/themes/brand-dark.js +16 -0
- package/themes/brand-dark.js.map +1 -0
- package/themes/brand-dark.src.js +337 -0
- package/themes/brand-light.js +15 -0
- package/themes/brand-light.js.map +1 -0
- package/themes/brand-light.src.js +303 -0
- package/themes/dark-blue.js +9 -8
- package/themes/dark-blue.js.map +1 -1
- package/themes/dark-blue.src.js +11 -2
- package/themes/dark-green.js +9 -8
- package/themes/dark-green.js.map +1 -1
- package/themes/dark-green.src.js +11 -2
- package/themes/dark-unica.js +8 -7
- package/themes/dark-unica.js.map +1 -1
- package/themes/dark-unica.src.js +15 -4
- package/themes/gray.js +9 -8
- package/themes/gray.js.map +1 -1
- package/themes/gray.src.js +11 -2
- package/themes/grid-light.js +5 -4
- package/themes/grid-light.js.map +1 -1
- package/themes/grid-light.src.js +15 -4
- package/themes/grid.js +5 -5
- package/themes/grid.js.map +1 -1
- package/themes/grid.src.js +15 -4
- package/themes/high-contrast-dark.js +7 -7
- package/themes/high-contrast-dark.js.map +1 -1
- package/themes/high-contrast-dark.src.js +21 -12
- package/themes/high-contrast-light.js +3 -3
- package/themes/high-contrast-light.js.map +1 -1
- package/themes/high-contrast-light.src.js +21 -12
- package/themes/sand-signika.js +5 -5
- package/themes/sand-signika.js.map +1 -1
- package/themes/sand-signika.src.js +11 -2
- package/themes/skies.js +5 -5
- package/themes/skies.js.map +1 -1
- package/themes/skies.src.js +11 -2
- package/themes/sunset.js +3 -3
- package/themes/sunset.js.map +1 -1
- package/themes/sunset.src.js +11 -2
- package/es-modules/Maps/ProjectionDefinition.js +0 -9
- package/es-modules/Series/ColorMapComposition.js +0 -109
package/modules/streamgraph.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Highcharts JS
|
|
2
|
+
Highcharts JS v10.0.0 (2022-03-07)
|
|
3
3
|
|
|
4
4
|
Streamgraph module
|
|
5
5
|
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
License: www.highcharts.com/license
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
void 0;
|
|
10
|
+
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/streamgraph",["highcharts"],function(d){a(d);a.Highcharts=d;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function d(a,e,d,f){a.hasOwnProperty(e)||(a[e]=f.apply(null,d),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:a[e]}})))}a=a?a._modules:{};
|
|
11
|
+
d(a,"Series/Streamgraph/StreamgraphSeries.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,e){var d=this&&this.__extends||function(){var a=function(b,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};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)}}(),f=a.seriesTypes.areaspline,
|
|
12
|
+
h=e.merge;e=e.extend;var g=function(a){function b(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.points=void 0;c.options=void 0;return c}d(b,a);b.prototype.streamStacker=function(a,b,d){a[0]-=b.total/2;a[1]-=b.total/2;this.stackedYData[d]=a};b.defaultOptions=h(f.defaultOptions,{fillOpacity:1,lineWidth:0,marker:{enabled:!1},stacking:"stream"});return b}(f);e(g.prototype,{negStacks:!1});a.registerSeriesType("streamgraph",g);"";return g});d(a,"masters/modules/streamgraph.src.js",[],
|
|
13
|
+
function(){})});
|
|
13
14
|
//# sourceMappingURL=streamgraph.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamgraph.js.map","lineCount":
|
|
1
|
+
{"version":3,"file":"streamgraph.js.map","lineCount":13,"mappings":"A;;;;;;;;;AASC,SAAS,CAACA,CAAD,CAAU,CACM,QAAtB,GAAI,MAAOC,OAAX,EAAkCA,MAAAC,QAAlC,EACIF,CAAA,CAAQ,SAAR,CACA,CADqBA,CACrB,CAAAC,MAAAC,QAAA,CAAiBF,CAFrB,EAG6B,UAAtB,GAAI,MAAOG,OAAX,EAAoCA,MAAAC,IAApC,CACHD,MAAA,CAAO,gCAAP,CAAyC,CAAC,YAAD,CAAzC,CAAyD,QAAS,CAACE,CAAD,CAAa,CAC3EL,CAAA,CAAQK,CAAR,CACAL,EAAAK,WAAA,CAAqBA,CACrB,OAAOL,EAHoE,CAA/E,CADG,CAOHA,CAAA,CAA8B,WAAtB,GAAA,MAAOK,WAAP,CAAoCA,UAApC,CAAiDC,IAAAA,EAAzD,CAXY,CAAnB,CAAA,CAaC,QAAS,CAACD,CAAD,CAAa,CAGpBE,QAASA,EAAe,CAACC,CAAD,CAAMC,CAAN,CAAYC,CAAZ,CAAkBC,CAAlB,CAAsB,CACrCH,CAAAI,eAAA,CAAmBH,CAAnB,CAAL,GACID,CAAA,CAAIC,CAAJ,CAEA,CAFYE,CAAAE,MAAA,CAAS,IAAT,CAAeH,CAAf,CAEZ,CAA2B,UAA3B,GAAI,MAAOI,YAAX,EACIC,MAAAC,cAAA,CACI,IAAIF,WAAJ,CACI,wBADJ,CAEI,CAAEG,OAAQ,CAAER,KAAMA,CAAR,CAAcR,OAAQO,CAAA,CAAIC,CAAJ,CAAtB,CAAV,CAFJ,CADJ,CAJR,CAD0C,CAD1CS,CAAAA,CAAWb,CAAA,CAAaA,CAAAa,SAAb,CAAmC,EAelDX;CAAA,CAAgBW,CAAhB,CAA0B,yCAA1B,CAAqE,CAACA,CAAA,CAAS,+BAAT,CAAD,CAA4CA,CAAA,CAAS,mBAAT,CAA5C,CAArE,CAAiJ,QAAS,CAACC,CAAD,CAAiBC,CAAjB,CAAoB,CAY1K,IAAIC,EAAa,IAAbA,EAAqB,IAAAA,UAArBA,EAAyC,QAAS,EAAG,CACjD,IAAIC,EAAgBA,QAAS,CAACC,CAAD,CACjCC,CADiC,CAC9B,CACKF,CAAA,CAAgBG,MAAAC,eAAhB,EACK,CAAEC,UAAW,EAAb,CADL,UACkCC,MADlC,EAC2C,QAAS,CAACL,CAAD,CAC5DC,CAD4D,CACzD,CAAED,CAAAI,UAAA,CAAcH,CAAhB,CAFK,EAGI,QAAS,CAACD,CAAD,CACrBC,CADqB,CAClB,CAAE,IAAKK,IAAIA,CAAT,GAAcL,EAAd,CAAqBA,CAAAZ,eAAA,CAAiBiB,CAAjB,CAAJ,GAAyBN,CAAA,CAAEM,CAAF,CAAzB,CAAgCL,CAAA,CAAEK,CAAF,CAAhC,CAAnB,CACC,OAAOP,EAAA,CAAcC,CAAd,CAAiBC,CAAjB,CANR,CAQH,OAAO,SAAS,CAACD,CAAD,CAAIC,CAAJ,CAAO,CAEnBM,QAASA,EAAE,EAAG,CAAE,IAAAC,YAAA,CAAmBR,CAArB,CADdD,CAAA,CAAcC,CAAd,CAAiBC,CAAjB,CAEAD,EAAAS,UAAA,CAAoB,IAAN,GAAAR,CAAA,CAAaC,MAAAQ,OAAA,CAAcT,CAAd,CAAb,EAAiCM,CAAAE,UAAA,CAAeR,CAAAQ,UAAf,CAA4B,IAAIF,CAAjE,CAHK,CAV8B,CAAb,EAA5C,CAgBII,EAAmBf,CAAAgB,YAAAC,WAhBvB;AAiBIC,EAAQjB,CAAAiB,MACRC,EAAAA,CAASlB,CAAAkB,OAUb,KAAIC,EAAmC,QAAS,CAACC,CAAD,CAAS,CAErDD,QAASA,EAAiB,EAAG,CACzB,IAAIE,EAAmB,IAAnBA,GAAQD,CAARC,EAA2BD,CAAA3B,MAAA,CAAa,IAAb,CAC3B6B,SAD2B,CAA3BD,EACc,IAMlBA,EAAAE,KAAA,CAAa,IAAK,EAClBF,EAAAG,OAAA,CAAe,IAAK,EACpBH,EAAAI,QAAA,CAAgB,IAAK,EACrB,OAAOJ,EAXkB,CADzBpB,CAAA,CAAUkB,CAAV,CAA6BC,CAA7B,CAqBJD,EAAAP,UAAAc,cAAA,CAA4CC,QAAS,CAACC,CAAD,CAAgBC,CAAhB,CAAuBC,CAAvB,CAA0B,CAE3EF,CAAA,CAAc,CAAd,CAAA,EAAoBC,CAAAE,MAApB,CAAkC,CAElCH,EAAA,CAAc,CAAd,CAAA,EAAoBC,CAAAE,MAApB,CAAkC,CAElC,KAAAC,aAAA,CAAkBF,CAAlB,CAAA,CAAuBF,CANoD,CAqB/ET,EAAAc,eAAA,CAAmChB,CAAA,CAAMH,CAAAmB,eAAN,CAAuC,CAmBtEC,YAAa,CAnByD,CAoBtEC,UAAW,CApB2D,CAqBtEC,OAAQ,CACJC,QAAS,CAAA,CADL,CArB8D,CAwBtEC,SAAU,QAxB4D,CAAvC,CA0BnC,OAAOnB,EArE8C,CAAlB,CAsErCL,CAtEqC,CAuEvCI,EAAA,CAAOC,CAAAP,UAAP,CAAoC,CAChC2B,UAAW,CAAA,CADqB,CAApC,CAGAxC,EAAAyC,mBAAA,CAAkC,aAAlC,CAAiDrB,CAAjD,CAoGA,GAEA,OAAOA,EAxNmK,CAA9K,CA0NAhC,EAAA,CAAgBW,CAAhB,CAA0B,oCAA1B,CAAgE,EAAhE;AAAoE,QAAS,EAAG,EAAhF,CA3OoB,CAbvB;","sources":["streamgraph.src.js"],"names":["factory","module","exports","define","amd","Highcharts","undefined","_registerModule","obj","path","args","fn","hasOwnProperty","apply","CustomEvent","window","dispatchEvent","detail","_modules","SeriesRegistry","U","__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","__","constructor","prototype","create","AreaSplineSeries","seriesTypes","areaspline","merge","extend","StreamgraphSeries","_super","_this","arguments","data","points","options","streamStacker","StreamgraphSeries.prototype.streamStacker","pointExtremes","stack","i","total","stackedYData","defaultOptions","fillOpacity","lineWidth","marker","enabled","stacking","negStacks","registerSeriesType"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS
|
|
2
|
+
* @license Highcharts JS v10.0.0 (2022-03-07)
|
|
3
3
|
*
|
|
4
4
|
* Streamgraph module
|
|
5
5
|
*
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
*
|
|
8
8
|
* License: www.highcharts.com/license
|
|
9
9
|
*/
|
|
10
|
-
'use strict';
|
|
11
10
|
(function (factory) {
|
|
12
11
|
if (typeof module === 'object' && module.exports) {
|
|
13
12
|
factory['default'] = factory;
|
|
@@ -22,10 +21,20 @@
|
|
|
22
21
|
factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
|
|
23
22
|
}
|
|
24
23
|
}(function (Highcharts) {
|
|
24
|
+
'use strict';
|
|
25
25
|
var _modules = Highcharts ? Highcharts._modules : {};
|
|
26
26
|
function _registerModule(obj, path, args, fn) {
|
|
27
27
|
if (!obj.hasOwnProperty(path)) {
|
|
28
28
|
obj[path] = fn.apply(null, args);
|
|
29
|
+
|
|
30
|
+
if (typeof CustomEvent === 'function') {
|
|
31
|
+
window.dispatchEvent(
|
|
32
|
+
new CustomEvent(
|
|
33
|
+
'HighchartsModuleLoaded',
|
|
34
|
+
{ detail: { path: path, module: obj[path] }
|
|
35
|
+
})
|
|
36
|
+
);
|
|
37
|
+
}
|
|
29
38
|
}
|
|
30
39
|
}
|
|
31
40
|
_registerModule(_modules, 'Series/Streamgraph/StreamgraphSeries.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (SeriesRegistry, U) {
|
package/modules/sunburst.d.ts
CHANGED
|
@@ -13,6 +13,9 @@ import * as _Highcharts from "../highcharts";
|
|
|
13
13
|
*/
|
|
14
14
|
export function factory(highcharts: typeof Highcharts): void;
|
|
15
15
|
declare module "../highcharts" {
|
|
16
|
+
interface BreadcrumbsOptions {
|
|
17
|
+
buttonTheme?: SVGAttributes;
|
|
18
|
+
}
|
|
16
19
|
function eachObject(): void;
|
|
17
20
|
function isBoolean(): void;
|
|
18
21
|
function recursive(): void;
|
package/modules/sunburst.js
CHANGED
|
@@ -1,69 +1,81 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Highcharts JS
|
|
2
|
+
Highcharts JS v10.0.0 (2022-03-07)
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
nH:0,lW:0,nW:0,nR:0,lR:0,aspectRatio:function(a,
|
|
13
|
-
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
|
-
a.attribs||{};a.attribs["class"]=this.getClassName();if(this.shouldDraw())
|
|
15
|
-
{}));return a});
|
|
16
|
-
new
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
d.mapIdToNode[
|
|
20
|
-
k=
|
|
21
|
-
p(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
a
|
|
25
|
-
|
|
26
|
-
function(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
a
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
a.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
b
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
this,b=a.
|
|
45
|
-
|
|
46
|
-
b.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
h
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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(w){a(w);a.Highcharts=w;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function w(a,l,d,r){a.hasOwnProperty(l)||(a[l]=r.apply(null,d),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:l,module:a[l]}})))}a=a?a._modules:{};w(a,
|
|
10
|
+
"Series/ColorMapMixin.js",[a["Core/Globals.js"],a["Core/Series/Point.js"],a["Core/Utilities.js"]],function(a,l,d){var r=a.noop;a=a.seriesTypes;var k=d.defined;d=d.addEvent;d(l,"afterSetState",function(a){this.moveToTopOnHover&&this.graphic&&this.graphic.attr({zIndex:a&&"hover"===a.state?1:0})});return{PointMixin:{dataLabelOnNull:!0,moveToTopOnHover:!0,isValid:function(){return null!==this.value&&Infinity!==this.value&&-Infinity!==this.value}},SeriesMixin:{pointArrayMap:["value"],axisTypes:["xAxis",
|
|
11
|
+
"yAxis","colorAxis"],trackerGroups:["group","markerGroup","dataLabelsGroup"],getSymbol:r,parallelArrays:["x","y","value"],colorKey:"value",pointAttribs:a.column.prototype.pointAttribs,colorAttribs:function(a){var t={};!k(a.color)||a.state&&"normal"!==a.state||(t[this.colorProp||"fill"]=a.color);return t}}}});w(a,"Series/Treemap/TreemapAlgorithmGroup.js",[],function(){return function(){function a(a,d,r,k){this.height=a;this.width=d;this.plot=k;this.startDirection=this.direction=r;this.lH=this.nH=this.lW=
|
|
12
|
+
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,e){return Math.max(a/e,e/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),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/
|
|
13
|
+
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}()});w(a,"Series/DrawPointComposition.js",[],function(){var a;(function(a){function d(a){var e=this,g=a.animatableAttribs,d=a.onComplete,c=a.css,b=a.renderer,A=this.series&&this.series.chart.hasRendered?void 0:this.series&&
|
|
14
|
+
this.series.options.animation,y=this.graphic;a.attribs=a.attribs||{};a.attribs["class"]=this.getClassName();if(this.shouldDraw())y||(this.graphic=y="text"===a.shapeType?b.text():b[a.shapeType](a.shapeArgs||{}),y.add(a.group)),c&&y.css(c),y.attr(a.attribs).animate(g,a.isNew?!1:A,d);else if(y){var m=function(){e.graphic=y=y&&y.destroy();"function"===typeof d&&d()};Object.keys(g).length?y.animate(g,void 0,function(){m()}):m()}}function l(){return!this.isNull}var k=[];a.compose=function(a){if(-1===k.indexOf(a)){k.push(a);
|
|
15
|
+
var e=a.prototype;e.draw=d;e.shouldDraw||(e.shouldDraw=l)}return a}})(a||(a={}));return a});w(a,"Series/Treemap/TreemapPoint.js",[a["Series/DrawPointComposition.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,l,d){var r=this&&this.__extends||function(){var a=function(c,A){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var b in c)c.hasOwnProperty(b)&&(a[b]=c[b])};return a(c,A)};return function(c,A){function b(){this.constructor=
|
|
16
|
+
c}a(c,A);c.prototype=null===A?Object.create(A):(b.prototype=A.prototype,new b)}}(),k=l.series.prototype.pointClass,t=l.seriesTypes;l=t.pie.prototype.pointClass;var e=d.extend,g=d.isNumber,v=d.pick;d=function(a){function c(){var c=null!==a&&a.apply(this,arguments)||this;c.name=void 0;c.node=void 0;c.options=void 0;c.series=void 0;c.value=void 0;return c}r(c,a);c.prototype.getClassName=function(){var a=k.prototype.getClassName.call(this),c=this.series,b=c.options;this.node.level<=c.nodeMap[c.rootNode].level?
|
|
17
|
+
a+=" highcharts-above-level":this.node.isLeaf||v(b.interactByLeaf,!b.allowTraversingTree)?this.node.isLeaf||(a+=" highcharts-internal-node"):a+=" highcharts-internal-node-interactive";return a};c.prototype.isValid=function(){return!(!this.id&&!g(this.value))};c.prototype.setState=function(a){k.prototype.setState.call(this,a);this.graphic&&this.graphic.attr({zIndex:"hover"===a?1:0})};c.prototype.shouldDraw=function(){return g(this.plotY)&&null!==this.y};return c}(t.scatter.prototype.pointClass);e(d.prototype,
|
|
18
|
+
{setVisible:l.prototype.setVisible});a.compose(d);return d});w(a,"Series/Treemap/TreemapUtilities.js",[a["Core/Utilities.js"]],function(a){var l=a.objectEach,d;(function(a){function d(a,e,g){void 0===g&&(g=this);a=e.call(g,a);!1!==a&&d(a,e,g)}a.AXIS_MAX=100;a.isBoolean=function(a){return"boolean"===typeof a};a.eachObject=function(a,d,g){g=g||this;l(a,function(e,c){d.call(g,e,c,a)})};a.recursive=d})(d||(d={}));return d});w(a,"Series/TreeUtilities.js",[a["Core/Color/Color.js"],a["Core/Utilities.js"]],
|
|
19
|
+
function(a,l){function d(a,b){var c=b.before,e=b.idRoot,m=b.mapIdToNode[e],u=b.points[a.i],x=u&&u.options||{},C=[],p=0;a.levelDynamic=a.level-(!1!==b.levelIsConstant?0:m.level);a.name=v(u&&u.name,"");a.visible=e===a.id||!0===b.visible;"function"===typeof c&&(a=c(a,b));a.children.forEach(function(c,u){var x=r({},b);r(x,{index:u,siblings:a.children.length,visible:a.visible});c=d(c,x);C.push(c);c.visible&&(p+=c.val)});c=v(x.value,p);a.visible=0<=c&&(0<p||a.visible);a.children=C;a.childrenTotal=p;a.isLeaf=
|
|
20
|
+
a.visible&&!p;a.val=c;return a}var r=l.extend,k=l.isArray,t=l.isNumber,e=l.isObject,g=l.merge,v=l.pick;return{getColor:function(c,b){var d=b.index,e=b.mapOptionsToLevel,m=b.parentColor,u=b.parentColorIndex,x=b.series,C=b.colors,p=b.siblings,g=x.points,l=x.chart.options.chart,k;if(c){g=g[c.i];c=e[c.level]||{};if(e=g&&c.colorByPoint){var r=g.index%(C?C.length:l.colorCount);var t=C&&C[r]}if(!x.chart.styledMode){C=g&&g.options.color;l=c&&c.color;if(k=m)k=(k=c&&c.colorVariation)&&"brightness"===k.key&&
|
|
21
|
+
d&&p?a.parse(m).brighten(d/p*k.to).get():m;k=v(C,l,t,k,x.color)}var K=v(g&&g.options.colorIndex,c&&c.colorIndex,r,u,b.colorIndex)}return{color:k,colorIndex:K}},getLevelOptions:function(a){var c=null;if(e(a)){c={};var d=t(a.from)?a.from:1;var l=a.levels;var m={};var u=e(a.defaults)?a.defaults:{};k(l)&&(m=l.reduce(function(a,c){if(e(c)&&t(c.level)){var b=g({},c);var m=v(b.levelIsConstant,u.levelIsConstant);delete b.levelIsConstant;delete b.level;c=c.level+(m?0:d-1);e(a[c])?g(!0,a[c],b):a[c]=b}return a},
|
|
22
|
+
{}));l=t(a.to)?a.to:1;for(a=0;a<=l;a++)c[a]=g({},u,e(m[a])?m[a]:{})}return c},setTreeValues:d,updateRootId:function(a){if(e(a)){var c=e(a.options)?a.options:{};c=v(a.rootNode,c.rootId,"");e(a.userOptions)&&(a.userOptions.rootId=c);a.rootNode=c}return c}}});w(a,"Extensions/Breadcrumbs.js",[a["Core/Chart/Chart.js"],a["Core/Globals.js"],a["Core/DefaultOptions.js"],a["Core/Utilities.js"],a["Core/FormatUtilities.js"]],function(a,l,d,r,k){var t=k.format;k=r.addEvent;var e=r.objectEach,g=r.extend,v=r.fireEvent,
|
|
23
|
+
c=r.merge,b=r.pick,A=r.defined,y=r.isString;g(d.defaultOptions.lang,{mainBreadcrumb:"Main"});d=function(){function a(b,x){this.group=void 0;this.list=[];this.elementList={};this.isDirty=!0;this.level=0;this.options=void 0;x=c(b.options.drilldown&&b.options.drilldown.drillUpButton,a.defaultBreadcrumbsOptions,b.options.navigation&&b.options.navigation.breadcrumbs,x);this.chart=b;this.options=x||{}}a.prototype.updateProperties=function(a){this.setList(a);this.setLevel();this.isDirty=!0};a.prototype.setList=
|
|
24
|
+
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 c=this.chart,d=this.options,p=c.options.lang,u=b(d.format,d.showFullPath?"{level.name}":"\u2190 {level.name}");p=p&&b(p.drillUpText,p.mainBreadcrumb);a=d.formatter&&d.formatter(a)||t(u,{level:a.levelOptions},c)||"";(y(a)&&!a.length||"\u2190 "===a)&&A(p)&&(a=d.showFullPath?p:"\u2190 "+p);return a};a.prototype.redraw=
|
|
25
|
+
function(){this.isDirty&&this.render();this.group&&this.group.align();this.isDirty=!1};a.prototype.render=function(){var a=this.chart,c=this.options;!this.group&&c&&(this.group=a.renderer.g("breadcrumbs-group").addClass("highcharts-no-tooltip highcharts-breadcrumbs").attr({zIndex:c.zIndex}).add());c.showFullPath?this.renderFullPathButtons():this.renderSingleButton();this.alignBreadcrumbsGroup()};a.prototype.renderFullPathButtons=function(){this.destroySingleButton();this.resetElementListState();this.updateListElements();
|
|
26
|
+
this.destroyListElements()};a.prototype.renderSingleButton=function(){var a=this.chart,c=this.list,b=this.options.buttonSpacing;this.destroyListElements();var d=this.group?this.group.getBBox().width:b;c=c[c.length-2];!a.drillUpButton&&0<this.level?a.drillUpButton=this.renderButton(c,d,b):a.drillUpButton&&(0<this.level?this.updateSingleButton():this.destroySingleButton())};a.prototype.alignBreadcrumbsGroup=function(a){if(this.group){var d=this.options,g=d.buttonTheme,p=d.position,e="chart"===d.relativeTo||
|
|
27
|
+
"spacingBox"===d.relativeTo?void 0:"scrollablePlotBox",u=this.group.getBBox();d=2*(g.padding||0)+d.buttonSpacing;p.width=u.width+d;p.height=u.height+d;p=c(p);a&&(p.x+=a);p.y=b(p.y,this.yOffset,0);this.group.align(p,!0,e)}};a.prototype.renderButton=function(a,b,d){var p=this,g=this.chart,e=p.options,u=c(e.buttonTheme),m=u.states;delete u.states;b=g.renderer.button(p.getButtonText(a),b,d,function(c){var b=e.events&&e.events.click,d;b&&(d=b.call(p,c,a));!1!==d&&(c.newLevel=e.showFullPath?a.level:p.level-
|
|
28
|
+
1,v(p,"up",c))},u,m&&m.hover,m&&m.select,m&&m.disabled).addClass("highcharts-breadcrumbs-button").add(p.group);g.styledMode||b.attr(e.style);return b};a.prototype.renderSeparator=function(a,c){var b=this.chart,d=this.options.separator;a=b.renderer.label(d.text,a,c,void 0,void 0,void 0,!1).addClass("highcharts-breadcrumbs-separator").add(this.group);b.styledMode||a.css(d.style);return a};a.prototype.update=function(a){c(!0,this.options,a);this.destroy();this.isDirty=!0};a.prototype.updateSingleButton=
|
|
29
|
+
function(){var a=this.chart,c=this.list[this.level-1];a.drillUpButton&&a.drillUpButton.attr({text:this.getButtonText(c)})};a.prototype.destroy=function(){this.destroySingleButton();this.destroyListElements(!0);this.group&&this.group.destroy();this.group=void 0};a.prototype.destroyListElements=function(a){var c=this.elementList;e(c,function(b,d){if(a||!c[d].updated)b=c[d],b.button&&b.button.destroy(),b.separator&&b.separator.destroy(),delete b.button,delete b.separator,delete c[d]});a&&(this.elementList=
|
|
30
|
+
{})};a.prototype.destroySingleButton=function(){this.chart.drillUpButton&&(this.chart.drillUpButton.destroy(),this.chart.drillUpButton=void 0)};a.prototype.resetElementListState=function(){e(this.elementList,function(a){a.updated=!1})};a.prototype.updateListElements=function(){var a=function(a,c){return a.getBBox().width+c},c=this,b=c.elementList,d=c.options.buttonSpacing,e=c.list,g=c.group?a(c.group,d):d,m;e.forEach(function(l,p){p=p===e.length-1;if(b[l.level]){m=b[l.level];var k=m.button;m.separator||
|
|
31
|
+
p?m.separator&&p&&(m.separator.destroy(),delete m.separator):(g+=d,m.separator=c.renderSeparator(g,d),g+=a(m.separator,d));b[l.level].updated=!0}else{k=c.renderButton(l,g,d);g+=a(k,d);if(!p){var v=c.renderSeparator(g,d);g+=a(v,d)}b[l.level]={button:k,separator:v,updated:!0}}k&&k.setState(p?2: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",
|
|
32
|
+
position:{align:"left",verticalAlign:"top",x:0,y:void 0},separator:{text:"/",style:{color:"#666666"}},showFullPath:!0,style:{},useHTML:!1,zIndex:7};return a}();l.Breadcrumbs||(l.Breadcrumbs=d,k(a,"getMargins",function(){var a=this.breadcrumbs;if(a&&!a.options.floating&&a.level){var c=a.options,b=c.buttonTheme;b=(b.height||0)+2*(b.padding||0)+c.buttonSpacing;c=c.position.verticalAlign;"bottom"===c?(this.marginBottom=(this.marginBottom||0)+b,a.yOffset=b):"middle"!==c?(this.plotTop+=b,a.yOffset=-b):
|
|
33
|
+
a.yOffset=void 0}}),k(a,"redraw",function(){this.breadcrumbs&&this.breadcrumbs.redraw()}),k(a,"destroy",function(){this.breadcrumbs&&(this.breadcrumbs.destroy(),this.breadcrumbs=void 0)}),k(a,"afterShowResetZoom",function(){if(this.breadcrumbs){var a=this.resetZoomButton&&this.resetZoomButton.getBBox(),c=this.breadcrumbs.options;a&&"right"===c.position.align&&"plotBox"===c.relativeTo&&this.breadcrumbs.alignBreadcrumbsGroup(-a.width-c.buttonSpacing)}}),k(a,"selection",function(a){!0===a.resetSelection&&
|
|
34
|
+
this.breadcrumbs&&this.breadcrumbs.alignBreadcrumbsGroup()}));"";return d});w(a,"Series/Treemap/TreemapComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Series/Treemap/TreemapUtilities.js"],a["Core/Utilities.js"]],function(a,l,d){var r=d.addEvent,k=d.extend,t=!1;r(a.series,"afterBindAxes",function(){var a=this.xAxis,d=this.yAxis;if(a&&d)if(this.is("treemap")){var v={endOnTick:!1,gridLineWidth:0,lineWidth:0,min:0,minPadding:0,max:l.AXIS_MAX,maxPadding:0,startOnTick:!1,title:void 0,tickPositions:[]};
|
|
35
|
+
k(d.options,v);k(a.options,v);t=!0}else t&&(d.setOptions(d.userOptions),a.setOptions(a.userOptions),t=!1)})});w(a,"Series/Treemap/TreemapSeries.js",[a["Core/Color/Color.js"],a["Series/ColorMapMixin.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"]],function(a,
|
|
36
|
+
l,d,r,k,t,e,g,v,c,b){var A=this&&this.__extends||function(){var a=function(c,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var c in f)f.hasOwnProperty(c)&&(a[c]=f[c])};return a(c,f)};return function(c,f){function n(){this.constructor=c}a(c,f);c.prototype=null===f?Object.create(f):(n.prototype=f.prototype,new n)}}(),y=a.parse;a=d.noop;var m=k.series;d=k.seriesTypes;var u=d.column,x=d.heatmap,w=d.scatter,p=v.getColor,R=v.getLevelOptions,
|
|
37
|
+
K=v.updateRootId,D=b.addEvent,H=b.correctFloat,G=b.defined,I=b.error,J=b.extend,N=b.fireEvent,O=b.isArray,T=b.isObject,h=b.isString,E=b.merge,B=b.pick,U=b.stableSort;v=function(a){function b(){var f=null!==a&&a.apply(this,arguments)||this;f.axisRatio=void 0;f.data=void 0;f.mapOptionsToLevel=void 0;f.nodeMap=void 0;f.options=void 0;f.points=void 0;f.rootNode=void 0;f.tree=void 0;f.level=void 0;return f}A(b,a);b.prototype.algorithmCalcPoints=function(a,c,b,d){var f,n,q,h,M=b.lW,g=b.lH,e=b.plot,l=0,
|
|
38
|
+
p=b.elArr.length-1;if(c)M=b.nW,g=b.nH;else var m=b.elArr[b.elArr.length-1];b.elArr.forEach(function(a){if(c||l<p)0===b.direction?(f=e.x,n=e.y,q=M,h=a/q):(f=e.x,n=e.y,h=g,q=a/h),d.push({x:f,y:n,width:q,height:H(h)}),0===b.direction?e.y+=h:e.x+=q;l+=1});b.reset();0===b.direction?b.width-=M:b.height-=g;e.y=e.parent.y+(e.parent.height-b.height);e.x=e.parent.x+(e.parent.width-b.width);a&&(b.direction=1-b.direction);c||b.addElement(m)};b.prototype.algorithmFill=function(a,b,c){var f=[],n,d=b.direction,
|
|
39
|
+
q=b.x,h=b.y,e=b.width,g=b.height,l,p,m,k;c.forEach(function(c){n=c.val/b.val*b.height*b.width;l=q;p=h;0===d?(k=g,m=n/k,e-=m,q+=m):(m=e,k=n/m,g-=k,h+=k);f.push({x:l,y:p,width:m,height:k});a&&(d=1-d)});return f};b.prototype.algorithmLowAspectRatio=function(a,b,c){var f=[],n=this,d,q={x:b.x,y:b.y,parent:b},h=0,e=c.length-1,g=new t(b.height,b.width,b.direction,q);c.forEach(function(c){d=c.val/b.val*b.height*b.width;g.addElement(d);g.lP.nR>g.lP.lR&&n.algorithmCalcPoints(a,!1,g,f,q);h===e&&n.algorithmCalcPoints(a,
|
|
40
|
+
!0,g,f,q);h+=1});return f};b.prototype.alignDataLabel=function(a,b,c){var f=c.style;f&&!G(f.textOverflow)&&b.text&&b.getBBox().width>b.text.textWidth&&b.css({textOverflow:"ellipsis",width:f.width+="px"});u.prototype.alignDataLabel.apply(this,arguments);a.dataLabel&&a.dataLabel.attr({zIndex:(a.node.zIndex||0)+1})};b.prototype.buildNode=function(a,b,c,d,h){var f=this,n=[],q=f.points[b],F=0,e;(d[a]||[]).forEach(function(b){e=f.buildNode(f.points[b].id,b,c+1,d,a);F=Math.max(e.height+1,F);n.push(e)});
|
|
41
|
+
b={id:a,i:b,children:n,height:F,level:c,parent:h,visible:!1};f.nodeMap[b.id]=b;q&&(q.node=b);return b};b.prototype.calculateChildrenAreas=function(a,b){var f=this,c=f.options,d=f.mapOptionsToLevel[a.level+1],n=B(f[d&&d.layoutAlgorithm]&&d.layoutAlgorithm,c.layoutAlgorithm),h=c.alternateStartingDirection,e=[];a=a.children.filter(function(a){return!a.ignore});d&&d.layoutStartingDirection&&(b.direction="vertical"===d.layoutStartingDirection?0:1);e=f[n](b,a);a.forEach(function(a,c){c=e[c];a.values=E(c,
|
|
42
|
+
{val:a.childrenTotal,direction:h?1-b.direction:b.direction});a.pointValues=E(c,{x:c.x/f.axisRatio,y:g.AXIS_MAX-c.y-c.height,width:c.width/f.axisRatio});a.children.length&&f.calculateChildrenAreas(a,a.values)})};b.prototype.createList=function(a){var f=this.chart,b=[];if(f.breadcrumbs){var c=0;b.push({level:c,levelOptions:f.series[0]});f=a.target.nodeMap[a.newRootId];for(var d=[];f.parent||""===f.parent;)d.push(f),f=a.target.nodeMap[f.parent];d.reverse().forEach(function(a){b.push({level:++c,levelOptions:a})});
|
|
43
|
+
1>=b.length&&(b.length=0)}return b};b.prototype.drawDataLabels=function(){var a=this,b=a.mapOptionsToLevel,c,d;a.points.filter(function(a){return a.node.visible}).forEach(function(f){d=b[f.node.level];c={style:{}};f.node.isLeaf||(c.enabled=!1);d&&d.dataLabels&&(c=E(c,d.dataLabels),a._hasPointLabels=!0);f.shapeArgs&&(c.style.width=f.shapeArgs.width,f.dataLabel&&f.dataLabel.css({width:f.shapeArgs.width+"px"}));f.dlOptions=E(c,f.options.dataLabels)});m.prototype.drawDataLabels.call(this)};b.prototype.drawPoints=
|
|
44
|
+
function(){var a=this,b=a.chart,c=b.renderer,d=b.styledMode,h=a.options,e=d?{}:h.shadow,g=h.borderRadius,m=b.pointCount<h.animationLimit,l=h.allowTraversingTree;a.points.forEach(function(b){var f=b.node.levelDynamic,n={},q={},P={},F="level-group-"+b.node.level,Q=!!b.graphic,p=m&&Q,k=b.shapeArgs;b.shouldDraw()&&(b.isInside=!0,g&&(q.r=g),E(!0,p?n:q,Q?k:{},d?{}:a.pointAttribs(b,b.selected?"select":void 0)),a.colorAttribs&&d&&J(P,a.colorAttribs(b)),a[F]||(a[F]=c.g(F).attr({zIndex:1E3-(f||0)}).add(a.group),
|
|
45
|
+
a[F].survive=!0));b.draw({animatableAttribs:n,attribs:q,css:P,group:a[F],renderer:c,shadow:e,shapeArgs:k,shapeType:"rect"});l&&b.graphic&&(b.drillId=h.interactByLeaf?a.drillToByLeaf(b):a.drillToByGroup(b))})};b.prototype.drillToByGroup=function(a){var b=!1;1!==a.node.level-this.nodeMap[this.rootNode].level||a.node.isLeaf||(b=a.id);return b};b.prototype.drillToByLeaf=function(a){var b=!1;if(a.node.parent!==this.rootNode&&a.node.isLeaf)for(a=a.node;!b;)a=this.nodeMap[a.parent],a.parent===this.rootNode&&
|
|
46
|
+
(b=a.id);return b};b.prototype.drillToNode=function(a,b){I(32,!1,void 0,{"treemap.drillToNode":"use treemap.setRootNode"});this.setRootNode(a,b)};b.prototype.drillUp=function(){var a=this.nodeMap[this.rootNode];a&&h(a.parent)&&this.setRootNode(a.parent,!0,{trigger:"traverseUpButton"})};b.prototype.getExtremes=function(){var a=m.prototype.getExtremes.call(this,this.colorValueData),b=a.dataMax;this.valueMin=a.dataMin;this.valueMax=b;return m.prototype.getExtremes.call(this)};b.prototype.getListOfParents=
|
|
47
|
+
function(a,b){a=O(a)?a:[];var c=O(b)?b:[];b=a.reduce(function(a,b,c){b=B(b.parent,"");"undefined"===typeof a[b]&&(a[b]=[]);a[b].push(c);return a},{"":[]});g.eachObject(b,function(a,b,f){""!==b&&-1===c.indexOf(b)&&(a.forEach(function(a){f[""].push(a)}),delete f[b])});return b};b.prototype.getTree=function(){var a=this.data.map(function(a){return a.id});a=this.getListOfParents(this.data,a);this.nodeMap={};return this.buildNode("",-1,0,a)};b.prototype.hasData=function(){return!!this.processedXData.length};
|
|
48
|
+
b.prototype.init=function(a,b){var f=this,d=E(b.drillUpButton,b.breadcrumbs);this.colorAttribs=l.SeriesMixin.colorAttribs;var h=D(f,"setOptions",function(a){a=a.userOptions;G(a.allowDrillToNode)&&!G(a.allowTraversingTree)&&(a.allowTraversingTree=a.allowDrillToNode,delete a.allowDrillToNode);G(a.drillUpButton)&&!G(a.traverseUpButton)&&(a.traverseUpButton=a.drillUpButton,delete a.drillUpButton)});m.prototype.init.call(f,a,b);delete f.opacity;f.eventsToUnbind.push(h);f.options.allowTraversingTree&&(f.eventsToUnbind.push(D(f,
|
|
49
|
+
"click",f.onClickDrillToNode)),f.eventsToUnbind.push(D(f,"setRootNode",function(a){var b=f.chart;b.breadcrumbs&&b.breadcrumbs.updateProperties(f.createList(a))})),f.eventsToUnbind.push(D(f,"update",function(a,b){(b=this.chart.breadcrumbs)&&a.options.breadcrumbs&&b.update(a.options.breadcrumbs)})),f.eventsToUnbind.push(D(f,"destroy",function(a){var b=this.chart;b.breadcrumbs&&(b.breadcrumbs.destroy(),a.keepEventsForUpdate||(b.breadcrumbs=void 0))})));a.breadcrumbs||(a.breadcrumbs=new c(a,d));f.eventsToUnbind.push(D(a.breadcrumbs,
|
|
50
|
+
"up",function(a){a=this.level-a.newLevel;for(var b=0;b<a;b++)f.drillUp()}))};b.prototype.onClickDrillToNode=function(a){var b=(a=a.point)&&a.drillId;h(b)&&(a.setState(""),this.setRootNode(b,!0,{trigger:"click"}))};b.prototype.pointAttribs=function(a,b){var c=T(this.mapOptionsToLevel)?this.mapOptionsToLevel:{},f=a&&c[a.node.level]||{};c=this.options;var d=b&&c.states[b]||{},h=a&&a.getClassName()||"";a={stroke:a&&a.borderColor||f.borderColor||d.borderColor||c.borderColor,"stroke-width":B(a&&a.borderWidth,
|
|
51
|
+
f.borderWidth,d.borderWidth,c.borderWidth),dashstyle:a&&a.borderDashStyle||f.borderDashStyle||d.borderDashStyle||c.borderDashStyle,fill:a&&a.color||this.color};-1!==h.indexOf("highcharts-above-level")?(a.fill="none",a["stroke-width"]=0):-1!==h.indexOf("highcharts-internal-node-interactive")?(b=B(d.opacity,c.opacity),a.fill=y(a.fill).setOpacity(b).get(),a.cursor="pointer"):-1!==h.indexOf("highcharts-internal-node")?a.fill="none":b&&(a.fill=y(a.fill).brighten(d.brightness).get());return a};b.prototype.setColorRecursive=
|
|
52
|
+
function(a,b,c,d,h){var f=this,e=f&&f.chart;e=e&&e.options&&e.options.colors;if(a){var g=p(a,{colors:e,index:d,mapOptionsToLevel:f.mapOptionsToLevel,parentColor:b,parentColorIndex:c,series:f,siblings:h});if(b=f.points[a.i])b.color=g.color,b.colorIndex=g.colorIndex;(a.children||[]).forEach(function(b,c){f.setColorRecursive(b,g.color,g.colorIndex,c,a.children.length)})}};b.prototype.setPointValues=function(){var a=this,b=a.xAxis,c=a.yAxis,d=a.chart.styledMode;a.points.forEach(function(f){var h=f.node,
|
|
53
|
+
e=h.pointValues;h=h.visible;if(e&&h){h=e.height;var g=e.width,m=e.x,n=e.y,l=d?0:(a.pointAttribs(f)["stroke-width"]||0)%2/2;e=Math.round(b.toPixels(m,!0))-l;g=Math.round(b.toPixels(m+g,!0))-l;m=Math.round(c.toPixels(n,!0))-l;h=Math.round(c.toPixels(n+h,!0))-l;h={x:Math.min(e,g),y:Math.min(m,h),width:Math.abs(g-e),height:Math.abs(h-m)};f.plotX=h.x+h.width/2;f.plotY=h.y+h.height/2;f.shapeArgs=h}else delete f.plotX,delete f.plotY})};b.prototype.setRootNode=function(a,b,c){a=J({newRootId:a,previousRootId:this.rootNode,
|
|
54
|
+
redraw:B(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()})};b.prototype.setState=function(a){this.options.inactiveOtherPoints=!0;m.prototype.setState.call(this,a,!1);this.options.inactiveOtherPoints=!1};b.prototype.setTreeValues=function(a){var b=this,c=b.options,f=b.nodeMap[b.rootNode];c=g.isBoolean(c.levelIsConstant)?c.levelIsConstant:!0;var d=0,h=[],e=b.points[a.i];a.children.forEach(function(a){a=
|
|
55
|
+
b.setTreeValues(a);h.push(a);a.ignore||(d+=a.val)});U(h,function(a,b){return(a.sortIndex||0)-(b.sortIndex||0)});var m=B(e&&e.options.value,d);e&&(e.value=m);J(a,{children:h,childrenTotal:d,ignore:!(B(e&&e.visible,!0)&&0<m),isLeaf:a.visible&&!d,levelDynamic:a.level-(c?0:f.level),name:B(e&&e.name,""),sortIndex:B(e&&e.sortIndex,-m),val:m});return a};b.prototype.sliceAndDice=function(a,b){return this.algorithmFill(!0,a,b)};b.prototype.squarified=function(a,b){return this.algorithmLowAspectRatio(!0,a,
|
|
56
|
+
b)};b.prototype.strip=function(a,b){return this.algorithmLowAspectRatio(!1,a,b)};b.prototype.stripes=function(a,b){return this.algorithmFill(!1,a,b)};b.prototype.translate=function(){var a=this,b=a.options,c=K(a);m.prototype.translate.call(a);var d=a.tree=a.getTree();var h=a.nodeMap[c];""===c||h&&h.children.length||(a.setRootNode("",!1),c=a.rootNode,h=a.nodeMap[c]);a.mapOptionsToLevel=R({from:h.level+1,levels:b.levels,to:d.height,defaults:{levelIsConstant:a.options.levelIsConstant,colorByPoint:b.colorByPoint}});
|
|
57
|
+
g.recursive(a.nodeMap[a.rootNode],function(b){var c=!1,d=b.parent;b.visible=!0;if(d||""===d)c=a.nodeMap[d];return c});g.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,width:g.AXIS_MAX,height:g.AXIS_MAX};a.nodeMap[""].values=c=E(c,{width:c.width*a.axisRatio,direction:"vertical"===b.layoutStartingDirection?
|
|
58
|
+
0:1,val:d.val});a.calculateChildrenAreas(d,c);a.colorAxis||b.colorByPoint||a.setColorRecursive(a.tree);b.allowTraversingTree&&(b=h.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()};b.defaultOptions=E(w.defaultOptions,{allowTraversingTree:!1,animationLimit:250,borderRadius:0,showInLegend:!1,marker:void 0,colorByPoint:!1,dataLabels:{defer:!1,enabled:!0,formatter:function(){var a=this&&this.point?this.point:
|
|
59
|
+
{};return h(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",borderWidth:1,colorKey:"colorValue",opacity:.15,states:{hover:{borderColor:"#999999",brightness:x?0:.1,halo:!1,opacity:.75,shadow:!1}}});return b}(w);
|
|
60
|
+
J(v.prototype,{buildKDTree:a,colorKey:"colorValue",directTouch:!0,drawLegendSymbol:r.drawRectangle,getExtremesFromAll:!0,getSymbol:a,optionalAxis:"colorAxis",parallelArrays:["x","y","value","colorValue"],pointArrayMap:["value"],pointClass:e,trackerGroups:["group","dataLabelsGroup"],utils:{recursive:g.recursive}});k.registerSeriesType("treemap",v);"";return v});w(a,"Series/Sunburst/SunburstPoint.js",[a["Series/DrawPointComposition.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,
|
|
61
|
+
l,d){var r=this&&this.__extends||function(){var a=function(d,e){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,e)};return function(d,e){function c(){this.constructor=d}a(d,e);d.prototype=null===e?Object.create(e):(c.prototype=e.prototype,new c)}}(),k=l.series.prototype.pointClass,t=d.correctFloat;d=d.extend;l=function(a){function d(){var d=null!==a&&a.apply(this,arguments)||this;d.node=
|
|
62
|
+
void 0;d.options=void 0;d.series=void 0;d.shapeExisting=void 0;return d}r(d,a);d.prototype.getDataLabelPath=function(a){var c=this.series.chart.renderer,b=this.shapeExisting,d=b.start,e=b.end,g=d+(e-d)/2;g=0>g&&g>-Math.PI||g>Math.PI;var l=b.r+(a.options.distance||0);d===-Math.PI/2&&t(e)===t(1.5*Math.PI)&&(d=-Math.PI+Math.PI/360,e=-Math.PI/360,g=!0);if(e-d>Math.PI){g=!1;var k=!0}this.dataLabelPath&&(this.dataLabelPath=this.dataLabelPath.destroy());this.dataLabelPath=c.arc({open:!0,longArc:k?1:0}).add(a);
|
|
63
|
+
this.dataLabelPath.attr({start:g?d:e,end:g?e:d,clockwise:+g,x:b.x,y:b.y,r:(l+b.innerR)/2});return this.dataLabelPath};d.prototype.isValid=function(){return!0};return d}(l.seriesTypes.treemap.prototype.pointClass);d(l.prototype,{getClassName:k.prototype.getClassName,haloPath:k.prototype.haloPath,setState:k.prototype.setState});a.compose(l);return l});w(a,"Series/Sunburst/SunburstUtilities.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,l){var d=a.seriesTypes.treemap,r=l.isNumber,
|
|
64
|
+
k=l.isObject,t=l.merge,e;(function(a){function e(a,b){var c=[];if(r(a)&&r(b)&&a<=b)for(;a<=b;a++)c.push(a);return c}a.recursive=d.prototype.utils.recursive;a.calculateLevelSizes=function(a,b){b=k(b)?b:{};var c=0,d;if(k(a)){var g=t({},a);a=r(b.from)?b.from:0;var l=r(b.to)?b.to:0;var v=e(a,l);a=Object.keys(g).filter(function(a){return-1===v.indexOf(+a)});var w=d=r(b.diffRadius)?b.diffRadius:0;v.forEach(function(a){a=g[a];var b=a.levelSize.unit,e=a.levelSize.value;"weight"===b?c+=e:"percentage"===b?
|
|
65
|
+
(a.levelSize={unit:"pixels",value:e/100*w},d-=a.levelSize.value):"pixels"===b&&(d-=e)});v.forEach(function(a){var b=g[a];"weight"===b.levelSize.unit&&(b=b.levelSize.value,g[a].levelSize={unit:"pixels",value:b/c*d})});a.forEach(function(a){g[a].levelSize={value:0,unit:"pixels"}})}return g};a.getLevelFromAndTo=function(a){var b=a.level;return{from:0<b?b:1,to:b+a.height}};a.range=e})(e||(e={}));return e});w(a,"Series/Sunburst/SunburstSeries.js",[a["Series/CenteredUtilities.js"],a["Core/Globals.js"],
|
|
66
|
+
a["Core/Series/SeriesRegistry.js"],a["Series/Sunburst/SunburstPoint.js"],a["Series/Sunburst/SunburstUtilities.js"],a["Series/TreeUtilities.js"],a["Core/Utilities.js"]],function(a,l,d,r,k,t,e){function g(a,b){var c=b.mapIdToNode[a.parent],d=b.series,e=d.chart,g=d.points[a.i];c=u(a,{colors:d.options.colors||e&&e.options.colors,colorIndex:d.colorIndex,index:b.index,mapOptionsToLevel:b.mapOptionsToLevel,parentColor:c&&c.color,parentColorIndex:c&&c.colorIndex,series:b.series,siblings:b.siblings});a.color=
|
|
67
|
+
c.color;a.colorIndex=c.colorIndex;g&&(g.color=a.color,g.colorIndex=a.colorIndex,a.sliced=a.id!==b.idRoot?g.sliced:!1);return a}var v=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)&&(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,b=
|
|
68
|
+
a.getStartAndEndRadians;a=l.noop;var w=d.series,y=d.seriesTypes;l=y.column;var m=y.treemap,u=t.getColor,x=t.getLevelOptions,C=t.setTreeValues,p=t.updateRootId,K=e.error,L=e.extend,D=e.isNumber,H=e.isObject,G=e.isString,I=e.merge,J=e.splat,N=180/Math.PI;t=function(a){function d(){var b=null!==a&&a.apply(this,arguments)||this;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}
|
|
69
|
+
v(d,a);d.prototype.alignDataLabel=function(b,c,d){if(!d.textPath||!d.textPath.enabled)return a.prototype.alignDataLabel.apply(this,arguments)};d.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,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))};d.prototype.drawPoints=function(){var a=
|
|
70
|
+
this,b=a.mapOptionsToLevel,c=a.shapeRoot,d=a.group,e=a.hasRendered,g=a.rootNode,f=a.idPreviousRoot,l=a.nodeMap,k=l[f],m=k&&k.shapeArgs;k=a.points;var p=a.startAndEndRadians,r=a.chart,t=r&&r.options&&r.options.chart||{},v="boolean"===typeof t.animation?t.animation:!0,u=a.center[3]/2,y=a.chart.renderer,x=!1,A=!1;if(t=!!(v&&e&&g!==f&&a.dataLabelsGroup)){a.dataLabelsGroup.attr({opacity:0});var C=function(){x=!0;a.dataLabelsGroup&&a.dataLabelsGroup.animate({opacity:1,visibility:"visible"})}}k.forEach(function(h){var k=
|
|
71
|
+
h.node,n=b[k.level];var t=h.shapeExisting||{};var q=k.shapeArgs||{},w=!(!k.visible||!k.shapeArgs);if(e&&v){var B={};var E={end:q.end,start:q.start,innerR:q.innerR,r:q.r,x:q.x,y:q.y};w?!h.graphic&&m&&(B=g===h.id?{start:p.start,end:p.end}:m.end<=q.start?{start:p.end,end:p.end}:{start:p.start,end:p.start},B.innerR=B.r=u):h.graphic&&(f===h.id?E={innerR:u,r:u}:c&&(E=c.end<=t.start?{innerR:u,r:u,start:p.end,end:p.end}:{innerR:u,r:u,start:p.start,end:p.start}));t=B}else E=q,t={};B=[q.plotX,q.plotY];if(!h.node.isLeaf)if(g===
|
|
72
|
+
h.id){var z=l[g];z=z.parent}else z=h.id;L(h,{shapeExisting:q,tooltipPos:B,drillId:z,name:""+(h.name||h.id||h.index),plotX:q.plotX,plotY:q.plotY,value:k.val,isInside:w,isNull:!w});z=h.options;k=H(q)?q:{};z=H(z)?z.dataLabels:{};n=J(H(n)?n.dataLabels:{})[0];n=I({style:{}},n,z);z=n.rotationMode;if(!D(n.rotation)){if("auto"===z||"circular"===z)if(1>h.innerArcLength&&h.outerArcLength>k.radius){var x=0;h.dataLabelPath&&"circular"===z&&(n.textPath={enabled:!0})}else 1<h.innerArcLength&&h.outerArcLength>1.5*
|
|
73
|
+
k.radius?"circular"===z?n.textPath={enabled:!0,attributes:{dy:5}}:z="parallel":(h.dataLabel&&h.dataLabel.textPathWrapper&&"circular"===z&&(n.textPath={enabled:!1}),z="perpendicular");"auto"!==z&&"circular"!==z&&(x=k.end-(k.end-k.start)/2);n.style.width="parallel"===z?Math.min(2.5*k.radius,(h.outerArcLength+h.innerArcLength)/2):k.radius;"perpendicular"===z&&h.series.chart.renderer.fontMetrics(n.style.fontSize).h>h.outerArcLength&&(n.style.width=1);n.style.width=Math.max(n.style.width-2*(n.padding||
|
|
74
|
+
0),1);x=x*N%180;"parallel"===z&&(x-=90);90<x?x-=180:-90>x&&(x+=180);n.rotation=x}n.textPath&&(0===h.shapeExisting.innerR&&n.textPath.enabled?(n.rotation=0,n.textPath.enabled=!1,n.style.width=Math.max(2*h.shapeExisting.r-2*(n.padding||0),1)):h.dlOptions&&h.dlOptions.textPath&&!h.dlOptions.textPath.enabled&&"circular"===z&&(n.textPath.enabled=!0),n.textPath.enabled&&(n.rotation=0,n.style.width=Math.max((h.outerArcLength+h.innerArcLength)/2-2*(n.padding||0),1)));0===n.rotation&&(n.rotation=.001);h.dlOptions=
|
|
75
|
+
n;if(!A&&w){A=!0;var S=C}h.draw({animatableAttribs:E,attribs:L(t,!r.styledMode&&a.pointAttribs(h,h.selected&&"select")),onComplete:S,group:d,renderer:y,shapeType:"arc",shapeArgs:q})});t&&A?(a.hasRendered=!1,a.options.dataLabels.defer=!0,w.prototype.drawDataLabels.call(a),a.hasRendered=!0,x&&C()):w.prototype.drawDataLabels.call(a)};d.prototype.layoutAlgorithm=function(a,b,c){var d=a.start,e=a.end-d,h=a.val,f=a.x,g=a.y,k=c&&H(c.levelSize)&&D(c.levelSize.value)?c.levelSize.value:0,l=a.r,m=l+k,p=c&&D(c.slicedOffset)?
|
|
76
|
+
c.slicedOffset:0;return(b||[]).reduce(function(a,b){var c=1/h*b.val*e,n=d+c/2,q=f+Math.cos(n)*p;n=g+Math.sin(n)*p;b={x:b.sliced?q:f,y:b.sliced?n:g,innerR:l,r:m,radius:k,start:d,end:d+c};a.push(b);d=b.end;return a},[])};d.prototype.setShapeArgs=function(a,b,c){var d=[],e=c[a.level+1];a=a.children.filter(function(a){return a.visible});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,h=b.end-b.start;f=0===b.innerR&&6.28<h?{x:b.x,
|
|
77
|
+
y:b.y}:{x:b.x+Math.cos(e)*f,y:b.y+Math.sin(e)*f};var g=a.val?a.childrenTotal>a.val?a.childrenTotal:a.val:a.childrenTotal;this.points[a.i]&&(this.points[a.i].innerArcLength=h*b.innerR,this.points[a.i].outerArcLength=h*b.r);a.shapeArgs=I(b,{plotX:f.x,plotY:f.y+4*Math.abs(Math.cos(e))});a.values=I(b,{val:g});a.children.length&&this.setShapeArgs(a,a.values,c)},this)};d.prototype.translate=function(){var a=this,d=a.options,e=a.center=c.call(a),l=a.startAndEndRadians=b(d.startAngle,d.endAngle),m=e[3]/2,
|
|
78
|
+
t=e[2]/2-m,f=p(a),n=a.nodeMap,q=n&&n[f],r={};a.shapeRoot=q&&q.shapeArgs;w.prototype.translate.call(a);var v=a.tree=a.getTree();n=a.nodeMap;q=n[f];var u=G(q.parent)?q.parent:"";u=n[u];var y=k.getLevelFromAndTo(q);var A=y.from,D=y.to;y=x({from:A,levels:a.options.levels,to:D,defaults:{colorByPoint:d.colorByPoint,dataLabels:d.dataLabels,levelIsConstant:d.levelIsConstant,levelSize:d.levelSize,slicedOffset:d.slicedOffset}});y=k.calculateLevelSizes(y,{diffRadius:t,from:A,to:D});C(v,{before:g,idRoot:f,levelIsConstant:d.levelIsConstant,
|
|
79
|
+
mapOptionsToLevel:y,mapIdToNode:n,points:a.points,series:a});d=n[""].shapeArgs={end:l.end,r:m,start:l.start,val:q.val,x:e[0],y:e[1]};this.setShapeArgs(u,d,y);a.mapOptionsToLevel=y;a.data.forEach(function(b){r[b.id]&&K(31,!1,a.chart);r[b.id]=!0});r={}};d.defaultOptions=I(m.defaultOptions,{center:["50%","50%"],colorByPoint:!1,opacity:1,dataLabels:{allowOverlap:!0,defer:!0,rotationMode:"auto",style:{textOverflow:"ellipsis"}},rootId:void 0,levelIsConstant:!0,levelSize:{value:1,unit:"weight"},slicedOffset:10});
|
|
80
|
+
return d}(m);L(t.prototype,{drawDataLabels:a,pointAttribs:l.prototype.pointAttribs,pointClass:r,utils:k});d.registerSeriesType("sunburst",t);"";return t});w(a,"masters/modules/sunburst.src.js",[],function(){})});
|
|
69
81
|
//# sourceMappingURL=sunburst.js.map
|