highcharts 13.0.0 → 13.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/highcharts.css +2 -1
- package/es-modules/Accessibility/A11yI18n.js +4 -4
- package/es-modules/Accessibility/Accessibility.js +38 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +6 -4
- package/es-modules/Accessibility/Components/LegendComponent.js +3 -4
- package/es-modules/Accessibility/Components/NavigatorComponent.js +3 -4
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +13 -10
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +8 -4
- package/es-modules/Accessibility/Components/ZoomComponent.js +2 -2
- package/es-modules/Accessibility/FocusBorder.js +2 -2
- package/es-modules/Accessibility/Options/A11yDefaults.js +12 -3
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +1 -2
- package/es-modules/Accessibility/ProxyElement.js +1 -0
- package/es-modules/Core/Animation/AnimationUtilities.js +34 -43
- package/es-modules/Core/Animation/Fx.js +16 -19
- package/es-modules/Core/Axis/Axis.js +49 -59
- package/es-modules/Core/Axis/Axis3DComposition.js +8 -6
- package/es-modules/Core/Axis/AxisDefaults.js +12 -2
- package/es-modules/Core/Axis/BrokenAxis.js +6 -5
- package/es-modules/Core/Axis/Color/ColorAxis.js +24 -12
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -3
- package/es-modules/Core/Axis/GridAxis.js +12 -5
- package/es-modules/Core/Axis/LogarithmicAxis.js +5 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/OrdinalAxis.js +21 -11
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -2
- package/es-modules/Core/Axis/RadialAxis.js +23 -22
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -3
- package/es-modules/Core/Axis/Stacking/StackItem.js +5 -5
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +5 -6
- package/es-modules/Core/Axis/Tick.js +10 -11
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +1 -1
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -3
- package/es-modules/Core/Chart/Chart.js +58 -53
- package/es-modules/Core/Chart/Chart3D.js +3 -3
- package/es-modules/Core/Chart/ChartDefaults.js +24 -1
- package/es-modules/Core/Chart/MapChart.js +7 -10
- package/es-modules/Core/Chart/StockChart.js +15 -11
- package/es-modules/Core/Color/Color.js +3 -1
- package/es-modules/Core/Defaults.js +44 -2
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +20 -17
- package/es-modules/Core/Legend/LegendSymbol.js +2 -2
- package/es-modules/Core/MSPointer.js +2 -2
- package/es-modules/Core/Math3D.js +6 -7
- package/es-modules/Core/Pointer.js +20 -10
- package/es-modules/Core/Renderer/HTML/AST.js +5 -1
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +23 -16
- package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +12 -11
- package/es-modules/Core/Renderer/SVG/SVGElement3D.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +6 -6
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +13 -12
- package/es-modules/Core/Renderer/SVG/Symbols.js +6 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Responsive.js +7 -5
- package/es-modules/Core/Series/DataLabel.js +9 -8
- package/es-modules/Core/Series/OverlappingDataLabels.js +5 -2
- package/es-modules/Core/Series/Point.js +31 -24
- package/es-modules/Core/Series/Series.js +125 -82
- package/es-modules/Core/Series/Series3D.js +2 -2
- package/es-modules/Core/Series/SeriesDefaults.js +33 -0
- package/es-modules/Core/Templating.js +18 -15
- package/es-modules/Core/Tooltip.js +12 -9
- package/es-modules/Core/Utilities.js +4 -3
- package/es-modules/Data/Connectors/DataConnector.js +2 -2
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
- package/es-modules/Data/DataTable.js +17 -0
- package/es-modules/Data/DataTableCore.js +1 -1
- package/es-modules/Extensions/Annotations/Annotation.js +5 -6
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -2
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +4 -4
- package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +2 -2
- package/es-modules/Extensions/Annotations/EventEmitter.js +4 -4
- package/es-modules/Extensions/Annotations/MockPoint.js +7 -9
- package/es-modules/Extensions/Annotations/NavigationBindings.js +6 -3
- package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +31 -4
- package/es-modules/Extensions/Annotations/Popup/Popup.js +3 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +6 -8
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -4
- package/es-modules/Extensions/Annotations/Types/Measure.js +28 -10
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +4 -2
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +3 -1
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +3 -3
- package/es-modules/Extensions/Boost/Boost.js +13 -0
- package/es-modules/Extensions/Boost/BoostChart.js +11 -4
- package/es-modules/Extensions/Boost/BoostSeries.js +17 -11
- package/es-modules/Extensions/Boost/WGLRenderer.js +9 -6
- package/es-modules/Extensions/Boost/WGLShader.js +3 -3
- package/es-modules/Extensions/BoostCanvas.js +2 -2
- package/es-modules/Extensions/BorderRadius.js +12 -10
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -5
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +2 -2
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +4 -3
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +2 -2
- package/es-modules/Extensions/DraggablePoints/DragDropProps.js +2 -3
- package/es-modules/Extensions/DraggablePoints/DraggableChart.js +1 -2
- package/es-modules/Extensions/Drilldown/Drilldown.js +1 -2
- package/es-modules/Extensions/Drilldown/DrilldownSeries.js +1 -2
- package/es-modules/Extensions/ExportData/ExportData.js +21 -16
- package/es-modules/Extensions/Exporting/Exporting.js +28 -28
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +32 -0
- package/es-modules/Extensions/MarkerClusters/MarkerClusterScatter.js +1 -2
- package/es-modules/Extensions/MarkerClusters/MarkerClusters.js +1 -2
- package/es-modules/Extensions/MouseWheelZoom/MouseWheelZoom.js +2 -2
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +31 -4
- package/es-modules/Extensions/Pane/PaneComposition.js +2 -2
- package/es-modules/Extensions/Pane/PaneDefaults.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -2
- package/es-modules/Extensions/ParallelCoordinates/ParallelCoordinates.js +3 -0
- package/es-modules/Extensions/PatternFill.js +7 -5
- package/es-modules/Extensions/PriceIndication.js +5 -4
- package/es-modules/Extensions/ScrollablePlotArea.js +8 -2
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +8 -9
- package/es-modules/Extensions/Sonification/MIDI.js +2 -3
- package/es-modules/Extensions/Sonification/Sonification.js +2 -2
- package/es-modules/Extensions/Sonification/SonificationSpeaker.js +3 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +4 -4
- package/es-modules/Extensions/Sonification/TimelineFromChart.js +11 -11
- package/es-modules/Gantt/Legacy.js +2 -2
- package/es-modules/Gantt/Pathfinder.js +3 -3
- package/es-modules/Gantt/PathfinderAlgorithms.js +4 -3
- package/es-modules/Gantt/Tree.js +1 -1
- package/es-modules/Maps/GeoJSONComposition.js +14 -1
- package/es-modules/Maps/MapNavigation.js +4 -4
- package/es-modules/Maps/MapPointer.js +2 -2
- package/es-modules/Maps/MapView.js +3 -3
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +8 -6
- package/es-modules/Series/Area/AreaSeries.js +4 -5
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +87 -147
- package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +42 -4
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +10 -6
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +40 -32
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +33 -1
- package/es-modules/Series/Bubble/BubbleLegendItem.js +10 -6
- package/es-modules/Series/Bubble/BubbleSeries.js +25 -9
- package/es-modules/Series/Bullet/BulletSeries.js +17 -10
- package/es-modules/Series/Candlestick/CandlestickSeries.js +3 -3
- package/es-modules/Series/CenteredUtilities.js +12 -9
- package/es-modules/Series/ColorMapComposition.js +7 -4
- package/es-modules/Series/Column/ColumnPoint.js +2 -0
- package/es-modules/Series/Column/ColumnSeries.js +14 -14
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +4 -2
- package/es-modules/Series/Column3D/Column3DComposition.js +22 -19
- package/es-modules/Series/ColumnPyramid/ColumnPyramidPoint.js +18 -0
- package/es-modules/Series/ColumnPyramid/ColumnPyramidPointOptions.js +12 -0
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +7 -6
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesOptions.js +12 -0
- package/es-modules/Series/ColumnRange/ColumnRangePoint.js +2 -0
- package/es-modules/Series/ColumnRange/ColumnRangePointOptions.js +12 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +13 -144
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +148 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesOptions.js +12 -0
- package/es-modules/Series/Contour/ContourPoint.js +2 -0
- package/es-modules/Series/Contour/ContourSeries.js +1 -0
- package/es-modules/Series/Contour/ContourSeriesDefaults.js +7 -0
- package/es-modules/Series/Contour/ContourShader.js +9 -1
- package/es-modules/Series/CrossSymbol.js +3 -2
- package/es-modules/Series/Cylinder/CylinderComposition.js +12 -12
- package/es-modules/Series/Cylinder/CylinderPoint.js +2 -0
- package/es-modules/Series/Cylinder/CylinderPointOptions.js +15 -0
- package/es-modules/Series/Cylinder/CylinderSeries.js +2 -1
- package/es-modules/Series/Cylinder/CylinderSeriesOptions.js +15 -0
- package/es-modules/Series/Cylinder/SVGElement3DCylinder.js +2 -0
- package/es-modules/Series/DataModifyComposition.js +9 -7
- package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +3 -1
- package/es-modules/Series/DependencyWheel/DependencyWheelPointOptions.js +14 -0
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +8 -8
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesOptions.js +14 -0
- package/es-modules/Series/DerivedComposition.js +9 -8
- package/es-modules/Series/DotPlot/DotPlotPoint.js +18 -0
- package/es-modules/Series/DotPlot/DotPlotPointOptions.js +12 -0
- package/es-modules/Series/DotPlot/DotPlotSeries.js +6 -4
- package/es-modules/Series/DotPlot/DotPlotSeriesOptions.js +12 -0
- package/es-modules/Series/DragNodesComposition.js +11 -8
- package/es-modules/Series/DrawPointUtilities.js +3 -1
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +19 -6
- package/es-modules/Series/Dumbbell/DumbbellPointOptions.js +12 -0
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +33 -15
- package/es-modules/Series/Dumbbell/DumbbellSeriesOptions.js +12 -0
- package/es-modules/Series/ErrorBar/ErrorBarPoint.js +18 -0
- package/es-modules/Series/ErrorBar/ErrorBarPointOptions.js +12 -0
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +6 -9
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +15 -1
- package/es-modules/Series/ErrorBar/ErrorBarSeriesOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSeries.js +5 -14
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +2 -1
- package/es-modules/Series/FlowMap/FlowMapPoint.js +5 -3
- package/es-modules/Series/FlowMap/FlowMapSeries.js +17 -9
- package/es-modules/Series/Funnel/FunnelSeries.js +25 -26
- package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +12 -0
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +7 -5
- package/es-modules/Series/Gantt/GanttSeries.js +2 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +2 -2
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +9 -9
- package/es-modules/Series/GraphLayoutComposition.js +3 -3
- package/es-modules/Series/Heatmap/HeatmapPoint.js +6 -6
- package/es-modules/Series/Heatmap/HeatmapPointOptions.js +12 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +13 -13
- package/es-modules/Series/Heatmap/HeatmapSeriesOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramPoint.js +17 -0
- package/es-modules/Series/Histogram/HistogramPointOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramSeries.js +15 -3
- package/es-modules/Series/Histogram/HistogramSeriesOptions.js +12 -0
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +9 -9
- package/es-modules/Series/InterpolationUtilities.js +5 -5
- package/es-modules/Series/Item/ItemPointOptions.js +14 -0
- package/es-modules/Series/Item/ItemSeries.js +18 -6
- package/es-modules/Series/Item/ItemSeriesOptions.js +14 -0
- package/es-modules/Series/Map/MapPoint.js +5 -3
- package/es-modules/Series/Map/MapSeries.js +6 -10
- package/es-modules/Series/Map/MapSeriesDefaults.js +11 -1
- package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +3 -3
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +14 -9
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +12 -0
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +18 -9
- package/es-modules/Series/NodesComposition.js +9 -10
- package/es-modules/Series/OHLC/OHLCPoint.js +2 -2
- package/es-modules/Series/OHLC/OHLCSeries.js +1 -0
- package/es-modules/Series/Organization/OrganizationPoint.js +3 -2
- package/es-modules/Series/Organization/OrganizationSeries.js +29 -7
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +11 -4
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +5 -5
- package/es-modules/Series/Pictorial/PictorialSeries.js +4 -2
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PiePoint.js +3 -4
- package/es-modules/Series/Pie/PieSeries.js +3 -2
- package/es-modules/Series/Pie3D/Pie3DSeries.js +8 -4
- package/es-modules/Series/PolarComposition.js +13 -14
- package/es-modules/Series/Polygon/PolygonSeries.js +2 -2
- package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +20 -0
- package/es-modules/Series/RangeDataLabel.js +128 -0
- package/es-modules/Series/Sankey/SankeySeries.js +13 -7
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +2 -2
- package/es-modules/Series/Scatter/ScatterSeries.js +6 -5
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +2 -0
- package/es-modules/Series/SimulationSeriesUtilities.js +1 -2
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +4 -4
- package/es-modules/Series/Spline/SplineSeries.js +5 -5
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +8 -0
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +20 -12
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +2 -1
- package/es-modules/Series/Tilemap/TilemapShapes.js +2 -2
- package/es-modules/Series/Timeline/TimelinePoint.js +2 -2
- package/es-modules/Series/Timeline/TimelineSeries.js +13 -6
- package/es-modules/Series/TreeUtilities.js +16 -7
- package/es-modules/Series/Treegraph/TreegraphLink.js +2 -2
- package/es-modules/Series/Treegraph/TreegraphSeries.js +22 -13
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +14 -11
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +22 -1
- package/es-modules/Series/VariablePie/VariablePieSeries.js +6 -4
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +3 -2
- package/es-modules/Series/Variwide/VariwideSeries.js +2 -2
- package/es-modules/Series/Vector/VectorSeries.js +7 -9
- package/es-modules/Series/Venn/VennSeries.js +3 -4
- package/es-modules/Series/Waterfall/WaterfallSeries.js +3 -3
- package/es-modules/Series/Windbarb/WindbarbSeries.js +8 -10
- package/es-modules/Series/XRange/XRangeSeries.js +8 -8
- package/es-modules/Shared/TimeBase.js +13 -8
- package/es-modules/Shared/Utilities.js +9 -7
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -2
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -2
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +4 -4
- package/es-modules/Stock/Navigator/Navigator.js +26 -26
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +9 -2
- package/es-modules/Stock/Navigator/NavigatorSymbols.js +2 -1
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +55 -14
- package/es-modules/Stock/RangeSelector/RangeSelector.js +15 -11
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +3 -3
- package/es-modules/Stock/Scrollbar/Scrollbar.js +8 -7
- package/es-modules/Stock/StockTools/StockToolbar.js +6 -6
- package/es-modules/Stock/StockTools/StockTools.js +2 -2
- package/es-modules/Stock/StockTools/StockToolsBindings.js +7 -7
- package/es-modules/Stock/StockTools/StockToolsGui.js +6 -4
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-autoload.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 +13 -8
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.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/contour.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-sorting.src.js +1 -1
- package/es-modules/masters/modules/data-tools.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 +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/flowmap.src.js +2 -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/geoheatmap.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 +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.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/non-cartesian-zoom.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/organization.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/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.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/renko.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 +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 +3 -2
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.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 +1 -1
- 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 +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/standalone-navigator.src.js +1 -1
- package/es-modules/masters/themes/adaptive.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/high-contrast.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +2 -2
- package/esm/highcharts-3d.src.js +78 -55
- package/esm/highcharts-autoload.js +2 -2
- package/esm/highcharts-autoload.src.js +22 -8
- package/esm/highcharts-gantt.js +2 -2
- package/esm/highcharts-gantt.src.js +1 -24
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +1198 -981
- package/esm/highcharts.js +5 -5
- package/esm/highcharts.src.js +702 -515
- package/esm/highmaps.js +2 -2
- package/esm/highmaps.src.js +1 -24
- package/esm/highstock.js +2 -2
- package/esm/highstock.src.js +1 -24
- package/esm/i18n/fr-FR.js +2 -2
- package/esm/i18n/fr-FR.src.js +22 -8
- package/esm/i18n/nb-NO.js +2 -2
- package/esm/i18n/nb-NO.src.js +22 -8
- package/esm/i18n/zh-CN.js +2 -2
- package/esm/i18n/zh-CN.src.js +22 -8
- package/esm/indicators/acceleration-bands.js +2 -2
- package/esm/indicators/acceleration-bands.src.js +22 -8
- package/esm/indicators/accumulation-distribution.js +2 -2
- package/esm/indicators/accumulation-distribution.src.js +22 -8
- package/esm/indicators/ao.js +2 -2
- package/esm/indicators/ao.src.js +22 -8
- package/esm/indicators/apo.js +2 -2
- package/esm/indicators/apo.src.js +22 -8
- package/esm/indicators/aroon-oscillator.js +2 -2
- package/esm/indicators/aroon-oscillator.src.js +22 -8
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +24 -10
- package/esm/indicators/atr.js +2 -2
- package/esm/indicators/atr.src.js +22 -8
- package/esm/indicators/bollinger-bands.js +2 -2
- package/esm/indicators/bollinger-bands.src.js +22 -8
- package/esm/indicators/cci.js +2 -2
- package/esm/indicators/cci.src.js +22 -8
- package/esm/indicators/chaikin.js +2 -2
- package/esm/indicators/chaikin.src.js +22 -8
- package/esm/indicators/cmf.js +2 -2
- package/esm/indicators/cmf.src.js +22 -8
- package/esm/indicators/cmo.js +2 -2
- package/esm/indicators/cmo.src.js +22 -8
- package/esm/indicators/dema.js +2 -2
- package/esm/indicators/dema.src.js +22 -8
- package/esm/indicators/disparity-index.js +2 -2
- package/esm/indicators/disparity-index.src.js +22 -8
- package/esm/indicators/dmi.js +2 -2
- package/esm/indicators/dmi.src.js +22 -8
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +25 -10
- package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
- package/esm/indicators/ichimoku-kinko-hyo.src.js +22 -8
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +31 -17
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +24 -10
- package/esm/indicators/keltner-channels.js +2 -2
- package/esm/indicators/keltner-channels.src.js +22 -8
- package/esm/indicators/klinger.js +2 -2
- package/esm/indicators/klinger.src.js +22 -8
- package/esm/indicators/macd.js +2 -2
- package/esm/indicators/macd.src.js +22 -8
- package/esm/indicators/mfi.js +2 -2
- package/esm/indicators/mfi.src.js +22 -8
- package/esm/indicators/momentum.js +2 -2
- package/esm/indicators/momentum.src.js +22 -8
- package/esm/indicators/natr.js +2 -2
- package/esm/indicators/natr.src.js +22 -8
- package/esm/indicators/obv.js +2 -2
- package/esm/indicators/obv.src.js +22 -8
- package/esm/indicators/pivot-points.js +2 -2
- package/esm/indicators/pivot-points.src.js +22 -8
- package/esm/indicators/ppo.js +2 -2
- package/esm/indicators/ppo.src.js +22 -8
- package/esm/indicators/price-channel.js +2 -2
- package/esm/indicators/price-channel.src.js +22 -8
- package/esm/indicators/price-envelopes.js +2 -2
- package/esm/indicators/price-envelopes.src.js +22 -8
- package/esm/indicators/psar.js +2 -2
- package/esm/indicators/psar.src.js +22 -8
- package/esm/indicators/regressions.js +2 -2
- package/esm/indicators/regressions.src.js +22 -8
- package/esm/indicators/roc.js +2 -2
- package/esm/indicators/roc.src.js +22 -8
- package/esm/indicators/rsi.js +2 -2
- package/esm/indicators/rsi.src.js +23 -9
- package/esm/indicators/slow-stochastic.js +2 -2
- package/esm/indicators/slow-stochastic.src.js +22 -8
- package/esm/indicators/stochastic.js +2 -2
- package/esm/indicators/stochastic.src.js +22 -8
- package/esm/indicators/supertrend.js +2 -2
- package/esm/indicators/supertrend.src.js +22 -8
- package/esm/indicators/tema.js +2 -2
- package/esm/indicators/tema.src.js +22 -8
- package/esm/indicators/trendline.js +2 -2
- package/esm/indicators/trendline.src.js +22 -8
- package/esm/indicators/trix.js +2 -2
- package/esm/indicators/trix.src.js +22 -8
- package/esm/indicators/volume-by-price.js +2 -2
- package/esm/indicators/volume-by-price.src.js +23 -10
- package/esm/indicators/vwap.js +2 -2
- package/esm/indicators/vwap.src.js +22 -8
- package/esm/indicators/williams-r.js +2 -2
- package/esm/indicators/williams-r.src.js +22 -8
- package/esm/indicators/wma.js +2 -2
- package/esm/indicators/wma.src.js +22 -8
- package/esm/indicators/zigzag.js +2 -2
- package/esm/indicators/zigzag.src.js +22 -8
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +564 -92
- package/esm/modules/annotations-advanced.js +11 -11
- package/esm/modules/annotations-advanced.src.js +224 -162
- package/esm/modules/annotations.js +11 -11
- package/esm/modules/annotations.src.js +184 -144
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +37 -22
- package/esm/modules/arrow-symbols.js +3 -3
- package/esm/modules/arrow-symbols.src.js +22 -8
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +60 -30
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +72 -29
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +27 -12
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +38 -17
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +47 -21
- package/esm/modules/contour.js +3 -3
- package/esm/modules/contour.src.js +46 -13
- package/esm/modules/current-date-indicator.js +2 -2
- package/esm/modules/current-date-indicator.src.js +22 -8
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +46 -28
- package/esm/modules/data-sorting.js +2 -2
- package/esm/modules/data-sorting.src.js +22 -8
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +44 -13
- package/esm/modules/data.js +4 -4
- package/esm/modules/data.src.js +23 -9
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +28 -13
- package/esm/modules/debugger.js +2 -2
- package/esm/modules/debugger.src.js +22 -8
- package/esm/modules/dependency-wheel.js +2 -2
- package/esm/modules/dependency-wheel.src.js +428 -17
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +27 -11
- package/esm/modules/drag-panes.js +2 -2
- package/esm/modules/drag-panes.src.js +22 -8
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +24 -12
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +38 -25
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +72 -27
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +42 -23
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +83 -37
- package/esm/modules/flowmap.js +3 -2
- package/esm/modules/flowmap.src.js +43 -18
- package/esm/modules/full-screen.js +2 -2
- package/esm/modules/full-screen.src.js +22 -8
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +73 -42
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +35 -20
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +542 -100
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +35 -21
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +33 -12
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +50 -33
- package/esm/modules/heikinashi.js +2 -2
- package/esm/modules/heikinashi.src.js +22 -8
- package/esm/modules/histogram-bellcurve.js +2 -2
- package/esm/modules/histogram-bellcurve.src.js +56 -25
- package/esm/modules/hollowcandlestick.js +2 -2
- package/esm/modules/hollowcandlestick.src.js +31 -17
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +72 -13
- package/esm/modules/lollipop.js +2 -2
- package/esm/modules/lollipop.src.js +22 -8
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +148 -91
- package/esm/modules/marker-clusters.js +2 -2
- package/esm/modules/marker-clusters.src.js +25 -13
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +54 -13
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +534 -74
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +87 -46
- package/esm/modules/no-data-to-display.js +2 -2
- package/esm/modules/no-data-to-display.src.js +22 -8
- package/esm/modules/non-cartesian-zoom.js +2 -2
- package/esm/modules/non-cartesian-zoom.src.js +22 -8
- package/esm/modules/offline-exporting.js +2 -2
- package/esm/modules/offline-exporting.src.js +53 -12
- package/esm/modules/organization.js +4 -2
- package/esm/modules/organization.src.js +63 -19
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +26 -9
- package/esm/modules/pareto.js +2 -2
- package/esm/modules/pareto.src.js +31 -16
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +28 -13
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +28 -12
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +36 -19
- package/esm/modules/pointandfigure.js +2 -2
- package/esm/modules/pointandfigure.src.js +26 -11
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +26 -11
- package/esm/modules/pyramid3d.js +2 -2
- package/esm/modules/pyramid3d.src.js +22 -8
- package/esm/modules/renko.js +2 -2
- package/esm/modules/renko.src.js +22 -8
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +59 -31
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +31 -18
- package/esm/modules/series-on-point.js +2 -2
- package/esm/modules/series-on-point.src.js +23 -9
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +40 -20
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +45 -30
- package/esm/modules/static-scale.js +2 -2
- package/esm/modules/static-scale.src.js +22 -8
- package/esm/modules/stock-tools.js +3 -3
- package/esm/modules/stock-tools.src.js +73 -27
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +554 -122
- package/esm/modules/streamgraph.js +2 -2
- package/esm/modules/streamgraph.src.js +22 -8
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +110 -45
- package/esm/modules/textpath.js +2 -2
- package/esm/modules/textpath.src.js +22 -8
- package/esm/modules/tiledwebmap.js +3 -3
- package/esm/modules/tiledwebmap.src.js +44 -19
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +27 -12
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +35 -14
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +59 -27
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +58 -27
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +89 -36
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +30 -13
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +23 -9
- package/esm/modules/vector.js +2 -2
- package/esm/modules/vector.src.js +28 -16
- package/esm/modules/venn.js +2 -2
- package/esm/modules/venn.src.js +28 -13
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +29 -17
- package/esm/modules/wordcloud.js +2 -2
- package/esm/modules/wordcloud.src.js +25 -9
- package/esm/modules/xrange.js +2 -2
- package/esm/modules/xrange.src.js +29 -15
- package/esm/standalone-navigator.js +5 -5
- package/esm/standalone-navigator.src.js +808 -570
- package/esm/themes/adaptive.js +3 -3
- package/esm/themes/adaptive.src.js +22 -8
- package/esm/themes/avocado.js +2 -2
- package/esm/themes/avocado.src.js +22 -8
- package/esm/themes/dark-unica.js +2 -2
- package/esm/themes/dark-unica.src.js +22 -8
- package/esm/themes/grid-light.js +2 -2
- package/esm/themes/grid-light.src.js +22 -8
- package/esm/themes/high-contrast.js +2 -2
- package/esm/themes/high-contrast.src.js +22 -8
- package/esm/themes/sand-signika.js +2 -2
- package/esm/themes/sand-signika.src.js +22 -8
- package/esm/themes/sunset.js +2 -2
- package/esm/themes/sunset.src.js +22 -8
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +116 -92
- package/highcharts-autoload.d.ts +15 -5
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +15 -5
- package/highcharts-autoload.src.js +724 -499
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +851 -590
- package/highcharts-more.d.ts +7 -3
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.d.ts +7 -3
- package/highcharts-more.src.js +1313 -1095
- package/highcharts.d.ts +34795 -25647
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +34795 -25647
- package/highcharts.src.js +723 -498
- package/highmaps.js +4 -4
- package/highmaps.src.js +863 -583
- package/highstock.js +4 -4
- package/highstock.src.js +899 -619
- package/i18n/fr-FR.js +2 -2
- package/i18n/fr-FR.src.js +32 -16
- package/i18n/nb-NO.js +2 -2
- package/i18n/nb-NO.src.js +32 -16
- package/i18n/zh-CN.js +2 -2
- package/i18n/zh-CN.src.js +32 -16
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +31 -16
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +31 -16
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +31 -16
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +31 -16
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +31 -16
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +33 -18
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +31 -16
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +31 -16
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +31 -16
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +31 -16
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +31 -16
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +31 -16
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +31 -16
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +31 -16
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +31 -16
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +34 -18
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +41 -26
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +52 -37
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +39 -24
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +31 -16
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +31 -16
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +31 -16
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +31 -16
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +31 -16
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +31 -16
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +31 -16
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +31 -16
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +31 -16
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +31 -16
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +31 -16
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +31 -16
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +31 -16
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +31 -16
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +32 -17
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +31 -16
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +31 -16
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +31 -16
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +31 -16
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +31 -16
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +31 -16
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +32 -18
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +31 -16
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +31 -16
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +31 -16
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +31 -16
- package/modules/accessibility.d.ts +47 -0
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.d.ts +47 -0
- package/modules/accessibility.src.js +603 -130
- package/modules/annotations-advanced.js +11 -11
- package/modules/annotations-advanced.src.js +246 -183
- package/modules/annotations.js +11 -11
- package/modules/annotations.src.js +206 -165
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +58 -42
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +28 -13
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +69 -38
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +81 -37
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +36 -20
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +50 -28
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +65 -38
- package/modules/contour.js +5 -5
- package/modules/contour.src.js +91 -44
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +28 -13
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +67 -48
- package/modules/data-sorting.js +2 -2
- package/modules/data-sorting.src.js +28 -13
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +50 -18
- package/modules/data.js +2 -2
- package/modules/data.src.js +50 -35
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +42 -26
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +28 -13
- package/modules/dependency-wheel.d.ts +7 -1
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.d.ts +7 -1
- package/modules/dependency-wheel.src.js +440 -28
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +36 -19
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +28 -13
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +30 -17
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +49 -35
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +86 -40
- package/modules/export-data.d.ts +66 -1
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.d.ts +66 -1
- package/modules/export-data.src.js +56 -36
- package/modules/exporting.d.ts +0 -103
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.d.ts +0 -103
- package/modules/exporting.src.js +97 -50
- package/modules/flowmap.js +3 -2
- package/modules/flowmap.src.js +52 -26
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +31 -16
- package/modules/funnel.d.ts +3 -3
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.d.ts +3 -3
- package/modules/funnel.src.js +82 -50
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +56 -40
- package/modules/gantt.d.ts +47 -0
- package/modules/gantt.js +8 -8
- package/modules/gantt.src.d.ts +47 -0
- package/modules/gantt.src.js +602 -156
- package/modules/geoheatmap.d.ts +13 -12
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.d.ts +13 -12
- package/modules/geoheatmap.src.js +44 -29
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +42 -20
- package/modules/heatmap.d.ts +0 -12
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.d.ts +0 -12
- package/modules/heatmap.src.js +102 -71
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +31 -16
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +70 -38
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +45 -30
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +81 -21
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +36 -21
- package/modules/map.d.ts +0 -20
- package/modules/map.js +4 -4
- package/modules/map.src.d.ts +0 -20
- package/modules/map.src.js +212 -140
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +31 -18
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +60 -18
- package/modules/navigator.d.ts +47 -0
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.d.ts +47 -0
- package/modules/navigator.src.js +556 -95
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +99 -57
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +31 -16
- package/modules/non-cartesian-zoom.js +2 -2
- package/modules/non-cartesian-zoom.src.js +28 -13
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +67 -25
- package/modules/organization.js +4 -2
- package/modules/organization.src.js +75 -30
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +37 -19
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +45 -29
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +37 -21
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +34 -17
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +62 -43
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +35 -19
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +32 -16
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +31 -16
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +34 -19
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +80 -51
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +42 -28
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +40 -25
- package/modules/solid-gauge.d.ts +3 -3
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.d.ts +3 -3
- package/modules/solid-gauge.src.js +54 -33
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +56 -40
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +28 -13
- package/modules/stock-tools.js +3 -3
- package/modules/stock-tools.src.js +90 -43
- package/modules/stock.d.ts +47 -0
- package/modules/stock.js +6 -6
- package/modules/stock.src.d.ts +47 -0
- package/modules/stock.src.js +650 -185
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +31 -16
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +137 -71
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +28 -13
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +65 -32
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +41 -25
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +47 -25
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +83 -50
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +76 -44
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +116 -62
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +39 -21
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +32 -17
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +37 -24
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +42 -26
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +51 -38
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +34 -17
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +43 -28
- package/options/abands.d.ts +722 -83
- package/options/abands.src.d.ts +722 -83
- package/options/ad.d.ts +381 -26
- package/options/ad.src.d.ts +381 -26
- package/options/ao.d.ts +744 -70
- package/options/ao.src.d.ts +744 -70
- package/options/apo.d.ts +381 -26
- package/options/apo.src.d.ts +381 -26
- package/options/arcdiagram.d.ts +80 -534
- package/options/arcdiagram.src.d.ts +80 -534
- package/options/area.d.ts +432 -129
- package/options/area.src.d.ts +432 -129
- package/options/arearange.d.ts +46 -4
- package/options/arearange.src.d.ts +46 -4
- package/options/areaspline.d.ts +141 -866
- package/options/areaspline.src.d.ts +141 -866
- package/options/areasplinerange.d.ts +221 -871
- package/options/areasplinerange.src.d.ts +221 -871
- package/options/aroon.d.ts +432 -124
- package/options/aroon.src.d.ts +432 -124
- package/options/aroonoscillator.d.ts +127 -689
- package/options/aroonoscillator.src.d.ts +127 -689
- package/options/atr.d.ts +381 -71
- package/options/atr.src.d.ts +381 -71
- package/options/bar.d.ts +103 -12
- package/options/bar.src.d.ts +103 -12
- package/options/bb.d.ts +87 -762
- package/options/bb.src.d.ts +87 -762
- package/options/bellcurve.d.ts +87 -364
- package/options/bellcurve.src.d.ts +87 -364
- package/options/boxplot.d.ts +82 -13
- package/options/boxplot.src.d.ts +82 -13
- package/options/bubble.d.ts +83 -874
- package/options/bubble.src.d.ts +83 -874
- package/options/bullet.d.ts +354 -717
- package/options/bullet.src.d.ts +354 -717
- package/options/candlestick.d.ts +99 -1214
- package/options/candlestick.src.d.ts +99 -1214
- package/options/cci.d.ts +381 -26
- package/options/cci.src.d.ts +381 -26
- package/options/chaikin.d.ts +728 -83
- package/options/chaikin.src.d.ts +728 -83
- package/options/cmf.d.ts +381 -26
- package/options/cmf.src.d.ts +381 -26
- package/options/cmo.d.ts +730 -79
- package/options/cmo.src.d.ts +730 -79
- package/options/column.d.ts +1265 -99
- package/options/column.src.d.ts +1265 -99
- package/options/columnpyramid.d.ts +102 -1158
- package/options/columnpyramid.src.d.ts +102 -1158
- package/options/columnrange.d.ts +952 -95
- package/options/columnrange.src.d.ts +952 -95
- package/options/contour.d.ts +31 -443
- package/options/contour.src.d.ts +31 -443
- package/options/cylinder.d.ts +100 -12
- package/options/cylinder.src.d.ts +100 -12
- package/options/dema.d.ts +80 -736
- package/options/dema.src.d.ts +80 -736
- package/options/dependencywheel.d.ts +599 -218
- package/options/dependencywheel.src.d.ts +599 -218
- package/options/disparityindex.d.ts +84 -365
- package/options/disparityindex.src.d.ts +84 -365
- package/options/dmi.d.ts +86 -775
- package/options/dmi.src.d.ts +86 -775
- package/options/dpo.d.ts +83 -365
- package/options/dpo.src.d.ts +83 -365
- package/options/dumbbell.d.ts +27 -4
- package/options/dumbbell.src.d.ts +27 -4
- package/options/ema.d.ts +81 -703
- package/options/ema.src.d.ts +81 -703
- package/options/errorbar.d.ts +91 -1161
- package/options/errorbar.src.d.ts +91 -1161
- package/options/flags.d.ts +98 -1192
- package/options/flags.src.d.ts +98 -1192
- package/options/flowmap.d.ts +48 -373
- package/options/flowmap.src.d.ts +48 -373
- package/options/funnel.d.ts +40 -3
- package/options/funnel.src.d.ts +40 -3
- package/options/gantt.d.ts +37 -40
- package/options/gantt.src.d.ts +37 -40
- package/options/gauge.d.ts +398 -472
- package/options/gauge.src.d.ts +398 -472
- package/options/geoheatmap.d.ts +462 -63
- package/options/geoheatmap.src.d.ts +462 -63
- package/options/heatmap.d.ts +31 -380
- package/options/heatmap.src.d.ts +31 -380
- package/options/heikinashi.d.ts +20 -2
- package/options/heikinashi.src.d.ts +20 -2
- package/options/hlc.d.ts +20 -2
- package/options/hlc.src.d.ts +20 -2
- package/options/ikh.d.ts +750 -103
- package/options/ikh.src.d.ts +750 -103
- package/options/item.d.ts +34 -74
- package/options/item.src.d.ts +34 -74
- package/options/keltnerchannels.d.ts +87 -708
- package/options/keltnerchannels.src.d.ts +87 -708
- package/options/klinger.d.ts +34 -365
- package/options/klinger.src.d.ts +34 -365
- package/options/line.d.ts +151 -851
- package/options/line.src.d.ts +151 -851
- package/options/linearregression.d.ts +960 -85
- package/options/linearregression.src.d.ts +960 -85
- package/options/linearregressionangle.d.ts +96 -699
- package/options/linearregressionangle.src.d.ts +96 -699
- package/options/linearregressionintercept.d.ts +381 -26
- package/options/linearregressionintercept.src.d.ts +381 -26
- package/options/linearregressionslope.d.ts +381 -26
- package/options/linearregressionslope.src.d.ts +381 -26
- package/options/lollipop.d.ts +214 -851
- package/options/lollipop.src.d.ts +214 -851
- package/options/macd.d.ts +386 -83
- package/options/macd.src.d.ts +386 -83
- package/options/map.d.ts +470 -36
- package/options/map.src.d.ts +470 -36
- package/options/mapbubble.d.ts +43 -532
- package/options/mapbubble.src.d.ts +43 -532
- package/options/mapline.d.ts +135 -58
- package/options/mapline.src.d.ts +135 -58
- package/options/mappoint.d.ts +205 -283
- package/options/mappoint.src.d.ts +205 -283
- package/options/mfi.d.ts +772 -82
- package/options/mfi.src.d.ts +772 -82
- package/options/momentum.d.ts +381 -71
- package/options/momentum.src.d.ts +381 -71
- package/options/natr.d.ts +776 -75
- package/options/natr.src.d.ts +776 -75
- package/options/networkgraph.d.ts +184 -207
- package/options/networkgraph.src.d.ts +184 -207
- package/options/obv.d.ts +426 -26
- package/options/obv.src.d.ts +426 -26
- package/options/ohlc.d.ts +77 -14
- package/options/ohlc.src.d.ts +77 -14
- package/options/packedbubble.d.ts +76 -696
- package/options/packedbubble.src.d.ts +76 -696
- package/options/pareto.d.ts +28 -364
- package/options/pareto.src.d.ts +28 -364
- package/options/pc.d.ts +724 -85
- package/options/pc.src.d.ts +724 -85
- package/options/pictorial.d.ts +1093 -58
- package/options/pictorial.src.d.ts +1093 -58
- package/options/pie.d.ts +595 -129
- package/options/pie.src.d.ts +595 -129
- package/options/pivotpoints.d.ts +34 -365
- package/options/pivotpoints.src.d.ts +34 -365
- package/options/pointandfigure.d.ts +10 -50
- package/options/pointandfigure.src.d.ts +10 -50
- package/options/polygon.d.ts +803 -74
- package/options/polygon.src.d.ts +803 -74
- package/options/ppo.d.ts +34 -365
- package/options/ppo.src.d.ts +34 -365
- package/options/priceenvelopes.d.ts +93 -719
- package/options/priceenvelopes.src.d.ts +93 -719
- package/options/psar.d.ts +34 -365
- package/options/psar.src.d.ts +34 -365
- package/options/pyramid.d.ts +35 -3
- package/options/pyramid.src.d.ts +35 -3
- package/options/renko.d.ts +25 -2
- package/options/renko.src.d.ts +25 -2
- package/options/roc.d.ts +78 -712
- package/options/roc.src.d.ts +78 -712
- package/options/rsi.d.ts +34 -365
- package/options/rsi.src.d.ts +34 -365
- package/options/sankey.d.ts +27 -5
- package/options/sankey.src.d.ts +27 -5
- package/options/scatter.d.ts +896 -290
- package/options/scatter.src.d.ts +896 -290
- package/options/series.d.ts +938 -83
- package/options/series.src.d.ts +938 -83
- package/options/slowstochastic.d.ts +381 -26
- package/options/slowstochastic.src.d.ts +381 -26
- package/options/sma.d.ts +729 -79
- package/options/sma.src.d.ts +729 -79
- package/options/solidgauge.d.ts +882 -105
- package/options/solidgauge.src.d.ts +882 -105
- package/options/spline.d.ts +389 -90
- package/options/spline.src.d.ts +389 -90
- package/options/stochastic.d.ts +83 -716
- package/options/stochastic.src.d.ts +83 -716
- package/options/streamgraph.d.ts +97 -364
- package/options/streamgraph.src.d.ts +97 -364
- package/options/sunburst.d.ts +87 -19
- package/options/sunburst.src.d.ts +87 -19
- package/options/supertrend.d.ts +77 -749
- package/options/supertrend.src.d.ts +77 -749
- package/options/tema.d.ts +83 -365
- package/options/tema.src.d.ts +83 -365
- package/options/tiledwebmap.d.ts +13 -72
- package/options/tiledwebmap.src.d.ts +13 -72
- package/options/tilemap.d.ts +372 -533
- package/options/tilemap.src.d.ts +372 -533
- package/options/timeline.d.ts +49 -154
- package/options/timeline.src.d.ts +49 -154
- package/options/treegraph.d.ts +174 -696
- package/options/treegraph.src.d.ts +174 -696
- package/options/treemap.d.ts +468 -1079
- package/options/treemap.src.d.ts +468 -1079
- package/options/trendline.d.ts +381 -26
- package/options/trendline.src.d.ts +381 -26
- package/options/trix.d.ts +712 -82
- package/options/trix.src.d.ts +712 -82
- package/options/variablepie.d.ts +130 -587
- package/options/variablepie.src.d.ts +130 -587
- package/options/variwide.d.ts +1123 -94
- package/options/variwide.src.d.ts +1123 -94
- package/options/vbp.d.ts +57 -383
- package/options/vbp.src.d.ts +57 -383
- package/options/vector.d.ts +22 -58
- package/options/vector.src.d.ts +22 -58
- package/options/venn.d.ts +32 -78
- package/options/venn.src.d.ts +32 -78
- package/options/vwap.d.ts +122 -703
- package/options/vwap.src.d.ts +122 -703
- package/options/waterfall.d.ts +139 -1150
- package/options/waterfall.src.d.ts +139 -1150
- package/options/williamsr.d.ts +381 -76
- package/options/williamsr.src.d.ts +381 -76
- package/options/windbarb.d.ts +39 -2
- package/options/windbarb.src.d.ts +39 -2
- package/options/wma.d.ts +78 -704
- package/options/wma.src.d.ts +78 -704
- package/options/wordcloud.d.ts +98 -595
- package/options/wordcloud.src.d.ts +98 -595
- package/options/xrange.d.ts +166 -1056
- package/options/xrange.src.d.ts +166 -1056
- package/options/zigzag.d.ts +34 -410
- package/options/zigzag.src.d.ts +34 -410
- package/package.json +1 -1
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +829 -553
- package/themes/adaptive.js +2 -2
- package/themes/adaptive.src.js +33 -18
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +28 -13
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +28 -13
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +28 -13
- package/themes/high-contrast.js +2 -2
- package/themes/high-contrast.src.js +28 -13
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +28 -13
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +28 -13
- package/css/.stylelintrc.json +0 -8
package/esm/modules/sankey.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Highcharts JS v13.0.
|
|
2
|
+
* Highcharts JS v13.0.2 (2026-08-27)
|
|
3
3
|
* @module highcharts/modules/sankey
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
*
|
|
11
11
|
* A commercial license may be required depending on use,
|
|
12
12
|
* see www.highcharts.com/license
|
|
13
|
-
*/import*as t from"../highcharts.js";var e,o,i,s={};s.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var o in e)s.o(e,o)&&!s.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let n=t.default;var r=s.n(n);let l=t.default.SeriesRegistry;var a=s.n(l);let{series:{prototype:d,prototype:{pointClass:{prototype:h}}}}=a();!function(t){function e(){if(!this.hasDataLabels?.()&&this.nodes)for(let t of this.nodes)t.destroyElements({dataLabel:1})}function o(){return this.data=[].concat(this.points||[],this.nodes),d.destroy.apply(this,arguments)}function i(){this.nodes&&(this.nodes.forEach(t=>{t.destroy()}),this.nodes.length=0),d.setData.apply(this,arguments)}function s(t){let e=arguments,o=this.isNode?this.linksTo.concat(this.linksFrom):[this.fromNode,this.toNode];"select"!==t&&o.forEach(t=>{t&&t.series&&(h.setState.apply(t,e),!t.isNode&&(t.fromNode.graphic&&h.setState.apply(t.fromNode,e),t.toNode&&t.toNode.graphic&&h.setState.apply(t.toNode,e)))}),h.setState.apply(this,e)}function r(t,e,o,i){let s=this.series.options.nodes,r=this.series.options.data,l=r?.length||0,a=r?.[this.index];if(h.update.call(this,t,!this.isNode&&e,o,i),this.isNode){let t=(s||[]).reduce((t,e,o)=>this.id===e.id?o:t,-1),i=(0,n.merge)(s&&s[t]||{},r?.[this.index]||{});r&&(a?r[this.index]=a:r.length=l),s?t>=0?s[t]=i:s.push(i):this.series.options.nodes=[i],(0,n.pick)(e,!0)&&this.series.chart.redraw(o)}}t.compose=function(t,l){let a=t.prototype,d=l.prototype;return a.setNodeState=s,a.setState=s,a.update=r,d.destroy=o,d.setData=i,(0,n.addEvent)(l,"afterUpdate",e),l},t.createNode=function(t){let e=this.pointClass,o=(t,e)=>(0,n.find)(t,t=>t.id===e),i=o(this.nodes,t),s;if(!i){s=this.options.nodes&&o(this.options.nodes,t);let r=new e(this,(0,n.extend)({className:"highcharts-node",isNode:!0,id:t,y:1},s));r.linksTo=[],r.linksFrom=[],r.getSum=function(){let t=0,e=0;return r.linksTo.forEach(e=>{t+=e.weight||0}),r.linksFrom.forEach(t=>{e+=t.weight||0}),Math.max(t,e)},r.offset=function(t,e){let o=0;for(let i=0;i<r[e].length;i++){if(r[e][i]===t)return o;o+=r[e][i].weight}},r.hasShape=function(){let t=0;return r.linksTo.forEach(e=>{e.outgoing&&t++}),!r.linksTo.length||t!==r.linksTo.length},r.index=this.nodes.push(r)-1,i=r}return i.formatPrefix="node",i.name=i.name||i.options.id||"",i.mass=(0,n.pick)(i.options.mass,i.options.marker&&i.options.marker.radius,this.options.marker&&this.options.marker.radius,4),i},t.destroy=o,t.generatePoints=function(){let t=this.chart,e={};d.generatePoints.call(this),this.nodes||(this.nodes=[]),this.colorCounter=0,this.nodes.forEach(t=>{t.linksFrom.length=0,t.linksTo.length=0,t.level=t.options.level}),this.points.forEach(o=>{(0,n.defined)(o.from)&&(e[o.from]||(e[o.from]=this.createNode(o.from)),e[o.from].linksFrom.push(o),o.fromNode=e[o.from],t.styledMode?o.colorIndex=(0,n.pick)(o.options.colorIndex,e[o.from].colorIndex):o.color=o.options.color||e[o.from].color),(0,n.defined)(o.to)&&(e[o.to]||(e[o.to]=this.createNode(o.to)),e[o.to].linksTo.push(o),o.toNode=e[o.to]),o.name=o.name||o.id},this),this.nodeLookup=e},t.setNodeState=s,t.updateNode=r}(o||(o={}));let p=o,c=t.default.Point;var f=s.n(c);let{column:u}=a().seriesTypes;class m extends u.prototype.pointClass{applyOptions(t,e){return f().prototype.applyOptions.call(this,t,e),(0,n.defined)(this.options.level)&&(this.options.column=this.column=this.options.level),this}getClassName(){return(this.isNode?"highcharts-node ":"highcharts-link ")+f().prototype.getClassName.call(this)}getFromNode(){let t=-1,e;for(let o=0;o<this.linksTo.length;o++){let i=this.linksTo[o];i.fromNode.column>t&&i.fromNode!==this&&(t=(e=i.fromNode).column)}return{fromNode:e,fromColumn:t}}setNodeColumn(){(0,n.defined)(this.options.column)||(0===this.linksTo.length?this.column=0:this.column=this.getFromNode().fromColumn+1)}isValid(){return this.isNode||"number"==typeof this.weight}}var g=i||(i={});g.compose=function(t,e){return t.sankeyColumn=new y(t,e),t};class y{constructor(t,e){this.points=t,this.series=e}getTranslationFactor(t){let e=this.points,o=e.slice(),i=t.chart,s=t.options.minLinkWidth||0,n,r=0,l,a=(i.plotSizeY||0)-(t.options.borderWidth||0)-(e.length-1)*t.nodePadding;for(;e.length;){for(r=a/e.sankeyColumn.sum(),n=!1,l=e.length;l--;)e[l].getSum()*r<s&&(e.splice(l,1),a=Math.max(0,a-s),n=!0);if(!n)break}for(let t of(e.length=0,o))e.push(t);return r}top(t){let e=this.series,o=e.nodePadding,i=this.points.reduce((i,s)=>(i>0&&(i+=o),i+=Math.max(s.getSum()*t,e.options.minLinkWidth||0)),0);return(0,n.getAlignFactor)(e.options.nodeAlignment||"center")*((e.chart.plotSizeY||0)-i)}left(t){let e=this.series,o=e.chart,i=e.options.equalNodes,s=o.inverted?o.plotHeight:o.plotWidth,n=e.nodePadding,r=this.points.reduce((o,r)=>(o>0&&(o+=n),o+=i?s/r.series.nodes.length-n:Math.max(r.getSum()*t,e.options.minLinkWidth||0)),0);return((o.plotSizeX||0)-Math.round(r))/2}sum(){return this.points.reduce((t,e)=>t+e.getSum(),0)}offset(t,e){let o=this.points,i=this.series,s=i.nodePadding,r=0,l;if(i.is("organization")&&t.hangsFrom)return{absoluteTop:t.hangsFrom.nodeY};for(let a=0;a<o.length;a++){let d=o[a].getSum(),h=Math.max(d*e,i.options.minLinkWidth||0),p=t.options[i.chart.inverted?"offsetHorizontal":"offsetVertical"],c=t.options.offset||0;if(l=d?h+s:0,o[a]===t)return{relativeTop:r+((0,n.defined)(p)?(0,n.relativeLength)(p,h):(0,n.relativeLength)(c,l))};r+=l}}}g.SankeyColumnAdditions=y;let b=i,v=t.default.Color;var k=s.n(v);let x=t.default.SVGElement;var N=s.n(x);let{composed:C,deg2rad:P}=r(),{column:L,line:T}=a().seriesTypes,{parse:O}=k(),{getLevelOptions:S,getNodeWidth:w}={getColor:function(t,e){let o,i,s,r,l,a,d=e.index,h=e.mapOptionsToLevel,p=e.parentColor,c=e.parentColorIndex,f=e.series,u=e.colors,m=e.siblings,g=f.points,y=f.chart.options.chart;if(t){let b;o=g[t.i],i=h[t.level]||{},o&&i.colorByPoint&&(r=o.index%(u?u.length:y.colorCount),s=u&&u[r]),f.chart.styledMode||(l=(0,n.pick)(o&&o.options.color,i&&i.color,s,p&&((b=i&&i.colorVariation)&&"brightness"===b.key&&d&&m?k().parse(p).brighten(b.to*(d/m)).get():p),f.color)),a=(0,n.pick)(o&&o.options.colorIndex,i&&i.colorIndex,r,c,e.colorIndex)}return{color:l,colorIndex:a}},getLevelOptions:function(t){let e,o,i,s,r,l,a={};if((0,n.isObject)(t))for(s=(0,n.isNumber)(t.from)?t.from:1,l=t.levels,o={},e=(0,n.isObject)(t.defaults)?t.defaults:{},(0,n.isArray)(l)&&(o=l.reduce((t,o)=>{let i,r,l;return(0,n.isObject)(o)&&(0,n.isNumber)(o.level)&&(l=(0,n.merge)({},o),r=(0,n.pick)(l.levelIsConstant,e.levelIsConstant),delete l.levelIsConstant,delete l.level,i=o.level+(r?0:s-1),(0,n.isObject)(t[i])?(0,n.merge)(!0,t[i],l):t[i]=l),t},{})),r=(0,n.isNumber)(t.to)?t.to:1,i=0;i<=r;i++)a[i]=(0,n.merge)({},e,(0,n.isObject)(o[i])?o[i]:{});return a},getNodeWidth:function(t,e){let{chart:o,options:i}=t,{nodeDistance:s=0,nodeWidth:r=0}=i,{plotSizeX:l=1}=o;if("auto"===r){if("string"==typeof s&&/%$/.test(s))return l/(e+parseFloat(s)/100*(e-1));let t=Number(s);return(l+t)/(e||1)-t}return(0,n.relativeLength)(r,l)},setTreeValues:function t(e,o){let i=o.before,s=o.idRoot,r=o.mapIdToNode[s],l=!1!==o.levelIsConstant,a=o.points[e.i],d=a&&a.options||{},h=[],p=0;e.levelDynamic=e.level-(l?0:r.level),e.name=(0,n.pick)(a&&a.name,""),e.visible=s===e.id||!0===o.visible,"function"==typeof i&&(e=i(e,o)),e.children.forEach((i,s)=>{let r=(0,n.extend)({},o);(0,n.extend)(r,{index:s,siblings:e.children.length,visible:e.visible}),i=t(i,r),h.push(i),i.visible&&(p+=i.val)});let c=(0,n.pick)(d.value,p);return e.visible=c>=0&&(p>0||e.visible),e.children=h,e.childrenTotal=p,e.isLeaf=e.visible&&!p,e.val=c,e},updateRootId:function(t){let e,o;return(0,n.isObject)(t)&&(o=(0,n.isObject)(t.options)?t.options:{},e=(0,n.pick)(t.rootNode,o.rootId,""),(0,n.isObject)(t.userOptions)&&(t.userOptions.rootId=e),t.rootNode=e),e}};e=N(),(0,n.pushUnique)(C,"TextPath")&&((0,n.addEvent)(e,"afterGetBBox",function(t){let e=t.bBox,o=this.element?.querySelector("textPath");if(o){let t=[],{b:i,h:s}=this.renderer.fontMetrics(this.element),n=s-i,r=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),l=o.innerHTML.replace(r,"").split(/<tspan class="highcharts-br"[^>]*>/),a=l.length,d=(t,e)=>{let{x:s,y:r}=e,l=(o.getRotationOfChar(t)-90)*P,a=Math.cos(l),d=Math.sin(l);return[[s-n*a,r-n*d],[s+i*a,r+i*d]]};for(let e=0,i=0;i<a;i++){let s=l[i].length;for(let n=0;n<s;n+=5)try{let s=e+n+i,[r,l]=d(s,o.getStartPositionOfChar(s));0===n?(t.push(l),t.push(r)):(0===i&&t.unshift(l),i===a-1&&t.push(r))}catch{break}e+=s-1;try{let s=e+i,n=o.getEndPositionOfChar(s),[r,l]=d(s,n);t.unshift(l),t.unshift(r)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,n.addEvent)(e,"beforeAddingDataLabel",function(t){let e=t.labelOptions,o=t.point,i=e[o.formatPrefix+"TextPath"]||e.textPath;i&&!e.useHTML&&(this.setTextPath(o.getDataLabelPath?.(this)||o.graphic,i),o.dataLabelPath&&!i.enabled&&(o.dataLabelPath=o.dataLabelPath.destroy()))}),e.prototype.setTextPath=e.prototype.setTextPath??function(t,e){let o=this.renderer.url,i=this.text||this,s=i.textPath,{attributes:r,enabled:l}=(0,n.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||s&&s.path,s?.undo(),t&&l){let e=(0,n.addEvent)(i,"afterModifyTree",e=>{if(t&&l){let s=t.attr("id");s||t.attr("id",s=(0,n.uniqueKey)());let l={x:0,y:0};(0,n.defined)(r.dx)&&(l.dx=r.dx,delete r.dx),(0,n.defined)(r.dy)&&(l.dy=r.dy,delete r.dy),i.attr(l),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let a=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,n.extend)(r,{"text-anchor":r.textAnchor,href:`${o}#${s}`}),children:a}}});i.textPath={path:t,undo:e}}else i.attr({dx:0,dy:0}),delete i.textPath;return this.added&&(i.textCache="",this.renderer.buildText(i)),this});class M extends L{static getDLOptions(t){let e=(0,n.isObject)(t.optionsPoint)?t.optionsPoint.dataLabels:{},o=(0,n.isObject)(t.level)?t.level.dataLabels:{};return(0,n.merge)({style:{}},o,e,{zIndex:o?.zIndex})}createNodeColumns(){let t=[];for(let e of this.nodes)e.setNodeColumn(),t[e.column]||(t[e.column]=b.compose([],this)),t[e.column].push(e);for(let e=0;e<t.length;e++)void 0===t[e]&&(t[e]=b.compose([],this));return t}order(t,e,o){if(o||(o=new Set),void 0===t.level||t.level<e){for(let i of(t.level=e,o.add(t),t.linksFrom))i.toNode&&!o.has(i.toNode)&&this.order(i.toNode,e+1,o);o.delete(t)}}generatePoints(){if(p.generatePoints.apply(this,arguments),this.orderNodes){for(let t of this.nodes)0===t.linksTo.length&&this.order(t,0);(0,n.stableSort)(this.nodes,(t,e)=>t.level-e.level)}}getNodePadding(){let t=this.options.nodePadding||0;if(this.nodeColumns){let e=this.nodeColumns.reduce((t,e)=>Math.max(t,e.length),0);e*t>this.chart.plotSizeY&&(t=this.chart.plotSizeY/e)}return t}hasData(){return!!this.dataTable.rowCount}pointAttribs(t,e){if(!t)return{};let o=this,i=t.isNode?t.level:t.fromNode.level,s=o.mapOptionsToLevel[i||0]||{},r=t.options,l=s.states&&s.states[e||""]||{},a=["colorByPoint","borderColor","borderWidth","linkOpacity","opacity"].reduce((t,e)=>(t[e]=(0,n.pick)(l[e],r[e],s[e],o.options[e]),t),{}),d=(0,n.pick)(l.color,r.color,a.colorByPoint?t.color:s.color);return t.isNode?{fill:d,stroke:a.borderColor,"stroke-width":a.borderWidth,opacity:a.opacity}:{fill:d,"fill-opacity":a.linkOpacity}}drawTracker(){L.prototype.drawTracker.call(this,this.points),L.prototype.drawTracker.call(this,this.nodes)}drawPoints(){L.prototype.drawPoints.call(this,this.points),L.prototype.drawPoints.call(this,this.nodes)}drawDataLabels(){L.prototype.drawDataLabels.call(this,this.points),L.prototype.drawDataLabels.call(this,this.nodes)}translate(){this.generatePoints(),this.nodeColumns=this.createNodeColumns();let t=this,e=this.chart,o=this.options,i=this.nodeColumns,s=i.length;for(let n of(this.nodeWidth=w(this,s),this.nodePadding=this.getNodePadding(),this.translationFactor=i.reduce((e,o)=>Math.min(e,o.sankeyColumn.getTranslationFactor(t)),1/0),this.colDistance=(e.plotSizeX-this.nodeWidth-o.borderWidth)/Math.max(1,i.length-1),t.mapOptionsToLevel=S({from:1,levels:o.levels,to:i.length-1,defaults:{borderColor:o.borderColor,borderRadius:o.borderRadius,borderWidth:o.borderWidth,color:t.color,colorByPoint:o.colorByPoint,levelIsConstant:!0,linkColor:o.linkColor,linkLineWidth:o.linkLineWidth,linkOpacity:o.linkOpacity,states:o.states}}),i))for(let e of n)t.translateNode(e,n);for(let e of this.nodes)for(let o of e.linksFrom)(o.weight||o.isNull)&&o.to&&(t.translateLink(o),o.allowShadow=!1)}getY(t,e,o,i){let s=(e.offset(t,o)||0)*this.translationFactor;return Math.min(e.nodeY+s,e.nodeY+(e.shapeArgs&&e.shapeArgs.height||0)-i)}translateLink(t,e){let o=t.fromNode,i=t.toNode,s=this.chart,{inverted:r}=s,l=this.translationFactor,a=this.options,d=(0,n.pick)(t.linkColorMode,a.linkColorMode),h=(s.inverted?-this.colDistance:this.colDistance)*a.curveFactor,p=o.nodeX,c=i.nodeX,f=t.outgoing,u=Math.max((t.weight||0)*l,this.options.minLinkWidth||0),m=this.getY(t,o,"linksFrom",u),g=e||this.getY(t,i,"linksTo",u),y=this.nodeWidth,b=c>p+y;if(s.inverted&&(m=s.plotSizeY-m,g=(s.plotSizeY||0)-g,y=-y,u=-u,b=p>c),t.shapeType="path",t.linkBase=[m,m+u,g,g+u],b&&"number"==typeof g)t.shapeArgs={d:[["M",p+y,m],["C",p+y+h,m,c-h,g,c,g],["L",c+(f?y:0),g+u/2],["L",c,g+u],["C",c-h,g+u,p+y+h,m+u,p+y,m+u],["Z"]]};else if("number"==typeof g){let e=s.plotHeight-m-u,o=c-20-u,i=c-20,n=p+y,r=n+20,l=r+u,a=m,d=m+u,h=d+20,f=h+e,b=f+20,v=b+u,k=g,x=k+u,N=x+20,C=d-.7*u,P=b+.7*u,L=x-.7*u,T=c-.7*u,O=n+.7*u;t.shapeArgs={d:[["M",n,a],["C",O,a,l,C,l,h],["L",l,f],["C",l,P,O,v,n,v],["L",c,v],["C",T,v,o,P,o,f],["L",o,N],["C",o,L,T,k,c,k],["L",c,x],["C",i,x,i,x,i,N],["L",i,f],["C",i,b,i,b,c,b],["L",n,b],["C",r,b,r,b,r,f],["L",r,h],["C",r,d,r,d,n,d],["Z"]]}}if(t.dlBox={x:p+(c-p+y)/2,y:m+(g-m)/2,height:u,width:0},t.tooltipPos=s.inverted?[s.plotSizeY-t.dlBox.y-u/2,s.plotSizeX-t.dlBox.x]:[t.dlBox.x,t.dlBox.y+u/2],t.y=t.plotY=1,t.x=t.plotX=1,!t.options.color){if("from"===d)t.color=o.color;else if("to"===d)t.color=i.color;else if("gradient"===d){let e=O(o.color).get(),s=O(i.color).get();t.color={linearGradient:{x1:1,x2:0,y1:0,y2:0},stops:[[0,r?e:s],[1,r?s:e]]}}}}translateNode(t,e){let o=this.translationFactor,i=this.chart,s=this.options,{borderRadius:r,borderWidth:l=0}=s,a=t.getSum(),d=Math.max(Math.round(a*o),this.options.minLinkWidth),h=Math.round(this.nodeWidth),p=e.sankeyColumn.offset(t,o),c=(0,n.crisp)((0,n.pick)(p.absoluteTop,e.sankeyColumn.top(o)+p.relativeTop),l),f=(0,n.crisp)(this.colDistance*t.column+l/2,l)+(0,n.relativeLength)(t.options[i.inverted?"offsetVertical":"offsetHorizontal"]||0,h),u=i.inverted?i.plotSizeX-f:f;if(t.sum=a,a){t.shapeType="roundedRect",t.nodeX=u,t.nodeY=c;let e=u,o=c,l=t.options.width||s.width||h,a=t.options.height||s.height||d,p=(0,n.clamp)((0,n.relativeLength)("object"==typeof r?r.radius:r||0,l),0,d/2);i.inverted&&(e=u-h,o=i.plotSizeY-c-d,l=t.options.height||s.height||h,a=t.options.width||s.width||d),t.dlOptions={...M.getDLOptions({level:this.mapOptionsToLevel[t.level],optionsPoint:t.options}),zIndex:void 0},delete t.dlOptions.zIndex,t.plotX=1,t.plotY=1,t.tooltipPos=i.inverted?[i.plotSizeY-o-a/2,i.plotSizeX-e-l/2]:[e+l/2,o+a/2],t.shapeArgs={x:e,y:o,width:l,height:a,r:p,display:t.hasShape()?"":"none"}}else t.dlOptions={enabled:!1}}}M.defaultOptions=(0,n.merge)(L.defaultOptions,{borderWidth:0,colorByPoint:!0,curveFactor:.33,dataLabels:{enabled:!0,backgroundColor:"none",crop:!1,nodeFormat:void 0,nodeFormatter:function(){return this.point.name},format:void 0,formatter:function(){},inside:!0},inactiveOtherPoints:!0,linkColorMode:"from",linkOpacity:.5,opacity:1,minLinkWidth:0,nodeAlignment:"center",nodeWidth:20,nodePadding:10,nodeDistance:30,showInLegend:!1,states:{hover:{linkOpacity:1,opacity:1},inactive:{linkOpacity:.1,opacity:.1,animation:{duration:50}}},tooltip:{followPointer:!0,headerFormat:'<span style="font-size: 0.8em">{series.name}</span><br/>',pointFormat:"{point.fromNode.name} → {point.toNode.name}: <b>{point.weight}</b><br/>",nodeFormat:"{point.name}: <b>{point.sum}</b><br/>"}}),p.compose(m,M),(0,n.extend)(M.prototype,{animate:T.prototype.animate,createNode:p.createNode,forceDL:!0,invertible:!0,isCartesian:!1,orderNodes:!0,noSharedTooltip:!0,pointArrayMap:["from","to","weight"],pointClass:m,searchPoint:r().noop}),a().registerSeriesType("sankey",M);let F=r();export{F as default};
|
|
13
|
+
*/import*as t from"../highcharts.js";let e={};e.n=t=>{let o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},e.d=(t,o)=>{if(Array.isArray(o))for(var i=0;i<o.length;){var s=o[i++],n=o[i++];e.o(t,s)?0===n&&i++:0===n?Object.defineProperty(t,s,{enumerable:!0,value:o[i++]}):Object.defineProperty(t,s,{enumerable:!0,get:n})}else for(var s in o)e.o(o,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:o[s]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let o=t.default;var i,s,n,r=e.n(o);let l=t.default.SeriesRegistry;var a=e.n(l);let{series:{prototype:d,prototype:{pointClass:{prototype:h}}}}=a();!function(t){function e(){if(!this.hasDataLabels?.()&&this.nodes)for(let t of this.nodes)t.destroyElements({dataLabel:1})}function i(){return this.data=[].concat(this.points||[],this.nodes),d.destroy.apply(this,arguments)}function s(){this.nodes&&(this.nodes.forEach(t=>{t.destroy()}),this.nodes.length=0),d.setData.apply(this,arguments)}function n(t){let e=arguments,o=this.isNode?this.linksTo.concat(this.linksFrom):[this.fromNode,this.toNode];"select"!==t&&o.forEach(t=>{t&&t.series&&(h.setState.apply(t,e),!t.isNode&&(t.fromNode.graphic&&h.setState.apply(t.fromNode,e),t.toNode&&t.toNode.graphic&&h.setState.apply(t.toNode,e)))}),h.setState.apply(this,e)}function r(t,e,i,s){let n=this.series.options.nodes,r=this.series.options.data,l=r?.length||0,a=r?.[this.index];if(h.update.call(this,t,!this.isNode&&e,i,s),this.isNode){let t=(n||[]).reduce((t,e,o)=>this.id===e.id?o:t,-1),s=(0,o.merge)(n&&n[t]||{},r?.[this.index]||{});r&&(a?r[this.index]=a:r.length=l),n?t>=0?n[t]=s:n.push(s):this.series.options.nodes=[s],(e??!0)&&this.series.chart.redraw(i)}}t.compose=function(t,l){let a=t.prototype,d=l.prototype;return a.setNodeState=n,a.setState=n,a.update=r,d.destroy=i,d.setData=s,(0,o.addEvent)(l,"afterUpdate",e),l},t.createNode=function(t){let e=this.pointClass,i=(t,e)=>(0,o.find)(t,t=>t.id===e),s=i(this.nodes,t),n;if(!s){n=this.options.nodes&&i(this.options.nodes,t);let r=new e(this,(0,o.extend)({className:"highcharts-node",isNode:!0,id:t,y:1},n));r.linksTo=[],r.linksFrom=[],r.getSum=function(){let t=0,e=0;return r.linksTo.forEach(e=>{t+=e.weight||0}),r.linksFrom.forEach(t=>{e+=t.weight||0}),Math.max(t,e)},r.offset=function(t,e){let o=0;for(let i=0;i<r[e].length;i++){if(r[e][i]===t)return o;o+=r[e][i].weight}},r.hasShape=function(){let t=0;return r.linksTo.forEach(e=>{e.outgoing&&t++}),!r.linksTo.length||t!==r.linksTo.length},r.index=this.nodes.push(r)-1,s=r}return s.formatPrefix="node",s.name=s.name||s.options.id||"",s.mass=s.options.mass??(s.options.marker&&s.options.marker.radius)??(this.options.marker&&this.options.marker.radius)??4,s},t.destroy=i,t.generatePoints=function(){let t=this.chart,e={};d.generatePoints.call(this),this.nodes||(this.nodes=[]),this.colorCounter=0,this.nodes.forEach(t=>{t.linksFrom.length=0,t.linksTo.length=0,t.level=t.options.level}),this.points.forEach(i=>{(0,o.defined)(i.from)&&(e[i.from]||(e[i.from]=this.createNode(i.from)),e[i.from].linksFrom.push(i),i.fromNode=e[i.from],t.styledMode?i.colorIndex=i.options.colorIndex??e[i.from].colorIndex:i.color=i.options.color||e[i.from].color),(0,o.defined)(i.to)&&(e[i.to]||(e[i.to]=this.createNode(i.to)),e[i.to].linksTo.push(i),i.toNode=e[i.to]),i.name=i.name||i.id},this),this.nodeLookup=e},t.setNodeState=n,t.updateNode=r}(s||(s={}));let p=s,c=t.default.Point;var f=e.n(c);let{column:u}=a().seriesTypes;class m extends u.prototype.pointClass{applyOptions(t,e){return f().prototype.applyOptions.call(this,t,e),(0,o.defined)(this.options.level)&&(this.options.column=this.column=this.options.level),this}getClassName(){return(this.isNode?"highcharts-node ":"highcharts-link ")+f().prototype.getClassName.call(this)}getFromNode(){let t=-1,e;for(let o=0;o<this.linksTo.length;o++){let i=this.linksTo[o];i.fromNode.column>t&&i.fromNode!==this&&(t=(e=i.fromNode).column)}return{fromNode:e,fromColumn:t}}setNodeColumn(){(0,o.defined)(this.options.column)||(0===this.linksTo.length?this.column=0:this.column=this.getFromNode().fromColumn+1)}isValid(){return this.isNode||"number"==typeof this.weight}}var g=n||(n={});g.compose=function(t,e){return t.sankeyColumn=new y(t,e),t};class y{constructor(t,e){this.points=t,this.series=e}getTranslationFactor(t){let e=this.points,o=e.slice(),i=t.chart,s=t.options.minLinkWidth||0,n,r=0,l,a=(i.plotSizeY||0)-(t.options.borderWidth||0)-(e.length-1)*t.nodePadding;for(;e.length;){for(r=a/e.sankeyColumn.sum(),n=!1,l=e.length;l--;)e[l].getSum()*r<s&&(e.splice(l,1),a=Math.max(0,a-s),n=!0);if(!n)break}for(let t of(e.length=0,o))e.push(t);return r}top(t){let e=this.series,i=e.nodePadding,s=this.points.reduce((o,s)=>(o>0&&(o+=i),o+=Math.max(s.getSum()*t,e.options.minLinkWidth||0)),0);return(0,o.getAlignFactor)(e.options.nodeAlignment||"center")*((e.chart.plotSizeY||0)-s)}left(t){let e=this.series,o=e.chart,i=e.options.equalNodes,s=o.inverted?o.plotHeight:o.plotWidth,n=e.nodePadding,r=this.points.reduce((o,r)=>(o>0&&(o+=n),o+=i?s/r.series.nodes.length-n:Math.max(r.getSum()*t,e.options.minLinkWidth||0)),0);return((o.plotSizeX||0)-Math.round(r))/2}sum(){return this.points.reduce((t,e)=>t+e.getSum(),0)}offset(t,e){let i=this.points,s=this.series,n=s.nodePadding,r=0,l;if(s.is("organization")&&t.hangsFrom)return{absoluteTop:t.hangsFrom.nodeY};for(let a=0;a<i.length;a++){let d=i[a].getSum(),h=Math.max(d*e,s.options.minLinkWidth||0),p=t.options[s.chart.inverted?"offsetHorizontal":"offsetVertical"],c=t.options.offset||0;if(l=d?h+n:0,i[a]===t)return{relativeTop:r+((0,o.defined)(p)?(0,o.relativeLength)(p,h):(0,o.relativeLength)(c,l))};r+=l}}}g.SankeyColumnAdditions=y;let b=n,v=t.default.Color;var x=e.n(v);let k=t.default.SVGElement;var N=e.n(k);let{composed:C,deg2rad:P}=r(),{column:L,line:O}=a().seriesTypes,{parse:T}=x(),{getLevelOptions:S,getNodeWidth:w}={getColor:function(t,e){let o,i,s,n,r,l,a=e.index,d=e.mapOptionsToLevel,h=e.parentColor,p=e.parentColorIndex,c=e.series,f=e.colors,u=e.siblings,m=c.points,g=c.chart.options.chart;if(t){let y;o=m[t.i],i=d[t.level]||{},o&&i.colorByPoint&&(n=o.index%(f?f.length:g.colorCount),s=f&&f[n]),c.chart.styledMode||(r=(o&&o.options.color)??(i&&i.color)??s??(h&&((y=i&&i.colorVariation)&&"brightness"===y.key&&a&&u?x().parse(h).brighten(y.to*(a/u)).get():h))??c.color),l=(o&&o.options.colorIndex)??(i&&i.colorIndex)??n??p??e.colorIndex}return{color:r,colorIndex:l}},getLevelOptions:function(t){let e,i,s,n,r,l,a={};if((0,o.isObject)(t))for(n=(0,o.isNumber)(t.from)?t.from:1,l=t.levels,i={},e=(0,o.isObject)(t.defaults)?t.defaults:{},(0,o.isArray)(l)&&(i=l.reduce((t,i)=>{let s,r,l;return(0,o.isObject)(i)&&(0,o.isNumber)(i.level)&&(r=(l=(0,o.merge)({},i)).levelIsConstant??e.levelIsConstant,delete l.levelIsConstant,delete l.level,s=i.level+(r?0:n-1),(0,o.isObject)(t[s])?(0,o.merge)(!0,t[s],l):t[s]=l),t},{})),r=(0,o.isNumber)(t.to)?t.to:1,s=0;s<=r;s++)a[s]=(0,o.merge)({},e,(0,o.isObject)(i[s])?i[s]:{});return a},getNodeWidth:function(t,e){let{chart:i,options:s}=t,{nodeDistance:n=0,nodeWidth:r=0}=s,{plotSizeX:l=1}=i;if("auto"===r){if("string"==typeof n&&/%$/.test(n))return l/(e+parseFloat(n)/100*(e-1));let t=Number(n);return(l+t)/(e||1)-t}return(0,o.relativeLength)(r,l)},setTreeValues:function t(e,i){let s=i.before,n=i.idRoot,r=i.mapIdToNode[n],l=!1!==i.levelIsConstant,a=i.points[e.i],d=a&&a.options||{},h=[],p=0;e.levelDynamic=e.level-(l?0:r.level),e.name=(a&&a.name)??"",e.visible=n===e.id||!0===i.visible,"function"==typeof s&&(e=s(e,i)),e.children.forEach((s,n)=>{let r=(0,o.extend)({},i);(0,o.extend)(r,{index:n,siblings:e.children.length,visible:e.visible}),s=t(s,r),h.push(s),s.visible&&(p+=s.val)});let c=d.value??p;return e.visible=c>=0&&(p>0||e.visible),e.children=h,e.childrenTotal=p,e.isLeaf=e.visible&&!p,e.val=c,e},updateRootId:function(t){let e,i;return(0,o.isObject)(t)&&(i=(0,o.isObject)(t.options)?t.options:{},e=t.rootNode??i.rootId??"",(0,o.isObject)(t.userOptions)&&(t.userOptions.rootId=e),t.rootNode=e),e}};i=N(),(0,o.pushUnique)(C,"TextPath")&&((0,o.addEvent)(i,"afterGetBBox",function(t){let e=t.bBox,o=this.element?.querySelector("textPath");if(o){let t=[],{b:i,h:s}=this.renderer.fontMetrics(this.element),n=s-i,r=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),l=o.innerHTML.replace(r,"").split(/<tspan class="highcharts-br"[^>]*>/),a=l.length,d=(t,e)=>{let{x:s,y:r}=e,l=(o.getRotationOfChar(t)-90)*P,a=Math.cos(l),d=Math.sin(l);return[[s-n*a,r-n*d],[s+i*a,r+i*d]]};for(let e=0,i=0;i<a;i++){let s=l[i].length;for(let n=0;n<s;n+=5)try{let s=e+n+i,[r,l]=d(s,o.getStartPositionOfChar(s));0===n?(t.push(l),t.push(r)):(0===i&&t.unshift(l),i===a-1&&t.push(r))}catch{break}e+=s-1;try{let s=e+i,n=o.getEndPositionOfChar(s),[r,l]=d(s,n);t.unshift(l),t.unshift(r)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,o.addEvent)(i,"beforeAddingDataLabel",function(t){let e=t.labelOptions,o=t.point,i=e[o.formatPrefix+"TextPath"]||e.textPath;i&&!e.useHTML&&(this.setTextPath(o.getDataLabelPath?.(this)||o.graphic,i),o.dataLabelPath&&!i.enabled&&(o.dataLabelPath=o.dataLabelPath.destroy()))}),i.prototype.setTextPath=i.prototype.setTextPath??function(t,e){let i=this.renderer.url,s=this.text||this,n=s.textPath,{attributes:r,enabled:l}=(0,o.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||n&&n.path,n?.undo(),t&&l){let e=(0,o.addEvent)(s,"afterModifyTree",e=>{if(t&&l){let n=t.attr("id");n||t.attr("id",n=(0,o.uniqueKey)());let l={x:0,y:0};(0,o.defined)(r.dx)&&(l.dx=r.dx,delete r.dx),(0,o.defined)(r.dy)&&(l.dy=r.dy,delete r.dy),s.attr(l),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let a=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,o.extend)(r,{"text-anchor":r.textAnchor,href:`${i}#${n}`}),children:a}}});s.textPath={path:t,undo:e}}else s.attr({dx:0,dy:0}),delete s.textPath;return this.added&&(s.textCache="",this.renderer.buildText(s)),this});class M extends L{static getDLOptions(t){let e=(0,o.isObject)(t.optionsPoint)?t.optionsPoint.dataLabels:{},i=(0,o.isObject)(t.level)?t.level.dataLabels:{};return(0,o.merge)({style:{}},i,e,{zIndex:i?.zIndex})}createNodeColumns(){let t=[];for(let e of this.nodes)e.setNodeColumn(),t[e.column]||(t[e.column]=b.compose([],this)),t[e.column].push(e);for(let e=0;e<t.length;e++)void 0===t[e]&&(t[e]=b.compose([],this));return t}order(t,e,o){if(o||(o=new Set),void 0===t.level||t.level<e){for(let i of(t.level=e,o.add(t),t.linksFrom))i.toNode&&!o.has(i.toNode)&&this.order(i.toNode,e+1,o);o.delete(t)}}generatePoints(){if(p.generatePoints.apply(this,arguments),this.orderNodes){for(let t of this.nodes)0===t.linksTo.length&&this.order(t,0);(0,o.stableSort)(this.nodes,(t,e)=>t.level-e.level)}}getNodePadding(){let t=this.options.nodePadding||0;if(this.nodeColumns){let e=this.nodeColumns.reduce((t,e)=>Math.max(t,e.length),0);e*t>this.chart.plotSizeY&&(t=this.chart.plotSizeY/e)}return t}hasData(){return!!this.dataTable.rowCount}pointAttribs(t,e){if(!t)return{};let o=this,i=t.isNode?t.level:t.fromNode.level,s=o.mapOptionsToLevel[i||0]||{},n=t.options,r=s.states&&s.states[e||""]||{},l=["colorByPoint","borderColor","borderWidth","linkOpacity","opacity"].reduce((t,e)=>(t[e]=r[e]??n[e]??s[e]??o.options[e],t),{}),a=r.color??n.color??(l.colorByPoint?t.color:s.color);return t.isNode?{fill:a,stroke:l.borderColor,"stroke-width":l.borderWidth,opacity:l.opacity}:{fill:a,"fill-opacity":l.linkOpacity}}drawTracker(){L.prototype.drawTracker.call(this,this.points),L.prototype.drawTracker.call(this,this.nodes)}drawPoints(){L.prototype.drawPoints.call(this,this.points),L.prototype.drawPoints.call(this,this.nodes)}drawDataLabels(){L.prototype.drawDataLabels.call(this,this.points),L.prototype.drawDataLabels.call(this,this.nodes)}translate(){this.generatePoints(),this.nodeColumns=this.createNodeColumns();let t=this,e=this.chart,o=this.options,i=this.nodeColumns,s=i.length;for(let n of(this.nodeWidth=w(this,s),this.nodePadding=this.getNodePadding(),this.translationFactor=i.reduce((e,o)=>Math.min(e,o.sankeyColumn.getTranslationFactor(t)),1/0),this.colDistance=(e.plotSizeX-this.nodeWidth-o.borderWidth)/Math.max(1,i.length-1),t.mapOptionsToLevel=S({from:1,levels:o.levels,to:i.length-1,defaults:{borderColor:o.borderColor,borderRadius:o.borderRadius,borderWidth:o.borderWidth,color:t.color,colorByPoint:o.colorByPoint,levelIsConstant:!0,linkColor:o.linkColor,linkLineWidth:o.linkLineWidth,linkOpacity:o.linkOpacity,states:o.states}}),i))for(let e of n)t.translateNode(e,n);for(let e of this.nodes)for(let o of e.linksFrom)(o.weight||o.isNull)&&o.to&&(t.translateLink(o),o.allowShadow=!1)}getY(t,e,o,i){let s=(e.offset(t,o)||0)*this.translationFactor;return Math.min(e.nodeY+s,e.nodeY+(e.shapeArgs&&e.shapeArgs.height||0)-i)}translateLink(t,e){let o=t.fromNode,i=t.toNode,s=this.chart,{inverted:n}=s,r=this.translationFactor,l=this.options,a=t.linkColorMode??l.linkColorMode,d=(s.inverted?-this.colDistance:this.colDistance)*l.curveFactor,h=o.nodeX,p=i.nodeX,c=t.outgoing,f=Math.max((t.weight||0)*r,this.options.minLinkWidth||0),u=this.getY(t,o,"linksFrom",f),m=e||this.getY(t,i,"linksTo",f),g=this.nodeWidth,y=p>h+g;if(s.inverted&&(u=s.plotSizeY-u,m=(s.plotSizeY||0)-m,g=-g,f=-f,y=h>p),t.shapeType="path",t.linkBase=[u,u+f,m,m+f],y&&"number"==typeof m)t.shapeArgs={d:[["M",h+g,u],["C",h+g+d,u,p-d,m,p,m],["L",p+(c?g:0),m+f/2],["L",p,m+f],["C",p-d,m+f,h+g+d,u+f,h+g,u+f],["Z"]]};else if("number"==typeof m){let e=s.plotHeight-u-f,o=p-20-f,i=p-20,n=h+g,r=n+20,l=r+f,a=u,d=u+f,c=d+20,y=c+e,b=y+20,v=b+f,x=m,k=x+f,N=k+20,C=d-.7*f,P=b+.7*f,L=k-.7*f,O=p-.7*f,T=n+.7*f;t.shapeArgs={d:[["M",n,a],["C",T,a,l,C,l,c],["L",l,y],["C",l,P,T,v,n,v],["L",p,v],["C",O,v,o,P,o,y],["L",o,N],["C",o,L,O,x,p,x],["L",p,k],["C",i,k,i,k,i,N],["L",i,y],["C",i,b,i,b,p,b],["L",n,b],["C",r,b,r,b,r,y],["L",r,c],["C",r,d,r,d,n,d],["Z"]]}}if(t.dlBox={x:h+(p-h+g)/2,y:u+(m-u)/2,height:f,width:0},t.tooltipPos=s.inverted?[s.plotSizeY-t.dlBox.y-f/2,s.plotSizeX-t.dlBox.x]:[t.dlBox.x,t.dlBox.y+f/2],t.y=t.plotY=1,t.x=t.plotX=1,!t.options.color){if("from"===a)t.color=o.color;else if("to"===a)t.color=i.color;else if("gradient"===a){let e=T(o.color).get(),s=T(i.color).get();t.color={linearGradient:{x1:1,x2:0,y1:0,y2:0},stops:[[0,n?e:s],[1,n?s:e]]}}}}translateNode(t,e){let i=this.translationFactor,s=this.chart,n=this.options,{borderRadius:r,borderWidth:l=0}=n,a=t.getSum(),d=Math.max(Math.round(a*i),this.options.minLinkWidth),h=Math.round(this.nodeWidth),p=e.sankeyColumn.offset(t,i),c=(0,o.crisp)(p.absoluteTop??e.sankeyColumn.top(i)+p.relativeTop,l),f=(0,o.crisp)(this.colDistance*t.column+l/2,l)+(0,o.relativeLength)(t.options[s.inverted?"offsetVertical":"offsetHorizontal"]||0,h),u=s.inverted?s.plotSizeX-f:f;if(t.sum=a,a){t.shapeType="roundedRect",t.nodeX=u,t.nodeY=c;let e=u,i=c,l=t.options.width||n.width||h,a=t.options.height||n.height||d,p=(0,o.clamp)((0,o.relativeLength)(((0,o.isObject)(r)?r.radius:r)||0,l),0,d/2);s.inverted&&(e=u-h,i=s.plotSizeY-c-d,l=t.options.height||n.height||h,a=t.options.width||n.width||d),t.dlOptions={...M.getDLOptions({level:this.mapOptionsToLevel[t.level],optionsPoint:t.options}),zIndex:void 0},delete t.dlOptions.zIndex,t.plotX=1,t.plotY=1,t.tooltipPos=s.inverted?[s.plotSizeY-i-a/2,s.plotSizeX-e-l/2]:[e+l/2,i+a/2],t.shapeArgs={x:e,y:i,width:l,height:a,r:p,display:t.hasShape()?"":"none"}}else t.dlOptions={enabled:!1}}}M.defaultOptions=(0,o.merge)(L.defaultOptions,{borderWidth:0,colorByPoint:!0,curveFactor:.33,dataLabels:{enabled:!0,backgroundColor:"none",crop:!1,nodeFormat:void 0,nodeFormatter:function(){return this.point.name},format:void 0,formatter:function(){},inside:!0},inactiveOtherPoints:!0,linkColorMode:"from",linkOpacity:.5,opacity:1,minLinkWidth:0,nodeAlignment:"center",nodeWidth:20,nodePadding:10,nodeDistance:30,showInLegend:!1,states:{hover:{linkOpacity:1,opacity:1},inactive:{linkOpacity:.1,opacity:.1,animation:{duration:50}}},tooltip:{followPointer:!0,headerFormat:'<span style="font-size: 0.8em">{series.name}</span><br/>',pointFormat:"{point.fromNode.name} → {point.toNode.name}: <b>{point.weight}</b><br/>",nodeFormat:"{point.name}: <b>{point.sum}</b><br/>"}}),p.compose(m,M),(0,o.extend)(M.prototype,{animate:O.prototype.animate,createNode:p.createNode,forceDL:!0,invertible:!0,isCartesian:!1,orderNodes:!0,noSharedTooltip:!0,pointArrayMap:["from","to","weight"],pointClass:m,searchPoint:r().noop}),a().registerSeriesType("sankey",M);let F=r();export{F as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts JS v13.0.
|
|
3
|
+
* @license Highcharts JS v13.0.2 (2026-08-27)
|
|
4
4
|
* @module highcharts/modules/sankey
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../highcharts.src.js";
|
|
16
16
|
/******/ // The require scope
|
|
17
|
-
/******/
|
|
17
|
+
/******/ const __webpack_require__ = {};
|
|
18
18
|
/******/
|
|
19
19
|
/************************************************************************/
|
|
20
20
|
/******/ /* webpack/runtime/compat get default export */
|
|
21
21
|
/******/ (() => {
|
|
22
22
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
23
23
|
/******/ __webpack_require__.n = (module) => {
|
|
24
|
-
/******/
|
|
24
|
+
/******/ const getter = module && module.__esModule ?
|
|
25
25
|
/******/ () => (module['default']) :
|
|
26
26
|
/******/ () => (module);
|
|
27
27
|
/******/ __webpack_require__.d(getter, { a: getter });
|
|
@@ -31,11 +31,26 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
31
31
|
/******/
|
|
32
32
|
/******/ /* webpack/runtime/define property getters */
|
|
33
33
|
/******/ (() => {
|
|
34
|
-
/******/ // define getter functions for harmony exports
|
|
34
|
+
/******/ // define getter/value functions for harmony exports
|
|
35
35
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|
36
|
-
/******/
|
|
37
|
-
/******/
|
|
38
|
-
/******/
|
|
36
|
+
/******/ if(Array.isArray(definition)) {
|
|
37
|
+
/******/ var i = 0;
|
|
38
|
+
/******/ while(i < definition.length) {
|
|
39
|
+
/******/ var key = definition[i++];
|
|
40
|
+
/******/ var binding = definition[i++];
|
|
41
|
+
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
42
|
+
/******/ if(binding === 0) {
|
|
43
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
44
|
+
/******/ } else {
|
|
45
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
46
|
+
/******/ }
|
|
47
|
+
/******/ } else if(binding === 0) { i++; }
|
|
48
|
+
/******/ }
|
|
49
|
+
/******/ } else {
|
|
50
|
+
/******/ for(var key in definition) {
|
|
51
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
52
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
53
|
+
/******/ }
|
|
39
54
|
/******/ }
|
|
40
55
|
/******/ }
|
|
41
56
|
/******/ };
|
|
@@ -47,7 +62,6 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
47
62
|
/******/ })();
|
|
48
63
|
/******/
|
|
49
64
|
/************************************************************************/
|
|
50
|
-
var __webpack_exports__ = {};
|
|
51
65
|
|
|
52
66
|
;// external ["../highcharts.src.js","default"]
|
|
53
67
|
const external_highcharts_src_js_default_namespaceObject = __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__["default"];
|
|
@@ -170,13 +184,10 @@ var NodesComposition;
|
|
|
170
184
|
// For use in formats
|
|
171
185
|
node.name = node.name || node.options.id || '';
|
|
172
186
|
// Mass is used in networkgraph:
|
|
173
|
-
node.mass = (
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
this.options.marker && this.options.marker.radius,
|
|
178
|
-
// Default:
|
|
179
|
-
4);
|
|
187
|
+
node.mass = (node.options.mass ??
|
|
188
|
+
(node.options.marker && node.options.marker.radius) ??
|
|
189
|
+
(this.options.marker && this.options.marker.radius) ??
|
|
190
|
+
4);
|
|
180
191
|
return node;
|
|
181
192
|
}
|
|
182
193
|
NodesComposition.createNode = createNode;
|
|
@@ -219,7 +230,9 @@ var NodesComposition;
|
|
|
219
230
|
point.fromNode = nodeLookup[point.from];
|
|
220
231
|
// Point color defaults to the fromNode's color
|
|
221
232
|
if (chart.styledMode) {
|
|
222
|
-
point.colorIndex =
|
|
233
|
+
point.colorIndex =
|
|
234
|
+
point.options.colorIndex ??
|
|
235
|
+
nodeLookup[point.from].colorIndex;
|
|
223
236
|
}
|
|
224
237
|
else {
|
|
225
238
|
point.color =
|
|
@@ -317,7 +330,7 @@ var NodesComposition;
|
|
|
317
330
|
else {
|
|
318
331
|
this.series.options.nodes = [nodeConfig];
|
|
319
332
|
}
|
|
320
|
-
if (
|
|
333
|
+
if (redraw ?? true) {
|
|
321
334
|
this.series.chart.redraw(animation);
|
|
322
335
|
}
|
|
323
336
|
}
|
|
@@ -466,7 +479,7 @@ class SankeyPoint extends ColumnSeries.prototype.pointClass {
|
|
|
466
479
|
* @extends plotOptions.column
|
|
467
480
|
* @since 6.0.0
|
|
468
481
|
* @product highcharts
|
|
469
|
-
* @excluding animationLimit, boostBlending, boostThreshold,
|
|
482
|
+
* @excluding animationLimit, boostBlending, boostThreshold,
|
|
470
483
|
* crisp, cropThreshold, colorAxis, colorKey, dataSorting, depth,
|
|
471
484
|
* dragDrop, edgeColor, edgeWidth, findNearestPointBy, grouping,
|
|
472
485
|
* groupPadding, groupZPadding, legendSymbolColor, maxPointWidth,
|
|
@@ -787,7 +800,7 @@ const SankeySeriesDefaults = {
|
|
|
787
800
|
*
|
|
788
801
|
* @extends series,plotOptions.sankey
|
|
789
802
|
* @excluding animationLimit, boostBlending, boostThreshold, borderColor,
|
|
790
|
-
*
|
|
803
|
+
* borderWidth, crisp, cropThreshold, dataParser,
|
|
791
804
|
* dataURL, depth, dragDrop, edgeColor, edgeWidth,
|
|
792
805
|
* findNearestPointBy, getExtremesFromAll, grouping, groupPadding,
|
|
793
806
|
* groupZPadding, label, maxPointWidth, negativeColor, pointInterval,
|
|
@@ -1309,9 +1322,17 @@ function getColor(node, options) {
|
|
|
1309
1322
|
}
|
|
1310
1323
|
// Select either point color, level color or inherited color.
|
|
1311
1324
|
if (!series.chart.styledMode) {
|
|
1312
|
-
color = (
|
|
1325
|
+
color = ((point && point.options.color) ??
|
|
1326
|
+
(level && level.color) ??
|
|
1327
|
+
colorByPoint ??
|
|
1328
|
+
(parentColor && variateColor(parentColor)) ??
|
|
1329
|
+
series.color);
|
|
1313
1330
|
}
|
|
1314
|
-
colorIndex = (
|
|
1331
|
+
colorIndex = ((point && point.options.colorIndex) ??
|
|
1332
|
+
(level && level.colorIndex) ??
|
|
1333
|
+
colorIndexByPoint ??
|
|
1334
|
+
parentColorIndex ??
|
|
1335
|
+
options.colorIndex);
|
|
1315
1336
|
}
|
|
1316
1337
|
return {
|
|
1317
1338
|
color: color,
|
|
@@ -1348,7 +1369,8 @@ function getLevelOptions(params) {
|
|
|
1348
1369
|
let level, levelIsConstant, options;
|
|
1349
1370
|
if ((0,external_highcharts_src_js_default_namespaceObject.isObject)(item) && (0,external_highcharts_src_js_default_namespaceObject.isNumber)(item.level)) {
|
|
1350
1371
|
options = (0,external_highcharts_src_js_default_namespaceObject.merge)({}, item);
|
|
1351
|
-
levelIsConstant =
|
|
1372
|
+
levelIsConstant =
|
|
1373
|
+
options.levelIsConstant ?? defaults.levelIsConstant;
|
|
1352
1374
|
// Delete redundant properties.
|
|
1353
1375
|
delete options.levelIsConstant;
|
|
1354
1376
|
delete options.level;
|
|
@@ -1380,7 +1402,7 @@ function setTreeValues(tree, options) {
|
|
|
1380
1402
|
const before = options.before, idRoot = options.idRoot, mapIdToNode = options.mapIdToNode, nodeRoot = mapIdToNode[idRoot], levelIsConstant = (options.levelIsConstant !== false), points = options.points, point = points[tree.i], optionsPoint = point && point.options || {}, children = [];
|
|
1381
1403
|
let childrenTotal = 0;
|
|
1382
1404
|
tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
|
|
1383
|
-
tree.name = (
|
|
1405
|
+
tree.name = ((point && point.name) ?? '');
|
|
1384
1406
|
tree.visible = (idRoot === tree.id ||
|
|
1385
1407
|
options.visible === true);
|
|
1386
1408
|
if (typeof before === 'function') {
|
|
@@ -1401,7 +1423,7 @@ function setTreeValues(tree, options) {
|
|
|
1401
1423
|
}
|
|
1402
1424
|
});
|
|
1403
1425
|
// Set the values
|
|
1404
|
-
const value = (
|
|
1426
|
+
const value = (optionsPoint.value ?? childrenTotal);
|
|
1405
1427
|
tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
|
|
1406
1428
|
tree.children = children;
|
|
1407
1429
|
tree.childrenTotal = childrenTotal;
|
|
@@ -1427,7 +1449,7 @@ function updateRootId(series) {
|
|
|
1427
1449
|
// Get the series options.
|
|
1428
1450
|
options = (0,external_highcharts_src_js_default_namespaceObject.isObject)(series.options) ? series.options : {};
|
|
1429
1451
|
// Calculate the rootId.
|
|
1430
|
-
rootId = (
|
|
1452
|
+
rootId = (series.rootNode ?? options.rootId ?? '');
|
|
1431
1453
|
// Set rootId on series.userOptions to pick it up in exporting.
|
|
1432
1454
|
if ((0,external_highcharts_src_js_default_namespaceObject.isObject)(series.userOptions)) {
|
|
1433
1455
|
series.userOptions.rootId = rootId;
|
|
@@ -1925,9 +1947,15 @@ class SankeySeries extends SankeySeries_ColumnSeries {
|
|
|
1925
1947
|
'linkOpacity',
|
|
1926
1948
|
'opacity'
|
|
1927
1949
|
].reduce((obj, key) => {
|
|
1928
|
-
obj[key] =
|
|
1950
|
+
obj[key] =
|
|
1951
|
+
stateOptions[key] ??
|
|
1952
|
+
options[key] ??
|
|
1953
|
+
levelOptions[key] ??
|
|
1954
|
+
series.options[key];
|
|
1929
1955
|
return obj;
|
|
1930
|
-
}, {}), color =
|
|
1956
|
+
}, {}), color = stateOptions.color ??
|
|
1957
|
+
options.color ??
|
|
1958
|
+
(values.colorByPoint ? point.color : levelOptions.color);
|
|
1931
1959
|
// Node attributes
|
|
1932
1960
|
if (point.isNode) {
|
|
1933
1961
|
return {
|
|
@@ -2028,7 +2056,7 @@ class SankeySeries extends SankeySeries_ColumnSeries {
|
|
|
2028
2056
|
* @internal
|
|
2029
2057
|
*/
|
|
2030
2058
|
translateLink(point, linkToY) {
|
|
2031
|
-
const fromNode = point.fromNode, toNode = point.toNode, chart = this.chart, { inverted } = chart, translationFactor = this.translationFactor, options = this.options, linkColorMode = (
|
|
2059
|
+
const fromNode = point.fromNode, toNode = point.toNode, chart = this.chart, { inverted } = chart, translationFactor = this.translationFactor, options = this.options, linkColorMode = (point.linkColorMode ?? options.linkColorMode), curvy = ((chart.inverted ? -this.colDistance : this.colDistance) *
|
|
2032
2060
|
options.curveFactor), nodeLeft = fromNode.nodeX, right = toNode.nodeX, outgoing = point.outgoing;
|
|
2033
2061
|
let linkHeight = Math.max((point.weight || 0) * translationFactor, this.options.minLinkWidth || 0), fromY = this.getY(point, fromNode, 'linksFrom', linkHeight), toY = linkToY || this.getY(point, toNode, 'linksTo', linkHeight), nodeW = this.nodeWidth, straight = right > nodeLeft + nodeW;
|
|
2034
2062
|
if (chart.inverted) {
|
|
@@ -2152,7 +2180,7 @@ class SankeySeries extends SankeySeries_ColumnSeries {
|
|
|
2152
2180
|
* @internal
|
|
2153
2181
|
*/
|
|
2154
2182
|
translateNode(node, column) {
|
|
2155
|
-
const translationFactor = this.translationFactor, chart = this.chart, options = this.options, { borderRadius, borderWidth = 0 } = options, sum = node.getSum(), nodeHeight = Math.max(Math.round(sum * translationFactor), this.options.minLinkWidth), nodeWidth = Math.round(this.nodeWidth), nodeOffset = column.sankeyColumn.offset(node, translationFactor), fromNodeTop = (0,external_highcharts_src_js_default_namespaceObject.crisp)((
|
|
2183
|
+
const translationFactor = this.translationFactor, chart = this.chart, options = this.options, { borderRadius, borderWidth = 0 } = options, sum = node.getSum(), nodeHeight = Math.max(Math.round(sum * translationFactor), this.options.minLinkWidth), nodeWidth = Math.round(this.nodeWidth), nodeOffset = column.sankeyColumn.offset(node, translationFactor), fromNodeTop = (0,external_highcharts_src_js_default_namespaceObject.crisp)((nodeOffset.absoluteTop ?? (column.sankeyColumn.top(translationFactor) +
|
|
2156
2184
|
nodeOffset.relativeTop)), borderWidth), left = (0,external_highcharts_src_js_default_namespaceObject.crisp)(this.colDistance * node.column +
|
|
2157
2185
|
borderWidth / 2, borderWidth) + (0,external_highcharts_src_js_default_namespaceObject.relativeLength)(node.options[chart.inverted ?
|
|
2158
2186
|
'offsetVertical' :
|
|
@@ -2169,9 +2197,9 @@ class SankeySeries extends SankeySeries_ColumnSeries {
|
|
|
2169
2197
|
let x = nodeLeft, y = fromNodeTop, width = node.options.width || options.width || nodeWidth, height = node.options.height || options.height || nodeHeight;
|
|
2170
2198
|
// Border radius should not greater than half the height of the node
|
|
2171
2199
|
// #18956
|
|
2172
|
-
const r = (0,external_highcharts_src_js_default_namespaceObject.clamp)((0,external_highcharts_src_js_default_namespaceObject.relativeLength)((
|
|
2200
|
+
const r = (0,external_highcharts_src_js_default_namespaceObject.clamp)((0,external_highcharts_src_js_default_namespaceObject.relativeLength)(((0,external_highcharts_src_js_default_namespaceObject.isObject)(borderRadius) ?
|
|
2173
2201
|
borderRadius.radius :
|
|
2174
|
-
borderRadius || 0
|
|
2202
|
+
borderRadius) || 0, width), 0, nodeHeight / 2);
|
|
2175
2203
|
if (chart.inverted) {
|
|
2176
2204
|
x = nodeLeft - nodeWidth;
|
|
2177
2205
|
y = chart.plotSizeY - fromNodeTop - nodeHeight;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Highcharts JS v13.0.
|
|
2
|
+
* Highcharts JS v13.0.2 (2026-08-27)
|
|
3
3
|
* @module highcharts/modules/series-label
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
*
|
|
9
9
|
* A commercial license may be required depending on use,
|
|
10
10
|
* see www.highcharts.com/license
|
|
11
|
-
*/import*as t from"../highcharts.js";
|
|
11
|
+
*/import*as t from"../highcharts.js";let e={};e.n=t=>{let r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{if(Array.isArray(r))for(var o=0;o<r.length;){var a=r[o++],i=r[o++];e.o(t,a)?0===i&&o++:0===i?Object.defineProperty(t,a,{enumerable:!0,value:r[o++]}):Object.defineProperty(t,a,{enumerable:!0,get:i})}else for(var a in r)e.o(r,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:r[a]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let r=t.default;var o=e.n(r);let a=t.default.Templating;var i=e.n(a);let n={enabled:!0,connectorAllowed:!1,connectorNeighbourDistance:24,format:void 0,formatter:void 0,minFontSize:null,maxFontSize:null,onArea:null,style:{fontSize:"0.8em",fontWeight:"bold"},useHTML:!1,boxesToAvoid:[]};function h(t,e,r,o,a,i){let n=(i-e)*(r-t)-(o-e)*(a-t);return n>0||!(n<0)}function l(t,e,r,o,a,i,n,l){return h(t,e,a,i,n,l)!==h(r,o,a,i,n,l)&&h(t,e,r,o,a,i)!==h(t,e,r,o,n,l)}let{format:s}=i(),{setOptions:c}=o(),{composed:p}=o(),{boxIntersectLine:d,intersectRect:u}={boxIntersectLine:function(t,e,r,o,a,i,n,h){return l(t,e,t+r,e,a,i,n,h)||l(t+r,e,t+r,e+o,a,i,n,h)||l(t,e+o,t+r,e+o,a,i,n,h)||l(t,e,t,e+o,a,i,n,h)},intersectRect:function(t,e){return!(e.left>t.right||e.right<t.left||e.top>t.bottom||e.bottom<t.top)}};function f(t,e,r,o,a){let i=t.chart,n=t.options.label||{},h=n.onArea??!!t.area,l=h||n.connectorAllowed,s=i.boxesToAvoid,c=Number.MAX_VALUE,p=Number.MAX_VALUE,f,x,b,m,g,y,X;for(y=0;s&&y<s.length;y+=1)if(u(s[y],{left:e,right:e+o.width,top:r,bottom:r+o.height}))return!1;for(y=0;y<i.series.length;y+=1){let s=i.series[y],u=s.interpolatedPoints&&[...s.interpolatedPoints];if(s.visible&&u){let y=i.plotHeight/10;for(let t=i.plotTop;t<=i.plotTop+i.plotHeight;t+=y)u.unshift({chartX:i.plotLeft,chartY:t}),u.push({chartX:i.plotLeft+i.plotWidth,chartY:t});for(X=1;X<u.length;X+=1){if(u[X].chartX>=e-16&&u[X-1].chartX<=e+o.width+16){if(d(e,r,o.width,o.height,u[X-1].chartX,u[X-1].chartY,u[X].chartX,u[X].chartY))return!1;t===s&&!b&&a&&(b=d(e-16,r-16,o.width+32,o.height+32,u[X-1].chartX,u[X-1].chartY,u[X].chartX,u[X].chartY))}(l||b)&&(t!==s||h)&&(c=Math.min(c,(m=e+o.width/2-u[X].chartX)*m+(g=r+o.height/2-u[X].chartY)*g))}if(!h&&l&&t===s&&(a&&!b||c<Math.pow(n.connectorNeighbourDistance||1,2))){for(X=1;X<u.length;X+=1)(f=Math.min(Math.pow(e+o.width/2-u[X].chartX,2)+Math.pow(r+o.height/2-u[X].chartY,2),Math.pow(e-u[X].chartX,2)+Math.pow(r-u[X].chartY,2),Math.pow(e+o.width-u[X].chartX,2)+Math.pow(r-u[X].chartY,2),Math.pow(e+o.width-u[X].chartX,2)+Math.pow(r+o.height-u[X].chartY,2),Math.pow(e-u[X].chartX,2)+Math.pow(r+o.height-u[X].chartY,2)))<p&&(p=f,x=u[X]);b=!0}}}return(!a||!!b)&&{x:e,y:r,weight:c-(x?p:0),connectorPoint:x}}function x(t){if(this.renderer){let e=this,o=(0,r.animObject)(e.renderer.globalAnimation).duration;e.labelSeries=[],e.labelSeriesMaxSum=0,e.seriesLabelTimer&&(0,r.internalClearTimeout)(e.seriesLabelTimer),e.series.forEach(function(a){let i=a.options.label||{},n=a.labelBySeries,h=n&&n.closest,l=a.getColumn("y");i.enabled&&a.visible&&(a.graph||a.area)&&!a.boosted&&e.labelSeries&&(e.labelSeries.push(a),i.minFontSize&&i.maxFontSize&&l.length&&(a.sum=l.reduce((t,e)=>(t||0)+(e||0),0),e.labelSeriesMaxSum=Math.max(e.labelSeriesMaxSum||0,a.sum||0)),"load"===t.type&&(o=Math.max(o,(0,r.animObject)(a.options.animation).duration)),h&&(void 0!==h[0].plotX?n.animate({x:h[0].plotX+h[1],y:h[0].plotY+h[2]}):n.attr({opacity:0})))}),e.seriesLabelTimer=(0,r.syncTimeout)(function(){let t,o;e.series&&e.labelSeries&&(e.boxesToAvoid=[],t=e.labelSeries||[],o=e.boxesToAvoid,e.series.forEach(t=>(t.points||[]).forEach(e=>(e.dataLabels||[]).forEach(e=>{let{width:r,height:a}=e.getBBox(),i=(e.translateX||0)+(t.xAxis?t.xAxis.pos:t.chart.plotLeft),n=(e.translateY||0)+(t.yAxis?t.yAxis.pos:t.chart.plotTop);o.push({left:i,top:n,right:i+r,bottom:n+a})}))),t.forEach(function(t){let e=t.options.label||{};t.interpolatedPoints=function(t){let e,o,a,i,n;if(!t.xAxis&&!t.yAxis)return;let h=t.points,l=[],s=t.graph||t.area,c=s&&s.element,p=t.chart.inverted,d=t.xAxis,u=t.yAxis,f=p?u.pos:d.pos,x=p?d.pos:u.pos,b=p?d.len:u.len,m=p?u.len:d.len,g=(t.options.label||{}).onArea??!!t.area,y=u.getThreshold(t.options.threshold),X={},M=p?"chartCenterX":"chartCenterY";function A(t){let e=Math.round((t.plotX||0)/8)+","+Math.round((t.plotY||0)/8);X[e]||(X[e]=1,l.push(t))}if(t.getPointSpline&&c&&c.getPointAtLength&&!g&&h.length<(t.chart.plotSizeX||0)/16){let t=s.toD&&s.attr("d");for(s.toD&&s.attr({d:s.toD}),a=c.getTotalLength(),e=0;e<a;e+=16){let t=c.getPointAtLength(e),r=p?m-t.y:t.x,o=p?b-t.x:t.y;A({chartX:f+r,chartY:x+o,plotX:r,plotY:o})}t&&s.attr({d:t});let r=h[h.length-1].pos();A({chartX:f+(r?.[0]||0),chartY:x+(r?.[1]||0)})}else{let t;for(e=0,a=h.length;e<a;e+=1){let a=h[e],[l,s]=a.pos()||[],{plotHigh:c}=a;if((0,r.isNumber)(l)&&(0,r.isNumber)(s)){let e={plotX:l,plotY:s,chartX:f+l,chartY:x+s};if(g&&(c&&(e.plotY=c,e.chartY=x+c),p?e.chartCenterX=f+m-((c||a.plotY||0)+(a.yBottom??y))/2:e.chartCenterY=x+((c||s)+(a.yBottom??y))/2),t&&(o=Math.max(Math.abs(e.chartX-t.chartX),Math.abs(e.chartY-t.chartY)))>16&&o<999)for(n=1,i=Math.ceil(o/16);n<i;n+=1)A({chartX:t.chartX+(e.chartX-t.chartX)*(n/i),chartY:t.chartY+(e.chartY-t.chartY)*(n/i),[M]:(t[M]||0)+((e[M]||0)-(t[M]||0))*(n/i),plotX:(t.plotX||0)+(l-(t.plotX||0))*(n/i),plotY:(t.plotY||0)+(s-(t.plotY||0))*(n/i)});A(e),t=e}}}return l}(t),o.push(...e.boxesToAvoid||[])}),e.series.forEach(function(t){let o=t.options.label;if(!o||!t.xAxis&&!t.yAxis)return;let a="highcharts-color-"+(t.colorIndex??"none"),i=!t.labelBySeries,n=o.minFontSize,h=o.maxFontSize,l=e.inverted,c=l?t.yAxis.pos:t.xAxis.pos,p=l?t.xAxis.pos:t.yAxis.pos,d=e.inverted?t.yAxis.len:t.xAxis.len,u=e.inverted?t.xAxis.len:t.yAxis.len,x=t.interpolatedPoints,b=o.onArea??!!t.area,m=[],g=t.getColumn("x"),y,X,M,A,Y,w,S=t.labelBySeries,v,L,T;function P(t,e,r){let o=Math.max(c,L??-1/0),a=Math.min(c+d,T??1/0);return t>o&&t<=a-r.width&&e>=p&&e<=p+u-r.height}function E(){S&&(t.labelBySeries=S.destroy())}if(b&&!l&&(v=[t.xAxis.toPixels(g[0]),t.xAxis.toPixels(g[g.length-1])],L=Math.min.apply(Math,v),T=Math.max.apply(Math,v)),t.visible&&!t.boosted&&x){if(!S){var B,C,z;let i=t.name;if("string"==typeof o.format?i=s(o.format,t,e):o.formatter&&(i=o.formatter.call(t,t)),t.labelBySeries=S=e.renderer.label(i,0,0,"connector",0,0,o.useHTML).addClass("highcharts-series-label highcharts-series-label-"+t.index+" "+(t.options.className||"")+" "+a),!e.renderer.styledMode){let a="string"==typeof t.color?t.color:"var(--highcharts-neutral-color-60)";S.css((0,r.extend)({color:b?e.renderer.getContrast(a):a},o.style||{})),S.attr({opacity:+!!e.renderer.forExport,stroke:t.color,"stroke-width":1})}n&&h&&S.css({fontSize:(B=t,C=n,z=h,C+(B.sum||0)/(B.chart.labelSeriesMaxSum||0)*(z-C)+"px")}),S.attr({padding:0,zIndex:3}).add()}for((y=S.getBBox()).width=Math.round(y.width),Y=x.length-1;Y>0;Y-=1)b?P(X=(x[Y].chartCenterX??x[Y].chartX)-y.width/2,M=(x[Y].chartCenterY??x[Y].chartY)-y.height/2,y)&&(w=f(t,X,M,y)):(P(X=x[Y].chartX+3,M=x[Y].chartY-y.height-3,y)&&(w=f(t,X,M,y,!0)),w&&m.push(w),P(X=x[Y].chartX+3,M=x[Y].chartY+3,y)&&(w=f(t,X,M,y,!0)),w&&m.push(w),P(X=x[Y].chartX-y.width-3,M=x[Y].chartY+3,y)&&(w=f(t,X,M,y,!0)),w&&m.push(w),P(X=x[Y].chartX-y.width-3,M=x[Y].chartY-y.height-3,y)&&(w=f(t,X,M,y,!0))),w&&m.push(w);if(o.connectorAllowed&&!m.length&&!b)for(X=c+d-y.width;X>=c;X-=16)for(M=p;M<p+u-y.height;M+=16)(A=f(t,X,M,y,!0))&&m.push(A);if(m.length){m.sort((t,e)=>e.weight-t.weight),w=m[0],(e.boxesToAvoid||[]).push({left:w.x,right:w.x+y.width,top:w.y,bottom:w.y+y.height});let o=Math.sqrt(Math.pow(Math.abs(w.x-(S.x||0)),2)+Math.pow(Math.abs(w.y-(S.y||0)),2));if(o&&t.labelBySeries){let a,n={opacity:+!!e.renderer.forExport,x:w.x,y:w.y},h={opacity:1};o<=10&&(h={x:n.x,y:n.y},n={}),i&&(a=(0,r.animObject)(t.options.animation),a.duration*=.2),t.labelBySeries.attr((0,r.extend)(n,{anchorX:w.connectorPoint&&(w.connectorPoint.plotX||0)+c,anchorY:w.connectorPoint&&(w.connectorPoint.plotY||0)+p})).animate(h,a),t.options.kdNow=!0,t.buildKDTree();let l=t.searchPoint({chartX:w.x,chartY:w.y},!0);l&&(S.closest=[l,w.x-(l.plotX||0),w.y-(l.plotY||0)])}}else E()}else E()}),(0,r.fireEvent)(e,"afterDrawSeriesLabels"))},e.renderer.forExport||!o?0:o)}}function b(t,e,o,a,i){let n=i&&i.anchorX,h=i&&i.anchorY,l,s,c=o/2;return(0,r.isNumber)(n)&&(0,r.isNumber)(h)&&(l=[["M",n,h]],(s=e-h)<0&&(s=-a-s),s<o&&(c=n<t+o/2?s:o-s),h>e+a?l.push(["L",t+c,e+a]):h<e?l.push(["L",t+c,e]):n<t?l.push(["L",t,e+a/2]):n>t+o&&l.push(["L",t+o,e+a/2])),l||[]}let m=o();({compose:function(t,e){(0,r.pushUnique)(p,"SeriesLabel")&&((0,r.addEvent)(t,"load",x),(0,r.addEvent)(t,"redraw",x),e.prototype.symbols.connector=b,c({plotOptions:{series:{label:n}}}))}}).compose(m.Chart,m.SVGRenderer);let g=o();export{g as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts JS v13.0.
|
|
3
|
+
* @license Highcharts JS v13.0.2 (2026-08-27)
|
|
4
4
|
* @module highcharts/modules/series-label
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
*/
|
|
13
13
|
import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../highcharts.src.js";
|
|
14
14
|
/******/ // The require scope
|
|
15
|
-
/******/
|
|
15
|
+
/******/ const __webpack_require__ = {};
|
|
16
16
|
/******/
|
|
17
17
|
/************************************************************************/
|
|
18
18
|
/******/ /* webpack/runtime/compat get default export */
|
|
19
19
|
/******/ (() => {
|
|
20
20
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
21
21
|
/******/ __webpack_require__.n = (module) => {
|
|
22
|
-
/******/
|
|
22
|
+
/******/ const getter = module && module.__esModule ?
|
|
23
23
|
/******/ () => (module['default']) :
|
|
24
24
|
/******/ () => (module);
|
|
25
25
|
/******/ __webpack_require__.d(getter, { a: getter });
|
|
@@ -29,11 +29,26 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
29
29
|
/******/
|
|
30
30
|
/******/ /* webpack/runtime/define property getters */
|
|
31
31
|
/******/ (() => {
|
|
32
|
-
/******/ // define getter functions for harmony exports
|
|
32
|
+
/******/ // define getter/value functions for harmony exports
|
|
33
33
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|
34
|
-
/******/
|
|
35
|
-
/******/
|
|
36
|
-
/******/
|
|
34
|
+
/******/ if(Array.isArray(definition)) {
|
|
35
|
+
/******/ var i = 0;
|
|
36
|
+
/******/ while(i < definition.length) {
|
|
37
|
+
/******/ var key = definition[i++];
|
|
38
|
+
/******/ var binding = definition[i++];
|
|
39
|
+
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
40
|
+
/******/ if(binding === 0) {
|
|
41
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
42
|
+
/******/ } else {
|
|
43
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
44
|
+
/******/ }
|
|
45
|
+
/******/ } else if(binding === 0) { i++; }
|
|
46
|
+
/******/ }
|
|
47
|
+
/******/ } else {
|
|
48
|
+
/******/ for(var key in definition) {
|
|
49
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
50
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
51
|
+
/******/ }
|
|
37
52
|
/******/ }
|
|
38
53
|
/******/ }
|
|
39
54
|
/******/ };
|
|
@@ -45,7 +60,6 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
45
60
|
/******/ })();
|
|
46
61
|
/******/
|
|
47
62
|
/************************************************************************/
|
|
48
|
-
var __webpack_exports__ = {};
|
|
49
63
|
|
|
50
64
|
;// external ["../highcharts.src.js","default"]
|
|
51
65
|
const external_highcharts_src_js_default_namespaceObject = __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__["default"];
|
|
@@ -291,7 +305,6 @@ const SeriesLabelUtilities = {
|
|
|
291
305
|
*/
|
|
292
306
|
|
|
293
307
|
|
|
294
|
-
const { animObject } = (external_highcharts_src_js_default_default());
|
|
295
308
|
|
|
296
309
|
const { format } = (external_highcharts_src_js_default_Templating_default());
|
|
297
310
|
|
|
@@ -318,7 +331,7 @@ const labelDistance = 3;
|
|
|
318
331
|
* @internal
|
|
319
332
|
*/
|
|
320
333
|
function checkClearPoint(series, x, y, bBox, checkDistance) {
|
|
321
|
-
const chart = series.chart, seriesLabelOptions = series.options.label || {}, onArea = (
|
|
334
|
+
const chart = series.chart, seriesLabelOptions = series.options.label || {}, onArea = (seriesLabelOptions.onArea ?? !!series.area), findDistanceToOthers = (onArea || seriesLabelOptions.connectorAllowed), leastDistance = 16, boxesToAvoid = chart.boxesToAvoid;
|
|
322
335
|
let distToOthersSquared = Number.MAX_VALUE, // Distance to other graphs
|
|
323
336
|
distToPointSquared = Number.MAX_VALUE, dist, connectorPoint, withinRange, xDist, yDist, i, j;
|
|
324
337
|
/**
|
|
@@ -465,7 +478,7 @@ function drawSeriesLabels(chart) {
|
|
|
465
478
|
if (!labelOptions || (!series.xAxis && !series.yAxis)) {
|
|
466
479
|
return;
|
|
467
480
|
}
|
|
468
|
-
const colorClass = ('highcharts-color-' + (
|
|
481
|
+
const colorClass = ('highcharts-color-' + (series.colorIndex ?? 'none')), isNew = !series.labelBySeries, minFontSize = labelOptions.minFontSize, maxFontSize = labelOptions.maxFontSize, inverted = chart.inverted, paneLeft = (inverted ? series.yAxis.pos : series.xAxis.pos), paneTop = (inverted ? series.xAxis.pos : series.yAxis.pos), paneWidth = chart.inverted ? series.yAxis.len : series.xAxis.len, paneHeight = chart.inverted ? series.xAxis.len : series.yAxis.len, points = series.interpolatedPoints, onArea = (labelOptions.onArea ?? !!series.area), results = [], xData = series.getColumn('x');
|
|
469
482
|
let bBox, x, y, clearPoint, i, best, label = series.labelBySeries, dataExtremes, areaMin, areaMax;
|
|
470
483
|
// Stay within the area data bounds (#10038)
|
|
471
484
|
if (onArea && !inverted) {
|
|
@@ -480,7 +493,7 @@ function drawSeriesLabels(chart) {
|
|
|
480
493
|
* @internal
|
|
481
494
|
*/
|
|
482
495
|
function insidePane(x, y, bBox) {
|
|
483
|
-
const leftBound = Math.max(paneLeft, (
|
|
496
|
+
const leftBound = Math.max(paneLeft, (areaMin ?? -Infinity)), rightBound = Math.min(paneLeft + paneWidth, (areaMax ?? Infinity));
|
|
484
497
|
return (x > leftBound &&
|
|
485
498
|
x <= rightBound - bBox.width &&
|
|
486
499
|
y >= paneTop &&
|
|
@@ -638,7 +651,7 @@ function drawSeriesLabels(chart) {
|
|
|
638
651
|
// animation (#9396)
|
|
639
652
|
let animationOptions;
|
|
640
653
|
if (isNew) {
|
|
641
|
-
animationOptions = animObject(series.options.animation);
|
|
654
|
+
animationOptions = (0,external_highcharts_src_js_default_namespaceObject.animObject)(series.options.animation);
|
|
642
655
|
animationOptions.duration *= 0.2;
|
|
643
656
|
}
|
|
644
657
|
series.labelBySeries
|
|
@@ -687,7 +700,7 @@ function getPointsOnGraph(series) {
|
|
|
687
700
|
if (!series.xAxis && !series.yAxis) {
|
|
688
701
|
return;
|
|
689
702
|
}
|
|
690
|
-
const distance = 16, points = series.points, interpolated = [], graph = series.graph || series.area, node = graph && graph.element, inverted = series.chart.inverted, xAxis = series.xAxis, yAxis = series.yAxis, paneLeft = inverted ? yAxis.pos : xAxis.pos, paneTop = inverted ? xAxis.pos : yAxis.pos, paneHeight = inverted ? xAxis.len : yAxis.len, paneWidth = inverted ? yAxis.len : xAxis.len, seriesLabelOptions = series.options.label || {}, onArea = (
|
|
703
|
+
const distance = 16, points = series.points, interpolated = [], graph = series.graph || series.area, node = graph && graph.element, inverted = series.chart.inverted, xAxis = series.xAxis, yAxis = series.yAxis, paneLeft = inverted ? yAxis.pos : xAxis.pos, paneTop = inverted ? xAxis.pos : yAxis.pos, paneHeight = inverted ? xAxis.len : yAxis.len, paneWidth = inverted ? yAxis.len : xAxis.len, seriesLabelOptions = series.options.label || {}, onArea = (seriesLabelOptions.onArea ?? !!series.area), translatedThreshold = yAxis.getThreshold(series.options.threshold), grid = {}, chartCenterKey = inverted ? 'chartCenterX' : 'chartCenterY';
|
|
691
704
|
let i, deltaX, deltaY, delta, len, n, j;
|
|
692
705
|
/**
|
|
693
706
|
* Push the point to the interpolated points, but only if that position in
|
|
@@ -760,11 +773,11 @@ function getPointsOnGraph(series) {
|
|
|
760
773
|
}
|
|
761
774
|
if (inverted) {
|
|
762
775
|
ctlPoint.chartCenterX = paneLeft + paneWidth - ((plotHigh ? plotHigh : point.plotY || 0) +
|
|
763
|
-
(
|
|
776
|
+
(point.yBottom ?? translatedThreshold)) / 2;
|
|
764
777
|
}
|
|
765
778
|
else {
|
|
766
779
|
ctlPoint.chartCenterY = paneTop + ((plotHigh ? plotHigh : plotY) +
|
|
767
|
-
(
|
|
780
|
+
(point.yBottom ?? translatedThreshold)) / 2;
|
|
768
781
|
}
|
|
769
782
|
}
|
|
770
783
|
// Add interpolated points
|
|
@@ -824,7 +837,7 @@ function labelFontSize(series, minFontSize, maxFontSize) {
|
|
|
824
837
|
function onChartRedraw(e) {
|
|
825
838
|
if (this.renderer) {
|
|
826
839
|
const chart = this;
|
|
827
|
-
let delay = animObject(chart.renderer.globalAnimation).duration;
|
|
840
|
+
let delay = (0,external_highcharts_src_js_default_namespaceObject.animObject)(chart.renderer.globalAnimation).duration;
|
|
828
841
|
chart.labelSeries = [];
|
|
829
842
|
chart.labelSeriesMaxSum = 0;
|
|
830
843
|
if (chart.seriesLabelTimer) {
|
|
@@ -848,7 +861,7 @@ function onChartRedraw(e) {
|
|
|
848
861
|
// The labels are processing heavy, wait until the animation is
|
|
849
862
|
// done
|
|
850
863
|
if (e.type === 'load') {
|
|
851
|
-
delay = Math.max(delay, animObject(series.options.animation).duration);
|
|
864
|
+
delay = Math.max(delay, (0,external_highcharts_src_js_default_namespaceObject.animObject)(series.options.animation).duration);
|
|
852
865
|
}
|
|
853
866
|
// Keep the position updated to the axis while redrawing
|
|
854
867
|
if (closest) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Highcharts JS v13.0.
|
|
2
|
+
* Highcharts JS v13.0.2 (2026-08-27)
|
|
3
3
|
* @module highcharts/modules/series-on-point
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
*
|
|
11
11
|
* A commercial license may be required depending on use,
|
|
12
12
|
* see www.highcharts.com/license
|
|
13
|
-
*/import*as t from"../highcharts.js";
|
|
13
|
+
*/import*as t from"../highcharts.js";let e={};e.n=t=>{let s=t&&t.__esModule?()=>t.default:()=>t;return e.d(s,{a:s}),s},e.d=(t,s)=>{if(Array.isArray(s))for(var i=0;i<s.length;){var o=s[i++],r=s[i++];e.o(t,o)?0===r&&i++:0===r?Object.defineProperty(t,o,{enumerable:!0,value:s[i++]}):Object.defineProperty(t,o,{enumerable:!0,get:r})}else for(var o in s)e.o(s,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:s[o]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let s=t.default;var i,o=e.n(s);let{setLength:r,splice:n}={convertToNumber:function(t,e){switch(typeof t){case"boolean":return+!!t;case"number":return isNaN(t)&&!e?null:t;default:return isNaN(t=parseFloat(`${t??""}`))&&!e?null:t}},setLength:function(t,e,s){return Array.isArray(t)?(t.length=e,t):t[s?"subarray":"slice"](0,e)},splice:function(t,e,s,i,o=[]){if(Array.isArray(t))return Array.isArray(o)||(o=Array.from(o)),{removed:t.splice(e,s,...o),array:t};let r=Object.getPrototypeOf(t).constructor,n=t[i?"subarray":"slice"](e,e+s),a=new r(t.length-s+o.length);return a.set(t.subarray(0,e),0),a.set(o,e),a.set(t.subarray(e+s),e+o.length),{removed:n,array:a}}},a=class{constructor(t={}){this.isDataTable=!0,this.autoId=!t.id,this.columns={},this.id=t.id||(0,s.uniqueKey)(),this.rowCount=0,this.versionTag=(0,s.uniqueKey)();let e=0;(0,s.objectEach)(t.columns||{},(t,s)=>{this.columns[s]=t.slice(),e=Math.max(e,t.length)}),this.applyRowCount(e)}applyRowCount(t){this.rowCount=t,(0,s.objectEach)(this.columns,(e,s)=>{e.length!==t&&(this.columns[s]=r(e,t))})}deleteRows(t,e=1){if(e>0&&t<this.rowCount){let i=0;(0,s.objectEach)(this.columns,(s,o)=>{this.columns[o]=n(s,t,e).array,i=s.length}),this.rowCount=i}(0,s.fireEvent)(this,"afterDeleteRows",{rowIndex:t,rowCount:e}),this.versionTag=(0,s.uniqueKey)()}getColumn(t,e){return this.columns[t]}getColumns(t,e){return(t||Object.keys(this.columns)).reduce((t,e)=>(t[e]=this.columns[e],t),{})}getRowObject(t,e){let s={},i=this.columns;for(let o of(e??(e=Object.keys(this.columns)),e))s[o]=i[o]?.[t];return s}setColumn(t,e=[],s=0,i){this.setColumns({[t]:e},s,i)}setColumns(t,e,i){let o=this.rowCount;(0,s.objectEach)(t,(t,e)=>{this.columns[e]=t.slice(),o=t.length}),this.applyRowCount(o),i?.silent||((0,s.fireEvent)(this,"afterSetColumns"),this.versionTag=(0,s.uniqueKey)())}setRow(t,e=this.rowCount,i,o){var r;let{columns:a}=this,l=i?this.rowCount+1:e+1,h=Object.keys(t);if(o?.addColumns!==!1)for(let t=0,e=h.length;t<e;t++)a[r=h[t]]||(a[r]=Array(this.rowCount));(0,s.objectEach)(a,(s,o)=>{s&&(i?s=n(s,e,0,!0,[t[o]]).array:s[e]=o in t?t[o]:s[e],a[o]=s)}),this.applyRowCount(Math.max(l,this.rowCount)),o?.silent||((0,s.fireEvent)(this,"afterSetRows",{rowIndex:e}),this.versionTag=(0,s.uniqueKey)())}getModified(){return this.modified||this}},l=t.default.Point;var h=e.n(l);let u=t.default.SeriesRegistry;var d=e.n(u);let c=t.default.SVGRenderer;var p=e.n(c);let{composed:f}=o(),{bubble:y}=d().seriesTypes;var m=i||(i={});m.compose=function(t,e){if((0,s.pushUnique)(f,"SeriesOnPoint")){let{chartGetZData:i,seriesAfterInit:o,seriesAfterRender:r,seriesGetCenter:n,seriesShowOrHide:a,seriesTranslate:l}=g.prototype;t.types.pie.prototype.onPointSupported=!0,(0,s.addEvent)(t,"afterInit",o),(0,s.addEvent)(t,"afterRender",r),(0,s.addEvent)(t,"afterGetCenter",n),(0,s.addEvent)(t,"hide",a),(0,s.addEvent)(t,"show",a),(0,s.addEvent)(t,"translate",l),(0,s.addEvent)(e,"beforeRender",i),(0,s.addEvent)(e,"beforeRedraw",i)}return t};class g{constructor(t){this.getColumn=y.prototype.getColumn,this.getRadii=y.prototype.getRadii,this.getRadius=y.prototype.getRadius,this.getPxExtremes=y.prototype.getPxExtremes,this.getZExtremes=y.prototype.getZExtremes,this.chart=t.chart,this.series=t,this.options=t.options.onPoint}drawConnector(){this.connector||(this.connector=this.series.chart.renderer.path().addClass("highcharts-connector-seriesonpoint").attr({zIndex:-1}).add(this.series.markerGroup));let t=this.getConnectorAttributes();t&&this.connector.animate(t)}getConnectorAttributes(){let t=this.series.chart,e=this.options;if(!e)return;let i=e.connectorOptions||{},o=e.position,r=t.get(e.id);if(!(r instanceof h())||!o||!(0,s.defined)(r.plotX)||!(0,s.defined)(r.plotY))return;let n=(0,s.defined)(o.x)?o.x:r.plotX,a=(0,s.defined)(o.y)?o.y:r.plotY,l=n+(o.offsetX||0),u=a+(o.offsetY||0),d=i.width||1,c=i.stroke||this.series.color,f=i.dashstyle,y={d:p().prototype.crispLine([["M",n,a],["L",l,u]],d),"stroke-width":d};return t.styledMode||(y.stroke=c,y.dashstyle=f),y}seriesAfterInit(){this.onPointSupported&&this.options.onPoint&&(this.bubblePadding=!0,this.useMapGeometry=!0,this.onPoint=new g(this))}seriesAfterRender(){delete this.chart.bubbleZExtremes,this.onPoint&&this.onPoint.drawConnector()}seriesGetCenter(t){let e=this.options.onPoint,i=t.positions;if(e){let t=this.chart.get(e.id);t instanceof h()&&(0,s.defined)(t.plotX)&&(0,s.defined)(t.plotY)&&(i[0]=t.plotX,i[1]=t.plotY);let o=e.position;o&&((0,s.defined)(o.x)&&(i[0]=o.x),(0,s.defined)(o.y)&&(i[1]=o.y),o.offsetX&&(i[0]+=o.offsetX),o.offsetY&&(i[1]+=o.offsetY))}let o=this.radii&&this.radii[this.index];(0,s.isNumber)(o)&&(i[2]=2*o),t.positions=i}seriesShowOrHide(){let t=this.chart.series;this.points?.forEach(e=>{let i=(0,s.find)(t,t=>{let s=((t.onPoint||{}).options||{}).id;return!!s&&s===e.id});i&&i.setVisible(!i.visible,!1)})}seriesTranslate(){this.onPoint&&(this.onPoint.getRadii(),this.radii=this.onPoint.radii)}chartGetZData(){let t=[];this.series.forEach(e=>{let s=e.options.onPoint;t.push(s?.z??null)});let e=new a({columns:{z:t}});this.series.forEach(t=>{t.onPoint&&(t.onPoint.dataTable=t.dataTable=e)})}}m.Additions=g;let b=i,w=o();b.compose(w.Series,w.Chart);let C=o();export{C as default};
|