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
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import
|
|
14
|
-
const { animObject, setAnimation } = A;
|
|
13
|
+
import { animObject, setAnimation } from '../Animation/AnimationUtilities.js';
|
|
15
14
|
import DataTableCore from '../../Data/DataTableCore.js';
|
|
16
15
|
import D from '../Defaults.js';
|
|
17
16
|
const { defaultOptions } = D;
|
|
@@ -149,6 +148,13 @@ class Series {
|
|
|
149
148
|
* @type {number|undefined}
|
|
150
149
|
* @readonly
|
|
151
150
|
*/
|
|
151
|
+
/**
|
|
152
|
+
* The main group for the series' graphics.
|
|
153
|
+
*
|
|
154
|
+
* @name Highcharts.Series#group
|
|
155
|
+
* @type {Highcharts.SVGElement}
|
|
156
|
+
* @readonly
|
|
157
|
+
*/
|
|
152
158
|
/**
|
|
153
159
|
* Contains the series' index in the `Chart.series` array.
|
|
154
160
|
*
|
|
@@ -281,10 +287,12 @@ class Series {
|
|
|
281
287
|
*/
|
|
282
288
|
series.options = series.setOptions(userOptions);
|
|
283
289
|
const options = series.options, visible = options.visible !== false;
|
|
284
|
-
// Create the data table
|
|
285
|
-
this.dataTable ?? (this.dataTable = options.dataTable
|
|
286
|
-
|
|
287
|
-
|
|
290
|
+
// Create the data table or use the one passed as option
|
|
291
|
+
this.dataTable ?? (this.dataTable = isArray(options.dataTable) ?
|
|
292
|
+
new DataTableCore() :
|
|
293
|
+
options.dataTable?.isDataTable ?
|
|
294
|
+
options.dataTable :
|
|
295
|
+
new DataTableCore(options.dataTable));
|
|
288
296
|
/**
|
|
289
297
|
* All child series that are linked to the current series through the
|
|
290
298
|
* [linkedTo](https://api.highcharts.com/highcharts/series.line.linkedTo)
|
|
@@ -666,7 +674,7 @@ class Series {
|
|
|
666
674
|
*/
|
|
667
675
|
getSymbol() {
|
|
668
676
|
const seriesMarkerOption = this.options.marker;
|
|
669
|
-
this.getCyclic('symbol', seriesMarkerOption
|
|
677
|
+
this.getCyclic('symbol', seriesMarkerOption?.symbol, this.chart.options.symbols);
|
|
670
678
|
}
|
|
671
679
|
/**
|
|
672
680
|
* Shorthand to get one of the series' data columns from `Series.dataTable`.
|
|
@@ -862,9 +870,10 @@ class Series {
|
|
|
862
870
|
if (!oldData[i].destroyed && !oldData[i].condemned) {
|
|
863
871
|
const pOptions = dataTable.getRowObject(i);
|
|
864
872
|
if (pOptions) {
|
|
873
|
+
// Remove undefined properties, but preserve explicit
|
|
874
|
+
// nulls (#24872)
|
|
865
875
|
Object.keys(pOptions).forEach((key) => {
|
|
866
|
-
if (
|
|
867
|
-
pOptions[key] === oldData[i].options[key]*/) {
|
|
876
|
+
if (pOptions[key] === void 0) {
|
|
868
877
|
delete pOptions[key];
|
|
869
878
|
}
|
|
870
879
|
});
|
|
@@ -1269,8 +1278,12 @@ class Series {
|
|
|
1269
1278
|
}
|
|
1270
1279
|
}
|
|
1271
1280
|
}
|
|
1272
|
-
// Find the closest distance between processed points
|
|
1273
|
-
|
|
1281
|
+
// Find the closest distance between processed points. When the data was
|
|
1282
|
+
// cropped (or set out of range), read x from the freshly cropped local
|
|
1283
|
+
// `modified` table, #24858.
|
|
1284
|
+
if (modified !== table) {
|
|
1285
|
+
xData = modified.getColumn('x', true) || [];
|
|
1286
|
+
}
|
|
1274
1287
|
const closestPointRange = getClosestDistance([
|
|
1275
1288
|
logarithmic ?
|
|
1276
1289
|
xData.map(logarithmic.log2lin) :
|
|
@@ -1475,9 +1488,9 @@ class Series {
|
|
|
1475
1488
|
* Force getting extremes of a total series data range.
|
|
1476
1489
|
*/
|
|
1477
1490
|
getExtremes(yData, forceExtremesFromAll) {
|
|
1478
|
-
const { xAxis, yAxis } = this, getExtremesFromAll = forceExtremesFromAll ||
|
|
1491
|
+
const { options, xAxis, yAxis } = this, getExtremesFromAll = forceExtremesFromAll ||
|
|
1479
1492
|
this.getExtremesFromAll ||
|
|
1480
|
-
|
|
1493
|
+
options.getExtremesFromAll, // #4599, #21003
|
|
1481
1494
|
table = getExtremesFromAll && this.cropped ?
|
|
1482
1495
|
this.dataTable :
|
|
1483
1496
|
this.dataTable.getModified(), rowCount = table.rowCount, customData = yData || this.stackedYData, yAxisData = customData ?
|
|
@@ -1487,7 +1500,12 @@ class Series {
|
|
|
1487
1500
|
// non-sorted data like scatter (#7639).
|
|
1488
1501
|
shoulder = this.requireSorting && !this.is('column') ?
|
|
1489
1502
|
1 : 0,
|
|
1490
|
-
//
|
|
1503
|
+
// Used only for `cumulativeStart` (#24608)
|
|
1504
|
+
excludeShoulder = options.cumulative &&
|
|
1505
|
+
options.cumulativeStart &&
|
|
1506
|
+
shoulder &&
|
|
1507
|
+
!getExtremesFromAll,
|
|
1508
|
+
// Compensate for log X axis (#2117)
|
|
1491
1509
|
positiveValuesOnly = yAxis ? yAxis.positiveValuesOnly : false, doAll = getExtremesFromAll ||
|
|
1492
1510
|
this.cropped ||
|
|
1493
1511
|
!xAxis; // For colorAxis support
|
|
@@ -1499,10 +1517,10 @@ class Series {
|
|
|
1499
1517
|
}
|
|
1500
1518
|
for (i = 0; i < rowCount; i++) {
|
|
1501
1519
|
x = xData[i];
|
|
1502
|
-
// Check if it is within the selected x
|
|
1503
|
-
if (doAll ||
|
|
1520
|
+
// Check if it is within the selected x-axis range
|
|
1521
|
+
if ((doAll ||
|
|
1504
1522
|
((xData[i + shoulder] || x) >= xMin &&
|
|
1505
|
-
(xData[i - shoulder] || x) <= xMax)) {
|
|
1523
|
+
(xData[i - shoulder] || x) <= xMax)) && (!excludeShoulder || x >= xMin)) {
|
|
1506
1524
|
for (const values of yAxisData) {
|
|
1507
1525
|
const val = values[i];
|
|
1508
1526
|
// For points within the visible range, including the
|
|
@@ -1571,7 +1589,7 @@ class Series {
|
|
|
1571
1589
|
*/
|
|
1572
1590
|
translate() {
|
|
1573
1591
|
this.generatePoints();
|
|
1574
|
-
const series = this, { options, xAxis, yAxis } = series, { stacking, threshold } = options, {
|
|
1592
|
+
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
|
|
1575
1593
|
dynamicallyPlaced = Boolean(pointPlacement), stackThreshold = options.startFromThreshold ? threshold : 0, nullYSubstitute = (options?.nullInteraction &&
|
|
1576
1594
|
yAxis.len);
|
|
1577
1595
|
let i, plotX, lastPlotX, stackIndicator, closestPointRangePx = Number.MAX_VALUE;
|
|
@@ -1860,10 +1878,11 @@ class Series {
|
|
|
1860
1878
|
*/
|
|
1861
1879
|
drawPoints(points) {
|
|
1862
1880
|
points || (points = this.points.concat(this.condemnedPoints));
|
|
1863
|
-
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 =
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
seriesMarkerOptions.
|
|
1881
|
+
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 ??
|
|
1882
|
+
(!xAxis || xAxis.isRadial ? true : null) ??
|
|
1883
|
+
// Use larger or equal as radius is null in bubbles (#6321)
|
|
1884
|
+
((series.closestPointRangePx ?? -Infinity) >= ((seriesMarkerOptions.enabledThreshold ?? 2) *
|
|
1885
|
+
seriesMarkerOptions.radius));
|
|
1867
1886
|
let i, point, graphic, verb, pointMarkerOptions, hasPointMarker, markerAttribs;
|
|
1868
1887
|
if (seriesMarkerOptions.enabled !== false ||
|
|
1869
1888
|
series._hasPointMarkers) {
|
|
@@ -1881,7 +1900,7 @@ class Series {
|
|
|
1881
1900
|
if (shouldDrawMarker) {
|
|
1882
1901
|
// Shortcuts
|
|
1883
1902
|
const symbol = pick(pointMarkerOptions.symbol, series.symbol, 'rect');
|
|
1884
|
-
markerAttribs = series.markerAttribs(point,
|
|
1903
|
+
markerAttribs = series.markerAttribs(point, point.selected ? 'select' : '');
|
|
1885
1904
|
const isInside = point.isInside !== false;
|
|
1886
1905
|
if (!graphic &&
|
|
1887
1906
|
isInside &&
|
|
@@ -1946,15 +1965,17 @@ class Series {
|
|
|
1946
1965
|
* A hash containing those attributes that are not settable from CSS.
|
|
1947
1966
|
*/
|
|
1948
1967
|
markerAttribs(point, state) {
|
|
1949
|
-
const seriesOptions = this.options, seriesMarkerOptions = seriesOptions.marker, pointMarkerOptions = point.marker || {}, symbol = (pointMarkerOptions.symbol ||
|
|
1968
|
+
const seriesOptions = this.options, seriesMarkerOptions = seriesOptions.marker ?? {}, pointMarkerOptions = point.marker || {}, symbol = (pointMarkerOptions.symbol ||
|
|
1950
1969
|
seriesMarkerOptions.symbol), attribs = {};
|
|
1951
|
-
let seriesStateOptions, pointStateOptions, radius =
|
|
1970
|
+
let seriesStateOptions, pointStateOptions, radius = pointMarkerOptions.radius ??
|
|
1971
|
+
seriesMarkerOptions.radius;
|
|
1952
1972
|
// Handle hover and select states
|
|
1953
1973
|
if (state) {
|
|
1954
|
-
seriesStateOptions = seriesMarkerOptions
|
|
1974
|
+
seriesStateOptions = seriesMarkerOptions.states?.[state];
|
|
1955
1975
|
pointStateOptions = pointMarkerOptions.states?.[state];
|
|
1956
|
-
radius =
|
|
1957
|
-
|
|
1976
|
+
radius = pointStateOptions?.radius ??
|
|
1977
|
+
seriesStateOptions?.radius ??
|
|
1978
|
+
(radius && radius + (seriesStateOptions?.radiusPlus || 0));
|
|
1958
1979
|
}
|
|
1959
1980
|
point.hasImage = symbol && symbol.indexOf('url') === 0;
|
|
1960
1981
|
if (point.hasImage) {
|
|
@@ -1967,7 +1988,7 @@ class Series {
|
|
|
1967
1988
|
0 :
|
|
1968
1989
|
symbol === 'rect' ?
|
|
1969
1990
|
// Rectangle symbols need crisp edges, others don't
|
|
1970
|
-
seriesMarkerOptions
|
|
1991
|
+
seriesMarkerOptions.lineWidth || 0 :
|
|
1971
1992
|
1);
|
|
1972
1993
|
}
|
|
1973
1994
|
attribs.x = pos[0] - radius;
|
|
@@ -1998,8 +2019,9 @@ class Series {
|
|
|
1998
2019
|
* The presentational attributes to be set on the point.
|
|
1999
2020
|
*/
|
|
2000
2021
|
pointAttribs(point, state) {
|
|
2001
|
-
const options = this.options, seriesMarkerOptions = options.marker, pointOptions = point?.options, pointMarkerOptions = pointOptions?.marker || {}, pointColorOption = pointOptions?.color, pointColor = point?.color, zoneColor = point?.zone?.color;
|
|
2002
|
-
let
|
|
2022
|
+
const options = this.options, seriesMarkerOptions = options.marker ?? {}, pointOptions = point?.options, pointMarkerOptions = pointOptions?.marker || {}, pointColorOption = pointOptions?.color, pointColor = point?.color, zoneColor = point?.zone?.color;
|
|
2023
|
+
let color = this.color, fill, stroke, strokeWidth = pointMarkerOptions.lineWidth ??
|
|
2024
|
+
seriesMarkerOptions.lineWidth, opacity = (point?.isNull && options.nullInteraction) ? 0 : 1;
|
|
2003
2025
|
color = (pointColorOption ||
|
|
2004
2026
|
zoneColor ||
|
|
2005
2027
|
pointColor ||
|
|
@@ -2012,19 +2034,22 @@ class Series {
|
|
|
2012
2034
|
color);
|
|
2013
2035
|
// Handle hover and select states
|
|
2014
2036
|
state = state || 'normal';
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
strokeWidth
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2037
|
+
const seriesStateOptions = seriesMarkerOptions.states?.[state] || {};
|
|
2038
|
+
const pointStateOptions = pointMarkerOptions.states?.[state] || {};
|
|
2039
|
+
strokeWidth = pointStateOptions.lineWidth ??
|
|
2040
|
+
seriesStateOptions.lineWidth ??
|
|
2041
|
+
(strokeWidth || 0) + (pointStateOptions.lineWidthPlus ??
|
|
2042
|
+
seriesStateOptions.lineWidthPlus ??
|
|
2043
|
+
0);
|
|
2044
|
+
fill = (pointStateOptions.fillColor ||
|
|
2045
|
+
seriesStateOptions.fillColor ||
|
|
2046
|
+
fill);
|
|
2047
|
+
stroke = (pointStateOptions.lineColor ||
|
|
2048
|
+
seriesStateOptions.lineColor ||
|
|
2049
|
+
stroke);
|
|
2050
|
+
opacity = (pointStateOptions.opacity ??
|
|
2051
|
+
seriesStateOptions.opacity ??
|
|
2052
|
+
opacity);
|
|
2028
2053
|
return {
|
|
2029
2054
|
'stroke': stroke,
|
|
2030
2055
|
'stroke-width': strokeWidth,
|
|
@@ -2063,7 +2088,7 @@ class Series {
|
|
|
2063
2088
|
// Destroy all points with their elements
|
|
2064
2089
|
i = data.length;
|
|
2065
2090
|
while (i--) {
|
|
2066
|
-
data[i]?.destroy?.();
|
|
2091
|
+
data[i]?.destroy?.(true);
|
|
2067
2092
|
}
|
|
2068
2093
|
for (const zone of series.zones || []) {
|
|
2069
2094
|
// Destroy SVGElement's but preserve primitive props (#20426)
|
|
@@ -2090,7 +2115,7 @@ class Series {
|
|
|
2090
2115
|
erase(chart.series, series);
|
|
2091
2116
|
chart.orderItems('series');
|
|
2092
2117
|
// Clear all members
|
|
2093
|
-
objectEach(series, function (
|
|
2118
|
+
objectEach(series, function (_val, prop) {
|
|
2094
2119
|
if (!keepEventsForUpdate || prop !== 'hcEvents') {
|
|
2095
2120
|
delete series[prop];
|
|
2096
2121
|
}
|
|
@@ -2468,7 +2493,7 @@ class Series {
|
|
|
2468
2493
|
*
|
|
2469
2494
|
* @function Highcharts.Series#searchPoint
|
|
2470
2495
|
*
|
|
2471
|
-
* @param {
|
|
2496
|
+
* @param {PointerEvent} e
|
|
2472
2497
|
* The normalized pointer event
|
|
2473
2498
|
* @param {boolean} [compareX=false]
|
|
2474
2499
|
* Search only by the X value, not Y
|
|
@@ -2500,7 +2525,7 @@ class Series {
|
|
|
2500
2525
|
// Prevent multiple k-d-trees from being built simultaneously
|
|
2501
2526
|
// (#6235)
|
|
2502
2527
|
this.buildingKdTree = true;
|
|
2503
|
-
const series = this, seriesOptions = series.options, dimensions = seriesOptions.findNearestPointBy
|
|
2528
|
+
const series = this, seriesOptions = series.options, dimensions = (seriesOptions.findNearestPointBy ?? '')
|
|
2504
2529
|
.indexOf('y') > -1 ? 2 : 1;
|
|
2505
2530
|
/**
|
|
2506
2531
|
* Internal function
|
|
@@ -2550,7 +2575,7 @@ class Series {
|
|
|
2550
2575
|
* The point to search for.
|
|
2551
2576
|
* @param {boolean} [compareX=false]
|
|
2552
2577
|
* Search only by the X value, not Y.
|
|
2553
|
-
* @param {
|
|
2578
|
+
* @param {PointerEvent} [e]
|
|
2554
2579
|
* The normalized pointer event.
|
|
2555
2580
|
* @param {Function} [suppliedPointEvaluator]
|
|
2556
2581
|
* A custom point evaluator function.
|
|
@@ -2756,11 +2781,13 @@ class Series {
|
|
|
2756
2781
|
* Both X and Y values given
|
|
2757
2782
|
* @sample highcharts/members/series-addpoint-pie/
|
|
2758
2783
|
* Append pie slice
|
|
2759
|
-
* @sample
|
|
2784
|
+
* @sample highcharts/datatable/datamapping-dynamic
|
|
2785
|
+
* Alternative approach with data table
|
|
2786
|
+
* @sample {highstock} stock/members/series-addpoint/
|
|
2760
2787
|
* Append 100 points in Highcharts Stock
|
|
2761
|
-
* @sample stock/members/series-addpoint-shift/
|
|
2788
|
+
* @sample {highstock} stock/members/series-addpoint-shift/
|
|
2762
2789
|
* Append and shift in Highcharts Stock
|
|
2763
|
-
* @sample maps/members/series-addpoint/
|
|
2790
|
+
* @sample {highmaps} maps/members/series-addpoint/
|
|
2764
2791
|
* Add a point in Highmaps
|
|
2765
2792
|
*
|
|
2766
2793
|
* @function Highcharts.Series#addPoint
|
|
@@ -3260,10 +3287,10 @@ class Series {
|
|
|
3260
3287
|
* Determines if state should be inherited by points too.
|
|
3261
3288
|
*/
|
|
3262
3289
|
setState(state, inherit) {
|
|
3263
|
-
const series = this, { graph, options } = series, { inactiveOtherPoints, states: stateOptions } = options,
|
|
3290
|
+
const series = this, { graph, options } = series, { inactiveOtherPoints, states: stateOptions = {} } = options,
|
|
3264
3291
|
// By default a quick animation to hover/inactive,
|
|
3265
3292
|
// slower to un-hover
|
|
3266
|
-
stateAnimation = pick(stateOptions
|
|
3293
|
+
stateAnimation = pick(stateOptions[state || 'normal']?.animation, series.chart.options.chart.animation);
|
|
3267
3294
|
let { lineWidth, opacity } = options;
|
|
3268
3295
|
state = state || '';
|
|
3269
3296
|
if (series.state !== state) {
|
|
@@ -3290,9 +3317,13 @@ class Series {
|
|
|
3290
3317
|
return;
|
|
3291
3318
|
}
|
|
3292
3319
|
if (state) {
|
|
3293
|
-
lineWidth =
|
|
3294
|
-
|
|
3295
|
-
|
|
3320
|
+
lineWidth = stateOptions[state]?.lineWidth ?? (!isNumber(lineWidth) ?
|
|
3321
|
+
void 0 :
|
|
3322
|
+
// Increase by lineWidthPlus only when lineWidth
|
|
3323
|
+
// is a number.
|
|
3324
|
+
(lineWidth +
|
|
3325
|
+
(stateOptions?.[state]?.lineWidthPlus || 0))); // #4035
|
|
3326
|
+
opacity = stateOptions[state]?.opacity ?? opacity;
|
|
3296
3327
|
}
|
|
3297
3328
|
if (graph && !graph.dashstyle && isNumber(lineWidth)) {
|
|
3298
3329
|
// Animate the graph stroke-width
|
|
@@ -3336,11 +3367,7 @@ class Series {
|
|
|
3336
3367
|
* Can be either `hover` or undefined to set to normal state.
|
|
3337
3368
|
*/
|
|
3338
3369
|
setAllPointsToState(state) {
|
|
3339
|
-
this.points.forEach(
|
|
3340
|
-
if (point.setState) {
|
|
3341
|
-
point.setState(state);
|
|
3342
|
-
}
|
|
3343
|
-
});
|
|
3370
|
+
this.points.forEach((point) => point.setState?.(state));
|
|
3344
3371
|
}
|
|
3345
3372
|
/**
|
|
3346
3373
|
* Show or hide the series.
|
|
@@ -376,6 +376,10 @@ const seriesDefaults = {
|
|
|
376
376
|
* ```
|
|
377
377
|
*
|
|
378
378
|
* @type {Highcharts.DataMappingOptionsObject}
|
|
379
|
+
* @sample highcharts/datatable/datamapping
|
|
380
|
+
* Basic data mapping
|
|
381
|
+
* @sample highcharts/datatable/datamapping-dynamic
|
|
382
|
+
* Data mapping with dynamic updates
|
|
379
383
|
* @sample {highcharts} highcharts/datatable/series-datatable-multiple
|
|
380
384
|
* Series with two data tables
|
|
381
385
|
* @sample {highcharts} highcharts/datatable/nested-keys
|
|
@@ -386,6 +390,29 @@ const seriesDefaults = {
|
|
|
386
390
|
* @since 13.0.0
|
|
387
391
|
* @apioption plotOptions.series.dataMapping
|
|
388
392
|
*/
|
|
393
|
+
/**
|
|
394
|
+
* Options for a specific series-level data table or an array of data
|
|
395
|
+
* tables. The `dataTable` option can be either a configuration object or an
|
|
396
|
+
* instance of the `DataTable` class. If a `DataTable` instance is passed,
|
|
397
|
+
* it will be used directly. If a configuration object or an array is
|
|
398
|
+
* passed, a new `DataTable` instance will be created based on the provided
|
|
399
|
+
* configuration.
|
|
400
|
+
*
|
|
401
|
+
* @type {Highcharts.DataTable|Highcharts.DataTableOptionsObject|Array<Highcharts.DataTable|Highcharts.DataTableOptionsObject>}
|
|
402
|
+
* @sample {highcharts} highcharts/datatable/series-datatable/
|
|
403
|
+
* Series with one data table each
|
|
404
|
+
* @sample {highcharts} highcharts/datatable/series-datatable-multiple/
|
|
405
|
+
* Series with two data tables
|
|
406
|
+
* @sample {highstock} stock/datatable/series-datatable/
|
|
407
|
+
* Series with one data table each
|
|
408
|
+
* @sample {highstock} stock/datatable/series-datatable-multiple/
|
|
409
|
+
* Series with two data tables
|
|
410
|
+
* @sample {highmaps} maps/datatable/series-datatable
|
|
411
|
+
* Series-level data table
|
|
412
|
+
*
|
|
413
|
+
* @since 13.0.0
|
|
414
|
+
* @apioption plotOptions.series.dataTable
|
|
415
|
+
*/
|
|
389
416
|
/**
|
|
390
417
|
* Enable or disable the mouse tracking for a specific series. This
|
|
391
418
|
* includes point tooltips and click events on graphs and points. For
|
|
@@ -1269,6 +1296,7 @@ const seriesDefaults = {
|
|
|
1269
1296
|
* `series.allowPointSelect` option to true.
|
|
1270
1297
|
*
|
|
1271
1298
|
* @declare Highcharts.PointStatesSelectOptionsObject
|
|
1299
|
+
* @extends plotOptions.series.marker.states.hover
|
|
1272
1300
|
*/
|
|
1273
1301
|
select: {
|
|
1274
1302
|
/**
|
|
@@ -1845,6 +1873,7 @@ const seriesDefaults = {
|
|
|
1845
1873
|
* @sample {highmaps} maps/plotoptions/series-datalabels-box/
|
|
1846
1874
|
* Data labels box options
|
|
1847
1875
|
*
|
|
1876
|
+
* @type {number|Array<number>}
|
|
1848
1877
|
* @since 2.2.1
|
|
1849
1878
|
*/
|
|
1850
1879
|
padding: [1, 3],
|
|
@@ -2046,6 +2075,9 @@ const seriesDefaults = {
|
|
|
2046
2075
|
/**
|
|
2047
2076
|
* A collection of options for different series states.
|
|
2048
2077
|
*
|
|
2078
|
+
* In addition to the options documented under each state, any option from
|
|
2079
|
+
* the parent series type can be set, with exception of `data` and `states`.
|
|
2080
|
+
*
|
|
2049
2081
|
* @declare Highcharts.SeriesStatesOptionsObject
|
|
2050
2082
|
*/
|
|
2051
2083
|
states: {
|
|
@@ -2219,6 +2251,7 @@ const seriesDefaults = {
|
|
|
2219
2251
|
* Disabled inactive state
|
|
2220
2252
|
*
|
|
2221
2253
|
* @declare Highcharts.SeriesStatesInactiveOptionsObject
|
|
2254
|
+
* @extends plotOptions.series.states.hover
|
|
2222
2255
|
*/
|
|
2223
2256
|
inactive: {
|
|
2224
2257
|
/**
|
|
@@ -407,9 +407,7 @@ export default Templating;
|
|
|
407
407
|
* API Declarations
|
|
408
408
|
* */
|
|
409
409
|
/**
|
|
410
|
-
*
|
|
411
|
-
*
|
|
412
|
-
* The Highcharts.Templating interface provides a structure for defining
|
|
410
|
+
* The Highcharts.TemplatingObject interface provides a structure for defining
|
|
413
411
|
* helpers. Helpers can be used as conditional blocks or functions within
|
|
414
412
|
* expressions. Highcharts includes several built-in helpers and supports
|
|
415
413
|
* the addition of custom helpers.
|
|
@@ -417,14 +415,19 @@ export default Templating;
|
|
|
417
415
|
* @see [More information](
|
|
418
416
|
* https://www.highcharts.com/docs/chart-concepts/templating#helpers)
|
|
419
417
|
*
|
|
420
|
-
* @
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
418
|
+
* @interface Highcharts.TemplatingObject
|
|
419
|
+
*/ /**
|
|
420
|
+
* @example
|
|
421
|
+
* // Define a custom helper to return the absolute value of a number
|
|
422
|
+
* Highcharts.Templating.helpers.abs = value => Math.abs(value);
|
|
423
|
+
*
|
|
424
|
+
* // Usage in a format string
|
|
425
|
+
* format: 'Absolute value: {abs point.y}'
|
|
426
|
+
*
|
|
427
|
+
* @name Highcharts.TemplatingObject#helpers
|
|
428
|
+
* @type {Record<string, Function>}
|
|
429
|
+
*/ /**
|
|
430
|
+
* @name Highcharts.Templating
|
|
431
|
+
* @type {Highcharts.TemplatingObject}
|
|
432
|
+
*/
|
|
430
433
|
(''); // Keeps doclets above in file
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import
|
|
14
|
-
const { animObject } = A;
|
|
13
|
+
import { animObject } from './Animation/AnimationUtilities.js';
|
|
15
14
|
import F from './Templating.js';
|
|
16
15
|
const { format } = F;
|
|
17
16
|
import H from './Globals.js';
|
|
@@ -127,7 +127,7 @@ class DataTableCore {
|
|
|
127
127
|
* Fetches the given column by the canonical column ID. Simplified version
|
|
128
128
|
* of the full `DataTable.getRow` method, always returning by reference.
|
|
129
129
|
*
|
|
130
|
-
* @function Highcharts.DataTable#
|
|
130
|
+
* @function Highcharts.DataTable#getColumn
|
|
131
131
|
*
|
|
132
132
|
* @param {string} columnId
|
|
133
133
|
* ID of the column to get.
|
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import
|
|
14
|
-
const { getDeferredAnimation } = A;
|
|
13
|
+
import { getDeferredAnimation } from '../../Core/Animation/AnimationUtilities.js';
|
|
15
14
|
import AnnotationChart from './AnnotationChart.js';
|
|
16
15
|
import AnnotationDefaults from './AnnotationDefaults.js';
|
|
17
16
|
import ControllableRect from './Controllables/ControllableRect.js';
|
|
@@ -720,19 +720,19 @@ const AnnotationDefaults = {
|
|
|
720
720
|
* @apioption annotations.typeOptions.type
|
|
721
721
|
*/
|
|
722
722
|
/**
|
|
723
|
-
* This
|
|
723
|
+
* This option defines which `xAxis` the point is connected to.
|
|
724
724
|
* It refers to either the axis id or the index of the axis
|
|
725
725
|
* in the `xAxis` array.
|
|
726
726
|
*
|
|
727
|
-
* @type {number}
|
|
727
|
+
* @type {number|string}
|
|
728
728
|
* @apioption annotations.typeOptions.xAxis
|
|
729
729
|
*/
|
|
730
730
|
/**
|
|
731
|
-
* This
|
|
731
|
+
* This option defines which `yAxis` the point is connected to.
|
|
732
732
|
* It refers to either the axis id or the index of the axis
|
|
733
733
|
* in the `yAxis` array.
|
|
734
734
|
*
|
|
735
|
-
* @type {number}
|
|
735
|
+
* @type {number|string}
|
|
736
736
|
* @apioption annotations.typeOptions.yAxis
|
|
737
737
|
*/
|
|
738
738
|
},
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* */
|
|
5
5
|
'use strict';
|
|
6
|
+
import NBU from './NavigationBindingsUtilities.js';
|
|
7
|
+
const { getAxisFromOptions } = NBU;
|
|
6
8
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
7
9
|
const { series: { prototype: seriesProto } } = SeriesRegistry;
|
|
8
10
|
import { defined, fireEvent } from '../../Shared/Utilities.js';
|
|
@@ -341,11 +343,7 @@ class MockPoint {
|
|
|
341
343
|
this.series[axisName] =
|
|
342
344
|
typeof axisOptions === 'object' ?
|
|
343
345
|
axisOptions :
|
|
344
|
-
|
|
345
|
-
(chart[axisName][axisOptions] ||
|
|
346
|
-
// @todo v--- (axisName)[axisOptions] ?
|
|
347
|
-
chart.get(axisOptions)) :
|
|
348
|
-
null;
|
|
346
|
+
getAxisFromOptions(chart, axisName, axisOptions) || null;
|
|
349
347
|
}
|
|
350
348
|
/**
|
|
351
349
|
* Transform the mock point to an anchor (relative position on the chart).
|
|
@@ -419,18 +417,18 @@ export default MockPoint;
|
|
|
419
417
|
* @type {number}
|
|
420
418
|
* @name Highcharts.AnnotationMockPointOptionsObject.y
|
|
421
419
|
*/ /**
|
|
422
|
-
* This
|
|
420
|
+
* This option defines which `xAxis` the point is connected to.
|
|
423
421
|
* It refers to either the axis id or the index of the axis in
|
|
424
|
-
* the xAxis array. If the option is not configured or the axis
|
|
422
|
+
* the `xAxis` array. If the option is not configured or the axis
|
|
425
423
|
* is not found the point's x coordinate refers to the chart
|
|
426
424
|
* pixels.
|
|
427
425
|
*
|
|
428
426
|
* @type {number|string|null}
|
|
429
427
|
* @name Highcharts.AnnotationMockPointOptionsObject.xAxis
|
|
430
428
|
*/ /**
|
|
431
|
-
* This
|
|
429
|
+
* This option defines which `yAxis` the point is connected to.
|
|
432
430
|
* It refers to either the axis id or the index of the axis in
|
|
433
|
-
* the yAxis array. If the option is not configured or the axis
|
|
431
|
+
* the `yAxis` array. If the option is not configured or the axis
|
|
434
432
|
* is not found the point's y coordinate refers to the chart
|
|
435
433
|
* pixels.
|
|
436
434
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import { defined, isNumber, pick } from '../../Shared/Utilities.js';
|
|
13
|
+
import { defined, find, isNumber, pick } from '../../Shared/Utilities.js';
|
|
14
14
|
/* *
|
|
15
15
|
*
|
|
16
16
|
* Constants
|
|
@@ -64,6 +64,32 @@ function getAssignedAxis(coords) {
|
|
|
64
64
|
!coord.axis.options.isInternal;
|
|
65
65
|
})[0]; // If the axes overlap, return the first axis that was found.
|
|
66
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* Resolve an axis from an annotation option that can reference it either by its
|
|
69
|
+
* index (number) or by its id (string).
|
|
70
|
+
*
|
|
71
|
+
* @internal
|
|
72
|
+
*
|
|
73
|
+
* @param {Highcharts.Chart} chart
|
|
74
|
+
* The chart instance.
|
|
75
|
+
*
|
|
76
|
+
* @param {'xAxis'|'yAxis'} coll
|
|
77
|
+
* The axis collection to look in.
|
|
78
|
+
*
|
|
79
|
+
* @param {number|string|undefined} idOrIndex
|
|
80
|
+
* The axis index or id.
|
|
81
|
+
*
|
|
82
|
+
* @return {Highcharts.Axis|undefined}
|
|
83
|
+
* The matching axis, or `undefined` if none was found.
|
|
84
|
+
*/
|
|
85
|
+
function getAxisFromOptions(chart, coll, idOrIndex) {
|
|
86
|
+
if (isNumber(idOrIndex)) {
|
|
87
|
+
return chart[coll][idOrIndex];
|
|
88
|
+
}
|
|
89
|
+
return defined(idOrIndex) ?
|
|
90
|
+
find(chart[coll], (axis) => axis.options.id === idOrIndex) :
|
|
91
|
+
void 0;
|
|
92
|
+
}
|
|
67
93
|
/**
|
|
68
94
|
* Get field type according to value
|
|
69
95
|
*
|
|
@@ -91,10 +117,11 @@ function getFieldType(key, value) {
|
|
|
91
117
|
*
|
|
92
118
|
* */
|
|
93
119
|
/** @internal */
|
|
94
|
-
const
|
|
120
|
+
const NavigationBindingsUtilities = {
|
|
95
121
|
annotationsFieldsTypes,
|
|
96
122
|
getAssignedAxis,
|
|
123
|
+
getAxisFromOptions,
|
|
97
124
|
getFieldType
|
|
98
125
|
};
|
|
99
126
|
/** @internal */
|
|
100
|
-
export default
|
|
127
|
+
export default NavigationBindingsUtilities;
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
'use strict';
|
|
15
15
|
import H from '../../../Core/Globals.js';
|
|
16
16
|
const { doc, isFirefox } = H;
|
|
17
|
-
import BaseFormIcons from '../../../Shared/BaseFormIcons';
|
|
18
|
-
import getIcon from '../../../Shared/BaseFormUtils';
|
|
17
|
+
import BaseFormIcons from '../../../Shared/BaseFormIcons.js';
|
|
18
|
+
import getIcon from '../../../Shared/BaseFormUtils.js';
|
|
19
19
|
import { createElement, isArray, isObject, objectEach, pick, stableSort } from '../../../Shared/Utilities.js';
|
|
20
20
|
/* *
|
|
21
21
|
*
|
|
@@ -30,15 +30,15 @@ if (defaultOptions.annotations?.types) {
|
|
|
30
30
|
*/
|
|
31
31
|
typeOptions: {
|
|
32
32
|
/**
|
|
33
|
-
* This
|
|
33
|
+
* This option defines which `xAxis` the point is connected to.
|
|
34
34
|
* It refers to either the axis id or the index of the axis
|
|
35
|
-
* in the xAxis array.
|
|
35
|
+
* in the `xAxis` array.
|
|
36
36
|
*/
|
|
37
37
|
xAxis: 0,
|
|
38
38
|
/**
|
|
39
|
-
* This
|
|
39
|
+
* This option defines which `yAxis` the point is connected to.
|
|
40
40
|
* It refers to either the axis id or the index of the axis
|
|
41
|
-
* in the
|
|
41
|
+
* in the `yAxis` array.
|
|
42
42
|
*/
|
|
43
43
|
yAxis: 0,
|
|
44
44
|
/**
|