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
|
@@ -224,6 +224,29 @@ const ChartDefaults = {
|
|
|
224
224
|
* @context Highcharts.Chart
|
|
225
225
|
* @apioption chart.events.load
|
|
226
226
|
*/
|
|
227
|
+
/**
|
|
228
|
+
* Fires while the chart is panned by mouse drag. Panning must be
|
|
229
|
+
* enabled through [chart.panning](#chart.panning). One parameter,
|
|
230
|
+
* `event`, is passed to the function, containing common event
|
|
231
|
+
* information as well as `event.originalEvent`, the underlying pointer
|
|
232
|
+
* event. Note that the event fires for every mouse move during the
|
|
233
|
+
* drag, not once per gesture.
|
|
234
|
+
*
|
|
235
|
+
* Calling `event.preventDefault()` or returning false prevents the
|
|
236
|
+
* default panning of the axes. In Highcharts Maps, and on ordinal axes
|
|
237
|
+
* in Highcharts Stock, the panning is applied outside the default
|
|
238
|
+
* action and is not prevented.
|
|
239
|
+
*
|
|
240
|
+
* Panning by touch does not fire this event, unless
|
|
241
|
+
* [chart.zooming.singleTouch](#chart.zooming.singleTouch) is enabled and
|
|
242
|
+
* no zoom type is set. Single-finger drags are then handled as mouse
|
|
243
|
+
* drags and fire this event.
|
|
244
|
+
*
|
|
245
|
+
* @type {Highcharts.ChartPanCallbackFunction}
|
|
246
|
+
* @since 7.0.2
|
|
247
|
+
* @context Highcharts.Chart
|
|
248
|
+
* @apioption chart.events.pan
|
|
249
|
+
*/
|
|
227
250
|
/**
|
|
228
251
|
* Fires when the chart is redrawn, either after a call to
|
|
229
252
|
* `chart.redraw()` or after an axis, series or point is modified with
|
|
@@ -15,7 +15,7 @@ import D from '../Defaults.js';
|
|
|
15
15
|
const { getOptions } = D;
|
|
16
16
|
import SVGRenderer from '../Renderer/SVG/SVGRenderer.js';
|
|
17
17
|
import '../../Maps/MapSymbols.js';
|
|
18
|
-
import { isNumber, merge
|
|
18
|
+
import { isNumber, merge } from '../../Shared/Utilities.js';
|
|
19
19
|
/* *
|
|
20
20
|
*
|
|
21
21
|
* Class
|
|
@@ -65,9 +65,11 @@ class MapChart extends Chart {
|
|
|
65
65
|
type: 'map'
|
|
66
66
|
},
|
|
67
67
|
credits: {
|
|
68
|
-
mapText:
|
|
69
|
-
'{geojson.
|
|
70
|
-
|
|
68
|
+
mapText: (defaultCreditsOptions.mapText ??
|
|
69
|
+
' \u00a9 <a href="{geojson.copyrightUrl}">' +
|
|
70
|
+
'{geojson.copyrightShort}</a>'),
|
|
71
|
+
mapTextFull: defaultCreditsOptions.mapTextFull ??
|
|
72
|
+
'{geojson.copyright}'
|
|
71
73
|
},
|
|
72
74
|
mapView: {}, // Required to enable Chart.mapView
|
|
73
75
|
tooltip: {
|
|
@@ -190,7 +192,7 @@ class MapChart extends Chart {
|
|
|
190
192
|
*/
|
|
191
193
|
function mapChart(a, b, c) {
|
|
192
194
|
const chart = new MapChart(a, b, c);
|
|
193
|
-
return chart.promise
|
|
195
|
+
return chart.promise ?? chart;
|
|
194
196
|
}
|
|
195
197
|
MapChart.mapChart = mapChart;
|
|
196
198
|
/* eslint-enable jsdoc/check-param-names */
|
|
@@ -20,7 +20,7 @@ import RangeSelectorDefaults from '../../Stock/RangeSelector/RangeSelectorDefaul
|
|
|
20
20
|
import ScrollbarDefaults from '../../Stock/Scrollbar/ScrollbarDefaults.js';
|
|
21
21
|
import StockUtilities from '../../Stock/Utilities/StockUtilities.js';
|
|
22
22
|
const { setFixedRange } = StockUtilities;
|
|
23
|
-
import { addEvent, clamp, crisp, defined, extend, find, isNumber, isString, merge,
|
|
23
|
+
import { addEvent, clamp, crisp, defined, extend, find, isNumber, isString, merge, splat } from '../../Shared/Utilities.js';
|
|
24
24
|
/* *
|
|
25
25
|
*
|
|
26
26
|
* Functions
|
|
@@ -68,7 +68,9 @@ function getForcedAxisOptions(type, chartOptions) {
|
|
|
68
68
|
if (type === 'xAxis') {
|
|
69
69
|
// Always disable startOnTick:true on the main axis when the navigator
|
|
70
70
|
// is enabled (#1090)
|
|
71
|
-
const navigatorEnabled =
|
|
71
|
+
const navigatorEnabled = chartOptions.navigator?.enabled ??
|
|
72
|
+
NavigatorDefaults.enabled ??
|
|
73
|
+
true;
|
|
72
74
|
const axisOptions = {
|
|
73
75
|
type: 'datetime',
|
|
74
76
|
categories: void 0
|
|
@@ -122,7 +124,9 @@ class StockChart extends Chart {
|
|
|
122
124
|
const defaultOptions = getOptions(), xAxisOptions = userOptions.xAxis, yAxisOptions = userOptions.yAxis,
|
|
123
125
|
// Always disable startOnTick:true on the main axis when the
|
|
124
126
|
// navigator is enabled (#1090)
|
|
125
|
-
navigatorEnabled =
|
|
127
|
+
navigatorEnabled = userOptions.navigator?.enabled ??
|
|
128
|
+
NavigatorDefaults.enabled ??
|
|
129
|
+
true;
|
|
126
130
|
// Avoid doing these twice
|
|
127
131
|
userOptions.xAxis = userOptions.yAxis = void 0;
|
|
128
132
|
const options = merge({
|
|
@@ -143,17 +147,17 @@ class StockChart extends Chart {
|
|
|
143
147
|
},
|
|
144
148
|
scrollbar: {
|
|
145
149
|
// #4988 - check if setOptions was called
|
|
146
|
-
enabled:
|
|
150
|
+
enabled: (ScrollbarDefaults.enabled ?? true)
|
|
147
151
|
},
|
|
148
152
|
rangeSelector: {
|
|
149
153
|
// #4988 - check if setOptions was called
|
|
150
|
-
enabled:
|
|
154
|
+
enabled: RangeSelectorDefaults.rangeSelector.enabled ?? true
|
|
151
155
|
},
|
|
152
156
|
title: {
|
|
153
157
|
text: null
|
|
154
158
|
},
|
|
155
159
|
tooltip: {
|
|
156
|
-
split:
|
|
160
|
+
split: (defaultOptions.tooltip?.split ?? true),
|
|
157
161
|
crosshairs: true
|
|
158
162
|
},
|
|
159
163
|
legend: {
|
|
@@ -287,8 +291,8 @@ addEvent(Chart, 'update', function (e) {
|
|
|
287
291
|
axis.series[0] && this.series[0].colorIndex))
|
|
288
292
|
.attr({
|
|
289
293
|
align: options.align || align,
|
|
290
|
-
padding:
|
|
291
|
-
r:
|
|
294
|
+
padding: (options.padding ?? 8),
|
|
295
|
+
r: (options.borderRadius ?? 3),
|
|
292
296
|
zIndex: 2
|
|
293
297
|
})
|
|
294
298
|
.add(axis.labelGroup);
|
|
@@ -513,7 +517,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
513
517
|
uniqueAxes.push(axis2);
|
|
514
518
|
}
|
|
515
519
|
}
|
|
516
|
-
transVal =
|
|
520
|
+
transVal = translatedValue ?? axis.translate(value || 0, void 0, void 0, e.old);
|
|
517
521
|
if (isNumber(transVal)) {
|
|
518
522
|
let skip, pos = horiz ?
|
|
519
523
|
transVal + axis.pos :
|
|
@@ -592,7 +596,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
592
596
|
function seriesForceCropping() {
|
|
593
597
|
const series = this, chart = series.chart, options = series.options, dataGroupingOptions = options.dataGrouping, groupingEnabled = (series.allowDG !== false &&
|
|
594
598
|
dataGroupingOptions &&
|
|
595
|
-
|
|
599
|
+
(dataGroupingOptions.enabled ?? chart.options.isStock));
|
|
596
600
|
return groupingEnabled;
|
|
597
601
|
}
|
|
598
602
|
/* eslint-disable jsdoc/check-param-names */
|
|
@@ -630,7 +634,7 @@ addEvent(Chart, 'update', function (e) {
|
|
|
630
634
|
*/
|
|
631
635
|
function stockChart(a, b, c) {
|
|
632
636
|
const chart = new StockChart(a, b, c);
|
|
633
|
-
return chart.promise
|
|
637
|
+
return chart.promise ?? chart;
|
|
634
638
|
}
|
|
635
639
|
StockChart.stockChart = stockChart;
|
|
636
640
|
/* eslint-enable jsdoc/check-param-names */
|
|
@@ -329,7 +329,9 @@ export default Color;
|
|
|
329
329
|
*/
|
|
330
330
|
/**
|
|
331
331
|
* A valid color type than can be parsed and handled by Highcharts. It can be a
|
|
332
|
-
* color string, a gradient object, or a pattern
|
|
332
|
+
* color string (including CSS expressions), a gradient object, or a pattern
|
|
333
|
+
* object. Read more about colors in the [Highcharts
|
|
334
|
+
* documentation](https://www.highcharts.com/docs/chart-design-and-style/colors).
|
|
333
335
|
*
|
|
334
336
|
* @typedef {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject} Highcharts.ColorType
|
|
335
337
|
*/
|
|
@@ -3099,6 +3099,41 @@ export default DefaultOptions;
|
|
|
3099
3099
|
* @param {global.Event} event
|
|
3100
3100
|
* The event that occurred.
|
|
3101
3101
|
*/
|
|
3102
|
+
/**
|
|
3103
|
+
* Gets fired while the chart is panned by mouse drag. Calling
|
|
3104
|
+
* `event.preventDefault()` or returning `false` prevents the default panning
|
|
3105
|
+
* of the axes.
|
|
3106
|
+
*
|
|
3107
|
+
* @callback Highcharts.ChartPanCallbackFunction
|
|
3108
|
+
*
|
|
3109
|
+
* @param {Highcharts.Chart} this
|
|
3110
|
+
* The chart on which the event occurred.
|
|
3111
|
+
*
|
|
3112
|
+
* @param {Highcharts.ChartPanEventObject} event
|
|
3113
|
+
* The event that occurred.
|
|
3114
|
+
*/
|
|
3115
|
+
/**
|
|
3116
|
+
* Contains common event information. Through the `originalEvent` property you
|
|
3117
|
+
* can access the pointer event that triggered the panning.
|
|
3118
|
+
*
|
|
3119
|
+
* @interface Highcharts.ChartPanEventObject
|
|
3120
|
+
*/ /**
|
|
3121
|
+
* The pointer event that triggered the panning.
|
|
3122
|
+
* @name Highcharts.ChartPanEventObject#originalEvent
|
|
3123
|
+
* @type {Highcharts.PointerEventObject}
|
|
3124
|
+
*/ /**
|
|
3125
|
+
* Prevents the default behavior of the event.
|
|
3126
|
+
* @name Highcharts.ChartPanEventObject#preventDefault
|
|
3127
|
+
* @type {Function}
|
|
3128
|
+
*/ /**
|
|
3129
|
+
* The event target.
|
|
3130
|
+
* @name Highcharts.ChartPanEventObject#target
|
|
3131
|
+
* @type {Highcharts.Chart}
|
|
3132
|
+
*/ /**
|
|
3133
|
+
* The event type.
|
|
3134
|
+
* @name Highcharts.ChartPanEventObject#type
|
|
3135
|
+
* @type {"pan"}
|
|
3136
|
+
*/
|
|
3102
3137
|
/**
|
|
3103
3138
|
* Fires when the chart is redrawn, either after a call to `chart.redraw()` or
|
|
3104
3139
|
* after an axis, series or point is modified with the `redraw` option set to
|
|
@@ -26,7 +26,7 @@ var Globals;
|
|
|
26
26
|
* Constants
|
|
27
27
|
*
|
|
28
28
|
* */
|
|
29
|
-
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '13.0.
|
|
29
|
+
Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '13.0.2', Globals.win = (typeof window !== 'undefined' ?
|
|
30
30
|
window :
|
|
31
31
|
{}), // eslint-disable-line node/no-unsupported-features/es-builtins
|
|
32
32
|
Globals.doc = Globals.win.document, Globals.svg = !!Globals.doc?.createElementNS?.(Globals.SVG_NS, 'svg')?.createSVGRect, Globals.pageLang = Globals.doc?.documentElement?.closest('[lang]')?.lang, Globals.userAgent = Globals.win.navigator?.userAgent || '', Globals.isChrome = Globals.win.chrome, Globals.isFirefox = Globals.userAgent.indexOf('Firefox') !== -1, Globals.isMS = /(edge|msie|trident)/i.test(Globals.userAgent) && !Globals.win.opera, Globals.isSafari = !Globals.isChrome && Globals.userAgent.indexOf('Safari') !== -1, Globals.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(Globals.userAgent), Globals.isWebKit = Globals.userAgent.indexOf('AppleWebKit') !== -1, Globals.deg2rad = Math.PI * 2 / 360, Globals.marginNames = [
|
|
@@ -21,7 +21,7 @@ import R from '../Renderer/RendererUtilities.js';
|
|
|
21
21
|
const { distribute } = R;
|
|
22
22
|
import T from '../Templating.js';
|
|
23
23
|
const { format } = T;
|
|
24
|
-
import { addEvent, createElement, css, defined, discardElement, find, fireEvent, isNumber, merge,
|
|
24
|
+
import { addEvent, createElement, css, defined, discardElement, find, fireEvent, isNumber, merge, pushUnique, relativeLength, stableSort, syncTimeout } from '../../Shared/Utilities.js';
|
|
25
25
|
/* *
|
|
26
26
|
*
|
|
27
27
|
* Class
|
|
@@ -139,7 +139,7 @@ class Legend {
|
|
|
139
139
|
* @param {Highcharts.LegendOptions} options
|
|
140
140
|
*/
|
|
141
141
|
setOptions(options) {
|
|
142
|
-
const padding =
|
|
142
|
+
const padding = (options.padding ?? 8);
|
|
143
143
|
/**
|
|
144
144
|
* Legend options.
|
|
145
145
|
*
|
|
@@ -156,7 +156,7 @@ class Legend {
|
|
|
156
156
|
this.itemMarginBottom = options.itemMarginBottom;
|
|
157
157
|
this.padding = padding;
|
|
158
158
|
this.initialItemY = padding - 5; // 5 is pixels above the text
|
|
159
|
-
this.symbolWidth =
|
|
159
|
+
this.symbolWidth = (options.symbolWidth ?? 16);
|
|
160
160
|
this.pages = [];
|
|
161
161
|
this.proximate = options.layout === 'proximate' && !this.chart.inverted;
|
|
162
162
|
// #12705: baseline has to be reset on every update
|
|
@@ -190,7 +190,7 @@ class Legend {
|
|
|
190
190
|
}
|
|
191
191
|
this.destroy();
|
|
192
192
|
chart.isDirtyLegend = chart.isDirtyBox = true;
|
|
193
|
-
if (
|
|
193
|
+
if (redraw ?? true) {
|
|
194
194
|
chart.redraw();
|
|
195
195
|
}
|
|
196
196
|
fireEvent(this, 'afterUpdate', { redraw });
|
|
@@ -428,7 +428,7 @@ class Legend {
|
|
|
428
428
|
* The item to render.
|
|
429
429
|
*/
|
|
430
430
|
renderItem(item) {
|
|
431
|
-
const legend = this, legendItem = item.legendItem = item.legendItem || {}, chart = legend.chart, renderer = chart.renderer, options = legend.options, horizontal = options.layout === 'horizontal', symbolWidth = legend.symbolWidth, symbolPadding = options.symbolPadding || 0, itemStyle = legend.itemStyle, itemHiddenStyle = legend.itemHiddenStyle, itemDistance = horizontal ?
|
|
431
|
+
const legend = this, legendItem = item.legendItem = item.legendItem || {}, chart = legend.chart, renderer = chart.renderer, options = legend.options, horizontal = options.layout === 'horizontal', symbolWidth = legend.symbolWidth, symbolPadding = options.symbolPadding || 0, itemStyle = legend.itemStyle, itemHiddenStyle = legend.itemHiddenStyle, itemDistance = horizontal ? (options.itemDistance ?? 20) : 0, ltr = !options.rtl, isSeries = !item.series, series = !isSeries && item.series.drawLegendSymbol ?
|
|
432
432
|
item.series :
|
|
433
433
|
item, seriesOptions = series.options, showCheckbox = (!!legend.createCheckboxForItem &&
|
|
434
434
|
seriesOptions &&
|
|
@@ -474,9 +474,11 @@ class Legend {
|
|
|
474
474
|
legend.fontMetrics.f + 3 + legend.itemMarginTop;
|
|
475
475
|
label.attr('y', legend.baseline);
|
|
476
476
|
legend.symbolHeight =
|
|
477
|
-
|
|
477
|
+
(options.symbolHeight ?? legend.fontMetrics.f);
|
|
478
478
|
if (options.squareSymbol) {
|
|
479
|
-
legend.symbolWidth =
|
|
479
|
+
legend.symbolWidth =
|
|
480
|
+
options.symbolWidth ??
|
|
481
|
+
Math.max(legend.symbolHeight, 16);
|
|
480
482
|
itemExtraWidth = legend.symbolWidth + symbolPadding +
|
|
481
483
|
itemDistance + (showCheckbox ? 20 : 0);
|
|
482
484
|
if (ltr) {
|
|
@@ -528,7 +530,7 @@ class Legend {
|
|
|
528
530
|
* @param {Highcharts.BubbleLegendItem|Highcharts.Point|Highcharts.Series} item
|
|
529
531
|
*/
|
|
530
532
|
layoutItem(item) {
|
|
531
|
-
const options = this.options, padding = this.padding, horizontal = options.layout === 'horizontal', itemHeight = item.itemHeight, itemMarginBottom = this.itemMarginBottom, itemMarginTop = this.itemMarginTop, itemDistance = horizontal ?
|
|
533
|
+
const options = this.options, padding = this.padding, horizontal = options.layout === 'horizontal', itemHeight = item.itemHeight, itemMarginBottom = this.itemMarginBottom, itemMarginTop = this.itemMarginTop, itemDistance = horizontal ? (options.itemDistance ?? 20) : 0, maxLegendWidth = this.maxLegendWidth, itemWidth = (options.alignColumns &&
|
|
532
534
|
this.totalItemWidth > maxLegendWidth) ?
|
|
533
535
|
this.maxItemWidth :
|
|
534
536
|
item.itemWidth, legendItem = item.legendItem || {};
|
|
@@ -582,7 +584,9 @@ class Legend {
|
|
|
582
584
|
const seriesOptions = series?.options;
|
|
583
585
|
// Handle showInLegend. If the series is linked to another series,
|
|
584
586
|
// defaults to false.
|
|
585
|
-
if (series &&
|
|
587
|
+
if (series &&
|
|
588
|
+
(seriesOptions.showInLegend ??
|
|
589
|
+
(!defined(seriesOptions.linkedTo)))) {
|
|
586
590
|
// Use points or series for the legend item depending on
|
|
587
591
|
// legendType
|
|
588
592
|
allItems = allItems.concat(series.legendItem?.labels ||
|
|
@@ -864,7 +868,7 @@ class Legend {
|
|
|
864
868
|
* @function Highcharts.Legend#handleOverflow
|
|
865
869
|
*/
|
|
866
870
|
handleOverflow(legendHeight) {
|
|
867
|
-
const legend = this, chart = this.chart, renderer = chart.renderer, options = this.options, optionsY = options.y, alignTop = options.verticalAlign === 'top', padding = this.padding, maxHeight = options.maxHeight, navOptions = options.navigation, animation =
|
|
871
|
+
const legend = this, chart = this.chart, renderer = chart.renderer, options = this.options, optionsY = options.y, alignTop = options.verticalAlign === 'top', padding = this.padding, maxHeight = options.maxHeight, navOptions = options.navigation, animation = (navOptions.animation ?? true), arrowSize = navOptions.arrowSize || 12, pages = this.pages, allItems = this.allItems, clipToHeight = function (height) {
|
|
868
872
|
if (typeof height === 'number') {
|
|
869
873
|
clipRect.attr({
|
|
870
874
|
height: height
|
|
@@ -910,7 +914,7 @@ class Legend {
|
|
|
910
914
|
navOptions.enabled !== false) {
|
|
911
915
|
this.clipHeight = clipHeight =
|
|
912
916
|
Math.max(spaceHeight - 20 - this.titleHeight - padding, 0);
|
|
913
|
-
this.currentPage =
|
|
917
|
+
this.currentPage = (this.currentPage ?? 1);
|
|
914
918
|
this.fullHeight = legendHeight;
|
|
915
919
|
// Fill pages with Y positions so that the top of each a legend item
|
|
916
920
|
// defines the scroll top for each page (#2098)
|
|
@@ -1070,7 +1074,7 @@ class Legend {
|
|
|
1070
1074
|
this.currentPage = currentPage;
|
|
1071
1075
|
this.positionCheckboxes();
|
|
1072
1076
|
// Fire event after scroll animation is complete
|
|
1073
|
-
const animOptions = animObject(
|
|
1077
|
+
const animOptions = animObject((animation ?? chart.renderer.globalAnimation ?? true));
|
|
1074
1078
|
syncTimeout(() => {
|
|
1075
1079
|
fireEvent(this, 'afterScroll', { currentPage });
|
|
1076
1080
|
}, animOptions.duration);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
|
-
import { extend, merge
|
|
13
|
+
import { extend, merge } from '../../Shared/Utilities.js';
|
|
14
14
|
/* *
|
|
15
15
|
*
|
|
16
16
|
* Namespace
|
|
@@ -90,7 +90,7 @@ var LegendSymbol;
|
|
|
90
90
|
// Draw the marker
|
|
91
91
|
if (markerOptions && markerOptions.enabled !== false && symbolWidth) {
|
|
92
92
|
// Do not allow the marker to be larger than the symbolHeight
|
|
93
|
-
let radius = Math.min(
|
|
93
|
+
let radius = Math.min((markerOptions.radius ?? generalRadius), generalRadius);
|
|
94
94
|
// Restrict symbol markers size
|
|
95
95
|
if (symbol.indexOf('url') === 0) {
|
|
96
96
|
markerOptions = merge(markerOptions, {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
import H from './Globals.js';
|
|
14
14
|
const { charts, composed, doc, noop, win } = H;
|
|
15
15
|
import Pointer from './Pointer.js';
|
|
16
|
-
import { addEvent, attr, css, defined, objectEach,
|
|
16
|
+
import { addEvent, attr, css, defined, objectEach, pushUnique, removeEvent } from '../Shared/Utilities.js';
|
|
17
17
|
/* *
|
|
18
18
|
*
|
|
19
19
|
* Constants
|
|
@@ -191,7 +191,7 @@ class MSPointer extends Pointer {
|
|
|
191
191
|
const tooltip = this.chart.tooltip;
|
|
192
192
|
super.setDOMEvents();
|
|
193
193
|
if (this.hasZoom ||
|
|
194
|
-
|
|
194
|
+
((tooltip?.options.followTouchMove) ?? true)) {
|
|
195
195
|
this.batchMSEvents(addEvent);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* */
|
|
12
12
|
'use strict';
|
|
13
13
|
import H from './Globals.js';
|
|
14
|
-
import { pick } from '../Shared/Utilities.js';
|
|
15
14
|
const { deg2rad } = H;
|
|
16
15
|
/* *
|
|
17
16
|
*
|
|
@@ -98,11 +97,11 @@ function perspective(points, chart, insidePlotArea, useInvertedPersp) {
|
|
|
98
97
|
/* The useInvertedPersp argument is used for inverted charts with
|
|
99
98
|
* already inverted elements, such as dataLabels or tooltip positions.
|
|
100
99
|
*/
|
|
101
|
-
inverted =
|
|
100
|
+
inverted = useInvertedPersp ?? (insidePlotArea ? chart.inverted : false), origin = {
|
|
102
101
|
x: chart.plotWidth / 2,
|
|
103
102
|
y: chart.plotHeight / 2,
|
|
104
103
|
z: options3d.depth / 2,
|
|
105
|
-
vd:
|
|
104
|
+
vd: (options3d.depth ?? 1) * (options3d.viewDistance ?? 0)
|
|
106
105
|
}, scale = chart.scale3d || 1, beta = deg2rad * options3d.beta * (inverted ? -1 : 1), alpha = deg2rad * options3d.alpha * (inverted ? -1 : 1), angles = {
|
|
107
106
|
cosA: Math.cos(alpha),
|
|
108
107
|
cosB: Math.cos(-beta),
|
|
@@ -181,13 +180,13 @@ function pointCameraDistance(coordinates, chart) {
|
|
|
181
180
|
const options3d = chart.options.chart.options3d, cameraPosition = {
|
|
182
181
|
x: chart.plotWidth / 2,
|
|
183
182
|
y: chart.plotHeight / 2,
|
|
184
|
-
z:
|
|
183
|
+
z: (options3d.depth ?? 1) * (options3d.viewDistance ?? 0) +
|
|
185
184
|
options3d.depth
|
|
186
185
|
},
|
|
187
186
|
// Added support for objects with plotX or x coordinates.
|
|
188
|
-
distance = Math.sqrt(Math.pow(cameraPosition.x -
|
|
189
|
-
Math.pow(cameraPosition.y -
|
|
190
|
-
Math.pow(cameraPosition.z -
|
|
187
|
+
distance = Math.sqrt(Math.pow(cameraPosition.x - (coordinates.plotX ?? coordinates.x), 2) +
|
|
188
|
+
Math.pow(cameraPosition.y - (coordinates.plotY ?? coordinates.y), 2) +
|
|
189
|
+
Math.pow(cameraPosition.z - (coordinates.plotZ ?? coordinates.z), 2));
|
|
191
190
|
return distance;
|
|
192
191
|
}
|
|
193
192
|
/**
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
'use strict';
|
|
13
13
|
import H from './Globals.js';
|
|
14
14
|
const { charts, composed, isTouchDevice } = H;
|
|
15
|
-
import { addEvent, attr, css, defined, extend, find, fireEvent, isNumber, isObject, objectEach, offset,
|
|
15
|
+
import { addEvent, attr, css, defined, extend, find, fireEvent, isNumber, isObject, objectEach, offset, pushUnique, splat } from '../Shared/Utilities.js';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* Functions
|
|
@@ -500,7 +500,7 @@ class Pointer {
|
|
|
500
500
|
const hoverPoints = [], useExisting = !!(isDirectTouch && existingHoverPoint), filter = function (s) {
|
|
501
501
|
return (s.visible &&
|
|
502
502
|
!(!shared && s.directTouch) && // #3821
|
|
503
|
-
|
|
503
|
+
(s.options.enableMouseTracking ?? true));
|
|
504
504
|
};
|
|
505
505
|
let hoverSeries = existingHoverSeries,
|
|
506
506
|
// Which series to look in for the hover point
|
|
@@ -686,8 +686,8 @@ class Pointer {
|
|
|
686
686
|
const ePos = (touches ?
|
|
687
687
|
touches.length ?
|
|
688
688
|
touches.item(0) :
|
|
689
|
-
(
|
|
690
|
-
|
|
689
|
+
(touches.changedTouches ??
|
|
690
|
+
e.changedTouches)[0] :
|
|
691
691
|
e);
|
|
692
692
|
// Get mouse position
|
|
693
693
|
if (!chartPosition) {
|
|
@@ -761,7 +761,7 @@ class Pointer {
|
|
|
761
761
|
* @function Highcharts.Pointer#onContainerMouseLeave
|
|
762
762
|
*/
|
|
763
763
|
onContainerMouseLeave(e) {
|
|
764
|
-
const { pointer } = charts[
|
|
764
|
+
const { pointer } = charts[(Pointer.hoverChartIndex ?? -1)] || {};
|
|
765
765
|
e = this.normalize(e);
|
|
766
766
|
this.onContainerMouseMove(e);
|
|
767
767
|
// #4886, MS Touch end fires mouseleave but with no related target
|
|
@@ -861,7 +861,7 @@ class Pointer {
|
|
|
861
861
|
if (e?.touches && this.hasPinchMoved) {
|
|
862
862
|
e?.preventDefault?.();
|
|
863
863
|
}
|
|
864
|
-
charts[
|
|
864
|
+
charts[(Pointer.hoverChartIndex ?? -1)]
|
|
865
865
|
?.pointer
|
|
866
866
|
?.drop(e);
|
|
867
867
|
}
|
|
@@ -1368,7 +1368,7 @@ class Pointer {
|
|
|
1368
1368
|
*/
|
|
1369
1369
|
setHoverChartIndex(e) {
|
|
1370
1370
|
const chart = this.chart;
|
|
1371
|
-
const hoverChart = H.charts[
|
|
1371
|
+
const hoverChart = H.charts[(Pointer.hoverChartIndex ?? -1)];
|
|
1372
1372
|
if (hoverChart &&
|
|
1373
1373
|
hoverChart !== chart) {
|
|
1374
1374
|
const relatedTargetObj = { relatedTarget: chart.container };
|
|
@@ -1414,7 +1414,7 @@ class Pointer {
|
|
|
1414
1414
|
Math.pow(pinchDown[0].chartY - e.chartY, 2)) >= 16 :
|
|
1415
1415
|
false;
|
|
1416
1416
|
}
|
|
1417
|
-
if (
|
|
1417
|
+
if (hasMoved ?? true) {
|
|
1418
1418
|
this.pinch(e);
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
@@ -1457,7 +1457,7 @@ class Pointer {
|
|
|
1457
1457
|
let zoomType = chart.zooming.type || '', zoomX, zoomY;
|
|
1458
1458
|
// Look for the pinchType option
|
|
1459
1459
|
if (/touch/.test(e.type)) {
|
|
1460
|
-
zoomType =
|
|
1460
|
+
zoomType = (chart.zooming.pinchType ?? zoomType);
|
|
1461
1461
|
}
|
|
1462
1462
|
this.zoomX = zoomX = /x/.test(zoomType);
|
|
1463
1463
|
this.zoomY = zoomY = /y/.test(zoomType);
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* Imports
|
|
16
16
|
*
|
|
17
17
|
* */
|
|
18
|
-
import { clamp,
|
|
18
|
+
import { clamp, pushUnique, stableSort } from '../../Shared/Utilities.js';
|
|
19
19
|
/* *
|
|
20
20
|
*
|
|
21
21
|
* Namespace
|
|
@@ -104,7 +104,7 @@ var RendererUtilities;
|
|
|
104
104
|
boxes = boxes.map((box) => ({
|
|
105
105
|
size: box.size,
|
|
106
106
|
targets: [box.target],
|
|
107
|
-
align:
|
|
107
|
+
align: (box.align ?? 0.5)
|
|
108
108
|
}));
|
|
109
109
|
while (overlapping) {
|
|
110
110
|
// Initial positions: target centered in box
|
|
@@ -14,7 +14,7 @@ import { animate, animObject, stop } from '../../Animation/AnimationUtilities.js
|
|
|
14
14
|
import Color from '../../Color/Color.js';
|
|
15
15
|
import H from '../../Globals.js';
|
|
16
16
|
const { deg2rad, doc, svg, SVG_NS, win, isFirefox } = H;
|
|
17
|
-
import { addEvent, attr, createElement, crisp, css, defined, erase, extend, fireEvent, getAlignFactor, isArray, isFunction, isNumber, isObject, isString, merge, objectEach, pInt,
|
|
17
|
+
import { addEvent, attr, createElement, crisp, css, defined, erase, extend, fireEvent, getAlignFactor, isArray, isFunction, isNumber, isObject, isString, merge, objectEach, pInt, pushUnique, replaceNested, syncTimeout } from '../../../Shared/Utilities.js';
|
|
18
18
|
import { uniqueKey } from '../../Utilities.js';
|
|
19
19
|
/* *
|
|
20
20
|
*
|
|
@@ -70,8 +70,10 @@ class SVGElement {
|
|
|
70
70
|
* Property value.
|
|
71
71
|
*/
|
|
72
72
|
_defaultGetter(key) {
|
|
73
|
-
let ret =
|
|
74
|
-
|
|
73
|
+
let ret = (this[key + 'Value'] ??
|
|
74
|
+
this[key] ??
|
|
75
|
+
(this.element ? this.element.getAttribute(key) : null) ??
|
|
76
|
+
0);
|
|
75
77
|
if (/^-?[\d\.]+$/.test(ret)) { // Is numerical
|
|
76
78
|
ret = parseFloat(ret);
|
|
77
79
|
}
|
|
@@ -234,7 +236,7 @@ class SVGElement {
|
|
|
234
236
|
}
|
|
235
237
|
alignTo = void 0; // Do not use the box
|
|
236
238
|
}
|
|
237
|
-
const alignToBox =
|
|
239
|
+
const alignToBox = alignTo ?? renderer[alignToKey] ?? renderer,
|
|
238
240
|
// Default: left align
|
|
239
241
|
x = (alignToBox.x || 0) + (alignOptions.x || 0) +
|
|
240
242
|
((alignToBox.width || 0) - (alignOptions.width || 0)) *
|
|
@@ -294,7 +296,7 @@ class SVGElement {
|
|
|
294
296
|
* Returns the SVGElement for chaining.
|
|
295
297
|
*/
|
|
296
298
|
animate(params, options, complete) {
|
|
297
|
-
const animOptions = animObject(
|
|
299
|
+
const animOptions = animObject((options ?? this.renderer.globalAnimation ?? true)), deferTime = animOptions.defer;
|
|
298
300
|
// When the page is hidden save resources in the background by not
|
|
299
301
|
// running animation at all (#9749).
|
|
300
302
|
if (doc.hidden) {
|
|
@@ -786,7 +788,7 @@ class SVGElement {
|
|
|
786
788
|
.split(','); // Ending comma
|
|
787
789
|
i = v.length;
|
|
788
790
|
while (i--) {
|
|
789
|
-
v[i] = '' + (pInt(v[i]) *
|
|
791
|
+
v[i] = '' + (pInt(v[i]) * (strokeWidth ?? NaN));
|
|
790
792
|
}
|
|
791
793
|
value = v.join(',').replace(/NaN/g, 'none'); // #3226
|
|
792
794
|
this.element.setAttribute('stroke-dasharray', value);
|
|
@@ -926,7 +928,7 @@ class SVGElement {
|
|
|
926
928
|
* The bounding box with `x`, `y`, `width` and `height` properties.
|
|
927
929
|
*/
|
|
928
930
|
getBBox(reload, rot) {
|
|
929
|
-
const wrapper = this, { element, renderer, styles, textStr } = wrapper, { cache, cacheKeys } = renderer, isSVG = element.namespaceURI === wrapper.SVG_NS, rotation =
|
|
931
|
+
const wrapper = this, { element, renderer, styles, textStr } = wrapper, { cache, cacheKeys } = renderer, isSVG = element.namespaceURI === wrapper.SVG_NS, rotation = (rot ?? wrapper.rotation ?? 0), fontSize = renderer.styledMode ? (element &&
|
|
930
932
|
SVGElement.prototype.getStyle.call(element, 'font-size')) : (styles.fontSize), cacheKey = this.getBBoxCacheKey([
|
|
931
933
|
renderer.rootFontSize,
|
|
932
934
|
this.textWidth, // #7874, also useHTML
|
|
@@ -1452,7 +1454,7 @@ class SVGElement {
|
|
|
1452
1454
|
symbolAttr(hash) {
|
|
1453
1455
|
const wrapper = this;
|
|
1454
1456
|
SVGElement.symbolCustomAttribs.forEach(function (key) {
|
|
1455
|
-
wrapper[key] =
|
|
1457
|
+
wrapper[key] = (hash[key] ?? wrapper[key]);
|
|
1456
1458
|
});
|
|
1457
1459
|
wrapper.attr({
|
|
1458
1460
|
d: wrapper.renderer.symbols[wrapper.symbolName](wrapper.x, wrapper.y, wrapper.width, wrapper.height, wrapper)
|
|
@@ -1492,7 +1494,7 @@ class SVGElement {
|
|
|
1492
1494
|
}
|
|
1493
1495
|
// Replace text content and escape markup
|
|
1494
1496
|
titleNode.textContent = replaceNested(// Scan #[73]
|
|
1495
|
-
|
|
1497
|
+
(value ?? ''), // #3276, #3895
|
|
1496
1498
|
[/<[^>]*>/g, '']).replace(/</g, '<').replace(/>/g, '>');
|
|
1497
1499
|
}
|
|
1498
1500
|
/**
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
import Color from '../../Color/Color.js';
|
|
16
16
|
const { parse: color } = Color;
|
|
17
17
|
import SVGElement from './SVGElement.js';
|
|
18
|
-
import { defined
|
|
18
|
+
import { defined } from '../../../Shared/Utilities.js';
|
|
19
19
|
/* *
|
|
20
20
|
*
|
|
21
21
|
* Class
|
|
@@ -113,7 +113,7 @@ class SVGElement3D extends SVGElement {
|
|
|
113
113
|
for (const part of elem3d.parts) {
|
|
114
114
|
// If different props for different parts
|
|
115
115
|
if (partsProps) {
|
|
116
|
-
props =
|
|
116
|
+
props = (partsProps[part] ?? false);
|
|
117
117
|
}
|
|
118
118
|
// Only if something to set, but allow undefined
|
|
119
119
|
if (props !== false) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* */
|
|
12
12
|
import SVGElement from './SVGElement.js';
|
|
13
|
-
import { defined, extend, getAlignFactor, isNumber, merge,
|
|
13
|
+
import { defined, extend, getAlignFactor, isNumber, merge, removeEvent } from '../../../Shared/Utilities.js';
|
|
14
14
|
/* *
|
|
15
15
|
*
|
|
16
16
|
* Class
|
|
@@ -180,7 +180,7 @@ class SVGLabel extends SVGElement {
|
|
|
180
180
|
if ((this.textStr && this.bBox.width === 0 && this.bBox.height === 0) || this.rotation) {
|
|
181
181
|
this.updateBoxSize();
|
|
182
182
|
}
|
|
183
|
-
const { padding, height = 0, translateX = 0, translateY = 0, width = 0 } = this, paddingLeft =
|
|
183
|
+
const { padding, height = 0, translateX = 0, translateY = 0, width = 0 } = this, paddingLeft = (this.paddingLeft ?? padding), rotation = rot ?? (this.rotation || 0);
|
|
184
184
|
let bBox = {
|
|
185
185
|
width,
|
|
186
186
|
height,
|
|
@@ -233,7 +233,7 @@ class SVGLabel extends SVGElement {
|
|
|
233
233
|
this.attr({
|
|
234
234
|
// Alignment is available now (#3295, 0 not rendered if given
|
|
235
235
|
// as a value)
|
|
236
|
-
text:
|
|
236
|
+
text: (this.textStr ?? ''),
|
|
237
237
|
x: this.x || 0,
|
|
238
238
|
y: this.y || 0
|
|
239
239
|
});
|
|
@@ -389,8 +389,8 @@ class SVGLabel extends SVGElement {
|
|
|
389
389
|
/** @internal */
|
|
390
390
|
getPaddedWidth() {
|
|
391
391
|
const padding = this.padding;
|
|
392
|
-
const paddingLeft =
|
|
393
|
-
const paddingRight =
|
|
392
|
+
const paddingLeft = (this.paddingLeft ?? padding);
|
|
393
|
+
const paddingRight = (this.paddingRight ?? padding);
|
|
394
394
|
return ((this.widthSetting || this.bBox.width || 0) +
|
|
395
395
|
paddingLeft +
|
|
396
396
|
paddingRight);
|