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
package/modules/flowmap.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/flowmap
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
* @requires highcharts/modules/map
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
*
|
|
9
9
|
* A commercial license may be required depending on use,
|
|
10
10
|
* see www.highcharts.com/license
|
|
11
|
-
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts
|
|
11
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts.SeriesRegistry,t._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/flowmap",["highcharts/highcharts"],function(t){return e(t.SeriesRegistry,t)}):"object"==typeof exports?exports["highcharts/modules/flowmap"]=e(t._Highcharts.SeriesRegistry,t._Highcharts):t.Highcharts=e(t.Highcharts.SeriesRegistry,t.Highcharts)}("u"<typeof window?this:window,(t,e)=>(()=>{"use strict";var o={512(e){e.exports=t},944(t){t.exports=e}};let i={};function s(t){let e=i[t];if(void 0!==e)return e.exports;let r=i[t]={exports:{}};return o[t](r,r.exports,s),r.exports}s.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var o in e)s.o(e,o)&&!s.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let r={};s.d(r,{default:()=>u});var n=s(944),a=s.n(n),h=s(512),p=s.n(h);let{seriesTypes:{mapline:{prototype:{pointClass:l}}}}=p(),d=class extends l{isValid(){let t=!!(this.options.to&&this.options.from);return[this.options.to,this.options.from].forEach(function(e){t=!!(t&&e&&((0,n.isString)(e)||(0,n.isNumber)(e[0]??e.lat)&&(0,n.isNumber)(e[1]??e.lon)))}),t}},{series:{prototype:{pointClass:f}},seriesTypes:{column:g,map:c,mapline:m}}=p();class y extends m{static getLength(t,e){return Math.sqrt(t*t+e*e)}static normalize(t,e){let o=this.getLength(t,e);return[t/o,e/o]}static markerEndPath(t,e,o,i){let s=(0,n.relativeLength)(i.width||0,this.getLength(e[0]-t[0],e[1]-t[1])),r=i.markerType||"arrow",[a,h]=this.normalize(e[0]-t[0],e[1]-t[1]),p=[];if("arrow"===r){let[i,r]=t;i-=a*s,r-=h*s,p.push(["L",i,r]),p.push(["L",o[0],o[1]]),[i,r]=e,i+=a*s,r+=h*s,p.push(["L",i,r])}if("mushroom"===r){let[i,r]=t,[n,l]=e,[d,f]=o,g=(n-i)/2+i,c=(l-r)/2+r;i-=a*s,r-=h*s,p.push(["L",i,r]),n+=a*s,l+=h*s,p.push(["Q",(d-g)*2+g,(f-c)*2+c,n,l])}return p}animate(t){let e=this.points;t||e.forEach(t=>{if(t.shapeArgs&&(0,n.isArray)(t.shapeArgs.d)&&t.shapeArgs.d.length){let e=t.shapeArgs.d,o=e[0][1],i=e[0][2];if(o&&i){let s=[];for(let t=0;t<e.length;t++){s.push([...e[t]]);for(let r=1;r<e[t].length;r++)s[t][r]=r%2?o:i}t.graphic&&(t.graphic.attr({d:s}),t.graphic.animate({d:e}))}}})}getLinkWidth(t){let e=this.options.width,o=t.options.weight||this.options.weight;if(t.options.weight=o,e&&!o)return e;let i=this.smallestWeight,s=this.greatestWeight;if(!(0,n.defined)(o)||!i||!s)return 0;let r=this.options.minWidth;return(o-i)*(this.options.maxWidth-r)/(s-i||1)+r}autoCurve(t,e,o,i,s,r){let n={x:o-t,y:i-e},a={x:(o-t)/2+t,y:(i-e)/2+e},h={x:a.x-s,y:a.y-r},p=n.x*h.x+n.y*h.y,l=Math.atan2(n.x*h.y-n.y*h.x,p),d=180*l/Math.PI;return d<0&&(d=360+d),-(.7*Math.sin(l=d*Math.PI/180))}pointAttribs(t,e){let o=c.prototype.pointAttribs.call(this,t,e);return o.fill=t.options.fillColor??t.options.color??("none"===this.options.fillColor?void 0:this.options.fillColor)??this.color,o["fill-opacity"]=t.options.fillOpacity??this.options.fillOpacity,o["stroke-width"]=t.options.lineWidth??this.options.lineWidth??1,t.options.opacity&&(o.opacity=t.options.opacity),o}translate(){this.chart.hasRendered&&(this.isDirtyData||!this.hasRendered)&&(this.processData(),this.generatePoints());let t=[],e=0,o=0;this.points.forEach(i=>{let s,r,a=this.chart,h=a.mapView,p=i.options,l=()=>{i.series.isDirty=!0},d=t=>{let e=a.get(t);if(e instanceof f&&e.plotX&&e.plotY)return(0,n.addEvent)(e,"update",l),{x:e.plotX,y:e.plotY}},g=t=>(0,n.isArray)(t)?{lon:t[0],lat:t[1]}:t;"string"==typeof p.from?s=d(p.from):"object"==typeof p.from&&h&&(s=h.lonLatToPixels(g(p.from))),"string"==typeof p.to?r=d(p.to):"object"==typeof p.to&&h&&(r=h.lonLatToPixels(g(p.to))),i.fromPos=s,i.toPos=r,s&&r&&(e+=(s.x+r.x)/2,o+=(s.y+r.y)/2),(i.options.weight??this.options.weight)&&t.push(i.options.weight??this.options.weight)}),this.smallestWeight=(0,n.arrayMin)(t),this.greatestWeight=(0,n.arrayMax)(t),this.centerOfPoints={x:e/this.points.length,y:o/this.points.length},this.points.forEach(t=>{if(!this.getLinkWidth(t)){t.shapeArgs={d:[]};return}t.fromPos&&(t.plotX=t.fromPos.x,t.plotY=t.fromPos.y),t.shapeType="path",t.shapeArgs=this.getPointShapeArgs(t),t.color=t.options.color??t.series.color})}getPointShapeArgs(t){let{fromPos:e,toPos:o}=t;if(!e||!o)return{};let i=this.getLinkWidth(t)/2,s=t.options,r=(0,n.merge)(this.options.markerEnd,s.markerEnd),a=s.growTowards??this.options.growTowards,h=e.x||0,p=e.y||0,l=o.x||0,d=o.y||0,f=s.curveFactor??this.options.curveFactor,g=r&&r.enabled&&r.height||0;if((0,n.defined)(f)||(f=this.autoCurve(h,p,l,d,this.centerOfPoints.x,this.centerOfPoints.y)),g){g=(0,n.relativeLength)(g,4*i);let t=l-h,e=d-p,o=h+(t*=.5),s=p+(e*=.5),r=t,a=o+(t=e)*f,c=s+(e=-r)*f,[m,u]=y.normalize(a-l,c-d);m*=g,u*=g,l+=m,d+=u}let c=l-h,m=d-p,u=h+(c*=.5),x=p+(m*=.5),w=c;c=m,m=-w;let[P,b]=y.normalize(c,m),L=1+.25*Math.sqrt(f*f);P*=i*L,b*=i*L;let W=u+c*f,v=x+m*f,[A,M]=y.normalize(W-h,v-p);w=A,A=M,M=-w,A*=i,M*=i;let[k,O]=y.normalize(W-l,v-d);w=k,k=-O,O=w,k*=i,O*=i,a&&(A/=i,M/=i,P/=4,b/=4);let C={d:[["M",h-A,p-M],["Q",W-P,v-b,l-k,d-O],["L",l+k,d+O],["Q",W+P,v+b,h+A,p+M],["Z"]]};if(r&&r.enabled&&C.d){let t=y.markerEndPath([l-k,d-O],[l+k,d+O],[o.x,o.y],r);C.d.splice(2,0,...t)}let E=t.options.from,T=t.options.to,S=E.lat,j=E.lon,z=T.lat,H=T.lon;return S&&j&&(t.options.from=`${+S}, ${+j}`),z&&H&&(t.options.to=`${+z}, ${+H}`),C}}y.defaultOptions=(0,n.merge)(m.defaultOptions,{animation:!0,dataLabels:{enabled:!1},fillOpacity:.5,markerEnd:{enabled:!0,height:"40%",width:"40%",markerType:"arrow"},width:1,maxWidth:25,minWidth:5,lineWidth:void 0,tooltip:{headerFormat:'<span style="font-size: 0.8em">{series.name}</span><br/>',pointFormat:"{point.options.from} → {point.options.to}: <b>{point.options.weight}</b>"}}),(0,n.extend)(y.prototype,{pointClass:d,pointArrayMap:["from","to","weight"],drawPoints:g.prototype.drawPoints,getDataColumnKeys:g.prototype.getDataColumnKeys,useMapGeometry:!0}),p().registerSeriesType("flowmap",y);let u=a();return r.default})());
|
package/modules/flowmap.src.js
CHANGED
|
@@ -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/flowmap
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
* @requires highcharts/modules/map
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
*/
|
|
13
13
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
14
14
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
15
|
-
module.exports = factory(root["_Highcharts"], root["_Highcharts"]
|
|
15
|
+
module.exports = factory(root["_Highcharts"]["SeriesRegistry"], root["_Highcharts"]);
|
|
16
16
|
else if(typeof define === 'function' && define.amd)
|
|
17
|
-
define("highcharts/modules/flowmap", ["highcharts/highcharts"], function (amd1) {return factory(amd1
|
|
17
|
+
define("highcharts/modules/flowmap", ["highcharts/highcharts"], function (amd1) {return factory(amd1["SeriesRegistry"],amd1);});
|
|
18
18
|
else if(typeof exports === 'object')
|
|
19
|
-
exports["highcharts/modules/flowmap"] = factory(root["_Highcharts"], root["_Highcharts"]
|
|
19
|
+
exports["highcharts/modules/flowmap"] = factory(root["_Highcharts"]["SeriesRegistry"], root["_Highcharts"]);
|
|
20
20
|
else
|
|
21
|
-
root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]
|
|
22
|
-
})(typeof window === 'undefined' ? this : window, (
|
|
21
|
+
root["Highcharts"] = factory(root["Highcharts"]["SeriesRegistry"], root["Highcharts"]);
|
|
22
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__944__) => {
|
|
23
23
|
return /******/ (() => { // webpackBootstrap
|
|
24
24
|
/******/ "use strict";
|
|
25
25
|
/******/ var __webpack_modules__ = ({
|
|
@@ -66,48 +66,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__944__;
|
|
|
66
66
|
/******/
|
|
67
67
|
/************************************************************************/
|
|
68
68
|
/******/ /* webpack/runtime/compat get default export */
|
|
69
|
-
/******/
|
|
70
|
-
/******/
|
|
71
|
-
/******/
|
|
72
|
-
/******/
|
|
73
|
-
/******/
|
|
74
|
-
/******/
|
|
75
|
-
/******/
|
|
76
|
-
/******/
|
|
77
|
-
/******/ };
|
|
78
|
-
/******/ })();
|
|
69
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
70
|
+
/******/ __webpack_require__.n = (module) => {
|
|
71
|
+
/******/ const getter = module && module.__esModule ?
|
|
72
|
+
/******/ () => (module['default']) :
|
|
73
|
+
/******/ () => (module);
|
|
74
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
75
|
+
/******/ return getter;
|
|
76
|
+
/******/ };
|
|
79
77
|
/******/
|
|
80
78
|
/******/ /* webpack/runtime/define property getters */
|
|
81
|
-
/******/
|
|
82
|
-
/******/
|
|
83
|
-
/******/
|
|
84
|
-
/******/ if(
|
|
85
|
-
/******/
|
|
86
|
-
/******/ while(i < definition.length) {
|
|
87
|
-
/******/ var key = definition[i++];
|
|
88
|
-
/******/ var binding = definition[i++];
|
|
89
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
90
|
-
/******/ if(binding === 0) {
|
|
91
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
92
|
-
/******/ } else {
|
|
93
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
94
|
-
/******/ }
|
|
95
|
-
/******/ } else if(binding === 0) { i++; }
|
|
96
|
-
/******/ }
|
|
97
|
-
/******/ } else {
|
|
98
|
-
/******/ for(var key in definition) {
|
|
99
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
100
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
101
|
-
/******/ }
|
|
102
|
-
/******/ }
|
|
79
|
+
/******/ // define getter/value functions for harmony exports
|
|
80
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
81
|
+
/******/ for(var key in definition) {
|
|
82
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
83
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
103
84
|
/******/ }
|
|
104
|
-
/******/ }
|
|
105
|
-
/******/ }
|
|
85
|
+
/******/ }
|
|
86
|
+
/******/ };
|
|
106
87
|
/******/
|
|
107
88
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
108
|
-
/******/ (
|
|
109
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
110
|
-
/******/ })();
|
|
89
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
111
90
|
/******/
|
|
112
91
|
/************************************************************************/
|
|
113
92
|
let __webpack_exports__ = {};
|
package/modules/full-screen.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highstock JS v13.0
|
|
2
|
+
* Highstock JS v13.1.0 (2026-09-18)
|
|
3
3
|
* @module highcharts/modules/full-screen
|
|
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
|
-
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts,e._Highcharts
|
|
13
|
+
*/function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(e._Highcharts.AST,e._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/full-screen",["highcharts/highcharts"],function(e){return t(e.AST,e)}):"object"==typeof exports?exports["highcharts/modules/full-screen"]=t(e._Highcharts.AST,e._Highcharts):e.Highcharts=t(e.Highcharts.AST,e.Highcharts)}("u"<typeof window?this:window,(e,t)=>(()=>{"use strict";var n={660(t){t.exports=e},944(e){e.exports=t}};let r={};function s(e){let t=r[e];if(void 0!==t)return t.exports;let i=r[e]={exports:{}};return n[e](i,i.exports,s),i.exports}s.n=e=>{let t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);let i={};s.d(i,{default:()=>f});var l=s(944),o=s.n(l),u=s(660),c=s.n(u);let{composed:h}=o();function p(){this.fullscreen=new a(this)}class a{static compose(e){(0,l.pushUnique)(h,"Fullscreen")&&(0,l.addEvent)(e,"beforeRender",p)}constructor(e){this.chart=e,this.isOpen=!1;let t=e.renderTo;!this.browserProps&&("function"==typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}close(){let e=this,t=e.chart,n=t.options.chart;(0,l.fireEvent)(t,"fullscreenClose",void 0,function(){e.isOpen&&e.browserProps&&t.container.ownerDocument instanceof Document&&t.container.ownerDocument[e.browserProps.exitFullscreen](),e.unbindFullscreenEvent&&(e.unbindFullscreenEvent=e.unbindFullscreenEvent()),t.setSize(e.origWidth,e.origHeight,!1),e.origWidth=void 0,e.origHeight=void 0,n.width=e.origWidthOption,n.height=e.origHeightOption,e.origWidthOption=void 0,e.origHeightOption=void 0,e.isOpen=!1,e.setButtonText()})}open(){let e=this,t=e.chart,n=t.options.chart;(0,l.fireEvent)(t,"fullscreenOpen",void 0,function(){if(n&&(e.origWidthOption=n.width,e.origHeightOption=n.height),e.origWidth=t.chartWidth,e.origHeight=t.chartHeight,e.browserProps){let n=(0,l.addEvent)(t.container.ownerDocument,e.browserProps.fullscreenChange,function(){e.isOpen?(e.isOpen=!1,e.close()):(t.setSize(null,null,!1),e.isOpen=!0,e.setButtonText())}),r=(0,l.addEvent)(t,"destroy",n);e.unbindFullscreenEvent=()=>{n(),r()};let s=t.renderTo[e.browserProps.requestFullscreen]();s&&s.catch(function(){alert("Full screen is not supported inside a frame.")})}})}setButtonText(){let e=this.chart,t=e.exporting?.divElements,n=e.options.exporting,r=n&&n.buttons&&n.buttons.contextButton.menuItems,s=e.options.lang;if(n?.menuItemDefinitions&&s?.exitFullscreen&&s.viewFullscreen&&r&&t){let e=t[r.indexOf("viewFullscreen")];e&&c().setElementHTML(e,this.isOpen?s.exitFullscreen:n.menuItemDefinitions.viewFullscreen?.text||s.viewFullscreen)}}toggle(){this.isOpen?this.close():this.open()}}let d=o();d.Fullscreen=d.Fullscreen||a,d.Fullscreen.compose(d.Chart);let f=o();return i.default})());
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highstock JS v13.0
|
|
3
|
+
* @license Highstock JS v13.1.0 (2026-09-18)
|
|
4
4
|
* @module highcharts/modules/full-screen
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
16
16
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
17
|
-
module.exports = factory(root["_Highcharts"], root["_Highcharts"]
|
|
17
|
+
module.exports = factory(root["_Highcharts"]["AST"], root["_Highcharts"]);
|
|
18
18
|
else if(typeof define === 'function' && define.amd)
|
|
19
|
-
define("highcharts/modules/full-screen", ["highcharts/highcharts"], function (amd1) {return factory(amd1
|
|
19
|
+
define("highcharts/modules/full-screen", ["highcharts/highcharts"], function (amd1) {return factory(amd1["AST"],amd1);});
|
|
20
20
|
else if(typeof exports === 'object')
|
|
21
|
-
exports["highcharts/modules/full-screen"] = factory(root["_Highcharts"], root["_Highcharts"]
|
|
21
|
+
exports["highcharts/modules/full-screen"] = factory(root["_Highcharts"]["AST"], root["_Highcharts"]);
|
|
22
22
|
else
|
|
23
|
-
root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]
|
|
24
|
-
})(typeof window === 'undefined' ? this : window, (
|
|
23
|
+
root["Highcharts"] = factory(root["Highcharts"]["AST"], root["Highcharts"]);
|
|
24
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__660__, __WEBPACK_EXTERNAL_MODULE__944__) => {
|
|
25
25
|
return /******/ (() => { // webpackBootstrap
|
|
26
26
|
/******/ "use strict";
|
|
27
27
|
/******/ var __webpack_modules__ = ({
|
|
@@ -68,48 +68,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__944__;
|
|
|
68
68
|
/******/
|
|
69
69
|
/************************************************************************/
|
|
70
70
|
/******/ /* webpack/runtime/compat get default export */
|
|
71
|
-
/******/
|
|
72
|
-
/******/
|
|
73
|
-
/******/
|
|
74
|
-
/******/
|
|
75
|
-
/******/
|
|
76
|
-
/******/
|
|
77
|
-
/******/
|
|
78
|
-
/******/
|
|
79
|
-
/******/ };
|
|
80
|
-
/******/ })();
|
|
71
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
72
|
+
/******/ __webpack_require__.n = (module) => {
|
|
73
|
+
/******/ const getter = module && module.__esModule ?
|
|
74
|
+
/******/ () => (module['default']) :
|
|
75
|
+
/******/ () => (module);
|
|
76
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
77
|
+
/******/ return getter;
|
|
78
|
+
/******/ };
|
|
81
79
|
/******/
|
|
82
80
|
/******/ /* webpack/runtime/define property getters */
|
|
83
|
-
/******/
|
|
84
|
-
/******/
|
|
85
|
-
/******/
|
|
86
|
-
/******/ if(
|
|
87
|
-
/******/
|
|
88
|
-
/******/ while(i < definition.length) {
|
|
89
|
-
/******/ var key = definition[i++];
|
|
90
|
-
/******/ var binding = definition[i++];
|
|
91
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
92
|
-
/******/ if(binding === 0) {
|
|
93
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
94
|
-
/******/ } else {
|
|
95
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
96
|
-
/******/ }
|
|
97
|
-
/******/ } else if(binding === 0) { i++; }
|
|
98
|
-
/******/ }
|
|
99
|
-
/******/ } else {
|
|
100
|
-
/******/ for(var key in definition) {
|
|
101
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
102
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
103
|
-
/******/ }
|
|
104
|
-
/******/ }
|
|
81
|
+
/******/ // define getter/value functions for harmony exports
|
|
82
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
83
|
+
/******/ for(var key in definition) {
|
|
84
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
85
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
105
86
|
/******/ }
|
|
106
|
-
/******/ }
|
|
107
|
-
/******/ }
|
|
87
|
+
/******/ }
|
|
88
|
+
/******/ };
|
|
108
89
|
/******/
|
|
109
90
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
110
|
-
/******/ (
|
|
111
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
112
|
-
/******/ })();
|
|
91
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
113
92
|
/******/
|
|
114
93
|
/************************************************************************/
|
|
115
94
|
let __webpack_exports__ = {};
|
package/modules/funnel.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/funnel
|
|
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
|
-
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts
|
|
13
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts.SeriesRegistry,t._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/funnel",["highcharts/highcharts"],function(t){return e(t.SeriesRegistry,t)}):"object"==typeof exports?exports["highcharts/modules/funnel"]=e(t._Highcharts.SeriesRegistry,t._Highcharts):t.Highcharts=e(t.Highcharts.SeriesRegistry,t.Highcharts)}("u"<typeof window?this:window,(t,e)=>(()=>{"use strict";var i={512(e){e.exports=t},944(t){t.exports=e}};let a={};function s(t){let e=a[t];if(void 0!==e)return e.exports;let d=a[t]={exports:{}};return i[t](d,d.exports,s),d.exports}s.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return s.d(e,{a:e}),e},s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let d={};s.d(d,{default:()=>A});var o=s(944),r=s.n(o);let{defaultOptions:n}=r(),{noop:l}=r(),h={radius:0,scope:"stack",where:void 0};var p=s(512),c=s.n(p);let{composed:g,noop:u}=r(),{column:x,pie:y}=c().seriesTypes,f=c().series.prototype.alignDataLabel;function b(t,e){return/%$/.test(t)?e*parseInt(t,10)/100:parseInt(t,10)}class L extends y{alignDataLabel(t,e,i,a,s){let d=t.series,r=d.options.reversed,n=t.dlBox||t.shapeArgs,{align:l,verticalAlign:h}=i,p=(0,o.splat)(i.padding||0),c=((d.options||{}).dataLabels||{}).inside,g=d.center[1],u=t.plotY||0,x=e.height??e.getBBox().height,y=d.getWidthAt((r?2*g-u:u)-n.height/2+x),b="middle"===h?(n.topWidth-n.bottomWidth)/4:(y-n.bottomWidth)/2,L=n.y,m=n.x;"middle"===h?L=n.y-n.height/2+x/2:"top"===h&&(L=n.y-n.height+x+p[0]),("top"===h&&!r||"bottom"===h&&r||"middle"===h)&&("right"===l?m=n.x-p[1%p.length]+b:"left"===l&&(m=n.x+p[3%p.length]-b)),a={x:m,y:r?L-n.height:L,width:n.bottomWidth,height:n.height},i.verticalAlign="bottom",c&&(i.distance=void 0),c&&t.visible&&f.call(d,t,e,i,a,s),c&&(!t.visible&&t.dataLabel&&(t.dataLabel.placed=!1),t.contrastColor&&e.css({color:t.contrastColor}))}drawDataLabels(){((0,o.splat)(this.options.dataLabels||{})[0].inside?x:y).prototype.drawDataLabels.call(this)}getDataLabelPosition(t,e){let i=t.plotY||0,a=t.half?1:-1,s=this.getXPos(i,!!t.half,t);return{distance:e,natural:{x:0,y:i},computed:{},alignment:t.half?"right":"left",connectorPosition:{breakAt:{x:s+(e-5)*a,y:i},touchingSliceAt:{x:s+e*a,y:i}}}}translate(){var t;let e=this,i=e.chart,a=e.options,s=a.reversed,d=a.ignoreHiddenPoint,r=(t=a.borderRadius,(0,o.isObject)(t)||(t={radius:t||0}),(0,o.merge)(h,void 0,t)),n=i.plotWidth,l=i.plotHeight,p=a.center,c=b(p[0],n),g=b(p[1],l),x=b(a.width,n),y=b(a.height,l),f=b(a.neckWidth,n),L=b(a.neckHeight,l),m=g-y/2+y-L,v=e.points,M=(0,o.relativeLength)(r.radius,x),W=r.scope,A=+("left"===a.dataLabels.position),P=(t,e)=>{let i=Math.tan(t/2),a=Math.cos(I),d=Math.sin(I),o=M,r=o/i,n=Math.tan((Math.PI-t)/3.2104);return r>e&&(o=(r=e)*i),{dx:[r*a,(r-(n*=o))*a,r-n,r],dy:[r*d,(r-n)*d,r-n,r].map(t=>s?-t:t)}},C=0,H=0,w=-1,k=-1,O,S,D,I,j,R,Y,_,B,T,X;for(let t of(e.getWidthAt=function(t){let e=g-y/2;return t>m||y===L?f:f+(x-f)*(1-(t-e)/(y-L))},e.getXPos=function(t,i,a){return c+(i?-1:1)*(e.getWidthAt(s?2*g-t:t)/2+(a.dataLabel?.dataLabelPosition?.distance??(0,o.relativeLength)(this.options.dataLabels?.distance||0,x)))},e.center=[c,g,y],e.centerX=c,v))t.y&&t.isValid()&&(!d||!1!==t.visible)&&(C+=t.y,-1===w&&(w=t.index),k=t.index);for(let t of v){if(X=null,D=C?t.y/C:0,B=(R=g-y/2+H*y)+D*y,Y=(j=c-(O=e.getWidthAt(R))/2)+O,T=(_=c-(O=e.getWidthAt(B))/2)+O,(0,o.correctFloat)(R)>=m?(j=_=c-f/2,Y=T=c+f/2):B>m&&(X=B,T=(_=c-(O=e.getWidthAt(m))/2)+O,B=m),s&&(R=2*g-R,B=2*g-B,null!==X&&(X=2*g-X)),M&&("point"===W||t.index===w||t.index===k||null!==X)){let e=Math.abs(B-R),i=Y-T,a=T-_,s=Math.sqrt(i*i+e*e),d=Y-j,o=P(I=Math.atan(0!==i?e/i:1/0),Math.min(d,s)/2);if(S="stack"===W&&t.index!==w?[["M",j,R],["L",Y,R]]:[["M",j+o.dx[0],R+o.dy[0]],["C",j+o.dx[1],R+o.dy[1],j+o.dx[2],R,j+o.dx[3],R],["L",Y-o.dx[3],R],["C",Y-o.dx[2],R,Y-o.dx[1],R+o.dy[1],Y-o.dx[0],R+o.dy[0]]],null!==X){let e=Math.abs(X-B),i=P(Math.PI/2,Math.min(a,e)/2);o=P(Math.PI/2+I,Math.min(s,e)/2),S.push(["L",T+o.dx[0],B-o.dy[0]],["C",T+o.dx[1],B-o.dy[1],T,B+o.dy[2],T,B+o.dy[3]]),"stack"===W&&t.index!==k?S.push(["L",T,X],["L",_,X]):S.push(["L",T,X-i.dy[3]],["C",T,X-i.dy[2],T-i.dx[2],X,T-i.dx[3],X],["L",_+i.dx[3],X],["C",_+i.dx[2],X,_,X-i.dy[2],_,X-i.dy[3]]),S.push(["L",_,B+o.dy[3]],["C",_,B+o.dy[2],_-o.dx[1],B-o.dy[1],_-o.dx[0],B-o.dy[0]])}else a>=1?(o=P(Math.PI-I,Math.min(s,a)/2),"stack"===W&&t.index!==k?S.push(["L",T,B],["L",_,B]):S.push(["L",T+o.dx[0],B-o.dy[0]],["C",T+o.dx[1],B-o.dy[1],T-o.dx[2],B,T-o.dx[3],B],["L",_+o.dx[3],B],["C",_+o.dx[2],B,_-o.dx[1],B-o.dy[1],_-o.dx[0],B-o.dy[0]])):(o=P(Math.PI-2*I,s/2),S.push(["L",_+o.dx[0],B-o.dy[0]],["C",_+o.dx[1],B-o.dy[1],_-o.dx[1],B-o.dy[1],_-o.dx[0],B-o.dy[0]]))}else S=[["M",j,R],["L",Y,R],["L",T,B]],null!==X&&S.push(["L",T,X],["L",_,X]),S.push(["L",_,B]);S.push(["Z"]),t.shapeType="path",t.shapeArgs={d:S},t.percentage=100*D,t.plotX=c,t.plotY=(R+(X||B))/2,t.tooltipPos=[c,t.plotY],t.dlBox={x:_,y:R,topWidth:Y-j,bottomWidth:T-_,height:Math.abs((X??B)-R),width:0/0},t.slice=u,t.half=A,t.isValid()&&(!d||!1!==t.visible)&&(H+=D)}(0,o.fireEvent)(e,"afterTranslate")}sortByAngle(t){t.sort((t,e)=>t.plotY-e.plotY)}}function m(){for(let t of this.series){let e=t.options&&t.options.dataLabels;(0,o.isArray)(e)&&(e=e[0]),t.is("pie")&&t.placeDataLabels&&e&&!e.inside&&t.placeDataLabels()}}L.defaultOptions=(0,o.merge)(y.defaultOptions,{animation:!1,borderRadius:0,center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",reversed:!1,size:!0,dataLabels:{connectorWidth:1,verticalAlign:"middle"},states:{select:{color:"var(--highcharts-neutral-color-20)",borderColor:"var(--highcharts-neutral-color-100)"}}}),(0,o.extend)(L.prototype,{animate:u}),(L||(L={})).compose=function(t){(0,o.pushUnique)(g,"FunnelSeries")&&(0,o.addEvent)(t,"afterHideAllOverlappingLabels",m)},c().registerSeriesType("funnel",L);let v=L;class M extends v{}M.defaultOptions=(0,o.merge)(v.defaultOptions,{neckHeight:"0%",neckWidth:"0%",reversed:!0}),c().registerSeriesType("pyramid",M);let W=r();v.compose(W.Chart);let A=r();return d.default})());
|
package/modules/funnel.src.js
CHANGED
|
@@ -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/funnel
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
16
16
|
if(typeof exports === 'object' && typeof module === 'object')
|
|
17
|
-
module.exports = factory(root["_Highcharts"], root["_Highcharts"]
|
|
17
|
+
module.exports = factory(root["_Highcharts"]["SeriesRegistry"], root["_Highcharts"]);
|
|
18
18
|
else if(typeof define === 'function' && define.amd)
|
|
19
|
-
define("highcharts/modules/funnel", ["highcharts/highcharts"], function (amd1) {return factory(amd1
|
|
19
|
+
define("highcharts/modules/funnel", ["highcharts/highcharts"], function (amd1) {return factory(amd1["SeriesRegistry"],amd1);});
|
|
20
20
|
else if(typeof exports === 'object')
|
|
21
|
-
exports["highcharts/modules/funnel"] = factory(root["_Highcharts"], root["_Highcharts"]
|
|
21
|
+
exports["highcharts/modules/funnel"] = factory(root["_Highcharts"]["SeriesRegistry"], root["_Highcharts"]);
|
|
22
22
|
else
|
|
23
|
-
root["Highcharts"] = factory(root["Highcharts"], root["Highcharts"]
|
|
24
|
-
})(typeof window === 'undefined' ? this : window, (
|
|
23
|
+
root["Highcharts"] = factory(root["Highcharts"]["SeriesRegistry"], root["Highcharts"]);
|
|
24
|
+
})(typeof window === 'undefined' ? this : window, (__WEBPACK_EXTERNAL_MODULE__512__, __WEBPACK_EXTERNAL_MODULE__944__) => {
|
|
25
25
|
return /******/ (() => { // webpackBootstrap
|
|
26
26
|
/******/ "use strict";
|
|
27
27
|
/******/ var __webpack_modules__ = ({
|
|
@@ -68,48 +68,27 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__944__;
|
|
|
68
68
|
/******/
|
|
69
69
|
/************************************************************************/
|
|
70
70
|
/******/ /* webpack/runtime/compat get default export */
|
|
71
|
-
/******/
|
|
72
|
-
/******/
|
|
73
|
-
/******/
|
|
74
|
-
/******/
|
|
75
|
-
/******/
|
|
76
|
-
/******/
|
|
77
|
-
/******/
|
|
78
|
-
/******/
|
|
79
|
-
/******/ };
|
|
80
|
-
/******/ })();
|
|
71
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
72
|
+
/******/ __webpack_require__.n = (module) => {
|
|
73
|
+
/******/ const getter = module && module.__esModule ?
|
|
74
|
+
/******/ () => (module['default']) :
|
|
75
|
+
/******/ () => (module);
|
|
76
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
77
|
+
/******/ return getter;
|
|
78
|
+
/******/ };
|
|
81
79
|
/******/
|
|
82
80
|
/******/ /* webpack/runtime/define property getters */
|
|
83
|
-
/******/
|
|
84
|
-
/******/
|
|
85
|
-
/******/
|
|
86
|
-
/******/ if(
|
|
87
|
-
/******/
|
|
88
|
-
/******/ while(i < definition.length) {
|
|
89
|
-
/******/ var key = definition[i++];
|
|
90
|
-
/******/ var binding = definition[i++];
|
|
91
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
92
|
-
/******/ if(binding === 0) {
|
|
93
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
94
|
-
/******/ } else {
|
|
95
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
96
|
-
/******/ }
|
|
97
|
-
/******/ } else if(binding === 0) { i++; }
|
|
98
|
-
/******/ }
|
|
99
|
-
/******/ } else {
|
|
100
|
-
/******/ for(var key in definition) {
|
|
101
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
102
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
103
|
-
/******/ }
|
|
104
|
-
/******/ }
|
|
81
|
+
/******/ // define getter/value functions for harmony exports
|
|
82
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
83
|
+
/******/ for(var key in definition) {
|
|
84
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
85
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
105
86
|
/******/ }
|
|
106
|
-
/******/ }
|
|
107
|
-
/******/ }
|
|
87
|
+
/******/ }
|
|
88
|
+
/******/ };
|
|
108
89
|
/******/
|
|
109
90
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
110
|
-
/******/ (
|
|
111
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
112
|
-
/******/ })();
|
|
91
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
113
92
|
/******/
|
|
114
93
|
/************************************************************************/
|
|
115
94
|
let __webpack_exports__ = {};
|
|
@@ -281,7 +260,7 @@ const FunnelSeriesDefaults = {
|
|
|
281
260
|
* not specified, it is inherited from [chart.type](#chart.type).
|
|
282
261
|
*
|
|
283
262
|
* @extends series,plotOptions.funnel
|
|
284
|
-
* @excluding
|
|
263
|
+
* @excluding stack, xAxis, yAxis, dataSorting,
|
|
285
264
|
* boostBlending, boostThreshold
|
|
286
265
|
* @product highcharts
|
|
287
266
|
* @requires modules/funnel
|
|
@@ -1152,7 +1131,7 @@ class FunnelSeries extends PieSeries {
|
|
|
1152
1131
|
cumulative += fraction;
|
|
1153
1132
|
}
|
|
1154
1133
|
}
|
|
1155
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(series, 'afterTranslate');
|
|
1134
|
+
;(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(series, 'afterTranslate');
|
|
1156
1135
|
}
|
|
1157
1136
|
/**
|
|
1158
1137
|
* Funnel items don't have angles (#2289).
|
|
@@ -1261,7 +1240,7 @@ const PyramidSeriesDefaults = {
|
|
|
1261
1240
|
* not specified, it is inherited from [chart.type](#chart.type).
|
|
1262
1241
|
*
|
|
1263
1242
|
* @extends series,plotOptions.pyramid
|
|
1264
|
-
* @excluding
|
|
1243
|
+
* @excluding stack, xAxis, yAxis, dataSorting,
|
|
1265
1244
|
* boostThreshold, boostBlending
|
|
1266
1245
|
* @product highcharts
|
|
1267
1246
|
* @requires modules/funnel
|
|
@@ -1341,7 +1320,7 @@ const PyramidSeriesDefaults = {
|
|
|
1341
1320
|
/**
|
|
1342
1321
|
* Pyramid series type.
|
|
1343
1322
|
*
|
|
1344
|
-
* @
|
|
1323
|
+
* @internal
|
|
1345
1324
|
* @class
|
|
1346
1325
|
* @name Highcharts.seriesTypes.pyramid
|
|
1347
1326
|
*
|
package/modules/funnel3d.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/funnel3d
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
* @requires highcharts/highcharts-3d
|
|
@@ -12,4 +12,4 @@
|
|
|
12
12
|
*
|
|
13
13
|
* A commercial license may be required depending on use,
|
|
14
14
|
* see www.highcharts.com/license
|
|
15
|
-
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts,t._Highcharts.SVGRenderer,t._Highcharts.Color,t._Highcharts.SVGElement,t._Highcharts.SeriesRegistry):"function"==typeof define&&define.amd?define("highcharts/modules/funnel3d",["highcharts/highcharts"],function(t){return e(t,t.SVGRenderer,t.Color,t.SVGElement,t.SeriesRegistry)}):"object"==typeof exports?exports["highcharts/modules/funnel3d"]=e(t._Highcharts,t._Highcharts.SVGRenderer,t._Highcharts.Color,t._Highcharts.SVGElement,t._Highcharts.SeriesRegistry):t.Highcharts=e(t.Highcharts,t.Highcharts.SVGRenderer,t.Highcharts.Color,t.Highcharts.SVGElement,t.Highcharts.SeriesRegistry)}("u"<typeof window?this:window,(t,e,r,i,s)=>(()=>{"use strict";var o={620(t){t.exports=r},28(t){t.exports=i},540(t){t.exports=e},512(t){t.exports=s},944(e){e.exports=t}};let n={};function h(t){let e=n[t];if(void 0!==e)return e.exports;let r=n[t]={exports:{}};return o[t](r,r.exports,h),r.exports}h.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return h.d(e,{a:e}),e},h.d=(t,e)=>{if(Array.isArray(e))for(var r=0;r<e.length;){var i=e[r++],s=e[r++];h.o(t,i)?0===s&&r++:0===s?Object.defineProperty(t,i,{enumerable:!0,value:e[r++]}):Object.defineProperty(t,i,{enumerable:!0,get:s})}else for(var i in e)h.o(e,i)&&!h.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},h.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let d={};h.d(d,{default:()=>j});var a=h(944),l=h.n(a),p=h(540),g=h.n(p),c=h(620),f=h.n(c),u=h(28),y=h.n(u);let{parse:x}=f();class m extends y(){constructor(){super(...arguments),this.parts=["front","top","side"],this.pathType="cuboid"}initArgs(t){let e=this.renderer,r=e[this.pathType+"Path"](t),i=r.zIndexes;for(let t of this.parts){let s={class:"highcharts-3d-"+t,zIndex:i[t]||0};e.styledMode&&("top"===t?s.filter="url(#highcharts-brighter)":"side"===t&&(s.filter="url(#highcharts-darker)")),this[t]=e.path(r[t]).attr(s).add(this)}this.attr({"stroke-linejoin":"round",zIndex:i.group}),this.forcedSides=r.forcedSides}singleSetterForParts(t,e,r,i,s,o){let n={},h=[null,null,i||"attr",s,o],d=r?.zIndexes;if(r){for(let e of(d?.group&&this.attr({zIndex:d.group}),Object.keys(r)))n[e]={},n[e][t]=r[e],d&&(n[e].zIndex=r.zIndexes[e]||0);h[1]=n}else n[t]=e,h[0]=n;return this.processParts.apply(this,h)}processParts(t,e,r,i,s){for(let o of this.parts)e&&(t=e[o]??!1),!1!==t&&this[o][r](t,i,s);return this}destroy(){return this.processParts(null,null,"destroy"),super.destroy()}attr(t,e,r,i){if("string"==typeof t&&void 0!==e){let r=t;(t={})[r]=e}return t.shapeArgs||(0,a.defined)(t.x)?this.singleSetterForParts("d",null,this.renderer[this.pathType+"Path"](t.shapeArgs||t)):super.attr(t,void 0,r,i)}animate(t,e,r){if((0,a.defined)(t.x)&&(0,a.defined)(t.y)){let i=this.renderer[this.pathType+"Path"](t),s=i.forcedSides;this.singleSetterForParts("d",null,i,"animate",e,r),this.attr({zIndex:i.zIndexes.group}),s!==this.forcedSides&&(this.forcedSides=s,this.renderer.styledMode||this.fillSetter(this.fill))}else super.animate(t,e,r);return this}fillSetter(t){return this.forcedSides=this.forcedSides||[],this.singleSetterForParts("fill",null,{front:t,top:x(t).brighten(this.forcedSides.indexOf("top")>=0?0:.1).get(),side:x(t).brighten(this.forcedSides.indexOf("side")>=0?0:-.1).get()}),this.color=this.fill=t,this}}m.types={base:m,cuboid:m};let w=m,{parse:b}=f(),{charts:S}=l(),z=class extends w{constructor(){super(...arguments),this.mainParts=["top","bottom"],this.parts=["top","bottom","frontUpper","backUpper","frontLower","backLower","rightUpper","rightLower"],this.sideGroups=["upperGroup","lowerGroup"],this.sideParts={upperGroup:["frontUpper","backUpper","rightUpper"],lowerGroup:["frontLower","backLower","rightLower"]},this.pathType="funnel3d"}opacitySetter(t){let e=parseFloat(t),r=this.parts,i=S[this.renderer.chartIndex],s="group-opacity-"+e+"-"+i.index;if(this.parts=this.mainParts,this.singleSetterForParts("opacity",e),this.parts=r,!i.renderer.filterId){for(let t of(i.renderer.definition({tagName:"filter",attributes:{id:s},children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"table",tableValues:"0 "+e}}]}]}),this.sideGroups))this[t].attr({filter:"url(#"+s+")"});if(this.renderer.styledMode)for(let t of(i.renderer.definition({tagName:"style",textContent:".highcharts-"+s+" {filter:url(#"+s+")}"}),this.sideGroups))this[t].addClass("highcharts-"+s)}return this}fillSetter(t){let e=b(t),r=e.rgba[3],i={top:b(t).brighten(.1).get(),bottom:b(t).brighten(-.2).get()};if(r<1?(e.rgba[3]=1,e=e.get("rgb"),this.attr({opacity:r})):e=t,e.linearGradient||e.radialGradient||!this.gradientForSides||(e={linearGradient:{x1:0,x2:1,y1:1,y2:1},stops:[[0,b(t).brighten(-.2).get()],[.5,t],[1,b(t).brighten(-.2).get()]]}),e.linearGradient)for(let t of this.sideGroups){let r=this[t].gradientBox,s=e.linearGradient,o=(0,a.merge)(e,{linearGradient:{x1:r.x+s.x1*r.width,y1:r.y+s.y1*r.height,x2:r.x+s.x2*r.width,y2:r.y+s.y2*r.height}});for(let e of this.sideParts[t])i[e]=o}else if((0,a.merge)(!0,i,{frontUpper:e,backUpper:e,rightUpper:e,frontLower:e,backLower:e,rightLower:e}),e.radialGradient)for(let t of this.sideGroups){let e=this[t].gradientBox,r=e.x+e.width/2,i=e.y+e.height/2,s=Math.min(e.width,e.height);for(let e of this.sideParts[t])this[e].setRadialReference([r,i,s])}if(this.singleSetterForParts("fill",null,i),this.color=this.fill=t,e.linearGradient)for(let t of[this.frontLower,this.frontUpper]){let e=t.element,r=e&&this.renderer.gradients[e.gradient];r&&"userSpaceOnUse"!==r.attr("gradientUnits")&&r.attr({gradientUnits:"userSpaceOnUse"})}return this}adjustForGradient(){let t;for(let e of this.sideGroups){let r={x:Number.MAX_VALUE,y:Number.MAX_VALUE},i={x:-Number.MAX_VALUE,y:-Number.MAX_VALUE};for(let s of this.sideParts[e])t=this[s].getBBox(!0),r={x:Math.min(r.x,t.x),y:Math.min(r.y,t.y)},i={x:Math.max(i.x,t.x+t.width),y:Math.max(i.y,t.y+t.height)};this[e].gradientBox={x:r.x,width:i.x-r.x,y:r.y,height:i.y-r.y}}}zIndexSetter(){return this.finishedOnAdd&&this.adjustForGradient(),this.renderer.Element.prototype.zIndexSetter.apply(this,arguments)}onAdd(){this.adjustForGradient(),this.finishedOnAdd=!0}},{charts:A}=l();function L(t){let e=this.element3d("funnel3d",t),r=this.styledMode,i={"stroke-width":1,stroke:"none"};for(let t of(e.upperGroup=this.g("funnel3d-upper-group").attr({zIndex:e.frontUpper.zIndex}).add(e),[e.frontUpper,e.backUpper,e.rightUpper]))r||t.attr(i),t.add(e.upperGroup);for(let t of(e.lowerGroup=this.g("funnel3d-lower-group").attr({zIndex:e.frontLower.zIndex}).add(e),[e.frontLower,e.backLower,e.rightLower]))r||t.attr(i),t.add(e.lowerGroup);return e.gradientForSides=t.gradientForSides,e}function v(t){this.getCylinderEnd||(0,a.error)("A required Highcharts module is missing: cylinder.js",!0,A[this.chartIndex]);let e=A[this.chartIndex],r=t.alphaCorrection=90-Math.abs(e.options.chart.options3d.alpha%180-90),i=this.cuboidPath.call(this,(0,a.merge)(t,{depth:t.width,width:(t.width+t.bottom.width)/2})),s=i.isTop,o=!i.isFront,n=!!t.middle,h=this.getCylinderEnd(e,(0,a.merge)(t,{x:t.x-t.width/2,z:t.z-t.width/2,alphaCorrection:r})),d=t.bottom.width,l=(0,a.merge)(t,{width:d,x:t.x-d/2,z:t.z-d/2,alphaCorrection:r}),p=this.getCylinderEnd(e,l,!0),g=d,c=l,f=p,u=p,y;n&&(g=t.middle.width,c=(0,a.merge)(t,{y:t.y+t.middle.fraction*t.height,width:g,x:t.x-g/2,z:t.z-g/2}),f=this.getCylinderEnd(e,c,!1),u=this.getCylinderEnd(e,c,!1));let x={top:h,bottom:p,frontUpper:this.getCylinderFront(h,f),zIndexes:{group:i.zIndexes.group,top:3*(0===s),bottom:3*(1===s),frontUpper:o?2:1,backUpper:o?1:2,rightUpper:o?2:1}};return x.backUpper=this.getCylinderBack(h,f),y=Math.min(g,t.width)/Math.max(g,t.width)!=1,x.rightUpper=this.getCylinderFront(this.getCylinderEnd(e,(0,a.merge)(t,{x:t.x-t.width/2,z:t.z-t.width/2,alphaCorrection:y?-r:0}),!1),this.getCylinderEnd(e,(0,a.merge)(c,{alphaCorrection:y?-r:0}),!n)),n&&(y=Math.min(g,d)/Math.max(g,d)!=1,(0,a.merge)(!0,x,{frontLower:this.getCylinderFront(u,p),backLower:this.getCylinderBack(u,p),rightLower:this.getCylinderFront(this.getCylinderEnd(e,(0,a.merge)(l,{alphaCorrection:y?-r:0}),!0),this.getCylinderEnd(e,(0,a.merge)(c,{alphaCorrection:y?-r:0}),!1)),zIndexes:{frontLower:o?2:1,backLower:o?1:2,rightLower:o?1:2}})),x}var C=h(512),G=h.n(C);let{seriesTypes:{column:P}}=G();class U extends P.prototype.pointClass{}(0,a.extend)(U.prototype,{shapeType:"funnel3d"});let{deg2rad:M}=l();function k(t,e,r,i){let s=e.options.chart.options3d,o=i??(!!r&&e.inverted),n={x:e.plotWidth/2,y:e.plotHeight/2,z:s.depth/2,vd:(s.depth??1)*(s.viewDistance??0)},h=e.scale3d||1,d=M*s.beta*(o?-1:1),a=M*s.alpha*(o?-1:1),l={cosA:Math.cos(a),cosB:Math.cos(-d),sinA:Math.sin(a),sinB:Math.sin(-d)};return r||(n.x+=e.plotLeft,n.y+=e.plotTop),t.map(function(t){var e,r,i;let s=(e=(o?t.y:t.x)-n.x,r=(o?t.x:t.y)-n.y,i=(t.z||0)-n.z,{x:l.cosB*e-l.sinB*i,y:-l.sinA*l.sinB*e+l.cosA*r-l.cosB*l.sinA*i,z:l.cosA*l.sinB*e+l.sinA*r+l.cosA*l.cosB*i}),d=F(s,n,n.vd);return d.x=d.x*h+n.x,d.y=d.y*h+n.y,d.z=s.z*h+n.z,{x:o?d.y:d.x,y:o?d.x:d.y,z:d.z}})}function F(t,e,r){let i=r>0&&r<1/0?r/(t.z+e.z+r):1;return{x:t.x*i,y:t.y*i}}function H(t){let e=0,r,i;for(r=0;r<t.length;r++)i=(r+1)%t.length,e+=t[r].x*t[i].y-t[i].x*t[r].y;return e/2}let{noop:I}=l(),{perspective:B}={perspective:k,perspective3D:F,pointCameraDistance:function(t,e){let r=e.options.chart.options3d,i={x:e.plotWidth/2,y:e.plotHeight/2,z:(r.depth??1)*(r.viewDistance??0)+r.depth};return Math.sqrt(Math.pow(i.x-(t.plotX??t.x),2)+Math.pow(i.y-(t.plotY??t.y),2)+Math.pow(i.z-(t.plotZ??t.z),2))},shapeArea:H,shapeArea3D:function(t,e,r){return H(k(t,e,r))}},{series:E,seriesTypes:{column:_}}=G();class O extends _{alignDataLabel(t,e,r){let i=t.dlBoxRaw,s=this.chart.inverted,o=t.plotY>(this.translatedThreshold??this.yAxis.len),n=r.inside??!!this.options.stacking,h={x:i.x,y:i.y,height:0};r.align=r.align??(!s||n?"center":o?"right":"left"),r.verticalAlign=r.verticalAlign??(s||n?"middle":o?"top":"bottom"),"top"!==r.verticalAlign&&(h.y+=i.bottom/("bottom"===r.verticalAlign?1:2)),h.width=this.getWidthAt(h.y),this.options.reversed&&(h.width=i.fullWidth-h.width),n?h.x-=h.width/2:"left"===r.align?(r.align="right",h.x-=1.5*h.width):"right"===r.align?(r.align="left",h.x+=h.width/2):h.x-=h.width/2,t.dlBox=h,_.prototype.alignDataLabel.apply(this,arguments)}bindAxes(){E.prototype.bindAxes.apply(this,arguments),(0,a.extend)(this.xAxis.options,{gridLineWidth:0,lineWidth:0,title:void 0,tickPositions:[]}),(0,a.merge)(!0,this.yAxis.options,{gridLineWidth:0,title:void 0,labels:{enabled:!1}})}translate(){E.prototype.translate.apply(this,arguments);let t=this.chart,e=this.options,r=e.reversed,i=e.ignoreHiddenPoint,s=t.plotWidth,o=t.plotHeight,n=e.center,h=(0,a.relativeLength)(n[0],s),d=(0,a.relativeLength)(n[1],o),l=(0,a.relativeLength)(e.width,s),p=(0,a.relativeLength)(e.height,o),g=(0,a.relativeLength)(e.neckWidth,s),c=(0,a.relativeLength)(e.neckHeight,o),f=d-p/2+p-c,u=this.points,y=0,x=0,m,w,b,S,z,A,L,v,C;for(let t of(this.getWidthAt=w=function(t){return t>f||p===c?g:g+(l-g)*(1-(t-(d-p/2))/(p-c))},this.center=[h,d,p],this.centerX=h,u))i&&!1===t.visible||(y+=t.y);for(let s of u)L=null,b=y?s.y/y:0,A=(z=d-p/2+x*p)+b*p,m=w(z),v=A-z,(C={gradientForSides:s.options.gradientForSides??e.gradientForSides,x:h,y:z,height:v,width:m,z:1,top:{width:m}}).bottom={fraction:b,width:m=w(A)},z>=f?C.isCylinder=!0:A>f&&(L=A,m=w(f),A=f,C.bottom.width=m,C.middle={fraction:v?(f-z)/v:0,width:m}),r&&(C.y=z=d+p/2-(x+b)*p,C.middle&&(C.middle.fraction=1-(v?C.middle.fraction:0)),m=C.width,C.width=C.bottom.width,C.bottom.width=m),s.shapeArgs=(0,a.extend)(s.shapeArgs,C),s.percentage=100*b,s.plotX=h,r?s.plotY=d+p/2-(x+b/2)*p:s.plotY=(z+(L||A))/2,S=B([{x:h,y:s.plotY,z:r?-(l-w(s.plotY))/2:-w(s.plotY)/2}],t,!0)[0],s.tooltipPos=[S.x,S.y],s.dlBoxRaw={x:h,width:w(s.plotY),y:z,bottom:C.height||0,fullWidth:l},i&&!1===s.visible||(x+=b)}}O.compose=function(t){let e=t.prototype;e.funnel3d||(e.Element3D.types.funnel3d=z,(0,a.extend)(e,{funnel3d:L,funnel3dPath:v}))},O.defaultOptions=(0,a.merge)(_.defaultOptions,{center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",reversed:!1,gradientForSides:!0,animation:!1,edgeWidth:0,colorByPoint:!0,showInLegend:!1,dataLabels:{align:"right",crop:!1,inside:!1,overflow:"allow"}}),(0,a.extend)(O.prototype,{pointClass:U,translate3dShapes:I}),G().registerSeriesType("funnel3d",O),O.compose(g());let j=l();return d.default})());
|
|
15
|
+
*/function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(t._Highcharts.Color,t._Highcharts.SVGElement,t._Highcharts.SVGRenderer,t._Highcharts.SeriesRegistry,t._Highcharts):"function"==typeof define&&define.amd?define("highcharts/modules/funnel3d",["highcharts/highcharts"],function(t){return e(t.Color,t.SVGElement,t.SVGRenderer,t.SeriesRegistry,t)}):"object"==typeof exports?exports["highcharts/modules/funnel3d"]=e(t._Highcharts.Color,t._Highcharts.SVGElement,t._Highcharts.SVGRenderer,t._Highcharts.SeriesRegistry,t._Highcharts):t.Highcharts=e(t.Highcharts.Color,t.Highcharts.SVGElement,t.Highcharts.SVGRenderer,t.Highcharts.SeriesRegistry,t.Highcharts)}("u"<typeof window?this:window,(t,e,r,i,s)=>(()=>{"use strict";var o={620(e){e.exports=t},28(t){t.exports=e},540(t){t.exports=r},512(t){t.exports=i},944(t){t.exports=s}};let n={};function h(t){let e=n[t];if(void 0!==e)return e.exports;let r=n[t]={exports:{}};return o[t](r,r.exports,h),r.exports}h.n=t=>{let e=t&&t.__esModule?()=>t.default:()=>t;return h.d(e,{a:e}),e},h.d=(t,e)=>{for(var r in e)h.o(e,r)&&!h.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},h.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let d={};h.d(d,{default:()=>V});var a=h(944),l=h.n(a),p=h(540),g=h.n(p),c=h(620),f=h.n(c),u=h(28),y=h.n(u);let{parse:x}=f();class m extends y(){constructor(){super(...arguments),this.parts=["front","top","side"],this.pathType="cuboid"}initArgs(t){let e=this.renderer,r=e[this.pathType+"Path"](t),i=r.zIndexes;for(let t of this.parts){let s={class:"highcharts-3d-"+t,zIndex:i[t]||0};e.styledMode&&("top"===t?s.filter="url(#highcharts-brighter)":"side"===t&&(s.filter="url(#highcharts-darker)")),this[t]=e.path(r[t]).attr(s).add(this)}this.attr({"stroke-linejoin":"round",zIndex:i.group}),this.forcedSides=r.forcedSides}singleSetterForParts(t,e,r,i,s,o){let n={},h=[null,null,i||"attr",s,o],d=r?.zIndexes;if(r){for(let e of(d?.group&&this.attr({zIndex:d.group}),Object.keys(r)))n[e]={},n[e][t]=r[e],d&&(n[e].zIndex=r.zIndexes[e]||0);h[1]=n}else n[t]=e,h[0]=n;return this.processParts.apply(this,h)}processParts(t,e,r,i,s){for(let o of this.parts)e&&(t=e[o]??!1),!1!==t&&this[o][r](t,i,s);return this}destroy(){return this.processParts(null,null,"destroy"),super.destroy()}attr(t,e,r,i){if("string"==typeof t&&void 0!==e){let r=t;(t={})[r]=e}return t.shapeArgs||(0,a.defined)(t.x)?this.singleSetterForParts("d",null,this.renderer[this.pathType+"Path"](t.shapeArgs||t)):super.attr(t,void 0,r,i)}animate(t,e,r){if((0,a.defined)(t.x)&&(0,a.defined)(t.y)){let i=this.renderer[this.pathType+"Path"](t),s=i.forcedSides;this.singleSetterForParts("d",null,i,"animate",e,r),this.attr({zIndex:i.zIndexes.group}),s!==this.forcedSides&&(this.forcedSides=s,this.renderer.styledMode||this.fillSetter(this.fill))}else super.animate(t,e,r);return this}fillSetter(t){return this.forcedSides=this.forcedSides||[],this.singleSetterForParts("fill",null,{front:t,top:x(t).brighten(this.forcedSides.indexOf("top")>=0?0:.1).get(),side:x(t).brighten(this.forcedSides.indexOf("side")>=0?0:-.1).get()}),this.color=this.fill=t,this}}m.types={base:m,cuboid:m};let w=m,{parse:b}=f(),{charts:S}=l(),z=class extends w{constructor(){super(...arguments),this.mainParts=["top","bottom"],this.parts=["top","bottom","frontUpper","backUpper","frontLower","backLower","rightUpper","rightLower"],this.sideGroups=["upperGroup","lowerGroup"],this.sideParts={upperGroup:["frontUpper","backUpper","rightUpper"],lowerGroup:["frontLower","backLower","rightLower"]},this.pathType="funnel3d"}opacitySetter(t){let e=parseFloat(t),r=this.parts,i=S[this.renderer.chartIndex],s="group-opacity-"+e+"-"+i.index;if(this.parts=this.mainParts,this.singleSetterForParts("opacity",e),this.parts=r,!i.renderer.filterId){for(let t of(i.renderer.definition({tagName:"filter",attributes:{id:s},children:[{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"table",tableValues:"0 "+e}}]}]}),this.sideGroups))this[t].attr({filter:"url(#"+s+")"});if(this.renderer.styledMode)for(let t of(i.renderer.definition({tagName:"style",textContent:".highcharts-"+s+" {filter:url(#"+s+")}"}),this.sideGroups))this[t].addClass("highcharts-"+s)}return this}fillSetter(t){let e=b(t),r=e.rgba[3],i={top:b(t).brighten(.1).get(),bottom:b(t).brighten(-.2).get()};if(r<1?(e.rgba[3]=1,e=e.get("rgb"),this.attr({opacity:r})):e=t,e.linearGradient||e.radialGradient||!this.gradientForSides||(e={linearGradient:{x1:0,x2:1,y1:1,y2:1},stops:[[0,b(t).brighten(-.2).get()],[.5,t],[1,b(t).brighten(-.2).get()]]}),e.linearGradient)for(let t of this.sideGroups){let r=this[t].gradientBox,s=e.linearGradient,o=(0,a.merge)(e,{linearGradient:{x1:r.x+s.x1*r.width,y1:r.y+s.y1*r.height,x2:r.x+s.x2*r.width,y2:r.y+s.y2*r.height}});for(let e of this.sideParts[t])i[e]=o}else if((0,a.merge)(!0,i,{frontUpper:e,backUpper:e,rightUpper:e,frontLower:e,backLower:e,rightLower:e}),e.radialGradient)for(let t of this.sideGroups){let e=this[t].gradientBox,r=e.x+e.width/2,i=e.y+e.height/2,s=Math.min(e.width,e.height);for(let e of this.sideParts[t])this[e].setRadialReference([r,i,s])}if(this.singleSetterForParts("fill",null,i),this.color=this.fill=t,e.linearGradient)for(let t of[this.frontLower,this.frontUpper]){let e=t.element,r=e&&this.renderer.gradients[e.gradient];r&&"userSpaceOnUse"!==r.attr("gradientUnits")&&r.attr({gradientUnits:"userSpaceOnUse"})}return this}adjustForGradient(){let t;for(let e of this.sideGroups){let r={x:Number.MAX_VALUE,y:Number.MAX_VALUE},i={x:-Number.MAX_VALUE,y:-Number.MAX_VALUE};for(let s of this.sideParts[e])t=this[s].getBBox(!0),r={x:Math.min(r.x,t.x),y:Math.min(r.y,t.y)},i={x:Math.max(i.x,t.x+t.width),y:Math.max(i.y,t.y+t.height)};this[e].gradientBox={x:r.x,width:i.x-r.x,y:r.y,height:i.y-r.y}}}zIndexSetter(){return this.finishedOnAdd&&this.adjustForGradient(),this.renderer.Element.prototype.zIndexSetter.apply(this,arguments)}onAdd(){this.adjustForGradient(),this.finishedOnAdd=!0}},{charts:A}=l();function L(t){let e=this.element3d("funnel3d",t),r=this.styledMode,i={"stroke-width":1,stroke:"none"};for(let t of(e.upperGroup=this.g("funnel3d-upper-group").attr({zIndex:e.frontUpper.zIndex}).add(e),[e.frontUpper,e.backUpper,e.rightUpper]))r||t.attr(i),t.add(e.upperGroup);for(let t of(e.lowerGroup=this.g("funnel3d-lower-group").attr({zIndex:e.frontLower.zIndex}).add(e),[e.frontLower,e.backLower,e.rightLower]))r||t.attr(i),t.add(e.lowerGroup);return e.gradientForSides=t.gradientForSides,e}function v(t){this.getCylinderEnd||(0,a.error)("A required Highcharts module is missing: cylinder.js",!0,A[this.chartIndex]);let e=A[this.chartIndex],r=t.alphaCorrection=90-Math.abs(e.options.chart.options3d.alpha%180-90),i=this.cuboidPath.call(this,(0,a.merge)(t,{depth:t.width,width:(t.width+t.bottom.width)/2})),s=i.isTop,o=!i.isFront,n=!!t.middle,h=this.getCylinderEnd(e,(0,a.merge)(t,{x:t.x-t.width/2,z:t.z-t.width/2,alphaCorrection:r})),d=t.bottom.width,l=(0,a.merge)(t,{width:d,x:t.x-d/2,z:t.z-d/2,alphaCorrection:r}),p=this.getCylinderEnd(e,l,!0),g=d,c=l,f=p,u=p,y;n&&(g=t.middle.width,c=(0,a.merge)(t,{y:t.y+t.middle.fraction*t.height,width:g,x:t.x-g/2,z:t.z-g/2}),f=this.getCylinderEnd(e,c,!1),u=this.getCylinderEnd(e,c,!1));let x={top:h,bottom:p,frontUpper:this.getCylinderFront(h,f),zIndexes:{group:i.zIndexes.group,top:3*(0===s),bottom:3*(1===s),frontUpper:o?2:1,backUpper:o?1:2,rightUpper:o?2:1}};return x.backUpper=this.getCylinderBack(h,f),y=Math.min(g,t.width)/Math.max(g,t.width)!=1,x.rightUpper=this.getCylinderFront(this.getCylinderEnd(e,(0,a.merge)(t,{x:t.x-t.width/2,z:t.z-t.width/2,alphaCorrection:y?-r:0}),!1),this.getCylinderEnd(e,(0,a.merge)(c,{alphaCorrection:y?-r:0}),!n)),n&&(y=Math.min(g,d)/Math.max(g,d)!=1,(0,a.merge)(!0,x,{frontLower:this.getCylinderFront(u,p),backLower:this.getCylinderBack(u,p),rightLower:this.getCylinderFront(this.getCylinderEnd(e,(0,a.merge)(l,{alphaCorrection:y?-r:0}),!0),this.getCylinderEnd(e,(0,a.merge)(c,{alphaCorrection:y?-r:0}),!1)),zIndexes:{frontLower:o?2:1,backLower:o?1:2,rightLower:o?1:2}})),x}var C=h(512),G=h.n(C);let{seriesTypes:{column:U}}=G();class M extends U.prototype.pointClass{}(0,a.extend)(M.prototype,{shapeType:"funnel3d"});let{deg2rad:P}=l();function k(t,e,r,i){let s=e.options.chart.options3d,o=i??(!!r&&e.inverted),n={x:e.plotWidth/2,y:e.plotHeight/2,z:s.depth/2,vd:(s.depth??1)*(s.viewDistance??0)},h=e.scale3d||1,d=P*s.beta*(o?-1:1),a=P*s.alpha*(o?-1:1),l={cosA:Math.cos(a),cosB:Math.cos(-d),sinA:Math.sin(a),sinB:Math.sin(-d)};return r||(n.x+=e.plotLeft,n.y+=e.plotTop),t.map(function(t){var e,r,i;let s=(e=(o?t.y:t.x)-n.x,r=(o?t.x:t.y)-n.y,i=(t.z||0)-n.z,{x:l.cosB*e-l.sinB*i,y:-l.sinA*l.sinB*e+l.cosA*r-l.cosB*l.sinA*i,z:l.cosA*l.sinB*e+l.sinA*r+l.cosA*l.cosB*i}),d=F(s,n,n.vd);return d.x=d.x*h+n.x,d.y=d.y*h+n.y,d.z=s.z*h+n.z,{x:o?d.y:d.x,y:o?d.x:d.y,z:d.z}})}function F(t,e,r){let i=r>0&&r<1/0?r/(t.z+e.z+r):1;return{x:t.x*i,y:t.y*i}}function H(t){let e=0,r,i;for(r=0;r<t.length;r++)i=(r+1)%t.length,e+=t[r].x*t[i].y-t[i].x*t[r].y;return e/2}let{noop:I}=l(),{perspective:B}={perspective:k,perspective3D:F,pointCameraDistance:function(t,e){let r=e.options.chart.options3d,i={x:e.plotWidth/2,y:e.plotHeight/2,z:(r.depth??1)*(r.viewDistance??0)+r.depth};return Math.sqrt(Math.pow(i.x-(t.plotX??t.x),2)+Math.pow(i.y-(t.plotY??t.y),2)+Math.pow(i.z-(t.plotZ??t.z),2))},shapeArea:H,shapeArea3D:function(t,e,r){return H(k(t,e,r))}},{series:E,seriesTypes:{column:_}}=G();class T extends _{alignDataLabel(t,e,r){let i=t.dlBoxRaw,s=this.chart.inverted,o=t.plotY>(this.translatedThreshold??this.yAxis.len),n=r.inside??!!this.options.stacking,h={x:i.x,y:i.y,height:0};r.align=r.align??(!s||n?"center":o?"right":"left"),r.verticalAlign=r.verticalAlign??(s||n?"middle":o?"top":"bottom"),"top"!==r.verticalAlign&&(h.y+=i.bottom/("bottom"===r.verticalAlign?1:2)),h.width=this.getWidthAt(h.y),this.options.reversed&&(h.width=i.fullWidth-h.width),n?h.x-=h.width/2:"left"===r.align?(r.align="right",h.x-=1.5*h.width):"right"===r.align?(r.align="left",h.x+=h.width/2):h.x-=h.width/2,t.dlBox=h,_.prototype.alignDataLabel.apply(this,arguments)}bindAxes(){E.prototype.bindAxes.apply(this,arguments),(0,a.extend)(this.xAxis.options,{gridLineWidth:0,lineWidth:0,title:void 0,tickPositions:[]}),(0,a.merge)(!0,this.yAxis.options,{gridLineWidth:0,title:void 0,labels:{enabled:!1}})}translate(){E.prototype.translate.apply(this,arguments);let t=this.chart,e=this.options,r=e.reversed,i=e.ignoreHiddenPoint,s=t.plotWidth,o=t.plotHeight,n=e.center,h=(0,a.relativeLength)(n[0],s),d=(0,a.relativeLength)(n[1],o),l=(0,a.relativeLength)(e.width,s),p=(0,a.relativeLength)(e.height,o),g=(0,a.relativeLength)(e.neckWidth,s),c=(0,a.relativeLength)(e.neckHeight,o),f=d-p/2+p-c,u=this.points,y=0,x=0,m,w,b,S,z,A,L,v,C;for(let t of(this.getWidthAt=w=function(t){return t>f||p===c?g:g+(l-g)*(1-(t-(d-p/2))/(p-c))},this.center=[h,d,p],this.centerX=h,u))i&&!1===t.visible||(y+=t.y);for(let s of u)L=null,b=y?s.y/y:0,A=(z=d-p/2+x*p)+b*p,m=w(z),v=A-z,(C={gradientForSides:s.options.gradientForSides??e.gradientForSides,x:h,y:z,height:v,width:m,z:1,top:{width:m}}).bottom={fraction:b,width:m=w(A)},z>=f?C.isCylinder=!0:A>f&&(L=A,m=w(f),A=f,C.bottom.width=m,C.middle={fraction:v?(f-z)/v:0,width:m}),r&&(C.y=z=d+p/2-(x+b)*p,C.middle&&(C.middle.fraction=1-(v?C.middle.fraction:0)),m=C.width,C.width=C.bottom.width,C.bottom.width=m),s.shapeArgs=(0,a.extend)(s.shapeArgs,C),s.percentage=100*b,s.plotX=h,r?s.plotY=d+p/2-(x+b/2)*p:s.plotY=(z+(L||A))/2,S=B([{x:h,y:s.plotY,z:r?-(l-w(s.plotY))/2:-w(s.plotY)/2}],t,!0)[0],s.tooltipPos=[S.x,S.y],s.dlBoxRaw={x:h,width:w(s.plotY),y:z,bottom:C.height||0,fullWidth:l},i&&!1===s.visible||(x+=b)}}T.compose=function(t){let e=t.prototype;e.funnel3d||(e.Element3D.types.funnel3d=z,(0,a.extend)(e,{funnel3d:L,funnel3dPath:v}))},T.defaultOptions=(0,a.merge)(_.defaultOptions,{center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",reversed:!1,gradientForSides:!0,animation:!1,edgeWidth:0,colorByPoint:!0,showInLegend:!1,dataLabels:{align:"right",crop:!1,inside:!1,overflow:"allow"}}),(0,a.extend)(T.prototype,{pointClass:M,translate3dShapes:I}),G().registerSeriesType("funnel3d",T),T.compose(g());let V=l();return d.default})());
|