highcharts 13.0.2 → 13.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/highcharts.css +6 -2
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +10 -6
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +2 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +25 -1
- package/es-modules/Accessibility/KeyboardNavigation.js +1 -1
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +13 -3
- package/es-modules/Core/Animation/AnimationUtilities.js +7 -2
- package/es-modules/Core/Animation/Fx.js +1 -0
- package/es-modules/Core/Axis/Axis.js +181 -211
- package/es-modules/Core/Axis/Axis3DComposition.js +13 -15
- package/es-modules/Core/Axis/AxisDefaults.js +9 -8
- package/es-modules/Core/Axis/BrokenAxis.js +5 -4
- package/es-modules/Core/Axis/Color/ColorAxis.js +66 -54
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -0
- package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +6 -4
- package/es-modules/Core/Axis/DateTimeAxis.js +4 -3
- package/es-modules/Core/Axis/GridAxis.js +17 -13
- package/es-modules/Core/Axis/LogarithmicAxis.js +4 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +3 -4
- package/es-modules/Core/Axis/OrdinalAxis.js +0 -15
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +135 -72
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +72 -124
- package/es-modules/Core/Axis/RadialAxis.js +50 -7
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -0
- package/es-modules/Core/Axis/Stacking/StackItem.js +49 -75
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +34 -22
- package/es-modules/Core/Axis/Tick.js +95 -92
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +9 -13
- package/es-modules/Core/Axis/WaterfallAxis.js +1 -1
- package/es-modules/Core/Chart/Chart.js +13 -4
- package/es-modules/Core/Chart/StockChart.js +20 -26
- package/es-modules/Core/Defaults.js +18 -0
- package/es-modules/Core/Globals.js +9 -7
- package/es-modules/Core/Pointer.js +7 -8
- package/es-modules/Core/Renderer/HTML/AST.js +18 -11
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +5 -1
- package/es-modules/Core/Renderer/SVG/SVGElement.js +1 -0
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +1 -1
- package/es-modules/Core/Renderer/SVG/Symbols.js +1 -1
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +6 -2
- package/es-modules/Core/Series/OverlappingDataLabels.js +41 -32
- package/es-modules/Core/Series/Point.js +14 -11
- package/es-modules/Core/Series/Series.js +21 -10
- package/es-modules/Core/Tooltip.js +35 -40
- package/es-modules/Data/DataCursor.js +3 -2
- package/es-modules/Data/DataTable.js +21 -2
- package/es-modules/Data/DataTableCore.js +28 -4
- package/es-modules/Data/Formula/FormulaParser.js +30 -10
- package/es-modules/Extensions/Annotations/Annotation.js +5 -7
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -1
- package/es-modules/Extensions/Boost/BoostSeries.js +4 -13
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -4
- package/es-modules/Extensions/Breadcrumbs/BreadcrumbsDefaults.js +1 -1
- package/es-modules/Extensions/Data.js +4 -2
- package/es-modules/Extensions/DragPanes/DragPanes.js +6 -9
- package/es-modules/Extensions/Drilldown/Drilldown.js +9 -4
- package/es-modules/Extensions/ExportData/ExportData.js +24 -4
- package/es-modules/Extensions/Pane/Pane.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +5 -4
- package/es-modules/Extensions/StaticScale.js +13 -11
- package/es-modules/Series/Area/AreaSeriesDefaults.js +1 -1
- package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +1 -1
- package/es-modules/Series/AreaSpline/AreaSplineSeries.js +1 -1
- package/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +1 -1
- package/es-modules/Series/Bar/BarSeries.js +1 -1
- package/es-modules/Series/Bellcurve/BellcurveSeriesDefaults.js +1 -1
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +1 -1
- package/es-modules/Series/Bubble/BubbleSeries.js +1 -1
- package/es-modules/Series/Bullet/BulletSeriesDefaults.js +1 -1
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +1 -1
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +6 -3
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesDefaults.js +2 -3
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +1 -1
- package/es-modules/Series/Contour/ContourSeriesDefaults.js +12 -14
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +1 -1
- package/es-modules/Series/Flags/FlagsPoint.js +4 -2
- package/es-modules/Series/Flags/FlagsPointOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSeries.js +8 -7
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +7 -7
- package/es-modules/Series/Flags/FlagsSeriesOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSymbols.js +5 -3
- package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +1 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +1 -1
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +1 -1
- package/es-modules/Series/HLC/HLCSeriesDefaults.js +1 -7
- package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -1
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +1 -1
- package/es-modules/Series/Histogram/HistogramSeriesDefaults.js +1 -1
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +1 -1
- package/es-modules/Series/Item/ItemSeriesDefaults.js +1 -1
- package/es-modules/Series/Line/LineSeries.js +0 -1
- package/es-modules/Series/Map/MapSeriesDefaults.js +1 -1
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +0 -1
- package/es-modules/Series/MapLine/MapLineSeriesDefaults.js +1 -1
- package/es-modules/Series/MapPoint/MapPointSeriesDefaults.js +0 -1
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +5 -5
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +0 -1
- package/es-modules/Series/PackedBubble/PackedBubbleChart.js +18 -0
- package/es-modules/Series/PackedBubble/PackedBubbleDataLabelOptions.js +12 -0
- package/es-modules/Series/PackedBubble/PackedBubbleIntegration.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +2 -2
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubblePointOptions.js +12 -0
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +20 -20
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -2
- package/es-modules/Series/PackedBubble/PackedBubbleSeriesOptions.js +12 -0
- package/es-modules/Series/ParetoSeries/ParetoPoint.js +17 -0
- package/es-modules/Series/ParetoSeries/ParetoPointOptions.js +12 -0
- package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -3
- package/es-modules/Series/ParetoSeries/ParetoSeriesDefaults.js +1 -1
- package/es-modules/Series/ParetoSeries/ParetoSeriesOptions.js +12 -0
- package/es-modules/Series/PathUtilities.js +3 -1
- package/es-modules/Series/Pictorial/PictorialPointOptions.js +12 -0
- package/es-modules/Series/Pictorial/PictorialSeries.js +5 -25
- package/es-modules/Series/Pictorial/PictorialSeriesDefaults.js +45 -0
- package/es-modules/Series/Pictorial/PictorialSeriesOptions.js +12 -0
- package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DPoint.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DSeries.js +6 -6
- package/es-modules/Series/PolarComposition.js +22 -21
- package/es-modules/Series/Polygon/PolygonPoint.js +17 -0
- package/es-modules/Series/Polygon/PolygonPointOptions.js +12 -0
- package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +1 -1
- package/es-modules/Series/Polygon/PolygonSeriesOptions.js +12 -0
- package/es-modules/Series/Pyramid/PyramidPoint.js +19 -0
- package/es-modules/Series/Pyramid/PyramidPointOptions.js +14 -0
- package/es-modules/Series/Pyramid/PyramidSeries.js +1 -1
- package/es-modules/Series/Pyramid/PyramidSeriesDefaults.js +1 -1
- package/es-modules/Series/Pyramid/PyramidSeriesOptions.js +14 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DPoint.js +19 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DPointOptions.js +14 -0
- package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +1 -1
- package/es-modules/Series/Pyramid3D/Pyramid3DSeriesOptions.js +14 -0
- package/es-modules/Series/Renko/RenkoSeriesDefaults.js +1 -2
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +6 -7
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +1 -1
- package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +1 -1
- package/es-modules/Series/Spline/SplineSeries.js +1 -1
- package/es-modules/Series/Streamgraph/StreamgraphSeriesDefaults.js +1 -1
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +1 -1
- package/es-modules/Series/TiledWebMap/TiledWebMapSeriesDefaults.js +2 -2
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +1 -1
- package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +1 -1
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +1 -1
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +1 -1
- package/es-modules/Series/Variwide/VariwideComposition.js +11 -8
- package/es-modules/Series/Vector/VectorSeriesDefaults.js +1 -1
- package/es-modules/Series/Venn/VennSeriesDefaults.js +1 -1
- package/es-modules/Series/Waterfall/WaterfallSeriesDefaults.js +1 -1
- package/es-modules/Series/Windbarb/WindbarbSeriesDefaults.js +1 -1
- package/es-modules/Shared/Utilities.js +7 -0
- package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/AD/ADIndicator.js +0 -1
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/APO/APOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/ATR/ATRIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -1
- package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +2 -2
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CCI/CCIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +0 -1
- package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +3 -3
- package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +0 -1
- package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +1 -1
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngleIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionInterceptIndicator.js +0 -1
- package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopesIndicator.js +0 -1
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +0 -1
- package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +0 -1
- package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +0 -1
- package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +0 -1
- package/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +0 -1
- package/es-modules/Stock/Indicators/ROC/ROCIndicator.js +0 -1
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +0 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -3
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +1 -1
- package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +0 -1
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -1
- package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +0 -1
- package/es-modules/Stock/Indicators/WMA/WMAIndicator.js +0 -1
- package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +0 -1
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +5 -5
- package/es-modules/Stock/Navigator/Navigator.js +1 -5
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +38 -8
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +2 -2
- package/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -3
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-autoload.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +1 -1
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/contour.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data-sorting.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/flowmap.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/renko.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/standalone-navigator.src.js +1 -1
- package/es-modules/masters/themes/adaptive.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/high-contrast.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +2 -2
- package/esm/highcharts-3d.src.js +38 -61
- package/esm/highcharts-autoload.js +2 -2
- package/esm/highcharts-autoload.src.js +18 -39
- package/esm/highcharts-gantt.js +1 -1
- package/esm/highcharts-gantt.src.js +1 -1
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +142 -120
- package/esm/highcharts.js +4 -4
- package/esm/highcharts.src.js +824 -750
- package/esm/highmaps.js +1 -1
- package/esm/highmaps.src.js +1 -1
- package/esm/highstock.js +1 -1
- package/esm/highstock.src.js +1 -1
- package/esm/i18n/fr-FR.js +2 -2
- package/esm/i18n/fr-FR.src.js +17 -38
- package/esm/i18n/nb-NO.js +2 -2
- package/esm/i18n/nb-NO.src.js +17 -38
- package/esm/i18n/zh-CN.js +2 -2
- package/esm/i18n/zh-CN.src.js +17 -38
- package/esm/indicators/acceleration-bands.js +2 -2
- package/esm/indicators/acceleration-bands.src.js +18 -39
- package/esm/indicators/accumulation-distribution.js +2 -2
- package/esm/indicators/accumulation-distribution.src.js +17 -39
- package/esm/indicators/ao.js +2 -2
- package/esm/indicators/ao.src.js +18 -39
- package/esm/indicators/apo.js +2 -2
- package/esm/indicators/apo.src.js +18 -39
- package/esm/indicators/aroon-oscillator.js +2 -2
- package/esm/indicators/aroon-oscillator.src.js +19 -40
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +18 -39
- package/esm/indicators/atr.js +2 -2
- package/esm/indicators/atr.src.js +17 -39
- package/esm/indicators/bollinger-bands.js +2 -2
- package/esm/indicators/bollinger-bands.src.js +17 -39
- package/esm/indicators/cci.js +2 -2
- package/esm/indicators/cci.src.js +17 -39
- package/esm/indicators/chaikin.js +2 -2
- package/esm/indicators/chaikin.src.js +18 -40
- package/esm/indicators/cmf.js +2 -2
- package/esm/indicators/cmf.src.js +17 -39
- package/esm/indicators/cmo.js +2 -2
- package/esm/indicators/cmo.src.js +17 -39
- package/esm/indicators/dema.js +2 -2
- package/esm/indicators/dema.src.js +18 -39
- package/esm/indicators/disparity-index.js +2 -2
- package/esm/indicators/disparity-index.src.js +20 -41
- package/esm/indicators/dmi.js +2 -2
- package/esm/indicators/dmi.src.js +20 -41
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +18 -39
- package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
- package/esm/indicators/ichimoku-kinko-hyo.src.js +18 -40
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +76 -99
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +48 -46
- package/esm/indicators/keltner-channels.js +2 -2
- package/esm/indicators/keltner-channels.src.js +18 -39
- package/esm/indicators/klinger.js +2 -2
- package/esm/indicators/klinger.src.js +17 -38
- package/esm/indicators/macd.js +2 -2
- package/esm/indicators/macd.src.js +17 -39
- package/esm/indicators/mfi.js +2 -2
- package/esm/indicators/mfi.src.js +17 -39
- package/esm/indicators/momentum.js +2 -2
- package/esm/indicators/momentum.src.js +17 -39
- package/esm/indicators/natr.js +2 -2
- package/esm/indicators/natr.src.js +17 -39
- package/esm/indicators/obv.js +2 -2
- package/esm/indicators/obv.src.js +17 -39
- package/esm/indicators/pivot-points.js +2 -2
- package/esm/indicators/pivot-points.src.js +17 -39
- package/esm/indicators/ppo.js +2 -2
- package/esm/indicators/ppo.src.js +18 -39
- package/esm/indicators/price-channel.js +2 -2
- package/esm/indicators/price-channel.src.js +18 -39
- package/esm/indicators/price-envelopes.js +2 -2
- package/esm/indicators/price-envelopes.src.js +17 -39
- package/esm/indicators/psar.js +2 -2
- package/esm/indicators/psar.src.js +17 -39
- package/esm/indicators/regressions.js +2 -2
- package/esm/indicators/regressions.src.js +17 -42
- package/esm/indicators/roc.js +2 -2
- package/esm/indicators/roc.src.js +17 -39
- package/esm/indicators/rsi.js +2 -2
- package/esm/indicators/rsi.src.js +17 -39
- package/esm/indicators/slow-stochastic.js +2 -2
- package/esm/indicators/slow-stochastic.src.js +17 -38
- package/esm/indicators/stochastic.js +2 -2
- package/esm/indicators/stochastic.src.js +20 -41
- package/esm/indicators/supertrend.js +2 -2
- package/esm/indicators/supertrend.src.js +19 -40
- package/esm/indicators/tema.js +2 -2
- package/esm/indicators/tema.src.js +18 -39
- package/esm/indicators/trendline.js +2 -2
- package/esm/indicators/trendline.src.js +17 -39
- package/esm/indicators/trix.js +2 -2
- package/esm/indicators/trix.src.js +18 -39
- package/esm/indicators/volume-by-price.js +2 -2
- package/esm/indicators/volume-by-price.src.js +18 -39
- package/esm/indicators/vwap.js +2 -2
- package/esm/indicators/vwap.src.js +17 -39
- package/esm/indicators/williams-r.js +2 -2
- package/esm/indicators/williams-r.src.js +18 -39
- package/esm/indicators/wma.js +2 -2
- package/esm/indicators/wma.src.js +17 -39
- package/esm/indicators/zigzag.js +2 -2
- package/esm/indicators/zigzag.src.js +17 -39
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +90 -76
- package/esm/modules/annotations-advanced.js +3 -3
- package/esm/modules/annotations-advanced.src.js +36 -58
- package/esm/modules/annotations.js +3 -3
- package/esm/modules/annotations.src.js +36 -58
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +18 -39
- package/esm/modules/arrow-symbols.js +3 -3
- package/esm/modules/arrow-symbols.src.js +17 -38
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +57 -63
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +56 -62
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +21 -41
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +18 -39
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +92 -96
- package/esm/modules/contour.js +3 -3
- package/esm/modules/contour.src.js +29 -52
- package/esm/modules/current-date-indicator.js +2 -2
- package/esm/modules/current-date-indicator.src.js +17 -38
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +18 -39
- package/esm/modules/data-sorting.js +2 -2
- package/esm/modules/data-sorting.src.js +18 -39
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +110 -67
- package/esm/modules/data.js +4 -4
- package/esm/modules/data.src.js +53 -48
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +52 -48
- package/esm/modules/debugger.js +2 -2
- package/esm/modules/debugger.src.js +17 -38
- package/esm/modules/dependency-wheel.js +2 -2
- package/esm/modules/dependency-wheel.src.js +17 -38
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +17 -38
- package/esm/modules/drag-panes.js +2 -2
- package/esm/modules/drag-panes.src.js +22 -46
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +17 -38
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +40 -54
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +18 -39
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +42 -43
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +26 -47
- package/esm/modules/flowmap.js +2 -2
- package/esm/modules/flowmap.src.js +17 -38
- package/esm/modules/full-screen.js +2 -2
- package/esm/modules/full-screen.src.js +17 -38
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +21 -42
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +18 -39
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +84 -104
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +18 -39
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +34 -51
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +20 -41
- package/esm/modules/heikinashi.js +2 -2
- package/esm/modules/heikinashi.src.js +18 -39
- package/esm/modules/histogram-bellcurve.js +2 -2
- package/esm/modules/histogram-bellcurve.src.js +19 -40
- package/esm/modules/hollowcandlestick.js +2 -2
- package/esm/modules/hollowcandlestick.src.js +18 -39
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +19 -40
- package/esm/modules/lollipop.js +2 -2
- package/esm/modules/lollipop.src.js +18 -39
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +64 -63
- package/esm/modules/marker-clusters.js +2 -2
- package/esm/modules/marker-clusters.src.js +49 -46
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +17 -38
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +72 -67
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +24 -45
- package/esm/modules/no-data-to-display.js +2 -2
- package/esm/modules/no-data-to-display.src.js +17 -38
- package/esm/modules/non-cartesian-zoom.js +2 -2
- package/esm/modules/non-cartesian-zoom.src.js +17 -38
- package/esm/modules/offline-exporting.js +2 -2
- package/esm/modules/offline-exporting.src.js +19 -40
- package/esm/modules/organization.js +2 -2
- package/esm/modules/organization.src.js +20 -39
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +24 -44
- package/esm/modules/pareto.js +2 -2
- package/esm/modules/pareto.src.js +21 -42
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +20 -39
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +17 -38
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +71 -65
- package/esm/modules/pointandfigure.js +2 -2
- package/esm/modules/pointandfigure.src.js +47 -44
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +17 -38
- package/esm/modules/pyramid3d.js +2 -2
- package/esm/modules/pyramid3d.src.js +18 -39
- package/esm/modules/renko.js +2 -2
- package/esm/modules/renko.src.js +18 -40
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +24 -46
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +17 -38
- package/esm/modules/series-on-point.js +2 -2
- package/esm/modules/series-on-point.src.js +47 -44
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +18 -39
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +18 -39
- package/esm/modules/static-scale.js +2 -2
- package/esm/modules/static-scale.src.js +30 -49
- package/esm/modules/stock-tools.js +2 -2
- package/esm/modules/stock-tools.src.js +29 -50
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +117 -141
- package/esm/modules/streamgraph.js +2 -2
- package/esm/modules/streamgraph.src.js +18 -39
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +38 -57
- package/esm/modules/textpath.js +2 -2
- package/esm/modules/textpath.src.js +17 -38
- package/esm/modules/tiledwebmap.js +3 -3
- package/esm/modules/tiledwebmap.src.js +19 -40
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +22 -40
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +19 -40
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +23 -42
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +47 -67
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +34 -53
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +19 -40
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +28 -46
- package/esm/modules/vector.js +2 -2
- package/esm/modules/vector.src.js +18 -39
- package/esm/modules/venn.js +2 -2
- package/esm/modules/venn.src.js +18 -39
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +18 -39
- package/esm/modules/wordcloud.js +2 -2
- package/esm/modules/wordcloud.src.js +18 -39
- package/esm/modules/xrange.js +2 -2
- package/esm/modules/xrange.src.js +18 -39
- package/esm/standalone-navigator.js +4 -4
- package/esm/standalone-navigator.src.js +876 -776
- package/esm/themes/adaptive.js +2 -2
- package/esm/themes/adaptive.src.js +17 -38
- package/esm/themes/avocado.js +2 -2
- package/esm/themes/avocado.src.js +17 -38
- package/esm/themes/dark-unica.js +2 -2
- package/esm/themes/dark-unica.src.js +17 -38
- package/esm/themes/grid-light.js +2 -2
- package/esm/themes/grid-light.src.js +17 -38
- package/esm/themes/high-contrast.js +2 -2
- package/esm/themes/high-contrast.src.js +17 -38
- package/esm/themes/sand-signika.js +2 -2
- package/esm/themes/sand-signika.src.js +17 -38
- package/esm/themes/sunset.js +2 -2
- package/esm/themes/sunset.src.js +17 -38
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +43 -66
- package/highcharts-autoload.d.ts +0 -1
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +0 -1
- package/highcharts-autoload.src.js +833 -778
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +895 -839
- package/highcharts-more.d.ts +10 -0
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.d.ts +10 -0
- package/highcharts-more.src.js +147 -125
- package/highcharts.d.ts +2785 -80144
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +2785 -80144
- package/highcharts.src.js +832 -777
- package/highmaps.js +4 -4
- package/highmaps.src.js +915 -845
- package/highstock.js +4 -4
- package/highstock.src.js +903 -874
- package/i18n/fr-FR.js +2 -2
- package/i18n/fr-FR.src.js +26 -37
- package/i18n/nb-NO.js +2 -2
- package/i18n/nb-NO.src.js +26 -37
- package/i18n/zh-CN.js +2 -2
- package/i18n/zh-CN.src.js +26 -37
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +23 -44
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +22 -44
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +23 -44
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +23 -44
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +24 -45
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +23 -44
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +22 -44
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +22 -44
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +22 -44
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +23 -45
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +22 -44
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +22 -44
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +23 -44
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +25 -46
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +25 -46
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +23 -44
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +23 -45
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +81 -104
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +53 -51
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +23 -44
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +22 -43
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +22 -44
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +22 -44
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +22 -44
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +22 -44
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +22 -44
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +22 -44
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +23 -44
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +23 -44
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +22 -44
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +22 -44
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +22 -47
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +22 -44
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +22 -44
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +22 -43
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +25 -46
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +24 -45
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +23 -44
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +22 -44
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +23 -44
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +23 -44
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +22 -44
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +23 -44
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +22 -44
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +22 -44
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +95 -81
- package/modules/annotations-advanced.js +9 -9
- package/modules/annotations-advanced.src.js +41 -63
- package/modules/annotations.js +3 -3
- package/modules/annotations.src.js +41 -63
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +23 -44
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +17 -38
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +62 -68
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +61 -67
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +26 -46
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +23 -44
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +97 -101
- package/modules/contour.js +5 -5
- package/modules/contour.src.js +111 -117
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +17 -38
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +23 -44
- package/modules/data-sorting.js +2 -2
- package/modules/data-sorting.src.js +18 -39
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +110 -67
- package/modules/data.js +4 -4
- package/modules/data.src.js +58 -53
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +57 -53
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +17 -38
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.js +22 -43
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +22 -43
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +22 -46
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +17 -38
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +45 -59
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +23 -44
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +47 -48
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +31 -52
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +22 -43
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +22 -43
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +26 -47
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +23 -44
- package/modules/gantt.js +8 -8
- package/modules/gantt.src.js +93 -113
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.js +23 -44
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +39 -56
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.js +101 -105
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +23 -44
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +24 -45
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +23 -44
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +24 -45
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +23 -44
- package/modules/map.js +4 -4
- package/modules/map.src.js +146 -128
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +49 -46
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +17 -38
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +77 -72
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +29 -50
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +22 -43
- package/modules/non-cartesian-zoom.js +2 -2
- package/modules/non-cartesian-zoom.src.js +17 -38
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +24 -45
- package/modules/organization.js +3 -3
- package/modules/organization.src.js +25 -44
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +29 -49
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +26 -47
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +25 -44
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +17 -38
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +76 -70
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +52 -49
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +17 -38
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +23 -44
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +23 -45
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +29 -51
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +22 -43
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +52 -49
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +23 -44
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +23 -44
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +30 -49
- package/modules/stock-tools.js +2 -2
- package/modules/stock-tools.src.js +34 -55
- package/modules/stock.js +6 -6
- package/modules/stock.src.js +132 -154
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +23 -44
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +43 -62
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +17 -38
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +24 -45
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +27 -45
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +24 -45
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +28 -47
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +52 -72
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +39 -58
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +24 -45
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +33 -51
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +23 -44
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +23 -44
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +23 -44
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +23 -44
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +23 -44
- package/options/abands.d.ts +183 -8
- package/options/abands.src.d.ts +183 -8
- package/options/ad.d.ts +176 -5
- package/options/ad.src.d.ts +176 -5
- package/options/ao.d.ts +202 -0
- package/options/ao.src.d.ts +202 -0
- package/options/apo.d.ts +178 -8
- package/options/apo.src.d.ts +178 -8
- package/options/arcdiagram.d.ts +785 -0
- package/options/arcdiagram.src.d.ts +785 -0
- package/options/area.d.ts +226 -0
- package/options/area.src.d.ts +226 -0
- package/options/arearange.d.ts +229 -8
- package/options/arearange.src.d.ts +229 -8
- package/options/areaspline.d.ts +1344 -8
- package/options/areaspline.src.d.ts +1344 -8
- package/options/areasplinerange.d.ts +972 -8
- package/options/areasplinerange.src.d.ts +972 -8
- package/options/aroon.d.ts +219 -0
- package/options/aroon.src.d.ts +219 -0
- package/options/aroonoscillator.d.ts +1140 -8
- package/options/aroonoscillator.src.d.ts +1140 -8
- package/options/atr.d.ts +210 -0
- package/options/atr.src.d.ts +210 -0
- package/options/bar.d.ts +183 -10
- package/options/bar.src.d.ts +183 -10
- package/options/bb.d.ts +1232 -0
- package/options/bb.src.d.ts +1232 -0
- package/options/bellcurve.d.ts +1167 -8
- package/options/bellcurve.src.d.ts +1167 -8
- package/options/boxplot.d.ts +163 -10
- package/options/boxplot.src.d.ts +163 -10
- package/options/bubble.d.ts +1005 -8
- package/options/bubble.src.d.ts +1005 -8
- package/options/bullet.d.ts +953 -8
- package/options/bullet.src.d.ts +953 -8
- package/options/candlestick.d.ts +1309 -8
- package/options/candlestick.src.d.ts +1309 -8
- package/options/cci.d.ts +210 -0
- package/options/cci.src.d.ts +210 -0
- package/options/chaikin.d.ts +180 -8
- package/options/chaikin.src.d.ts +180 -8
- package/options/cmf.d.ts +211 -0
- package/options/cmf.src.d.ts +211 -0
- package/options/cmo.d.ts +175 -5
- package/options/cmo.src.d.ts +175 -5
- package/options/column.d.ts +252 -2
- package/options/column.src.d.ts +252 -2
- package/options/columnpyramid.d.ts +1296 -0
- package/options/columnpyramid.src.d.ts +1296 -0
- package/options/columnrange.d.ts +216 -2
- package/options/columnrange.src.d.ts +216 -2
- package/options/contour.d.ts +1148 -0
- package/options/contour.src.d.ts +1148 -0
- package/options/cylinder.d.ts +183 -2
- package/options/cylinder.src.d.ts +183 -2
- package/options/dema.d.ts +1181 -0
- package/options/dema.src.d.ts +1181 -0
- package/options/dependencywheel.d.ts +315 -0
- package/options/dependencywheel.src.d.ts +315 -0
- package/options/disparityindex.d.ts +1157 -8
- package/options/disparityindex.src.d.ts +1157 -8
- package/options/dmi.d.ts +1227 -0
- package/options/dmi.src.d.ts +1227 -0
- package/options/dpo.d.ts +1140 -8
- package/options/dpo.src.d.ts +1140 -8
- package/options/dumbbell.d.ts +286 -0
- package/options/dumbbell.src.d.ts +286 -0
- package/options/ema.d.ts +1156 -5
- package/options/ema.src.d.ts +1156 -5
- package/options/errorbar.d.ts +1286 -0
- package/options/errorbar.src.d.ts +1286 -0
- package/options/flags.d.ts +1269 -8
- package/options/flags.src.d.ts +1269 -8
- package/options/flowmap.d.ts +551 -0
- package/options/flowmap.src.d.ts +551 -0
- package/options/funnel.d.ts +728 -10
- package/options/funnel.src.d.ts +728 -10
- package/options/gantt.d.ts +1011 -0
- package/options/gantt.src.d.ts +1011 -0
- package/options/gauge.d.ts +675 -0
- package/options/gauge.src.d.ts +675 -0
- package/options/geoheatmap.d.ts +585 -8
- package/options/geoheatmap.src.d.ts +585 -8
- package/options/heatmap.d.ts +1054 -8
- package/options/heatmap.src.d.ts +1054 -8
- package/options/heikinashi.d.ts +178 -10
- package/options/heikinashi.src.d.ts +178 -10
- package/options/histogram.d.ts +1226 -0
- package/options/histogram.src.d.ts +1226 -0
- package/options/hlc.d.ts +223 -2
- package/options/hlc.src.d.ts +223 -2
- package/options/hollowcandlestick.d.ts +1335 -0
- package/options/hollowcandlestick.src.d.ts +1335 -0
- package/options/ikh.d.ts +228 -5
- package/options/ikh.src.d.ts +228 -5
- package/options/item.d.ts +217 -8
- package/options/item.src.d.ts +217 -8
- package/options/keltnerchannels.d.ts +1220 -0
- package/options/keltnerchannels.src.d.ts +1220 -0
- package/options/klinger.d.ts +1162 -0
- package/options/klinger.src.d.ts +1162 -0
- package/options/line.d.ts +1377 -8
- package/options/line.src.d.ts +1377 -8
- package/options/linearregression.d.ts +199 -5
- package/options/linearregression.src.d.ts +199 -5
- package/options/linearregressionangle.d.ts +1157 -5
- package/options/linearregressionangle.src.d.ts +1157 -5
- package/options/linearregressionintercept.d.ts +240 -0
- package/options/linearregressionintercept.src.d.ts +240 -0
- package/options/linearregressionslope.d.ts +240 -0
- package/options/linearregressionslope.src.d.ts +240 -0
- package/options/lollipop.d.ts +949 -0
- package/options/lollipop.src.d.ts +949 -0
- package/options/macd.d.ts +254 -0
- package/options/macd.src.d.ts +254 -0
- package/options/map.d.ts +150 -8
- package/options/map.src.d.ts +150 -8
- package/options/mapbubble.d.ts +1016 -8
- package/options/mapbubble.src.d.ts +1016 -8
- package/options/mapline.d.ts +994 -0
- package/options/mapline.src.d.ts +994 -0
- package/options/mappoint.d.ts +1105 -1
- package/options/mappoint.src.d.ts +1105 -1
- package/options/mfi.d.ts +181 -5
- package/options/mfi.src.d.ts +181 -5
- package/options/momentum.d.ts +215 -0
- package/options/momentum.src.d.ts +215 -0
- package/options/natr.d.ts +170 -5
- package/options/natr.src.d.ts +170 -5
- package/options/networkgraph.d.ts +365 -0
- package/options/networkgraph.src.d.ts +365 -0
- package/options/obv.d.ts +170 -5
- package/options/obv.src.d.ts +170 -5
- package/options/ohlc.d.ts +183 -7
- package/options/ohlc.src.d.ts +183 -7
- package/options/organization.d.ts +808 -0
- package/options/organization.src.d.ts +808 -0
- package/options/packedbubble.d.ts +877 -8
- package/options/packedbubble.src.d.ts +877 -8
- package/options/pareto.d.ts +1028 -0
- package/options/pareto.src.d.ts +1028 -0
- package/options/pc.d.ts +183 -8
- package/options/pc.src.d.ts +183 -8
- package/options/pictorial.d.ts +202 -2
- package/options/pictorial.src.d.ts +202 -2
- package/options/pie.d.ts +196 -8
- package/options/pie.src.d.ts +196 -8
- package/options/pivotpoints.d.ts +1199 -0
- package/options/pivotpoints.src.d.ts +1199 -0
- package/options/pointandfigure.d.ts +980 -0
- package/options/pointandfigure.src.d.ts +980 -0
- package/options/polygon.d.ts +234 -0
- package/options/polygon.src.d.ts +234 -0
- package/options/ppo.d.ts +1156 -8
- package/options/ppo.src.d.ts +1156 -8
- package/options/priceenvelopes.d.ts +1229 -0
- package/options/priceenvelopes.src.d.ts +1229 -0
- package/options/psar.d.ts +1156 -5
- package/options/psar.src.d.ts +1156 -5
- package/options/pyramid.d.ts +837 -2
- package/options/pyramid.src.d.ts +837 -2
- package/options/renko.d.ts +247 -10
- package/options/renko.src.d.ts +247 -10
- package/options/roc.d.ts +1215 -0
- package/options/roc.src.d.ts +1215 -0
- package/options/rsi.d.ts +1157 -5
- package/options/rsi.src.d.ts +1157 -5
- package/options/sankey.d.ts +276 -8
- package/options/sankey.src.d.ts +276 -8
- package/options/scatter.d.ts +3043 -1018
- package/options/scatter.src.d.ts +3043 -1018
- package/options/series.d.ts +175 -0
- package/options/series.src.d.ts +175 -0
- package/options/slowstochastic.d.ts +183 -0
- package/options/slowstochastic.src.d.ts +183 -0
- package/options/sma.d.ts +211 -0
- package/options/sma.src.d.ts +211 -0
- package/options/solidgauge.d.ts +218 -0
- package/options/solidgauge.src.d.ts +218 -0
- package/options/spline.d.ts +230 -0
- package/options/spline.src.d.ts +230 -0
- package/options/stochastic.d.ts +1170 -8
- package/options/stochastic.src.d.ts +1170 -8
- package/options/streamgraph.d.ts +1345 -8
- package/options/streamgraph.src.d.ts +1345 -8
- package/options/sunburst.d.ts +286 -9
- package/options/sunburst.src.d.ts +286 -9
- package/options/supertrend.d.ts +1208 -0
- package/options/supertrend.src.d.ts +1208 -0
- package/options/tema.d.ts +1140 -8
- package/options/tema.src.d.ts +1140 -8
- package/options/tiledwebmap.d.ts +164 -0
- package/options/tiledwebmap.src.d.ts +164 -0
- package/options/tilemap.d.ts +687 -0
- package/options/tilemap.src.d.ts +687 -0
- package/options/timeline.d.ts +282 -0
- package/options/timeline.src.d.ts +282 -0
- package/options/treegraph.d.ts +982 -0
- package/options/treegraph.src.d.ts +982 -0
- package/options/treemap.d.ts +1396 -22
- package/options/treemap.src.d.ts +1396 -22
- package/options/trendline.d.ts +211 -0
- package/options/trendline.src.d.ts +211 -0
- package/options/trix.d.ts +178 -8
- package/options/trix.src.d.ts +178 -8
- package/options/variablepie.d.ts +686 -8
- package/options/variablepie.src.d.ts +686 -8
- package/options/variwide.d.ts +178 -2
- package/options/variwide.src.d.ts +178 -2
- package/options/vbp.d.ts +576 -0
- package/options/vbp.src.d.ts +576 -0
- package/options/vector.d.ts +660 -0
- package/options/vector.src.d.ts +660 -0
- package/options/venn.d.ts +654 -0
- package/options/venn.src.d.ts +654 -0
- package/options/vwap.d.ts +1157 -5
- package/options/vwap.src.d.ts +1157 -5
- package/options/waterfall.d.ts +1254 -8
- package/options/waterfall.src.d.ts +1254 -8
- package/options/williamsr.d.ts +209 -0
- package/options/williamsr.src.d.ts +209 -0
- package/options/windbarb.d.ts +222 -2
- package/options/windbarb.src.d.ts +222 -2
- package/options/wma.d.ts +1156 -5
- package/options/wma.src.d.ts +1156 -5
- package/options/wordcloud.d.ts +682 -0
- package/options/wordcloud.src.d.ts +682 -0
- package/options/xrange.d.ts +1168 -0
- package/options/xrange.src.d.ts +1168 -0
- package/options/zigzag.d.ts +1197 -0
- package/options/zigzag.src.d.ts +1197 -0
- package/package.json +1 -1
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +884 -803
- package/themes/adaptive.js +2 -2
- package/themes/adaptive.src.js +22 -43
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +17 -38
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +17 -38
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +17 -38
- package/themes/high-contrast.js +2 -2
- package/themes/high-contrast.src.js +17 -38
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +17 -38
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +17 -38
|
@@ -1,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/broken-axis
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -16,48 +16,27 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
16
16
|
/******/
|
|
17
17
|
/************************************************************************/
|
|
18
18
|
/******/ /* webpack/runtime/compat get default export */
|
|
19
|
-
/******/
|
|
20
|
-
/******/
|
|
21
|
-
/******/
|
|
22
|
-
/******/
|
|
23
|
-
/******/
|
|
24
|
-
/******/
|
|
25
|
-
/******/
|
|
26
|
-
/******/
|
|
27
|
-
/******/ };
|
|
28
|
-
/******/ })();
|
|
19
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
20
|
+
/******/ __webpack_require__.n = (module) => {
|
|
21
|
+
/******/ const getter = module && module.__esModule ?
|
|
22
|
+
/******/ () => (module['default']) :
|
|
23
|
+
/******/ () => (module);
|
|
24
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
25
|
+
/******/ return getter;
|
|
26
|
+
/******/ };
|
|
29
27
|
/******/
|
|
30
28
|
/******/ /* webpack/runtime/define property getters */
|
|
31
|
-
/******/
|
|
32
|
-
/******/
|
|
33
|
-
/******/
|
|
34
|
-
/******/ if(
|
|
35
|
-
/******/
|
|
36
|
-
/******/ while(i < definition.length) {
|
|
37
|
-
/******/ var key = definition[i++];
|
|
38
|
-
/******/ var binding = definition[i++];
|
|
39
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
40
|
-
/******/ if(binding === 0) {
|
|
41
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
42
|
-
/******/ } else {
|
|
43
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
44
|
-
/******/ }
|
|
45
|
-
/******/ } else if(binding === 0) { i++; }
|
|
46
|
-
/******/ }
|
|
47
|
-
/******/ } else {
|
|
48
|
-
/******/ for(var key in definition) {
|
|
49
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
50
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
51
|
-
/******/ }
|
|
52
|
-
/******/ }
|
|
29
|
+
/******/ // define getter/value functions for harmony exports
|
|
30
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
31
|
+
/******/ for(var key in definition) {
|
|
32
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
33
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
53
34
|
/******/ }
|
|
54
|
-
/******/ }
|
|
55
|
-
/******/ }
|
|
35
|
+
/******/ }
|
|
36
|
+
/******/ };
|
|
56
37
|
/******/
|
|
57
38
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
58
|
-
/******/ (
|
|
59
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
60
|
-
/******/ })();
|
|
39
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
61
40
|
/******/
|
|
62
41
|
/************************************************************************/
|
|
63
42
|
|
|
@@ -81,6 +60,8 @@ var external_highcharts_src_js_default_StackItem_default = /*#__PURE__*/__webpac
|
|
|
81
60
|
* */
|
|
82
61
|
|
|
83
62
|
|
|
63
|
+
const { composed } = (external_highcharts_src_js_default_default());
|
|
64
|
+
|
|
84
65
|
|
|
85
66
|
/* *
|
|
86
67
|
*
|
|
@@ -108,8 +89,7 @@ var BrokenAxis;
|
|
|
108
89
|
* @internal
|
|
109
90
|
*/
|
|
110
91
|
function compose(AxisClass, SeriesClass) {
|
|
111
|
-
if (
|
|
112
|
-
AxisClass.keepProps.push('brokenAxis');
|
|
92
|
+
if ((0,external_highcharts_src_js_default_namespaceObject.pushUnique)(composed, 'Axis.Broken')) {
|
|
113
93
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(AxisClass, 'init', onAxisInit);
|
|
114
94
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(AxisClass, 'afterInit', onAxisAfterInit);
|
|
115
95
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(AxisClass, 'afterSetTickPositions', onAxisAfterSetTickPositions);
|
|
@@ -327,7 +307,7 @@ var BrokenAxis;
|
|
|
327
307
|
});
|
|
328
308
|
// For stacked chart generate empty stack items, #6546
|
|
329
309
|
if (yAxis.stacking && this.options.stacking) {
|
|
330
|
-
stack = yAxis.stacking.stacks[this.stackKey][xRange] = new (external_highcharts_src_js_default_StackItem_default())(yAxis,
|
|
310
|
+
stack = yAxis.stacking.stacks[this.stackKey][xRange] = new (external_highcharts_src_js_default_StackItem_default())(yAxis, false, xRange, this.stack ?? '');
|
|
331
311
|
stack.total = 0;
|
|
332
312
|
}
|
|
333
313
|
}
|
package/esm/modules/bullet.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/bullet
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
*
|
|
11
11
|
* A commercial license may be required depending on use,
|
|
12
12
|
* see www.highcharts.com/license
|
|
13
|
-
*/import*as t from"../highcharts.js";let e={};e.n=t=>{let r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{
|
|
13
|
+
*/import*as t from"../highcharts.js";let e={};e.n=t=>{let r=t&&t.__esModule?()=>t.default:()=>t;return e.d(r,{a:r}),r},e.d=(t,r)=>{for(var a in r)e.o(r,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:r[a]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let r=t.default;var a=e.n(r);let i=t.default.Series.types.column;var s=e.n(i);class o extends s().prototype.pointClass{destroy(){this.targetGraphic&&(this.targetGraphic=this.targetGraphic.destroy()),super.destroy.apply(this,arguments)}}let l=t.default.SeriesRegistry;var n=e.n(l);class p extends s(){drawPoints(){let t=this.chart,e=this.options,a=e.animationLimit||250;for(let i of(super.drawPoints.apply(this,arguments),this.points)){let s=i.options,o=i.target,l=i.y,n,p=i.targetGraphic,d,h,g,c;if((0,r.isNumber)(o)&&null!==o){h=(g=(0,r.merge)(e.targetOptions,s.targetOptions)).height;let u=i.shapeArgs;i.dlBox&&u&&!(0,r.isNumber)(u.width)&&(u=i.dlBox),d=(0,r.relativeLength)(g.width,u.width),c=this.yAxis.translate(o,!1,!0,!1,!0)-g.height/2-.5,n=this.crispCol.apply({chart:t,borderWidth:g.borderWidth,options:{crisp:e.crisp}},[u.x+u.width/2-d/2,c,d,h]),p?(p[t.pointCount<a?"animate":"attr"](n),(0,r.isNumber)(l)&&null!==l?p.element.point=i:p.element.point=void 0):i.targetGraphic=p=t.renderer.rect().attr(n).add(this.group),t.styledMode||p.attr({fill:g.color??s.color??(this.zones.length&&(i.getZone?.call({series:this,x:i.x,y:o,options:{}})?.color||this.color)||void 0)??i.color??this.color,stroke:g.borderColor??i.borderColor??this.options.borderColor,"stroke-width":g.borderWidth,r:g.borderRadius}),(0,r.isNumber)(l)&&null!==l&&(p.element.point=i),p.addClass(i.getClassName()+" highcharts-bullet-target",!0)}else p&&(i.targetGraphic=p.destroy())}}getExtremes(t){let e=super.getExtremes.call(this,t),a=this.targetData;if(a&&a.length){let t=super.getExtremes.call(this,a);(0,r.isNumber)(t.dataMin)&&(e.dataMin=Math.min(e.dataMin??1/0,t.dataMin)),(0,r.isNumber)(t.dataMax)&&(e.dataMax=Math.max(e.dataMax??-1/0,t.dataMax))}return e}}p.defaultOptions=(0,r.merge)(s().defaultOptions,{targetOptions:{width:"140%",height:3,borderWidth:0,borderRadius:0},tooltip:{pointFormat:'<span style="color:{series.color}">●</span> {series.name}: <b>{point.y}</b>. Target: <b>{point.target}</b><br/>'}}),(0,r.extend)(p.prototype,{parallelArrays:["x","y","target"],pointArrayMap:["y","target"]}),p.prototype.pointClass=o,n().registerSeriesType("bullet",p);let d=a();export{d as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts JS v13.0
|
|
3
|
+
* @license Highcharts JS v13.1.0 (2026-09-18)
|
|
4
4
|
* @module highcharts/modules/bullet
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -18,48 +18,27 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
18
18
|
/******/
|
|
19
19
|
/************************************************************************/
|
|
20
20
|
/******/ /* webpack/runtime/compat get default export */
|
|
21
|
-
/******/
|
|
22
|
-
/******/
|
|
23
|
-
/******/
|
|
24
|
-
/******/
|
|
25
|
-
/******/
|
|
26
|
-
/******/
|
|
27
|
-
/******/
|
|
28
|
-
/******/
|
|
29
|
-
/******/ };
|
|
30
|
-
/******/ })();
|
|
21
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
22
|
+
/******/ __webpack_require__.n = (module) => {
|
|
23
|
+
/******/ const getter = module && module.__esModule ?
|
|
24
|
+
/******/ () => (module['default']) :
|
|
25
|
+
/******/ () => (module);
|
|
26
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
27
|
+
/******/ return getter;
|
|
28
|
+
/******/ };
|
|
31
29
|
/******/
|
|
32
30
|
/******/ /* webpack/runtime/define property getters */
|
|
33
|
-
/******/
|
|
34
|
-
/******/
|
|
35
|
-
/******/
|
|
36
|
-
/******/ if(
|
|
37
|
-
/******/
|
|
38
|
-
/******/ while(i < definition.length) {
|
|
39
|
-
/******/ var key = definition[i++];
|
|
40
|
-
/******/ var binding = definition[i++];
|
|
41
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
42
|
-
/******/ if(binding === 0) {
|
|
43
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
44
|
-
/******/ } else {
|
|
45
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
46
|
-
/******/ }
|
|
47
|
-
/******/ } else if(binding === 0) { i++; }
|
|
48
|
-
/******/ }
|
|
49
|
-
/******/ } else {
|
|
50
|
-
/******/ for(var key in definition) {
|
|
51
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
52
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
53
|
-
/******/ }
|
|
54
|
-
/******/ }
|
|
31
|
+
/******/ // define getter/value functions for harmony exports
|
|
32
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
33
|
+
/******/ for(var key in definition) {
|
|
34
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
35
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
55
36
|
/******/ }
|
|
56
|
-
/******/ }
|
|
57
|
-
/******/ }
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/ };
|
|
58
39
|
/******/
|
|
59
40
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
60
|
-
/******/ (
|
|
61
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
62
|
-
/******/ })();
|
|
41
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
63
42
|
/******/
|
|
64
43
|
/************************************************************************/
|
|
65
44
|
|
|
@@ -215,7 +194,7 @@ const BulletSeriesDefaults = {
|
|
|
215
194
|
* @extends series,plotOptions.bullet
|
|
216
195
|
* @since 6.0.0
|
|
217
196
|
* @product highcharts
|
|
218
|
-
* @excluding
|
|
197
|
+
* @excluding marker, boostThreshold,
|
|
219
198
|
* boostBlending
|
|
220
199
|
* @requires modules/bullet
|
|
221
200
|
* @apioption series.bullet
|
package/esm/modules/coloraxis.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/color-axis
|
|
4
4
|
* @requires highcharts
|
|
5
5
|
*
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
*
|
|
11
11
|
* A commercial license may be required depending on use,
|
|
12
12
|
* see www.highcharts.com/license
|
|
13
|
-
*/import*as t from"../highcharts.js";let e={};e.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{if(Array.isArray(i))for(var s=0;s<i.length;){var o=i[s++],l=i[s++];e.o(t,o)?0===l&&s++:0===l?Object.defineProperty(t,o,{enumerable:!0,value:i[s++]}):Object.defineProperty(t,o,{enumerable:!0,get:l})}else for(var o in i)e.o(i,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:i[o]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=t.default;var s,o,l,r=e.n(i);let a=t.default.Axis;var h=e.n(a);let n=t.default.Color;var d=e.n(n);let{parse:c}=d();(s=o||(o={})).initDataClasses=function(t){let e=this.chart,s=this.legendItem=this.legendItem||{},o=this.options,l=t.dataClasses||[],r,a,h=e.options.chart.colorCount,n=0,d;this.dataClasses=a=[],s.labels=[];for(let t=0,s=l.length;t<s;++t)r=l[t],r=(0,i.merge)(r),a.push(r),(e.styledMode||!r.color)&&("category"===o.dataClassColor?(e.styledMode||(h=(d=e.options.colors||[]).length,r.color=d[n]),r.colorIndex=n,++n===h&&(n=0)):r.color=c(o.minColor).tweenTo(c(o.maxColor),s<2?.5:t/(s-1)))},s.initStops=function(){let t=this.options,e=this.stops=t.stops||[[0,t.minColor||""],[1,t.maxColor||""]];for(let t=0,i=e.length;t<i;++t)e[t].color=c(e[t][1])},s.normalizedValue=function(t){let e=this.max||0,i=this.min||0;return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(e-t)/(e-i||1)},s.toColor=function(t,e){let i,s,o,l,r,a,h=this.dataClasses,n=this.stops;if(h){for(a=h.length;a--;)if(s=(r=h[a]).from,o=r.to,(void 0===s||t>=s)&&(void 0===o||t<=o)){l=r.color,e&&(e.dataClass=a,e.colorIndex=r.colorIndex);break}}else{for(i=this.normalizedValue(t),a=n.length;a--&&!(i>n[a][0]););s=n[a]||n[a+1],i=1-((o=n[a+1]||s)[0]-i)/(o[0]-s[0]||1),l=s.color.tweenTo(o.color,i)}return l};let p=o,{parse:g}=d();!function(t){let e;function s(){let{userOptions:t}=this;this.colorAxis=[],t.colorAxis&&(t.colorAxis=(0,i.splat)(t.colorAxis),t.colorAxis.map(t=>new e(this,t)))}function o(t){let e=this.chart.colorAxis||[],i=e=>{let i=t.allItems.indexOf(e);-1!==i&&(this.destroyItem(t.allItems[i]),t.allItems.splice(i,1))},s=[],o,l;for(e.forEach(function(t){o=t.options,o?.showInLegend&&(o.dataClasses&&o.visible?s=s.concat(t.getDataClassLegendSymbols()):o.visible&&s.push(t),t.series.forEach(function(t){(!t.options.showInLegend||o.dataClasses)&&("point"===t.options.legendType?t.points.forEach(function(t){i(t)}):i(t))}))}),l=s.length;l--;)t.allItems.unshift(s[l])}function l(t){t.visible&&t.item.legendColor&&t.item.legendItem.symbol.attr({fill:t.item.legendColor})}function r(t){this.chart.colorAxis?.forEach(e=>{e.update({},t.redraw)})}function a(){(this.chart.colorAxis?.length||this.colorAttribs)&&this.translateColors()}function h(){let t=this.axisTypes;t?-1===t.indexOf("colorAxis")&&t.push("colorAxis"):this.axisTypes=["colorAxis"]}function n(t){let e=this,i=t?"show":"hide";e.visible=e.options.visible=!!t,["graphic","dataLabel"].forEach(function(t){e[t]&&e[t][i]()}),this.series.buildKDTree()}function d(){let t=this,e=this.getPointsCollection(),i=this.options.nullColor,s=this.colorAxis,o=this.colorKey;e.forEach(e=>{let l=e.getNestedProperty(o),r=e.options.color||(e.isNull||null===e.value?i:s&&void 0!==l?s.toColor(l,e):e.color||t.color);r&&e.color!==r&&(e.color=r,"point"===t.options.legendType&&e.legendItem&&e.legendItem.label&&t.chart.legend.colorizeItem(e,e.visible))})}function c(){this.elem.attr("fill",g(this.start).tweenTo(g(this.end),this.pos),void 0,!0)}function p(){this.elem.attr("stroke",g(this.start).tweenTo(g(this.end),this.pos),void 0,!0)}t.compose=function(t,g,f,u,m){var x;let y,b=g.prototype,C=f.prototype,v=m.prototype;b.collectionsWithUpdate.includes("colorAxis")||(e=t,b.collectionsWithUpdate.push("colorAxis"),b.collectionsWithInit.colorAxis=[b.addColorAxis],(0,i.addEvent)(g,"afterCreateAxes",s),y=(x=g).prototype.createAxis,x.prototype.createAxis=function(t,s){if("colorAxis"!==t)return y.apply(this,arguments);let o=new e(this,(0,i.merge)(s.axis,{index:this[t].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(t=>{t.series=[]}),this.series.forEach(t=>{t.bindAxes(),t.isDirtyData=!0}),(s.redraw??!0)&&this.redraw(s.animation),o},C.fillSetter=c,C.strokeSetter=p,(0,i.addEvent)(u,"afterGetAllItems",o),(0,i.addEvent)(u,"afterColorizeItem",l),(0,i.addEvent)(u,"afterUpdate",r),(0,i.extend)(v,{optionalAxis:"colorAxis",translateColors:d}),(0,i.extend)(v.pointClass.prototype,{setVisible:n}),(0,i.addEvent)(m,"afterTranslate",a,{order:1}),(0,i.addEvent)(m,"bindAxes",h))},t.pointSetVisible=n}(l||(l={}));let f=l,u=t.default.SeriesRegistry;var m=e.n(u);let{defaultOptions:x}=r(),{series:y}=m();x.colorAxis=(0,i.merge)(x.xAxis,{lineWidth:0,minPadding:0,maxPadding:0,gridLineColor:"var(--highcharts-background-color)",gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},clip:!1,lineColor:"var(--highcharts-neutral-color-40)",lineWidth:0,color:"var(--highcharts-neutral-color-40)",width:.01},labels:{distance:8,overflow:"justify",rotation:0},minColor:"var(--highcharts-highlight-color-10)",maxColor:"var(--highcharts-highlight-color-100)",tickLength:5,title:{margin:5},showInLegend:!0});class b extends h(){static compose(t,e,i,s){f.compose(b,t,e,i,s)}constructor(t,e){super(t,e),this.clippable=!1,this.coll="colorAxis",this.visible=!0,this.init(t,e)}init(t,e){let s=t.options.legend||{},o=e.layout?"vertical"!==e.layout:"vertical"!==s.layout;this.side=e.side||o?2:1,this.reversed=e.reversed,this.opposite=!o,super.init(t,e,"colorAxis"),this.userOptions=e,(0,i.isArray)(t.userOptions.colorAxis)&&(t.userOptions.colorAxis[this.index]=e),e.dataClasses&&this.initDataClasses(e),this.initStops(),this.horiz=o,this.zoomEnabled=!1}hasData(){return!!(this.tickPositions||[]).length}setTickPositions(){if(!this.dataClasses)return super.setTickPositions()}setOptions(t){let e=this.chart.options.legend||{},s=x.colorAxis,o=t.layout||e.layout||s.layout,l=(0,i.merge)("vertical"!==o?{title:{rotation:0}}:{title:{rotation:90,margin:10}},s,t,{showEmpty:!1,visible:this.chart.options.legend.enabled&&!1!==t.visible});super.setOptions(l),this.options.crosshair=this.options.marker}setAxisSize(){let t=this.chart,e=this.legendItem?.symbol,{width:i,height:s}=this.getSize();e&&(this.left=+e.attr("x"),this.top=+e.attr("y"),this.width=i=+e.attr("width"),this.height=s=+e.attr("height"),this.right=t.chartWidth-this.left-i,this.bottom=t.chartHeight-this.top-s,this.pos=this.horiz?this.left:this.top),this.len=(this.horiz?i:s)||b.defaultLegendLength}getOffset(){let t=this.chart,e=this.legendItem?.group,i=t.axisOffset[this.side],{clipOffset:s,legend:o}=t;e&&(this.axisParent=e,super.getOffset(),o.allItems.forEach(function(t){t instanceof b&&t.drawLegendSymbol(o,t)}),o.render(),t.getMargins(!0),this.added||(this.added=!0),this.labelLeft=0,this.labelRight=this.width,t.axisOffset[this.side]=i,t.clipOffset=s)}setLegendColor(){let t=this.horiz,e=this.reversed,i=+!!e,s=+!e,o=t?[i,0,s,0]:[0,s,0,i];this.legendColor={linearGradient:{x1:o[0],y1:o[1],x2:o[2],y2:o[3]},stops:this.stops}}drawLegendSymbol(t,e){let i=e.legendItem||{},s=t.padding,o=t.options,l=this.options.labels,r=o.itemDistance??10,a=this.horiz,{width:h,height:n}=this.getSize(),d=o.labelPadding??(a?16:30);this.setLegendColor();let c=0,p=0;if(this.options.title?.text&&!this.axisTitle){this.axisGroup||(this.axisParent=i.group,this.createGroups());let t=this.len,e=this.top,s=this.left,o=this.width;this.len=a?h:n,this.top=0,this.left=0,this.width=h,this.addTitle(!0),this.len=t,this.top=e,this.left=s,this.width=o}if(this.axisTitle){let t=this.axisTitle.getBBox();c=t.height,p=t.width}let g=this.options.title||{},f=this.axisTitle?g.margin??0:0,u=a?c+f:0;i.symbol||(i.symbol=this.chart.renderer.symbol("roundedRect").attr({r:o.symbolRadius??3,zIndex:1}).add(i.group)),i.symbol.attr({x:0,y:(t.baseline||0)-11+u,width:h,height:n}),a?(i.labelWidth=Math.max(h+s+r,p||0),i.labelHeight=n+s+d+c+f):(i.labelWidth=h+s+(l.x??l.distance??0)+(this.maxLabelLength||0)+(p||0)+f,i.labelHeight=Math.max(n+s,c||0))}getTitlePosition(t){let e=super.getTitlePosition(t),i=this.options.title?.margin??0;if(this.horiz&&t)e.y=this.top-i;else if(!this.horiz&&t){let t=this.options.labels||{},s=t.x??t.distance??0;e.x=this.left+this.width+s+(this.maxLabelLength||0)+i}return e}setState(t){this.series.forEach(function(e){e.setState(t)})}setVisible(){}getSeriesExtremes(){let t=this.series,e,s,o,l,r=t.length;for(this.dataMin=1/0,this.dataMax=-1/0;r--;){for(let i of(s=(l=t[r]).colorKey=l.options.colorKey??l.colorKey??l.pointValKey??l.zoneAxis??"y",o=l[s+"Min"]&&l[s+"Max"],[s,"value","y"]))if((e=l.getColumn(i)).length)break;if(o)l.minColorValue=l[s+"Min"],l.maxColorValue=l[s+"Max"];else{let t=y.prototype.getExtremes.call(l,e);l.minColorValue=t.dataMin,l.maxColorValue=t.dataMax}(0,i.defined)(l.minColorValue)&&(0,i.defined)(l.maxColorValue)&&(this.dataMin=Math.min(this.dataMin,l.minColorValue),this.dataMax=Math.max(this.dataMax,l.maxColorValue)),o||y.prototype.applyExtremes.call(l)}}drawCrosshair(t,e){let i,s=this.legendItem||{},o=e?.plotX,l=e?.plotY,r=this.pos,a=this.len,h=this.options.marker||{};e&&((i=this.toPixels(e.getNestedProperty(e.series.colorKey)))<r?i=r-2:i>r+a&&(i=r+a+2),e.plotX=i,e.plotY=this.len-i,super.drawCrosshair(t,e),e.plotX=o,e.plotY=l,this.cross&&!this.cross.addedToColorAxis&&s.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(s.group),this.cross.addedToColorAxis=!0,this.chart.styledMode||"object"!=typeof this.crosshair||this.cross.attr({fill:h.color,stroke:h.lineColor,"stroke-width":h.lineWidth})))}getPlotLinePath(t){let e=this.left,s=t.translatedValue,{symbol:o}=this.options.marker||{},l=this.top;if((0,i.isNumber)(s)){if(o){let t=this.height,i=s-t/2,r=l;return this.horiz||(t=this.width,i=e,r=s-t/2),this.chart.renderer.symbols[o](i,r,t,t)}return this.horiz?[["M",s-4,l-6],["L",s+4,l-6],["L",s,l],["Z"]]:[["M",e,s],["L",e-6,s+6],["L",e-6,s-6],["Z"]]}return super.getPlotLinePath(t)}update(t,e){let i=this.chart.legend;this.series.forEach(t=>{t.isDirtyData=!0}),(t.dataClasses&&i.allItems||this.dataClasses)&&this.destroyItems(),super.update(t,e),this.legendItem?.label&&(this.setLegendColor(),i.colorizeItem(this,!0))}destroyItems(){let t=this.chart,e=this.legendItem||{};if(e.label)t.legend.destroyItem(this);else if(e.labels)for(let i of e.labels)t.legend.destroyItem(i);t.isDirtyLegend=!0}destroy(){this.chart.isDirtyLegend=!0,this.destroyItems(),super.destroy(...[].slice.call(arguments))}remove(t){this.destroyItems(),super.remove(t)}getDataClassLegendSymbols(){let t,e=this,s=e.chart,o=e.legendItem&&e.legendItem.labels||[],l=s.options.legend,r=l.valueDecimals??-1,a=l.valueSuffix??"",h=t=>e.series.reduce((e,i)=>(e.push(...i.points.filter(e=>e.dataClass===t)),e),[]);return o.length||e.dataClasses.forEach((l,n)=>{let d=l.from,c=l.to,{numberFormatter:p}=s,g=!0;t="",void 0===d?t="< ":void 0===c&&(t="> "),void 0!==d&&(t+=p(d,r)+a),void 0!==d&&void 0!==c&&(t+=" - "),void 0!==c&&(t+=p(c,r)+a),o.push((0,i.extend)({chart:s,name:t,options:{},drawLegendSymbol:y.prototype.drawLegendSymbol,visible:!0,isDataClass:!0,setState:t=>{for(let e of h(n))e.setState(t)},setVisible:function(){this.visible=g=e.visible=!g;let t=[];for(let e of h(n))e.setVisible(g),e.hiddenInDataClass=!g,-1===t.indexOf(e.series)&&t.push(e.series);s.legend.colorizeItem(this,g),t.forEach(t=>{(0,i.fireEvent)(t,"afterDataClassLegendClick")})}},l))}),o}getSize(){let{chart:t,horiz:e}=this,{height:s,width:o}=this.options,{legend:l}=t.options;return{width:(0,i.defined)(o)?(0,i.relativeLength)(o,t.chartWidth):l?.symbolWidth??(e?b.defaultLegendLength:12),height:(0,i.defined)(s)?(0,i.relativeLength)(s,t.chartHeight):l?.symbolHeight??(e?12:b.defaultLegendLength)}}}b.defaultLegendLength=200,b.keepProps=["legendItem"],(0,i.extend)(b.prototype,p),Array.prototype.push.apply(h().keepProps,b.keepProps);let C=r();C.ColorAxis=C.ColorAxis||b,C.ColorAxis.compose(C.Chart,C.Fx,C.Legend,C.Series);let v=r();export{v as default};
|
|
13
|
+
*/import*as t from"../highcharts.js";let e={};e.n=t=>{let i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},e.d=(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},e.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);let i=t.default;var s,o,l,r=e.n(i);let a=t.default.Axis;var h=e.n(a);let n=t.default.Color;var d=e.n(n);let{parse:c}=d();(s=o||(o={})).initDataClasses=function(t){let e=this.chart,s=this.legendItem=this.legendItem||{},o=this.options,l=t.dataClasses||[],r,a,h=e.options.chart.colorCount,n=0,d;this.dataClasses=a=[],s.labels=[];for(let t=0,s=l.length;t<s;++t)r=l[t],r=(0,i.merge)(r),a.push(r),(e.styledMode||!r.color)&&("category"===o.dataClassColor?(e.styledMode||(h=(d=e.options.colors||[]).length,r.color=d[n]),r.colorIndex=n,++n===h&&(n=0)):r.color=c(o.minColor).tweenTo(c(o.maxColor),s<2?.5:t/(s-1)))},s.initStops=function(){let t=this.options,e=this.stops=t.stops||[[0,t.minColor||""],[1,t.maxColor||""]];for(let t=0,i=e.length;t<i;++t)e[t].color=c(e[t][1])},s.normalizedValue=function(t){let e=this.max||0,i=this.min||0;return this.logarithmic&&(t=this.logarithmic.log2lin(t)),1-(e-t)/(e-i||1)},s.toColor=function(t,e){let i,s,o,l,r,a,h=this.dataClasses,n=this.stops;if(h){for(a=h.length;a--;)if(s=(r=h[a]).from,o=r.to,(void 0===s||t>=s)&&(void 0===o||t<=o)){l=r.color,e&&(e.dataClass=a,e.colorIndex=r.colorIndex);break}}else{for(i=this.normalizedValue(t),a=n.length;a--&&!(i>n[a][0]););s=n[a]||n[a+1],i=1-((o=n[a+1]||s)[0]-i)/(o[0]-s[0]||1),l=s.color.tweenTo(o.color,i)}return l};let p=o,{parse:g}=d();!function(t){let e;function s(){let{userOptions:t}=this;this.colorAxis=[],t.colorAxis&&(t.colorAxis=(0,i.splat)(t.colorAxis),t.colorAxis.map(t=>new e(this,t)))}function o(t){let e=this.chart.colorAxis||[],i=e=>{let i=t.allItems.indexOf(e);-1!==i&&(this.destroyItem(t.allItems[i]),t.allItems.splice(i,1))},s=[],o,l;for(e.forEach(function(t){o=t.options,o?.showInLegend?(o.dataClasses&&o.visible?s=s.concat(t.getDataClassLegendSymbols()):o.visible&&s.push(t),t.series.forEach(function(t){(!t.options.showInLegend||o.dataClasses)&&("point"===t.options.legendType?t.points.forEach(function(t){i(t)}):i(t))})):t.destroyItems()}),l=s.length;l--;)t.allItems.unshift(s[l])}function l(t){t.visible&&t.item.legendColor&&t.item.legendItem.symbol.attr({fill:t.item.legendColor})}function r(t){this.chart.colorAxis?.forEach(e=>{e.update({},t.redraw)})}function a(){(this.chart.colorAxis?.length||this.colorAttribs)&&this.translateColors()}function h(){let t=this.axisTypes;t?-1===t.indexOf("colorAxis")&&t.push("colorAxis"):this.axisTypes=["colorAxis"]}function n(t){let e=this,i=t?"show":"hide";e.visible=e.options.visible=!!t,["graphic","dataLabel"].forEach(function(t){e[t]&&e[t][i]()}),this.series.buildKDTree()}function d(){let t=this,e=this.getPointsCollection(),i=this.options.nullColor,s=this.colorAxis,o=this.colorKey;e.forEach(e=>{let l=e.getNestedProperty(o),r=e.options.color||(e.isNull||null===e.value?i:s&&void 0!==l?s.toColor(l,e):e.color||t.color);r&&e.color!==r&&(e.color=r,"point"===t.options.legendType&&e.legendItem&&e.legendItem.label&&t.chart.legend.colorizeItem(e,e.visible))})}function c(){this.elem.attr("fill",g(this.start).tweenTo(g(this.end),this.pos),void 0,!0)}function p(){this.elem.attr("stroke",g(this.start).tweenTo(g(this.end),this.pos),void 0,!0)}t.compose=function(t,g,f,u,m){var x;let y,b=g.prototype,C=f.prototype,v=m.prototype;b.collectionsWithUpdate.includes("colorAxis")||(e=t,b.collectionsWithUpdate.push("colorAxis"),b.collectionsWithInit.colorAxis=[b.addColorAxis],(0,i.addEvent)(g,"afterCreateAxes",s),y=(x=g).prototype.createAxis,x.prototype.createAxis=function(t,s){if("colorAxis"!==t)return y.apply(this,arguments);let o=new e(this,(0,i.merge)(s.axis,{index:this[t].length,isX:!1}));return this.isDirtyLegend=!0,this.axes.forEach(t=>{t.series=[]}),this.series.forEach(t=>{t.bindAxes(),t.isDirtyData=!0}),(s.redraw??!0)&&this.redraw(s.animation),o},C.fillSetter=c,C.strokeSetter=p,(0,i.addEvent)(u,"afterGetAllItems",o),(0,i.addEvent)(u,"afterColorizeItem",l),(0,i.addEvent)(u,"afterUpdate",r),(0,i.extend)(v,{optionalAxis:"colorAxis",translateColors:d}),(0,i.extend)(v.pointClass.prototype,{setVisible:n}),(0,i.addEvent)(m,"afterTranslate",a,{order:1}),(0,i.addEvent)(m,"bindAxes",h))},t.pointSetVisible=n}(l||(l={}));let f=l,u=t.default.SeriesRegistry;var m=e.n(u);let{defaultOptions:x}=r(),{series:y}=m();x.colorAxis=(0,i.merge)(x.xAxis,{lineWidth:0,minPadding:0,maxPadding:0,gridLineColor:"var(--highcharts-background-color)",gridLineWidth:1,tickPixelInterval:72,startOnTick:!0,endOnTick:!0,offset:0,marker:{animation:{duration:50},clip:!1,lineColor:"var(--highcharts-neutral-color-40)",lineWidth:0,color:"var(--highcharts-neutral-color-40)",width:.01},labels:{distance:8,overflow:"justify",rotation:0},minColor:"var(--highcharts-highlight-color-10)",maxColor:"var(--highcharts-highlight-color-100)",tickLength:5,title:{margin:5},showInLegend:!0});class b extends h(){static compose(t,e,i,s){f.compose(b,t,e,i,s)}constructor(t,e){super(t,e),this.clippable=!1,this.coll="colorAxis",this.visible=!0,this.init(t,e)}init(t,e){let s=t.options.legend||{},o=e.layout?"vertical"!==e.layout:"vertical"!==s.layout;this.reversed=e.reversed,this.opposite=!o,super.init(t,e,"colorAxis"),this.side=e.side||o?2:1,this.userOptions=e,(0,i.isArray)(t.userOptions.colorAxis)&&(t.userOptions.colorAxis[this.index]=e),e.dataClasses?this.initDataClasses(e):delete this.dataClasses,this.initStops(),this.horiz=o,this.zoomEnabled=!1}hasData(){return!!(this.tickPositions||[]).length}setTickPositions(){if(!this.dataClasses)return super.setTickPositions()}setOptions(t){let e=this.chart.options.legend||{},s=x.colorAxis,o=t.layout||e.layout||s.layout,l=(0,i.merge)("vertical"!==o?{title:{rotation:0}}:{title:{rotation:90,margin:10}},s,t,{showEmpty:!1,visible:this.chart.options.legend.enabled&&!1!==t.visible}),r=l.marker||{};super.setOptions(l),this.options.crosshair=(0,i.merge)(r,{color:r.lineColor,width:r.lineWidth})}setAxisSize(){let t=this.chart,e=this.legendItem?.symbolBBox,{width:i,height:s}=this.getSize();e&&(this.left=e.x,this.top=e.y),this.width=i=e?.width??i,this.height=s=e?.height??s,this.right=t.chartWidth-this.left-i,this.bottom=t.chartHeight-this.top-s,this.pos=this.horiz?this.left:this.top,this.len=(this.horiz?i:s)||b.defaultLegendLength}getOffset(){let t=this.chart,e=this.legendItem?.group,i=t.axisOffset[this.side],{clipOffset:s,legend:o}=t;e&&(this.axisParent=e,super.getOffset(),o.allItems.forEach(function(t){t instanceof b&&t.drawLegendSymbol(o,t)}),o.render(),t.getMargins(!0),this.added||(this.added=!0),this.labelLeft=0,this.labelRight=this.width,t.axisOffset[this.side]=i,t.clipOffset=s)}createGroups(){let t=this.axisParent;super.createGroups(),this.axisGroup?.parentGroup!==t&&(this.gridGroup?.add(t),this.axisGroup?.add(t),this.labelGroup?.add(t))}setLegendColor(){let t=this.horiz,e=this.reversed,i=+!!e,s=+!e,o=t?[i,0,s,0]:[0,s,0,i];this.legendColor={linearGradient:{x1:o[0],y1:o[1],x2:o[2],y2:o[3]},stops:this.stops}}drawLegendSymbol(t,e){let i=e.legendItem||{},s=t.padding,o=t.options,l=this.options.labels,r=o.itemDistance??10,a=this.horiz,{width:h,height:n}=this.getSize(),d=o.labelPadding??(a?16:30);this.setLegendColor();let c=0,p=0;if(this.options.title?.text&&!this.axisTitle){this.axisGroup||(this.axisParent=i.group,this.createGroups());let t=this.len,e=this.top,s=this.left,o=this.width;this.len=a?h:n,this.top=0,this.left=0,this.width=h,this.addTitle(!0),this.len=t,this.top=e,this.left=s,this.width=o}if(this.axisTitle){let t=this.axisTitle.getBBox();c=t.height,p=t.width}let g=this.options.title||{},f=this.axisTitle?g.margin??0:0,u=a?c+f:0,m=i.symbol?"animate":"attr";i.symbol||(i.symbol=this.chart.renderer.symbol("roundedRect").attr({r:o.symbolRadius??3,zIndex:1}).add(i.group)),i.symbolBBox={x:0,y:(t.baseline||0)-11+u,width:h,height:n},i.symbol[m](i.symbolBBox),a?(i.labelWidth=Math.max(h+s+r,p||0),i.labelHeight=n+s+d+c+f):(i.labelWidth=h+s+(l.x??l.distance??15)+(this.maxLabelLength||0)+(p||0)+f,i.labelHeight=Math.max(n+s,c||0))}getTitlePosition(t){let e=super.getTitlePosition(t),i=this.options.title?.margin??0;if(this.horiz&&t)e.y=this.top-i;else if(!this.horiz&&t){let t=this.options.labels||{},s=t.x??t.distance??0;e.x=this.left+this.width+s+(this.maxLabelLength||0)+i}return e}setState(t){this.series.forEach(function(e){e.setState(t)})}setVisible(){}getSeriesExtremes(){let t=this.series,e,s,o,l,r=t.length;for(this.dataMin=1/0,this.dataMax=-1/0;r--;){for(let i of(s=(l=t[r]).colorKey=l.options.colorKey??l.colorKey??l.pointValKey??l.zoneAxis??"y",o=l[s+"Min"]&&l[s+"Max"],[s,"value","y"]))if((e=l.getColumn(i)).length)break;if(o)l.minColorValue=l[s+"Min"],l.maxColorValue=l[s+"Max"];else{let t=y.prototype.getExtremes.call(l,e);l.minColorValue=t.dataMin,l.maxColorValue=t.dataMax}(0,i.defined)(l.minColorValue)&&(0,i.defined)(l.maxColorValue)&&(this.dataMin=Math.min(this.dataMin,l.minColorValue),this.dataMax=Math.max(this.dataMax,l.maxColorValue)),o||y.prototype.applyExtremes.call(l)}}drawCrosshair(t,e){let i,s=this.legendItem||{},o=e?.plotX,l=e?.plotY,r=this.pos,a=this.len;e&&((i=this.toPixels(e.getNestedProperty(e.series.colorKey)))<r?i=r-2:i>r+a&&(i=r+a+2),e.plotX=i,e.plotY=this.len-i,super.drawCrosshair(t,e),e.plotX=o,e.plotY=l,this.cross&&"object"==typeof this.crosshair&&(!this.cross.addedToColorAxis&&s.group&&(this.cross.addClass("highcharts-coloraxis-marker").add(s.group),this.cross.addedToColorAxis=!0),this.chart.styledMode||this.cross.attr({fill:this.options.marker?.color})))}getPlotLinePath(t){let e=this.left,s=t.translatedValue,{symbol:o}=this.options.marker||{},l=this.top;if((0,i.isNumber)(s)){if(o){let t=this.height,i=s-t/2,r=l;return this.horiz||(t=this.width,i=e,r=s-t/2),this.chart.renderer.symbols[o](i,r,t,t)}return this.horiz?[["M",s-4,l-6],["L",s+4,l-6],["L",s,l],["Z"]]:[["M",e,s],["L",e-6,s+6],["L",e-6,s-6],["Z"]]}return super.getPlotLinePath(t)}update(t,e){let i=this.chart.legend;this.series.forEach(t=>{t.isDirtyData=!0}),(t.dataClasses&&i.allItems||this.dataClasses)&&this.destroyItems(),delete this.legendItem?.symbolBBox,super.update(t,e),this.legendItem?.label&&(this.setLegendColor(),i.colorizeItem(this,!0))}destroyItems(){let{chart:t,legendItem:e={}}=this;if(t){if(e.label)t.legend.destroyItem(this);else if(e.labels)for(let i of e.labels)t.legend.destroyItem(i);t.isDirtyLegend=!0}}destroy(){this.chart.isDirtyLegend=!0,this.destroyItems(),super.destroy()}remove(t){this.destroyItems(),super.remove(t)}getDataClassLegendSymbols(){let t,e=this,s=e.chart,o=e.legendItem&&e.legendItem.labels||[],l=s.options.legend,r=l.valueDecimals??-1,a=l.valueSuffix??"",h=t=>e.series.reduce((e,i)=>(e.push(...i.points.filter(e=>e.dataClass===t)),e),[]);return o.length||e.dataClasses?.forEach((l,n)=>{let d=l.from,c=l.to,{numberFormatter:p}=s,g=!0;t="",void 0===d?t="< ":void 0===c&&(t="> "),void 0!==d&&(t+=p(d,r)+a),void 0!==d&&void 0!==c&&(t+=" - "),void 0!==c&&(t+=p(c,r)+a),o.push((0,i.extend)({chart:s,name:t,options:{},drawLegendSymbol:y.prototype.drawLegendSymbol,visible:!0,isDataClass:!0,setState:t=>{for(let e of h(n))e.setState(t)},setVisible:function(){this.visible=g=e.visible=!g;let t=[];for(let e of h(n))e.setVisible(g),e.hiddenInDataClass=!g,-1===t.indexOf(e.series)&&t.push(e.series);s.legend.colorizeItem(this,g),t.forEach(t=>{(0,i.fireEvent)(t,"afterDataClassLegendClick")})}},l))}),o}getSize(){let{chart:t,horiz:e}=this,{height:s,width:o}=this.options,{legend:l}=t.options;return{width:(0,i.defined)(o)?(0,i.relativeLength)(o,t.chartWidth):l?.symbolWidth??(e?b.defaultLegendLength:12),height:(0,i.defined)(s)?(0,i.relativeLength)(s,t.chartHeight):l?.symbolHeight??(e?12:b.defaultLegendLength)}}}b.defaultLegendLength=200,(0,i.extend)(b.prototype,p);let C=r();C.ColorAxis=C.ColorAxis||b,C.ColorAxis.compose(C.Chart,C.Fx,C.Legend,C.Series);let v=r();export{v as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts JS v13.0
|
|
3
|
+
* @license Highcharts JS v13.1.0 (2026-09-18)
|
|
4
4
|
* @module highcharts/modules/color-axis
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -18,48 +18,27 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
18
18
|
/******/
|
|
19
19
|
/************************************************************************/
|
|
20
20
|
/******/ /* webpack/runtime/compat get default export */
|
|
21
|
-
/******/
|
|
22
|
-
/******/
|
|
23
|
-
/******/
|
|
24
|
-
/******/
|
|
25
|
-
/******/
|
|
26
|
-
/******/
|
|
27
|
-
/******/
|
|
28
|
-
/******/
|
|
29
|
-
/******/ };
|
|
30
|
-
/******/ })();
|
|
21
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
22
|
+
/******/ __webpack_require__.n = (module) => {
|
|
23
|
+
/******/ const getter = module && module.__esModule ?
|
|
24
|
+
/******/ () => (module['default']) :
|
|
25
|
+
/******/ () => (module);
|
|
26
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
27
|
+
/******/ return getter;
|
|
28
|
+
/******/ };
|
|
31
29
|
/******/
|
|
32
30
|
/******/ /* webpack/runtime/define property getters */
|
|
33
|
-
/******/
|
|
34
|
-
/******/
|
|
35
|
-
/******/
|
|
36
|
-
/******/ if(
|
|
37
|
-
/******/
|
|
38
|
-
/******/ while(i < definition.length) {
|
|
39
|
-
/******/ var key = definition[i++];
|
|
40
|
-
/******/ var binding = definition[i++];
|
|
41
|
-
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
42
|
-
/******/ if(binding === 0) {
|
|
43
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
44
|
-
/******/ } else {
|
|
45
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
46
|
-
/******/ }
|
|
47
|
-
/******/ } else if(binding === 0) { i++; }
|
|
48
|
-
/******/ }
|
|
49
|
-
/******/ } else {
|
|
50
|
-
/******/ for(var key in definition) {
|
|
51
|
-
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
52
|
-
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
53
|
-
/******/ }
|
|
54
|
-
/******/ }
|
|
31
|
+
/******/ // define getter/value functions for harmony exports
|
|
32
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
33
|
+
/******/ for(var key in definition) {
|
|
34
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
35
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
55
36
|
/******/ }
|
|
56
|
-
/******/ }
|
|
57
|
-
/******/ }
|
|
37
|
+
/******/ }
|
|
38
|
+
/******/ };
|
|
58
39
|
/******/
|
|
59
40
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
60
|
-
/******/ (
|
|
61
|
-
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
62
|
-
/******/ })();
|
|
41
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop));
|
|
63
42
|
/******/
|
|
64
43
|
/************************************************************************/
|
|
65
44
|
|
|
@@ -343,6 +322,9 @@ var ColorAxisComposition;
|
|
|
343
322
|
}
|
|
344
323
|
});
|
|
345
324
|
}
|
|
325
|
+
else {
|
|
326
|
+
colorAxis.destroyItems();
|
|
327
|
+
}
|
|
346
328
|
});
|
|
347
329
|
i = colorAxisItems.length;
|
|
348
330
|
while (i--) {
|
|
@@ -543,11 +525,13 @@ var ColorAxisComposition;
|
|
|
543
525
|
* Min color and max color
|
|
544
526
|
*
|
|
545
527
|
* @extends xAxis
|
|
546
|
-
* @excluding alignTicks, allowDecimals, alternateGridColor, breaks,
|
|
547
|
-
* categories, crosshair, dateTimeLabelFormats, left,
|
|
528
|
+
* @excluding alignTicks, allowDecimals, alternateGridColor, angle, breaks,
|
|
529
|
+
* categories, crosshair, crossing, dateTimeLabelFormats, left,
|
|
548
530
|
* lineWidth, linkedTo, maxZoom, minRange, minTickInterval,
|
|
549
|
-
* offset, opposite, pane, plotBands, plotLines,
|
|
550
|
-
* reversedStacks, scrollbar, showEmpty,
|
|
531
|
+
* offset, opposite, pane, panningEnabled, plotBands, plotLines,
|
|
532
|
+
* reversedStacks, scrollbar, showEmpty, startOfWeek,
|
|
533
|
+
* tickPlacement, title, top, uniqueNames, units,
|
|
534
|
+
* zoomEnabled
|
|
551
535
|
* @product highcharts highstock highmaps
|
|
552
536
|
* @requires modules/coloraxis
|
|
553
537
|
* @type {*|Array<*>}
|
|
@@ -1092,10 +1076,10 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1092
1076
|
const legend = chart.options.legend || {}, horiz = userOptions.layout ?
|
|
1093
1077
|
userOptions.layout !== 'vertical' :
|
|
1094
1078
|
legend.layout !== 'vertical';
|
|
1095
|
-
axis.side = userOptions.side || horiz ? 2 : 1;
|
|
1096
1079
|
axis.reversed = userOptions.reversed;
|
|
1097
1080
|
axis.opposite = !horiz;
|
|
1098
1081
|
super.init(chart, userOptions, 'colorAxis');
|
|
1082
|
+
axis.side = userOptions.side || horiz ? 2 : 1;
|
|
1099
1083
|
// `super.init` saves the extended user options, now replace it with the
|
|
1100
1084
|
// originals
|
|
1101
1085
|
this.userOptions = userOptions;
|
|
@@ -1106,6 +1090,9 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1106
1090
|
if (userOptions.dataClasses) {
|
|
1107
1091
|
axis.initDataClasses(userOptions);
|
|
1108
1092
|
}
|
|
1093
|
+
else {
|
|
1094
|
+
delete axis.dataClasses;
|
|
1095
|
+
}
|
|
1109
1096
|
axis.initStops();
|
|
1110
1097
|
// Override original axis properties
|
|
1111
1098
|
axis.horiz = horiz;
|
|
@@ -1152,22 +1139,30 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1152
1139
|
visible: this.chart.options.legend.enabled &&
|
|
1153
1140
|
userOptions.visible !== false
|
|
1154
1141
|
});
|
|
1142
|
+
const marker = options.marker || {};
|
|
1155
1143
|
super.setOptions(options);
|
|
1156
|
-
|
|
1144
|
+
// Translate marker options to crosshair options
|
|
1145
|
+
this.options.crosshair = (0,external_highcharts_src_js_default_namespaceObject.merge)(marker, {
|
|
1146
|
+
color: marker.lineColor,
|
|
1147
|
+
width: marker.lineWidth
|
|
1148
|
+
});
|
|
1157
1149
|
}
|
|
1158
|
-
/**
|
|
1150
|
+
/**
|
|
1151
|
+
* Set the axis sizing properties based on the legend symbol
|
|
1152
|
+
* @internal
|
|
1153
|
+
*/
|
|
1159
1154
|
setAxisSize() {
|
|
1160
|
-
const axis = this, chart = axis.chart,
|
|
1155
|
+
const axis = this, chart = axis.chart, bBox = axis.legendItem?.symbolBBox;
|
|
1161
1156
|
let { width, height } = axis.getSize();
|
|
1162
|
-
if (
|
|
1163
|
-
this.left =
|
|
1164
|
-
this.top =
|
|
1165
|
-
this.width = width = +symbol.attr('width');
|
|
1166
|
-
this.height = height = +symbol.attr('height');
|
|
1167
|
-
this.right = chart.chartWidth - this.left - width;
|
|
1168
|
-
this.bottom = chart.chartHeight - this.top - height;
|
|
1169
|
-
this.pos = this.horiz ? this.left : this.top;
|
|
1157
|
+
if (bBox) {
|
|
1158
|
+
this.left = bBox.x;
|
|
1159
|
+
this.top = bBox.y;
|
|
1170
1160
|
}
|
|
1161
|
+
this.width = width = bBox?.width ?? width;
|
|
1162
|
+
this.height = height = bBox?.height ?? height;
|
|
1163
|
+
this.right = chart.chartWidth - this.left - width;
|
|
1164
|
+
this.bottom = chart.chartHeight - this.top - height;
|
|
1165
|
+
this.pos = this.horiz ? this.left : this.top;
|
|
1171
1166
|
// Fake length for disabled legend to avoid tick issues
|
|
1172
1167
|
// and such (#5205)
|
|
1173
1168
|
this.len = (this.horiz ? width : height) ||
|
|
@@ -1205,6 +1200,18 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1205
1200
|
chart.clipOffset = clipOffset;
|
|
1206
1201
|
}
|
|
1207
1202
|
}
|
|
1203
|
+
/**
|
|
1204
|
+
* @internal
|
|
1205
|
+
*/
|
|
1206
|
+
createGroups() {
|
|
1207
|
+
const axisParent = this.axisParent;
|
|
1208
|
+
super.createGroups();
|
|
1209
|
+
if (this.axisGroup?.parentGroup !== axisParent) {
|
|
1210
|
+
this.gridGroup?.add(axisParent);
|
|
1211
|
+
this.axisGroup?.add(axisParent);
|
|
1212
|
+
this.labelGroup?.add(axisParent);
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1208
1215
|
/**
|
|
1209
1216
|
* Create the color gradient.
|
|
1210
1217
|
* @internal
|
|
@@ -1264,9 +1271,7 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1264
1271
|
titleHeight = titleBBox.height;
|
|
1265
1272
|
titleWidth = titleBBox.width;
|
|
1266
1273
|
}
|
|
1267
|
-
const titleOptions = axis.options.title || {};
|
|
1268
|
-
const titleMargin = axis.axisTitle ? (titleOptions.margin ?? 0) : 0;
|
|
1269
|
-
const yShift = horiz ? (titleHeight + titleMargin) : 0;
|
|
1274
|
+
const titleOptions = axis.options.title || {}, titleMargin = axis.axisTitle ? (titleOptions.margin ?? 0) : 0, yShift = horiz ? (titleHeight + titleMargin) : 0, verb = legendItem.symbol ? 'animate' : 'attr';
|
|
1270
1275
|
// Create the gradient
|
|
1271
1276
|
if (!legendItem.symbol) {
|
|
1272
1277
|
legendItem.symbol = this.chart.renderer.symbol('roundedRect')
|
|
@@ -1275,12 +1280,13 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1275
1280
|
zIndex: 1
|
|
1276
1281
|
}).add(legendItem.group);
|
|
1277
1282
|
}
|
|
1278
|
-
legendItem.
|
|
1283
|
+
legendItem.symbolBBox = {
|
|
1279
1284
|
x: 0,
|
|
1280
1285
|
y: (legend.baseline || 0) - 11 + yShift,
|
|
1281
|
-
width
|
|
1282
|
-
height
|
|
1283
|
-
}
|
|
1286
|
+
width,
|
|
1287
|
+
height
|
|
1288
|
+
};
|
|
1289
|
+
legendItem.symbol[verb](legendItem.symbolBBox);
|
|
1284
1290
|
// Set how much space this legend item takes up
|
|
1285
1291
|
if (horiz) {
|
|
1286
1292
|
legendItem.labelWidth = Math.max(width + padding + itemDistance, titleWidth || 0);
|
|
@@ -1289,7 +1295,7 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1289
1295
|
}
|
|
1290
1296
|
else {
|
|
1291
1297
|
legendItem.labelWidth = width + padding +
|
|
1292
|
-
(labelOptions.x ?? labelOptions.distance ??
|
|
1298
|
+
(labelOptions.x ?? labelOptions.distance ?? 15) +
|
|
1293
1299
|
(this.maxLabelLength || 0) +
|
|
1294
1300
|
(titleWidth || 0) + titleMargin;
|
|
1295
1301
|
legendItem.labelHeight = Math.max(height + padding, titleHeight || 0);
|
|
@@ -1387,7 +1393,7 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1387
1393
|
* @emits Highcharts.ColorAxis#event:drawCrosshair
|
|
1388
1394
|
*/
|
|
1389
1395
|
drawCrosshair(e, point) {
|
|
1390
|
-
const axis = this, legendItem = axis.legendItem || {}, plotX = point?.plotX, plotY = point?.plotY, axisPos = axis.pos, axisLen = axis.len
|
|
1396
|
+
const axis = this, legendItem = axis.legendItem || {}, plotX = point?.plotX, plotY = point?.plotY, axisPos = axis.pos, axisLen = axis.len;
|
|
1391
1397
|
let crossPos;
|
|
1392
1398
|
if (point) {
|
|
1393
1399
|
crossPos = axis.toPixels(point.getNestedProperty(point.series.colorKey));
|
|
@@ -1402,19 +1408,17 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1402
1408
|
super.drawCrosshair(e, point);
|
|
1403
1409
|
point.plotX = plotX;
|
|
1404
1410
|
point.plotY = plotY;
|
|
1405
|
-
if (axis.cross &&
|
|
1406
|
-
!axis.cross.addedToColorAxis &&
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1411
|
+
if (axis.cross && typeof axis.crosshair === 'object') {
|
|
1412
|
+
if (!axis.cross.addedToColorAxis &&
|
|
1413
|
+
legendItem.group) {
|
|
1414
|
+
axis.cross
|
|
1415
|
+
.addClass('highcharts-coloraxis-marker')
|
|
1416
|
+
.add(legendItem.group);
|
|
1417
|
+
axis.cross.addedToColorAxis = true;
|
|
1418
|
+
}
|
|
1419
|
+
if (!axis.chart.styledMode) {
|
|
1414
1420
|
axis.cross.attr({
|
|
1415
|
-
fill:
|
|
1416
|
-
stroke: markerOptions.lineColor,
|
|
1417
|
-
'stroke-width': markerOptions.lineWidth
|
|
1421
|
+
fill: axis.options.marker?.color
|
|
1418
1422
|
});
|
|
1419
1423
|
}
|
|
1420
1424
|
}
|
|
@@ -1476,6 +1480,7 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1476
1480
|
if (newOptions.dataClasses && legend.allItems || axis.dataClasses) {
|
|
1477
1481
|
axis.destroyItems();
|
|
1478
1482
|
}
|
|
1483
|
+
delete axis.legendItem?.symbolBBox;
|
|
1479
1484
|
super.update(newOptions, redraw);
|
|
1480
1485
|
if (axis.legendItem?.label) {
|
|
1481
1486
|
axis.setLegendColor();
|
|
@@ -1487,16 +1492,18 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1487
1492
|
* @internal
|
|
1488
1493
|
*/
|
|
1489
1494
|
destroyItems() {
|
|
1490
|
-
const
|
|
1491
|
-
if (
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
else if (legendItem.labels) {
|
|
1495
|
-
for (const item of legendItem.labels) {
|
|
1496
|
-
chart.legend.destroyItem(item);
|
|
1495
|
+
const { chart, legendItem = {} } = this;
|
|
1496
|
+
if (chart) { // Means axis not destroyed yet
|
|
1497
|
+
if (legendItem.label) {
|
|
1498
|
+
chart.legend.destroyItem(this);
|
|
1497
1499
|
}
|
|
1500
|
+
else if (legendItem.labels) {
|
|
1501
|
+
for (const item of legendItem.labels) {
|
|
1502
|
+
chart.legend.destroyItem(item);
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
chart.isDirtyLegend = true;
|
|
1498
1506
|
}
|
|
1499
|
-
chart.isDirtyLegend = true;
|
|
1500
1507
|
}
|
|
1501
1508
|
/**
|
|
1502
1509
|
* Removing the whole axis (#14283)
|
|
@@ -1505,7 +1512,7 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1505
1512
|
destroy() {
|
|
1506
1513
|
this.chart.isDirtyLegend = true;
|
|
1507
1514
|
this.destroyItems();
|
|
1508
|
-
super.destroy(
|
|
1515
|
+
super.destroy();
|
|
1509
1516
|
}
|
|
1510
1517
|
/**
|
|
1511
1518
|
* Removes the color axis and the related legend item.
|
|
@@ -1533,7 +1540,7 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1533
1540
|
}, []);
|
|
1534
1541
|
let name;
|
|
1535
1542
|
if (!legendItems.length) {
|
|
1536
|
-
axis.dataClasses
|
|
1543
|
+
axis.dataClasses?.forEach((dataClass, i) => {
|
|
1537
1544
|
const from = dataClass.from, to = dataClass.to, { numberFormatter } = chart;
|
|
1538
1545
|
let vis = true;
|
|
1539
1546
|
// Assemble the default name. This can be overridden
|
|
@@ -1616,18 +1623,7 @@ class ColorAxis extends (external_highcharts_src_js_default_Axis_default()) {
|
|
|
1616
1623
|
* */
|
|
1617
1624
|
/** @internal */
|
|
1618
1625
|
ColorAxis.defaultLegendLength = 200;
|
|
1619
|
-
/** @internal */
|
|
1620
|
-
ColorAxis.keepProps = [
|
|
1621
|
-
'legendItem'
|
|
1622
|
-
];
|
|
1623
1626
|
(0,external_highcharts_src_js_default_namespaceObject.extend)(ColorAxis.prototype, Color_ColorAxisBase);
|
|
1624
|
-
/* *
|
|
1625
|
-
*
|
|
1626
|
-
* Registry
|
|
1627
|
-
*
|
|
1628
|
-
* */
|
|
1629
|
-
// Properties to preserve after destroy, for Axis.update (#5881, #6025).
|
|
1630
|
-
Array.prototype.push.apply((external_highcharts_src_js_default_Axis_default()).keepProps, ColorAxis.keepProps);
|
|
1631
1627
|
/* *
|
|
1632
1628
|
*
|
|
1633
1629
|
* Default Export
|