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
|
@@ -17,7 +17,7 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
|
17
17
|
const { gauge: GaugeSeries, pie: PieSeries } = SeriesRegistry.seriesTypes;
|
|
18
18
|
import SolidGaugeAxis from '../../Core/Axis/SolidGaugeAxis.js';
|
|
19
19
|
import SolidGaugeSeriesDefaults from './SolidGaugeSeriesDefaults.js';
|
|
20
|
-
import { clamp, extend, isNumber, merge,
|
|
20
|
+
import { clamp, extend, isNumber, merge, relativeLength } from '../../Shared/Utilities.js';
|
|
21
21
|
/* *
|
|
22
22
|
*
|
|
23
23
|
* Class
|
|
@@ -62,7 +62,7 @@ class SolidGaugeSeries extends GaugeSeries {
|
|
|
62
62
|
if (isNumber(options.threshold)) {
|
|
63
63
|
thresholdAngleRad = yAxis.startAngleRad + yAxis.translate(options.threshold, void 0, void 0, void 0, true);
|
|
64
64
|
}
|
|
65
|
-
this.thresholdAngleRad =
|
|
65
|
+
this.thresholdAngleRad = (thresholdAngleRad ?? yAxis.startAngleRad);
|
|
66
66
|
for (const point of series.points) {
|
|
67
67
|
// #10630 null point should not be draw
|
|
68
68
|
if (!point.isNull) { // Condition like in pie chart
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
'use strict';
|
|
13
13
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
14
14
|
const { line: LineSeries } = SeriesRegistry.seriesTypes;
|
|
15
|
-
import { merge
|
|
15
|
+
import { merge } from '../../Shared/Utilities.js';
|
|
16
16
|
/* *
|
|
17
17
|
*
|
|
18
18
|
* Class
|
|
@@ -157,10 +157,10 @@ class SplineSeries extends LineSeries {
|
|
|
157
157
|
}
|
|
158
158
|
const ret = [
|
|
159
159
|
'C',
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
160
|
+
(lastPoint.rightContX ?? lastPoint.plotX ?? 0),
|
|
161
|
+
(lastPoint.rightContY ?? lastPoint.plotY ?? 0),
|
|
162
|
+
(leftContX ?? plotX ?? 0),
|
|
163
|
+
(leftContY ?? plotY ?? 0),
|
|
164
164
|
plotX,
|
|
165
165
|
plotY
|
|
166
166
|
];
|
|
@@ -18,7 +18,7 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
|
18
18
|
const { map: MapSeries } = SeriesRegistry.seriesTypes;
|
|
19
19
|
import TilesProviderRegistry from '../../Maps/TilesProviders/TilesProviderRegistry.js';
|
|
20
20
|
import TiledWebMapSeriesDefaults from './TiledWebMapSeriesDefaults.js';
|
|
21
|
-
import { addEvent, defined, merge,
|
|
21
|
+
import { addEvent, defined, merge, pushUnique } from '../../Shared/Utilities.js';
|
|
22
22
|
import { error } from '../../Core/Utilities.js';
|
|
23
23
|
/* *
|
|
24
24
|
*
|
|
@@ -129,8 +129,8 @@ class TiledWebMapSeries extends MapSeries {
|
|
|
129
129
|
if (!mapView) {
|
|
130
130
|
return;
|
|
131
131
|
}
|
|
132
|
-
const tiles = (this.tiles = this.tiles || {}), transformGroups = (this.transformGroups = this.transformGroups || []), series = this, options = this.options, provider = options.provider, { zoom } = mapView, lambda =
|
|
133
|
-
mapView.projection.options.rotation[0])
|
|
132
|
+
const tiles = (this.tiles = this.tiles || {}), transformGroups = (this.transformGroups = this.transformGroups || []), series = this, options = this.options, provider = options.provider, { zoom } = mapView, lambda = ((mapView.projection.options.rotation &&
|
|
133
|
+
mapView.projection.options.rotation[0]) ?? 0), worldSize = 400.979322, tileSize = 256, duration = chart.renderer.forExport ? 0 : 200, animateTiles = (duration) => {
|
|
134
134
|
for (const zoomKey of Object.keys(tiles)) {
|
|
135
135
|
if ((parseFloat(zoomKey) === (mapView.zoom < 0 ? 0 :
|
|
136
136
|
Math.floor(mapView.zoom))) ||
|
|
@@ -211,7 +211,7 @@ class TiledWebMapSeries extends MapSeries {
|
|
|
211
211
|
else if (defined(def.subdomains) &&
|
|
212
212
|
// Do not show warning if no subdomain in URL
|
|
213
213
|
theme.url.indexOf('{s}') !== -1) {
|
|
214
|
-
subdomain =
|
|
214
|
+
subdomain = ((def.subdomains && def.subdomains[0]) ?? '');
|
|
215
215
|
error('Highcharts warning: The Tiles Provider\'s Subdomain ' +
|
|
216
216
|
'\'' + provider.subdomain + '\' is not defined in ' +
|
|
217
217
|
'the Provider definition - falling back to \'' +
|
|
@@ -234,7 +234,9 @@ class TiledWebMapSeries extends MapSeries {
|
|
|
234
234
|
this.minZoom = theme.minZoom;
|
|
235
235
|
this.maxZoom = theme.maxZoom;
|
|
236
236
|
// Add as credits.text, to prevent changing the default mapText
|
|
237
|
-
const creditsText =
|
|
237
|
+
const creditsText = ((chart.userOptions.credits &&
|
|
238
|
+
chart.userOptions.credits.text) ??
|
|
239
|
+
('Highcharts.com ' + (theme.credits ?? def.defaultCredits)));
|
|
238
240
|
if (chart.credits) {
|
|
239
241
|
chart.credits.update({
|
|
240
242
|
text: creditsText
|
|
@@ -243,7 +245,7 @@ class TiledWebMapSeries extends MapSeries {
|
|
|
243
245
|
else {
|
|
244
246
|
chart.addCredits({
|
|
245
247
|
text: creditsText,
|
|
246
|
-
style:
|
|
248
|
+
style: (chart.options.credits?.style ?? {})
|
|
247
249
|
});
|
|
248
250
|
}
|
|
249
251
|
if (mapView.projection.options.name !== providerProjection) {
|
|
@@ -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 { heatmap: HeatmapSeries, scatter: ScatterSeries } = SeriesRegistry.seriesTypes;
|
|
19
|
-
import { clamp
|
|
19
|
+
import { clamp } from '../../Shared/Utilities.js';
|
|
20
20
|
/* *
|
|
21
21
|
*
|
|
22
22
|
* Functions
|
|
@@ -150,7 +150,7 @@ const TilemapShapes = {
|
|
|
150
150
|
xAxis.translate(point.x - xPad, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len), x3 = clamp(Math.round(xAxis.len -
|
|
151
151
|
xAxis.translate(point.x + xPad, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len), y1 = clamp(Math.round(yAxis.translate(point.y - yPad, 0, 1, 0, 0)), -yAxis.len, 2 * yAxis.len), y2 = clamp(Math.round(yAxis.translate(point.y, 0, 1, 0, 0)), -yAxis.len, 2 * yAxis.len), y3 = clamp(Math.round(yAxis.translate(point.y + yPad, 0, 1, 0, 0)), -yAxis.len, 2 * yAxis.len);
|
|
152
152
|
const x2 = clamp(Math.round(xAxis.len -
|
|
153
|
-
xAxis.translate(point.x, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len), pointPadding =
|
|
153
|
+
xAxis.translate(point.x, 0, 1, 0, 0)), -xAxis.len, 2 * xAxis.len), pointPadding = (point.pointPadding ?? seriesPointPadding),
|
|
154
154
|
// We calculate the point padding of the midpoints to
|
|
155
155
|
// preserve the angles of the shape.
|
|
156
156
|
midPointPadding = pointPadding *
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import Point from '../../Core/Series/Point.js';
|
|
17
17
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
18
18
|
const { line: { prototype: { pointClass: LinePoint } }, pie: { prototype: { pointClass: PiePoint } } } = SeriesRegistry.seriesTypes;
|
|
19
|
-
import { defined, isNumber, merge, objectEach
|
|
19
|
+
import { defined, isNumber, merge, objectEach } from '../../Shared/Utilities.js';
|
|
20
20
|
/* *
|
|
21
21
|
*
|
|
22
22
|
* Class
|
|
@@ -129,7 +129,7 @@ class TimelinePoint extends LinePoint {
|
|
|
129
129
|
}
|
|
130
130
|
setVisible(visible, redraw) {
|
|
131
131
|
const point = this, series = point.series;
|
|
132
|
-
redraw =
|
|
132
|
+
redraw = (redraw ?? series.options.ignoreHiddenPoint);
|
|
133
133
|
PiePoint.prototype.setVisible.call(point, visible, false);
|
|
134
134
|
// Process new data
|
|
135
135
|
series.processData();
|
|
@@ -17,7 +17,7 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
|
17
17
|
const { column: ColumnSeries, line: LineSeries } = SeriesRegistry.seriesTypes;
|
|
18
18
|
import TimelinePoint from './TimelinePoint.js';
|
|
19
19
|
import TimelineSeriesDefaults from './TimelineSeriesDefaults.js';
|
|
20
|
-
import { addEvent, arrayMax, arrayMin, defined, extend, merge
|
|
20
|
+
import { addEvent, arrayMax, arrayMin, defined, extend, merge } from '../../Shared/Utilities.js';
|
|
21
21
|
/* *
|
|
22
22
|
*
|
|
23
23
|
* Class
|
|
@@ -55,7 +55,7 @@ class TimelineSeries extends LineSeries {
|
|
|
55
55
|
if (isInverted) {
|
|
56
56
|
targetDLWidth = ((distance - pad) * 2 - ((point.itemHeight || 0) / 2));
|
|
57
57
|
styles = {
|
|
58
|
-
width:
|
|
58
|
+
width: (dataLabelsOptions.style?.width ?? `${series.yAxis.len * 0.4}px`),
|
|
59
59
|
// Apply ellipsis when data label height is exceeded.
|
|
60
60
|
textOverflow: (dataLabel.width || 0) / targetDLWidth *
|
|
61
61
|
(dataLabel.height || 0) / 2 > availableSpace *
|
|
@@ -89,7 +89,8 @@ class TimelineSeries extends LineSeries {
|
|
|
89
89
|
const series = this, dataLabelsOptions = series.options.dataLabels, inverted = series.chart.inverted;
|
|
90
90
|
let visibilityIndex = 1;
|
|
91
91
|
if (dataLabelsOptions) {
|
|
92
|
-
const distance =
|
|
92
|
+
const distance = dataLabelsOptions.distance ??
|
|
93
|
+
(inverted ? 20 : 100);
|
|
93
94
|
for (const point of series.points) {
|
|
94
95
|
const defaults = {
|
|
95
96
|
[inverted ? 'x' : 'y']: dataLabelsOptions.alternate && visibilityIndex % 2 ?
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* */
|
|
13
13
|
'use strict';
|
|
14
14
|
import Color from '../Core/Color/Color.js';
|
|
15
|
-
import { extend, isArray, isNumber, isObject, merge,
|
|
15
|
+
import { extend, isArray, isNumber, isObject, merge, relativeLength } from '../Shared/Utilities.js';
|
|
16
16
|
/* *
|
|
17
17
|
*
|
|
18
18
|
* Functions
|
|
@@ -49,9 +49,17 @@ function getColor(node, options) {
|
|
|
49
49
|
}
|
|
50
50
|
// Select either point color, level color or inherited color.
|
|
51
51
|
if (!series.chart.styledMode) {
|
|
52
|
-
color =
|
|
52
|
+
color = ((point && point.options.color) ??
|
|
53
|
+
(level && level.color) ??
|
|
54
|
+
colorByPoint ??
|
|
55
|
+
(parentColor && variateColor(parentColor)) ??
|
|
56
|
+
series.color);
|
|
53
57
|
}
|
|
54
|
-
colorIndex =
|
|
58
|
+
colorIndex = ((point && point.options.colorIndex) ??
|
|
59
|
+
(level && level.colorIndex) ??
|
|
60
|
+
colorIndexByPoint ??
|
|
61
|
+
parentColorIndex ??
|
|
62
|
+
options.colorIndex);
|
|
55
63
|
}
|
|
56
64
|
return {
|
|
57
65
|
color: color,
|
|
@@ -88,7 +96,8 @@ function getLevelOptions(params) {
|
|
|
88
96
|
let level, levelIsConstant, options;
|
|
89
97
|
if (isObject(item) && isNumber(item.level)) {
|
|
90
98
|
options = merge({}, item);
|
|
91
|
-
levelIsConstant =
|
|
99
|
+
levelIsConstant =
|
|
100
|
+
options.levelIsConstant ?? defaults.levelIsConstant;
|
|
92
101
|
// Delete redundant properties.
|
|
93
102
|
delete options.levelIsConstant;
|
|
94
103
|
delete options.level;
|
|
@@ -120,7 +129,7 @@ function setTreeValues(tree, options) {
|
|
|
120
129
|
const before = options.before, idRoot = options.idRoot, mapIdToNode = options.mapIdToNode, nodeRoot = mapIdToNode[idRoot], levelIsConstant = (options.levelIsConstant !== false), points = options.points, point = points[tree.i], optionsPoint = point && point.options || {}, children = [];
|
|
121
130
|
let childrenTotal = 0;
|
|
122
131
|
tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
|
|
123
|
-
tree.name =
|
|
132
|
+
tree.name = ((point && point.name) ?? '');
|
|
124
133
|
tree.visible = (idRoot === tree.id ||
|
|
125
134
|
options.visible === true);
|
|
126
135
|
if (typeof before === 'function') {
|
|
@@ -141,7 +150,7 @@ function setTreeValues(tree, options) {
|
|
|
141
150
|
}
|
|
142
151
|
});
|
|
143
152
|
// Set the values
|
|
144
|
-
const value =
|
|
153
|
+
const value = (optionsPoint.value ?? childrenTotal);
|
|
145
154
|
tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
|
|
146
155
|
tree.children = children;
|
|
147
156
|
tree.childrenTotal = childrenTotal;
|
|
@@ -167,7 +176,7 @@ function updateRootId(series) {
|
|
|
167
176
|
// Get the series options.
|
|
168
177
|
options = isObject(series.options) ? series.options : {};
|
|
169
178
|
// Calculate the rootId.
|
|
170
|
-
rootId =
|
|
179
|
+
rootId = (series.rootNode ?? options.rootId ?? '');
|
|
171
180
|
// Set rootId on series.userOptions to pick it up in exporting.
|
|
172
181
|
if (isObject(series.userOptions)) {
|
|
173
182
|
series.userOptions.rootId = rootId;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
'use strict';
|
|
13
13
|
import Point from '../../Core/Series/Point.js';
|
|
14
14
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
15
|
-
import { extend
|
|
15
|
+
import { extend } from '../../Shared/Utilities.js';
|
|
16
16
|
const { seriesTypes: { column: { prototype: { pointClass: ColumnPoint } } } } = SeriesRegistry;
|
|
17
17
|
/* *
|
|
18
18
|
*
|
|
@@ -63,7 +63,7 @@ class LinkPoint extends ColumnPoint {
|
|
|
63
63
|
animation, runEvent);
|
|
64
64
|
this.visible = this.toNode.visible;
|
|
65
65
|
extend(this, oldOptions);
|
|
66
|
-
if (
|
|
66
|
+
if (redraw ?? true) {
|
|
67
67
|
this.series.chart.redraw(animation);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
import DPU from '../DrawPointUtilities.js';
|
|
15
15
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
16
16
|
const { pie: { prototype: { pointClass: PiePoint } }, scatter: { prototype: { pointClass: ScatterPoint } } } = SeriesRegistry.seriesTypes;
|
|
17
|
-
import { extend, isNumber
|
|
17
|
+
import { extend, isNumber } from '../../Shared/Utilities.js';
|
|
18
18
|
/* *
|
|
19
19
|
*
|
|
20
20
|
* Class
|
|
@@ -50,7 +50,7 @@ class TreemapPoint extends ScatterPoint {
|
|
|
50
50
|
else if (!this.node.isGroup &&
|
|
51
51
|
!this.node.isLeaf &&
|
|
52
52
|
!series.nodeMap[series.rootNode].isGroup &&
|
|
53
|
-
!
|
|
53
|
+
!(options.interactByLeaf ?? !options.allowTraversingTree)) {
|
|
54
54
|
className += ' highcharts-internal-node-interactive';
|
|
55
55
|
}
|
|
56
56
|
else if (!this.node.isGroup &&
|
|
@@ -27,7 +27,7 @@ import TreemapSeriesDefaults from './TreemapSeriesDefaults.js';
|
|
|
27
27
|
import TreemapUtilities from './TreemapUtilities.js';
|
|
28
28
|
import TU from '../TreeUtilities.js';
|
|
29
29
|
const { getColor, getLevelOptions, updateRootId } = TU;
|
|
30
|
-
import { addEvent, arrayMax, clamp, correctFloat, crisp, defined, extend, fireEvent, isArray, isNumber, isObject, isString, merge,
|
|
30
|
+
import { addEvent, arrayMax, clamp, correctFloat, crisp, defined, extend, fireEvent, isArray, isNumber, isObject, isString, merge, pushUnique, splat, stableSort } from '../../Shared/Utilities.js';
|
|
31
31
|
import { error } from '../../Core/Utilities.js';
|
|
32
32
|
Series.keepProps.push('simulation', 'hadOutsideDataLabels');
|
|
33
33
|
/* *
|
|
@@ -342,9 +342,9 @@ class TreemapSeries extends ScatterSeries {
|
|
|
342
342
|
* The rectangular area of the parent.
|
|
343
343
|
*/
|
|
344
344
|
calculateChildrenAreas(parent, area) {
|
|
345
|
-
const series = this, options = series.options, mapOptionsToLevel = series.mapOptionsToLevel, level = mapOptionsToLevel[parent.level + 1], algorithm =
|
|
345
|
+
const series = this, options = series.options, mapOptionsToLevel = series.mapOptionsToLevel, level = mapOptionsToLevel[parent.level + 1], algorithm = ((level?.layoutAlgorithm &&
|
|
346
346
|
series[level?.layoutAlgorithm] &&
|
|
347
|
-
level.layoutAlgorithm)
|
|
347
|
+
level.layoutAlgorithm) ?? options.layoutAlgorithm), alternate = options.alternateStartingDirection,
|
|
348
348
|
// Collect all children which should be included
|
|
349
349
|
children = parent.children.filter((n) => parent.isGroup || !n.ignore), groupPadding = level?.groupPadding ?? options.groupPadding ?? 0, rootNode = series.nodeMap[series.rootNode];
|
|
350
350
|
if (!algorithm) {
|
|
@@ -726,7 +726,7 @@ class TreemapSeries extends ScatterSeries {
|
|
|
726
726
|
*/
|
|
727
727
|
getListOfParents(data, existingIds) {
|
|
728
728
|
const arr = isArray(data) ? data : [], ids = isArray(existingIds) ? existingIds : [], listOfParents = arr.reduce(function (prev, curr, i) {
|
|
729
|
-
const parent =
|
|
729
|
+
const parent = (curr.parent ?? '');
|
|
730
730
|
if (typeof prev[parent] === 'undefined') {
|
|
731
731
|
prev[parent] = [];
|
|
732
732
|
}
|
|
@@ -879,13 +879,16 @@ class TreemapSeries extends ScatterSeries {
|
|
|
879
879
|
series.mapOptionsToLevel :
|
|
880
880
|
{}), level = point?.node && mapOptionsToLevel[point.node.level] || {}, options = this.options, stateOptions = state && options.states && options.states[state] || {}, className = point?.node && point.getClassName() || '',
|
|
881
881
|
// Set attributes by precedence. Point trumps level trumps series.
|
|
882
|
-
// Stroke width uses
|
|
882
|
+
// Stroke width uses nullish coalescing because it can be 0.
|
|
883
883
|
attr = {
|
|
884
884
|
'stroke': (point && point.borderColor) ||
|
|
885
885
|
level.borderColor ||
|
|
886
886
|
stateOptions.borderColor ||
|
|
887
887
|
options.borderColor,
|
|
888
|
-
'stroke-width':
|
|
888
|
+
'stroke-width': ((point && point.borderWidth) ??
|
|
889
|
+
level.borderWidth ??
|
|
890
|
+
stateOptions.borderWidth ??
|
|
891
|
+
options.borderWidth),
|
|
889
892
|
'dashstyle': point?.borderDashStyle ||
|
|
890
893
|
level.borderDashStyle ||
|
|
891
894
|
stateOptions.borderDashStyle ||
|
|
@@ -1026,7 +1029,7 @@ class TreemapSeries extends ScatterSeries {
|
|
|
1026
1029
|
const series = this, eventArgs = extend({
|
|
1027
1030
|
newRootId: id,
|
|
1028
1031
|
previousRootId: series.rootNode,
|
|
1029
|
-
redraw:
|
|
1032
|
+
redraw: (redraw ?? true),
|
|
1030
1033
|
series: series
|
|
1031
1034
|
}, eventArguments);
|
|
1032
1035
|
/**
|
|
@@ -1083,7 +1086,7 @@ class TreemapSeries extends ScatterSeries {
|
|
|
1083
1086
|
// Sort the children
|
|
1084
1087
|
stableSort(children, (a, b) => ((a.sortIndex || 0) - (b.sortIndex || 0)));
|
|
1085
1088
|
// Set the values
|
|
1086
|
-
let val =
|
|
1089
|
+
let val = point?.simulatedValue ?? point?.options.value ?? childrenTotal;
|
|
1087
1090
|
if (point) {
|
|
1088
1091
|
point.value = val;
|
|
1089
1092
|
}
|
|
@@ -1097,14 +1100,14 @@ class TreemapSeries extends ScatterSeries {
|
|
|
1097
1100
|
children: children,
|
|
1098
1101
|
childrenTotal: childrenTotal,
|
|
1099
1102
|
// Ignore this node if point is not visible
|
|
1100
|
-
ignore: !(
|
|
1103
|
+
ignore: !((point?.visible ?? true) && (val > 0)),
|
|
1101
1104
|
isLeaf: tree.visible && !(series.type === 'treegraph' ?
|
|
1102
1105
|
children.length > 0 :
|
|
1103
1106
|
childrenTotal),
|
|
1104
1107
|
isGroup: point?.isGroup,
|
|
1105
1108
|
levelDynamic: (tree.level - (levelIsConstant ? 0 : nodeRoot.level)),
|
|
1106
|
-
name:
|
|
1107
|
-
sortIndex:
|
|
1109
|
+
name: (point?.name ?? ''),
|
|
1110
|
+
sortIndex: (point?.sortIndex ?? -val),
|
|
1108
1111
|
val: val
|
|
1109
1112
|
});
|
|
1110
1113
|
return tree;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
16
16
|
const { pie: PieSeries } = SeriesRegistry.seriesTypes;
|
|
17
17
|
import VariablePieSeriesDefaults from './VariablePieSeriesDefaults.js';
|
|
18
|
-
import { arrayMax, arrayMin, clamp, extend, fireEvent, merge
|
|
18
|
+
import { arrayMax, arrayMin, clamp, extend, fireEvent, merge } from '../../Shared/Utilities.js';
|
|
19
19
|
/* *
|
|
20
20
|
*
|
|
21
21
|
* Class
|
|
@@ -60,8 +60,10 @@ class VariablePieSeries extends PieSeries {
|
|
|
60
60
|
series.minPxSize = positions[3] + extremes.minPointSize;
|
|
61
61
|
series.maxPxSize = clamp(positions[2], positions[3] + extremes.minPointSize, extremes.maxPointSize);
|
|
62
62
|
if (zData.length) {
|
|
63
|
-
zMin =
|
|
64
|
-
|
|
63
|
+
zMin =
|
|
64
|
+
seriesOptions.zMin ?? arrayMin(zData.filter(series.zValEval));
|
|
65
|
+
zMax =
|
|
66
|
+
seriesOptions.zMax ?? arrayMax(zData.filter(series.zValEval));
|
|
65
67
|
this.getRadii(zMin, zMax, series.minPxSize, series.maxPxSize);
|
|
66
68
|
}
|
|
67
69
|
}
|
|
@@ -164,7 +166,7 @@ class VariablePieSeries extends PieSeries {
|
|
|
164
166
|
translate(positions) {
|
|
165
167
|
this.generatePoints();
|
|
166
168
|
const series = this, precision = 1000, // Issue #172
|
|
167
|
-
options = series.options, slicedOffset = options.slicedOffset, startAngle = options.startAngle || 0, startAngleRad = Math.PI / 180 * (startAngle - 90), endAngleRad = Math.PI / 180 * (
|
|
169
|
+
options = series.options, slicedOffset = options.slicedOffset, startAngle = options.startAngle || 0, startAngleRad = Math.PI / 180 * (startAngle - 90), endAngleRad = Math.PI / 180 * ((options.endAngle ?? startAngle + 360) - 90), circ = endAngleRad - startAngleRad, // 2 * Math.PI,
|
|
168
170
|
points = series.points, ignoreHiddenPoint = options.ignoreHiddenPoint;
|
|
169
171
|
let cumulative = 0, start, end, angle,
|
|
170
172
|
// The x component of the radius vector for a given point
|
|
@@ -17,7 +17,7 @@ const { column: ColumnSeries } = SeriesRegistry.seriesTypes;
|
|
|
17
17
|
import VariwideComposition from './VariwideComposition.js';
|
|
18
18
|
import VariwidePoint from './VariwidePoint.js';
|
|
19
19
|
import VariwideSeriesDefaults from './VariwideSeriesDefaults.js';
|
|
20
|
-
import { addEvent, arrayMax, arrayMin, crisp, extend, merge
|
|
20
|
+
import { addEvent, arrayMax, arrayMin, crisp, extend, merge } from '../../Shared/Utilities.js';
|
|
21
21
|
/* *
|
|
22
22
|
*
|
|
23
23
|
* Class
|
|
@@ -79,7 +79,7 @@ class VariwideSeries extends ColumnSeries {
|
|
|
79
79
|
(axis.dataMin || 0) :
|
|
80
80
|
(axis.dataMax || 0) + axis.pointRange), len = Math.abs(maxPx - minPx), totalZ = this.totalZ, left = this.chart.inverted ?
|
|
81
81
|
maxPx - (this.chart.plotTop - goRight * axis.minPixelPadding) :
|
|
82
|
-
minPx - this.chart.plotLeft - goRight * axis.minPixelPadding, linearSlotLeft = i / relZ.length * len, linearSlotRight = (i + goRight) / relZ.length * len, slotLeft = (
|
|
82
|
+
minPx - this.chart.plotLeft - goRight * axis.minPixelPadding, linearSlotLeft = i / relZ.length * len, linearSlotRight = (i + goRight) / relZ.length * len, slotLeft = ((relZ[i] ?? totalZ) / totalZ) * len, slotRight = ((relZ[i + goRight] ?? totalZ) / totalZ) * len, xInsideLinearSlot = (x - (left + linearSlotLeft));
|
|
83
83
|
// Set crosshairWidth for every point (#8173)
|
|
84
84
|
if (point) {
|
|
85
85
|
point.crosshairWidth = slotRight - slotLeft;
|
|
@@ -15,7 +15,7 @@ const { column: ColumnSeries, line: LineSeries } = SeriesRegistry.seriesTypes;
|
|
|
15
15
|
import WaterfallAxis from '../../Core/Axis/WaterfallAxis.js';
|
|
16
16
|
import WaterfallPoint from './WaterfallPoint.js';
|
|
17
17
|
import WaterfallSeriesDefaults from './WaterfallSeriesDefaults.js';
|
|
18
|
-
import { addEvent, arrayMax, arrayMin, correctFloat, crisp, extend, isNumber, isObject, merge, objectEach
|
|
18
|
+
import { addEvent, arrayMax, arrayMin, correctFloat, crisp, extend, isNumber, isObject, merge, objectEach } from '../../Shared/Utilities.js';
|
|
19
19
|
/* *
|
|
20
20
|
*
|
|
21
21
|
* Functions
|
|
@@ -350,7 +350,7 @@ extend(WaterfallSeries.prototype, {
|
|
|
350
350
|
});
|
|
351
351
|
// Translate data points from raw values
|
|
352
352
|
addEvent(WaterfallSeries, 'afterColumnTranslate', function () {
|
|
353
|
-
const series = this, { options, points, yAxis } = series, minPointLength =
|
|
353
|
+
const series = this, { options, points, yAxis } = series, minPointLength = (options.minPointLength ?? 5), halfMinPointLength = minPointLength / 2, threshold = options.threshold || 0, stacking = options.stacking, actualStack = yAxis.waterfall?.stacks[series.stackKey], processedYData = series.getColumn('y', true);
|
|
354
354
|
let previousIntermediate = threshold, previousY = threshold, y, total, hPos;
|
|
355
355
|
for (let i = 0; i < points.length; i++) {
|
|
356
356
|
const point = points[i], yValue = processedYData[i], shapeArgs = point.shapeArgs, box = extend({
|
|
@@ -20,7 +20,7 @@ import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
|
20
20
|
const { column: ColumnSeries } = SeriesRegistry.seriesTypes;
|
|
21
21
|
import WindbarbPoint from './WindbarbPoint.js';
|
|
22
22
|
import WindbarbSeriesDefaults from './WindbarbSeriesDefaults.js';
|
|
23
|
-
import { extend, merge
|
|
23
|
+
import { extend, merge } from '../../Shared/Utilities.js';
|
|
24
24
|
/* *
|
|
25
25
|
*
|
|
26
26
|
* Functions
|
|
@@ -150,7 +150,7 @@ class WindbarbSeries extends ColumnSeries {
|
|
|
150
150
|
.add(this.markerGroup)
|
|
151
151
|
.addClass('highcharts-point ' +
|
|
152
152
|
'highcharts-color-' +
|
|
153
|
-
|
|
153
|
+
(point.colorIndex ?? point.series.colorIndex));
|
|
154
154
|
}
|
|
155
155
|
// Position the graphic
|
|
156
156
|
point.graphic
|
|
@@ -85,6 +85,10 @@ const isDateTimeFormatOptions = (obj) => obj.main === void 0;
|
|
|
85
85
|
*
|
|
86
86
|
* @param {Highcharts.TimeOptions} [options] Time options as defined in
|
|
87
87
|
* [chart.options.time](/highcharts/time).
|
|
88
|
+
*
|
|
89
|
+
* @param {Highcharts.LangOptions} [lang]
|
|
90
|
+
* Language options. When `options.locale` is not set, `lang.locale` is used as
|
|
91
|
+
* the locale fallback for locale-aware date formatting.
|
|
88
92
|
*/
|
|
89
93
|
class TimeBase {
|
|
90
94
|
/* *
|
|
@@ -103,8 +107,8 @@ class TimeBase {
|
|
|
103
107
|
};
|
|
104
108
|
this.variableTimezone = false;
|
|
105
109
|
this.Date = win.Date;
|
|
106
|
-
this.update(options);
|
|
107
110
|
this.lang = lang;
|
|
111
|
+
this.update(options);
|
|
108
112
|
}
|
|
109
113
|
/* *
|
|
110
114
|
*
|
|
@@ -216,7 +220,9 @@ class TimeBase {
|
|
|
216
220
|
/**
|
|
217
221
|
* Shorthand to get a cached `Intl.DateTimeFormat` instance.
|
|
218
222
|
*/
|
|
219
|
-
dateTimeFormat(options, timestamp, locale = this.options.locale ||
|
|
223
|
+
dateTimeFormat(options, timestamp, locale = (this.options.locale ||
|
|
224
|
+
this.lang?.locale ||
|
|
225
|
+
pageLang)) {
|
|
220
226
|
const cacheKey = JSON.stringify(options) + locale;
|
|
221
227
|
if (isString(options)) {
|
|
222
228
|
options = this.str2dtf(options);
|
|
@@ -708,7 +708,7 @@ export function getStyle(el, prop, toInt) {
|
|
|
708
708
|
const css = win.getComputedStyle(el, void 0); // eslint-disable-line no-undefined
|
|
709
709
|
if (css) {
|
|
710
710
|
style = css.getPropertyValue(prop);
|
|
711
|
-
if (
|
|
711
|
+
if (toInt ?? prop !== 'opacity') {
|
|
712
712
|
style = pInt(style);
|
|
713
713
|
}
|
|
714
714
|
}
|
|
@@ -958,7 +958,7 @@ export function merge(extendOrSource, ...sources) {
|
|
|
958
958
|
export function normalizeTickInterval(interval, multiples, magnitude, allowDecimals, hasTickAmount) {
|
|
959
959
|
let i, retInterval = interval;
|
|
960
960
|
// Round to a tenfold of 1, 2, 2.5 or 5
|
|
961
|
-
magnitude =
|
|
961
|
+
magnitude = (magnitude ?? getMagnitude(interval));
|
|
962
962
|
const normalized = interval / magnitude;
|
|
963
963
|
// Multiples for a linear scale
|
|
964
964
|
if (!multiples) {
|
|
@@ -1071,20 +1071,22 @@ export function pad(number, length, padder) {
|
|
|
1071
1071
|
.replace('-', '')
|
|
1072
1072
|
.length).join(padder || '0') + number;
|
|
1073
1073
|
}
|
|
1074
|
-
/* eslint-disable jsdoc
|
|
1074
|
+
/* eslint-disable valid-jsdoc */
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Return the first value that is not null or undefined.
|
|
1077
1077
|
*
|
|
1078
|
+
* @deprecated 13.0.2
|
|
1079
|
+
* Use nullish coalescing (`??`) or explicit fallback logic instead.
|
|
1080
|
+
*
|
|
1078
1081
|
* @function Highcharts.pick<T>
|
|
1079
1082
|
*
|
|
1080
|
-
* @param {...
|
|
1083
|
+
* @param {...(T|null|undefined)} args
|
|
1081
1084
|
* Variable number of arguments to inspect.
|
|
1082
1085
|
*
|
|
1083
1086
|
* @return {T}
|
|
1084
1087
|
* The value of the first argument that is not null or undefined.
|
|
1085
1088
|
*/
|
|
1086
|
-
export function pick() {
|
|
1087
|
-
const args = arguments;
|
|
1089
|
+
export function pick(...args) {
|
|
1088
1090
|
const length = args.length;
|
|
1089
1091
|
for (let i = 0; i < length; i++) {
|
|
1090
1092
|
const arg = args[i];
|
|
@@ -1093,7 +1095,7 @@ export function pick() {
|
|
|
1093
1095
|
}
|
|
1094
1096
|
}
|
|
1095
1097
|
}
|
|
1096
|
-
/* eslint-enable jsdoc
|
|
1098
|
+
/* eslint-enable valid-jsdoc */
|
|
1097
1099
|
/**
|
|
1098
1100
|
* Shortcut for parseInt
|
|
1099
1101
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import MultipleLinesComposition from '../MultipleLinesComposition.js';
|
|
11
11
|
import SeriesRegistry from '../../../Core/Series/SeriesRegistry.js';
|
|
12
12
|
const { sma: SMAIndicator } = SeriesRegistry.seriesTypes;
|
|
13
|
-
import { extend, merge
|
|
13
|
+
import { extend, merge } from '../../../Shared/Utilities.js';
|
|
14
14
|
/* *
|
|
15
15
|
*
|
|
16
16
|
* Functions
|
|
@@ -61,10 +61,10 @@ class AroonIndicator extends SMAIndicator {
|
|
|
61
61
|
for (i = period - 1; i < yValLen; i++) {
|
|
62
62
|
slicedY = yVal.slice(i - period + 1, i + 2);
|
|
63
63
|
xLow = getExtremeIndexInArray(slicedY.map(function (elem) {
|
|
64
|
-
return
|
|
64
|
+
return (elem[low] ?? elem);
|
|
65
65
|
}), 'min');
|
|
66
66
|
xHigh = getExtremeIndexInArray(slicedY.map(function (elem) {
|
|
67
|
-
return
|
|
67
|
+
return (elem[high] ?? elem);
|
|
68
68
|
}), 'max');
|
|
69
69
|
aroonUp = (xHigh / period) * 100;
|
|
70
70
|
aroonDown = (xLow / period) * 100;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
'use strict';
|
|
10
10
|
import SeriesRegistry from '../../../Core/Series/SeriesRegistry.js';
|
|
11
11
|
const { sma: SMAIndicator } = SeriesRegistry.seriesTypes;
|
|
12
|
-
import { correctFloat, extend, merge
|
|
12
|
+
import { correctFloat, extend, merge } from '../../../Shared/Utilities.js';
|
|
13
13
|
/* *
|
|
14
14
|
*
|
|
15
15
|
* Functions
|
|
@@ -18,7 +18,7 @@ import { correctFloat, extend, merge, pick } from '../../../Shared/Utilities.js'
|
|
|
18
18
|
// Utils:
|
|
19
19
|
/** @internal */
|
|
20
20
|
function accumulatePoints(sum, yVal, i, index, subtract) {
|
|
21
|
-
const price =
|
|
21
|
+
const price = (yVal[i][index] ?? yVal[i]);
|
|
22
22
|
if (subtract) {
|
|
23
23
|
return correctFloat(sum - price);
|
|
24
24
|
}
|
|
@@ -63,7 +63,8 @@ class DPOIndicator extends SMAIndicator {
|
|
|
63
63
|
rangeIndex = j + range - 1;
|
|
64
64
|
// Adding the last period point
|
|
65
65
|
sum = accumulatePoints(sum, yVal, periodIndex, index);
|
|
66
|
-
price =
|
|
66
|
+
price = yVal[rangeIndex][index] ??
|
|
67
|
+
yVal[rangeIndex];
|
|
67
68
|
oscillator = price - sum / period;
|
|
68
69
|
// Subtracting the first period point
|
|
69
70
|
sum = accumulatePoints(sum, yVal, j, index, true);
|
|
@@ -46,7 +46,7 @@ class RSIIndicator extends SMAIndicator {
|
|
|
46
46
|
// Cause we need to calculate change between two points
|
|
47
47
|
RSI = [], xData = [], yData = [];
|
|
48
48
|
let gain = 0, loss = 0, index = params.index, range = 1, RSIPoint, change, avgGain, avgLoss, i, values;
|
|
49
|
-
if (
|
|
49
|
+
if (xVal.length < period) {
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
52
|
if (isNumber(yVal[0])) {
|
|
@@ -11,7 +11,7 @@ import Chart from '../../../Core/Chart/Chart.js';
|
|
|
11
11
|
import DataTableCore from '../../../Data/DataTableCore.js';
|
|
12
12
|
import SeriesRegistry from '../../../Core/Series/SeriesRegistry.js';
|
|
13
13
|
const { line: LineSeries } = SeriesRegistry.seriesTypes;
|
|
14
|
-
import { addEvent, extend, fireEvent, isArray, merge
|
|
14
|
+
import { addEvent, extend, fireEvent, isArray, merge } from '../../../Shared/Utilities.js';
|
|
15
15
|
import { error } from '../../../Core/Utilities.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
@@ -61,7 +61,7 @@ class SMAIndicator extends LineSeries {
|
|
|
61
61
|
if (!name) {
|
|
62
62
|
(this.nameComponents || []).forEach(function (component, index) {
|
|
63
63
|
params.push(this.options.params[component] +
|
|
64
|
-
|
|
64
|
+
(this.nameSuffixes[index] ?? ''));
|
|
65
65
|
}, this);
|
|
66
66
|
name = (this.nameBase || this.type.toUpperCase()) +
|
|
67
67
|
(this.nameComponents ? ' (' + params.join(', ') + ')' : '');
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
'use strict';
|
|
13
13
|
import H from '../../Core/Globals.js';
|
|
14
14
|
const { isTouchDevice } = H;
|
|
15
|
-
import { addEvent, merge,
|
|
15
|
+
import { addEvent, merge, pushUnique } from '../../Shared/Utilities.js';
|
|
16
16
|
/* *
|
|
17
17
|
*
|
|
18
18
|
* Constants
|
|
@@ -78,7 +78,7 @@ function onChartAfterSetChartSize() {
|
|
|
78
78
|
navigator.top = this.plotTop + scrollButtonSize;
|
|
79
79
|
}
|
|
80
80
|
else {
|
|
81
|
-
navigator.left =
|
|
81
|
+
navigator.left = (xAxis.left ?? this.plotLeft + scrollButtonSize);
|
|
82
82
|
navigator.top = navigator.navigatorOptions.top ||
|
|
83
83
|
this.chartHeight -
|
|
84
84
|
navigator.height -
|
|
@@ -94,7 +94,7 @@ function onChartAfterSetChartSize() {
|
|
|
94
94
|
legendOptions.enabled &&
|
|
95
95
|
!legendOptions.floating) ?
|
|
96
96
|
legend.legendHeight +
|
|
97
|
-
|
|
97
|
+
(legendOptions.margin ?? 10) :
|
|
98
98
|
0) -
|
|
99
99
|
(this.titleOffset ? this.titleOffset[2] : 0);
|
|
100
100
|
}
|
|
@@ -119,7 +119,7 @@ function onChartAfterUpdate(event) {
|
|
|
119
119
|
(this.options.navigator.enabled ||
|
|
120
120
|
this.options.scrollbar.enabled)) {
|
|
121
121
|
this.scroller = this.navigator = new NavigatorConstructor(this);
|
|
122
|
-
if (
|
|
122
|
+
if (event.redraw ?? true) {
|
|
123
123
|
this.redraw(event.animation); // #7067
|
|
124
124
|
}
|
|
125
125
|
}
|