highcharts 13.0.0 → 13.0.1
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 +3 -2
- package/css/highcharts.css +2 -1
- package/es-modules/Accessibility/Accessibility.js +38 -1
- package/es-modules/Accessibility/Components/LegendComponent.js +1 -2
- package/es-modules/Accessibility/Components/NavigatorComponent.js +1 -2
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +8 -4
- package/es-modules/Accessibility/Options/A11yDefaults.js +12 -3
- package/es-modules/Accessibility/ProxyElement.js +1 -0
- package/es-modules/Core/Animation/AnimationUtilities.js +31 -41
- package/es-modules/Core/Animation/Fx.js +16 -19
- package/es-modules/Core/Axis/Axis.js +1 -2
- package/es-modules/Core/Axis/AxisDefaults.js +12 -2
- package/es-modules/Core/Axis/Color/ColorAxis.js +7 -2
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +1 -1
- package/es-modules/Core/Axis/GridAxis.js +8 -1
- package/es-modules/Core/Axis/OrdinalAxis.js +12 -4
- package/es-modules/Core/Axis/RadialAxis.js +9 -14
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +1 -2
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +1 -1
- package/es-modules/Core/Chart/Chart.js +44 -39
- package/es-modules/Core/Chart/ChartDefaults.js +1 -1
- package/es-modules/Core/Chart/MapChart.js +0 -5
- package/es-modules/Core/Defaults.js +9 -2
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +4 -5
- package/es-modules/Core/Pointer.js +11 -1
- package/es-modules/Core/Renderer/HTML/AST.js +5 -1
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +23 -16
- package/es-modules/Core/Renderer/SVG/SVGElement.js +1 -2
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +2 -3
- package/es-modules/Core/Series/DataLabel.js +1 -2
- package/es-modules/Core/Series/Point.js +28 -21
- package/es-modules/Core/Series/Series.js +89 -62
- package/es-modules/Core/Series/SeriesDefaults.js +33 -0
- package/es-modules/Core/Templating.js +16 -13
- package/es-modules/Core/Tooltip.js +1 -2
- package/es-modules/Data/DataTableCore.js +1 -1
- package/es-modules/Extensions/Annotations/Annotation.js +1 -2
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +4 -4
- package/es-modules/Extensions/Annotations/MockPoint.js +7 -9
- package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +30 -3
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +2 -2
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -4
- package/es-modules/Extensions/Annotations/Types/Measure.js +25 -7
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +4 -2
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +3 -1
- package/es-modules/Extensions/Boost/Boost.js +13 -0
- package/es-modules/Extensions/Boost/BoostSeries.js +9 -2
- package/es-modules/Extensions/BorderRadius.js +12 -10
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +1 -1
- package/es-modules/Extensions/DraggablePoints/DraggableChart.js +1 -2
- package/es-modules/Extensions/Drilldown/Drilldown.js +1 -2
- package/es-modules/Extensions/Drilldown/DrilldownSeries.js +1 -2
- package/es-modules/Extensions/ExportData/ExportData.js +5 -1
- package/es-modules/Extensions/Exporting/Exporting.js +21 -21
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +32 -0
- package/es-modules/Extensions/MarkerClusters/MarkerClusterScatter.js +1 -2
- package/es-modules/Extensions/MarkerClusters/MarkerClusters.js +1 -2
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +31 -4
- package/es-modules/Extensions/Pane/PaneDefaults.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates/ParallelCoordinates.js +3 -0
- package/es-modules/Extensions/ScrollablePlotArea.js +8 -2
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +1 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +1 -1
- package/es-modules/Maps/GeoJSONComposition.js +14 -1
- package/es-modules/Maps/MapView.js +1 -1
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +87 -147
- package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +42 -4
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +10 -6
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +27 -28
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +33 -1
- package/es-modules/Series/Bubble/BubbleSeries.js +15 -0
- package/es-modules/Series/Bullet/BulletSeries.js +1 -1
- package/es-modules/Series/Candlestick/CandlestickSeries.js +3 -3
- package/es-modules/Series/CenteredUtilities.js +5 -4
- package/es-modules/Series/ColorMapComposition.js +7 -4
- package/es-modules/Series/Column/ColumnPoint.js +2 -0
- package/es-modules/Series/Column/ColumnSeries.js +12 -12
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +4 -2
- package/es-modules/Series/Column3D/Column3DComposition.js +16 -14
- package/es-modules/Series/ColumnPyramid/ColumnPyramidPoint.js +18 -0
- package/es-modules/Series/ColumnPyramid/ColumnPyramidPointOptions.js +12 -0
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +3 -2
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesOptions.js +12 -0
- package/es-modules/Series/ColumnRange/ColumnRangePoint.js +2 -0
- package/es-modules/Series/ColumnRange/ColumnRangePointOptions.js +12 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +9 -142
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +148 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesOptions.js +12 -0
- package/es-modules/Series/Contour/ContourPoint.js +2 -0
- package/es-modules/Series/Contour/ContourSeries.js +1 -0
- package/es-modules/Series/Contour/ContourSeriesDefaults.js +7 -0
- package/es-modules/Series/Contour/ContourShader.js +9 -1
- package/es-modules/Series/CrossSymbol.js +3 -2
- package/es-modules/Series/Cylinder/CylinderComposition.js +10 -10
- package/es-modules/Series/Cylinder/CylinderPoint.js +2 -0
- package/es-modules/Series/Cylinder/CylinderPointOptions.js +15 -0
- package/es-modules/Series/Cylinder/CylinderSeries.js +2 -1
- package/es-modules/Series/Cylinder/CylinderSeriesOptions.js +15 -0
- package/es-modules/Series/Cylinder/SVGElement3DCylinder.js +2 -0
- package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +3 -1
- package/es-modules/Series/DependencyWheel/DependencyWheelPointOptions.js +14 -0
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +8 -8
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesOptions.js +14 -0
- package/es-modules/Series/DerivedComposition.js +9 -8
- package/es-modules/Series/DotPlot/DotPlotPoint.js +18 -0
- package/es-modules/Series/DotPlot/DotPlotPointOptions.js +12 -0
- package/es-modules/Series/DotPlot/DotPlotSeries.js +3 -2
- package/es-modules/Series/DotPlot/DotPlotSeriesOptions.js +12 -0
- package/es-modules/Series/DragNodesComposition.js +11 -8
- package/es-modules/Series/DrawPointUtilities.js +3 -1
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +5 -3
- package/es-modules/Series/Dumbbell/DumbbellPointOptions.js +12 -0
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +9 -8
- package/es-modules/Series/Dumbbell/DumbbellSeriesOptions.js +12 -0
- package/es-modules/Series/ErrorBar/ErrorBarPoint.js +18 -0
- package/es-modules/Series/ErrorBar/ErrorBarPointOptions.js +12 -0
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +6 -9
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +15 -1
- package/es-modules/Series/ErrorBar/ErrorBarSeriesOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSeries.js +5 -14
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +2 -1
- package/es-modules/Series/Funnel/FunnelSeries.js +23 -24
- package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +12 -0
- package/es-modules/Series/Gantt/GanttSeries.js +2 -1
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +5 -5
- package/es-modules/Series/GraphLayoutComposition.js +3 -3
- package/es-modules/Series/Histogram/HistogramSeries.js +1 -1
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +9 -9
- package/es-modules/Series/Map/MapSeries.js +1 -2
- package/es-modules/Series/Map/MapSeriesDefaults.js +11 -1
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +10 -7
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +12 -0
- package/es-modules/Series/OHLC/OHLCPoint.js +2 -2
- package/es-modules/Series/OHLC/OHLCSeries.js +1 -0
- package/es-modules/Series/Organization/OrganizationSeries.js +29 -7
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +11 -4
- package/es-modules/Series/Pie/PiePoint.js +1 -2
- package/es-modules/Series/PolarComposition.js +5 -7
- package/es-modules/Series/Polygon/PolygonSeries.js +2 -2
- package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +20 -0
- package/es-modules/Series/RangeDataLabel.js +128 -0
- package/es-modules/Series/Sankey/SankeySeries.js +2 -2
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +2 -2
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +2 -0
- package/es-modules/Series/SimulationSeriesUtilities.js +1 -2
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +2 -2
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +8 -0
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +12 -6
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +2 -1
- package/es-modules/Series/Timeline/TimelineSeries.js +9 -3
- package/es-modules/Series/Treegraph/TreegraphSeries.js +22 -13
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +22 -1
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +3 -2
- package/es-modules/Series/Vector/VectorSeries.js +7 -9
- package/es-modules/Series/Venn/VennSeries.js +3 -4
- package/es-modules/Series/Waterfall/WaterfallSeries.js +1 -1
- package/es-modules/Series/Windbarb/WindbarbSeries.js +6 -8
- package/es-modules/Series/XRange/XRangeSeries.js +8 -8
- package/es-modules/Shared/TimeBase.js +5 -6
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -2
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +9 -2
- package/es-modules/Stock/Navigator/NavigatorSymbols.js +2 -1
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +51 -10
- package/es-modules/Stock/StockTools/StockToolbar.js +1 -1
- package/es-modules/Stock/StockTools/StockToolsBindings.js +7 -7
- package/es-modules/Stock/StockTools/StockToolsGui.js +2 -2
- 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 +7 -7
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/contour.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data-sorting.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/flowmap.src.js +2 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/renko.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +3 -2
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/standalone-navigator.src.js +1 -1
- package/es-modules/masters/themes/adaptive.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/high-contrast.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +2 -2
- package/esm/highcharts-3d.src.js +40 -25
- package/esm/highcharts-autoload.js +2 -2
- package/esm/highcharts-autoload.src.js +22 -8
- package/esm/highcharts-gantt.js +2 -2
- package/esm/highcharts-gantt.src.js +1 -24
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +1109 -926
- package/esm/highcharts.js +5 -5
- package/esm/highcharts.src.js +396 -314
- package/esm/highmaps.js +2 -2
- package/esm/highmaps.src.js +1 -24
- package/esm/highstock.js +2 -2
- package/esm/highstock.src.js +1 -24
- package/esm/i18n/fr-FR.js +2 -2
- package/esm/i18n/fr-FR.src.js +22 -8
- package/esm/i18n/nb-NO.js +2 -2
- package/esm/i18n/nb-NO.src.js +22 -8
- package/esm/i18n/zh-CN.js +2 -2
- package/esm/i18n/zh-CN.src.js +22 -8
- package/esm/indicators/acceleration-bands.js +2 -2
- package/esm/indicators/acceleration-bands.src.js +22 -8
- package/esm/indicators/accumulation-distribution.js +2 -2
- package/esm/indicators/accumulation-distribution.src.js +22 -8
- package/esm/indicators/ao.js +2 -2
- package/esm/indicators/ao.src.js +22 -8
- package/esm/indicators/apo.js +2 -2
- package/esm/indicators/apo.src.js +22 -8
- package/esm/indicators/aroon-oscillator.js +2 -2
- package/esm/indicators/aroon-oscillator.src.js +22 -8
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +22 -8
- package/esm/indicators/atr.js +2 -2
- package/esm/indicators/atr.src.js +22 -8
- package/esm/indicators/bollinger-bands.js +2 -2
- package/esm/indicators/bollinger-bands.src.js +22 -8
- package/esm/indicators/cci.js +2 -2
- package/esm/indicators/cci.src.js +22 -8
- package/esm/indicators/chaikin.js +2 -2
- package/esm/indicators/chaikin.src.js +22 -8
- package/esm/indicators/cmf.js +2 -2
- package/esm/indicators/cmf.src.js +22 -8
- package/esm/indicators/cmo.js +2 -2
- package/esm/indicators/cmo.src.js +22 -8
- package/esm/indicators/dema.js +2 -2
- package/esm/indicators/dema.src.js +22 -8
- package/esm/indicators/disparity-index.js +2 -2
- package/esm/indicators/disparity-index.src.js +22 -8
- package/esm/indicators/dmi.js +2 -2
- package/esm/indicators/dmi.src.js +22 -8
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +22 -8
- package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
- package/esm/indicators/ichimoku-kinko-hyo.src.js +22 -8
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +24 -11
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +23 -9
- package/esm/indicators/keltner-channels.js +2 -2
- package/esm/indicators/keltner-channels.src.js +22 -8
- package/esm/indicators/klinger.js +2 -2
- package/esm/indicators/klinger.src.js +22 -8
- package/esm/indicators/macd.js +2 -2
- package/esm/indicators/macd.src.js +22 -8
- package/esm/indicators/mfi.js +2 -2
- package/esm/indicators/mfi.src.js +22 -8
- package/esm/indicators/momentum.js +2 -2
- package/esm/indicators/momentum.src.js +22 -8
- package/esm/indicators/natr.js +2 -2
- package/esm/indicators/natr.src.js +22 -8
- package/esm/indicators/obv.js +2 -2
- package/esm/indicators/obv.src.js +22 -8
- package/esm/indicators/pivot-points.js +2 -2
- package/esm/indicators/pivot-points.src.js +22 -8
- package/esm/indicators/ppo.js +2 -2
- package/esm/indicators/ppo.src.js +22 -8
- package/esm/indicators/price-channel.js +2 -2
- package/esm/indicators/price-channel.src.js +22 -8
- package/esm/indicators/price-envelopes.js +2 -2
- package/esm/indicators/price-envelopes.src.js +22 -8
- package/esm/indicators/psar.js +2 -2
- package/esm/indicators/psar.src.js +22 -8
- package/esm/indicators/regressions.js +2 -2
- package/esm/indicators/regressions.src.js +22 -8
- package/esm/indicators/roc.js +2 -2
- package/esm/indicators/roc.src.js +22 -8
- package/esm/indicators/rsi.js +2 -2
- package/esm/indicators/rsi.src.js +22 -8
- package/esm/indicators/slow-stochastic.js +2 -2
- package/esm/indicators/slow-stochastic.src.js +22 -8
- package/esm/indicators/stochastic.js +2 -2
- package/esm/indicators/stochastic.src.js +22 -8
- package/esm/indicators/supertrend.js +2 -2
- package/esm/indicators/supertrend.src.js +22 -8
- package/esm/indicators/tema.js +2 -2
- package/esm/indicators/tema.src.js +22 -8
- package/esm/indicators/trendline.js +2 -2
- package/esm/indicators/trendline.src.js +22 -8
- package/esm/indicators/trix.js +2 -2
- package/esm/indicators/trix.src.js +22 -8
- package/esm/indicators/volume-by-price.js +2 -2
- package/esm/indicators/volume-by-price.src.js +23 -10
- package/esm/indicators/vwap.js +2 -2
- package/esm/indicators/vwap.src.js +22 -8
- package/esm/indicators/williams-r.js +2 -2
- package/esm/indicators/williams-r.src.js +22 -8
- package/esm/indicators/wma.js +2 -2
- package/esm/indicators/wma.src.js +22 -8
- package/esm/indicators/zigzag.js +2 -2
- package/esm/indicators/zigzag.src.js +22 -8
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +498 -32
- package/esm/modules/annotations-advanced.js +11 -11
- package/esm/modules/annotations-advanced.src.js +201 -141
- package/esm/modules/annotations.js +11 -11
- package/esm/modules/annotations.src.js +165 -127
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +22 -8
- package/esm/modules/arrow-symbols.js +3 -3
- package/esm/modules/arrow-symbols.src.js +22 -8
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +32 -11
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +45 -11
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +22 -8
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +23 -9
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +30 -11
- package/esm/modules/contour.js +3 -3
- package/esm/modules/contour.src.js +46 -13
- package/esm/modules/current-date-indicator.js +2 -2
- package/esm/modules/current-date-indicator.src.js +22 -8
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +38 -19
- package/esm/modules/data-sorting.js +2 -2
- package/esm/modules/data-sorting.src.js +22 -8
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +25 -11
- package/esm/modules/data.js +4 -4
- package/esm/modules/data.src.js +23 -9
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +23 -9
- package/esm/modules/debugger.js +2 -2
- package/esm/modules/debugger.src.js +22 -8
- package/esm/modules/dependency-wheel.js +2 -2
- package/esm/modules/dependency-wheel.src.js +428 -17
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +25 -10
- package/esm/modules/drag-panes.js +2 -2
- package/esm/modules/drag-panes.src.js +22 -8
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +23 -10
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +34 -22
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +36 -19
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +27 -9
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +77 -31
- package/esm/modules/flowmap.js +3 -2
- package/esm/modules/flowmap.src.js +23 -8
- package/esm/modules/full-screen.js +2 -2
- package/esm/modules/full-screen.src.js +22 -8
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +72 -41
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +22 -8
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +450 -25
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +28 -14
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +30 -9
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +29 -12
- package/esm/modules/heikinashi.js +2 -2
- package/esm/modules/heikinashi.src.js +22 -8
- package/esm/modules/histogram-bellcurve.js +2 -2
- package/esm/modules/histogram-bellcurve.src.js +42 -23
- package/esm/modules/hollowcandlestick.js +2 -2
- package/esm/modules/hollowcandlestick.src.js +31 -17
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +55 -8
- package/esm/modules/lollipop.js +2 -2
- package/esm/modules/lollipop.src.js +22 -8
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +84 -35
- package/esm/modules/marker-clusters.js +2 -2
- package/esm/modules/marker-clusters.src.js +25 -13
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +52 -11
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +488 -30
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +57 -26
- package/esm/modules/no-data-to-display.js +2 -2
- package/esm/modules/no-data-to-display.src.js +22 -8
- package/esm/modules/non-cartesian-zoom.js +2 -2
- package/esm/modules/non-cartesian-zoom.src.js +22 -8
- package/esm/modules/offline-exporting.js +2 -2
- package/esm/modules/offline-exporting.src.js +53 -12
- package/esm/modules/organization.js +4 -2
- package/esm/modules/organization.src.js +61 -18
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +25 -8
- package/esm/modules/pareto.js +2 -2
- package/esm/modules/pareto.src.js +31 -16
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +22 -8
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +22 -8
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +27 -14
- package/esm/modules/pointandfigure.js +2 -2
- package/esm/modules/pointandfigure.src.js +26 -11
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +22 -8
- package/esm/modules/pyramid3d.js +2 -2
- package/esm/modules/pyramid3d.src.js +22 -8
- package/esm/modules/renko.js +2 -2
- package/esm/modules/renko.src.js +22 -8
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +26 -12
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +25 -12
- package/esm/modules/series-on-point.js +2 -2
- package/esm/modules/series-on-point.src.js +23 -9
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +39 -19
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +27 -12
- package/esm/modules/static-scale.js +2 -2
- package/esm/modules/static-scale.src.js +22 -8
- package/esm/modules/stock-tools.js +3 -3
- package/esm/modules/stock-tools.src.js +59 -18
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +465 -47
- package/esm/modules/streamgraph.js +2 -2
- package/esm/modules/streamgraph.src.js +22 -8
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +70 -20
- package/esm/modules/textpath.js +2 -2
- package/esm/modules/textpath.src.js +22 -8
- package/esm/modules/tiledwebmap.js +3 -3
- package/esm/modules/tiledwebmap.src.js +37 -14
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +25 -10
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +31 -11
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +43 -20
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +31 -10
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +55 -15
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +25 -10
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +22 -8
- package/esm/modules/vector.js +2 -2
- package/esm/modules/vector.src.js +28 -16
- package/esm/modules/venn.js +2 -2
- package/esm/modules/venn.src.js +28 -13
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +28 -16
- package/esm/modules/wordcloud.js +2 -2
- package/esm/modules/wordcloud.src.js +25 -9
- package/esm/modules/xrange.js +2 -2
- package/esm/modules/xrange.src.js +29 -15
- package/esm/standalone-navigator.js +5 -5
- package/esm/standalone-navigator.src.js +461 -329
- package/esm/themes/adaptive.js +3 -3
- package/esm/themes/adaptive.src.js +22 -8
- package/esm/themes/avocado.js +2 -2
- package/esm/themes/avocado.src.js +22 -8
- package/esm/themes/dark-unica.js +2 -2
- package/esm/themes/dark-unica.src.js +22 -8
- package/esm/themes/grid-light.js +2 -2
- package/esm/themes/grid-light.src.js +22 -8
- package/esm/themes/high-contrast.js +2 -2
- package/esm/themes/high-contrast.src.js +22 -8
- package/esm/themes/sand-signika.js +2 -2
- package/esm/themes/sand-signika.src.js +22 -8
- package/esm/themes/sunset.js +2 -2
- package/esm/themes/sunset.src.js +22 -8
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +78 -62
- package/highcharts-autoload.d.ts +7 -3
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +7 -3
- package/highcharts-autoload.src.js +418 -298
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +458 -318
- package/highcharts-more.d.ts +7 -3
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.d.ts +7 -3
- package/highcharts-more.src.js +1224 -1040
- package/highcharts.d.ts +34734 -25643
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +34734 -25643
- package/highcharts.src.js +417 -297
- package/highmaps.js +4 -4
- package/highmaps.src.js +482 -320
- package/highstock.js +4 -4
- package/highstock.src.js +497 -337
- package/i18n/fr-FR.js +2 -2
- package/i18n/fr-FR.src.js +32 -16
- package/i18n/nb-NO.js +2 -2
- package/i18n/nb-NO.src.js +32 -16
- package/i18n/zh-CN.js +2 -2
- package/i18n/zh-CN.src.js +32 -16
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +31 -16
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +31 -16
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +31 -16
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +31 -16
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +31 -16
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +31 -16
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +31 -16
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +31 -16
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +31 -16
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +31 -16
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +31 -16
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +31 -16
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +31 -16
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +31 -16
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +31 -16
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +31 -16
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +41 -26
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +45 -31
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +38 -23
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +31 -16
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +31 -16
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +31 -16
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +31 -16
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +31 -16
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +31 -16
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +31 -16
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +31 -16
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +31 -16
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +31 -16
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +31 -16
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +31 -16
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +31 -16
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +31 -16
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +31 -16
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +31 -16
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +31 -16
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +31 -16
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +31 -16
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +31 -16
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +31 -16
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +32 -18
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +31 -16
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +31 -16
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +31 -16
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +31 -16
- package/modules/accessibility.d.ts +47 -0
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.d.ts +47 -0
- package/modules/accessibility.src.js +537 -70
- package/modules/annotations-advanced.js +11 -11
- package/modules/annotations-advanced.src.js +223 -162
- package/modules/annotations.js +11 -11
- package/modules/annotations.src.js +187 -148
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +43 -28
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +28 -13
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +41 -19
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +54 -19
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +31 -16
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +35 -20
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +48 -28
- package/modules/contour.js +5 -5
- package/modules/contour.src.js +74 -34
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +28 -13
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +59 -39
- package/modules/data-sorting.js +2 -2
- package/modules/data-sorting.src.js +28 -13
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +31 -16
- package/modules/data.js +2 -2
- package/modules/data.src.js +50 -35
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +37 -22
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +28 -13
- package/modules/dependency-wheel.d.ts +7 -1
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.d.ts +7 -1
- package/modules/dependency-wheel.src.js +440 -28
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +34 -18
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +28 -13
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +29 -15
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +45 -32
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +50 -32
- package/modules/export-data.d.ts +66 -1
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.d.ts +66 -1
- package/modules/export-data.src.js +41 -22
- package/modules/exporting.d.ts +0 -103
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.d.ts +0 -103
- package/modules/exporting.src.js +91 -44
- package/modules/flowmap.js +3 -2
- package/modules/flowmap.src.js +32 -16
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +31 -16
- package/modules/funnel.d.ts +3 -3
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.d.ts +3 -3
- package/modules/funnel.src.js +81 -49
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +43 -28
- package/modules/gantt.d.ts +47 -0
- package/modules/gantt.js +8 -8
- package/modules/gantt.src.d.ts +47 -0
- package/modules/gantt.src.js +510 -81
- package/modules/geoheatmap.d.ts +13 -0
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.d.ts +13 -0
- package/modules/geoheatmap.src.js +37 -22
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +39 -17
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.js +64 -40
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +31 -16
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +56 -36
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +45 -30
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +64 -16
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +36 -21
- package/modules/map.d.ts +0 -8
- package/modules/map.js +4 -4
- package/modules/map.src.d.ts +0 -8
- package/modules/map.src.js +131 -74
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +31 -18
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +58 -16
- package/modules/navigator.d.ts +47 -0
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.d.ts +47 -0
- package/modules/navigator.src.js +510 -51
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +69 -37
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +31 -16
- package/modules/non-cartesian-zoom.js +2 -2
- package/modules/non-cartesian-zoom.src.js +28 -13
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +67 -25
- package/modules/organization.js +4 -2
- package/modules/organization.src.js +73 -29
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +36 -18
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +45 -29
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +31 -16
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +28 -13
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +53 -38
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +35 -19
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +28 -13
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +31 -16
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +34 -19
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +47 -32
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +36 -22
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +40 -25
- package/modules/solid-gauge.d.ts +3 -3
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.d.ts +3 -3
- package/modules/solid-gauge.src.js +53 -32
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +38 -22
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +28 -13
- package/modules/stock-tools.js +3 -3
- package/modules/stock-tools.src.js +76 -34
- package/modules/stock.d.ts +47 -0
- package/modules/stock.js +6 -6
- package/modules/stock.src.d.ts +47 -0
- package/modules/stock.src.js +549 -100
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +31 -16
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +97 -46
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +28 -13
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +58 -27
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +39 -23
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +43 -22
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +67 -43
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +49 -27
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +82 -41
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +34 -18
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +31 -16
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +37 -24
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +42 -26
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +50 -37
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +34 -17
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +43 -28
- package/options/abands.d.ts +722 -83
- package/options/abands.src.d.ts +722 -83
- package/options/ad.d.ts +381 -26
- package/options/ad.src.d.ts +381 -26
- package/options/ao.d.ts +744 -70
- package/options/ao.src.d.ts +744 -70
- package/options/apo.d.ts +381 -26
- package/options/apo.src.d.ts +381 -26
- package/options/arcdiagram.d.ts +80 -534
- package/options/arcdiagram.src.d.ts +80 -534
- package/options/area.d.ts +432 -129
- package/options/area.src.d.ts +432 -129
- package/options/arearange.d.ts +46 -4
- package/options/arearange.src.d.ts +46 -4
- package/options/areaspline.d.ts +141 -866
- package/options/areaspline.src.d.ts +141 -866
- package/options/areasplinerange.d.ts +221 -871
- package/options/areasplinerange.src.d.ts +221 -871
- package/options/aroon.d.ts +432 -124
- package/options/aroon.src.d.ts +432 -124
- package/options/aroonoscillator.d.ts +127 -689
- package/options/aroonoscillator.src.d.ts +127 -689
- package/options/atr.d.ts +381 -71
- package/options/atr.src.d.ts +381 -71
- package/options/bar.d.ts +103 -12
- package/options/bar.src.d.ts +103 -12
- package/options/bb.d.ts +87 -762
- package/options/bb.src.d.ts +87 -762
- package/options/bellcurve.d.ts +87 -364
- package/options/bellcurve.src.d.ts +87 -364
- package/options/boxplot.d.ts +82 -13
- package/options/boxplot.src.d.ts +82 -13
- package/options/bubble.d.ts +83 -874
- package/options/bubble.src.d.ts +83 -874
- package/options/bullet.d.ts +354 -717
- package/options/bullet.src.d.ts +354 -717
- package/options/candlestick.d.ts +99 -1214
- package/options/candlestick.src.d.ts +99 -1214
- package/options/cci.d.ts +381 -26
- package/options/cci.src.d.ts +381 -26
- package/options/chaikin.d.ts +728 -83
- package/options/chaikin.src.d.ts +728 -83
- package/options/cmf.d.ts +381 -26
- package/options/cmf.src.d.ts +381 -26
- package/options/cmo.d.ts +730 -79
- package/options/cmo.src.d.ts +730 -79
- package/options/column.d.ts +1265 -99
- package/options/column.src.d.ts +1265 -99
- package/options/columnpyramid.d.ts +102 -1158
- package/options/columnpyramid.src.d.ts +102 -1158
- package/options/columnrange.d.ts +952 -95
- package/options/columnrange.src.d.ts +952 -95
- package/options/contour.d.ts +31 -443
- package/options/contour.src.d.ts +31 -443
- package/options/cylinder.d.ts +100 -12
- package/options/cylinder.src.d.ts +100 -12
- package/options/dema.d.ts +80 -736
- package/options/dema.src.d.ts +80 -736
- package/options/dependencywheel.d.ts +599 -218
- package/options/dependencywheel.src.d.ts +599 -218
- package/options/disparityindex.d.ts +84 -365
- package/options/disparityindex.src.d.ts +84 -365
- package/options/dmi.d.ts +86 -775
- package/options/dmi.src.d.ts +86 -775
- package/options/dpo.d.ts +83 -365
- package/options/dpo.src.d.ts +83 -365
- package/options/dumbbell.d.ts +27 -4
- package/options/dumbbell.src.d.ts +27 -4
- package/options/ema.d.ts +81 -703
- package/options/ema.src.d.ts +81 -703
- package/options/errorbar.d.ts +91 -1161
- package/options/errorbar.src.d.ts +91 -1161
- package/options/flags.d.ts +98 -1192
- package/options/flags.src.d.ts +98 -1192
- package/options/flowmap.d.ts +48 -373
- package/options/flowmap.src.d.ts +48 -373
- package/options/funnel.d.ts +40 -3
- package/options/funnel.src.d.ts +40 -3
- package/options/gantt.d.ts +37 -40
- package/options/gantt.src.d.ts +37 -40
- package/options/gauge.d.ts +398 -472
- package/options/gauge.src.d.ts +398 -472
- package/options/geoheatmap.d.ts +462 -63
- package/options/geoheatmap.src.d.ts +462 -63
- package/options/heatmap.d.ts +31 -380
- package/options/heatmap.src.d.ts +31 -380
- package/options/heikinashi.d.ts +20 -2
- package/options/heikinashi.src.d.ts +20 -2
- package/options/hlc.d.ts +20 -2
- package/options/hlc.src.d.ts +20 -2
- package/options/ikh.d.ts +750 -103
- package/options/ikh.src.d.ts +750 -103
- package/options/item.d.ts +34 -74
- package/options/item.src.d.ts +34 -74
- package/options/keltnerchannels.d.ts +87 -708
- package/options/keltnerchannels.src.d.ts +87 -708
- package/options/klinger.d.ts +34 -365
- package/options/klinger.src.d.ts +34 -365
- package/options/line.d.ts +151 -851
- package/options/line.src.d.ts +151 -851
- package/options/linearregression.d.ts +960 -85
- package/options/linearregression.src.d.ts +960 -85
- package/options/linearregressionangle.d.ts +96 -699
- package/options/linearregressionangle.src.d.ts +96 -699
- package/options/linearregressionintercept.d.ts +381 -26
- package/options/linearregressionintercept.src.d.ts +381 -26
- package/options/linearregressionslope.d.ts +381 -26
- package/options/linearregressionslope.src.d.ts +381 -26
- package/options/lollipop.d.ts +214 -851
- package/options/lollipop.src.d.ts +214 -851
- package/options/macd.d.ts +386 -83
- package/options/macd.src.d.ts +386 -83
- package/options/map.d.ts +470 -36
- package/options/map.src.d.ts +470 -36
- package/options/mapbubble.d.ts +43 -532
- package/options/mapbubble.src.d.ts +43 -532
- package/options/mapline.d.ts +135 -58
- package/options/mapline.src.d.ts +135 -58
- package/options/mappoint.d.ts +205 -283
- package/options/mappoint.src.d.ts +205 -283
- package/options/mfi.d.ts +772 -82
- package/options/mfi.src.d.ts +772 -82
- package/options/momentum.d.ts +381 -71
- package/options/momentum.src.d.ts +381 -71
- package/options/natr.d.ts +776 -75
- package/options/natr.src.d.ts +776 -75
- package/options/networkgraph.d.ts +184 -207
- package/options/networkgraph.src.d.ts +184 -207
- package/options/obv.d.ts +426 -26
- package/options/obv.src.d.ts +426 -26
- package/options/ohlc.d.ts +77 -14
- package/options/ohlc.src.d.ts +77 -14
- package/options/packedbubble.d.ts +76 -696
- package/options/packedbubble.src.d.ts +76 -696
- package/options/pareto.d.ts +28 -364
- package/options/pareto.src.d.ts +28 -364
- package/options/pc.d.ts +724 -85
- package/options/pc.src.d.ts +724 -85
- package/options/pictorial.d.ts +1093 -58
- package/options/pictorial.src.d.ts +1093 -58
- package/options/pie.d.ts +595 -129
- package/options/pie.src.d.ts +595 -129
- package/options/pivotpoints.d.ts +34 -365
- package/options/pivotpoints.src.d.ts +34 -365
- package/options/pointandfigure.d.ts +10 -50
- package/options/pointandfigure.src.d.ts +10 -50
- package/options/polygon.d.ts +803 -74
- package/options/polygon.src.d.ts +803 -74
- package/options/ppo.d.ts +34 -365
- package/options/ppo.src.d.ts +34 -365
- package/options/priceenvelopes.d.ts +93 -719
- package/options/priceenvelopes.src.d.ts +93 -719
- package/options/psar.d.ts +34 -365
- package/options/psar.src.d.ts +34 -365
- package/options/pyramid.d.ts +35 -3
- package/options/pyramid.src.d.ts +35 -3
- package/options/renko.d.ts +25 -2
- package/options/renko.src.d.ts +25 -2
- package/options/roc.d.ts +78 -712
- package/options/roc.src.d.ts +78 -712
- package/options/rsi.d.ts +34 -365
- package/options/rsi.src.d.ts +34 -365
- package/options/sankey.d.ts +27 -5
- package/options/sankey.src.d.ts +27 -5
- package/options/scatter.d.ts +896 -290
- package/options/scatter.src.d.ts +896 -290
- package/options/series.d.ts +938 -83
- package/options/series.src.d.ts +938 -83
- package/options/slowstochastic.d.ts +381 -26
- package/options/slowstochastic.src.d.ts +381 -26
- package/options/sma.d.ts +729 -79
- package/options/sma.src.d.ts +729 -79
- package/options/solidgauge.d.ts +882 -105
- package/options/solidgauge.src.d.ts +882 -105
- package/options/spline.d.ts +389 -90
- package/options/spline.src.d.ts +389 -90
- package/options/stochastic.d.ts +83 -716
- package/options/stochastic.src.d.ts +83 -716
- package/options/streamgraph.d.ts +97 -364
- package/options/streamgraph.src.d.ts +97 -364
- package/options/sunburst.d.ts +87 -19
- package/options/sunburst.src.d.ts +87 -19
- package/options/supertrend.d.ts +77 -749
- package/options/supertrend.src.d.ts +77 -749
- package/options/tema.d.ts +83 -365
- package/options/tema.src.d.ts +83 -365
- package/options/tiledwebmap.d.ts +13 -72
- package/options/tiledwebmap.src.d.ts +13 -72
- package/options/tilemap.d.ts +372 -533
- package/options/tilemap.src.d.ts +372 -533
- package/options/timeline.d.ts +49 -154
- package/options/timeline.src.d.ts +49 -154
- package/options/treegraph.d.ts +174 -696
- package/options/treegraph.src.d.ts +174 -696
- package/options/treemap.d.ts +468 -1079
- package/options/treemap.src.d.ts +468 -1079
- package/options/trendline.d.ts +381 -26
- package/options/trendline.src.d.ts +381 -26
- package/options/trix.d.ts +712 -82
- package/options/trix.src.d.ts +712 -82
- package/options/variablepie.d.ts +130 -587
- package/options/variablepie.src.d.ts +130 -587
- package/options/variwide.d.ts +1123 -94
- package/options/variwide.src.d.ts +1123 -94
- package/options/vbp.d.ts +57 -383
- package/options/vbp.src.d.ts +57 -383
- package/options/vector.d.ts +22 -58
- package/options/vector.src.d.ts +22 -58
- package/options/venn.d.ts +32 -78
- package/options/venn.src.d.ts +32 -78
- package/options/vwap.d.ts +122 -703
- package/options/vwap.src.d.ts +122 -703
- package/options/waterfall.d.ts +139 -1150
- package/options/waterfall.src.d.ts +139 -1150
- package/options/williamsr.d.ts +381 -76
- package/options/williamsr.src.d.ts +381 -76
- package/options/windbarb.d.ts +39 -2
- package/options/windbarb.src.d.ts +39 -2
- package/options/wma.d.ts +78 -704
- package/options/wma.src.d.ts +78 -704
- package/options/wordcloud.d.ts +98 -595
- package/options/wordcloud.src.d.ts +98 -595
- package/options/xrange.d.ts +166 -1056
- package/options/xrange.src.d.ts +166 -1056
- package/options/zigzag.d.ts +34 -410
- package/options/zigzag.src.d.ts +34 -410
- package/package.json +3 -2
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +482 -312
- package/themes/adaptive.js +2 -2
- package/themes/adaptive.src.js +33 -18
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +28 -13
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +28 -13
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +28 -13
- package/themes/high-contrast.js +2 -2
- package/themes/high-contrast.src.js +28 -13
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +28 -13
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +28 -13
- package/css/.stylelintrc.json +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highcharts JS v13.0.
|
|
2
|
+
* @license Highcharts JS v13.0.1 (2026-08-17)
|
|
3
3
|
* @module highcharts/highcharts-autoload
|
|
4
4
|
*
|
|
5
5
|
* (c) 2009-2024 Torstein Honsi
|
|
@@ -19,16 +19,31 @@
|
|
|
19
19
|
return /******/ (() => { // webpackBootstrap
|
|
20
20
|
/******/ "use strict";
|
|
21
21
|
/******/ // The require scope
|
|
22
|
-
/******/
|
|
22
|
+
/******/ const __webpack_require__ = {};
|
|
23
23
|
/******/
|
|
24
24
|
/************************************************************************/
|
|
25
25
|
/******/ /* webpack/runtime/define property getters */
|
|
26
26
|
/******/ (() => {
|
|
27
|
-
/******/ // define getter functions for harmony exports
|
|
27
|
+
/******/ // define getter/value functions for harmony exports
|
|
28
28
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|
29
|
-
/******/
|
|
30
|
-
/******/
|
|
31
|
-
/******/
|
|
29
|
+
/******/ if(Array.isArray(definition)) {
|
|
30
|
+
/******/ var i = 0;
|
|
31
|
+
/******/ while(i < definition.length) {
|
|
32
|
+
/******/ var key = definition[i++];
|
|
33
|
+
/******/ var binding = definition[i++];
|
|
34
|
+
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
35
|
+
/******/ if(binding === 0) {
|
|
36
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
37
|
+
/******/ } else {
|
|
38
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
39
|
+
/******/ }
|
|
40
|
+
/******/ } else if(binding === 0) { i++; }
|
|
41
|
+
/******/ }
|
|
42
|
+
/******/ } else {
|
|
43
|
+
/******/ for(var key in definition) {
|
|
44
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
45
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
46
|
+
/******/ }
|
|
32
47
|
/******/ }
|
|
33
48
|
/******/ }
|
|
34
49
|
/******/ };
|
|
@@ -40,7 +55,7 @@ return /******/ (() => { // webpackBootstrap
|
|
|
40
55
|
/******/ })();
|
|
41
56
|
/******/
|
|
42
57
|
/************************************************************************/
|
|
43
|
-
|
|
58
|
+
let __webpack_exports__ = {};
|
|
44
59
|
|
|
45
60
|
// EXPORTS
|
|
46
61
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -76,7 +91,7 @@ var Globals;
|
|
|
76
91
|
* Constants
|
|
77
92
|
*
|
|
78
93
|
* */
|
|
79
|
-
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '13.0.
|
|
94
|
+
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '13.0.1', Globals.win = (typeof window !== 'undefined' ?
|
|
80
95
|
window :
|
|
81
96
|
{}), // eslint-disable-line node/no-unsupported-features/es-builtins
|
|
82
97
|
Globals.doc = Globals.win.document, Globals.svg = !!Globals.doc?.createElementNS?.(Globals.SVG_NS, 'svg')?.createSVGRect, Globals.pageLang = Globals.doc?.documentElement?.closest('[lang]')?.lang, Globals.userAgent = Globals.win.navigator?.userAgent || '', Globals.isChrome = Globals.win.chrome, Globals.isFirefox = Globals.userAgent.indexOf('Firefox') !== -1, Globals.isMS = /(edge|msie|trident)/i.test(Globals.userAgent) && !Globals.win.opera, Globals.isSafari = !Globals.isChrome && Globals.userAgent.indexOf('Safari') !== -1, Globals.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(Globals.userAgent), Globals.isWebKit = Globals.userAgent.indexOf('AppleWebKit') !== -1, Globals.deg2rad = Math.PI * 2 / 360, Globals.marginNames = [
|
|
@@ -991,7 +1006,7 @@ const ChartDefaults = {
|
|
|
991
1006
|
* @type {Highcharts.ColorType}
|
|
992
1007
|
* @since 2.1.7
|
|
993
1008
|
*/
|
|
994
|
-
selectionMarkerFill: 'color-mix(var(--highcharts-highlight-color-80) 25%, transparent)', // eslint-disable-line max-len
|
|
1009
|
+
selectionMarkerFill: 'color-mix(in srgb, var(--highcharts-highlight-color-80) 25%, transparent)', // eslint-disable-line max-len
|
|
995
1010
|
/**
|
|
996
1011
|
* Whether to apply a drop shadow to the global series group. This causes
|
|
997
1012
|
* all the series to have the same shadow. Contrary to the `series.shadow`
|
|
@@ -3954,17 +3969,16 @@ class TimeBase {
|
|
|
3954
3969
|
// eslint-disable-next-line new-cap
|
|
3955
3970
|
let d = this.Date.UTC(year, month, date, hours, minutes || 0, seconds || 0, milliseconds || 0);
|
|
3956
3971
|
if (this.timezone !== 'UTC') {
|
|
3957
|
-
const offset = this.getTimezoneOffset(d);
|
|
3972
|
+
const offset = this.getTimezoneOffset(d), localHours = (hours - offset / timeUnits.hour + 24) % 24;
|
|
3958
3973
|
d += offset;
|
|
3959
|
-
// Adjustments close to DST transitions
|
|
3960
3974
|
if (
|
|
3961
|
-
//
|
|
3962
|
-
//
|
|
3975
|
+
// Limit the number of calls to `getTimezoneOffset` to months
|
|
3976
|
+
// where DST changes may occur. According to
|
|
3963
3977
|
// https://en.wikipedia.org/wiki/Daylight_saving_time_by_country,
|
|
3964
3978
|
// DST change may only occur in these months.
|
|
3965
3979
|
[2, 3, 8, 9, 10, 11].indexOf(month) !== -1 &&
|
|
3966
|
-
// DST
|
|
3967
|
-
(
|
|
3980
|
+
// DST changes only occur at night (#24420)
|
|
3981
|
+
(localHours < 5 || localHours > 20)) {
|
|
3968
3982
|
const newOffset = this.getTimezoneOffset(d);
|
|
3969
3983
|
if (offset !== newOffset) {
|
|
3970
3984
|
d += newOffset - offset;
|
|
@@ -6701,6 +6715,9 @@ const defaultOptions = {
|
|
|
6701
6715
|
* below the column, but as `followTouchMove` is true, the tooltip will
|
|
6702
6716
|
* jump from column to column as the user swipes across the plot area.
|
|
6703
6717
|
*
|
|
6718
|
+
* @sample {highcharts} highcharts/tooltip/followtouchmove/
|
|
6719
|
+
* Tooltip follows touch move
|
|
6720
|
+
*
|
|
6704
6721
|
* @type {boolean}
|
|
6705
6722
|
* @default {highcharts} true
|
|
6706
6723
|
* @default {highstock} true
|
|
@@ -7483,10 +7500,14 @@ const defaultOptions = {
|
|
|
7483
7500
|
* @type {Highcharts.CSSObject}
|
|
7484
7501
|
*/
|
|
7485
7502
|
style: {
|
|
7486
|
-
/**
|
|
7503
|
+
/**
|
|
7504
|
+
* @type {Highcharts.ColorType}
|
|
7505
|
+
*/
|
|
7487
7506
|
color: 'var(--highcharts-neutral-color-80)',
|
|
7488
7507
|
cursor: 'default',
|
|
7489
|
-
/**
|
|
7508
|
+
/**
|
|
7509
|
+
* @type {number|string}
|
|
7510
|
+
*/
|
|
7490
7511
|
fontSize: '0.8em'
|
|
7491
7512
|
},
|
|
7492
7513
|
/**
|
|
@@ -8409,24 +8430,22 @@ class Fx {
|
|
|
8409
8430
|
*/
|
|
8410
8431
|
update() {
|
|
8411
8432
|
const elem = this.elem, prop = this.prop, // If destroyed, it is null
|
|
8412
|
-
now = this.now, step = this.options.step;
|
|
8433
|
+
now = this.now ?? 1, step = this.options.step;
|
|
8413
8434
|
// Animation setter defined from outside
|
|
8414
8435
|
if (this[prop + 'Setter']) {
|
|
8415
8436
|
this[prop + 'Setter']();
|
|
8416
8437
|
// Other animations on SVGElement
|
|
8417
8438
|
}
|
|
8418
|
-
else if (elem.attr) {
|
|
8439
|
+
else if (elem && elem.attr) {
|
|
8419
8440
|
if (elem.element) {
|
|
8420
|
-
elem.attr(prop, now,
|
|
8441
|
+
elem.attr(prop, now, void 0, true);
|
|
8421
8442
|
}
|
|
8422
8443
|
// HTML styles, raw HTML content like container size
|
|
8423
8444
|
}
|
|
8424
|
-
else {
|
|
8425
|
-
elem.style[prop] = now + this.unit;
|
|
8426
|
-
}
|
|
8427
|
-
if (step) {
|
|
8428
|
-
step.call(elem, now, this);
|
|
8445
|
+
else if (elem) {
|
|
8446
|
+
elem.style[prop] = now + (this.unit || '');
|
|
8429
8447
|
}
|
|
8448
|
+
step?.call(elem, now, this);
|
|
8430
8449
|
}
|
|
8431
8450
|
/**
|
|
8432
8451
|
* Run an animation.
|
|
@@ -8444,12 +8463,10 @@ class Fx {
|
|
|
8444
8463
|
*
|
|
8445
8464
|
*/
|
|
8446
8465
|
run(from, to, unit) {
|
|
8447
|
-
const
|
|
8448
|
-
return timer.stopped ? false : self.step(gotoEnd);
|
|
8449
|
-
}, requestAnimationFrame = Fx_win.requestAnimationFrame ||
|
|
8466
|
+
const { elem, options } = this, { complete, curAnim = {} } = options, timer = (gotoEnd) => (timer.stopped ? false : this.step(gotoEnd)), requestAnimationFrame = Fx_win.requestAnimationFrame ||
|
|
8450
8467
|
function (step) {
|
|
8451
8468
|
setTimeout(step, 13);
|
|
8452
|
-
}, step =
|
|
8469
|
+
}, step = () => {
|
|
8453
8470
|
for (let i = 0; i < Fx.timers.length; i++) {
|
|
8454
8471
|
if (!Fx.timers[i]()) {
|
|
8455
8472
|
Fx.timers.splice(i--, 1);
|
|
@@ -8459,11 +8476,11 @@ class Fx {
|
|
|
8459
8476
|
requestAnimationFrame(step);
|
|
8460
8477
|
}
|
|
8461
8478
|
};
|
|
8462
|
-
if (from === to && !
|
|
8463
|
-
delete
|
|
8464
|
-
if (
|
|
8465
|
-
Object.keys(
|
|
8466
|
-
|
|
8479
|
+
if (from === to && !elem['forceAnimate:' + this.prop]) {
|
|
8480
|
+
delete curAnim[this.prop];
|
|
8481
|
+
if (complete &&
|
|
8482
|
+
Object.keys(curAnim).length === 0) {
|
|
8483
|
+
complete.call(elem);
|
|
8467
8484
|
}
|
|
8468
8485
|
}
|
|
8469
8486
|
else { // #7166
|
|
@@ -8473,7 +8490,7 @@ class Fx {
|
|
|
8473
8490
|
this.unit = unit;
|
|
8474
8491
|
this.now = this.start;
|
|
8475
8492
|
this.pos = 0;
|
|
8476
|
-
timer.elem =
|
|
8493
|
+
timer.elem = elem;
|
|
8477
8494
|
timer.prop = this.prop;
|
|
8478
8495
|
if (timer() && Fx.timers.push(timer) === 1) {
|
|
8479
8496
|
requestAnimationFrame(step);
|
|
@@ -8494,7 +8511,8 @@ class Fx {
|
|
|
8494
8511
|
step(gotoEnd) {
|
|
8495
8512
|
const t = +new Date(), options = this.options, elem = this.elem, complete = options.complete, duration = options.duration, curAnim = options.curAnim;
|
|
8496
8513
|
let ret, done;
|
|
8497
|
-
|
|
8514
|
+
// #2616, element is destroyed
|
|
8515
|
+
if (elem?.attr && !elem.element) {
|
|
8498
8516
|
ret = false;
|
|
8499
8517
|
}
|
|
8500
8518
|
else if (gotoEnd || t >= duration + this.startTime) {
|
|
@@ -8784,6 +8802,11 @@ function getDeferredAnimation(chart, animation, series) {
|
|
|
8784
8802
|
/**
|
|
8785
8803
|
* The global animate method, which uses Fx to create individual animators.
|
|
8786
8804
|
*
|
|
8805
|
+
* @sample highcharts/members/renderer-basic
|
|
8806
|
+
* SVG elements with animation
|
|
8807
|
+
* @sample highcharts/members/animate
|
|
8808
|
+
* Animation without an owner element
|
|
8809
|
+
*
|
|
8787
8810
|
* @function Highcharts.animate
|
|
8788
8811
|
*
|
|
8789
8812
|
* @param {Highcharts.HTMLDOMElement|Highcharts.SVGElement} el
|
|
@@ -8799,14 +8822,12 @@ function getDeferredAnimation(chart, animation, series) {
|
|
|
8799
8822
|
*
|
|
8800
8823
|
* @return {void}
|
|
8801
8824
|
*/
|
|
8802
|
-
function animate(el, params, opt) {
|
|
8803
|
-
let start, unit = '', end, fx, args;
|
|
8825
|
+
function animate(el, params = { pos: 1 }, opt) {
|
|
8804
8826
|
if (!isObject(opt)) { // Number or undefined/null
|
|
8805
|
-
args = arguments;
|
|
8806
8827
|
opt = {
|
|
8807
|
-
duration:
|
|
8808
|
-
easing:
|
|
8809
|
-
complete:
|
|
8828
|
+
duration: arguments[2],
|
|
8829
|
+
easing: arguments[3],
|
|
8830
|
+
complete: arguments[4]
|
|
8810
8831
|
};
|
|
8811
8832
|
}
|
|
8812
8833
|
if (!isNumber(opt.duration)) {
|
|
@@ -8816,22 +8837,23 @@ function animate(el, params, opt) {
|
|
|
8816
8837
|
opt.easing :
|
|
8817
8838
|
(Math[opt.easing] || Math.easeInOutSine);
|
|
8818
8839
|
opt.curAnim = merge(params);
|
|
8819
|
-
objectEach(params,
|
|
8840
|
+
objectEach(params, (val, prop) => {
|
|
8820
8841
|
// Stop current running animation of this property
|
|
8821
|
-
|
|
8822
|
-
|
|
8823
|
-
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
|
|
8827
|
-
|
|
8842
|
+
if (el) {
|
|
8843
|
+
stop(el, prop);
|
|
8844
|
+
}
|
|
8845
|
+
const fx = new Animation_Fx(el, opt, prop), d = params.d;
|
|
8846
|
+
let start = 0, end = void 0, unit = '';
|
|
8847
|
+
if (prop === 'd' && isArray(d)) {
|
|
8848
|
+
fx.paths = fx.initPath(el, el.pathArray, d);
|
|
8849
|
+
fx.toD = d;
|
|
8828
8850
|
end = 1;
|
|
8829
8851
|
}
|
|
8830
|
-
else if (el
|
|
8852
|
+
else if (el?.attr) {
|
|
8831
8853
|
start = el.attr(prop);
|
|
8832
8854
|
}
|
|
8833
|
-
else {
|
|
8834
|
-
start =
|
|
8855
|
+
else if (el) {
|
|
8856
|
+
start = +(getStyle(el, prop) || 0);
|
|
8835
8857
|
if (prop !== 'opacity') {
|
|
8836
8858
|
unit = 'px';
|
|
8837
8859
|
}
|
|
@@ -8842,7 +8864,10 @@ function animate(el, params, opt) {
|
|
|
8842
8864
|
if (typeof end === 'string' && end.match('px')) {
|
|
8843
8865
|
end = end.replace(/px/g, ''); // #4351
|
|
8844
8866
|
}
|
|
8845
|
-
|
|
8867
|
+
// Empty dashstyle animation crashes treemap on hover
|
|
8868
|
+
if (defined(end)) {
|
|
8869
|
+
fx.run(start, end, unit);
|
|
8870
|
+
}
|
|
8846
8871
|
});
|
|
8847
8872
|
}
|
|
8848
8873
|
/**
|
|
@@ -8866,28 +8891,11 @@ function animate(el, params, opt) {
|
|
|
8866
8891
|
* improvement in all cases where we stop the animation from .attr. Instead of
|
|
8867
8892
|
* stopping everything, we can just stop the actual attributes we're setting.
|
|
8868
8893
|
*/
|
|
8869
|
-
|
|
8870
|
-
|
|
8871
|
-
|
|
8872
|
-
while (i--) {
|
|
8873
|
-
if (Animation_Fx.timers[i].elem === el && (!prop || prop === Animation_Fx.timers[i].prop)) {
|
|
8874
|
-
Animation_Fx.timers[i].stopped = true; // #4667
|
|
8875
|
-
}
|
|
8894
|
+
const stop = (el, prop) => Animation_Fx.timers.forEach((timer) => {
|
|
8895
|
+
if (timer.elem === el && (!prop || prop === timer.prop)) {
|
|
8896
|
+
timer.stopped = true; // #4667
|
|
8876
8897
|
}
|
|
8877
|
-
}
|
|
8878
|
-
const animationExports = {
|
|
8879
|
-
animate,
|
|
8880
|
-
animObject,
|
|
8881
|
-
getDeferredAnimation,
|
|
8882
|
-
setAnimation,
|
|
8883
|
-
stop
|
|
8884
|
-
};
|
|
8885
|
-
/* *
|
|
8886
|
-
*
|
|
8887
|
-
* Default Export
|
|
8888
|
-
*
|
|
8889
|
-
* */
|
|
8890
|
-
/* harmony default export */ const AnimationUtilities = (animationExports);
|
|
8898
|
+
});
|
|
8891
8899
|
/* *
|
|
8892
8900
|
*
|
|
8893
8901
|
* API Options
|
|
@@ -9192,7 +9200,9 @@ class AST {
|
|
|
9192
9200
|
doc = { body };
|
|
9193
9201
|
}
|
|
9194
9202
|
const appendChildNodes = (node, addTo) => {
|
|
9195
|
-
|
|
9203
|
+
// Preserve the camelCase of SVG tags via localName (#24702).
|
|
9204
|
+
const tagName = node.localName ||
|
|
9205
|
+
node.nodeName.toLowerCase();
|
|
9196
9206
|
// Add allowed tags
|
|
9197
9207
|
const astNode = {
|
|
9198
9208
|
tagName
|
|
@@ -9306,6 +9316,8 @@ AST.allowedAttributes = [
|
|
|
9306
9316
|
'src',
|
|
9307
9317
|
'startOffset',
|
|
9308
9318
|
'stdDeviation',
|
|
9319
|
+
'stop-color',
|
|
9320
|
+
'stop-opacity',
|
|
9309
9321
|
'stroke-linecap',
|
|
9310
9322
|
'stroke-width',
|
|
9311
9323
|
'stroke',
|
|
@@ -9909,9 +9921,7 @@ const Templating = {
|
|
|
9909
9921
|
* API Declarations
|
|
9910
9922
|
* */
|
|
9911
9923
|
/**
|
|
9912
|
-
*
|
|
9913
|
-
*
|
|
9914
|
-
* The Highcharts.Templating interface provides a structure for defining
|
|
9924
|
+
* The Highcharts.TemplatingObject interface provides a structure for defining
|
|
9915
9925
|
* helpers. Helpers can be used as conditional blocks or functions within
|
|
9916
9926
|
* expressions. Highcharts includes several built-in helpers and supports
|
|
9917
9927
|
* the addition of custom helpers.
|
|
@@ -9919,16 +9929,21 @@ const Templating = {
|
|
|
9919
9929
|
* @see [More information](
|
|
9920
9930
|
* https://www.highcharts.com/docs/chart-concepts/templating#helpers)
|
|
9921
9931
|
*
|
|
9922
|
-
* @
|
|
9923
|
-
|
|
9924
|
-
|
|
9925
|
-
|
|
9926
|
-
|
|
9927
|
-
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
+
* @interface Highcharts.TemplatingObject
|
|
9933
|
+
*/ /**
|
|
9934
|
+
* @example
|
|
9935
|
+
* // Define a custom helper to return the absolute value of a number
|
|
9936
|
+
* Highcharts.Templating.helpers.abs = value => Math.abs(value);
|
|
9937
|
+
*
|
|
9938
|
+
* // Usage in a format string
|
|
9939
|
+
* format: 'Absolute value: {abs point.y}'
|
|
9940
|
+
*
|
|
9941
|
+
* @name Highcharts.TemplatingObject#helpers
|
|
9942
|
+
* @type {Record<string, Function>}
|
|
9943
|
+
*/ /**
|
|
9944
|
+
* @name Highcharts.Templating
|
|
9945
|
+
* @type {Highcharts.TemplatingObject}
|
|
9946
|
+
*/
|
|
9932
9947
|
(''); // Keeps doclets above in file
|
|
9933
9948
|
|
|
9934
9949
|
;// ./code/es-modules/Core/Renderer/RendererUtilities.js
|
|
@@ -10137,7 +10152,6 @@ var RendererUtilities;
|
|
|
10137
10152
|
* */
|
|
10138
10153
|
|
|
10139
10154
|
|
|
10140
|
-
const { animate: SVGElement_animate, animObject: SVGElement_animObject, stop: SVGElement_stop } = AnimationUtilities;
|
|
10141
10155
|
|
|
10142
10156
|
|
|
10143
10157
|
const { deg2rad, doc: SVGElement_doc, svg, SVG_NS: SVGElement_SVG_NS, win: SVGElement_win, isFirefox } = Core_Globals;
|
|
@@ -10421,7 +10435,7 @@ class SVGElement {
|
|
|
10421
10435
|
* Returns the SVGElement for chaining.
|
|
10422
10436
|
*/
|
|
10423
10437
|
animate(params, options, complete) {
|
|
10424
|
-
const animOptions =
|
|
10438
|
+
const animOptions = animObject(pick(options, this.renderer.globalAnimation, true)), deferTime = animOptions.defer;
|
|
10425
10439
|
// When the page is hidden save resources in the background by not
|
|
10426
10440
|
// running animation at all (#9749).
|
|
10427
10441
|
if (SVGElement_doc.hidden) {
|
|
@@ -10436,7 +10450,7 @@ class SVGElement {
|
|
|
10436
10450
|
// If defer option is defined delay the animation #12901
|
|
10437
10451
|
syncTimeout(() => {
|
|
10438
10452
|
if (this.element) {
|
|
10439
|
-
|
|
10453
|
+
animate(this, params, animOptions);
|
|
10440
10454
|
}
|
|
10441
10455
|
}, deferTime);
|
|
10442
10456
|
}
|
|
@@ -10610,7 +10624,7 @@ class SVGElement {
|
|
|
10610
10624
|
// Unless .attr is from the animator update, stop current
|
|
10611
10625
|
// running animation of this property
|
|
10612
10626
|
if (!continueAnimation) {
|
|
10613
|
-
|
|
10627
|
+
stop(this, key);
|
|
10614
10628
|
}
|
|
10615
10629
|
// Special handling of symbol attributes
|
|
10616
10630
|
if (this.symbolName &&
|
|
@@ -10930,7 +10944,7 @@ class SVGElement {
|
|
|
10930
10944
|
// Remove events
|
|
10931
10945
|
element.onclick = element.onmouseout = element.onmouseover =
|
|
10932
10946
|
element.onmousemove = element.point = null;
|
|
10933
|
-
|
|
10947
|
+
stop(wrapper); // Stop running animations
|
|
10934
10948
|
if (wrapper.clipPath && ownerSVGElement) {
|
|
10935
10949
|
const clipPath = wrapper.clipPath;
|
|
10936
10950
|
// Look for existing references to this clipPath and remove them
|
|
@@ -13842,7 +13856,7 @@ class SVGRenderer {
|
|
|
13842
13856
|
this.url = this.getReferenceURL();
|
|
13843
13857
|
// Add description
|
|
13844
13858
|
const desc = this.createElement('desc').add();
|
|
13845
|
-
desc.element.appendChild(SVGRenderer_doc.createTextNode('Created with Highcharts 13.0.
|
|
13859
|
+
desc.element.appendChild(SVGRenderer_doc.createTextNode('Created with Highcharts 13.0.1'));
|
|
13846
13860
|
this.defs = this.createElement('defs').add();
|
|
13847
13861
|
this.allowHTML = allowHTML;
|
|
13848
13862
|
this.forExport = forExport;
|
|
@@ -15633,7 +15647,11 @@ class HTMLElement extends SVG_SVGElement {
|
|
|
15633
15647
|
.attr({
|
|
15634
15648
|
text: str,
|
|
15635
15649
|
x: Math.round(x),
|
|
15636
|
-
y: Math.round(y)
|
|
15650
|
+
y: Math.round(y),
|
|
15651
|
+
// The namespace attribute is required for serialization
|
|
15652
|
+
// (export and side-by-side comparison), otherwise it
|
|
15653
|
+
// inherits the SVG namespace from foreignObject.
|
|
15654
|
+
xmlns: 'http://www.w3.org/1999/xhtml'
|
|
15637
15655
|
});
|
|
15638
15656
|
};
|
|
15639
15657
|
}
|
|
@@ -15813,8 +15831,10 @@ class HTMLElement extends SVG_SVGElement {
|
|
|
15813
15831
|
foreignObject.attr({
|
|
15814
15832
|
x: x + (this.xCorr || 0),
|
|
15815
15833
|
y: y + (this.yCorr || 0),
|
|
15816
|
-
// Add 4px to avoid ellipsis
|
|
15817
|
-
//
|
|
15834
|
+
// Add 4px to avoid ellipsis. In v13.0.0 we had a body inside
|
|
15835
|
+
// the foreignObject with a 3px right margin. This was later
|
|
15836
|
+
// removed, but we still need to add a few pixels to avoid
|
|
15837
|
+
// ellipsis.
|
|
15818
15838
|
width: element.offsetWidth + 4,
|
|
15819
15839
|
// Add 1px to account for subpixel bounding boxes
|
|
15820
15840
|
height: element.offsetHeight + 1,
|
|
@@ -15834,25 +15854,16 @@ class HTMLElement extends SVG_SVGElement {
|
|
|
15834
15854
|
this.cTT = currentTextTransform;
|
|
15835
15855
|
}
|
|
15836
15856
|
/**
|
|
15837
|
-
* Add the element to
|
|
15838
|
-
* will be created for each ancestor SVG `g` element.
|
|
15857
|
+
* Add the element to the foreign object
|
|
15839
15858
|
*
|
|
15840
15859
|
* @internal
|
|
15841
15860
|
*/
|
|
15842
15861
|
add(parentGroup) {
|
|
15843
|
-
const { foreignObject
|
|
15862
|
+
const { foreignObject } = this;
|
|
15844
15863
|
// Foreign object
|
|
15845
15864
|
foreignObject.add(parentGroup);
|
|
15846
|
-
|
|
15847
|
-
|
|
15848
|
-
renderer.createElement('body')
|
|
15849
|
-
.attr({ xmlns: 'http://www.w3.org/1999/xhtml' })
|
|
15850
|
-
.css({
|
|
15851
|
-
background: 'transparent',
|
|
15852
|
-
// 3px is to avoid clipping on the right
|
|
15853
|
-
margin: '0 3px 0 0'
|
|
15854
|
-
})
|
|
15855
|
-
.add(foreignObject));
|
|
15865
|
+
// Add this.element to the foreign objct
|
|
15866
|
+
super.add(foreignObject);
|
|
15856
15867
|
if (this.alignOnAdd) {
|
|
15857
15868
|
this.updateTransform();
|
|
15858
15869
|
}
|
|
@@ -15887,10 +15898,20 @@ class HTMLElement extends SVG_SVGElement {
|
|
|
15887
15898
|
this[key] = value;
|
|
15888
15899
|
this.doTransform = true;
|
|
15889
15900
|
}
|
|
15901
|
+
/**
|
|
15902
|
+
* Apply visibility/opacity to the foreignObject; the HTML element
|
|
15903
|
+
* ignores them.
|
|
15904
|
+
* @internal
|
|
15905
|
+
*/
|
|
15906
|
+
visibilitySetter(value, key) {
|
|
15907
|
+
this.foreignObject.attr({ [key]: value });
|
|
15908
|
+
this[key] = value;
|
|
15909
|
+
}
|
|
15890
15910
|
}
|
|
15891
15911
|
// Some shared setters
|
|
15892
15912
|
const proto = HTMLElement.prototype;
|
|
15893
15913
|
proto.ySetter = proto.xSetter;
|
|
15914
|
+
proto.opacitySetter = proto.visibilitySetter;
|
|
15894
15915
|
/* *
|
|
15895
15916
|
*
|
|
15896
15917
|
* Default Export
|
|
@@ -16431,6 +16452,7 @@ var AxisDefaults;
|
|
|
16431
16452
|
*/
|
|
16432
16453
|
dateTimeLabelFormats: {
|
|
16433
16454
|
/**
|
|
16455
|
+
* @type {Highcharts.AxisDateTimeLabelFormatsOptionsObject|string}
|
|
16434
16456
|
* @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
|
|
16435
16457
|
*/
|
|
16436
16458
|
millisecond: {
|
|
@@ -16456,6 +16478,7 @@ var AxisDefaults;
|
|
|
16456
16478
|
range: false
|
|
16457
16479
|
},
|
|
16458
16480
|
/**
|
|
16481
|
+
* @type {Highcharts.AxisDateTimeLabelFormatsOptionsObject|string}
|
|
16459
16482
|
* @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
|
|
16460
16483
|
*/
|
|
16461
16484
|
second: {
|
|
@@ -16481,6 +16504,7 @@ var AxisDefaults;
|
|
|
16481
16504
|
range: false
|
|
16482
16505
|
},
|
|
16483
16506
|
/**
|
|
16507
|
+
* @type {Highcharts.AxisDateTimeLabelFormatsOptionsObject|string}
|
|
16484
16508
|
* @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
|
|
16485
16509
|
*/
|
|
16486
16510
|
minute: {
|
|
@@ -16506,6 +16530,7 @@ var AxisDefaults;
|
|
|
16506
16530
|
range: false
|
|
16507
16531
|
},
|
|
16508
16532
|
/**
|
|
16533
|
+
* @type {Highcharts.AxisDateTimeLabelFormatsOptionsObject|string}
|
|
16509
16534
|
* @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
|
|
16510
16535
|
*/
|
|
16511
16536
|
hour: {
|
|
@@ -16538,6 +16563,7 @@ var AxisDefaults;
|
|
|
16538
16563
|
range: false
|
|
16539
16564
|
},
|
|
16540
16565
|
/**
|
|
16566
|
+
* @type {Highcharts.AxisDateTimeLabelFormatsOptionsObject|string}
|
|
16541
16567
|
* @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
|
|
16542
16568
|
*/
|
|
16543
16569
|
day: {
|
|
@@ -16560,6 +16586,7 @@ var AxisDefaults;
|
|
|
16560
16586
|
boundary: '%[eb]'
|
|
16561
16587
|
},
|
|
16562
16588
|
/**
|
|
16589
|
+
* @type {Highcharts.AxisDateTimeLabelFormatsOptionsObject|string}
|
|
16563
16590
|
* @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
|
|
16564
16591
|
*/
|
|
16565
16592
|
week: {
|
|
@@ -16575,6 +16602,7 @@ var AxisDefaults;
|
|
|
16575
16602
|
main: '%[eb]'
|
|
16576
16603
|
},
|
|
16577
16604
|
/**
|
|
16605
|
+
* @type {Highcharts.AxisDateTimeLabelFormatsOptionsObject|string}
|
|
16578
16606
|
* @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
|
|
16579
16607
|
*/
|
|
16580
16608
|
month: {
|
|
@@ -16597,6 +16625,7 @@ var AxisDefaults;
|
|
|
16597
16625
|
boundary: void 0
|
|
16598
16626
|
},
|
|
16599
16627
|
/**
|
|
16628
|
+
* @type {Highcharts.AxisDateTimeLabelFormatsOptionsObject|string}
|
|
16600
16629
|
* @declare Highcharts.AxisDateTimeLabelFormatsOptionsObject
|
|
16601
16630
|
*/
|
|
16602
16631
|
year: {
|
|
@@ -17412,7 +17441,7 @@ var AxisDefaults;
|
|
|
17412
17441
|
* @sample {highstock} stock/xaxis/offset/
|
|
17413
17442
|
* Y axis offset by 70 px
|
|
17414
17443
|
*
|
|
17415
|
-
* @type {number}
|
|
17444
|
+
* @type {number|string}
|
|
17416
17445
|
*/
|
|
17417
17446
|
offset: void 0,
|
|
17418
17447
|
/**
|
|
@@ -19062,7 +19091,9 @@ var AxisDefaults;
|
|
|
19062
19091
|
* @product highcharts
|
|
19063
19092
|
*/
|
|
19064
19093
|
style: {
|
|
19065
|
-
/**
|
|
19094
|
+
/**
|
|
19095
|
+
* @type {Highcharts.ColorType}
|
|
19096
|
+
*/
|
|
19066
19097
|
color: 'var(--highcharts-neutral-color-100)',
|
|
19067
19098
|
/**
|
|
19068
19099
|
* @type {number|string}
|
|
@@ -19845,7 +19876,6 @@ class Tick {
|
|
|
19845
19876
|
* */
|
|
19846
19877
|
|
|
19847
19878
|
|
|
19848
|
-
const { animObject: Axis_animObject } = AnimationUtilities;
|
|
19849
19879
|
|
|
19850
19880
|
const { xAxis, yAxis } = Axis_AxisDefaults;
|
|
19851
19881
|
|
|
@@ -22451,7 +22481,7 @@ class Axis {
|
|
|
22451
22481
|
* @emits Highcharts.Axis#event:afterRender
|
|
22452
22482
|
*/
|
|
22453
22483
|
render() {
|
|
22454
|
-
const axis = this, chart = axis.chart, log = axis.logarithmic, renderer = chart.renderer, options = axis.options, isLinked = axis.isLinked, tickPositions = axis.tickPositions, axisTitle = axis.axisTitle, ticks = axis.ticks, minorTicks = axis.minorTicks, alternateBands = axis.alternateBands, stackLabelOptions = options.stackLabels, alternateGridColor = options.alternateGridColor, crossing = options.crossing, tickmarkOffset = axis.tickmarkOffset, axisLine = axis.axisLine, showAxis = axis.showAxis, animation =
|
|
22484
|
+
const axis = this, chart = axis.chart, log = axis.logarithmic, renderer = chart.renderer, options = axis.options, isLinked = axis.isLinked, tickPositions = axis.tickPositions, axisTitle = axis.axisTitle, ticks = axis.ticks, minorTicks = axis.minorTicks, alternateBands = axis.alternateBands, stackLabelOptions = options.stackLabels, alternateGridColor = options.alternateGridColor, crossing = options.crossing, tickmarkOffset = axis.tickmarkOffset, axisLine = axis.axisLine, showAxis = axis.showAxis, animation = animObject(renderer.globalAnimation);
|
|
22455
22485
|
let from, to;
|
|
22456
22486
|
// Reset
|
|
22457
22487
|
axis.labelEdge.length = 0;
|
|
@@ -22802,7 +22832,7 @@ class Axis {
|
|
|
22802
22832
|
}
|
|
22803
22833
|
cross
|
|
22804
22834
|
.show()
|
|
22805
|
-
.animate({ d: path },
|
|
22835
|
+
.animate({ d: path }, animObject(options?.animation));
|
|
22806
22836
|
if (categorized && !options.width) {
|
|
22807
22837
|
cross.attr({
|
|
22808
22838
|
'stroke-width': this.transA
|
|
@@ -24840,7 +24870,6 @@ class PlotLineOrBand {
|
|
|
24840
24870
|
* */
|
|
24841
24871
|
|
|
24842
24872
|
|
|
24843
|
-
const { animObject: Tooltip_animObject } = AnimationUtilities;
|
|
24844
24873
|
|
|
24845
24874
|
const { format: Tooltip_format } = Core_Templating;
|
|
24846
24875
|
|
|
@@ -25541,7 +25570,7 @@ class Tooltip {
|
|
|
25541
25570
|
* @param {number} anchorY
|
|
25542
25571
|
*/
|
|
25543
25572
|
move(x, y, anchorX, anchorY) {
|
|
25544
|
-
const { followPointer, options } = this, animation =
|
|
25573
|
+
const { followPointer, options } = this, animation = animObject(!followPointer &&
|
|
25545
25574
|
!this.isHidden &&
|
|
25546
25575
|
!options.fixed &&
|
|
25547
25576
|
options.animation), skipAnchor = followPointer || (this.len || 0) > 1, attr = { x, y };
|
|
@@ -26289,7 +26318,6 @@ class Tooltip {
|
|
|
26289
26318
|
|
|
26290
26319
|
|
|
26291
26320
|
|
|
26292
|
-
const { animObject: Point_animObject } = AnimationUtilities;
|
|
26293
26321
|
|
|
26294
26322
|
const { defaultOptions: Point_defaultOptions } = Defaults;
|
|
26295
26323
|
|
|
@@ -26629,10 +26657,15 @@ class Point {
|
|
|
26629
26657
|
*
|
|
26630
26658
|
* @internal
|
|
26631
26659
|
* @function Highcharts.Point#destroy
|
|
26660
|
+
*
|
|
26661
|
+
* @param {boolean} [sync]
|
|
26662
|
+
* Whether to destroy the point synchronously. Used internally from
|
|
26663
|
+
* series.destroy, where condemned points may cause animation errors
|
|
26664
|
+
* (#24976).
|
|
26632
26665
|
*/
|
|
26633
|
-
destroy() {
|
|
26634
|
-
if (!this.condemned) {
|
|
26635
|
-
const point = this, series = point.series, chart = series.chart, hoverPoints = chart.hoverPoints, globalAnimation = point.series.chart.renderer.globalAnimation, { duration } =
|
|
26666
|
+
destroy(sync) {
|
|
26667
|
+
if (!this.destroyed && !this.condemned) {
|
|
26668
|
+
const point = this, series = point.series, chart = series.chart, hoverPoints = chart.hoverPoints, globalAnimation = point.series.chart.renderer.globalAnimation, { duration } = animObject(globalAnimation);
|
|
26636
26669
|
/**
|
|
26637
26670
|
* Allow to call after animation.
|
|
26638
26671
|
* @internal
|
|
@@ -26649,6 +26682,7 @@ class Point {
|
|
|
26649
26682
|
for (const prop in point) { // eslint-disable-line guard-for-in
|
|
26650
26683
|
delete point[prop];
|
|
26651
26684
|
}
|
|
26685
|
+
this.destroyed = true;
|
|
26652
26686
|
};
|
|
26653
26687
|
if (point.legendItem) {
|
|
26654
26688
|
// Pies have legend items
|
|
@@ -26665,7 +26699,7 @@ class Point {
|
|
|
26665
26699
|
point.onMouseOut();
|
|
26666
26700
|
}
|
|
26667
26701
|
// Remove properties after animation
|
|
26668
|
-
if (duration && series.condemnedPoints) {
|
|
26702
|
+
if (duration && !sync && series.condemnedPoints) {
|
|
26669
26703
|
series.condemnedPoints.push(this);
|
|
26670
26704
|
this.graphic?.addClass('highcharts-point-condemned');
|
|
26671
26705
|
setTimeout(destroyPoint, duration);
|
|
@@ -26788,14 +26822,15 @@ class Point {
|
|
|
26788
26822
|
*
|
|
26789
26823
|
* @function Highcharts.Point#getZone
|
|
26790
26824
|
*
|
|
26791
|
-
* @return {Highcharts.SeriesZonesOptionsObject}
|
|
26792
|
-
* The zone item.
|
|
26825
|
+
* @return {Highcharts.SeriesZonesOptionsObject|undefined}
|
|
26826
|
+
* The zone item, or `undefined` if the series has no zones.
|
|
26793
26827
|
*/
|
|
26794
26828
|
getZone() {
|
|
26795
26829
|
const series = this.series, zones = series.zones, zoneAxis = series.zoneAxis || 'y';
|
|
26796
26830
|
let zone, i = 0;
|
|
26797
26831
|
zone = zones[i];
|
|
26798
|
-
while (
|
|
26832
|
+
while (i < zones.length &&
|
|
26833
|
+
this[zoneAxis] >= zone.value) {
|
|
26799
26834
|
zone = zones[++i];
|
|
26800
26835
|
}
|
|
26801
26836
|
// For resetting or reusing the point (#8100)
|
|
@@ -27335,9 +27370,8 @@ class Point {
|
|
|
27335
27370
|
* @emits Highcharts.Point#event:afterSetState
|
|
27336
27371
|
*/
|
|
27337
27372
|
setState(state, move) {
|
|
27338
|
-
const point = this, series = point.series, previousState = point.state, stateOptions =
|
|
27339
|
-
|
|
27340
|
-
series.options.marker), normalDisabled = (markerOptions && markerOptions.enabled === false), markerStateOptions = markerOptions?.states?.[state || 'normal'] ||
|
|
27373
|
+
const point = this, series = point.series, previousState = point.state, stateOptions = series.options.states?.[state || 'normal'] || {}, markerOptions = (Point_defaultOptions.plotOptions?.[series.type]?.marker &&
|
|
27374
|
+
series.options.marker), normalDisabled = markerOptions?.enabled === false, markerStateOptions = markerOptions?.states?.[state || 'normal'] ||
|
|
27341
27375
|
{}, stateDisabled = markerStateOptions.enabled === false, pointMarker = point.marker || {}, chart = series.chart, hasMarkers = (markerOptions && series.markerAttribs);
|
|
27342
27376
|
let halo = series.halo, markerAttribs, pointAttribs, pointAttribsAnimation, stateMarkerGraphic = series.stateMarkerGraphic, newSymbol;
|
|
27343
27377
|
state = state || ''; // Empty string
|
|
@@ -27350,13 +27384,10 @@ class Point {
|
|
|
27350
27384
|
(stateOptions.enabled === false) ||
|
|
27351
27385
|
// General point marker's state options is disabled
|
|
27352
27386
|
(state && (stateDisabled ||
|
|
27353
|
-
(normalDisabled &&
|
|
27354
|
-
markerStateOptions.enabled === false))) ||
|
|
27387
|
+
(normalDisabled && markerStateOptions.enabled === false))) ||
|
|
27355
27388
|
// Individual point marker's state options is disabled
|
|
27356
27389
|
(state &&
|
|
27357
|
-
pointMarker.states
|
|
27358
|
-
pointMarker.states[state] &&
|
|
27359
|
-
pointMarker.states[state].enabled === false) // #1610
|
|
27390
|
+
pointMarker.states?.[state]?.enabled === false) // #1610
|
|
27360
27391
|
) {
|
|
27361
27392
|
return;
|
|
27362
27393
|
}
|
|
@@ -27375,7 +27406,8 @@ class Point {
|
|
|
27375
27406
|
}
|
|
27376
27407
|
if (!chart.styledMode) {
|
|
27377
27408
|
pointAttribs = series.pointAttribs(point, state);
|
|
27378
|
-
pointAttribsAnimation =
|
|
27409
|
+
pointAttribsAnimation = (chart.options.chart.animation ??
|
|
27410
|
+
stateOptions.animation);
|
|
27379
27411
|
const opacity = pointAttribs.opacity;
|
|
27380
27412
|
// Some inactive points (e.g. slices in pie) should apply
|
|
27381
27413
|
// opacity also for their labels
|
|
@@ -27393,9 +27425,11 @@ class Point {
|
|
|
27393
27425
|
point.graphic.animate(pointAttribs, pointAttribsAnimation);
|
|
27394
27426
|
}
|
|
27395
27427
|
if (markerAttribs) {
|
|
27396
|
-
point.graphic.animate(markerAttribs,
|
|
27428
|
+
point.graphic.animate(markerAttribs, (
|
|
27397
27429
|
// Turn off globally:
|
|
27398
|
-
chart.options.chart.animation
|
|
27430
|
+
chart.options.chart.animation ??
|
|
27431
|
+
markerStateOptions.animation ??
|
|
27432
|
+
markerOptions.animation));
|
|
27399
27433
|
}
|
|
27400
27434
|
// Zooming in from a range with no markers to a range with markers
|
|
27401
27435
|
if (stateMarkerGraphic) {
|
|
@@ -27444,10 +27478,12 @@ class Point {
|
|
|
27444
27478
|
}
|
|
27445
27479
|
}
|
|
27446
27480
|
// Show me your halo
|
|
27447
|
-
const haloOptions = stateOptions.halo
|
|
27481
|
+
const haloOptions = isObject(stateOptions.halo) ?
|
|
27482
|
+
stateOptions.halo :
|
|
27483
|
+
{};
|
|
27448
27484
|
const markerGraphic = (point.graphic || stateMarkerGraphic);
|
|
27449
27485
|
const markerVisibility = markerGraphic?.visibility || 'inherit';
|
|
27450
|
-
if (haloOptions
|
|
27486
|
+
if (haloOptions.size &&
|
|
27451
27487
|
markerGraphic &&
|
|
27452
27488
|
markerVisibility !== 'hidden' &&
|
|
27453
27489
|
!point.isCluster) {
|
|
@@ -27977,6 +28013,11 @@ class Pointer {
|
|
|
27977
28013
|
}
|
|
27978
28014
|
}
|
|
27979
28015
|
}
|
|
28016
|
+
// Run a final transform with a drop trigger to display the reset
|
|
28017
|
+
// zoom button after a pinch gesture (#22128)
|
|
28018
|
+
if (e?.type === 'touchend' && this.hasDragged) {
|
|
28019
|
+
chart.transform({ trigger: 'drop' });
|
|
28020
|
+
}
|
|
27980
28021
|
if (redraw) {
|
|
27981
28022
|
chart.redraw();
|
|
27982
28023
|
}
|
|
@@ -28620,6 +28661,9 @@ class Pointer {
|
|
|
28620
28661
|
from: boxFromTouches(lastTouches),
|
|
28621
28662
|
trigger: e.type
|
|
28622
28663
|
});
|
|
28664
|
+
// Record a truthy value in order to trigger the final transform
|
|
28665
|
+
// in the drop function
|
|
28666
|
+
pointer.hasDragged = 1;
|
|
28623
28667
|
});
|
|
28624
28668
|
if (pointer.res) {
|
|
28625
28669
|
pointer.res = false;
|
|
@@ -29111,7 +29155,9 @@ class Pointer {
|
|
|
29111
29155
|
// If inside, capture touch-drag and display tooltip. If not inside,
|
|
29112
29156
|
// allow dragging the finger to scroll the page
|
|
29113
29157
|
if ((chart.tooltip?.options.followTouchMove ?? true) &&
|
|
29114
|
-
isInside
|
|
29158
|
+
isInside &&
|
|
29159
|
+
e.type === 'touchmove' &&
|
|
29160
|
+
!(chart.scrollablePixelsX || chart.scrollablePixelsY)) {
|
|
29115
29161
|
e.preventDefault();
|
|
29116
29162
|
}
|
|
29117
29163
|
}
|
|
@@ -29583,7 +29629,7 @@ class DataTableCore {
|
|
|
29583
29629
|
* Fetches the given column by the canonical column ID. Simplified version
|
|
29584
29630
|
* of the full `DataTable.getRow` method, always returning by reference.
|
|
29585
29631
|
*
|
|
29586
|
-
* @function Highcharts.DataTable#
|
|
29632
|
+
* @function Highcharts.DataTable#getColumn
|
|
29587
29633
|
*
|
|
29588
29634
|
* @param {string} columnId
|
|
29589
29635
|
* ID of the column to get.
|
|
@@ -30319,6 +30365,10 @@ const seriesDefaults = {
|
|
|
30319
30365
|
* ```
|
|
30320
30366
|
*
|
|
30321
30367
|
* @type {Highcharts.DataMappingOptionsObject}
|
|
30368
|
+
* @sample highcharts/datatable/datamapping
|
|
30369
|
+
* Basic data mapping
|
|
30370
|
+
* @sample highcharts/datatable/datamapping-dynamic
|
|
30371
|
+
* Data mapping with dynamic updates
|
|
30322
30372
|
* @sample {highcharts} highcharts/datatable/series-datatable-multiple
|
|
30323
30373
|
* Series with two data tables
|
|
30324
30374
|
* @sample {highcharts} highcharts/datatable/nested-keys
|
|
@@ -30329,6 +30379,29 @@ const seriesDefaults = {
|
|
|
30329
30379
|
* @since 13.0.0
|
|
30330
30380
|
* @apioption plotOptions.series.dataMapping
|
|
30331
30381
|
*/
|
|
30382
|
+
/**
|
|
30383
|
+
* Options for a specific series-level data table or an array of data
|
|
30384
|
+
* tables. The `dataTable` option can be either a configuration object or an
|
|
30385
|
+
* instance of the `DataTable` class. If a `DataTable` instance is passed,
|
|
30386
|
+
* it will be used directly. If a configuration object or an array is
|
|
30387
|
+
* passed, a new `DataTable` instance will be created based on the provided
|
|
30388
|
+
* configuration.
|
|
30389
|
+
*
|
|
30390
|
+
* @type {Highcharts.DataTable|Highcharts.DataTableOptionsObject|Array<Highcharts.DataTable|Highcharts.DataTableOptionsObject>}
|
|
30391
|
+
* @sample {highcharts} highcharts/datatable/series-datatable/
|
|
30392
|
+
* Series with one data table each
|
|
30393
|
+
* @sample {highcharts} highcharts/datatable/series-datatable-multiple/
|
|
30394
|
+
* Series with two data tables
|
|
30395
|
+
* @sample {highstock} stock/datatable/series-datatable/
|
|
30396
|
+
* Series with one data table each
|
|
30397
|
+
* @sample {highstock} stock/datatable/series-datatable-multiple/
|
|
30398
|
+
* Series with two data tables
|
|
30399
|
+
* @sample {highmaps} maps/datatable/series-datatable
|
|
30400
|
+
* Series-level data table
|
|
30401
|
+
*
|
|
30402
|
+
* @since 13.0.0
|
|
30403
|
+
* @apioption plotOptions.series.dataTable
|
|
30404
|
+
*/
|
|
30332
30405
|
/**
|
|
30333
30406
|
* Enable or disable the mouse tracking for a specific series. This
|
|
30334
30407
|
* includes point tooltips and click events on graphs and points. For
|
|
@@ -31212,6 +31285,7 @@ const seriesDefaults = {
|
|
|
31212
31285
|
* `series.allowPointSelect` option to true.
|
|
31213
31286
|
*
|
|
31214
31287
|
* @declare Highcharts.PointStatesSelectOptionsObject
|
|
31288
|
+
* @extends plotOptions.series.marker.states.hover
|
|
31215
31289
|
*/
|
|
31216
31290
|
select: {
|
|
31217
31291
|
/**
|
|
@@ -31788,6 +31862,7 @@ const seriesDefaults = {
|
|
|
31788
31862
|
* @sample {highmaps} maps/plotoptions/series-datalabels-box/
|
|
31789
31863
|
* Data labels box options
|
|
31790
31864
|
*
|
|
31865
|
+
* @type {number|Array<number>}
|
|
31791
31866
|
* @since 2.2.1
|
|
31792
31867
|
*/
|
|
31793
31868
|
padding: [1, 3],
|
|
@@ -31989,6 +32064,9 @@ const seriesDefaults = {
|
|
|
31989
32064
|
/**
|
|
31990
32065
|
* A collection of options for different series states.
|
|
31991
32066
|
*
|
|
32067
|
+
* In addition to the options documented under each state, any option from
|
|
32068
|
+
* the parent series type can be set, with exception of `data` and `states`.
|
|
32069
|
+
*
|
|
31992
32070
|
* @declare Highcharts.SeriesStatesOptionsObject
|
|
31993
32071
|
*/
|
|
31994
32072
|
states: {
|
|
@@ -32162,6 +32240,7 @@ const seriesDefaults = {
|
|
|
32162
32240
|
* Disabled inactive state
|
|
32163
32241
|
*
|
|
32164
32242
|
* @declare Highcharts.SeriesStatesInactiveOptionsObject
|
|
32243
|
+
* @extends plotOptions.series.states.hover
|
|
32165
32244
|
*/
|
|
32166
32245
|
inactive: {
|
|
32167
32246
|
/**
|
|
@@ -32562,7 +32641,6 @@ var SeriesRegistry;
|
|
|
32562
32641
|
* */
|
|
32563
32642
|
|
|
32564
32643
|
|
|
32565
|
-
const { animObject: Series_animObject, setAnimation: Series_setAnimation } = AnimationUtilities;
|
|
32566
32644
|
|
|
32567
32645
|
|
|
32568
32646
|
const { defaultOptions: Series_defaultOptions } = Defaults;
|
|
@@ -32700,6 +32778,13 @@ class Series {
|
|
|
32700
32778
|
* @type {number|undefined}
|
|
32701
32779
|
* @readonly
|
|
32702
32780
|
*/
|
|
32781
|
+
/**
|
|
32782
|
+
* The main group for the series' graphics.
|
|
32783
|
+
*
|
|
32784
|
+
* @name Highcharts.Series#group
|
|
32785
|
+
* @type {Highcharts.SVGElement}
|
|
32786
|
+
* @readonly
|
|
32787
|
+
*/
|
|
32703
32788
|
/**
|
|
32704
32789
|
* Contains the series' index in the `Chart.series` array.
|
|
32705
32790
|
*
|
|
@@ -32832,10 +32917,12 @@ class Series {
|
|
|
32832
32917
|
*/
|
|
32833
32918
|
series.options = series.setOptions(userOptions);
|
|
32834
32919
|
const options = series.options, visible = options.visible !== false;
|
|
32835
|
-
// Create the data table
|
|
32836
|
-
this.dataTable ?? (this.dataTable = options.dataTable
|
|
32837
|
-
|
|
32838
|
-
|
|
32920
|
+
// Create the data table or use the one passed as option
|
|
32921
|
+
this.dataTable ?? (this.dataTable = isArray(options.dataTable) ?
|
|
32922
|
+
new Data_DataTableCore() :
|
|
32923
|
+
options.dataTable?.isDataTable ?
|
|
32924
|
+
options.dataTable :
|
|
32925
|
+
new Data_DataTableCore(options.dataTable));
|
|
32839
32926
|
/**
|
|
32840
32927
|
* All child series that are linked to the current series through the
|
|
32841
32928
|
* [linkedTo](https://api.highcharts.com/highcharts/series.line.linkedTo)
|
|
@@ -33217,7 +33304,7 @@ class Series {
|
|
|
33217
33304
|
*/
|
|
33218
33305
|
getSymbol() {
|
|
33219
33306
|
const seriesMarkerOption = this.options.marker;
|
|
33220
|
-
this.getCyclic('symbol', seriesMarkerOption
|
|
33307
|
+
this.getCyclic('symbol', seriesMarkerOption?.symbol, this.chart.options.symbols);
|
|
33221
33308
|
}
|
|
33222
33309
|
/**
|
|
33223
33310
|
* Shorthand to get one of the series' data columns from `Series.dataTable`.
|
|
@@ -33413,9 +33500,10 @@ class Series {
|
|
|
33413
33500
|
if (!oldData[i].destroyed && !oldData[i].condemned) {
|
|
33414
33501
|
const pOptions = dataTable.getRowObject(i);
|
|
33415
33502
|
if (pOptions) {
|
|
33503
|
+
// Remove undefined properties, but preserve explicit
|
|
33504
|
+
// nulls (#24872)
|
|
33416
33505
|
Object.keys(pOptions).forEach((key) => {
|
|
33417
|
-
if (
|
|
33418
|
-
pOptions[key] === oldData[i].options[key]*/) {
|
|
33506
|
+
if (pOptions[key] === void 0) {
|
|
33419
33507
|
delete pOptions[key];
|
|
33420
33508
|
}
|
|
33421
33509
|
});
|
|
@@ -33820,8 +33908,12 @@ class Series {
|
|
|
33820
33908
|
}
|
|
33821
33909
|
}
|
|
33822
33910
|
}
|
|
33823
|
-
// Find the closest distance between processed points
|
|
33824
|
-
|
|
33911
|
+
// Find the closest distance between processed points. When the data was
|
|
33912
|
+
// cropped (or set out of range), read x from the freshly cropped local
|
|
33913
|
+
// `modified` table, #24858.
|
|
33914
|
+
if (modified !== table) {
|
|
33915
|
+
xData = modified.getColumn('x', true) || [];
|
|
33916
|
+
}
|
|
33825
33917
|
const closestPointRange = getClosestDistance([
|
|
33826
33918
|
logarithmic ?
|
|
33827
33919
|
xData.map(logarithmic.log2lin) :
|
|
@@ -34026,9 +34118,9 @@ class Series {
|
|
|
34026
34118
|
* Force getting extremes of a total series data range.
|
|
34027
34119
|
*/
|
|
34028
34120
|
getExtremes(yData, forceExtremesFromAll) {
|
|
34029
|
-
const { xAxis, yAxis } = this, getExtremesFromAll = forceExtremesFromAll ||
|
|
34121
|
+
const { options, xAxis, yAxis } = this, getExtremesFromAll = forceExtremesFromAll ||
|
|
34030
34122
|
this.getExtremesFromAll ||
|
|
34031
|
-
|
|
34123
|
+
options.getExtremesFromAll, // #4599, #21003
|
|
34032
34124
|
table = getExtremesFromAll && this.cropped ?
|
|
34033
34125
|
this.dataTable :
|
|
34034
34126
|
this.dataTable.getModified(), rowCount = table.rowCount, customData = yData || this.stackedYData, yAxisData = customData ?
|
|
@@ -34038,7 +34130,12 @@ class Series {
|
|
|
34038
34130
|
// non-sorted data like scatter (#7639).
|
|
34039
34131
|
shoulder = this.requireSorting && !this.is('column') ?
|
|
34040
34132
|
1 : 0,
|
|
34041
|
-
//
|
|
34133
|
+
// Used only for `cumulativeStart` (#24608)
|
|
34134
|
+
excludeShoulder = options.cumulative &&
|
|
34135
|
+
options.cumulativeStart &&
|
|
34136
|
+
shoulder &&
|
|
34137
|
+
!getExtremesFromAll,
|
|
34138
|
+
// Compensate for log X axis (#2117)
|
|
34042
34139
|
positiveValuesOnly = yAxis ? yAxis.positiveValuesOnly : false, doAll = getExtremesFromAll ||
|
|
34043
34140
|
this.cropped ||
|
|
34044
34141
|
!xAxis; // For colorAxis support
|
|
@@ -34050,10 +34147,10 @@ class Series {
|
|
|
34050
34147
|
}
|
|
34051
34148
|
for (i = 0; i < rowCount; i++) {
|
|
34052
34149
|
x = xData[i];
|
|
34053
|
-
// Check if it is within the selected x
|
|
34054
|
-
if (doAll ||
|
|
34150
|
+
// Check if it is within the selected x-axis range
|
|
34151
|
+
if ((doAll ||
|
|
34055
34152
|
((xData[i + shoulder] || x) >= xMin &&
|
|
34056
|
-
(xData[i - shoulder] || x) <= xMax)) {
|
|
34153
|
+
(xData[i - shoulder] || x) <= xMax)) && (!excludeShoulder || x >= xMin)) {
|
|
34057
34154
|
for (const values of yAxisData) {
|
|
34058
34155
|
const val = values[i];
|
|
34059
34156
|
// For points within the visible range, including the
|
|
@@ -34122,7 +34219,7 @@ class Series {
|
|
|
34122
34219
|
*/
|
|
34123
34220
|
translate() {
|
|
34124
34221
|
this.generatePoints();
|
|
34125
|
-
const series = this, { options, xAxis, yAxis } = series, { stacking, threshold } = options, {
|
|
34222
|
+
const series = this, { hasRendered, options, xAxis, yAxis } = series, { stacking, threshold } = options, { polar } = series.chart, points = series.points.concat(series.condemnedPoints), dataLength = points.length, pointPlacement = series.pointPlacementToXValue(), // #7860
|
|
34126
34223
|
dynamicallyPlaced = Boolean(pointPlacement), stackThreshold = options.startFromThreshold ? threshold : 0, nullYSubstitute = (options?.nullInteraction &&
|
|
34127
34224
|
yAxis.len);
|
|
34128
34225
|
let i, plotX, lastPlotX, stackIndicator, closestPointRangePx = Number.MAX_VALUE;
|
|
@@ -34315,7 +34412,7 @@ class Series {
|
|
|
34315
34412
|
* Initialize the animation.
|
|
34316
34413
|
*/
|
|
34317
34414
|
animate(init) {
|
|
34318
|
-
const { chart, group, markerGroup } = this, inverted = chart.inverted, animation =
|
|
34415
|
+
const { chart, group, markerGroup } = this, inverted = chart.inverted, animation = animObject(this.options.animation),
|
|
34319
34416
|
// The key for temporary animation clips
|
|
34320
34417
|
animationClipKey = [
|
|
34321
34418
|
this.getSharedClipKey(),
|
|
@@ -34411,10 +34508,11 @@ class Series {
|
|
|
34411
34508
|
*/
|
|
34412
34509
|
drawPoints(points) {
|
|
34413
34510
|
points || (points = this.points.concat(this.condemnedPoints));
|
|
34414
|
-
const series = this, chart = series.chart, styledMode = chart.styledMode, { colorAxis, options } = series, seriesMarkerOptions = options.marker, nullInteraction = options.nullInteraction, markerGroup = series[series.specialGroup || 'markerGroup'], xAxis = series.xAxis, globallyEnabled =
|
|
34415
|
-
|
|
34416
|
-
|
|
34417
|
-
seriesMarkerOptions.
|
|
34511
|
+
const series = this, chart = series.chart, styledMode = chart.styledMode, { colorAxis, options } = series, seriesMarkerOptions = options.marker || {}, nullInteraction = options.nullInteraction, markerGroup = series[series.specialGroup || 'markerGroup'], xAxis = series.xAxis, globallyEnabled = seriesMarkerOptions.enabled ??
|
|
34512
|
+
(!xAxis || xAxis.isRadial ? true : null) ??
|
|
34513
|
+
// Use larger or equal as radius is null in bubbles (#6321)
|
|
34514
|
+
((series.closestPointRangePx ?? -Infinity) >= ((seriesMarkerOptions.enabledThreshold ?? 2) *
|
|
34515
|
+
seriesMarkerOptions.radius));
|
|
34418
34516
|
let i, point, graphic, verb, pointMarkerOptions, hasPointMarker, markerAttribs;
|
|
34419
34517
|
if (seriesMarkerOptions.enabled !== false ||
|
|
34420
34518
|
series._hasPointMarkers) {
|
|
@@ -34432,7 +34530,7 @@ class Series {
|
|
|
34432
34530
|
if (shouldDrawMarker) {
|
|
34433
34531
|
// Shortcuts
|
|
34434
34532
|
const symbol = pick(pointMarkerOptions.symbol, series.symbol, 'rect');
|
|
34435
|
-
markerAttribs = series.markerAttribs(point,
|
|
34533
|
+
markerAttribs = series.markerAttribs(point, point.selected ? 'select' : '');
|
|
34436
34534
|
const isInside = point.isInside !== false;
|
|
34437
34535
|
if (!graphic &&
|
|
34438
34536
|
isInside &&
|
|
@@ -34497,15 +34595,17 @@ class Series {
|
|
|
34497
34595
|
* A hash containing those attributes that are not settable from CSS.
|
|
34498
34596
|
*/
|
|
34499
34597
|
markerAttribs(point, state) {
|
|
34500
|
-
const seriesOptions = this.options, seriesMarkerOptions = seriesOptions.marker, pointMarkerOptions = point.marker || {}, symbol = (pointMarkerOptions.symbol ||
|
|
34598
|
+
const seriesOptions = this.options, seriesMarkerOptions = seriesOptions.marker ?? {}, pointMarkerOptions = point.marker || {}, symbol = (pointMarkerOptions.symbol ||
|
|
34501
34599
|
seriesMarkerOptions.symbol), attribs = {};
|
|
34502
|
-
let seriesStateOptions, pointStateOptions, radius =
|
|
34600
|
+
let seriesStateOptions, pointStateOptions, radius = pointMarkerOptions.radius ??
|
|
34601
|
+
seriesMarkerOptions.radius;
|
|
34503
34602
|
// Handle hover and select states
|
|
34504
34603
|
if (state) {
|
|
34505
|
-
seriesStateOptions = seriesMarkerOptions
|
|
34604
|
+
seriesStateOptions = seriesMarkerOptions.states?.[state];
|
|
34506
34605
|
pointStateOptions = pointMarkerOptions.states?.[state];
|
|
34507
|
-
radius =
|
|
34508
|
-
|
|
34606
|
+
radius = pointStateOptions?.radius ??
|
|
34607
|
+
seriesStateOptions?.radius ??
|
|
34608
|
+
(radius && radius + (seriesStateOptions?.radiusPlus || 0));
|
|
34509
34609
|
}
|
|
34510
34610
|
point.hasImage = symbol && symbol.indexOf('url') === 0;
|
|
34511
34611
|
if (point.hasImage) {
|
|
@@ -34518,7 +34618,7 @@ class Series {
|
|
|
34518
34618
|
0 :
|
|
34519
34619
|
symbol === 'rect' ?
|
|
34520
34620
|
// Rectangle symbols need crisp edges, others don't
|
|
34521
|
-
seriesMarkerOptions
|
|
34621
|
+
seriesMarkerOptions.lineWidth || 0 :
|
|
34522
34622
|
1);
|
|
34523
34623
|
}
|
|
34524
34624
|
attribs.x = pos[0] - radius;
|
|
@@ -34549,8 +34649,9 @@ class Series {
|
|
|
34549
34649
|
* The presentational attributes to be set on the point.
|
|
34550
34650
|
*/
|
|
34551
34651
|
pointAttribs(point, state) {
|
|
34552
|
-
const options = this.options, seriesMarkerOptions = options.marker, pointOptions = point?.options, pointMarkerOptions = pointOptions?.marker || {}, pointColorOption = pointOptions?.color, pointColor = point?.color, zoneColor = point?.zone?.color;
|
|
34553
|
-
let
|
|
34652
|
+
const options = this.options, seriesMarkerOptions = options.marker ?? {}, pointOptions = point?.options, pointMarkerOptions = pointOptions?.marker || {}, pointColorOption = pointOptions?.color, pointColor = point?.color, zoneColor = point?.zone?.color;
|
|
34653
|
+
let color = this.color, fill, stroke, strokeWidth = pointMarkerOptions.lineWidth ??
|
|
34654
|
+
seriesMarkerOptions.lineWidth, opacity = (point?.isNull && options.nullInteraction) ? 0 : 1;
|
|
34554
34655
|
color = (pointColorOption ||
|
|
34555
34656
|
zoneColor ||
|
|
34556
34657
|
pointColor ||
|
|
@@ -34563,19 +34664,22 @@ class Series {
|
|
|
34563
34664
|
color);
|
|
34564
34665
|
// Handle hover and select states
|
|
34565
34666
|
state = state || 'normal';
|
|
34566
|
-
|
|
34567
|
-
|
|
34568
|
-
|
|
34569
|
-
|
|
34570
|
-
strokeWidth
|
|
34571
|
-
|
|
34572
|
-
|
|
34573
|
-
|
|
34574
|
-
|
|
34575
|
-
|
|
34576
|
-
|
|
34577
|
-
|
|
34578
|
-
|
|
34667
|
+
const seriesStateOptions = seriesMarkerOptions.states?.[state] || {};
|
|
34668
|
+
const pointStateOptions = pointMarkerOptions.states?.[state] || {};
|
|
34669
|
+
strokeWidth = pointStateOptions.lineWidth ??
|
|
34670
|
+
seriesStateOptions.lineWidth ??
|
|
34671
|
+
(strokeWidth || 0) + (pointStateOptions.lineWidthPlus ??
|
|
34672
|
+
seriesStateOptions.lineWidthPlus ??
|
|
34673
|
+
0);
|
|
34674
|
+
fill = (pointStateOptions.fillColor ||
|
|
34675
|
+
seriesStateOptions.fillColor ||
|
|
34676
|
+
fill);
|
|
34677
|
+
stroke = (pointStateOptions.lineColor ||
|
|
34678
|
+
seriesStateOptions.lineColor ||
|
|
34679
|
+
stroke);
|
|
34680
|
+
opacity = (pointStateOptions.opacity ??
|
|
34681
|
+
seriesStateOptions.opacity ??
|
|
34682
|
+
opacity);
|
|
34579
34683
|
return {
|
|
34580
34684
|
'stroke': stroke,
|
|
34581
34685
|
'stroke-width': strokeWidth,
|
|
@@ -34614,7 +34718,7 @@ class Series {
|
|
|
34614
34718
|
// Destroy all points with their elements
|
|
34615
34719
|
i = data.length;
|
|
34616
34720
|
while (i--) {
|
|
34617
|
-
data[i]?.destroy?.();
|
|
34721
|
+
data[i]?.destroy?.(true);
|
|
34618
34722
|
}
|
|
34619
34723
|
for (const zone of series.zones || []) {
|
|
34620
34724
|
// Destroy SVGElement's but preserve primitive props (#20426)
|
|
@@ -34641,7 +34745,7 @@ class Series {
|
|
|
34641
34745
|
erase(chart.series, series);
|
|
34642
34746
|
chart.orderItems('series');
|
|
34643
34747
|
// Clear all members
|
|
34644
|
-
objectEach(series, function (
|
|
34748
|
+
objectEach(series, function (_val, prop) {
|
|
34645
34749
|
if (!keepEventsForUpdate || prop !== 'hcEvents') {
|
|
34646
34750
|
delete series[prop];
|
|
34647
34751
|
}
|
|
@@ -34917,7 +35021,7 @@ class Series {
|
|
|
34917
35021
|
* @emits Highcharts.Series#event:afterRender
|
|
34918
35022
|
*/
|
|
34919
35023
|
render() {
|
|
34920
|
-
const series = this, { chart, options, hasRendered } = series, animOptions =
|
|
35024
|
+
const series = this, { chart, options, hasRendered } = series, animOptions = animObject(options.animation), visibility = series.visible ?
|
|
34921
35025
|
'inherit' : 'hidden', // #2597
|
|
34922
35026
|
zIndex = options.zIndex, chartSeriesGroup = chart.seriesGroup;
|
|
34923
35027
|
let animDuration = series.finishedAnimating ?
|
|
@@ -35019,7 +35123,7 @@ class Series {
|
|
|
35019
35123
|
*
|
|
35020
35124
|
* @function Highcharts.Series#searchPoint
|
|
35021
35125
|
*
|
|
35022
|
-
* @param {
|
|
35126
|
+
* @param {PointerEvent} e
|
|
35023
35127
|
* The normalized pointer event
|
|
35024
35128
|
* @param {boolean} [compareX=false]
|
|
35025
35129
|
* Search only by the X value, not Y
|
|
@@ -35051,7 +35155,7 @@ class Series {
|
|
|
35051
35155
|
// Prevent multiple k-d-trees from being built simultaneously
|
|
35052
35156
|
// (#6235)
|
|
35053
35157
|
this.buildingKdTree = true;
|
|
35054
|
-
const series = this, seriesOptions = series.options, dimensions = seriesOptions.findNearestPointBy
|
|
35158
|
+
const series = this, seriesOptions = series.options, dimensions = (seriesOptions.findNearestPointBy ?? '')
|
|
35055
35159
|
.indexOf('y') > -1 ? 2 : 1;
|
|
35056
35160
|
/**
|
|
35057
35161
|
* Internal function
|
|
@@ -35101,7 +35205,7 @@ class Series {
|
|
|
35101
35205
|
* The point to search for.
|
|
35102
35206
|
* @param {boolean} [compareX=false]
|
|
35103
35207
|
* Search only by the X value, not Y.
|
|
35104
|
-
* @param {
|
|
35208
|
+
* @param {PointerEvent} [e]
|
|
35105
35209
|
* The normalized pointer event.
|
|
35106
35210
|
* @param {Function} [suppliedPointEvaluator]
|
|
35107
35211
|
* A custom point evaluator function.
|
|
@@ -35307,11 +35411,13 @@ class Series {
|
|
|
35307
35411
|
* Both X and Y values given
|
|
35308
35412
|
* @sample highcharts/members/series-addpoint-pie/
|
|
35309
35413
|
* Append pie slice
|
|
35310
|
-
* @sample
|
|
35414
|
+
* @sample highcharts/datatable/datamapping-dynamic
|
|
35415
|
+
* Alternative approach with data table
|
|
35416
|
+
* @sample {highstock} stock/members/series-addpoint/
|
|
35311
35417
|
* Append 100 points in Highcharts Stock
|
|
35312
|
-
* @sample stock/members/series-addpoint-shift/
|
|
35418
|
+
* @sample {highstock} stock/members/series-addpoint-shift/
|
|
35313
35419
|
* Append and shift in Highcharts Stock
|
|
35314
|
-
* @sample maps/members/series-addpoint/
|
|
35420
|
+
* @sample {highmaps} maps/members/series-addpoint/
|
|
35315
35421
|
* Add a point in Highmaps
|
|
35316
35422
|
*
|
|
35317
35423
|
* @function Highcharts.Series#addPoint
|
|
@@ -35457,7 +35563,7 @@ class Series {
|
|
|
35457
35563
|
chart.redraw();
|
|
35458
35564
|
}
|
|
35459
35565
|
};
|
|
35460
|
-
|
|
35566
|
+
setAnimation(animation, chart);
|
|
35461
35567
|
redraw = pick(redraw, true);
|
|
35462
35568
|
// Fire the event with a default handler of removing the point
|
|
35463
35569
|
if (point) {
|
|
@@ -35811,10 +35917,10 @@ class Series {
|
|
|
35811
35917
|
* Determines if state should be inherited by points too.
|
|
35812
35918
|
*/
|
|
35813
35919
|
setState(state, inherit) {
|
|
35814
|
-
const series = this, { graph, options } = series, { inactiveOtherPoints, states: stateOptions } = options,
|
|
35920
|
+
const series = this, { graph, options } = series, { inactiveOtherPoints, states: stateOptions = {} } = options,
|
|
35815
35921
|
// By default a quick animation to hover/inactive,
|
|
35816
35922
|
// slower to un-hover
|
|
35817
|
-
stateAnimation = pick(stateOptions
|
|
35923
|
+
stateAnimation = pick(stateOptions[state || 'normal']?.animation, series.chart.options.chart.animation);
|
|
35818
35924
|
let { lineWidth, opacity } = options;
|
|
35819
35925
|
state = state || '';
|
|
35820
35926
|
if (series.state !== state) {
|
|
@@ -35841,9 +35947,13 @@ class Series {
|
|
|
35841
35947
|
return;
|
|
35842
35948
|
}
|
|
35843
35949
|
if (state) {
|
|
35844
|
-
lineWidth =
|
|
35845
|
-
|
|
35846
|
-
|
|
35950
|
+
lineWidth = stateOptions[state]?.lineWidth ?? (!isNumber(lineWidth) ?
|
|
35951
|
+
void 0 :
|
|
35952
|
+
// Increase by lineWidthPlus only when lineWidth
|
|
35953
|
+
// is a number.
|
|
35954
|
+
(lineWidth +
|
|
35955
|
+
(stateOptions?.[state]?.lineWidthPlus || 0))); // #4035
|
|
35956
|
+
opacity = stateOptions[state]?.opacity ?? opacity;
|
|
35847
35957
|
}
|
|
35848
35958
|
if (graph && !graph.dashstyle && isNumber(lineWidth)) {
|
|
35849
35959
|
// Animate the graph stroke-width
|
|
@@ -35887,11 +35997,7 @@ class Series {
|
|
|
35887
35997
|
* Can be either `hover` or undefined to set to normal state.
|
|
35888
35998
|
*/
|
|
35889
35999
|
setAllPointsToState(state) {
|
|
35890
|
-
this.points.forEach(
|
|
35891
|
-
if (point.setState) {
|
|
35892
|
-
point.setState(state);
|
|
35893
|
-
}
|
|
35894
|
-
});
|
|
36000
|
+
this.points.forEach((point) => point.setState?.(state));
|
|
35895
36001
|
}
|
|
35896
36002
|
/**
|
|
35897
36003
|
* Show or hide the series.
|
|
@@ -36572,7 +36678,6 @@ Series_SeriesRegistry.series = Series;
|
|
|
36572
36678
|
* */
|
|
36573
36679
|
|
|
36574
36680
|
|
|
36575
|
-
const { animObject: Legend_animObject, setAnimation: Legend_setAnimation } = AnimationUtilities;
|
|
36576
36681
|
|
|
36577
36682
|
const { registerEventOptions: Legend_registerEventOptions } = Core_Foundation;
|
|
36578
36683
|
|
|
@@ -37575,7 +37680,7 @@ class Legend {
|
|
|
37575
37680
|
}
|
|
37576
37681
|
if (currentPage > 0) {
|
|
37577
37682
|
if (typeof animation !== 'undefined') {
|
|
37578
|
-
|
|
37683
|
+
setAnimation(animation, chart);
|
|
37579
37684
|
}
|
|
37580
37685
|
this.nav.attr({
|
|
37581
37686
|
translateX: padding,
|
|
@@ -37632,7 +37737,7 @@ class Legend {
|
|
|
37632
37737
|
this.currentPage = currentPage;
|
|
37633
37738
|
this.positionCheckboxes();
|
|
37634
37739
|
// Fire event after scroll animation is complete
|
|
37635
|
-
const animOptions =
|
|
37740
|
+
const animOptions = animObject(pick(animation, chart.renderer.globalAnimation, true));
|
|
37636
37741
|
syncTimeout(() => {
|
|
37637
37742
|
fireEvent(this, 'afterScroll', { currentPage });
|
|
37638
37743
|
}, animOptions.duration);
|
|
@@ -37842,7 +37947,7 @@ class Legend {
|
|
|
37842
37947
|
*/ /**
|
|
37843
37948
|
* Related browser event.
|
|
37844
37949
|
* @name Highcharts.LegendItemClickEventObject#browserEvent
|
|
37845
|
-
* @type {
|
|
37950
|
+
* @type {PointerEvent}
|
|
37846
37951
|
*/ /**
|
|
37847
37952
|
* Prevent the default action of toggle the visibility of the series or point.
|
|
37848
37953
|
* @name Highcharts.LegendItemClickEventObject#preventDefault
|
|
@@ -37893,7 +37998,7 @@ class Legend {
|
|
|
37893
37998
|
*/ /**
|
|
37894
37999
|
* Related browser event.
|
|
37895
38000
|
* @name Highcharts.PointLegendItemClickEventObject#browserEvent
|
|
37896
|
-
* @type {
|
|
38001
|
+
* @type {PointerEvent}
|
|
37897
38002
|
*/ /**
|
|
37898
38003
|
* Whether the default action has been prevented (`true`) or not.
|
|
37899
38004
|
* @name Highcharts.PointLegendItemClickEventObject#defaultPrevented
|
|
@@ -37949,7 +38054,7 @@ class Legend {
|
|
|
37949
38054
|
*/ /**
|
|
37950
38055
|
* Related browser event.
|
|
37951
38056
|
* @name Highcharts.SeriesLegendItemClickEventObject#browserEvent
|
|
37952
|
-
* @type {
|
|
38057
|
+
* @type {PointerEvent}
|
|
37953
38058
|
*/ /**
|
|
37954
38059
|
* Whether the default action has been prevented (`true`) or not.
|
|
37955
38060
|
* @name Highcharts.SeriesLegendItemClickEventObject#defaultPrevented
|
|
@@ -37983,7 +38088,6 @@ class Legend {
|
|
|
37983
38088
|
* */
|
|
37984
38089
|
|
|
37985
38090
|
|
|
37986
|
-
const { animate: Chart_animate, animObject: Chart_animObject, setAnimation: Chart_setAnimation } = AnimationUtilities;
|
|
37987
38091
|
|
|
37988
38092
|
|
|
37989
38093
|
const { defaultOptions: Chart_defaultOptions } = Defaults;
|
|
@@ -38461,7 +38565,7 @@ class Chart {
|
|
|
38461
38565
|
redraw(animation) {
|
|
38462
38566
|
fireEvent(this, 'beforeRedraw');
|
|
38463
38567
|
const chart = this, axes = chart.hasCartesianSeries ? chart.axes : chart.colorAxis || [], series = chart.series, pointer = chart.pointer, legend = chart.legend, legendUserOptions = chart.userOptions.legend, renderer = chart.renderer, isHiddenChart = renderer.isHidden(), afterRedraw = [];
|
|
38464
|
-
let hasDirtyStacks, hasStackedSeries, i,
|
|
38568
|
+
let hasDirtyStacks, hasStackedSeries, i, redrawLegend = chart.isDirtyLegend, serie;
|
|
38465
38569
|
renderer.rootFontSize = renderer.boxWrapper.getStyle('font-size');
|
|
38466
38570
|
// Handle responsive rules, not only on resize (#6130)
|
|
38467
38571
|
if (chart.setResponsive) {
|
|
@@ -38470,7 +38574,7 @@ class Chart {
|
|
|
38470
38574
|
// Set the global animation. When chart.hasRendered is not true, the
|
|
38471
38575
|
// redraw call comes from a responsive rule and animation should not
|
|
38472
38576
|
// occur.
|
|
38473
|
-
|
|
38577
|
+
setAnimation(chart.hasRendered ? animation : false, chart);
|
|
38474
38578
|
if (isHiddenChart) {
|
|
38475
38579
|
chart.temporaryDisplay();
|
|
38476
38580
|
}
|
|
@@ -38533,6 +38637,7 @@ class Chart {
|
|
|
38533
38637
|
});
|
|
38534
38638
|
chart.getMargins(); // #3098
|
|
38535
38639
|
// If one axis is dirty, all axes must be redrawn (#792, #2169)
|
|
38640
|
+
let isDirtyBox = chart.isDirtyBox;
|
|
38536
38641
|
axes.forEach(function (axis) {
|
|
38537
38642
|
if (axis.isDirty) {
|
|
38538
38643
|
isDirtyBox = true;
|
|
@@ -39068,11 +39173,8 @@ class Chart {
|
|
|
39068
39173
|
const chartHeight = chart.chartHeight;
|
|
39069
39174
|
let chartWidth = chart.chartWidth;
|
|
39070
39175
|
// Allow table cells and flex-boxes to shrink without the chart
|
|
39071
|
-
// blocking them out (#6427)
|
|
39072
|
-
|
|
39073
|
-
if (!chart.styledMode) {
|
|
39074
|
-
css(renderTo, { overflow: 'hidden' });
|
|
39075
|
-
}
|
|
39176
|
+
// blocking them out (#6427)
|
|
39177
|
+
css(renderTo, { overflow: 'hidden' });
|
|
39076
39178
|
// Create the inner container
|
|
39077
39179
|
if (!chart.styledMode) {
|
|
39078
39180
|
containerStyle = extend({
|
|
@@ -39129,7 +39231,7 @@ class Chart {
|
|
|
39129
39231
|
// first ResizeObserver reflow
|
|
39130
39232
|
chart.containerBox = chart.getContainerBox();
|
|
39131
39233
|
// Set the initial animation from the options
|
|
39132
|
-
|
|
39234
|
+
setAnimation(void 0, chart);
|
|
39133
39235
|
chart.setClassName(optionsChart.className);
|
|
39134
39236
|
if (!chart.styledMode) {
|
|
39135
39237
|
chart.renderer.setStyle(optionsChart.style);
|
|
@@ -39324,7 +39426,7 @@ class Chart {
|
|
|
39324
39426
|
// Handle the isResizing counter
|
|
39325
39427
|
chart.isResizing += 1;
|
|
39326
39428
|
// Set the animation for the current process
|
|
39327
|
-
|
|
39429
|
+
setAnimation(animation, chart);
|
|
39328
39430
|
const globalAnimation = renderer.globalAnimation;
|
|
39329
39431
|
chart.oldChartHeight = chart.chartHeight;
|
|
39330
39432
|
chart.oldChartWidth = chart.chartWidth;
|
|
@@ -39343,7 +39445,7 @@ class Chart {
|
|
|
39343
39445
|
// Resize the container with the global animation applied if enabled
|
|
39344
39446
|
// (#2503)
|
|
39345
39447
|
if (!chart.styledMode) {
|
|
39346
|
-
(globalAnimation ?
|
|
39448
|
+
(globalAnimation ? animate : css)(chart.container, {
|
|
39347
39449
|
width: `${chartWidth + scrollablePixelsX}px`,
|
|
39348
39450
|
height: `${chartHeight + scrollablePixelsY}px`
|
|
39349
39451
|
}, globalAnimation);
|
|
@@ -39369,7 +39471,7 @@ class Chart {
|
|
|
39369
39471
|
if (chart) {
|
|
39370
39472
|
fireEvent(chart, 'endResize');
|
|
39371
39473
|
}
|
|
39372
|
-
},
|
|
39474
|
+
}, animObject(globalAnimation).duration);
|
|
39373
39475
|
}
|
|
39374
39476
|
// Handle resizing counter even if we've re-rendered or not (#20548).
|
|
39375
39477
|
chart.isResizing -= 1;
|
|
@@ -40238,7 +40340,7 @@ class Chart {
|
|
|
40238
40340
|
opacity: 0,
|
|
40239
40341
|
display: ''
|
|
40240
40342
|
});
|
|
40241
|
-
|
|
40343
|
+
animate(loadingDiv, {
|
|
40242
40344
|
opacity: loadingStyle.opacity ?? 0.5
|
|
40243
40345
|
}, {
|
|
40244
40346
|
duration: loadingOptions?.showDuration ?? 0
|
|
@@ -40266,7 +40368,7 @@ class Chart {
|
|
|
40266
40368
|
loadingDiv.className =
|
|
40267
40369
|
'highcharts-loading highcharts-loading-hidden';
|
|
40268
40370
|
if (!this.styledMode) {
|
|
40269
|
-
|
|
40371
|
+
animate(loadingDiv, {
|
|
40270
40372
|
opacity: 0
|
|
40271
40373
|
}, {
|
|
40272
40374
|
duration: options.loading?.hideDuration ?? 100,
|
|
@@ -40298,6 +40400,9 @@ class Chart {
|
|
|
40298
40400
|
* Note that when changing series data, `chart.update` may mutate the passed
|
|
40299
40401
|
* data options.
|
|
40300
40402
|
*
|
|
40403
|
+
* If the given options don't differ from the current chart options, the
|
|
40404
|
+
* update is skipped and the `afterUpdate` event is not emitted.
|
|
40405
|
+
*
|
|
40301
40406
|
* See also the
|
|
40302
40407
|
* [responsive option set](https://api.highcharts.com/highcharts/responsive).
|
|
40303
40408
|
* Switching between `responsive.rules` basically runs `chart.update` under
|
|
@@ -40342,14 +40447,24 @@ class Chart {
|
|
|
40342
40447
|
caption: 'setCaption'
|
|
40343
40448
|
}, isResponsiveOptions = options.isResponsiveOptions, itemsForRemoval = [];
|
|
40344
40449
|
let updateAllAxes, updateAllSeries, runSetSize;
|
|
40345
|
-
|
|
40450
|
+
options = diffObjects(options, chart.options);
|
|
40451
|
+
const e = {
|
|
40452
|
+
options,
|
|
40453
|
+
// Event handlers can turn this on or off to control further
|
|
40454
|
+
// processing
|
|
40455
|
+
hasChanged: !!Object.keys(options).length
|
|
40456
|
+
};
|
|
40457
|
+
fireEvent(chart, 'update', e);
|
|
40458
|
+
// If no changes are detected, stop further processing (#24805).
|
|
40459
|
+
if (!e.hasChanged) {
|
|
40460
|
+
return;
|
|
40461
|
+
}
|
|
40346
40462
|
// If there are responsive rules in action, undo the responsive rules
|
|
40347
40463
|
// before we apply the updated options and replay the responsive rules
|
|
40348
40464
|
// on top from the chart.redraw function (#9617).
|
|
40349
40465
|
if (!isResponsiveOptions) {
|
|
40350
40466
|
chart.setResponsive(false, true);
|
|
40351
40467
|
}
|
|
40352
|
-
options = diffObjects(options, chart.options);
|
|
40353
40468
|
chart.userOptions = merge(chart.userOptions, options);
|
|
40354
40469
|
// If the top-level chart option is present, some special updates are
|
|
40355
40470
|
// required
|
|
@@ -40528,7 +40643,7 @@ class Chart {
|
|
|
40528
40643
|
(isNumber(newHeight) && newHeight !== chart.chartHeight)) {
|
|
40529
40644
|
chart.setSize(newWidth, newHeight, animation);
|
|
40530
40645
|
}
|
|
40531
|
-
else if (
|
|
40646
|
+
else if (redraw ?? true) {
|
|
40532
40647
|
chart.redraw(animation);
|
|
40533
40648
|
}
|
|
40534
40649
|
fireEvent(chart, 'afterUpdate', {
|
|
@@ -40577,15 +40692,11 @@ class Chart {
|
|
|
40577
40692
|
showResetZoom() {
|
|
40578
40693
|
const chart = this, lang = chart.options.lang, btnOptions = chart.zooming.resetButton, theme = btnOptions.theme, alignTo = (btnOptions.relativeTo === 'chart' ||
|
|
40579
40694
|
btnOptions.relativeTo === 'spacingBox' ?
|
|
40580
|
-
|
|
40695
|
+
void 0 :
|
|
40581
40696
|
'plotBox');
|
|
40582
|
-
|
|
40583
|
-
function zoomOut() {
|
|
40584
|
-
chart.zoomOut();
|
|
40585
|
-
}
|
|
40586
|
-
fireEvent(this, 'beforeShowResetZoom', null, function () {
|
|
40697
|
+
fireEvent(this, 'beforeShowResetZoom', void 0, () => {
|
|
40587
40698
|
chart.resetZoomButton = chart.renderer
|
|
40588
|
-
.button(lang.resetZoom,
|
|
40699
|
+
.button(lang.resetZoom, 0, 0, () => chart.zoomOut(), theme)
|
|
40589
40700
|
.attr({
|
|
40590
40701
|
align: btnOptions.position.align,
|
|
40591
40702
|
title: lang.resetZoomTitle
|
|
@@ -40663,7 +40774,7 @@ class Chart {
|
|
|
40663
40774
|
* @function Highcharts.Chart#transform
|
|
40664
40775
|
*/
|
|
40665
40776
|
transform(params) {
|
|
40666
|
-
const { axes = this.axes, event, from = {}, reset, selection, to = {}, trigger, allowResetButton = true } = params, {
|
|
40777
|
+
const { axes = this.axes, event, from = {}, reset, selection, to = {}, trigger, allowResetButton = true } = params, { time } = this;
|
|
40667
40778
|
// Remove active points for shared tooltip
|
|
40668
40779
|
this.hoverPoints?.forEach((point) => point.setState());
|
|
40669
40780
|
fireEvent(this, 'transform', params);
|
|
@@ -40674,10 +40785,10 @@ class Chart {
|
|
|
40674
40785
|
scale = Math.abs(toLength) < 10 ?
|
|
40675
40786
|
1 :
|
|
40676
40787
|
toLength / fromLength, fromCenter = (from[xy] || 0) + fromLength / 2 - axis.pos, toCenter = (to[xy] ?? axis.pos) +
|
|
40677
|
-
toLength / 2 - axis.pos, move = fromCenter - toCenter / scale, pointRangeDirection = (
|
|
40678
|
-
(!
|
|
40679
|
-
|
|
40680
|
-
1, minPx = move;
|
|
40788
|
+
toLength / 2 - axis.pos, move = fromCenter - toCenter / scale, pointRangeDirection = ((horiz && !reversed) ||
|
|
40789
|
+
(!horiz && reversed)) ?
|
|
40790
|
+
1 :
|
|
40791
|
+
-1, minPx = move;
|
|
40681
40792
|
// Zooming in multiple panes, zoom only in the pane that receives
|
|
40682
40793
|
// the input
|
|
40683
40794
|
if (!reset && (fromCenter < 0 || fromCenter > axis.len)) {
|
|
@@ -40686,17 +40797,11 @@ class Chart {
|
|
|
40686
40797
|
// Adjust offset to ensure selection zoom triggers correctly
|
|
40687
40798
|
// (#22945)
|
|
40688
40799
|
// Set offset to 0 for ordinal axis only when zooming out, (#24545).
|
|
40689
|
-
const offset = (axis.chart.polar ||
|
|
40800
|
+
const offset = (selection || axis.chart.polar ||
|
|
40801
|
+
(axis.isOrdinal && scale <= 1)) ?
|
|
40690
40802
|
0 :
|
|
40691
40803
|
(minPointOffset * pointRangeDirection || 0), eventMin = axis.toValue(minPx, true), eventMax = axis.toValue(minPx + len / scale, true);
|
|
40692
40804
|
let newMin = eventMin + offset, newMax = eventMax - offset, allExtremes = axis.allExtremes;
|
|
40693
|
-
if (selection) {
|
|
40694
|
-
selection[axis.coll].push({
|
|
40695
|
-
axis,
|
|
40696
|
-
min: Math.min(eventMin, eventMax),
|
|
40697
|
-
max: Math.max(eventMin, eventMax)
|
|
40698
|
-
});
|
|
40699
|
-
}
|
|
40700
40805
|
if (newMin > newMax) {
|
|
40701
40806
|
[newMin, newMax] = [newMax, newMin];
|
|
40702
40807
|
}
|
|
@@ -40753,14 +40858,15 @@ class Chart {
|
|
|
40753
40858
|
}
|
|
40754
40859
|
// Set new extremes if they are actually new
|
|
40755
40860
|
if (reset || (axis.series.length &&
|
|
40756
|
-
(
|
|
40757
|
-
|
|
40758
|
-
|
|
40861
|
+
(selection ||
|
|
40862
|
+
((newMin !== min || newMax !== max) &&
|
|
40863
|
+
newMin >= floor &&
|
|
40864
|
+
newMax <= ceiling)))) {
|
|
40759
40865
|
if (selection) {
|
|
40760
40866
|
selection[axis.coll].push({
|
|
40761
40867
|
axis,
|
|
40762
|
-
min:
|
|
40763
|
-
max:
|
|
40868
|
+
min: Math.min(eventMin, eventMax),
|
|
40869
|
+
max: Math.max(eventMin, eventMax)
|
|
40764
40870
|
});
|
|
40765
40871
|
}
|
|
40766
40872
|
else {
|
|
@@ -40768,11 +40874,14 @@ class Chart {
|
|
|
40768
40874
|
// disallow certain axis padding options that would make
|
|
40769
40875
|
// panning/zooming hard. Reset and redraw after the
|
|
40770
40876
|
// operation has finished.
|
|
40771
|
-
axis.isPanning = trigger !== 'zoom'
|
|
40877
|
+
axis.isPanning = trigger !== 'zoom' &&
|
|
40878
|
+
trigger !== 'drop';
|
|
40772
40879
|
if (axis.isPanning && trigger !== 'mousewheel') {
|
|
40773
40880
|
isAnyAxisPanning = true; // #21319
|
|
40774
40881
|
}
|
|
40775
|
-
|
|
40882
|
+
if (trigger !== 'drop') {
|
|
40883
|
+
axis.setExtremes(reset ? void 0 : newMin, reset ? void 0 : newMax, false, false, { move, trigger, scale });
|
|
40884
|
+
}
|
|
40776
40885
|
if (!reset &&
|
|
40777
40886
|
(newMin > floor || newMax < ceiling)) {
|
|
40778
40887
|
displayButton = allowResetButton;
|
|
@@ -40803,7 +40912,8 @@ class Chart {
|
|
|
40803
40912
|
});
|
|
40804
40913
|
}
|
|
40805
40914
|
else {
|
|
40806
|
-
// Show or hide the Reset zoom button, but not while
|
|
40915
|
+
// Show or hide the Reset zoom button, but not while
|
|
40916
|
+
// panning.
|
|
40807
40917
|
if (displayButton &&
|
|
40808
40918
|
!isAnyAxisPanning &&
|
|
40809
40919
|
!this.resetZoomButton) {
|
|
@@ -41045,7 +41155,6 @@ extend(Chart.prototype, {
|
|
|
41045
41155
|
*/
|
|
41046
41156
|
|
|
41047
41157
|
|
|
41048
|
-
const { stop: ScrollablePlotArea_stop } = AnimationUtilities;
|
|
41049
41158
|
|
|
41050
41159
|
const { composed: ScrollablePlotArea_composed } = Core_Globals;
|
|
41051
41160
|
|
|
@@ -41211,7 +41320,7 @@ class ScrollablePlotArea {
|
|
|
41211
41320
|
this.moveFixedElements();
|
|
41212
41321
|
}
|
|
41213
41322
|
// Increase the size of the scrollable renderer and background
|
|
41214
|
-
|
|
41323
|
+
stop(chart.container);
|
|
41215
41324
|
css(container, {
|
|
41216
41325
|
width: `${scrollableWidth}px`,
|
|
41217
41326
|
height: `${scrollableHeight}px`
|
|
@@ -41368,6 +41477,13 @@ ScrollablePlotArea.fixedSelectors = [
|
|
|
41368
41477
|
* vertical scrolling, depending on whether the `minWidth` or `minHeight`
|
|
41369
41478
|
* option is set.
|
|
41370
41479
|
*
|
|
41480
|
+
* **Note:** Because native browser scrollbars are used, they may
|
|
41481
|
+
* overlap with fixed chart elements such as credits or the chart
|
|
41482
|
+
* border. To avoid this collision, it is recommended to manually add
|
|
41483
|
+
* extra space to the corresponding side using `chart.spacingBottom`
|
|
41484
|
+
* (for horizontal scrollbars) or `chart.spacingRight` (for vertical
|
|
41485
|
+
* scrollbars).
|
|
41486
|
+
*
|
|
41371
41487
|
* @sample highcharts/chart/scrollable-plotarea
|
|
41372
41488
|
* Scrollable plot area
|
|
41373
41489
|
* @sample highcharts/chart/scrollable-plotarea-vertical
|
|
@@ -41718,7 +41834,6 @@ class StackItem {
|
|
|
41718
41834
|
* */
|
|
41719
41835
|
|
|
41720
41836
|
|
|
41721
|
-
const { getDeferredAnimation: StackingAxis_getDeferredAnimation } = AnimationUtilities;
|
|
41722
41837
|
|
|
41723
41838
|
const { series: { prototype: seriesProto } } = Series_SeriesRegistry;
|
|
41724
41839
|
|
|
@@ -42062,7 +42177,7 @@ class AxisAdditions {
|
|
|
42062
42177
|
}
|
|
42063
42178
|
/** @internal */
|
|
42064
42179
|
renderStackTotals() {
|
|
42065
|
-
const stacking = this, axis = stacking.axis, chart = axis.chart, renderer = chart.renderer, stacks = stacking.stacks, stackLabelsAnim = axis.options.stackLabels?.animation, animationConfig =
|
|
42180
|
+
const stacking = this, axis = stacking.axis, chart = axis.chart, renderer = chart.renderer, stacks = stacking.stacks, stackLabelsAnim = axis.options.stackLabels?.animation, animationConfig = getDeferredAnimation(chart, stackLabelsAnim || false), stackTotalGroup = stacking.stackTotalGroup = (stacking.stackTotalGroup ||
|
|
42066
42181
|
renderer
|
|
42067
42182
|
.g('stack-labels')
|
|
42068
42183
|
.attr({
|
|
@@ -43815,6 +43930,8 @@ const ColumnSeriesDefaults = {
|
|
|
43815
43930
|
* 0.25
|
|
43816
43931
|
* @sample {highcharts} highcharts/plotoptions/column-pointpadding-none/
|
|
43817
43932
|
* 0 for tightly packed columns
|
|
43933
|
+
* @sample {highcharts} highcharts/plotoptions/pie-pointpadding/
|
|
43934
|
+
* Pie point padding plugin
|
|
43818
43935
|
*
|
|
43819
43936
|
* @product highcharts highstock gantt
|
|
43820
43937
|
*/
|
|
@@ -44146,12 +44263,12 @@ const ColumnSeriesDefaults = {
|
|
|
44146
44263
|
*/
|
|
44147
44264
|
/**
|
|
44148
44265
|
* @excluding halo, lineWidth, lineWidthPlus, marker
|
|
44149
|
-
* @product highcharts highstock
|
|
44266
|
+
* @product highcharts highstock gantt
|
|
44150
44267
|
* @apioption series.column.states.hover
|
|
44151
44268
|
*/
|
|
44152
44269
|
/**
|
|
44153
44270
|
* @excluding halo, lineWidth, lineWidthPlus, marker
|
|
44154
|
-
* @product highcharts highstock
|
|
44271
|
+
* @product highcharts highstock gantt
|
|
44155
44272
|
* @apioption series.column.states.select
|
|
44156
44273
|
*/
|
|
44157
44274
|
/**
|
|
@@ -44181,7 +44298,6 @@ const ColumnSeriesDefaults = {
|
|
|
44181
44298
|
* */
|
|
44182
44299
|
|
|
44183
44300
|
|
|
44184
|
-
const { animObject: ColumnSeries_animObject } = AnimationUtilities;
|
|
44185
44301
|
|
|
44186
44302
|
const { parse: ColumnSeries_color } = Color_Color;
|
|
44187
44303
|
|
|
@@ -44252,7 +44368,7 @@ class ColumnSeries extends Series_Series {
|
|
|
44252
44368
|
}
|
|
44253
44369
|
else { // Run the animation
|
|
44254
44370
|
translateStart = Number(series.group.attr(translateProp));
|
|
44255
|
-
series.group.animate({ scaleY: 1 }, extend(
|
|
44371
|
+
series.group.animate({ scaleY: 1 }, extend(animObject(series.options.animation), {
|
|
44256
44372
|
// Do the scale synchronously to ensure smooth
|
|
44257
44373
|
// updating (#5030, #7228)
|
|
44258
44374
|
step: function (val, fx) {
|
|
@@ -44588,11 +44704,11 @@ class ColumnSeries extends Series_Series {
|
|
|
44588
44704
|
*/
|
|
44589
44705
|
pointAttribs(point, state) {
|
|
44590
44706
|
const options = this.options, p2o = this.pointAttrToOptions || {}, strokeOption = p2o.stroke || 'borderColor', strokeWidthOption = p2o['stroke-width'] || 'borderWidth';
|
|
44591
|
-
let stateOptions, zone, brightness, fill =
|
|
44707
|
+
let stateOptions, zone, brightness, fill = point?.color || this.color,
|
|
44592
44708
|
// Set to fill when borderColor null:
|
|
44593
|
-
stroke = (
|
|
44709
|
+
stroke = (point?.[strokeOption] ||
|
|
44594
44710
|
options[strokeOption] ||
|
|
44595
|
-
fill), dashstyle =
|
|
44711
|
+
fill), dashstyle = point?.options.dashStyle || options.dashStyle, strokeWidth = point?.[strokeWidthOption] ??
|
|
44596
44712
|
options[strokeWidthOption] ??
|
|
44597
44713
|
this[strokeWidthOption] ?? 1, opacity = (point?.isNull && options.nullInteraction) ?
|
|
44598
44714
|
0 :
|
|
@@ -44613,7 +44729,7 @@ class ColumnSeries extends Series_Series {
|
|
|
44613
44729
|
}
|
|
44614
44730
|
// Select or hover states
|
|
44615
44731
|
if (state && point) {
|
|
44616
|
-
stateOptions = merge(options.states[state],
|
|
44732
|
+
stateOptions = merge(options.states?.[state],
|
|
44617
44733
|
// #6401
|
|
44618
44734
|
point.options.states?.[state] || {});
|
|
44619
44735
|
brightness = stateOptions.brightness;
|
|
@@ -44623,14 +44739,13 @@ class ColumnSeries extends Series_Series {
|
|
|
44623
44739
|
.brighten(stateOptions.brightness)
|
|
44624
44740
|
.get()) || fill;
|
|
44625
44741
|
stroke = stateOptions[strokeOption] || stroke;
|
|
44626
|
-
strokeWidth =
|
|
44627
|
-
stateOptions[strokeWidthOption] || strokeWidth;
|
|
44742
|
+
strokeWidth = stateOptions[strokeWidthOption] || strokeWidth;
|
|
44628
44743
|
dashstyle = stateOptions.dashStyle || dashstyle;
|
|
44629
|
-
opacity =
|
|
44744
|
+
opacity = stateOptions.opacity ?? opacity;
|
|
44630
44745
|
}
|
|
44631
44746
|
const ret = {
|
|
44632
|
-
fill
|
|
44633
|
-
stroke
|
|
44747
|
+
fill,
|
|
44748
|
+
stroke,
|
|
44634
44749
|
'stroke-width': strokeWidth,
|
|
44635
44750
|
opacity: point?.condemned ? 0 : opacity
|
|
44636
44751
|
};
|
|
@@ -44671,6 +44786,7 @@ class ColumnSeries extends Series_Series {
|
|
|
44671
44786
|
initialAttr = merge(shapeArgs, point.getOrigin(point.origin, shapeArgs));
|
|
44672
44787
|
if (!styledMode) {
|
|
44673
44788
|
initialAttr.opacity = 0;
|
|
44789
|
+
initialAttr['stroke-width'] = 0;
|
|
44674
44790
|
}
|
|
44675
44791
|
shouldUpdate = true;
|
|
44676
44792
|
verb = 'animate';
|
|
@@ -44686,7 +44802,7 @@ class ColumnSeries extends Series_Series {
|
|
|
44686
44802
|
}
|
|
44687
44803
|
// Presentational
|
|
44688
44804
|
if (!styledMode) {
|
|
44689
|
-
graphic[verb](series.pointAttribs(point,
|
|
44805
|
+
graphic[verb](series.pointAttribs(point, point.selected ? 'select' : ''))
|
|
44690
44806
|
.shadow(point.allowShadow !== false && options.shadow);
|
|
44691
44807
|
}
|
|
44692
44808
|
graphic
|
|
@@ -44810,6 +44926,7 @@ Series_SeriesRegistry.registerSeriesType('column', ColumnSeries);
|
|
|
44810
44926
|
* Default Export
|
|
44811
44927
|
*
|
|
44812
44928
|
* */
|
|
44929
|
+
/** @internal */
|
|
44813
44930
|
/* harmony default export */ const Column_ColumnSeries = (ColumnSeries);
|
|
44814
44931
|
/* *
|
|
44815
44932
|
*
|
|
@@ -44846,7 +44963,6 @@ Series_SeriesRegistry.registerSeriesType('column', ColumnSeries);
|
|
|
44846
44963
|
* */
|
|
44847
44964
|
|
|
44848
44965
|
|
|
44849
|
-
const { getDeferredAnimation: DataLabel_getDeferredAnimation } = AnimationUtilities;
|
|
44850
44966
|
|
|
44851
44967
|
const { format: DataLabel_format } = Core_Templating;
|
|
44852
44968
|
|
|
@@ -45163,7 +45279,7 @@ var DataLabel;
|
|
|
45163
45279
|
'var(--highcharts-background-color)'), groupByIndex = [], seriesDlOptions = mergedDataLabelOptions(series);
|
|
45164
45280
|
// Resolve the animation
|
|
45165
45281
|
const { animation, defer } = seriesDlOptions[0], animationConfig = defer ?
|
|
45166
|
-
|
|
45282
|
+
getDeferredAnimation(chart, animation, series) :
|
|
45167
45283
|
{ defer: 0, duration: 0 };
|
|
45168
45284
|
fireEvent(this, 'drawDataLabels');
|
|
45169
45285
|
if (series.hasDataLabels?.()) {
|
|
@@ -45929,6 +46045,8 @@ const ScatterSeriesDefaults = {
|
|
|
45929
46045
|
* Arrays of datetime x and y
|
|
45930
46046
|
* @sample {highcharts} highcharts/series/data-array-of-name-value/
|
|
45931
46047
|
* Arrays of point.name and y
|
|
46048
|
+
* @sample {highcharts} highcharts/series-scatter/scatter-cluster/
|
|
46049
|
+
* Computed clusters
|
|
45932
46050
|
* @sample {highcharts} highcharts/series/data-array-of-objects/
|
|
45933
46051
|
* Config objects
|
|
45934
46052
|
*
|
|
@@ -46077,7 +46195,7 @@ Series_SeriesRegistry.registerSeriesType('scatter', ScatterSeries);
|
|
|
46077
46195
|
const { deg2rad: CenteredUtilities_deg2rad } = Core_Globals;
|
|
46078
46196
|
|
|
46079
46197
|
/**
|
|
46080
|
-
* @
|
|
46198
|
+
* @internal
|
|
46081
46199
|
*/
|
|
46082
46200
|
var CenteredUtilities;
|
|
46083
46201
|
(function (CenteredUtilities) {
|
|
@@ -46095,7 +46213,7 @@ var CenteredUtilities;
|
|
|
46095
46213
|
* Get the center of the pie based on the size and center options relative
|
|
46096
46214
|
* to the plot area. Borrowed by the polar and gauge series types.
|
|
46097
46215
|
*
|
|
46098
|
-
* @
|
|
46216
|
+
* @internal
|
|
46099
46217
|
* @function Highcharts.CenteredSeriesMixin.getCenter
|
|
46100
46218
|
*/
|
|
46101
46219
|
function getCenter() {
|
|
@@ -46140,7 +46258,7 @@ var CenteredUtilities;
|
|
|
46140
46258
|
* GetStartAndEndRadians - Calculates start and end angles in radians.
|
|
46141
46259
|
* Used in series types such as pie and sunburst.
|
|
46142
46260
|
*
|
|
46143
|
-
* @
|
|
46261
|
+
* @internal
|
|
46144
46262
|
* @function Highcharts.CenteredSeriesMixin.getStartAndEndRadians
|
|
46145
46263
|
*
|
|
46146
46264
|
* @param {number} [start]
|
|
@@ -46172,6 +46290,7 @@ var CenteredUtilities;
|
|
|
46172
46290
|
* Default Export
|
|
46173
46291
|
*
|
|
46174
46292
|
* */
|
|
46293
|
+
/** @internal */
|
|
46175
46294
|
/* harmony default export */ const Series_CenteredUtilities = (CenteredUtilities);
|
|
46176
46295
|
/* *
|
|
46177
46296
|
*
|
|
@@ -46179,7 +46298,7 @@ var CenteredUtilities;
|
|
|
46179
46298
|
*
|
|
46180
46299
|
* */
|
|
46181
46300
|
/**
|
|
46182
|
-
* @
|
|
46301
|
+
* @internal
|
|
46183
46302
|
* @interface Highcharts.RadianAngles
|
|
46184
46303
|
*/ /**
|
|
46185
46304
|
* @name Highcharts.RadianAngles#end
|
|
@@ -46204,7 +46323,6 @@ var CenteredUtilities;
|
|
|
46204
46323
|
* */
|
|
46205
46324
|
|
|
46206
46325
|
|
|
46207
|
-
const { setAnimation: PiePoint_setAnimation } = AnimationUtilities;
|
|
46208
46326
|
|
|
46209
46327
|
|
|
46210
46328
|
/* *
|
|
@@ -46312,7 +46430,7 @@ class PiePoint extends Series_Point {
|
|
|
46312
46430
|
*/
|
|
46313
46431
|
slice(sliced, redraw, animation) {
|
|
46314
46432
|
const series = this.series, chart = series.chart;
|
|
46315
|
-
|
|
46433
|
+
setAnimation(animation, chart);
|
|
46316
46434
|
// Redraw is true by default
|
|
46317
46435
|
redraw = pick(redraw, true);
|
|
46318
46436
|
this.sliced = this.options.sliced = sliced ?? !this.sliced;
|
|
@@ -48450,7 +48568,7 @@ function BorderRadius_arc(x, y, w, h, options = {}) {
|
|
|
48450
48568
|
if (options.open || !options.borderRadius) {
|
|
48451
48569
|
return path;
|
|
48452
48570
|
}
|
|
48453
|
-
const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(relativeLength(options.borderRadius
|
|
48571
|
+
const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(relativeLength(borderRadiusObject(options.borderRadius).radius, r - innerR),
|
|
48454
48572
|
// Cap to half the sector radius
|
|
48455
48573
|
(r - innerR) / 2,
|
|
48456
48574
|
// For smaller pie slices, cap to the largest small circle that
|
|
@@ -48476,7 +48594,7 @@ function seriesOnAfterColumnTranslate() {
|
|
|
48476
48594
|
if (this.options.borderRadius &&
|
|
48477
48595
|
!(this.chart.is3d && this.chart.is3d())) {
|
|
48478
48596
|
const { options, yAxis } = this, percent = options.stacking === 'percent', seriesDefault = BorderRadius_defaultOptions.plotOptions?.[this.type]
|
|
48479
|
-
?.borderRadius, borderRadius =
|
|
48597
|
+
?.borderRadius, borderRadius = borderRadiusObject(options.borderRadius, isObject(seriesDefault) ? seriesDefault : {}), reversed = yAxis.options.reversed;
|
|
48480
48598
|
for (const point of this.points) {
|
|
48481
48599
|
const { shapeArgs } = point;
|
|
48482
48600
|
if (point.shapeType === 'roundedRect' && shapeArgs) {
|
|
@@ -48548,8 +48666,12 @@ function composeBorderRadius(SeriesClass, SVGElementClass, SVGRendererClass) {
|
|
|
48548
48666
|
symbols.roundedRect = BorderRadius_roundedRect;
|
|
48549
48667
|
}
|
|
48550
48668
|
}
|
|
48551
|
-
/**
|
|
48552
|
-
function
|
|
48669
|
+
/**
|
|
48670
|
+
* Utility function to get the full border radius options object, from a simple
|
|
48671
|
+
* number or a partial options object.
|
|
48672
|
+
* @internal
|
|
48673
|
+
*/
|
|
48674
|
+
function borderRadiusObject(options, seriesBROptions) {
|
|
48553
48675
|
if (!isObject(options)) {
|
|
48554
48676
|
options = { radius: options || 0 };
|
|
48555
48677
|
}
|
|
@@ -48557,7 +48679,7 @@ function optionsToObject(options, seriesBROptions) {
|
|
|
48557
48679
|
}
|
|
48558
48680
|
/** @internal */
|
|
48559
48681
|
function pieSeriesOnAfterTranslate() {
|
|
48560
|
-
const borderRadius =
|
|
48682
|
+
const borderRadius = borderRadiusObject(this.options.borderRadius);
|
|
48561
48683
|
for (const point of this.points) {
|
|
48562
48684
|
const shapeArgs = point.shapeArgs;
|
|
48563
48685
|
if (shapeArgs) {
|
|
@@ -48676,7 +48798,7 @@ function BorderRadius_roundedRect(x, y, width, height, options = {}) {
|
|
|
48676
48798
|
* Column and pie with rounded border
|
|
48677
48799
|
*
|
|
48678
48800
|
* @name Highcharts.BorderRadiusOptionsObject#radius
|
|
48679
|
-
* @type {string|number}
|
|
48801
|
+
* @type {string|number|undefined}
|
|
48680
48802
|
*/ /**
|
|
48681
48803
|
* The scope of the rounding for column charts or plot bands. In a stacked
|
|
48682
48804
|
* column chart, the value `point` means each single point will get rounded
|
|
@@ -48691,8 +48813,7 @@ function BorderRadius_roundedRect(x, y, width, height, options = {}) {
|
|
|
48691
48813
|
* Rounded columns
|
|
48692
48814
|
*
|
|
48693
48815
|
* @name Highcharts.BorderRadiusOptionsObject#scope
|
|
48694
|
-
* @
|
|
48695
|
-
* @type {string}
|
|
48816
|
+
* @type {"individual"|"point"|"stack"|undefined}
|
|
48696
48817
|
*/ /**
|
|
48697
48818
|
* For column charts, where in the point or stack to apply rounding. The `end`
|
|
48698
48819
|
* value means only those corners at the point value will be rounded, leaving
|
|
@@ -48703,8 +48824,7 @@ function BorderRadius_roundedRect(x, y, width, height, options = {}) {
|
|
|
48703
48824
|
* Rounding on all corners
|
|
48704
48825
|
*
|
|
48705
48826
|
* @name Highcharts.BorderRadiusOptionsObject#where
|
|
48706
|
-
* @
|
|
48707
|
-
* @type {string}
|
|
48827
|
+
* @type {"all"|"end"|undefined}
|
|
48708
48828
|
* @default end
|
|
48709
48829
|
*/
|
|
48710
48830
|
(''); // Keeps doclets above in JS file
|
|
@@ -48980,7 +49100,7 @@ var Responsive;
|
|
|
48980
49100
|
;// ./code/es-modules/masters/highcharts.src.js
|
|
48981
49101
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
48982
49102
|
/**
|
|
48983
|
-
* @license Highcharts JS v13.0.
|
|
49103
|
+
* @license Highcharts JS v13.0.1 (2026-08-17)
|
|
48984
49104
|
* @module highcharts/highcharts
|
|
48985
49105
|
*
|
|
48986
49106
|
* (c) 2009-2026 Highsoft AS
|
|
@@ -49061,8 +49181,8 @@ G.Time = Core_Time;
|
|
|
49061
49181
|
G.Tooltip = Core_Tooltip;
|
|
49062
49182
|
// Utilities
|
|
49063
49183
|
G.addEvent = addEvent;
|
|
49064
|
-
G.animObject =
|
|
49065
|
-
G.animate =
|
|
49184
|
+
G.animObject = animObject;
|
|
49185
|
+
G.animate = animate;
|
|
49066
49186
|
G.arrayMax = arrayMax;
|
|
49067
49187
|
G.arrayMin = arrayMin;
|
|
49068
49188
|
G.attr = attr;
|
|
@@ -49089,7 +49209,7 @@ G.fireEvent = fireEvent;
|
|
|
49089
49209
|
G.format = Core_Templating.format;
|
|
49090
49210
|
G.getAlignFactor = getAlignFactor;
|
|
49091
49211
|
G.getClosestDistance = getClosestDistance;
|
|
49092
|
-
G.getDeferredAnimation =
|
|
49212
|
+
G.getDeferredAnimation = getDeferredAnimation;
|
|
49093
49213
|
G.getMagnitude = getMagnitude;
|
|
49094
49214
|
G.getNestedProperty = getNestedProperty;
|
|
49095
49215
|
G.getOptions = Defaults.getOptions;
|
|
@@ -49116,11 +49236,11 @@ G.relativeLength = relativeLength;
|
|
|
49116
49236
|
G.removeEvent = removeEvent;
|
|
49117
49237
|
G.replaceNested = replaceNested;
|
|
49118
49238
|
G.seriesType = Series_SeriesRegistry.seriesType;
|
|
49119
|
-
G.setAnimation =
|
|
49239
|
+
G.setAnimation = setAnimation;
|
|
49120
49240
|
G.setOptions = Defaults.setOptions;
|
|
49121
49241
|
G.splat = splat;
|
|
49122
49242
|
G.stableSort = stableSort;
|
|
49123
|
-
G.stop =
|
|
49243
|
+
G.stop = stop;
|
|
49124
49244
|
G.syncTimeout = syncTimeout;
|
|
49125
49245
|
G.time = Defaults.defaultTime;
|
|
49126
49246
|
G.ucfirst = ucfirst;
|