highcharts 13.0.1 → 13.0.2
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 +2 -3
- package/es-modules/Accessibility/A11yI18n.js +4 -4
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +6 -4
- package/es-modules/Accessibility/Components/LegendComponent.js +2 -2
- package/es-modules/Accessibility/Components/NavigatorComponent.js +2 -2
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +13 -10
- package/es-modules/Accessibility/Components/ZoomComponent.js +2 -2
- package/es-modules/Accessibility/FocusBorder.js +2 -2
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +1 -2
- package/es-modules/Core/Animation/AnimationUtilities.js +3 -2
- package/es-modules/Core/Axis/Axis.js +48 -57
- package/es-modules/Core/Axis/Axis3DComposition.js +8 -6
- package/es-modules/Core/Axis/BrokenAxis.js +6 -5
- package/es-modules/Core/Axis/Color/ColorAxis.js +17 -10
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/GridAxis.js +4 -4
- package/es-modules/Core/Axis/LogarithmicAxis.js +5 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/OrdinalAxis.js +9 -7
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -2
- package/es-modules/Core/Axis/RadialAxis.js +15 -9
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -3
- package/es-modules/Core/Axis/Stacking/StackItem.js +5 -5
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +4 -4
- package/es-modules/Core/Axis/Tick.js +10 -11
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -3
- package/es-modules/Core/Chart/Chart.js +14 -14
- package/es-modules/Core/Chart/Chart3D.js +3 -3
- package/es-modules/Core/Chart/ChartDefaults.js +23 -0
- package/es-modules/Core/Chart/MapChart.js +7 -5
- package/es-modules/Core/Chart/StockChart.js +15 -11
- package/es-modules/Core/Color/Color.js +3 -1
- package/es-modules/Core/Defaults.js +35 -0
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +16 -12
- package/es-modules/Core/Legend/LegendSymbol.js +2 -2
- package/es-modules/Core/MSPointer.js +2 -2
- package/es-modules/Core/Math3D.js +6 -7
- package/es-modules/Core/Pointer.js +9 -9
- package/es-modules/Core/Renderer/RendererUtilities.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +11 -9
- package/es-modules/Core/Renderer/SVG/SVGElement3D.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +11 -9
- package/es-modules/Core/Renderer/SVG/Symbols.js +6 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Responsive.js +7 -5
- package/es-modules/Core/Series/DataLabel.js +8 -6
- package/es-modules/Core/Series/OverlappingDataLabels.js +5 -2
- package/es-modules/Core/Series/Point.js +3 -3
- package/es-modules/Core/Series/Series.js +37 -21
- package/es-modules/Core/Series/Series3D.js +2 -2
- package/es-modules/Core/Templating.js +2 -2
- package/es-modules/Core/Tooltip.js +11 -7
- package/es-modules/Core/Utilities.js +4 -3
- package/es-modules/Data/Connectors/DataConnector.js +2 -2
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
- package/es-modules/Data/DataTable.js +17 -0
- package/es-modules/Extensions/Annotations/Annotation.js +4 -4
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -2
- package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +2 -2
- package/es-modules/Extensions/Annotations/EventEmitter.js +4 -4
- package/es-modules/Extensions/Annotations/NavigationBindings.js +6 -3
- package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +2 -2
- package/es-modules/Extensions/Annotations/Popup/Popup.js +3 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -6
- package/es-modules/Extensions/Annotations/Types/Measure.js +3 -3
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +3 -3
- package/es-modules/Extensions/Boost/BoostChart.js +11 -4
- package/es-modules/Extensions/Boost/BoostSeries.js +8 -9
- package/es-modules/Extensions/Boost/WGLRenderer.js +9 -6
- package/es-modules/Extensions/Boost/WGLShader.js +3 -3
- package/es-modules/Extensions/BoostCanvas.js +2 -2
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +5 -4
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +2 -2
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +4 -3
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +2 -2
- package/es-modules/Extensions/DraggablePoints/DragDropProps.js +2 -3
- package/es-modules/Extensions/ExportData/ExportData.js +17 -16
- package/es-modules/Extensions/Exporting/Exporting.js +7 -7
- package/es-modules/Extensions/MouseWheelZoom/MouseWheelZoom.js +2 -2
- package/es-modules/Extensions/Pane/PaneComposition.js +2 -2
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -2
- package/es-modules/Extensions/PatternFill.js +7 -5
- package/es-modules/Extensions/PriceIndication.js +5 -4
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +7 -7
- package/es-modules/Extensions/Sonification/MIDI.js +2 -3
- package/es-modules/Extensions/Sonification/Sonification.js +2 -2
- package/es-modules/Extensions/Sonification/SonificationSpeaker.js +3 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +3 -3
- package/es-modules/Extensions/Sonification/TimelineFromChart.js +11 -11
- package/es-modules/Gantt/Legacy.js +2 -2
- package/es-modules/Gantt/Pathfinder.js +3 -3
- package/es-modules/Gantt/PathfinderAlgorithms.js +4 -3
- package/es-modules/Gantt/Tree.js +1 -1
- package/es-modules/Maps/MapNavigation.js +4 -4
- package/es-modules/Maps/MapPointer.js +2 -2
- package/es-modules/Maps/MapView.js +2 -2
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +8 -6
- package/es-modules/Series/Area/AreaSeries.js +4 -5
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +13 -4
- package/es-modules/Series/Bubble/BubbleLegendItem.js +10 -6
- package/es-modules/Series/Bubble/BubbleSeries.js +10 -9
- package/es-modules/Series/Bullet/BulletSeries.js +17 -10
- package/es-modules/Series/CenteredUtilities.js +7 -5
- package/es-modules/Series/Column/ColumnSeries.js +2 -2
- package/es-modules/Series/Column3D/Column3DComposition.js +6 -5
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +4 -4
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +4 -2
- package/es-modules/Series/Cylinder/CylinderComposition.js +2 -2
- package/es-modules/Series/DataModifyComposition.js +9 -7
- package/es-modules/Series/DotPlot/DotPlotSeries.js +3 -2
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +14 -3
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +24 -7
- package/es-modules/Series/FlowMap/FlowMapPoint.js +5 -3
- package/es-modules/Series/FlowMap/FlowMapSeries.js +17 -9
- package/es-modules/Series/Funnel/FunnelSeries.js +2 -2
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +7 -5
- package/es-modules/Series/Gauge/GaugeSeries.js +2 -2
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +4 -4
- package/es-modules/Series/Heatmap/HeatmapPoint.js +6 -6
- package/es-modules/Series/Heatmap/HeatmapPointOptions.js +12 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +13 -13
- package/es-modules/Series/Heatmap/HeatmapSeriesOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramPoint.js +17 -0
- package/es-modules/Series/Histogram/HistogramPointOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramSeries.js +14 -2
- package/es-modules/Series/Histogram/HistogramSeriesOptions.js +12 -0
- package/es-modules/Series/InterpolationUtilities.js +5 -5
- package/es-modules/Series/Item/ItemPointOptions.js +14 -0
- package/es-modules/Series/Item/ItemSeries.js +18 -6
- package/es-modules/Series/Item/ItemSeriesOptions.js +14 -0
- package/es-modules/Series/Map/MapPoint.js +5 -3
- package/es-modules/Series/Map/MapSeries.js +5 -8
- package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +3 -3
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +4 -2
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +18 -9
- package/es-modules/Series/NodesComposition.js +9 -10
- package/es-modules/Series/Organization/OrganizationPoint.js +3 -2
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +5 -5
- package/es-modules/Series/Pictorial/PictorialSeries.js +4 -2
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PiePoint.js +2 -2
- package/es-modules/Series/Pie/PieSeries.js +3 -2
- package/es-modules/Series/Pie3D/Pie3DSeries.js +8 -4
- package/es-modules/Series/PolarComposition.js +8 -7
- package/es-modules/Series/Sankey/SankeySeries.js +11 -5
- package/es-modules/Series/Scatter/ScatterSeries.js +6 -5
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +2 -2
- package/es-modules/Series/Spline/SplineSeries.js +5 -5
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +8 -6
- package/es-modules/Series/Tilemap/TilemapShapes.js +2 -2
- package/es-modules/Series/Timeline/TimelinePoint.js +2 -2
- package/es-modules/Series/Timeline/TimelineSeries.js +4 -3
- package/es-modules/Series/TreeUtilities.js +16 -7
- package/es-modules/Series/Treegraph/TreegraphLink.js +2 -2
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +14 -11
- package/es-modules/Series/VariablePie/VariablePieSeries.js +6 -4
- package/es-modules/Series/Variwide/VariwideSeries.js +2 -2
- package/es-modules/Series/Waterfall/WaterfallSeries.js +2 -2
- package/es-modules/Series/Windbarb/WindbarbSeries.js +2 -2
- package/es-modules/Shared/TimeBase.js +8 -2
- package/es-modules/Shared/Utilities.js +9 -7
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -2
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +4 -4
- package/es-modules/Stock/Navigator/Navigator.js +26 -26
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +4 -4
- package/es-modules/Stock/RangeSelector/RangeSelector.js +15 -11
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +3 -3
- package/es-modules/Stock/Scrollbar/Scrollbar.js +8 -7
- package/es-modules/Stock/StockTools/StockToolbar.js +5 -5
- package/es-modules/Stock/StockTools/StockTools.js +2 -2
- package/es-modules/Stock/StockTools/StockToolsGui.js +4 -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 -2
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/contour.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data-sorting.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/flowmap.src.js +1 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/renko.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +1 -1
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/standalone-navigator.src.js +1 -1
- package/es-modules/masters/themes/adaptive.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/high-contrast.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +2 -2
- package/esm/highcharts-3d.src.js +40 -32
- package/esm/highcharts-autoload.js +1 -1
- package/esm/highcharts-autoload.src.js +1 -1
- package/esm/highcharts-gantt.js +1 -1
- package/esm/highcharts-gantt.src.js +1 -1
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +90 -56
- package/esm/highcharts.js +4 -4
- package/esm/highcharts.src.js +312 -207
- package/esm/highmaps.js +1 -1
- package/esm/highmaps.src.js +1 -1
- package/esm/highstock.js +1 -1
- package/esm/highstock.src.js +1 -1
- package/esm/i18n/fr-FR.js +1 -1
- package/esm/i18n/fr-FR.src.js +1 -1
- package/esm/i18n/nb-NO.js +1 -1
- package/esm/i18n/nb-NO.src.js +1 -1
- package/esm/i18n/zh-CN.js +1 -1
- package/esm/i18n/zh-CN.src.js +1 -1
- package/esm/indicators/acceleration-bands.js +1 -1
- package/esm/indicators/acceleration-bands.src.js +1 -1
- package/esm/indicators/accumulation-distribution.js +1 -1
- package/esm/indicators/accumulation-distribution.src.js +1 -1
- package/esm/indicators/ao.js +1 -1
- package/esm/indicators/ao.src.js +1 -1
- package/esm/indicators/apo.js +1 -1
- package/esm/indicators/apo.src.js +1 -1
- package/esm/indicators/aroon-oscillator.js +1 -1
- package/esm/indicators/aroon-oscillator.src.js +1 -1
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +3 -3
- package/esm/indicators/atr.js +1 -1
- package/esm/indicators/atr.src.js +1 -1
- package/esm/indicators/bollinger-bands.js +1 -1
- package/esm/indicators/bollinger-bands.src.js +1 -1
- package/esm/indicators/cci.js +1 -1
- package/esm/indicators/cci.src.js +1 -1
- package/esm/indicators/chaikin.js +1 -1
- package/esm/indicators/chaikin.src.js +1 -1
- package/esm/indicators/cmf.js +1 -1
- package/esm/indicators/cmf.src.js +1 -1
- package/esm/indicators/cmo.js +1 -1
- package/esm/indicators/cmo.src.js +1 -1
- package/esm/indicators/dema.js +1 -1
- package/esm/indicators/dema.src.js +1 -1
- package/esm/indicators/disparity-index.js +1 -1
- package/esm/indicators/disparity-index.src.js +1 -1
- package/esm/indicators/dmi.js +1 -1
- package/esm/indicators/dmi.src.js +1 -1
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +4 -3
- package/esm/indicators/ichimoku-kinko-hyo.js +1 -1
- package/esm/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +8 -7
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +2 -2
- package/esm/indicators/keltner-channels.js +1 -1
- package/esm/indicators/keltner-channels.src.js +1 -1
- package/esm/indicators/klinger.js +1 -1
- package/esm/indicators/klinger.src.js +1 -1
- package/esm/indicators/macd.js +1 -1
- package/esm/indicators/macd.src.js +1 -1
- package/esm/indicators/mfi.js +1 -1
- package/esm/indicators/mfi.src.js +1 -1
- package/esm/indicators/momentum.js +1 -1
- package/esm/indicators/momentum.src.js +1 -1
- package/esm/indicators/natr.js +1 -1
- package/esm/indicators/natr.src.js +1 -1
- package/esm/indicators/obv.js +1 -1
- package/esm/indicators/obv.src.js +1 -1
- package/esm/indicators/pivot-points.js +1 -1
- package/esm/indicators/pivot-points.src.js +1 -1
- package/esm/indicators/ppo.js +1 -1
- package/esm/indicators/ppo.src.js +1 -1
- package/esm/indicators/price-channel.js +1 -1
- package/esm/indicators/price-channel.src.js +1 -1
- package/esm/indicators/price-envelopes.js +1 -1
- package/esm/indicators/price-envelopes.src.js +1 -1
- package/esm/indicators/psar.js +1 -1
- package/esm/indicators/psar.src.js +1 -1
- package/esm/indicators/regressions.js +1 -1
- package/esm/indicators/regressions.src.js +1 -1
- package/esm/indicators/roc.js +1 -1
- package/esm/indicators/roc.src.js +1 -1
- package/esm/indicators/rsi.js +1 -1
- package/esm/indicators/rsi.src.js +2 -2
- package/esm/indicators/slow-stochastic.js +1 -1
- package/esm/indicators/slow-stochastic.src.js +1 -1
- package/esm/indicators/stochastic.js +1 -1
- package/esm/indicators/stochastic.src.js +1 -1
- package/esm/indicators/supertrend.js +1 -1
- package/esm/indicators/supertrend.src.js +1 -1
- package/esm/indicators/tema.js +1 -1
- package/esm/indicators/tema.src.js +1 -1
- package/esm/indicators/trendline.js +1 -1
- package/esm/indicators/trendline.src.js +1 -1
- package/esm/indicators/trix.js +1 -1
- package/esm/indicators/trix.src.js +1 -1
- package/esm/indicators/volume-by-price.js +1 -1
- package/esm/indicators/volume-by-price.src.js +1 -1
- package/esm/indicators/vwap.js +1 -1
- package/esm/indicators/vwap.src.js +1 -1
- package/esm/indicators/williams-r.js +1 -1
- package/esm/indicators/williams-r.src.js +1 -1
- package/esm/indicators/wma.js +1 -1
- package/esm/indicators/wma.src.js +1 -1
- package/esm/indicators/zigzag.js +1 -1
- package/esm/indicators/zigzag.src.js +1 -1
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +69 -63
- package/esm/modules/annotations-advanced.js +3 -3
- package/esm/modules/annotations-advanced.src.js +25 -23
- package/esm/modules/annotations.js +3 -3
- package/esm/modules/annotations.src.js +21 -19
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +16 -15
- package/esm/modules/arrow-symbols.js +1 -1
- package/esm/modules/arrow-symbols.src.js +1 -1
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +29 -20
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +28 -19
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +6 -5
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +17 -10
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +18 -11
- package/esm/modules/contour.js +1 -1
- package/esm/modules/contour.src.js +1 -1
- package/esm/modules/current-date-indicator.js +1 -1
- package/esm/modules/current-date-indicator.src.js +1 -1
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +9 -10
- package/esm/modules/data-sorting.js +1 -1
- package/esm/modules/data-sorting.src.js +1 -1
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +20 -3
- package/esm/modules/data.js +1 -1
- package/esm/modules/data.src.js +1 -1
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +6 -5
- package/esm/modules/debugger.js +1 -1
- package/esm/modules/debugger.src.js +1 -1
- package/esm/modules/dependency-wheel.js +1 -1
- package/esm/modules/dependency-wheel.src.js +1 -1
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +3 -2
- package/esm/modules/drag-panes.js +1 -1
- package/esm/modules/drag-panes.src.js +1 -1
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +2 -3
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +5 -4
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +37 -9
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +17 -16
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +7 -7
- package/esm/modules/flowmap.js +2 -2
- package/esm/modules/flowmap.src.js +21 -11
- package/esm/modules/full-screen.js +1 -1
- package/esm/modules/full-screen.src.js +1 -1
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +2 -2
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +14 -13
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +93 -76
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +8 -8
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +4 -4
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +22 -22
- package/esm/modules/heikinashi.js +1 -1
- package/esm/modules/heikinashi.src.js +1 -1
- package/esm/modules/histogram-bellcurve.js +1 -1
- package/esm/modules/histogram-bellcurve.src.js +15 -3
- package/esm/modules/hollowcandlestick.js +1 -1
- package/esm/modules/hollowcandlestick.src.js +1 -1
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +18 -6
- package/esm/modules/lollipop.js +1 -1
- package/esm/modules/lollipop.src.js +1 -1
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +65 -57
- package/esm/modules/marker-clusters.js +1 -1
- package/esm/modules/marker-clusters.src.js +1 -1
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +3 -3
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +47 -45
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +31 -21
- package/esm/modules/no-data-to-display.js +1 -1
- package/esm/modules/no-data-to-display.src.js +1 -1
- package/esm/modules/non-cartesian-zoom.js +1 -1
- package/esm/modules/non-cartesian-zoom.src.js +1 -1
- package/esm/modules/offline-exporting.js +1 -1
- package/esm/modules/offline-exporting.src.js +1 -1
- package/esm/modules/organization.js +2 -2
- package/esm/modules/organization.src.js +3 -2
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +2 -2
- package/esm/modules/pareto.js +1 -1
- package/esm/modules/pareto.src.js +1 -1
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +7 -6
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +7 -5
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +10 -6
- package/esm/modules/pointandfigure.js +1 -1
- package/esm/modules/pointandfigure.src.js +1 -1
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +5 -4
- package/esm/modules/pyramid3d.js +1 -1
- package/esm/modules/pyramid3d.src.js +1 -1
- package/esm/modules/renko.js +1 -1
- package/esm/modules/renko.src.js +1 -1
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +34 -20
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +7 -7
- package/esm/modules/series-on-point.js +1 -1
- package/esm/modules/series-on-point.src.js +1 -1
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +2 -2
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +19 -19
- package/esm/modules/static-scale.js +1 -1
- package/esm/modules/static-scale.src.js +1 -1
- package/esm/modules/stock-tools.js +3 -3
- package/esm/modules/stock-tools.src.js +15 -10
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +90 -76
- package/esm/modules/streamgraph.js +1 -1
- package/esm/modules/streamgraph.src.js +1 -1
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +41 -26
- package/esm/modules/textpath.js +1 -1
- package/esm/modules/textpath.src.js +1 -1
- package/esm/modules/tiledwebmap.js +2 -2
- package/esm/modules/tiledwebmap.src.js +8 -6
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +3 -3
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +5 -4
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +17 -8
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +28 -18
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +35 -22
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +6 -4
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +2 -2
- package/esm/modules/vector.js +1 -1
- package/esm/modules/vector.src.js +1 -1
- package/esm/modules/venn.js +1 -1
- package/esm/modules/venn.src.js +1 -1
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +2 -2
- package/esm/modules/wordcloud.js +1 -1
- package/esm/modules/wordcloud.src.js +1 -1
- package/esm/modules/xrange.js +1 -1
- package/esm/modules/xrange.src.js +1 -1
- package/esm/standalone-navigator.js +4 -4
- package/esm/standalone-navigator.src.js +355 -249
- package/esm/themes/adaptive.js +1 -1
- package/esm/themes/adaptive.src.js +1 -1
- package/esm/themes/avocado.js +1 -1
- package/esm/themes/avocado.src.js +1 -1
- package/esm/themes/dark-unica.js +1 -1
- package/esm/themes/dark-unica.src.js +1 -1
- package/esm/themes/grid-light.js +1 -1
- package/esm/themes/grid-light.src.js +1 -1
- package/esm/themes/high-contrast.js +1 -1
- package/esm/themes/high-contrast.src.js +1 -1
- package/esm/themes/sand-signika.js +1 -1
- package/esm/themes/sand-signika.src.js +1 -1
- package/esm/themes/sunset.js +1 -1
- package/esm/themes/sunset.src.js +1 -1
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +40 -32
- package/highcharts-autoload.d.ts +8 -2
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +8 -2
- package/highcharts-autoload.src.js +313 -208
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +404 -283
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.js +90 -56
- package/highcharts.d.ts +61 -4
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +61 -4
- package/highcharts.src.js +312 -207
- package/highmaps.js +4 -4
- package/highmaps.src.js +390 -272
- package/highstock.js +4 -4
- package/highstock.src.js +413 -293
- package/i18n/fr-FR.js +1 -1
- package/i18n/fr-FR.src.js +1 -1
- package/i18n/nb-NO.js +1 -1
- package/i18n/nb-NO.src.js +1 -1
- package/i18n/zh-CN.js +1 -1
- package/i18n/zh-CN.src.js +1 -1
- package/indicators/acceleration-bands.js +1 -1
- package/indicators/acceleration-bands.src.js +1 -1
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +1 -1
- package/indicators/ao.src.js +1 -1
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.js +1 -1
- package/indicators/aroon-oscillator.src.js +1 -1
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +3 -3
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.js +1 -1
- package/indicators/bollinger-bands.src.js +1 -1
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.js +1 -1
- package/indicators/dmi.src.js +1 -1
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +4 -3
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +8 -7
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +2 -2
- package/indicators/keltner-channels.js +1 -1
- package/indicators/keltner-channels.src.js +1 -1
- package/indicators/klinger.js +1 -1
- package/indicators/klinger.src.js +1 -1
- package/indicators/macd.js +1 -1
- package/indicators/macd.src.js +1 -1
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +1 -1
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.js +1 -1
- package/indicators/price-channel.src.js +1 -1
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +2 -2
- package/indicators/slow-stochastic.js +1 -1
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.js +1 -1
- package/indicators/stochastic.src.js +1 -1
- package/indicators/supertrend.js +1 -1
- package/indicators/supertrend.src.js +1 -1
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +1 -1
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +69 -63
- package/modules/annotations-advanced.js +3 -3
- package/modules/annotations-advanced.src.js +25 -23
- package/modules/annotations.js +3 -3
- package/modules/annotations.src.js +21 -19
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +16 -15
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +29 -20
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +28 -19
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +6 -5
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +17 -10
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +18 -11
- package/modules/contour.js +4 -4
- package/modules/contour.src.js +19 -12
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +1 -1
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +9 -10
- package/modules/data-sorting.js +1 -1
- package/modules/data-sorting.src.js +1 -1
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +20 -3
- package/modules/data.js +1 -1
- package/modules/data.src.js +1 -1
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +6 -5
- package/modules/debugger.js +1 -1
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.js +1 -1
- package/modules/dependency-wheel.src.js +1 -1
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +3 -2
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +1 -1
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +2 -3
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +5 -4
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +37 -9
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +17 -16
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +7 -7
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +21 -11
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +2 -2
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +14 -13
- package/modules/gantt.js +6 -6
- package/modules/gantt.src.js +96 -79
- package/modules/geoheatmap.d.ts +0 -12
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.d.ts +0 -12
- package/modules/geoheatmap.src.js +8 -8
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +4 -4
- package/modules/heatmap.d.ts +0 -12
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.d.ts +0 -12
- package/modules/heatmap.src.js +40 -33
- package/modules/heikinashi.js +1 -1
- package/modules/heikinashi.src.js +1 -1
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +15 -3
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.js +1 -1
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +18 -6
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.d.ts +0 -12
- package/modules/map.js +4 -4
- package/modules/map.src.d.ts +0 -12
- package/modules/map.src.js +83 -68
- package/modules/marker-clusters.js +1 -1
- package/modules/marker-clusters.src.js +1 -1
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +3 -3
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +47 -45
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +31 -21
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +1 -1
- package/modules/non-cartesian-zoom.js +1 -1
- package/modules/non-cartesian-zoom.src.js +1 -1
- package/modules/offline-exporting.js +1 -1
- package/modules/offline-exporting.src.js +1 -1
- package/modules/organization.js +2 -2
- package/modules/organization.src.js +3 -2
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +2 -2
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +7 -6
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +7 -5
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +10 -6
- package/modules/pointandfigure.js +1 -1
- package/modules/pointandfigure.src.js +1 -1
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +5 -4
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- package/modules/renko.js +1 -1
- package/modules/renko.src.js +1 -1
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +34 -20
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +7 -7
- package/modules/series-on-point.js +1 -1
- package/modules/series-on-point.src.js +1 -1
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +2 -2
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +19 -19
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +3 -3
- package/modules/stock-tools.src.js +15 -10
- package/modules/stock.js +6 -6
- package/modules/stock.src.js +105 -89
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +41 -26
- package/modules/textpath.js +1 -1
- package/modules/textpath.src.js +1 -1
- package/modules/tiledwebmap.js +2 -2
- package/modules/tiledwebmap.src.js +8 -6
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +3 -3
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +5 -4
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +17 -8
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +28 -18
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +35 -22
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +6 -4
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +2 -2
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +1 -1
- package/modules/venn.js +1 -1
- package/modules/venn.src.js +1 -1
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +2 -2
- package/modules/wordcloud.js +1 -1
- package/modules/wordcloud.src.js +1 -1
- package/modules/xrange.js +1 -1
- package/modules/xrange.src.js +1 -1
- package/package.json +2 -3
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +355 -249
- package/themes/adaptive.js +1 -1
- package/themes/adaptive.src.js +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/dark-unica.js +1 -1
- package/themes/dark-unica.src.js +1 -1
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.src.js +1 -1
- package/themes/high-contrast.js +1 -1
- package/themes/high-contrast.src.js +1 -1
- package/themes/sand-signika.js +1 -1
- package/themes/sand-signika.src.js +1 -1
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import { defined, extend, internalClearTimeout,
|
|
13
|
+
import { defined, extend, internalClearTimeout, wrap } from '../Shared/Utilities.js';
|
|
14
14
|
/* *
|
|
15
15
|
*
|
|
16
16
|
* Composition
|
|
@@ -124,7 +124,7 @@ var MapPointer;
|
|
|
124
124
|
const mapNavigation = this.chart.options.mapNavigation;
|
|
125
125
|
// Pinch status
|
|
126
126
|
if (mapNavigation &&
|
|
127
|
-
|
|
127
|
+
(mapNavigation.enableTouchZoom ?? mapNavigation.enabled)) {
|
|
128
128
|
this.chart.zooming.pinchType = 'xy';
|
|
129
129
|
}
|
|
130
130
|
proceed.apply(this, [].slice.call(arguments, 1));
|
|
@@ -20,7 +20,7 @@ const { topo2geo } = GeoJSONComposition;
|
|
|
20
20
|
import MU from './MapUtilities.js';
|
|
21
21
|
const { boundsFromPath } = MU;
|
|
22
22
|
import Projection from './Projection.js';
|
|
23
|
-
import { addEvent, clamp, crisp, fireEvent, isArray, isNumber, isObject, isString, merge,
|
|
23
|
+
import { addEvent, clamp, crisp, fireEvent, isArray, isNumber, isObject, isString, merge, pushUnique, relativeLength } from '../Shared/Utilities.js';
|
|
24
24
|
/* *
|
|
25
25
|
*
|
|
26
26
|
* Constants
|
|
@@ -283,7 +283,7 @@ class MapView {
|
|
|
283
283
|
fitToBounds(bounds, padding, redraw = true, animation) {
|
|
284
284
|
const b = bounds || this.getProjectedBounds();
|
|
285
285
|
if (b) {
|
|
286
|
-
const pad =
|
|
286
|
+
const pad = padding ?? (bounds ? 0 : this.options.padding), fullField = this.getField(false), padArr = isArray(pad) ? pad : [pad, pad, pad, pad];
|
|
287
287
|
this.padding = [
|
|
288
288
|
relativeLength(padArr[0], fullField.height),
|
|
289
289
|
relativeLength(padArr[1], fullField.width),
|
|
@@ -20,7 +20,7 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
|
20
20
|
import SVGRenderer from '../../Core/Renderer/SVG/SVGRenderer.js';
|
|
21
21
|
import SVGElement from '../../Core/Renderer/SVG/SVGElement.js';
|
|
22
22
|
import { composeTextPath } from '../../Extensions/TextPath.js';
|
|
23
|
-
import { crisp, extend, merge,
|
|
23
|
+
import { crisp, extend, merge, relativeLength } from '../../Shared/Utilities.js';
|
|
24
24
|
composeTextPath(SVGElement);
|
|
25
25
|
const { prototype: { symbols } } = SVGRenderer;
|
|
26
26
|
const { seriesTypes: { column: ColumnSeries, sankey: SankeySeries } } = SeriesRegistry;
|
|
@@ -137,9 +137,11 @@ class ArcDiagramSeries extends SankeySeries {
|
|
|
137
137
|
* @internal
|
|
138
138
|
*/
|
|
139
139
|
translateLink(point) {
|
|
140
|
-
const series = this, fromNode = point.fromNode, toNode = point.toNode, chart = this.chart, translationFactor = series.translationFactor, pointOptions = point.options, seriesOptions = series.options, linkWeight =
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
const series = this, fromNode = point.fromNode, toNode = point.toNode, chart = this.chart, translationFactor = series.translationFactor, pointOptions = point.options, seriesOptions = series.options, linkWeight = (pointOptions.linkWeight ??
|
|
141
|
+
seriesOptions.linkWeight ??
|
|
142
|
+
Math.max((point.weight || 0) *
|
|
143
|
+
translationFactor *
|
|
144
|
+
fromNode.scale, series.options.minLinkWidth || 0)), centeredLinks = point.series.options.centeredLinks, nodeTop = fromNode.nodeY;
|
|
143
145
|
const getX = (node, fromOrTo) => {
|
|
144
146
|
const linkLeft = ((node.offset(point, fromOrTo) || 0) *
|
|
145
147
|
translationFactor);
|
|
@@ -168,7 +170,7 @@ class ArcDiagramSeries extends SankeySeries {
|
|
|
168
170
|
toX,
|
|
169
171
|
toX + linkWeight
|
|
170
172
|
];
|
|
171
|
-
const linkRadius = ((toX + linkWeight - fromX) / Math.abs(toX + linkWeight - fromX)) *
|
|
173
|
+
const linkRadius = ((toX + linkWeight - fromX) / Math.abs(toX + linkWeight - fromX)) * (seriesOptions.linkRadius ?? Math.min(Math.abs(toX + linkWeight - fromX) / 2, fromNode.nodeY - Math.abs(linkWeight)));
|
|
172
174
|
point.shapeArgs = {
|
|
173
175
|
d: [
|
|
174
176
|
['M', fromX, bottom],
|
|
@@ -225,7 +227,7 @@ class ArcDiagramSeries extends SankeySeries {
|
|
|
225
227
|
const series = this, translationFactor = series.translationFactor, chart = series.chart, maxNodesLength = chart.inverted ?
|
|
226
228
|
chart.plotWidth : chart.plotHeight, options = series.options, maxRadius = Math.min(chart.plotWidth, chart.plotHeight, maxNodesLength / node.series.nodes.length - this.nodePadding), sum = node.getSum() * (column.sankeyColumn.scale || 0), equalNodes = options.equalNodes, nodeHeight = equalNodes ?
|
|
227
229
|
maxRadius :
|
|
228
|
-
Math.max(sum * translationFactor, this.options.minLinkWidth || 0), lineWidth = options.marker?.lineWidth || 0, nodeOffset = column.sankeyColumn.offset(node, translationFactor), fromNodeLeft = crisp(
|
|
230
|
+
Math.max(sum * translationFactor, this.options.minLinkWidth || 0), lineWidth = options.marker?.lineWidth || 0, nodeOffset = column.sankeyColumn.offset(node, translationFactor), fromNodeLeft = crisp(((nodeOffset && nodeOffset.absoluteLeft) ?? ((column.sankeyColumn.left(translationFactor) || 0) +
|
|
229
231
|
(nodeOffset && nodeOffset.relativeLeft || 0))), lineWidth), markerOptions = merge(options.marker, node.options.marker), symbol = markerOptions.symbol, markerRadius = markerOptions.radius, top = parseInt(options.offset ?? '100', 10) *
|
|
230
232
|
((chart.inverted ?
|
|
231
233
|
chart.plotWidth : chart.plotHeight) - (crisp(this.colDistance * (node.column || 0) +
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import AreaSeriesDefaults from './AreaSeriesDefaults.js';
|
|
14
14
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
15
15
|
const { seriesTypes: { line: LineSeries } } = SeriesRegistry;
|
|
16
|
-
import { defined, extend, merge, objectEach
|
|
16
|
+
import { defined, extend, merge, objectEach } from '../../Shared/Utilities.js';
|
|
17
17
|
/* *
|
|
18
18
|
*
|
|
19
19
|
* Class
|
|
@@ -100,8 +100,7 @@ class AreaSeries extends LineSeries {
|
|
|
100
100
|
*/
|
|
101
101
|
getGraphPath(points) {
|
|
102
102
|
const getGraphPath = LineSeries.prototype.getGraphPath, options = this.options, stacking = options.stacking, yAxis = this.yAxis, bottomPoints = [], graphPoints = [], seriesIndex = this.index, stacks = yAxis.stacking.stacks[this.stackKey], threshold = options.threshold, translatedThreshold = Math.round(// #10909
|
|
103
|
-
yAxis.getThreshold(options.threshold)), connectNulls =
|
|
104
|
-
options.connectNulls, stacking === 'percent'),
|
|
103
|
+
yAxis.getThreshold(options.threshold)), connectNulls = (options.connectNulls ?? stacking === 'percent'),
|
|
105
104
|
// To display null points in underlying stacked series, this
|
|
106
105
|
// series graph must be broken, and the area also fall down to
|
|
107
106
|
// fill the gap left by the null point. #2069
|
|
@@ -154,9 +153,9 @@ class AreaSeries extends LineSeries {
|
|
|
154
153
|
// Treat points with undefined plotY as null (e.g. non-positive
|
|
155
154
|
// values on logarithmic axis, #18422)
|
|
156
155
|
isNull = points[i].isNull || !defined(points[i].plotY);
|
|
157
|
-
plotX =
|
|
156
|
+
plotX = (points[i].rectPlotX ?? points[i].plotX);
|
|
158
157
|
yBottom = stacking ?
|
|
159
|
-
|
|
158
|
+
(points[i].yBottom ?? translatedThreshold) :
|
|
160
159
|
translatedThreshold;
|
|
161
160
|
if (!isNull || connectNulls) {
|
|
162
161
|
if (!connectNulls) {
|
|
@@ -17,7 +17,7 @@ import H from '../../Core/Globals.js';
|
|
|
17
17
|
const { noop } = H;
|
|
18
18
|
import RangeDataLabel from '../RangeDataLabel.js';
|
|
19
19
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
20
|
-
import { crisp, extend, merge,
|
|
20
|
+
import { crisp, extend, merge, relativeLength } from '../../Shared/Utilities.js';
|
|
21
21
|
/* *
|
|
22
22
|
*
|
|
23
23
|
* Class
|
|
@@ -127,7 +127,10 @@ class BoxPlotSeries extends ColumnSeries {
|
|
|
127
127
|
// Stem attributes
|
|
128
128
|
stemAttr.stroke =
|
|
129
129
|
point.stemColor || options.stemColor || color;
|
|
130
|
-
stemAttr['stroke-width'] =
|
|
130
|
+
stemAttr['stroke-width'] =
|
|
131
|
+
point.stemWidth ??
|
|
132
|
+
options.stemWidth ??
|
|
133
|
+
options.lineWidth;
|
|
131
134
|
stemAttr.dashstyle = (point.stemDashStyle ||
|
|
132
135
|
options.stemDashStyle ||
|
|
133
136
|
options.dashStyle);
|
|
@@ -137,7 +140,10 @@ class BoxPlotSeries extends ColumnSeries {
|
|
|
137
140
|
whiskersAttr.stroke = (point.whiskerColor ||
|
|
138
141
|
options.whiskerColor ||
|
|
139
142
|
color);
|
|
140
|
-
whiskersAttr['stroke-width'] =
|
|
143
|
+
whiskersAttr['stroke-width'] =
|
|
144
|
+
point.whiskerWidth ??
|
|
145
|
+
options.whiskerWidth ??
|
|
146
|
+
options.lineWidth;
|
|
141
147
|
whiskersAttr.dashstyle = (point.whiskerDashStyle ||
|
|
142
148
|
options.whiskerDashStyle ||
|
|
143
149
|
options.dashStyle);
|
|
@@ -158,7 +164,10 @@ class BoxPlotSeries extends ColumnSeries {
|
|
|
158
164
|
medianAttr.stroke = (point.medianColor ||
|
|
159
165
|
options.medianColor ||
|
|
160
166
|
color);
|
|
161
|
-
medianAttr['stroke-width'] =
|
|
167
|
+
medianAttr['stroke-width'] =
|
|
168
|
+
point.medianWidth ??
|
|
169
|
+
options.medianWidth ??
|
|
170
|
+
options.lineWidth;
|
|
162
171
|
medianAttr.dashstyle = (point.medianDashStyle ||
|
|
163
172
|
options.medianDashStyle ||
|
|
164
173
|
options.dashStyle);
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
import F from '../../Core/Templating.js';
|
|
15
15
|
import H from '../../Core/Globals.js';
|
|
16
16
|
const { noop } = H;
|
|
17
|
-
import { arrayMax, arrayMin, isNumber, merge,
|
|
17
|
+
import { arrayMax, arrayMin, isNumber, merge, stableSort } from '../../Shared/Utilities.js';
|
|
18
18
|
/* *
|
|
19
19
|
*
|
|
20
20
|
* Class
|
|
@@ -79,7 +79,7 @@ class BubbleLegendItem {
|
|
|
79
79
|
* Legend instance
|
|
80
80
|
*/
|
|
81
81
|
drawLegendSymbol(legend) {
|
|
82
|
-
const itemDistance =
|
|
82
|
+
const itemDistance = (legend.options.itemDistance ?? 20), legendItem = this.legendItem || {}, options = this.options, ranges = options.ranges, connectorDistance = options.connectorDistance;
|
|
83
83
|
let connectorSpace;
|
|
84
84
|
// Do not create bubbleLegend now if ranges or ranges values are not
|
|
85
85
|
// specified or if are empty array.
|
|
@@ -125,13 +125,17 @@ class BubbleLegendItem {
|
|
|
125
125
|
// Allow to parts of styles be used individually for range
|
|
126
126
|
ranges.forEach(function (range, i) {
|
|
127
127
|
if (!styledMode) {
|
|
128
|
-
bubbleAttribs.stroke =
|
|
128
|
+
bubbleAttribs.stroke =
|
|
129
|
+
range.borderColor ?? options.borderColor ?? series.color;
|
|
129
130
|
bubbleAttribs.fill = range.color || options.color;
|
|
130
131
|
if (!bubbleAttribs.fill) {
|
|
131
132
|
bubbleAttribs.fill = series.color;
|
|
132
133
|
bubbleAttribs['fill-opacity'] = fillOpacity ?? 1;
|
|
133
134
|
}
|
|
134
|
-
connectorAttribs.stroke =
|
|
135
|
+
connectorAttribs.stroke =
|
|
136
|
+
range.connectorColor ??
|
|
137
|
+
options.connectorColor ??
|
|
138
|
+
series.color;
|
|
135
139
|
}
|
|
136
140
|
// Set options needed for rendering each range
|
|
137
141
|
ranges[i].radius = this.getRangeRadius(range.value);
|
|
@@ -328,10 +332,10 @@ class BubbleLegendItem {
|
|
|
328
332
|
if (s.isBubble && !s.ignoreSeries) {
|
|
329
333
|
zData = s.getColumn('z').filter(isNumber);
|
|
330
334
|
if (zData.length) {
|
|
331
|
-
minZ =
|
|
335
|
+
minZ = (s.options.zMin ?? Math.min(minZ, Math.max(arrayMin(zData), s.options.displayNegative === false ?
|
|
332
336
|
s.options.zThreshold :
|
|
333
337
|
-Number.MAX_VALUE)));
|
|
334
|
-
maxZ =
|
|
338
|
+
maxZ = (s.options.zMax ?? Math.max(maxZ, arrayMax(zData)));
|
|
335
339
|
}
|
|
336
340
|
}
|
|
337
341
|
});
|
|
@@ -16,7 +16,7 @@ import H from '../../Core/Globals.js';
|
|
|
16
16
|
const { composed, noop } = H;
|
|
17
17
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
18
18
|
const { series: Series, seriesTypes: { column: { prototype: columnProto }, scatter: ScatterSeries } } = SeriesRegistry;
|
|
19
|
-
import { addEvent, arrayMax, arrayMin, clamp, defined, extend, isNumber, merge,
|
|
19
|
+
import { addEvent, arrayMax, arrayMin, clamp, defined, extend, isNumber, merge, pushUnique } from '../../Shared/Utilities.js';
|
|
20
20
|
/* *
|
|
21
21
|
*
|
|
22
22
|
* Functions
|
|
@@ -69,7 +69,8 @@ function onAxisFoundExtremes() {
|
|
|
69
69
|
['min', 'userMin', pxMin],
|
|
70
70
|
['max', 'userMax', pxMax]
|
|
71
71
|
].forEach((keys) => {
|
|
72
|
-
if (typeof
|
|
72
|
+
if (typeof (this.options[keys[0]] ??
|
|
73
|
+
this[keys[1]]) === 'undefined') {
|
|
73
74
|
this[keys[0]] += keys[2] / transA;
|
|
74
75
|
}
|
|
75
76
|
});
|
|
@@ -166,10 +167,10 @@ class BubbleSeries extends ScatterSeries {
|
|
|
166
167
|
if (otherSeries.bubblePadding && otherSeries.reserveSpace()) {
|
|
167
168
|
const zExtremes = (otherSeries.onPoint || otherSeries).getZExtremes();
|
|
168
169
|
if (zExtremes) {
|
|
169
|
-
//
|
|
170
|
+
// Use nullish coalescing because min or max can be 0.
|
|
170
171
|
// #17280
|
|
171
|
-
zMin = Math.min(
|
|
172
|
-
zMax = Math.max(
|
|
172
|
+
zMin = Math.min((zMin ?? zExtremes.zMin), zExtremes.zMin);
|
|
173
|
+
zMax = Math.max((zMax ?? zExtremes.zMax), zExtremes.zMax);
|
|
173
174
|
valid = true;
|
|
174
175
|
}
|
|
175
176
|
}
|
|
@@ -307,19 +308,19 @@ class BubbleSeries extends ScatterSeries {
|
|
|
307
308
|
}
|
|
308
309
|
return isPercent ? smallestSize * length / 100 : length;
|
|
309
310
|
};
|
|
310
|
-
const minPxSize = getPxSize(
|
|
311
|
+
const minPxSize = getPxSize(this.options.minSize ?? 8);
|
|
311
312
|
// Prioritize min size if conflict to make sure bubbles are
|
|
312
313
|
// always visible. #5873
|
|
313
|
-
const maxPxSize = Math.max(getPxSize(
|
|
314
|
+
const maxPxSize = Math.max(getPxSize(this.options.maxSize ?? '20%'), minPxSize);
|
|
314
315
|
return { minPxSize, maxPxSize };
|
|
315
316
|
}
|
|
316
317
|
getZExtremes() {
|
|
317
318
|
const options = this.options, zData = this.getColumn('z').filter(isNumber);
|
|
318
319
|
if (zData.length) {
|
|
319
|
-
const zMin =
|
|
320
|
+
const zMin = (options.zMin ?? clamp(arrayMin(zData), options.displayNegative === false ?
|
|
320
321
|
(options.zThreshold || 0) :
|
|
321
322
|
-Number.MAX_VALUE, Number.MAX_VALUE));
|
|
322
|
-
const zMax =
|
|
323
|
+
const zMax = (options.zMax ?? arrayMax(zData));
|
|
323
324
|
if (isNumber(zMin) && isNumber(zMax)) {
|
|
324
325
|
return { zMin, zMax };
|
|
325
326
|
}
|
|
@@ -14,7 +14,7 @@ import BulletPoint from './BulletPoint.js';
|
|
|
14
14
|
import BulletSeriesDefaults from './BulletSeriesDefaults.js';
|
|
15
15
|
import ColumnSeries from '../Column/ColumnSeries.js';
|
|
16
16
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
17
|
-
import { extend, isNumber, merge,
|
|
17
|
+
import { extend, isNumber, merge, relativeLength } from '../../Shared/Utilities.js';
|
|
18
18
|
/* *
|
|
19
19
|
*
|
|
20
20
|
* Class
|
|
@@ -95,13 +95,20 @@ class BulletSeries extends ColumnSeries {
|
|
|
95
95
|
// Presentational
|
|
96
96
|
if (!chart.styledMode) {
|
|
97
97
|
targetGraphic.attr({
|
|
98
|
-
fill:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
98
|
+
fill: (targetOptions.color ??
|
|
99
|
+
pointOptions.color ??
|
|
100
|
+
((series.zones.length &&
|
|
101
|
+
(point.getZone?.call({
|
|
102
|
+
series: series,
|
|
103
|
+
x: point.x,
|
|
104
|
+
y: targetVal,
|
|
105
|
+
options: {}
|
|
106
|
+
})?.color || series.color)) || void 0) ??
|
|
107
|
+
point.color ??
|
|
108
|
+
series.color),
|
|
109
|
+
stroke: targetOptions.borderColor ??
|
|
110
|
+
point.borderColor ??
|
|
111
|
+
series.options.borderColor,
|
|
105
112
|
'stroke-width': targetOptions.borderWidth,
|
|
106
113
|
r: targetOptions.borderRadius
|
|
107
114
|
});
|
|
@@ -130,10 +137,10 @@ class BulletSeries extends ColumnSeries {
|
|
|
130
137
|
if (targetData && targetData.length) {
|
|
131
138
|
const targetExtremes = super.getExtremes.call(this, targetData);
|
|
132
139
|
if (isNumber(targetExtremes.dataMin)) {
|
|
133
|
-
dataExtremes.dataMin = Math.min(
|
|
140
|
+
dataExtremes.dataMin = Math.min((dataExtremes.dataMin ?? Infinity), targetExtremes.dataMin);
|
|
134
141
|
}
|
|
135
142
|
if (isNumber(targetExtremes.dataMax)) {
|
|
136
|
-
dataExtremes.dataMax = Math.max(
|
|
143
|
+
dataExtremes.dataMax = Math.max((dataExtremes.dataMax ?? -Infinity), targetExtremes.dataMax);
|
|
137
144
|
}
|
|
138
145
|
}
|
|
139
146
|
return dataExtremes;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
'use strict';
|
|
13
13
|
import H from '../Core/Globals.js';
|
|
14
14
|
const { deg2rad } = H;
|
|
15
|
-
import { fireEvent, isNumber,
|
|
15
|
+
import { fireEvent, isNumber, relativeLength } from '../Shared/Utilities.js';
|
|
16
16
|
/**
|
|
17
17
|
* @internal
|
|
18
18
|
*/
|
|
@@ -45,11 +45,13 @@ var CenteredUtilities;
|
|
|
45
45
|
innerSize = parseFloat(innerSize);
|
|
46
46
|
}
|
|
47
47
|
const positions = [
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
(centerOption?.[0] ?? '50%'),
|
|
49
|
+
(centerOption?.[1] ?? '50%'),
|
|
50
50
|
// Prevent from negative values
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
((size && size < 0 ? void 0 : options.size) ?? '100%'),
|
|
52
|
+
((innerSize && innerSize < 0 ?
|
|
53
|
+
void 0 :
|
|
54
|
+
options.innerSize || 0) ?? '0%')
|
|
53
55
|
];
|
|
54
56
|
for (i = 0; i < 4; ++i) {
|
|
55
57
|
value = positions[i];
|
|
@@ -18,7 +18,7 @@ import H from '../../Core/Globals.js';
|
|
|
18
18
|
const { noop } = H;
|
|
19
19
|
import Series from '../../Core/Series/Series.js';
|
|
20
20
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
21
|
-
import { clamp, crisp, defined, extend, fireEvent, isArray, isNumber, merge, objectEach
|
|
21
|
+
import { clamp, crisp, defined, extend, fireEvent, isArray, isNumber, merge, objectEach } from '../../Shared/Utilities.js';
|
|
22
22
|
/* *
|
|
23
23
|
*
|
|
24
24
|
* Class
|
|
@@ -167,7 +167,7 @@ class ColumnSeries extends Series {
|
|
|
167
167
|
xAxis.tickInterval ||
|
|
168
168
|
1), // #2610
|
|
169
169
|
xAxis.len // #1535
|
|
170
|
-
), groupPadding = categoryWidth * options.groupPadding, groupWidth = categoryWidth - 2 * groupPadding, pointOffsetWidth = groupWidth / (columnCount || 1), pointWidth = Math.min(options.maxPointWidth || xAxis.len,
|
|
170
|
+
), groupPadding = categoryWidth * options.groupPadding, groupWidth = categoryWidth - 2 * groupPadding, pointOffsetWidth = groupWidth / (columnCount || 1), pointWidth = Math.min(options.maxPointWidth || xAxis.len, (options.pointWidth ?? pointOffsetWidth * (1 - 2 * options.pointPadding))), pointPadding = (pointOffsetWidth - pointWidth) / 2,
|
|
171
171
|
// #1251, #3737
|
|
172
172
|
colIndex = (series.columnIndex || 0) + (reverseStacks ? 1 : 0), pointXOffset = pointPadding +
|
|
173
173
|
(groupPadding +
|
|
@@ -14,7 +14,7 @@ import H from '../../Core/Globals.js';
|
|
|
14
14
|
const { composed } = H;
|
|
15
15
|
import Math3D from '../../Core/Math3D.js';
|
|
16
16
|
const { perspective } = Math3D;
|
|
17
|
-
import { addEvent, extend,
|
|
17
|
+
import { addEvent, extend, pushUnique, wrap } from '../../Shared/Utilities.js';
|
|
18
18
|
/* *
|
|
19
19
|
*
|
|
20
20
|
* Functions
|
|
@@ -158,7 +158,8 @@ function retrieveStacks(chart, stacking) {
|
|
|
158
158
|
const series = chart.series, stacks = { totalStacks: 0 };
|
|
159
159
|
let stackNumber, i = 1;
|
|
160
160
|
series.forEach(function (s) {
|
|
161
|
-
stackNumber =
|
|
161
|
+
stackNumber = (s.options.stack ??
|
|
162
|
+
(stacking ? 0 : series.length - 1 - s.index)); // #3841, #4532
|
|
162
163
|
if (!stacks[stackNumber]) {
|
|
163
164
|
stacks[stackNumber] = { series: [s], position: i };
|
|
164
165
|
i++;
|
|
@@ -290,7 +291,7 @@ function wrapColumnSeriesPointAttribs(proceed) {
|
|
|
290
291
|
if (this.chart.is3d && this.chart.is3d()) {
|
|
291
292
|
// Set the fill color to the fill color to provide a smooth edge
|
|
292
293
|
attr.stroke = this.options.edgeColor || attr.fill;
|
|
293
|
-
attr['stroke-width'] =
|
|
294
|
+
attr['stroke-width'] = (this.options.edgeWidth ?? 1); // #4055
|
|
294
295
|
}
|
|
295
296
|
return attr;
|
|
296
297
|
}
|
|
@@ -320,7 +321,7 @@ function wrapColumnSeriesSetVisible(proceed, vis) {
|
|
|
320
321
|
for (const point of series.points) {
|
|
321
322
|
point.visible = point.options.visible = vis =
|
|
322
323
|
typeof vis === 'undefined' ?
|
|
323
|
-
!
|
|
324
|
+
!(series.visible ?? point.visible) : vis;
|
|
324
325
|
if (series.options.data) {
|
|
325
326
|
series.options.data[series.data.indexOf(point)] = point.options;
|
|
326
327
|
}
|
|
@@ -348,7 +349,7 @@ function wrapSeriesAlignDataLabel(proceed, point, _dataLabel, options, alignTo)
|
|
|
348
349
|
// Only do this for 3D columns and it's derived series
|
|
349
350
|
if (chart.is3d() &&
|
|
350
351
|
this.is('column')) {
|
|
351
|
-
const series = this, seriesOptions = series.options, inside =
|
|
352
|
+
const series = this, seriesOptions = series.options, inside = (options.inside ?? !!series.options.stacking), options3d = chart.options.chart.options3d, xOffset = (point.pointWidth || 0) / 2;
|
|
352
353
|
let dLPosition = {
|
|
353
354
|
x: alignTo.x + xOffset,
|
|
354
355
|
y: alignTo.y,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import ColumnPyramidSeriesDefaults from './ColumnPyramidSeriesDefaults.js';
|
|
14
14
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
15
15
|
const { column: ColumnSeries } = SeriesRegistry.seriesTypes;
|
|
16
|
-
import { clamp, merge
|
|
16
|
+
import { clamp, merge } from '../../Shared/Utilities.js';
|
|
17
17
|
/* *
|
|
18
18
|
*
|
|
19
19
|
* Class
|
|
@@ -40,8 +40,8 @@ class ColumnPyramidSeries extends ColumnSeries {
|
|
|
40
40
|
*/
|
|
41
41
|
translate() {
|
|
42
42
|
const series = this, chart = series.chart, options = series.options, dense = series.dense =
|
|
43
|
-
series.closestPointRange * series.xAxis.transA < 2, borderWidth = series.borderWidth =
|
|
44
|
-
|
|
43
|
+
series.closestPointRange * series.xAxis.transA < 2, borderWidth = series.borderWidth =
|
|
44
|
+
options.borderWidth ?? (dense ? 0 : 1), yAxis = series.yAxis, threshold = options.threshold, minPointLength = (options.minPointLength ?? 5), metrics = series.getColumnMetrics(), pointWidth = metrics.width, pointXOffset = series.pointXOffset = metrics.offset;
|
|
45
45
|
let translatedThreshold = series.translatedThreshold =
|
|
46
46
|
yAxis.getThreshold(threshold),
|
|
47
47
|
// Postprocessed for border width
|
|
@@ -61,7 +61,7 @@ class ColumnPyramidSeries extends ColumnSeries {
|
|
|
61
61
|
super.translate();
|
|
62
62
|
// Record the new values
|
|
63
63
|
for (const point of series.points) {
|
|
64
|
-
const yBottom =
|
|
64
|
+
const yBottom = (point.yBottom ?? translatedThreshold), safeDistance = 999 + Math.abs(yBottom), plotY = clamp(point.plotY, -safeDistance, yAxis.len + safeDistance),
|
|
65
65
|
// Don't draw too far outside plot area
|
|
66
66
|
// (#1303, #2241, #4264)
|
|
67
67
|
barW = seriesBarW / 2, barY = Math.min(plotY, yBottom), barH = Math.max(plotY, yBottom) - barY;
|
|
@@ -16,7 +16,7 @@ import H from '../../Core/Globals.js';
|
|
|
16
16
|
const { noop } = H;
|
|
17
17
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
18
18
|
const { seriesTypes: { arearange: AreaRangeSeries, column: ColumnSeries, column: { prototype: columnProto } } } = SeriesRegistry;
|
|
19
|
-
import { addEvent, clamp, extend, isNumber, merge
|
|
19
|
+
import { addEvent, clamp, extend, isNumber, merge } from '../../Shared/Utilities.js';
|
|
20
20
|
/* *
|
|
21
21
|
*
|
|
22
22
|
* Class
|
|
@@ -97,7 +97,9 @@ class ColumnRangeSeries extends AreaRangeSeries {
|
|
|
97
97
|
point.plotLow = safeBounds(plotY);
|
|
98
98
|
// Adjust shape
|
|
99
99
|
y = point.plotHigh;
|
|
100
|
-
height =
|
|
100
|
+
height =
|
|
101
|
+
(point.rectPlotY ?? point.plotY) -
|
|
102
|
+
point.plotHigh;
|
|
101
103
|
// Adjust for minPointLength
|
|
102
104
|
if (Math.abs(height) < minPointLength) {
|
|
103
105
|
heightDifference = (minPointLength - height);
|
|
@@ -18,7 +18,7 @@ const { charts, deg2rad } = H;
|
|
|
18
18
|
import Math3D from '../../Core/Math3D.js';
|
|
19
19
|
const { perspective } = Math3D;
|
|
20
20
|
import SVGElement3DCylinder from './SVGElement3DCylinder.js';
|
|
21
|
-
import { extend
|
|
21
|
+
import { extend } from '../../Shared/Utilities.js';
|
|
22
22
|
/* *
|
|
23
23
|
*
|
|
24
24
|
* Functions
|
|
@@ -155,7 +155,7 @@ function rendererGetCylinderEnd(chart, shapeArgs, isBottom) {
|
|
|
155
155
|
const { width = 0, height = 0, alphaCorrection = 0 } = shapeArgs,
|
|
156
156
|
// A half of the smaller one out of width or depth (optional, because
|
|
157
157
|
// there's no depth for a funnel that reuses the code)
|
|
158
|
-
depth =
|
|
158
|
+
depth = (shapeArgs.depth ?? width ?? 0), radius = Math.min(width, depth) / 2,
|
|
159
159
|
// Approximated longest diameter
|
|
160
160
|
angleOffset = deg2rad * (chart.options.chart.options3d.beta - 90 +
|
|
161
161
|
alphaCorrection),
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import Point from '../Core/Series/Point.js';
|
|
14
14
|
const { tooltipFormatter: pointTooltipFormatter } = Point.prototype;
|
|
15
15
|
import Series from '../Core/Series/Series.js';
|
|
16
|
-
import { addEvent, arrayMax, arrayMin, correctFloat, defined, isArray, isNumber, isString
|
|
16
|
+
import { addEvent, arrayMax, arrayMin, correctFloat, defined, isArray, isNumber, isString } from '../Shared/Utilities.js';
|
|
17
17
|
/* *
|
|
18
18
|
*
|
|
19
19
|
* Composition
|
|
@@ -75,7 +75,7 @@ var DataModifyComposition;
|
|
|
75
75
|
series.setCumulative(modeState, false);
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
if (
|
|
78
|
+
if (redraw ?? true) {
|
|
79
79
|
this.chart.redraw();
|
|
80
80
|
}
|
|
81
81
|
}
|
|
@@ -92,7 +92,7 @@ var DataModifyComposition;
|
|
|
92
92
|
function tooltipFormatter(pointFormat) {
|
|
93
93
|
const point = this, { numberFormatter } = point.series.chart, replace = function (value) {
|
|
94
94
|
pointFormat = pointFormat.replace('{point.' + value + '}', (point[value] > 0 && value === 'change' ? '+' : '') +
|
|
95
|
-
numberFormatter(point[value],
|
|
95
|
+
numberFormatter(point[value], (point.series.tooltipOptions.changeDecimals ?? 2)));
|
|
96
96
|
};
|
|
97
97
|
if (defined(point.change)) {
|
|
98
98
|
replace('change');
|
|
@@ -120,7 +120,9 @@ var DataModifyComposition;
|
|
|
120
120
|
chart.series[this.index - 1] :
|
|
121
121
|
chart.get(linkedTo);
|
|
122
122
|
if (linkedSeries instanceof Series) {
|
|
123
|
-
this.options.compare =
|
|
123
|
+
this.options.compare =
|
|
124
|
+
this.userOptions.compare ??
|
|
125
|
+
linkedSeries.options.compare;
|
|
124
126
|
}
|
|
125
127
|
}
|
|
126
128
|
const compare = this.options.compare;
|
|
@@ -194,7 +196,7 @@ var DataModifyComposition;
|
|
|
194
196
|
// Survive to export, #5485 (and for options generally)
|
|
195
197
|
this.options.compare = this.userOptions.compare = compare;
|
|
196
198
|
// Fire series.init() that will set or delete series.dataModify
|
|
197
|
-
this.update({},
|
|
199
|
+
this.update({}, (redraw ?? true));
|
|
198
200
|
if (this.dataModify && (compare === 'value' || compare === 'percent')) {
|
|
199
201
|
this.dataModify.initCompare(compare);
|
|
200
202
|
}
|
|
@@ -281,11 +283,11 @@ var DataModifyComposition;
|
|
|
281
283
|
*/
|
|
282
284
|
function seriesSetCumulative(cumulative, redraw) {
|
|
283
285
|
// Set default value to false
|
|
284
|
-
cumulative =
|
|
286
|
+
cumulative = (cumulative ?? false);
|
|
285
287
|
// Survive to export, #5485 (and for options generally)
|
|
286
288
|
this.options.cumulative = this.userOptions.cumulative = cumulative;
|
|
287
289
|
// Fire series.init() that will set or delete series.dataModify
|
|
288
|
-
this.update({},
|
|
290
|
+
this.update({}, (redraw ?? true));
|
|
289
291
|
// If should, turn on the Cumulative Sum mode
|
|
290
292
|
if (this.dataModify) {
|
|
291
293
|
this.dataModify.initCumulative();
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
import DotPlotSeriesDefaults from './DotPlotSeriesDefaults.js';
|
|
23
23
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
24
24
|
const { column: ColumnSeries } = SeriesRegistry.seriesTypes;
|
|
25
|
-
import { extend, isNumber, merge
|
|
25
|
+
import { extend, isNumber, merge } from '../../Shared/Utilities.js';
|
|
26
26
|
/* *
|
|
27
27
|
*
|
|
28
28
|
* Class
|
|
@@ -59,7 +59,8 @@ class DotPlotSeries extends ColumnSeries {
|
|
|
59
59
|
const height = (totalHeight * slotsPerBar) / total;
|
|
60
60
|
for (const point of series.points) {
|
|
61
61
|
const pointMarkerOptions = point.marker || {}, symbol = (pointMarkerOptions.symbol ||
|
|
62
|
-
seriesMarkerOptions.symbol), radius =
|
|
62
|
+
seriesMarkerOptions.symbol), radius = pointMarkerOptions.radius ??
|
|
63
|
+
seriesMarkerOptions.radius, isSquare = symbol !== 'rect', width = isSquare ? height : slotWidth, shapeArgs = point.shapeArgs || {}, startX = (shapeArgs.x || 0) + ((shapeArgs.width || 0) -
|
|
63
64
|
slotsPerBar * width) / 2, positiveYValue = Math.abs(point.y ?? 0), shapeY = (shapeArgs.y || 0), shapeHeight = (shapeArgs.height || 0);
|
|
64
65
|
let graphics, x = startX, y = point.negative ? shapeY : shapeY + shapeHeight - height, slotColumn = 0;
|
|
65
66
|
point.graphics = graphics = point.graphics || [];
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
13
|
import AreaRangePoint from '../AreaRange/AreaRangePoint.js';
|
|
14
|
-
import { extend
|
|
14
|
+
import { extend } from '../../Shared/Utilities.js';
|
|
15
15
|
/* *
|
|
16
16
|
*
|
|
17
17
|
* Class
|
|
@@ -31,7 +31,13 @@ class DumbbellPoint extends AreaRangePoint {
|
|
|
31
31
|
* @internal
|
|
32
32
|
*/
|
|
33
33
|
setState() {
|
|
34
|
-
const point = this, series = point.series, chart = series.chart, seriesLowColor = series.options.lowColor, seriesMarker = series.options.marker, seriesLowMarker = series.options.lowMarker, pointOptions = point.options, pointLowColor = pointOptions.lowColor, zoneColor = point.zone && point.zone.color, lowerGraphicColor =
|
|
34
|
+
const point = this, series = point.series, chart = series.chart, seriesLowColor = series.options.lowColor, seriesMarker = series.options.marker, seriesLowMarker = series.options.lowMarker, pointOptions = point.options, pointLowColor = pointOptions.lowColor, zoneColor = point.zone && point.zone.color, lowerGraphicColor = pointLowColor ??
|
|
35
|
+
seriesLowMarker?.fillColor ??
|
|
36
|
+
seriesLowColor ??
|
|
37
|
+
pointOptions.color ??
|
|
38
|
+
zoneColor ??
|
|
39
|
+
point.color ??
|
|
40
|
+
series.color;
|
|
35
41
|
let verb = 'attr', upperGraphicColor, origProps;
|
|
36
42
|
this.pointSetState.apply(point, arguments);
|
|
37
43
|
if (!point.state) {
|
|
@@ -48,7 +54,12 @@ class DumbbellPoint extends AreaRangePoint {
|
|
|
48
54
|
};
|
|
49
55
|
point.y = point.high;
|
|
50
56
|
point.zone = point.zone ? point.getZone() : void 0;
|
|
51
|
-
upperGraphicColor =
|
|
57
|
+
upperGraphicColor =
|
|
58
|
+
(point.marker ? point.marker.fillColor : void 0) ??
|
|
59
|
+
(seriesMarker ? seriesMarker.fillColor : void 0) ??
|
|
60
|
+
pointOptions.color ??
|
|
61
|
+
(point.zone ? point.zone.color : void 0) ??
|
|
62
|
+
point.color;
|
|
52
63
|
upperGraphic.attr({
|
|
53
64
|
fill: upperGraphicColor
|
|
54
65
|
});
|