highcharts 13.0.2 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/highcharts.css +6 -2
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +10 -6
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +2 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +25 -1
- package/es-modules/Accessibility/KeyboardNavigation.js +1 -1
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +13 -3
- package/es-modules/Core/Animation/AnimationUtilities.js +7 -2
- package/es-modules/Core/Animation/Fx.js +1 -0
- package/es-modules/Core/Axis/Axis.js +181 -211
- package/es-modules/Core/Axis/Axis3DComposition.js +13 -15
- package/es-modules/Core/Axis/AxisDefaults.js +9 -8
- package/es-modules/Core/Axis/BrokenAxis.js +5 -4
- package/es-modules/Core/Axis/Color/ColorAxis.js +66 -54
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -0
- package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +6 -4
- package/es-modules/Core/Axis/DateTimeAxis.js +4 -3
- package/es-modules/Core/Axis/GridAxis.js +17 -13
- package/es-modules/Core/Axis/LogarithmicAxis.js +4 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +3 -4
- package/es-modules/Core/Axis/OrdinalAxis.js +0 -15
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +135 -72
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +72 -124
- package/es-modules/Core/Axis/RadialAxis.js +50 -7
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -0
- package/es-modules/Core/Axis/Stacking/StackItem.js +49 -75
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +34 -22
- package/es-modules/Core/Axis/Tick.js +95 -92
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +9 -13
- package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
- package/es-modules/Core/Chart/Chart.js +13 -4
- package/es-modules/Core/Chart/StockChart.js +20 -26
- package/es-modules/Core/Defaults.js +18 -0
- package/es-modules/Core/Globals.js +9 -7
- package/es-modules/Core/Pointer.js +7 -8
- package/es-modules/Core/Renderer/HTML/AST.js +18 -11
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +5 -1
- package/es-modules/Core/Renderer/SVG/SVGElement.js +1 -0
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
- package/es-modules/Core/Renderer/SVG/Symbols.js +1 -1
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +6 -2
- package/es-modules/Core/Series/OverlappingDataLabels.js +41 -32
- package/es-modules/Core/Series/Point.js +14 -11
- package/es-modules/Core/Series/Series.js +21 -10
- package/es-modules/Core/Tooltip.js +35 -40
- package/es-modules/Data/DataCursor.js +3 -2
- package/es-modules/Data/DataTable.js +21 -2
- package/es-modules/Data/DataTableCore.js +28 -4
- package/es-modules/Data/Formula/FormulaParser.js +30 -10
- package/es-modules/Extensions/Annotations/Annotation.js +5 -7
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +4 -13
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -4
- package/es-modules/Extensions/Breadcrumbs/BreadcrumbsDefaults.js +1 -1
- package/es-modules/Extensions/Data.js +4 -2
- package/es-modules/Extensions/DragPanes/DragPanes.js +6 -9
- package/es-modules/Extensions/Drilldown/Drilldown.js +9 -4
- package/es-modules/Extensions/ExportData/ExportData.js +24 -4
- package/es-modules/Extensions/Pane/Pane.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +5 -4
- package/es-modules/Extensions/StaticScale.js +13 -11
- package/es-modules/Series/Area/AreaSeriesDefaults.js +1 -1
- package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +1 -1
- package/es-modules/Series/AreaSpline/AreaSplineSeries.js +1 -1
- package/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +1 -1
- package/es-modules/Series/Bar/BarSeries.js +1 -1
- package/es-modules/Series/Bellcurve/BellcurveSeriesDefaults.js +1 -1
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +1 -1
- package/es-modules/Series/Bubble/BubbleSeries.js +1 -1
- package/es-modules/Series/Bullet/BulletSeriesDefaults.js +1 -1
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +1 -1
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +6 -3
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js +2 -3
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +1 -1
- package/es-modules/Series/Contour/ContourSeriesDefaults.js +12 -14
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +1 -1
- package/es-modules/Series/Flags/FlagsPoint.js +4 -2
- package/es-modules/Series/Flags/FlagsPointOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSeries.js +8 -7
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +7 -7
- package/es-modules/Series/Flags/FlagsSeriesOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSymbols.js +5 -3
- package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +1 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +1 -1
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +1 -1
- package/es-modules/Series/HLC/HLCSeriesDefaults.js +1 -7
- package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -1
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +1 -1
- package/es-modules/Series/Histogram/HistogramSeriesDefaults.js +1 -1
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +1 -1
- package/es-modules/Series/Item/ItemSeriesDefaults.js +1 -1
- package/es-modules/Series/Line/LineSeries.js +0 -1
- package/es-modules/Series/Map/MapSeriesDefaults.js +1 -1
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +0 -1
- package/es-modules/Series/MapLine/MapLineSeriesDefaults.js +1 -1
- package/es-modules/Series/MapPoint/MapPointSeriesDefaults.js +0 -1
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +5 -5
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +0 -1
- package/es-modules/Series/PackedBubble/PackedBubbleChart.js +18 -0
- package/es-modules/Series/PackedBubble/PackedBubbleDataLabelOptions.js +12 -0
- package/es-modules/Series/PackedBubble/PackedBubbleIntegration.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +2 -2
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubblePointOptions.js +12 -0
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +20 -20
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -2
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesOptions.js +12 -0
- package/es-modules/Series/ParetoSeries/ParetoPoint.js +17 -0
- package/es-modules/Series/ParetoSeries/ParetoPointOptions.js +12 -0
- package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -3
- package/es-modules/Series/ParetoSeries/ParetoSeriesDefaults.js +1 -1
- package/es-modules/Series/ParetoSeries/ParetoSeriesOptions.js +12 -0
- package/es-modules/Series/PathUtilities.js +3 -1
- package/es-modules/Series/Pictorial/PictorialPointOptions.js +12 -0
- package/es-modules/Series/Pictorial/PictorialSeries.js +5 -25
- package/es-modules/Series/Pictorial/PictorialSeriesDefaults.js +45 -0
- package/es-modules/Series/Pictorial/PictorialSeriesOptions.js +12 -0
- package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DPoint.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DSeries.js +6 -6
- package/es-modules/Series/PolarComposition.js +22 -21
- package/es-modules/Series/Polygon/PolygonPoint.js +17 -0
- package/es-modules/Series/Polygon/PolygonPointOptions.js +12 -0
- package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +1 -1
- package/es-modules/Series/Polygon/PolygonSeriesOptions.js +12 -0
- package/es-modules/Series/Pyramid/PyramidPoint.js +19 -0
- package/es-modules/Series/Pyramid/PyramidPointOptions.js +14 -0
- package/es-modules/Series/Pyramid/PyramidSeries.js +1 -1
- package/es-modules/Series/Pyramid/PyramidSeriesDefaults.js +1 -1
- package/es-modules/Series/Pyramid/PyramidSeriesOptions.js +14 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DPoint.js +19 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DPointOptions.js +14 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +1 -1
- package/es-modules/Series/Pyramid3D/Pyramid3DSeriesOptions.js +14 -0
- package/es-modules/Series/Renko/RenkoSeriesDefaults.js +1 -2
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +6 -7
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +1 -1
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +1 -1
- package/es-modules/Series/Spline/SplineSeries.js +1 -1
- package/es-modules/Series/Streamgraph/StreamgraphSeriesDefaults.js +1 -1
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +1 -1
- package/es-modules/Series/TiledWebMap/TiledWebMapSeriesDefaults.js +2 -2
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +1 -1
- package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +1 -1
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +1 -1
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +1 -1
- package/es-modules/Series/Variwide/VariwideComposition.js +11 -8
- package/es-modules/Series/Vector/VectorSeriesDefaults.js +1 -1
- package/es-modules/Series/Venn/VennSeriesDefaults.js +1 -1
- package/es-modules/Series/Waterfall/WaterfallSeriesDefaults.js +1 -1
- package/es-modules/Series/Windbarb/WindbarbSeriesDefaults.js +1 -1
- package/es-modules/Shared/Utilities.js +7 -0
- package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/AD/ADIndicator.js +0 -1
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/APO/APOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/ATR/ATRIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -1
- package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +2 -2
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CCI/CCIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +3 -3
- package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +0 -1
- package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngleIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionInterceptIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopesIndicator.js +0 -1
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +0 -1
- package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +0 -1
- package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +0 -1
- package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +0 -1
- package/es-modules/Stock/Indicators/ROC/ROCIndicator.js +0 -1
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -3
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +0 -1
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -1
- package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +0 -1
- package/es-modules/Stock/Indicators/WMA/WMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +0 -1
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +5 -5
- package/es-modules/Stock/Navigator/Navigator.js +1 -5
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +38 -8
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +2 -2
- package/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -3
- 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 +1 -1
- 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 +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/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 +1 -1
- 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 +38 -61
- package/esm/highcharts-autoload.js +2 -2
- package/esm/highcharts-autoload.src.js +18 -39
- package/esm/highcharts-gantt.js +1 -1
- package/esm/highcharts-gantt.src.js +1 -1
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +142 -120
- package/esm/highcharts.js +4 -4
- package/esm/highcharts.src.js +824 -750
- package/esm/highmaps.js +1 -1
- package/esm/highmaps.src.js +1 -1
- package/esm/highstock.js +1 -1
- package/esm/highstock.src.js +1 -1
- package/esm/i18n/fr-FR.js +2 -2
- package/esm/i18n/fr-FR.src.js +17 -38
- package/esm/i18n/nb-NO.js +2 -2
- package/esm/i18n/nb-NO.src.js +17 -38
- package/esm/i18n/zh-CN.js +2 -2
- package/esm/i18n/zh-CN.src.js +17 -38
- package/esm/indicators/acceleration-bands.js +2 -2
- package/esm/indicators/acceleration-bands.src.js +18 -39
- package/esm/indicators/accumulation-distribution.js +2 -2
- package/esm/indicators/accumulation-distribution.src.js +17 -39
- package/esm/indicators/ao.js +2 -2
- package/esm/indicators/ao.src.js +18 -39
- package/esm/indicators/apo.js +2 -2
- package/esm/indicators/apo.src.js +18 -39
- package/esm/indicators/aroon-oscillator.js +2 -2
- package/esm/indicators/aroon-oscillator.src.js +19 -40
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +18 -39
- package/esm/indicators/atr.js +2 -2
- package/esm/indicators/atr.src.js +17 -39
- package/esm/indicators/bollinger-bands.js +2 -2
- package/esm/indicators/bollinger-bands.src.js +17 -39
- package/esm/indicators/cci.js +2 -2
- package/esm/indicators/cci.src.js +17 -39
- package/esm/indicators/chaikin.js +2 -2
- package/esm/indicators/chaikin.src.js +18 -40
- package/esm/indicators/cmf.js +2 -2
- package/esm/indicators/cmf.src.js +17 -39
- package/esm/indicators/cmo.js +2 -2
- package/esm/indicators/cmo.src.js +17 -39
- package/esm/indicators/dema.js +2 -2
- package/esm/indicators/dema.src.js +18 -39
- package/esm/indicators/disparity-index.js +2 -2
- package/esm/indicators/disparity-index.src.js +20 -41
- package/esm/indicators/dmi.js +2 -2
- package/esm/indicators/dmi.src.js +20 -41
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +18 -39
- package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
- package/esm/indicators/ichimoku-kinko-hyo.src.js +18 -40
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +76 -99
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +48 -46
- package/esm/indicators/keltner-channels.js +2 -2
- package/esm/indicators/keltner-channels.src.js +18 -39
- package/esm/indicators/klinger.js +2 -2
- package/esm/indicators/klinger.src.js +17 -38
- package/esm/indicators/macd.js +2 -2
- package/esm/indicators/macd.src.js +17 -39
- package/esm/indicators/mfi.js +2 -2
- package/esm/indicators/mfi.src.js +17 -39
- package/esm/indicators/momentum.js +2 -2
- package/esm/indicators/momentum.src.js +17 -39
- package/esm/indicators/natr.js +2 -2
- package/esm/indicators/natr.src.js +17 -39
- package/esm/indicators/obv.js +2 -2
- package/esm/indicators/obv.src.js +17 -39
- package/esm/indicators/pivot-points.js +2 -2
- package/esm/indicators/pivot-points.src.js +17 -39
- package/esm/indicators/ppo.js +2 -2
- package/esm/indicators/ppo.src.js +18 -39
- package/esm/indicators/price-channel.js +2 -2
- package/esm/indicators/price-channel.src.js +18 -39
- package/esm/indicators/price-envelopes.js +2 -2
- package/esm/indicators/price-envelopes.src.js +17 -39
- package/esm/indicators/psar.js +2 -2
- package/esm/indicators/psar.src.js +17 -39
- package/esm/indicators/regressions.js +2 -2
- package/esm/indicators/regressions.src.js +17 -42
- package/esm/indicators/roc.js +2 -2
- package/esm/indicators/roc.src.js +17 -39
- package/esm/indicators/rsi.js +2 -2
- package/esm/indicators/rsi.src.js +17 -39
- package/esm/indicators/slow-stochastic.js +2 -2
- package/esm/indicators/slow-stochastic.src.js +17 -38
- package/esm/indicators/stochastic.js +2 -2
- package/esm/indicators/stochastic.src.js +20 -41
- package/esm/indicators/supertrend.js +2 -2
- package/esm/indicators/supertrend.src.js +19 -40
- package/esm/indicators/tema.js +2 -2
- package/esm/indicators/tema.src.js +18 -39
- package/esm/indicators/trendline.js +2 -2
- package/esm/indicators/trendline.src.js +17 -39
- package/esm/indicators/trix.js +2 -2
- package/esm/indicators/trix.src.js +18 -39
- package/esm/indicators/volume-by-price.js +2 -2
- package/esm/indicators/volume-by-price.src.js +18 -39
- package/esm/indicators/vwap.js +2 -2
- package/esm/indicators/vwap.src.js +17 -39
- package/esm/indicators/williams-r.js +2 -2
- package/esm/indicators/williams-r.src.js +18 -39
- package/esm/indicators/wma.js +2 -2
- package/esm/indicators/wma.src.js +17 -39
- package/esm/indicators/zigzag.js +2 -2
- package/esm/indicators/zigzag.src.js +17 -39
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +90 -76
- package/esm/modules/annotations-advanced.js +3 -3
- package/esm/modules/annotations-advanced.src.js +36 -58
- package/esm/modules/annotations.js +3 -3
- package/esm/modules/annotations.src.js +36 -58
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +18 -39
- package/esm/modules/arrow-symbols.js +3 -3
- package/esm/modules/arrow-symbols.src.js +17 -38
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +57 -63
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +56 -62
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +21 -41
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +18 -39
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +92 -96
- package/esm/modules/contour.js +3 -3
- package/esm/modules/contour.src.js +29 -52
- package/esm/modules/current-date-indicator.js +2 -2
- package/esm/modules/current-date-indicator.src.js +17 -38
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +18 -39
- package/esm/modules/data-sorting.js +2 -2
- package/esm/modules/data-sorting.src.js +18 -39
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +110 -67
- package/esm/modules/data.js +4 -4
- package/esm/modules/data.src.js +53 -48
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +52 -48
- package/esm/modules/debugger.js +2 -2
- package/esm/modules/debugger.src.js +17 -38
- package/esm/modules/dependency-wheel.js +2 -2
- package/esm/modules/dependency-wheel.src.js +17 -38
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +17 -38
- package/esm/modules/drag-panes.js +2 -2
- package/esm/modules/drag-panes.src.js +22 -46
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +17 -38
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +40 -54
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +18 -39
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +42 -43
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +26 -47
- package/esm/modules/flowmap.js +2 -2
- package/esm/modules/flowmap.src.js +17 -38
- package/esm/modules/full-screen.js +2 -2
- package/esm/modules/full-screen.src.js +17 -38
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +21 -42
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +18 -39
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +84 -104
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +18 -39
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +34 -51
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +20 -41
- package/esm/modules/heikinashi.js +2 -2
- package/esm/modules/heikinashi.src.js +18 -39
- package/esm/modules/histogram-bellcurve.js +2 -2
- package/esm/modules/histogram-bellcurve.src.js +19 -40
- package/esm/modules/hollowcandlestick.js +2 -2
- package/esm/modules/hollowcandlestick.src.js +18 -39
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +19 -40
- package/esm/modules/lollipop.js +2 -2
- package/esm/modules/lollipop.src.js +18 -39
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +64 -63
- package/esm/modules/marker-clusters.js +2 -2
- package/esm/modules/marker-clusters.src.js +49 -46
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +17 -38
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +72 -67
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +24 -45
- package/esm/modules/no-data-to-display.js +2 -2
- package/esm/modules/no-data-to-display.src.js +17 -38
- package/esm/modules/non-cartesian-zoom.js +2 -2
- package/esm/modules/non-cartesian-zoom.src.js +17 -38
- package/esm/modules/offline-exporting.js +2 -2
- package/esm/modules/offline-exporting.src.js +19 -40
- package/esm/modules/organization.js +2 -2
- package/esm/modules/organization.src.js +20 -39
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +24 -44
- package/esm/modules/pareto.js +2 -2
- package/esm/modules/pareto.src.js +21 -42
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +20 -39
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +17 -38
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +71 -65
- package/esm/modules/pointandfigure.js +2 -2
- package/esm/modules/pointandfigure.src.js +47 -44
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +17 -38
- package/esm/modules/pyramid3d.js +2 -2
- package/esm/modules/pyramid3d.src.js +18 -39
- package/esm/modules/renko.js +2 -2
- package/esm/modules/renko.src.js +18 -40
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +24 -46
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +17 -38
- package/esm/modules/series-on-point.js +2 -2
- package/esm/modules/series-on-point.src.js +47 -44
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +18 -39
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +18 -39
- package/esm/modules/static-scale.js +2 -2
- package/esm/modules/static-scale.src.js +30 -49
- package/esm/modules/stock-tools.js +2 -2
- package/esm/modules/stock-tools.src.js +29 -50
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +117 -141
- package/esm/modules/streamgraph.js +2 -2
- package/esm/modules/streamgraph.src.js +18 -39
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +38 -57
- package/esm/modules/textpath.js +2 -2
- package/esm/modules/textpath.src.js +17 -38
- package/esm/modules/tiledwebmap.js +3 -3
- package/esm/modules/tiledwebmap.src.js +19 -40
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +22 -40
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +19 -40
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +23 -42
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +47 -67
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +34 -53
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +19 -40
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +28 -46
- package/esm/modules/vector.js +2 -2
- package/esm/modules/vector.src.js +18 -39
- package/esm/modules/venn.js +2 -2
- package/esm/modules/venn.src.js +18 -39
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +18 -39
- package/esm/modules/wordcloud.js +2 -2
- package/esm/modules/wordcloud.src.js +18 -39
- package/esm/modules/xrange.js +2 -2
- package/esm/modules/xrange.src.js +18 -39
- package/esm/standalone-navigator.js +4 -4
- package/esm/standalone-navigator.src.js +876 -776
- package/esm/themes/adaptive.js +2 -2
- package/esm/themes/adaptive.src.js +17 -38
- package/esm/themes/avocado.js +2 -2
- package/esm/themes/avocado.src.js +17 -38
- package/esm/themes/dark-unica.js +2 -2
- package/esm/themes/dark-unica.src.js +17 -38
- package/esm/themes/grid-light.js +2 -2
- package/esm/themes/grid-light.src.js +17 -38
- package/esm/themes/high-contrast.js +2 -2
- package/esm/themes/high-contrast.src.js +17 -38
- package/esm/themes/sand-signika.js +2 -2
- package/esm/themes/sand-signika.src.js +17 -38
- package/esm/themes/sunset.js +2 -2
- package/esm/themes/sunset.src.js +17 -38
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +43 -66
- package/highcharts-autoload.d.ts +0 -1
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +0 -1
- package/highcharts-autoload.src.js +833 -778
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +895 -839
- package/highcharts-more.d.ts +10 -0
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.d.ts +10 -0
- package/highcharts-more.src.js +147 -125
- package/highcharts.d.ts +2785 -80144
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +2785 -80144
- package/highcharts.src.js +832 -777
- package/highmaps.js +4 -4
- package/highmaps.src.js +915 -845
- package/highstock.js +4 -4
- package/highstock.src.js +903 -874
- package/i18n/fr-FR.js +2 -2
- package/i18n/fr-FR.src.js +26 -37
- package/i18n/nb-NO.js +2 -2
- package/i18n/nb-NO.src.js +26 -37
- package/i18n/zh-CN.js +2 -2
- package/i18n/zh-CN.src.js +26 -37
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +23 -44
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +22 -44
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +23 -44
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +23 -44
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +24 -45
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +23 -44
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +22 -44
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +22 -44
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +22 -44
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +23 -45
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +22 -44
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +22 -44
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +23 -44
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +25 -46
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +25 -46
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +23 -44
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +23 -45
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +81 -104
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +53 -51
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +23 -44
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +22 -43
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +22 -44
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +22 -44
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +22 -44
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +22 -44
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +22 -44
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +22 -44
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +23 -44
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +23 -44
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +22 -44
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +22 -44
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +22 -47
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +22 -44
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +22 -44
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +22 -43
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +25 -46
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +24 -45
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +23 -44
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +22 -44
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +23 -44
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +23 -44
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +22 -44
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +23 -44
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +22 -44
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +22 -44
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +95 -81
- package/modules/annotations-advanced.js +9 -9
- package/modules/annotations-advanced.src.js +41 -63
- package/modules/annotations.js +3 -3
- package/modules/annotations.src.js +41 -63
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +23 -44
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +17 -38
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +62 -68
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +61 -67
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +26 -46
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +23 -44
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +97 -101
- package/modules/contour.js +5 -5
- package/modules/contour.src.js +111 -117
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +17 -38
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +23 -44
- package/modules/data-sorting.js +2 -2
- package/modules/data-sorting.src.js +18 -39
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +110 -67
- package/modules/data.js +4 -4
- package/modules/data.src.js +58 -53
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +57 -53
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +17 -38
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.js +22 -43
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +22 -43
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +22 -46
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +17 -38
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +45 -59
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +23 -44
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +47 -48
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +31 -52
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +22 -43
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +22 -43
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +26 -47
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +23 -44
- package/modules/gantt.js +8 -8
- package/modules/gantt.src.js +93 -113
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.js +23 -44
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +39 -56
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.js +101 -105
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +23 -44
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +24 -45
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +23 -44
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +24 -45
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +23 -44
- package/modules/map.js +4 -4
- package/modules/map.src.js +146 -128
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +49 -46
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +17 -38
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +77 -72
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +29 -50
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +22 -43
- package/modules/non-cartesian-zoom.js +2 -2
- package/modules/non-cartesian-zoom.src.js +17 -38
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +24 -45
- package/modules/organization.js +3 -3
- package/modules/organization.src.js +25 -44
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +29 -49
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +26 -47
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +25 -44
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +17 -38
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +76 -70
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +52 -49
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +17 -38
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +23 -44
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +23 -45
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +29 -51
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +22 -43
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +52 -49
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +23 -44
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +23 -44
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +30 -49
- package/modules/stock-tools.js +2 -2
- package/modules/stock-tools.src.js +34 -55
- package/modules/stock.js +6 -6
- package/modules/stock.src.js +132 -154
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +23 -44
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +43 -62
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +17 -38
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +24 -45
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +27 -45
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +24 -45
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +28 -47
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +52 -72
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +39 -58
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +24 -45
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +33 -51
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +23 -44
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +23 -44
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +23 -44
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +23 -44
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +23 -44
- package/options/abands.d.ts +183 -8
- package/options/abands.src.d.ts +183 -8
- package/options/ad.d.ts +176 -5
- package/options/ad.src.d.ts +176 -5
- package/options/ao.d.ts +202 -0
- package/options/ao.src.d.ts +202 -0
- package/options/apo.d.ts +178 -8
- package/options/apo.src.d.ts +178 -8
- package/options/arcdiagram.d.ts +785 -0
- package/options/arcdiagram.src.d.ts +785 -0
- package/options/area.d.ts +226 -0
- package/options/area.src.d.ts +226 -0
- package/options/arearange.d.ts +229 -8
- package/options/arearange.src.d.ts +229 -8
- package/options/areaspline.d.ts +1344 -8
- package/options/areaspline.src.d.ts +1344 -8
- package/options/areasplinerange.d.ts +972 -8
- package/options/areasplinerange.src.d.ts +972 -8
- package/options/aroon.d.ts +219 -0
- package/options/aroon.src.d.ts +219 -0
- package/options/aroonoscillator.d.ts +1140 -8
- package/options/aroonoscillator.src.d.ts +1140 -8
- package/options/atr.d.ts +210 -0
- package/options/atr.src.d.ts +210 -0
- package/options/bar.d.ts +183 -10
- package/options/bar.src.d.ts +183 -10
- package/options/bb.d.ts +1232 -0
- package/options/bb.src.d.ts +1232 -0
- package/options/bellcurve.d.ts +1167 -8
- package/options/bellcurve.src.d.ts +1167 -8
- package/options/boxplot.d.ts +163 -10
- package/options/boxplot.src.d.ts +163 -10
- package/options/bubble.d.ts +1005 -8
- package/options/bubble.src.d.ts +1005 -8
- package/options/bullet.d.ts +953 -8
- package/options/bullet.src.d.ts +953 -8
- package/options/candlestick.d.ts +1309 -8
- package/options/candlestick.src.d.ts +1309 -8
- package/options/cci.d.ts +210 -0
- package/options/cci.src.d.ts +210 -0
- package/options/chaikin.d.ts +180 -8
- package/options/chaikin.src.d.ts +180 -8
- package/options/cmf.d.ts +211 -0
- package/options/cmf.src.d.ts +211 -0
- package/options/cmo.d.ts +175 -5
- package/options/cmo.src.d.ts +175 -5
- package/options/column.d.ts +252 -2
- package/options/column.src.d.ts +252 -2
- package/options/columnpyramid.d.ts +1296 -0
- package/options/columnpyramid.src.d.ts +1296 -0
- package/options/columnrange.d.ts +216 -2
- package/options/columnrange.src.d.ts +216 -2
- package/options/contour.d.ts +1148 -0
- package/options/contour.src.d.ts +1148 -0
- package/options/cylinder.d.ts +183 -2
- package/options/cylinder.src.d.ts +183 -2
- package/options/dema.d.ts +1181 -0
- package/options/dema.src.d.ts +1181 -0
- package/options/dependencywheel.d.ts +315 -0
- package/options/dependencywheel.src.d.ts +315 -0
- package/options/disparityindex.d.ts +1157 -8
- package/options/disparityindex.src.d.ts +1157 -8
- package/options/dmi.d.ts +1227 -0
- package/options/dmi.src.d.ts +1227 -0
- package/options/dpo.d.ts +1140 -8
- package/options/dpo.src.d.ts +1140 -8
- package/options/dumbbell.d.ts +286 -0
- package/options/dumbbell.src.d.ts +286 -0
- package/options/ema.d.ts +1156 -5
- package/options/ema.src.d.ts +1156 -5
- package/options/errorbar.d.ts +1286 -0
- package/options/errorbar.src.d.ts +1286 -0
- package/options/flags.d.ts +1269 -8
- package/options/flags.src.d.ts +1269 -8
- package/options/flowmap.d.ts +551 -0
- package/options/flowmap.src.d.ts +551 -0
- package/options/funnel.d.ts +728 -10
- package/options/funnel.src.d.ts +728 -10
- package/options/gantt.d.ts +1011 -0
- package/options/gantt.src.d.ts +1011 -0
- package/options/gauge.d.ts +675 -0
- package/options/gauge.src.d.ts +675 -0
- package/options/geoheatmap.d.ts +585 -8
- package/options/geoheatmap.src.d.ts +585 -8
- package/options/heatmap.d.ts +1054 -8
- package/options/heatmap.src.d.ts +1054 -8
- package/options/heikinashi.d.ts +178 -10
- package/options/heikinashi.src.d.ts +178 -10
- package/options/histogram.d.ts +1226 -0
- package/options/histogram.src.d.ts +1226 -0
- package/options/hlc.d.ts +223 -2
- package/options/hlc.src.d.ts +223 -2
- package/options/hollowcandlestick.d.ts +1335 -0
- package/options/hollowcandlestick.src.d.ts +1335 -0
- package/options/ikh.d.ts +228 -5
- package/options/ikh.src.d.ts +228 -5
- package/options/item.d.ts +217 -8
- package/options/item.src.d.ts +217 -8
- package/options/keltnerchannels.d.ts +1220 -0
- package/options/keltnerchannels.src.d.ts +1220 -0
- package/options/klinger.d.ts +1162 -0
- package/options/klinger.src.d.ts +1162 -0
- package/options/line.d.ts +1377 -8
- package/options/line.src.d.ts +1377 -8
- package/options/linearregression.d.ts +199 -5
- package/options/linearregression.src.d.ts +199 -5
- package/options/linearregressionangle.d.ts +1157 -5
- package/options/linearregressionangle.src.d.ts +1157 -5
- package/options/linearregressionintercept.d.ts +240 -0
- package/options/linearregressionintercept.src.d.ts +240 -0
- package/options/linearregressionslope.d.ts +240 -0
- package/options/linearregressionslope.src.d.ts +240 -0
- package/options/lollipop.d.ts +949 -0
- package/options/lollipop.src.d.ts +949 -0
- package/options/macd.d.ts +254 -0
- package/options/macd.src.d.ts +254 -0
- package/options/map.d.ts +150 -8
- package/options/map.src.d.ts +150 -8
- package/options/mapbubble.d.ts +1016 -8
- package/options/mapbubble.src.d.ts +1016 -8
- package/options/mapline.d.ts +994 -0
- package/options/mapline.src.d.ts +994 -0
- package/options/mappoint.d.ts +1105 -1
- package/options/mappoint.src.d.ts +1105 -1
- package/options/mfi.d.ts +181 -5
- package/options/mfi.src.d.ts +181 -5
- package/options/momentum.d.ts +215 -0
- package/options/momentum.src.d.ts +215 -0
- package/options/natr.d.ts +170 -5
- package/options/natr.src.d.ts +170 -5
- package/options/networkgraph.d.ts +365 -0
- package/options/networkgraph.src.d.ts +365 -0
- package/options/obv.d.ts +170 -5
- package/options/obv.src.d.ts +170 -5
- package/options/ohlc.d.ts +183 -7
- package/options/ohlc.src.d.ts +183 -7
- package/options/organization.d.ts +808 -0
- package/options/organization.src.d.ts +808 -0
- package/options/packedbubble.d.ts +877 -8
- package/options/packedbubble.src.d.ts +877 -8
- package/options/pareto.d.ts +1028 -0
- package/options/pareto.src.d.ts +1028 -0
- package/options/pc.d.ts +183 -8
- package/options/pc.src.d.ts +183 -8
- package/options/pictorial.d.ts +202 -2
- package/options/pictorial.src.d.ts +202 -2
- package/options/pie.d.ts +196 -8
- package/options/pie.src.d.ts +196 -8
- package/options/pivotpoints.d.ts +1199 -0
- package/options/pivotpoints.src.d.ts +1199 -0
- package/options/pointandfigure.d.ts +980 -0
- package/options/pointandfigure.src.d.ts +980 -0
- package/options/polygon.d.ts +234 -0
- package/options/polygon.src.d.ts +234 -0
- package/options/ppo.d.ts +1156 -8
- package/options/ppo.src.d.ts +1156 -8
- package/options/priceenvelopes.d.ts +1229 -0
- package/options/priceenvelopes.src.d.ts +1229 -0
- package/options/psar.d.ts +1156 -5
- package/options/psar.src.d.ts +1156 -5
- package/options/pyramid.d.ts +837 -2
- package/options/pyramid.src.d.ts +837 -2
- package/options/renko.d.ts +247 -10
- package/options/renko.src.d.ts +247 -10
- package/options/roc.d.ts +1215 -0
- package/options/roc.src.d.ts +1215 -0
- package/options/rsi.d.ts +1157 -5
- package/options/rsi.src.d.ts +1157 -5
- package/options/sankey.d.ts +276 -8
- package/options/sankey.src.d.ts +276 -8
- package/options/scatter.d.ts +3043 -1018
- package/options/scatter.src.d.ts +3043 -1018
- package/options/series.d.ts +175 -0
- package/options/series.src.d.ts +175 -0
- package/options/slowstochastic.d.ts +183 -0
- package/options/slowstochastic.src.d.ts +183 -0
- package/options/sma.d.ts +211 -0
- package/options/sma.src.d.ts +211 -0
- package/options/solidgauge.d.ts +218 -0
- package/options/solidgauge.src.d.ts +218 -0
- package/options/spline.d.ts +230 -0
- package/options/spline.src.d.ts +230 -0
- package/options/stochastic.d.ts +1170 -8
- package/options/stochastic.src.d.ts +1170 -8
- package/options/streamgraph.d.ts +1345 -8
- package/options/streamgraph.src.d.ts +1345 -8
- package/options/sunburst.d.ts +286 -9
- package/options/sunburst.src.d.ts +286 -9
- package/options/supertrend.d.ts +1208 -0
- package/options/supertrend.src.d.ts +1208 -0
- package/options/tema.d.ts +1140 -8
- package/options/tema.src.d.ts +1140 -8
- package/options/tiledwebmap.d.ts +164 -0
- package/options/tiledwebmap.src.d.ts +164 -0
- package/options/tilemap.d.ts +687 -0
- package/options/tilemap.src.d.ts +687 -0
- package/options/timeline.d.ts +282 -0
- package/options/timeline.src.d.ts +282 -0
- package/options/treegraph.d.ts +982 -0
- package/options/treegraph.src.d.ts +982 -0
- package/options/treemap.d.ts +1396 -22
- package/options/treemap.src.d.ts +1396 -22
- package/options/trendline.d.ts +211 -0
- package/options/trendline.src.d.ts +211 -0
- package/options/trix.d.ts +178 -8
- package/options/trix.src.d.ts +178 -8
- package/options/variablepie.d.ts +686 -8
- package/options/variablepie.src.d.ts +686 -8
- package/options/variwide.d.ts +178 -2
- package/options/variwide.src.d.ts +178 -2
- package/options/vbp.d.ts +576 -0
- package/options/vbp.src.d.ts +576 -0
- package/options/vector.d.ts +660 -0
- package/options/vector.src.d.ts +660 -0
- package/options/venn.d.ts +654 -0
- package/options/venn.src.d.ts +654 -0
- package/options/vwap.d.ts +1157 -5
- package/options/vwap.src.d.ts +1157 -5
- package/options/waterfall.d.ts +1254 -8
- package/options/waterfall.src.d.ts +1254 -8
- package/options/williamsr.d.ts +209 -0
- package/options/williamsr.src.d.ts +209 -0
- package/options/windbarb.d.ts +222 -2
- package/options/windbarb.src.d.ts +222 -2
- package/options/wma.d.ts +1156 -5
- package/options/wma.src.d.ts +1156 -5
- package/options/wordcloud.d.ts +682 -0
- package/options/wordcloud.src.d.ts +682 -0
- package/options/xrange.d.ts +1168 -0
- package/options/xrange.src.d.ts +1168 -0
- package/options/zigzag.d.ts +1197 -0
- package/options/zigzag.src.d.ts +1197 -0
- package/package.json +1 -1
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +884 -803
- package/themes/adaptive.js +2 -2
- package/themes/adaptive.src.js +22 -43
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +17 -38
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +17 -38
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +17 -38
- package/themes/high-contrast.js +2 -2
- package/themes/high-contrast.src.js +17 -38
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +17 -38
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +17 -38
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Highcharts JS v13.0
|
|
2
|
+
* Highcharts JS v13.1.0 (2026-09-18)
|
|
3
3
|
* Organization chart series type
|
|
4
4
|
* @module highcharts/modules/organization
|
|
5
5
|
* @requires highcharts
|
|
@@ -10,6 +10,6 @@
|
|
|
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";let e={};e.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{
|
|
13
|
+
*/import*as t from"../highcharts.js";let e={};e.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=t.default;var s,n=e.n(i);let r=t.default.SeriesRegistry;var a=e.n(r);let{sankey:{prototype:{pointClass:o}}}=a().seriesTypes,h=class extends o{constructor(t,e,i){super(t,e,i),this.isNode||(this.dataLabelOnNull=!0,this.formatPrefix="link")}getSum(){return 1}setNodeColumn(){super.setNodeColumn();let t=this,e=t.getFromNode().fromNode;if(!(0,i.defined)(t.options.column)&&0!==t.linksTo.length&&e&&"hanging"===e.options.layout){let s=-1,n;t.options.layout=t.options.layout??"hanging",t.hangsFrom=e,(0,i.find)(e.linksFrom,(e,i)=>{let n=e.toNode===t;return n&&(s=i),n});for(let i=0;i<e.linksFrom.length;++i)(n=e.linksFrom[i]).toNode.id===t.id?i=e.linksFrom.length:s+=function t(e){let i=e.linksFrom.length;return e.linksFrom.forEach(e=>{e.id===e.toNode.linksTo[0].id?i+=t(e.toNode):i--}),i}(n.toNode);t.column=(t.column||0)+s}}};function l(t,e){let i=[];for(let s=0;s<t.length;s++){let n=t[s][1],r=t[s][2];if("number"==typeof n&&"number"==typeof r)if(0===s)i.push(["M",n,r]);else if(s===t.length-1)i.push(["L",n,r]);else if(e){let a=t[s-1],o=t[s+1];if(a&&o){let t=a[1],s=a[2],h=o[1],l=o[2];if("number"==typeof t&&"number"==typeof h&&"number"==typeof s&&"number"==typeof l&&t!==h&&s!==l){let a=t<h?1:-1,o=s<l?1:-1;i.push(["L",n-a*Math.min(Math.abs(n-t),e),r-o*Math.min(Math.abs(r-s),e)],["C",n,r,n,r,n+a*Math.min(Math.abs(n-h),e),r+o*Math.min(Math.abs(r-l),e)])}}}else i.push(["L",n,r])}return i}let d=t.default.SVGElement;var p=e.n(d);let{composed:g,deg2rad:u}=n(),{sankey:c}=a().seriesTypes;s=p(),(0,i.pushUnique)(g,"TextPath")&&((0,i.addEvent)(s,"afterGetBBox",function(t){let e=t.bBox,i=this.element?.querySelector("textPath");if(i){let t=[],{b:s,h:n}=this.renderer.fontMetrics(this.element),r=n-s,a=RegExp('(<tspan>|<tspan(?!\\sclass="highcharts-br")[^>]*>|<\\/tspan>)',"g"),o=i.innerHTML.replace(a,"").split(/<tspan class="highcharts-br"[^>]*>/),h=o.length,l=(t,e)=>{let{x:n,y:a}=e,o=(i.getRotationOfChar(t)-90)*u,h=Math.cos(o),l=Math.sin(o);return[[n-r*h,a-r*l],[n+s*h,a+s*l]]};for(let e=0,s=0;s<h;s++){let n=o[s].length;for(let r=0;r<n;r+=5)try{let n=e+r+s,[a,o]=l(n,i.getStartPositionOfChar(n));0===r?(t.push(o),t.push(a)):(0===s&&t.unshift(o),s===h-1&&t.push(a))}catch{break}e+=n-1;try{let n=e+s,r=i.getEndPositionOfChar(n),[a,o]=l(n,r);t.unshift(o),t.unshift(a)}catch{break}}t.length&&t.push(t[0].slice()),e.polygon=t}return e}),(0,i.addEvent)(s,"beforeAddingDataLabel",function(t){let e=t.labelOptions,i=t.point,s=e[i.formatPrefix+"TextPath"]||e.textPath;s&&!e.useHTML&&(this.setTextPath(i.getDataLabelPath?.(this)||i.graphic,s),i.dataLabelPath&&!s.enabled&&(i.dataLabelPath=i.dataLabelPath.destroy()))}),s.prototype.setTextPath=s.prototype.setTextPath??function(t,e){let s=this.renderer.url,n=this.text||this,r=n.textPath,{attributes:a,enabled:o}=(0,i.merge)({enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},e);if(t=t||r&&r.path,r?.undo(),t&&o){let e=(0,i.addEvent)(n,"afterModifyTree",e=>{if(t&&o){let r=t.attr("id");r||t.attr("id",r=(0,i.uniqueKey)());let o={x:0,y:0};(0,i.defined)(a.dx)&&(o.dx=a.dx,delete a.dx),(0,i.defined)(a.dy)&&(o.dy=a.dy,delete a.dy),n.attr(o),this.attr({transform:""}),this.box&&(this.box=this.box.destroy());let h=e.nodes.slice(0);e.nodes.length=0,e.nodes[0]={tagName:"textPath",attributes:(0,i.extend)(a,{"text-anchor":a.textAnchor,href:`${s}#${r}`}),children:h}}});n.textPath={path:t,undo:e}}else n.attr({dx:0,dy:0}),delete n.textPath;return this.added&&(n.textCache="",this.renderer.buildText(n)),this});class f extends c{alignDataLabel(t,e,s){let n=t.shapeArgs,r=e.text;if(s.useHTML&&n){let t=(0,i.splat)(this.options.dataLabels.padding||0),s=this.options.borderWidth||0,a=s+2*t[3%t.length],o=s+2*t[0%t.length],h=n.width||0,l=n.height||0;this.chart.inverted&&(h=l,l=n.width||0),h-=a,l-=o,r.foreignObject?.attr({x:0,y:0,width:h,height:l}),(0,i.css)(r.element.parentNode,{width:h+"px",height:l+"px"}),(0,i.css)(r.element,{left:0,top:0,width:"100%",height:"100%",overflow:"hidden"}),e.getBBox=()=>({width:h,height:l,x:0,y:0}),e.width=h,e.height=l}super.alignDataLabel.apply(this,arguments)}createNode(t){let e=super.createNode.call(this,t);return e.getSum=()=>1,e}pointAttribs(t,e){let s=c.prototype.pointAttribs.call(this,t,e),n=t.isNode?t.level:t.fromNode.level,r=this.mapOptionsToLevel[n||0]||{},a=t.options,o=r.states?.[e||"normal"]||{},h=o.borderRadius??a.borderRadius??r.borderRadius??this.options.borderRadius,l=o.linkColor??a.linkColor??r.linkColor??this.options.linkColor??o.link?.color??a.link?.color??r.link?.color??this.options.link?.color,d=o.linkLineWidth??a.linkLineWidth??r.linkLineWidth??this.options.linkLineWidth??o.link?.lineWidth??a.link?.lineWidth??r.link?.lineWidth??this.options.link?.lineWidth,p=o.linkOpacity??a.linkOpacity??r.linkOpacity??this.options.linkOpacity??o.link?.linkOpacity??a.link?.linkOpacity??r.link?.linkOpacity??this.options.link?.linkOpacity;return t.isNode?(0,i.isNumber)(h)&&(s.r=h):(s.stroke=l,s["stroke-width"]=d,s.opacity=p,delete s.fill),s}translateLink(t){let{chart:e,options:s}=this,n=t.fromNode,r=t.toNode,a=s.linkLineWidth??s.link.lineWidth??0,o=s.link.offset??.5,h=t.options.link?.type??s.link.type;if(n.shapeArgs&&r.shapeArgs){let d=s.hangingIndent||0,p="right"===s.hangingSide,g=r.options.offset,u=/%$/.test(g)&&parseInt(g,10),c=e.inverted,f=(0,i.crisp)((n.shapeArgs.x||0)+(n.shapeArgs.width||0),a),y=(0,i.crisp)((n.shapeArgs.y||0)+(n.shapeArgs.height||0)/2,a),m=(0,i.crisp)(r.shapeArgs.x||0,a),b=(0,i.crisp)((r.shapeArgs.y||0)+(r.shapeArgs.height||0)/2,a),x;if(c&&(f-=n.shapeArgs.width||0,m+=r.shapeArgs.width||0),x=this.colDistance?(0,i.crisp)(m+(c?1:-1)*(this.colDistance-this.nodeWidth)/2,a):(0,i.crisp)((m+f)/2,a),u&&(u>=50||u<=-50)&&(x=m=(0,i.crisp)(m+(c?-.5:.5)*(r.shapeArgs.width||0),a),b=r.shapeArgs.y||0,u>0&&(b+=r.shapeArgs.height||0)),r.hangsFrom===n&&(e.inverted?(y=p?(0,i.crisp)((n.shapeArgs.y||0)+d/2,a):(0,i.crisp)((n.shapeArgs.y||0)+(n.shapeArgs.height||0)-d/2,a),b=p?(r.shapeArgs.y||0)+d/2:(r.shapeArgs.y||0)+(r.shapeArgs.height||0)):y=(0,i.crisp)((n.shapeArgs.y||0)+d/2,a),x=m=(0,i.crisp)((r.shapeArgs.x||0)+(r.shapeArgs.width||0)/2,a)),t.plotX=x,t.plotY=(y+b)/2,t.shapeType="path","straight"===h)t.shapeArgs={d:[["M",f,y],["L",m,b]]};else if("curved"===h){let e=Math.abs(m-f)*o*(c?-1:1);t.shapeArgs={d:[["M",f,y],["C",f+e,y,m-e,b,m,b]]}}else t.shapeArgs={d:l([["M",f,y],["L",x,y],["L",x,b],["L",m,b]],s.linkRadius??s.link.radius)};t.dlBox={x:(f+m)/2,y:(y+b)/2,height:a,width:0}}}translateNode(t,e){super.translateNode(t,e);let s=this.chart,n=this.options,r=Math.max(Math.round(t.getSum()*this.translationFactor),n.minLinkWidth||0),a="right"===n.hangingSide,o=n.hangingIndent||0,h=n.hangingIndentTranslation,l=n.minNodeLength||10,d=Math.round(this.nodeWidth),p=t.shapeArgs,g=s.inverted?-1:1,u=t.hangsFrom;if(u)if("cumulative"===h)for(p.height-=o,s.inverted&&!a&&(p.y-=g*o);u;)p.y+=(a?1:g)*o,u=u.hangsFrom;else if("shrink"===h)for(;u&&p.height>o+l;)p.height-=o,(!s.inverted||a)&&(p.y+=o),u=u.hangsFrom;else p.height-=o,(!s.inverted||a)&&(p.y+=o);t.nodeHeight=s.inverted?p.width:p.height,t.shapeArgs&&!t.hangsFrom&&(t.shapeArgs=(0,i.merge)(t.shapeArgs,{x:(t.shapeArgs.x||0)+d/2-(t.shapeArgs.width||0)/2,y:(t.shapeArgs.y||0)+r/2-(t.shapeArgs.height||0)/2}))}drawDataLabels(){let t=this.options.dataLabels;if(t.linkTextPath&&t.linkTextPath.enabled)for(let t of this.points)t.options.dataLabels=(0,i.merge)(t.options.dataLabels,{useHTML:!1});super.drawDataLabels()}}f.defaultOptions=(0,i.merge)(c.defaultOptions,{borderColor:"var(--highcharts-neutral-color-60)",borderRadius:3,link:{color:"var(--highcharts-neutral-color-60)",lineWidth:1,radius:10,type:"orthogonal"},borderWidth:1,dataLabels:{nodeFormatter:function(){let t={width:"100%",height:"100%",display:"flex","flex-direction":"row","align-items":"center","justify-content":"center"},e={"max-height":"100%","border-radius":"50%"},i={width:"100%",padding:0,"text-align":"center","white-space":"normal"};function s(t){return Object.keys(t).reduce(function(e,i){return e+i+":"+t[i]+";"},'style="')+'"'}let{description:n,image:r,title:a}=this.point;r&&(e["max-width"]="30%",i.width="70%"),this.series.chart.renderer.forExport&&(t.display="block",i.position="absolute",i.left=r?"30%":0,i.top=0);let o="<div "+s(t)+">";return r&&(o+='<img src="'+r+'" '+s(e)+">"),o+="<div "+s(i)+">",this.point.name&&(o+="<h4 "+s({margin:0})+">"+this.point.name+"</h4>"),a?o+="<p "+s({margin:0})+">"+a+"</p>":o+=`<p aria-hidden="true"
|
|
14
14
|
style="line-height:0;margin:1px;font-size:1px;opacity:0"
|
|
15
15
|
>.</p>`,n&&(o+="<p "+s({opacity:.75,margin:"5px"})+">"+n+"</p>"),o+="</div></div>"},style:{fontWeight:"normal",fontSize:"0.9em",textAlign:"left"},useHTML:!0,linkTextPath:{attributes:{startOffset:"95%",textAnchor:"end"}}},hangingIndent:20,hangingIndentTranslation:"inherit",hangingSide:"left",minNodeLength:10,nodeWidth:50,tooltip:{nodeFormat:"{point.name}<br>{point.title}<br>{point.description}"}}),(0,i.extend)(f.prototype,{pointClass:h}),a().registerSeriesType("organization",f);let y=n();export{y 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.1.0 (2026-09-18)
|
|
4
4
|
* Organization chart series type
|
|
5
5
|
* @module highcharts/modules/organization
|
|
6
6
|
* @requires highcharts
|
|
@@ -18,48 +18,27 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
18
18
|
/******/
|
|
19
19
|
/************************************************************************/
|
|
20
20
|
/******/ /* webpack/runtime/compat get default export */
|
|
21
|
-
/******/
|
|
22
|
-
/******/
|
|
23
|
-
/******/
|
|
24
|
-
/******/
|
|
25
|
-
/******/
|
|
26
|
-
/******/
|
|
27
|
-
/******/
|
|
28
|
-
/******/
|
|
29
|
-
/******/ };
|
|
30
|
-
/******/ })();
|
|
21
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
22
|
+
/******/ __webpack_require__.n = (module) => {
|
|
23
|
+
/******/ const getter = module && module.__esModule ?
|
|
24
|
+
/******/ () => (module['default']) :
|
|
25
|
+
/******/ () => (module);
|
|
26
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
27
|
+
/******/ return getter;
|
|
28
|
+
/******/ };
|
|
31
29
|
/******/
|
|
32
30
|
/******/ /* webpack/runtime/define property getters */
|
|
33
|
-
/******/
|
|
34
|
-
/******/
|
|
35
|
-
/******/
|
|
36
|
-
/******/ if(
|
|
37
|
-
/******/
|
|
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
|
-
/******/ }
|
|
54
|
-
/******/ }
|
|
31
|
+
/******/ // define getter/value functions for harmony exports
|
|
32
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
33
|
+
/******/ for(var key in definition) {
|
|
34
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
35
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
55
36
|
/******/ }
|
|
56
|
-
/******/ }
|
|
57
|
-
/******/ }
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/ };
|
|
58
39
|
/******/
|
|
59
40
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
60
|
-
/******/ (
|
|
61
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
62
|
-
/******/ })();
|
|
41
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
63
42
|
/******/
|
|
64
43
|
/************************************************************************/
|
|
65
44
|
|
|
@@ -759,7 +738,7 @@ function getCurvedPath(pathParams) {
|
|
|
759
738
|
}
|
|
760
739
|
/**
|
|
761
740
|
* General function to apply corner radius to a path
|
|
762
|
-
* @
|
|
741
|
+
* @internal
|
|
763
742
|
*/
|
|
764
743
|
function applyRadius(path, r) {
|
|
765
744
|
const d = [];
|
|
@@ -812,10 +791,12 @@ function applyRadius(path, r) {
|
|
|
812
791
|
}
|
|
813
792
|
return d;
|
|
814
793
|
}
|
|
794
|
+
/** @internal */
|
|
815
795
|
const PathUtilities = {
|
|
816
796
|
applyRadius,
|
|
817
797
|
getLinkPath
|
|
818
798
|
};
|
|
799
|
+
/** @internal */
|
|
819
800
|
/* harmony default export */ const Series_PathUtilities = (PathUtilities);
|
|
820
801
|
|
|
821
802
|
;// external ["../highcharts.src.js","default","SVGElement"]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Highcharts JS v13.0
|
|
2
|
+
* Highcharts JS v13.1.0 (2026-09-18)
|
|
3
3
|
* @module highcharts/modules/parallel-coordinates
|
|
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 e from"../highcharts.js";let t={};t.n=e=>{let a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a:a}),a},t.d=(e,a)=>{
|
|
13
|
+
*/import*as e from"../highcharts.js";let t={};t.n=e=>{let a=e&&e.__esModule?()=>e.default:()=>e;return t.d(a,{a:a}),a},t.d=(e,a)=>{for(var i in a)t.o(a,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:a[i]})},t.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let a=e.default;var i,s,l,o=t.n(a);let r={parallelCoordinates:!1,parallelAxes:{lineWidth:1,title:{text:"",reserveSpace:!1},labels:{x:0,y:4,align:"center",reserveSpace:!1},offset:0}},n={lineWidth:0,tickLength:0,opposite:!0,type:"category"},{composed:h}=o();class d{constructor(e){this.axis=e}setPosition(e,t){let a=this.axis,i=a.chart,s=((this.position||0)+.5)/(i.parallelInfo.counter+1);i.polar?t.angle=360*s:(t[e[0]]=100*s+"%",a[e[1]]=t[e[1]]=0,a[e[2]]=t[e[2]]=null,a[e[3]]=t[e[3]]=null)}}!function(e){function t(e){let t=this.chart,i=this.parallelCoordinates,s=["left","width","height","top"];if(t.hasParallelCoordinates)if(t.inverted&&(s=s.reverse()),this.isXAxis)this.options=(0,a.merge)(this.options,n,e.userOptions);else{let l=t.yAxis.indexOf(this);this.options=(0,a.merge)(this.options,this.chart.options.chart.parallelAxes,e.userOptions),i.position=i.position??(l>=0?l:t.yAxis.length),i.setPosition(s,this.options)}}function i(e){let t=this.chart,i=this.parallelCoordinates;if(i&&t&&t.hasParallelCoordinates&&!this.isXAxis){let t=i.position,s=[];this.series.forEach(function(e){e.visible&&(0,a.isNumber)(t)&&(s=(e.pointArrayMap||["y"]).reduce((a,i)=>[...a,e.getColumn(i)?.[t]??null],s))}),s=s.filter(a.isNumber),this.dataMin=(0,a.arrayMin)(s),this.dataMax=(0,a.arrayMax)(s),e.preventDefault()}}function s(){delete this.type,this.parallelCoordinates||(this.parallelCoordinates=new d(this))}e.compose=function(e){(0,a.pushUnique)(h,"Axis.ParallelCoordinates")&&((0,a.addEvent)(e,"init",s),(0,a.addEvent)(e,"afterSetOptions",t),(0,a.addEvent)(e,"getSeriesExtremes",i))}}(i||(i={}));let p=i,c=e.default.Templating;var f=t.n(c);let{composed:u}=o(),{format:x}=f();!function(e){function t(){let e=this.chart,t=this.points,i=t&&t.length,s=Number.MAX_VALUE,l,o;if(this.chart.hasParallelCoordinates){for(let r=0;r<i;r++)o=t[r],(0,a.defined)(o.y)?(e.polar?o.plotX=e.yAxis[r].angleRad||0:e.inverted?o.plotX=e.plotHeight-e.yAxis[r].top+e.plotTop:o.plotX=e.yAxis[r].left-e.plotLeft,o.clientX=o.plotX,o.plotY=e.yAxis[r].translate(o.y,!1,!0,void 0,!0),(0,a.isNumber)(o.high)&&(o.plotHigh=e.yAxis[r].translate(o.high,!1,!0,void 0,!0)),void 0!==l&&(s=Math.min(s,Math.abs(o.plotX-l))),l=o.plotX,o.isInside=e.isInsidePlot(o.plotX,o.plotY,{inverted:e.inverted})):o.isNull=!0;this.closestPointRangePx=s}}function i(e){let t=this.chart;if(t.hasParallelCoordinates){for(let e of t.axes)(0,a.insertItem)(this,e.series),e.isDirty=!0;this.xAxis=t.xAxis[0],this.yAxis=t.yAxis[0],e.preventDefault()}}function s(){let e=this.chart;if(e.hasParallelCoordinates)for(let t of e.axes||[])t&&t.series&&((0,a.erase)(t.series,this),t.isDirty=t.forceRedraw=!0)}function l(){let e=this.chart;if(e?.hasParallelCoordinates)for(let t of this.points){let i,s=e.yAxis[t.x||0],l=s.options,o=l.tooltipValueFormat??l.labels.format;i=o?x(o,(0,a.extend)(t,{value:t.y}),e):s.dateTime?e.time.dateFormat(e.time.resolveDTLFormat(l.dateTimeLabelFormats?.[s.tickPositions.info?.unitName||"year"]||"").main,t.y??void 0):(0,a.isArray)(l.categories)?l.categories[t.y??-1]:String(t.y??""),t.formattedValue=i}}e.compose=function(e){(0,a.pushUnique)(u,"ParallelSeries")&&((0,a.addEvent)(e,"afterTranslate",t,{order:1}),(0,a.addEvent)(e,"bindAxes",i),(0,a.addEvent)(e,"destroy",s),(0,a.addEvent)(e,"afterGeneratePoints",l))}}(s||(s={}));let m=s;class y{constructor(e){this.chart=e}setParallelInfo(e){let t=this.chart||this,a=e.series;for(let e of(t.parallelInfo={counter:0},a))e.data&&(t.parallelInfo.counter=Math.max(t.parallelInfo.counter,e.data.length-1))}}function g(e){let t=e.args[0],i=(0,a.splat)(t.yAxis||{}),s=[],l=i.length;if(this.hasParallelCoordinates=t.chart&&t.chart.parallelCoordinates,this.hasParallelCoordinates){for(this.setParallelInfo(t);l<=this.parallelInfo.counter;l++)s.push({});t.legend||(t.legend={}),t.legend&&void 0===t.legend.enabled&&(t.legend.enabled=!1),(0,a.merge)(!0,t,{boost:{seriesThreshold:Number.MAX_VALUE},plotOptions:{series:{boostThreshold:Number.MAX_VALUE}}}),t.yAxis=i.concat(s),t.xAxis=(0,a.merge)(n,(0,a.splat)(t.xAxis||{})[0])}}function A(e){let t=e.options;if(!1!==e.hasChanged&&(t.chart&&((0,a.defined)(t.chart.parallelCoordinates)&&(this.hasParallelCoordinates=t.chart.parallelCoordinates),this.options.chart.parallelAxes=(0,a.merge)(this.options.chart.parallelAxes,t.chart.parallelAxes)),this.hasParallelCoordinates))for(let e of(t.series&&this.setParallelInfo(t),this.yAxis))e.update({},!1)}(l||(l={})).compose=function(e,t,i,s){p.compose(e),m.compose(s);let l=y.prototype,o=t.prototype;o.setParallelInfo||(o.setParallelInfo=l.setParallelInfo,(0,a.addEvent)(t,"init",g),(0,a.addEvent)(t,"update",A),(0,a.merge)(!0,i.chart,r))};let v=l,P=o();v.compose(P.Axis,P.Chart,P.defaultOptions,P.Series);let C=o();export{C 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.1.0 (2026-09-18)
|
|
4
4
|
* @module highcharts/modules/parallel-coordinates
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -18,48 +18,27 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
18
18
|
/******/
|
|
19
19
|
/************************************************************************/
|
|
20
20
|
/******/ /* webpack/runtime/compat get default export */
|
|
21
|
-
/******/
|
|
22
|
-
/******/
|
|
23
|
-
/******/
|
|
24
|
-
/******/
|
|
25
|
-
/******/
|
|
26
|
-
/******/
|
|
27
|
-
/******/
|
|
28
|
-
/******/
|
|
29
|
-
/******/ };
|
|
30
|
-
/******/ })();
|
|
21
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
22
|
+
/******/ __webpack_require__.n = (module) => {
|
|
23
|
+
/******/ const getter = module && module.__esModule ?
|
|
24
|
+
/******/ () => (module['default']) :
|
|
25
|
+
/******/ () => (module);
|
|
26
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
27
|
+
/******/ return getter;
|
|
28
|
+
/******/ };
|
|
31
29
|
/******/
|
|
32
30
|
/******/ /* webpack/runtime/define property getters */
|
|
33
|
-
/******/
|
|
34
|
-
/******/
|
|
35
|
-
/******/
|
|
36
|
-
/******/ if(
|
|
37
|
-
/******/
|
|
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
|
-
/******/ }
|
|
54
|
-
/******/ }
|
|
31
|
+
/******/ // define getter/value functions for harmony exports
|
|
32
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
33
|
+
/******/ for(var key in definition) {
|
|
34
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
35
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
55
36
|
/******/ }
|
|
56
|
-
/******/ }
|
|
57
|
-
/******/ }
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/ };
|
|
58
39
|
/******/
|
|
59
40
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
60
|
-
/******/ (
|
|
61
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
62
|
-
/******/ })();
|
|
41
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
63
42
|
/******/
|
|
64
43
|
/************************************************************************/
|
|
65
44
|
|
|
@@ -226,6 +205,8 @@ const ParallelCoordinatesDefaults = {
|
|
|
226
205
|
* */
|
|
227
206
|
|
|
228
207
|
|
|
208
|
+
const { composed } = (external_highcharts_src_js_default_default());
|
|
209
|
+
|
|
229
210
|
|
|
230
211
|
/* *
|
|
231
212
|
*
|
|
@@ -302,10 +283,8 @@ var ParallelAxis;
|
|
|
302
283
|
* @internal
|
|
303
284
|
*/
|
|
304
285
|
function compose(AxisClass) {
|
|
305
|
-
if (
|
|
286
|
+
if ((0,external_highcharts_src_js_default_namespaceObject.pushUnique)(composed, 'Axis.ParallelCoordinates')) {
|
|
306
287
|
const axisCompo = AxisClass;
|
|
307
|
-
// On update, keep parallel additions.
|
|
308
|
-
AxisClass.keepProps.push('parallel');
|
|
309
288
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(axisCompo, 'init', onInit);
|
|
310
289
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(axisCompo, 'afterSetOptions', onAfterSetOptions);
|
|
311
290
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(axisCompo, 'getSeriesExtremes', onGetSeriesExtremes);
|
|
@@ -374,6 +353,7 @@ var ParallelAxis;
|
|
|
374
353
|
*/
|
|
375
354
|
function onInit() {
|
|
376
355
|
const axis = this;
|
|
356
|
+
delete this.type; // After Axis.update
|
|
377
357
|
if (!axis.parallelCoordinates) {
|
|
378
358
|
axis.parallelCoordinates = new ParallelAxisAdditions(axis);
|
|
379
359
|
}
|
|
@@ -406,7 +386,7 @@ var external_highcharts_src_js_default_Templating_default = /*#__PURE__*/__webpa
|
|
|
406
386
|
* */
|
|
407
387
|
|
|
408
388
|
|
|
409
|
-
const { composed } = (external_highcharts_src_js_default_default());
|
|
389
|
+
const { composed: ParallelSeries_composed } = (external_highcharts_src_js_default_default());
|
|
410
390
|
|
|
411
391
|
const { format } = (external_highcharts_src_js_default_Templating_default());
|
|
412
392
|
|
|
@@ -431,7 +411,7 @@ var ParallelSeries;
|
|
|
431
411
|
* */
|
|
432
412
|
/** @internal */
|
|
433
413
|
function compose(SeriesClass) {
|
|
434
|
-
if ((0,external_highcharts_src_js_default_namespaceObject.pushUnique)(
|
|
414
|
+
if ((0,external_highcharts_src_js_default_namespaceObject.pushUnique)(ParallelSeries_composed, 'ParallelSeries')) {
|
|
435
415
|
const CompoClass = SeriesClass;
|
|
436
416
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(CompoClass, 'afterTranslate', onSeriesAfterTranslate, { order: 1 });
|
|
437
417
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(CompoClass, 'bindAxes', onSeriesBindAxes);
|
|
@@ -681,7 +661,7 @@ var ParallelCoordinates;
|
|
|
681
661
|
typeof options.legend.enabled === 'undefined') {
|
|
682
662
|
options.legend.enabled = false;
|
|
683
663
|
}
|
|
684
|
-
(0,external_highcharts_src_js_default_namespaceObject.merge)(true, options,
|
|
664
|
+
;(0,external_highcharts_src_js_default_namespaceObject.merge)(true, options,
|
|
685
665
|
// Disable boost
|
|
686
666
|
{
|
|
687
667
|
boost: {
|
package/esm/modules/pareto.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Highcharts JS v13.0
|
|
2
|
+
* Highcharts JS v13.1.0 (2026-09-18)
|
|
3
3
|
* @module highcharts/modules/pareto
|
|
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 e from"../highcharts.js";let t={};t.n=e=>{let s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},t.d=(e,s)=>{
|
|
13
|
+
*/import*as e from"../highcharts.js";let t={};t.n=e=>{let s=e&&e.__esModule?()=>e.default:()=>e;return t.d(s,{a:s}),s},t.d=(e,s)=>{for(var i in s)t.o(s,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:s[i]})},t.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let s=e.default;var i,r=t.n(s);let a=e.default.Series;var n=t.n(a);let{noop:o}=r();!function(e){function t(){n().prototype.init.apply(this,arguments),this.initialised=!1,this.baseSeries=null,this.eventRemovers=[],this.addEvents()}function i(){let e=this.chart,t=this.options.baseSeries,i=(0,s.defined)(t)&&(e.series[t]||e.get(t));this.baseSeries=i||null}function r(){this.eventRemovers.push((0,s.addEvent)(this.chart,"afterLinkSeries",()=>{this.setBaseSeries(),this.baseSeries&&!this.initialised&&(this.setDerivedData(),this.addBaseSeriesEvents(),this.initialised=!0)}))}function a(){this.eventRemovers.push((0,s.addEvent)(this.baseSeries,"updatedData",()=>{this.setDerivedData()}),(0,s.addEvent)(this.baseSeries,"destroy",()=>{this.baseSeries=null,this.initialised=!1}))}function d(){this.eventRemovers.forEach(e=>{e()}),n().prototype.destroy.apply(this,arguments)}e.hasDerivedData=!0,e.setDerivedData=o,e.compose=function(e){let s=e.prototype;return s.addBaseSeriesEvents=a,s.addEvents=r,s.destroy=d,s.init=t,s.setBaseSeries=i,e},e.init=t,e.setBaseSeries=i,e.addEvents=r,e.addBaseSeriesEvents=a,e.destroy=d}(i||(i={}));let d=i,l=e.default.SeriesRegistry;var h=t.n(l);let{line:u}=h().seriesTypes;class p extends u{sumPointsPercents(e,t,i,r){let a=[],n=0,o=0,d=0,l;for(let h of e)null!==h&&(r?o+=h:(l=h/i*100,a.push([t[n],(0,s.correctFloat)(d+l)]),d+=l)),++n;return r?o:a}setDerivedData(){let e=this.baseSeries?.getColumn("x")||[],t=this.baseSeries?.getColumn("y")||[],s=this.sumPointsPercents(t,e,null,!0);this.setData(this.sumPointsPercents(t,e,s,!1),!1)}}p.defaultOptions=(0,s.merge)(u.defaultOptions,{zIndex:3}),(0,s.extend)(p.prototype,{hasDerivedData:d.hasDerivedData}),d.compose(p),h().registerSeriesType("pareto",p);let v=r();export{v 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.1.0 (2026-09-18)
|
|
4
4
|
* @module highcharts/modules/pareto
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -18,48 +18,27 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
18
18
|
/******/
|
|
19
19
|
/************************************************************************/
|
|
20
20
|
/******/ /* webpack/runtime/compat get default export */
|
|
21
|
-
/******/
|
|
22
|
-
/******/
|
|
23
|
-
/******/
|
|
24
|
-
/******/
|
|
25
|
-
/******/
|
|
26
|
-
/******/
|
|
27
|
-
/******/
|
|
28
|
-
/******/
|
|
29
|
-
/******/ };
|
|
30
|
-
/******/ })();
|
|
21
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
22
|
+
/******/ __webpack_require__.n = (module) => {
|
|
23
|
+
/******/ const getter = module && module.__esModule ?
|
|
24
|
+
/******/ () => (module['default']) :
|
|
25
|
+
/******/ () => (module);
|
|
26
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
27
|
+
/******/ return getter;
|
|
28
|
+
/******/ };
|
|
31
29
|
/******/
|
|
32
30
|
/******/ /* webpack/runtime/define property getters */
|
|
33
|
-
/******/
|
|
34
|
-
/******/
|
|
35
|
-
/******/
|
|
36
|
-
/******/ if(
|
|
37
|
-
/******/
|
|
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
|
-
/******/ }
|
|
54
|
-
/******/ }
|
|
31
|
+
/******/ // define getter/value functions for harmony exports
|
|
32
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
33
|
+
/******/ for(var key in definition) {
|
|
34
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
35
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
55
36
|
/******/ }
|
|
56
|
-
/******/ }
|
|
57
|
-
/******/ }
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/ };
|
|
58
39
|
/******/
|
|
59
40
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
60
|
-
/******/ (
|
|
61
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
62
|
-
/******/ })();
|
|
41
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
63
42
|
/******/
|
|
64
43
|
/************************************************************************/
|
|
65
44
|
|
|
@@ -253,7 +232,7 @@ const ParetoSeriesDefaults = {
|
|
|
253
232
|
* @extends series,plotOptions.pareto
|
|
254
233
|
* @since 6.0.0
|
|
255
234
|
* @product highcharts
|
|
256
|
-
* @excluding data,
|
|
235
|
+
* @excluding data, boostThreshold, boostBlending
|
|
257
236
|
* @requires modules/pareto
|
|
258
237
|
* @apioption series.pareto
|
|
259
238
|
*/
|
|
@@ -313,7 +292,7 @@ const { line: LineSeries } = (external_highcharts_src_js_default_SeriesRegistry_
|
|
|
313
292
|
/**
|
|
314
293
|
* The pareto series type.
|
|
315
294
|
*
|
|
316
|
-
* @
|
|
295
|
+
* @internal
|
|
317
296
|
* @class
|
|
318
297
|
* @name Highcharts.seriesTypes.pareto
|
|
319
298
|
*
|
|
@@ -328,7 +307,7 @@ class ParetoSeries extends LineSeries {
|
|
|
328
307
|
/**
|
|
329
308
|
* Calculate y sum and each percent point.
|
|
330
309
|
*
|
|
331
|
-
* @
|
|
310
|
+
* @internal
|
|
332
311
|
* @function Highcharts.Series#sumPointsPercents
|
|
333
312
|
*
|
|
334
313
|
* @param {Array<number>} yValues
|
|
@@ -372,7 +351,7 @@ class ParetoSeries extends LineSeries {
|
|
|
372
351
|
/**
|
|
373
352
|
* Calculate sum and return percent points.
|
|
374
353
|
*
|
|
375
|
-
* @
|
|
354
|
+
* @internal
|
|
376
355
|
* @function Highcharts.Series#setDerivedData
|
|
377
356
|
* @requires modules/pareto
|
|
378
357
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
let t;/**
|
|
2
|
-
* Highcharts Gantt JS v13.0
|
|
2
|
+
* Highcharts Gantt JS v13.1.0 (2026-09-18)
|
|
3
3
|
* @module highcharts/modules/pathfinder
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -10,4 +10,4 @@ let t;/**
|
|
|
10
10
|
*
|
|
11
11
|
* A commercial license may be required depending on use,
|
|
12
12
|
* see www.highcharts.com/license
|
|
13
|
-
*/import*as e from"../highcharts.js";let n={};n.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{if(Array.isArray(e))for(var i=0;i<e.length;){var r=e[i++],a=e[i++];n.o(t,r)?0===a&&i++:0===a?Object.defineProperty(t,r,{enumerable:!0,value:e[i++]}):Object.defineProperty(t,r,{enumerable:!0,get:a})}else for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=e.default;var r,a=n.n(i);let o=a().deg2rad,s=Math.max,h=Math.min,c=class{constructor(t,e,n){this.init(t,e,n)}init(t,e,n){this.fromPoint=t,this.toPoint=e,this.options=n,this.chart=t.series.chart,this.pathfinder=this.chart.pathfinder}renderPath(t,e){let n=this.chart,i=n.styledMode,r=this.pathfinder,a={},o=this.graphics&&this.graphics.path;r.group||(r.group=n.renderer.g().addClass("highcharts-pathfinder-group").attr({zIndex:-1}).add(n.seriesGroup)),r.group.translate(n.plotLeft,n.plotTop),!(o&&o.renderer)&&(o=n.renderer.path().add(r.group),i||o.attr({opacity:0})),o.attr(e),a.d=t,i||(a.opacity=1),o.animate(a),this.graphics=this.graphics||{},this.graphics.path=o}addMarker(t,e,n){let i,r,a,s,h,c,l,x=this.fromPoint.series.chart,M=x.pathfinder,d=x.renderer,y="start"===t?this.fromPoint:this.toPoint,p=y.getPathfinderAnchorPoint(e);e.enabled&&((l="start"===t?n[1]:n[n.length-2])&&"M"===l[0]||"L"===l[0])&&(c={x:l[1],y:l[2]},r=y.getRadiansToVector(c,p),i=y.getMarkerVector(r,e.radius,p),e.width&&e.height?(s=e.width,h=e.height):s=h=2*e.radius,this.graphics=this.graphics||{},a={x:i.x-s/2,y:i.y-h/2,width:s,height:h,rotation:-r/o,rotationOriginX:i.x,rotationOriginY:i.y},this.graphics[t]?this.graphics[t].animate(a):(this.graphics[t]=d.symbol(e.symbol).addClass("highcharts-point-connecting-path-"+t+"-marker highcharts-color-"+this.fromPoint.colorIndex).attr(a).add(M.group),d.styledMode||this.graphics[t].attr({fill:e.color||this.fromPoint.color,stroke:e.lineColor,"stroke-width":e.lineWidth,opacity:0}).animate({opacity:1},y.series.options.animation)))}getPath(t){let e=this.pathfinder,n=this.chart,r=e.algorithms[t.type],a=e.chartObstacles;return"function"!=typeof r?((0,i.error)('"'+t.type+'" is not a Pathfinder algorithm.'),{path:[],obstacles:[]}):(r.requiresObstacles&&!a&&(a=e.chartObstacles=e.getChartObstacles(t),n.options.connectors.algorithmMargin=t.algorithmMargin,e.chartObstacleMetrics=e.getObstacleMetrics(a)),r(this.fromPoint.getPathfinderAnchorPoint(t.startMarker),this.toPoint.getPathfinderAnchorPoint(t.endMarker),(0,i.merge)({chartObstacles:a,lineObstacles:e.lineObstacles||[],obstacleMetrics:e.chartObstacleMetrics,hardBounds:{xMin:0,xMax:n.plotWidth,yMin:0,yMax:n.plotHeight},obstacleOptions:{margin:t.algorithmMargin},startDirectionX:e.getAlgorithmStartDirection(t.startMarker)},t)))}render(){let t=this.fromPoint,e=t.series,n=e.chart,r=n.pathfinder,a={},o=(0,i.merge)(n.options.connectors,e.options.connectors,t.options.connectors,this.options);!n.styledMode&&(a.stroke=o.lineColor||t.color,a["stroke-width"]=o.lineWidth,o.dashStyle&&(a.dashstyle=o.dashStyle)),a.class="highcharts-point-connecting-path highcharts-color-"+t.colorIndex,o=(0,i.merge)(a,o),(0,i.defined)(o.marker.radius)||(o.marker.radius=h(s(Math.ceil((o.algorithmMargin||8)/2)-1,1),5));let c=this.getPath(o),l=c.path;c.obstacles&&(r.lineObstacles=r.lineObstacles||[],r.lineObstacles=r.lineObstacles.concat(c.obstacles)),this.renderPath(l,a),this.addMarker("start",(0,i.merge)(o.marker,o.startMarker),l),this.addMarker("end",(0,i.merge)(o.marker,o.endMarker),l)}destroy(){this.graphics&&((0,i.objectEach)(this.graphics,function(t){t.destroy()}),delete this.graphics)}};function l(t,e){let n=[];for(let i=0;i<t.length;i++){let r=t[i][1],a=t[i][2];if("number"==typeof r&&"number"==typeof a)if(0===i)n.push(["M",r,a]);else if(i===t.length-1)n.push(["L",r,a]);else if(e){let o=t[i-1],s=t[i+1];if(o&&s){let t=o[1],i=o[2],h=s[1],c=s[2];if("number"==typeof t&&"number"==typeof h&&"number"==typeof i&&"number"==typeof c&&t!==h&&i!==c){let o=t<h?1:-1,s=i<c?1:-1;n.push(["L",r-o*Math.min(Math.abs(r-t),e),a-s*Math.min(Math.abs(a-i),e)],["C",r,a,r,a,r+o*Math.min(Math.abs(r-h),e),a+s*Math.min(Math.abs(a-c),e)])}}}else n.push(["L",r,a])}return n}let{min:x,max:M,abs:d}=Math;function y(t,e,n){let i=e-1e-7,r=n||0,a=t.length-1,o,s;for(;r<=a;)if((s=i-t[o=a+r>>1].xMin)>0)r=o+1;else{if(!(s<0))return o;a=o-1}return r>0?r-1:0}function p(t,e){let n=y(t,e.x+1)+1;for(;n--;){var i;if(t[n].xMax>=e.x&&(i=t[n],e.x<=i.xMax&&e.x>=i.xMin&&e.y<=i.yMax&&e.y>=i.yMin))return n}return -1}function f(t){let e=[];if(t.length){e.push(["M",t[0].start.x,t[0].start.y]);for(let n=0;n<t.length;++n)e.push(["L",t[n].end.x,t[n].end.y])}return e}function u(t,e){t.yMin=M(t.yMin,e.yMin),t.yMax=x(t.yMax,e.yMax),t.xMin=M(t.xMin,e.xMin),t.xMax=x(t.xMax,e.xMax)}let g=function(t,e,n){let i=[],r=n.chartObstacles,a=p(r,t),o=p(r,e),s,h=n.startDirectionX??d(e.x-t.x)>d(e.y-t.y)?"x":"y",c,x,M,y;function u(t,e,n,i,r){let a={x:t.x,y:t.y};return a[e]=n[i||e]+(r||0),a}function g(t,e,n){let i=d(e[n]-t[n+"Min"])>d(e[n]-t[n+"Max"]);return u(e,n,t,n+(i?"Max":"Min"),i?1:-1)}o>-1?(s={start:x=g(r[o],e,h),end:e},y=x):y=e,a>-1&&(x=g(c=r[a],t,h),i.push({start:t,end:x}),x[h]>=t[h]==x[h]>=y[h]&&(M=t[h="y"===h?"x":"y"]<e[h],i.push({start:x,end:u(x,h,c,h+(M?"Max":"Min"),M?1:-1)}),h="y"===h?"x":"y"));let m=i.length?i[i.length-1].end:t;x=u(m,h,y),i.push({start:m,end:x});let b=u(x,h="y"===h?"x":"y",y);return i.push({start:x,end:b}),s&&i.push(s),{path:l(f(i),n.radius),obstacles:i}};function m(t,e,n){let i=n.startDirectionX??d(e.x-t.x)>d(e.y-t.y),r=i?"x":"y",a=[],o=n.obstacleMetrics,s=x(t.x,e.x)-o.maxWidth-10,h=M(t.x,e.x)+o.maxWidth+10,c=x(t.y,e.y)-o.maxHeight-10,l=M(t.y,e.y)+o.maxHeight+10,g,m,b,P=!1,O=n.chartObstacles,v=y(O,h),k=y(O,s);function w(t,e,n){let i,r,a,o,s=t.x<e.x?1:-1;t.x<e.x?(i=t,r=e):(i=e,r=t),t.y<e.y?(o=t,a=e):(o=e,a=t);let h=s<0?x(y(O,r.x),O.length-1):0;for(;O[h]&&(s>0&&O[h].xMin<=r.x||s<0&&O[h].xMax>=i.x);){if(O[h].xMin<=r.x&&O[h].xMax>=i.x&&O[h].yMin<=a.y&&O[h].yMax>=o.y){if(n)return{y:t.y,x:t.x<e.x?O[h].xMin-1:O[h].xMax+1,obstacle:O[h]};return{x:t.x,y:t.y<e.y?O[h].yMin-1:O[h].yMax+1,obstacle:O[h]}}h+=s}return e}function A(t,e,n,i,r){let a=r.soft,o=r.hard,s=i?"x":"y",h={x:e.x,y:e.y},c={x:e.x,y:e.y},l=t[s+"Max"]>=a[s+"Max"],x=t[s+"Min"]<=a[s+"Min"],M=t[s+"Max"]>=o[s+"Max"],y=t[s+"Min"]<=o[s+"Min"],p=d(t[s+"Min"]-e[s]),f=d(t[s+"Max"]-e[s]),u=10>d(p-f)?e[s]<n[s]:f<p;c[s]=t[s+"Min"],h[s]=t[s+"Max"];let g=w(e,c,i)[s]!==c[s],m=w(e,h,i)[s]!==h[s];return u=g?!m||u:!m&&u,u=x?!l||u:!l&&u,u=y?!M||u:!M&&u}if((v=p(O=O.slice(k,v+1),e))>-1){var E,I;let i,r;E=O[v],I=e,i=x(E.xMax-I.x,I.x-E.xMin)<x(E.yMax-I.y,I.y-E.yMin),r=A(E,I,t,i,{soft:n.hardBounds,hard:n.hardBounds}),b=i?{y:I.y,x:E[r?"xMax":"xMin"]+(r?1:-1)}:{x:I.x,y:E[r?"yMax":"yMin"]+(r?1:-1)},a.push({end:e,start:b}),e=b}for(;(v=p(O,e))>-1;)m=e[r]-t[r]<0,(b={x:e.x,y:e.y})[r]=O[v][m?r+"Max":r+"Min"]+(m?1:-1),a.push({end:e,start:b}),e=b;return{path:f(g=(g=function t(e,i,r){let a,o,d,y,f,g,m;if(e.x===i.x&&e.y===i.y)return[];let b=r?"x":"y",v=n.obstacleOptions.margin,k={soft:{xMin:s,xMax:h,yMin:c,yMax:l},hard:n.hardBounds};return(f=p(O,e))>-1?(y=A(f=O[f],e,i,r,k),u(f,n.hardBounds),m=r?{y:e.y,x:f[y?"xMax":"xMin"]+(y?1:-1)}:{x:e.x,y:f[y?"yMax":"yMin"]+(y?1:-1)},(g=p(O,m))>-1&&(u(g=O[g],n.hardBounds),m[b]=y?M(f[b+"Max"]-v+1,(g[b+"Min"]+f[b+"Max"])/2):x(f[b+"Min"]+v-1,(g[b+"Max"]+f[b+"Min"])/2),e.x===m.x&&e.y===m.y?(P&&(m[b]=y?M(f[b+"Max"],g[b+"Max"])+1:x(f[b+"Min"],g[b+"Min"])-1),P=!P):P=!1),o=[{start:e,end:m}]):(a=w(e,{x:r?i.x:e.x,y:r?e.y:i.y},r),o=[{start:e,end:{x:a.x,y:a.y}}],a[r?"x":"y"]!==i[r?"x":"y"]&&(y=A(a.obstacle,a,i,!r,k),u(a.obstacle,n.hardBounds),d={x:r?a.x:a.obstacle[y?"xMax":"xMin"]+(y?1:-1),y:r?a.obstacle[y?"yMax":"yMin"]+(y?1:-1):a.y},r=!r,o=o.concat(t({x:a.x,y:a.y},d,r)))),o=o.concat(t(o[o.length-1].end,i,!r))}(t,e,i)).concat(a.reverse())),obstacles:g}}g.requiresObstacles=!0,m.requiresObstacles=!0;let b={connectors:{type:"straight",radius:0,lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}},{setOptions:P}=a();function O(t){let e=t.shapeArgs;if(e)return{xMin:e.x||0,xMax:(e.x||0)+(e.width||0),yMin:e.y||0,yMax:(e.y||0)+(e.height||0)};let n=t.graphic&&t.graphic.getBBox();return n?{xMin:t.plotX-n.width/2,xMax:t.plotX+n.width/2,yMin:t.plotY-n.height/2,yMax:t.plotY+n.height/2}:null}!function(t){function e(t){let e,n,i=O(this);switch(t.align){case"right":e="xMax";break;case"left":e="xMin"}switch(t.verticalAlign){case"top":n="yMin";break;case"bottom":n="yMax"}return e=e?i[e]:(i.xMin+i.xMax)/2,n=n?i[n]:(i.yMin+i.yMax)/2,{x:e+(t.xOffset||0),y:n+(t.yOffset||0)}}function n(t,e){let n;return!(0,i.defined)(e)&&(n=O(this))&&(e={x:(n.xMin+n.xMax)/2,y:(n.yMin+n.yMax)/2}),Math.atan2(e.y-t.y,t.x-e.x)}function r(t,e,n){let i=2*Math.PI,r=O(this),a=r.xMax-r.xMin,o=r.yMax-r.yMin,s=Math.atan2(o,a),h=a/2,c=o/2,l=r.xMin+h,x=r.yMin+c,M={x:l,y:x},d=t,y=1,p=!1,f=1,u=1;for(;d<-Math.PI;)d+=i;for(;d>Math.PI;)d-=i;return y=Math.tan(d),d>-s&&d<=s?(u=-1,p=!0):d>s&&d<=Math.PI-s?u=-1:d>Math.PI-s||d<=-(Math.PI-s)?(f=-1,p=!0):f=-1,p?(M.x+=f*h,M.y+=u*h*y):(M.x+=o/(2*y)*f,M.y+=u*c),n.x!==l&&(M.x=n.x),n.y!==x&&(M.y=n.y),{x:M.x+e*Math.cos(d),y:M.y-e*Math.sin(d)}}t.compose=function(t,a,o){let s=o.prototype;s.getPathfinderAnchorPoint||(t.prototype.callbacks.push(function(t){!1!==t.options.connectors.enabled&&((t.options.pathfinder||t.series.reduce(function(t,e){return e.options&&(0,i.merge)(!0,e.options.connectors=e.options.connectors||{},e.options.pathfinder),t||e.options&&e.options.pathfinder},!1))&&((0,i.merge)(!0,t.options.connectors=t.options.connectors||{},t.options.pathfinder),(0,i.error)('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new a(this),this.pathfinder.update(!0))}),s.getMarkerVector=r,s.getPathfinderAnchorPoint=e,s.getRadiansToVector=n,P(b))}}(r||(r={}));let v=r,k=e.default.Point;var w=n.n(k);let A=Math.max,E=Math.min;class I{static compose(t,e){v.compose(t,I,e)}constructor(t){this.init(t)}init(t){this.chart=t,this.connections=[],(0,i.addEvent)(t,"redraw",function(){this.pathfinder.update()})}update(t){let e=this.chart,n=this,r=n.connections;n.connections=[],e.series.forEach(function(t){t.visible&&!t.options.isInternal&&t.points.forEach(function(t){let r,a=t.options;a&&a.dependency&&(a.connect=a.dependency);let o=t.options?.connect?(0,i.splat)(t.options.connect):[];t.visible&&!1!==t.isInside&&o.forEach(i=>{let a="string"==typeof i?i:i.to;a&&(r=e.get(a)),r instanceof w()&&r.series.visible&&r.visible&&!1!==r.isInside&&n.connections.push(new c(t,r,"string"==typeof i?{}:i))})})});for(let t=0,e,i,a=r.length,o=n.connections.length;t<a;++t){i=!1;let a=r[t];for(e=0;e<o;++e){let t=n.connections[e];if((a.options&&a.options.type)===(t.options&&t.options.type)&&a.fromPoint===t.fromPoint&&a.toPoint===t.toPoint){t.graphics=a.graphics,i=!0;break}}i||a.destroy()}delete this.chartObstacles,delete this.lineObstacles,n.renderConnections(t)}renderConnections(t){t?this.chart.series.forEach(function(t){let e=function(){let e=t.chart.pathfinder;(e&&e.connections||[]).forEach(function(e){e.fromPoint&&e.fromPoint.series===t&&e.render()}),t.pathfinderRemoveRenderEvent&&(t.pathfinderRemoveRenderEvent(),delete t.pathfinderRemoveRenderEvent)};!1===t.options.animation?e():t.pathfinderRemoveRenderEvent=(0,i.addEvent)(t,"afterAnimate",e)}):this.connections.forEach(function(t){t.render()})}getChartObstacles(t){let e=this.chart.series,n=t.algorithmMargin??0,r=[],a;for(let t=0,i=e.length;t<i;++t)if(e[t].visible&&!e[t].options.isInternal)for(let i=0,a=e[t].points.length,o,s;i<a;++i)(s=e[t].points[i]).visible&&(o=function(t){let e=t.shapeArgs;if(e)return{xMin:e.x||0,xMax:(e.x||0)+(e.width||0),yMin:e.y||0,yMax:(e.y||0)+(e.height||0)};let n=t.graphic&&t.graphic.getBBox();return n?{xMin:t.plotX-n.width/2,xMax:t.plotX+n.width/2,yMin:t.plotY-n.height/2,yMax:t.plotY+n.height/2}:null}(s))&&r.push({xMin:o.xMin-n,xMax:o.xMax+n,yMin:o.yMin-n,yMax:o.yMax+n});return r=r.sort(function(t,e){return t.xMin-e.xMin}),(0,i.defined)(t.algorithmMargin)||(a=t.algorithmMargin=function(t){let e,n=t.length,i=[];for(let r=0;r<n;++r)for(let a=r+1;a<n;++a)(e=function t(e,n,i){let r=i??10,a=e.yMax+r>n.yMin-r&&e.yMin-r<n.yMax+r,o=e.xMax+r>n.xMin-r&&e.xMin-r<n.xMax+r,s=a?e.xMin>n.xMax?e.xMin-n.xMax:n.xMin-e.xMax:1/0,h=o?e.yMin>n.yMax?e.yMin-n.yMax:n.yMin-e.yMax:1/0;return o&&a?r?t(e,n,Math.floor(r/2)):1/0:E(s,h)}(t[r],t[a]))<80&&i.push(e);return i.push(80),A(Math.floor(i.sort(function(t,e){return t-e})[Math.floor(i.length/10)]/2-1),1)}(r),r.forEach(function(t){t.xMin-=a,t.xMax+=a,t.yMin-=a,t.yMax+=a})),r}getObstacleMetrics(t){let e=0,n=0,i,r,a=t.length;for(;a--;)i=t[a].xMax-t[a].xMin,r=t[a].yMax-t[a].yMin,e<i&&(e=i),n<r&&(n=r);return{maxHeight:n,maxWidth:e}}getAlgorithmStartDirection(t){let e="left"!==t.align&&"right"!==t.align,n="top"!==t.verticalAlign&&"bottom"!==t.verticalAlign;return e?!!n&&void 0:!!n||void 0}}function L(t,e,n,i){return[["M",t,e+i/2],["L",t+n,e],["L",t,e+i/2],["L",t+n,e+i]]}I.prototype.algorithms={fastAvoid:m,straight:function(t,e){return{path:[["M",t.x,t.y],["L",e.x,e.y]],obstacles:[{start:t,end:e}]}},simpleConnect:g};function R(t,e,n,i){return[["M",t+n,e],["L",t,e+i/2],["L",t+n,e+i],["Z"]]}function B(t,e,n,i){return R(t,e,n/2,i)}let C=a();C.Pathfinder=C.Pathfinder||I,(t=C.SVGRenderer.prototype.symbols).arrow=L,t["arrow-filled"]=R,t["arrow-filled-half"]=B,t["arrow-half"]=function(t,e,n,i){return L(t,e,n/2,i)},t["triangle-left"]=R,t["triangle-left-half"]=B,C.Pathfinder.compose(C.Chart,C.Point);let W=a();export{W as default};
|
|
13
|
+
*/import*as e from"../highcharts.js";let n={};n.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=e.default;var r,a=n.n(i);let o=a().deg2rad,s=Math.max,h=Math.min,c=class{constructor(t,e,n){this.init(t,e,n)}init(t,e,n){this.fromPoint=t,this.toPoint=e,this.options=n,this.chart=t.series.chart,this.pathfinder=this.chart.pathfinder}renderPath(t,e){let n=this.chart,i=n.styledMode,r=this.pathfinder,a={},o=this.graphics&&this.graphics.path;r.group||(r.group=n.renderer.g().addClass("highcharts-pathfinder-group").attr({zIndex:-1}).add(n.seriesGroup)),r.group.translate(n.plotLeft,n.plotTop),!(o&&o.renderer)&&(o=n.renderer.path().add(r.group),i||o.attr({opacity:0})),o.attr(e),a.d=t,i||(a.opacity=1),o.animate(a),this.graphics=this.graphics||{},this.graphics.path=o}addMarker(t,e,n){let i,r,a,s,h,c,l,x=this.fromPoint.series.chart,M=x.pathfinder,d=x.renderer,y="start"===t?this.fromPoint:this.toPoint,p=y.getPathfinderAnchorPoint(e);e.enabled&&((l="start"===t?n[1]:n[n.length-2])&&"M"===l[0]||"L"===l[0])&&(c={x:l[1],y:l[2]},r=y.getRadiansToVector(c,p),i=y.getMarkerVector(r,e.radius,p),e.width&&e.height?(s=e.width,h=e.height):s=h=2*e.radius,this.graphics=this.graphics||{},a={x:i.x-s/2,y:i.y-h/2,width:s,height:h,rotation:-r/o,rotationOriginX:i.x,rotationOriginY:i.y},this.graphics[t]?this.graphics[t].animate(a):(this.graphics[t]=d.symbol(e.symbol).addClass("highcharts-point-connecting-path-"+t+"-marker highcharts-color-"+this.fromPoint.colorIndex).attr(a).add(M.group),d.styledMode||this.graphics[t].attr({fill:e.color||this.fromPoint.color,stroke:e.lineColor,"stroke-width":e.lineWidth,opacity:0}).animate({opacity:1},y.series.options.animation)))}getPath(t){let e=this.pathfinder,n=this.chart,r=e.algorithms[t.type],a=e.chartObstacles;return"function"!=typeof r?((0,i.error)('"'+t.type+'" is not a Pathfinder algorithm.'),{path:[],obstacles:[]}):(r.requiresObstacles&&!a&&(a=e.chartObstacles=e.getChartObstacles(t),n.options.connectors.algorithmMargin=t.algorithmMargin,e.chartObstacleMetrics=e.getObstacleMetrics(a)),r(this.fromPoint.getPathfinderAnchorPoint(t.startMarker),this.toPoint.getPathfinderAnchorPoint(t.endMarker),(0,i.merge)({chartObstacles:a,lineObstacles:e.lineObstacles||[],obstacleMetrics:e.chartObstacleMetrics,hardBounds:{xMin:0,xMax:n.plotWidth,yMin:0,yMax:n.plotHeight},obstacleOptions:{margin:t.algorithmMargin},startDirectionX:e.getAlgorithmStartDirection(t.startMarker)},t)))}render(){let t=this.fromPoint,e=t.series,n=e.chart,r=n.pathfinder,a={},o=(0,i.merge)(n.options.connectors,e.options.connectors,t.options.connectors,this.options);!n.styledMode&&(a.stroke=o.lineColor||t.color,a["stroke-width"]=o.lineWidth,o.dashStyle&&(a.dashstyle=o.dashStyle)),a.class="highcharts-point-connecting-path highcharts-color-"+t.colorIndex,o=(0,i.merge)(a,o),(0,i.defined)(o.marker.radius)||(o.marker.radius=h(s(Math.ceil((o.algorithmMargin||8)/2)-1,1),5));let c=this.getPath(o),l=c.path;c.obstacles&&(r.lineObstacles=r.lineObstacles||[],r.lineObstacles=r.lineObstacles.concat(c.obstacles)),this.renderPath(l,a),this.addMarker("start",(0,i.merge)(o.marker,o.startMarker),l),this.addMarker("end",(0,i.merge)(o.marker,o.endMarker),l)}destroy(){this.graphics&&((0,i.objectEach)(this.graphics,function(t){t.destroy()}),delete this.graphics)}};function l(t,e){let n=[];for(let i=0;i<t.length;i++){let r=t[i][1],a=t[i][2];if("number"==typeof r&&"number"==typeof a)if(0===i)n.push(["M",r,a]);else if(i===t.length-1)n.push(["L",r,a]);else if(e){let o=t[i-1],s=t[i+1];if(o&&s){let t=o[1],i=o[2],h=s[1],c=s[2];if("number"==typeof t&&"number"==typeof h&&"number"==typeof i&&"number"==typeof c&&t!==h&&i!==c){let o=t<h?1:-1,s=i<c?1:-1;n.push(["L",r-o*Math.min(Math.abs(r-t),e),a-s*Math.min(Math.abs(a-i),e)],["C",r,a,r,a,r+o*Math.min(Math.abs(r-h),e),a+s*Math.min(Math.abs(a-c),e)])}}}else n.push(["L",r,a])}return n}let{min:x,max:M,abs:d}=Math;function y(t,e,n){let i=e-1e-7,r=n||0,a=t.length-1,o,s;for(;r<=a;)if((s=i-t[o=a+r>>1].xMin)>0)r=o+1;else{if(!(s<0))return o;a=o-1}return r>0?r-1:0}function p(t,e){let n=y(t,e.x+1)+1;for(;n--;){var i;if(t[n].xMax>=e.x&&(i=t[n],e.x<=i.xMax&&e.x>=i.xMin&&e.y<=i.yMax&&e.y>=i.yMin))return n}return -1}function f(t){let e=[];if(t.length){e.push(["M",t[0].start.x,t[0].start.y]);for(let n=0;n<t.length;++n)e.push(["L",t[n].end.x,t[n].end.y])}return e}function u(t,e){t.yMin=M(t.yMin,e.yMin),t.yMax=x(t.yMax,e.yMax),t.xMin=M(t.xMin,e.xMin),t.xMax=x(t.xMax,e.xMax)}let g=function(t,e,n){let i=[],r=n.chartObstacles,a=p(r,t),o=p(r,e),s,h=n.startDirectionX??d(e.x-t.x)>d(e.y-t.y)?"x":"y",c,x,M,y;function u(t,e,n,i,r){let a={x:t.x,y:t.y};return a[e]=n[i||e]+(r||0),a}function g(t,e,n){let i=d(e[n]-t[n+"Min"])>d(e[n]-t[n+"Max"]);return u(e,n,t,n+(i?"Max":"Min"),i?1:-1)}o>-1?(s={start:x=g(r[o],e,h),end:e},y=x):y=e,a>-1&&(x=g(c=r[a],t,h),i.push({start:t,end:x}),x[h]>=t[h]==x[h]>=y[h]&&(M=t[h="y"===h?"x":"y"]<e[h],i.push({start:x,end:u(x,h,c,h+(M?"Max":"Min"),M?1:-1)}),h="y"===h?"x":"y"));let m=i.length?i[i.length-1].end:t;x=u(m,h,y),i.push({start:m,end:x});let b=u(x,h="y"===h?"x":"y",y);return i.push({start:x,end:b}),s&&i.push(s),{path:l(f(i),n.radius),obstacles:i}};function m(t,e,n){let i=n.startDirectionX??d(e.x-t.x)>d(e.y-t.y),r=i?"x":"y",a=[],o=n.obstacleMetrics,s=x(t.x,e.x)-o.maxWidth-10,h=M(t.x,e.x)+o.maxWidth+10,c=x(t.y,e.y)-o.maxHeight-10,l=M(t.y,e.y)+o.maxHeight+10,g,m,b,P=!1,O=n.chartObstacles,v=y(O,h),k=y(O,s);function w(t,e,n){let i,r,a,o,s=t.x<e.x?1:-1;t.x<e.x?(i=t,r=e):(i=e,r=t),t.y<e.y?(o=t,a=e):(o=e,a=t);let h=s<0?x(y(O,r.x),O.length-1):0;for(;O[h]&&(s>0&&O[h].xMin<=r.x||s<0&&O[h].xMax>=i.x);){if(O[h].xMin<=r.x&&O[h].xMax>=i.x&&O[h].yMin<=a.y&&O[h].yMax>=o.y){if(n)return{y:t.y,x:t.x<e.x?O[h].xMin-1:O[h].xMax+1,obstacle:O[h]};return{x:t.x,y:t.y<e.y?O[h].yMin-1:O[h].yMax+1,obstacle:O[h]}}h+=s}return e}function A(t,e,n,i,r){let a=r.soft,o=r.hard,s=i?"x":"y",h={x:e.x,y:e.y},c={x:e.x,y:e.y},l=t[s+"Max"]>=a[s+"Max"],x=t[s+"Min"]<=a[s+"Min"],M=t[s+"Max"]>=o[s+"Max"],y=t[s+"Min"]<=o[s+"Min"],p=d(t[s+"Min"]-e[s]),f=d(t[s+"Max"]-e[s]),u=10>d(p-f)?e[s]<n[s]:f<p;c[s]=t[s+"Min"],h[s]=t[s+"Max"];let g=w(e,c,i)[s]!==c[s],m=w(e,h,i)[s]!==h[s];return u=g?!m||u:!m&&u,u=x?!l||u:!l&&u,u=y?!M||u:!M&&u}if((v=p(O=O.slice(k,v+1),e))>-1){var E,I;let i,r;E=O[v],I=e,i=x(E.xMax-I.x,I.x-E.xMin)<x(E.yMax-I.y,I.y-E.yMin),r=A(E,I,t,i,{soft:n.hardBounds,hard:n.hardBounds}),b=i?{y:I.y,x:E[r?"xMax":"xMin"]+(r?1:-1)}:{x:I.x,y:E[r?"yMax":"yMin"]+(r?1:-1)},a.push({end:e,start:b}),e=b}for(;(v=p(O,e))>-1;)m=e[r]-t[r]<0,(b={x:e.x,y:e.y})[r]=O[v][m?r+"Max":r+"Min"]+(m?1:-1),a.push({end:e,start:b}),e=b;return{path:f(g=(g=function t(e,i,r){let a,o,d,y,f,g,m;if(e.x===i.x&&e.y===i.y)return[];let b=r?"x":"y",v=n.obstacleOptions.margin,k={soft:{xMin:s,xMax:h,yMin:c,yMax:l},hard:n.hardBounds};return(f=p(O,e))>-1?(y=A(f=O[f],e,i,r,k),u(f,n.hardBounds),m=r?{y:e.y,x:f[y?"xMax":"xMin"]+(y?1:-1)}:{x:e.x,y:f[y?"yMax":"yMin"]+(y?1:-1)},(g=p(O,m))>-1&&(u(g=O[g],n.hardBounds),m[b]=y?M(f[b+"Max"]-v+1,(g[b+"Min"]+f[b+"Max"])/2):x(f[b+"Min"]+v-1,(g[b+"Max"]+f[b+"Min"])/2),e.x===m.x&&e.y===m.y?(P&&(m[b]=y?M(f[b+"Max"],g[b+"Max"])+1:x(f[b+"Min"],g[b+"Min"])-1),P=!P):P=!1),o=[{start:e,end:m}]):(a=w(e,{x:r?i.x:e.x,y:r?e.y:i.y},r),o=[{start:e,end:{x:a.x,y:a.y}}],a[r?"x":"y"]!==i[r?"x":"y"]&&(y=A(a.obstacle,a,i,!r,k),u(a.obstacle,n.hardBounds),d={x:r?a.x:a.obstacle[y?"xMax":"xMin"]+(y?1:-1),y:r?a.obstacle[y?"yMax":"yMin"]+(y?1:-1):a.y},r=!r,o=o.concat(t({x:a.x,y:a.y},d,r)))),o=o.concat(t(o[o.length-1].end,i,!r))}(t,e,i)).concat(a.reverse())),obstacles:g}}g.requiresObstacles=!0,m.requiresObstacles=!0;let b={connectors:{type:"straight",radius:0,lineWidth:1,marker:{enabled:!1,align:"center",verticalAlign:"middle",inside:!1,lineWidth:1},startMarker:{symbol:"diamond"},endMarker:{symbol:"arrow-filled"}}},{setOptions:P}=a();function O(t){let e=t.shapeArgs;if(e)return{xMin:e.x||0,xMax:(e.x||0)+(e.width||0),yMin:e.y||0,yMax:(e.y||0)+(e.height||0)};let n=t.graphic&&t.graphic.getBBox();return n?{xMin:t.plotX-n.width/2,xMax:t.plotX+n.width/2,yMin:t.plotY-n.height/2,yMax:t.plotY+n.height/2}:null}!function(t){function e(t){let e,n,i=O(this);switch(t.align){case"right":e="xMax";break;case"left":e="xMin"}switch(t.verticalAlign){case"top":n="yMin";break;case"bottom":n="yMax"}return e=e?i[e]:(i.xMin+i.xMax)/2,n=n?i[n]:(i.yMin+i.yMax)/2,{x:e+(t.xOffset||0),y:n+(t.yOffset||0)}}function n(t,e){let n;return!(0,i.defined)(e)&&(n=O(this))&&(e={x:(n.xMin+n.xMax)/2,y:(n.yMin+n.yMax)/2}),Math.atan2(e.y-t.y,t.x-e.x)}function r(t,e,n){let i=2*Math.PI,r=O(this),a=r.xMax-r.xMin,o=r.yMax-r.yMin,s=Math.atan2(o,a),h=a/2,c=o/2,l=r.xMin+h,x=r.yMin+c,M={x:l,y:x},d=t,y=1,p=!1,f=1,u=1;for(;d<-Math.PI;)d+=i;for(;d>Math.PI;)d-=i;return y=Math.tan(d),d>-s&&d<=s?(u=-1,p=!0):d>s&&d<=Math.PI-s?u=-1:d>Math.PI-s||d<=-(Math.PI-s)?(f=-1,p=!0):f=-1,p?(M.x+=f*h,M.y+=u*h*y):(M.x+=o/(2*y)*f,M.y+=u*c),n.x!==l&&(M.x=n.x),n.y!==x&&(M.y=n.y),{x:M.x+e*Math.cos(d),y:M.y-e*Math.sin(d)}}t.compose=function(t,a,o){let s=o.prototype;s.getPathfinderAnchorPoint||(t.prototype.callbacks.push(function(t){!1!==t.options.connectors.enabled&&((t.options.pathfinder||t.series.reduce(function(t,e){return e.options&&(0,i.merge)(!0,e.options.connectors=e.options.connectors||{},e.options.pathfinder),t||e.options&&e.options.pathfinder},!1))&&((0,i.merge)(!0,t.options.connectors=t.options.connectors||{},t.options.pathfinder),(0,i.error)('WARNING: Pathfinder options have been renamed. Use "chart.connectors" or "series.connectors" instead.')),this.pathfinder=new a(this),this.pathfinder.update(!0))}),s.getMarkerVector=r,s.getPathfinderAnchorPoint=e,s.getRadiansToVector=n,P(b))}}(r||(r={}));let v=r,k=e.default.Point;var w=n.n(k);let A=Math.max,E=Math.min;class I{static compose(t,e){v.compose(t,I,e)}constructor(t){this.init(t)}init(t){this.chart=t,this.connections=[],(0,i.addEvent)(t,"redraw",function(){this.pathfinder.update()})}update(t){let e=this.chart,n=this,r=n.connections;n.connections=[],e.series.forEach(function(t){t.visible&&!t.options.isInternal&&t.points.forEach(function(t){let r,a=t.options;a&&a.dependency&&(a.connect=a.dependency);let o=t.options?.connect?(0,i.splat)(t.options.connect):[];t.visible&&!1!==t.isInside&&o.forEach(i=>{let a="string"==typeof i?i:i.to;a&&(r=e.get(a)),r instanceof w()&&r.series.visible&&r.visible&&!1!==r.isInside&&n.connections.push(new c(t,r,"string"==typeof i?{}:i))})})});for(let t=0,e,i,a=r.length,o=n.connections.length;t<a;++t){i=!1;let a=r[t];for(e=0;e<o;++e){let t=n.connections[e];if((a.options&&a.options.type)===(t.options&&t.options.type)&&a.fromPoint===t.fromPoint&&a.toPoint===t.toPoint){t.graphics=a.graphics,i=!0;break}}i||a.destroy()}delete this.chartObstacles,delete this.lineObstacles,n.renderConnections(t)}renderConnections(t){t?this.chart.series.forEach(function(t){let e=function(){let e=t.chart.pathfinder;(e&&e.connections||[]).forEach(function(e){e.fromPoint&&e.fromPoint.series===t&&e.render()}),t.pathfinderRemoveRenderEvent&&(t.pathfinderRemoveRenderEvent(),delete t.pathfinderRemoveRenderEvent)};!1===t.options.animation?e():t.pathfinderRemoveRenderEvent=(0,i.addEvent)(t,"afterAnimate",e)}):this.connections.forEach(function(t){t.render()})}getChartObstacles(t){let e=this.chart.series,n=t.algorithmMargin??0,r=[],a;for(let t=0,i=e.length;t<i;++t)if(e[t].visible&&!e[t].options.isInternal)for(let i=0,a=e[t].points.length,o,s;i<a;++i)(s=e[t].points[i]).visible&&(o=function(t){let e=t.shapeArgs;if(e)return{xMin:e.x||0,xMax:(e.x||0)+(e.width||0),yMin:e.y||0,yMax:(e.y||0)+(e.height||0)};let n=t.graphic&&t.graphic.getBBox();return n?{xMin:t.plotX-n.width/2,xMax:t.plotX+n.width/2,yMin:t.plotY-n.height/2,yMax:t.plotY+n.height/2}:null}(s))&&r.push({xMin:o.xMin-n,xMax:o.xMax+n,yMin:o.yMin-n,yMax:o.yMax+n});return r=r.sort(function(t,e){return t.xMin-e.xMin}),(0,i.defined)(t.algorithmMargin)||(a=t.algorithmMargin=function(t){let e,n=t.length,i=[];for(let r=0;r<n;++r)for(let a=r+1;a<n;++a)(e=function t(e,n,i){let r=i??10,a=e.yMax+r>n.yMin-r&&e.yMin-r<n.yMax+r,o=e.xMax+r>n.xMin-r&&e.xMin-r<n.xMax+r,s=a?e.xMin>n.xMax?e.xMin-n.xMax:n.xMin-e.xMax:1/0,h=o?e.yMin>n.yMax?e.yMin-n.yMax:n.yMin-e.yMax:1/0;return o&&a?r?t(e,n,Math.floor(r/2)):1/0:E(s,h)}(t[r],t[a]))<80&&i.push(e);return i.push(80),A(Math.floor(i.sort(function(t,e){return t-e})[Math.floor(i.length/10)]/2-1),1)}(r),r.forEach(function(t){t.xMin-=a,t.xMax+=a,t.yMin-=a,t.yMax+=a})),r}getObstacleMetrics(t){let e=0,n=0,i,r,a=t.length;for(;a--;)i=t[a].xMax-t[a].xMin,r=t[a].yMax-t[a].yMin,e<i&&(e=i),n<r&&(n=r);return{maxHeight:n,maxWidth:e}}getAlgorithmStartDirection(t){let e="left"!==t.align&&"right"!==t.align,n="top"!==t.verticalAlign&&"bottom"!==t.verticalAlign;return e?!!n&&void 0:!!n||void 0}}function L(t,e,n,i){return[["M",t,e+i/2],["L",t+n,e],["L",t,e+i/2],["L",t+n,e+i]]}I.prototype.algorithms={fastAvoid:m,straight:function(t,e){return{path:[["M",t.x,t.y],["L",e.x,e.y]],obstacles:[{start:t,end:e}]}},simpleConnect:g};function R(t,e,n,i){return[["M",t+n,e],["L",t,e+i/2],["L",t+n,e+i],["Z"]]}function B(t,e,n,i){return R(t,e,n/2,i)}let C=a();C.Pathfinder=C.Pathfinder||I,(t=C.SVGRenderer.prototype.symbols).arrow=L,t["arrow-filled"]=R,t["arrow-filled-half"]=B,t["arrow-half"]=function(t,e,n,i){return L(t,e,n/2,i)},t["triangle-left"]=R,t["triangle-left-half"]=B,C.Pathfinder.compose(C.Chart,C.Point);let W=a();export{W as default};
|