highcharts 13.0.0 → 13.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +3 -2
- package/css/highcharts.css +2 -1
- package/es-modules/Accessibility/Accessibility.js +38 -1
- package/es-modules/Accessibility/Components/LegendComponent.js +1 -2
- package/es-modules/Accessibility/Components/NavigatorComponent.js +1 -2
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +8 -4
- package/es-modules/Accessibility/Options/A11yDefaults.js +12 -3
- package/es-modules/Accessibility/ProxyElement.js +1 -0
- package/es-modules/Core/Animation/AnimationUtilities.js +31 -41
- package/es-modules/Core/Animation/Fx.js +16 -19
- package/es-modules/Core/Axis/Axis.js +1 -2
- package/es-modules/Core/Axis/AxisDefaults.js +12 -2
- package/es-modules/Core/Axis/Color/ColorAxis.js +7 -2
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +1 -1
- package/es-modules/Core/Axis/GridAxis.js +8 -1
- package/es-modules/Core/Axis/OrdinalAxis.js +12 -4
- package/es-modules/Core/Axis/RadialAxis.js +9 -14
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +1 -2
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +1 -1
- package/es-modules/Core/Chart/Chart.js +44 -39
- package/es-modules/Core/Chart/ChartDefaults.js +1 -1
- package/es-modules/Core/Chart/MapChart.js +0 -5
- package/es-modules/Core/Defaults.js +9 -2
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +4 -5
- package/es-modules/Core/Pointer.js +11 -1
- package/es-modules/Core/Renderer/HTML/AST.js +5 -1
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +23 -16
- package/es-modules/Core/Renderer/SVG/SVGElement.js +1 -2
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +2 -3
- package/es-modules/Core/Series/DataLabel.js +1 -2
- package/es-modules/Core/Series/Point.js +28 -21
- package/es-modules/Core/Series/Series.js +89 -62
- package/es-modules/Core/Series/SeriesDefaults.js +33 -0
- package/es-modules/Core/Templating.js +16 -13
- package/es-modules/Core/Tooltip.js +1 -2
- package/es-modules/Data/DataTableCore.js +1 -1
- package/es-modules/Extensions/Annotations/Annotation.js +1 -2
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +4 -4
- package/es-modules/Extensions/Annotations/MockPoint.js +7 -9
- package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +30 -3
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +2 -2
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -4
- package/es-modules/Extensions/Annotations/Types/Measure.js +25 -7
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +4 -2
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +3 -1
- package/es-modules/Extensions/Boost/Boost.js +13 -0
- package/es-modules/Extensions/Boost/BoostSeries.js +9 -2
- package/es-modules/Extensions/BorderRadius.js +12 -10
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +1 -1
- package/es-modules/Extensions/DraggablePoints/DraggableChart.js +1 -2
- package/es-modules/Extensions/Drilldown/Drilldown.js +1 -2
- package/es-modules/Extensions/Drilldown/DrilldownSeries.js +1 -2
- package/es-modules/Extensions/ExportData/ExportData.js +5 -1
- package/es-modules/Extensions/Exporting/Exporting.js +21 -21
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +32 -0
- package/es-modules/Extensions/MarkerClusters/MarkerClusterScatter.js +1 -2
- package/es-modules/Extensions/MarkerClusters/MarkerClusters.js +1 -2
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +31 -4
- package/es-modules/Extensions/Pane/PaneDefaults.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates/ParallelCoordinates.js +3 -0
- package/es-modules/Extensions/ScrollablePlotArea.js +8 -2
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +1 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +1 -1
- package/es-modules/Maps/GeoJSONComposition.js +14 -1
- package/es-modules/Maps/MapView.js +1 -1
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +87 -147
- package/es-modules/Series/AreaRange/AreaRangeSeriesDefaults.js +42 -4
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +10 -6
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +27 -28
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +33 -1
- package/es-modules/Series/Bubble/BubbleSeries.js +15 -0
- package/es-modules/Series/Bullet/BulletSeries.js +1 -1
- package/es-modules/Series/Candlestick/CandlestickSeries.js +3 -3
- package/es-modules/Series/CenteredUtilities.js +5 -4
- package/es-modules/Series/ColorMapComposition.js +7 -4
- package/es-modules/Series/Column/ColumnPoint.js +2 -0
- package/es-modules/Series/Column/ColumnSeries.js +12 -12
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +4 -2
- package/es-modules/Series/Column3D/Column3DComposition.js +16 -14
- package/es-modules/Series/ColumnPyramid/ColumnPyramidPoint.js +18 -0
- package/es-modules/Series/ColumnPyramid/ColumnPyramidPointOptions.js +12 -0
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +3 -2
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeriesOptions.js +12 -0
- package/es-modules/Series/ColumnRange/ColumnRangePoint.js +2 -0
- package/es-modules/Series/ColumnRange/ColumnRangePointOptions.js +12 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +9 -142
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesDefaults.js +148 -0
- package/es-modules/Series/ColumnRange/ColumnRangeSeriesOptions.js +12 -0
- package/es-modules/Series/Contour/ContourPoint.js +2 -0
- package/es-modules/Series/Contour/ContourSeries.js +1 -0
- package/es-modules/Series/Contour/ContourSeriesDefaults.js +7 -0
- package/es-modules/Series/Contour/ContourShader.js +9 -1
- package/es-modules/Series/CrossSymbol.js +3 -2
- package/es-modules/Series/Cylinder/CylinderComposition.js +10 -10
- package/es-modules/Series/Cylinder/CylinderPoint.js +2 -0
- package/es-modules/Series/Cylinder/CylinderPointOptions.js +15 -0
- package/es-modules/Series/Cylinder/CylinderSeries.js +2 -1
- package/es-modules/Series/Cylinder/CylinderSeriesOptions.js +15 -0
- package/es-modules/Series/Cylinder/SVGElement3DCylinder.js +2 -0
- package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +3 -1
- package/es-modules/Series/DependencyWheel/DependencyWheelPointOptions.js +14 -0
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +8 -8
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesOptions.js +14 -0
- package/es-modules/Series/DerivedComposition.js +9 -8
- package/es-modules/Series/DotPlot/DotPlotPoint.js +18 -0
- package/es-modules/Series/DotPlot/DotPlotPointOptions.js +12 -0
- package/es-modules/Series/DotPlot/DotPlotSeries.js +3 -2
- package/es-modules/Series/DotPlot/DotPlotSeriesOptions.js +12 -0
- package/es-modules/Series/DragNodesComposition.js +11 -8
- package/es-modules/Series/DrawPointUtilities.js +3 -1
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +5 -3
- package/es-modules/Series/Dumbbell/DumbbellPointOptions.js +12 -0
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +9 -8
- package/es-modules/Series/Dumbbell/DumbbellSeriesOptions.js +12 -0
- package/es-modules/Series/ErrorBar/ErrorBarPoint.js +18 -0
- package/es-modules/Series/ErrorBar/ErrorBarPointOptions.js +12 -0
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +6 -9
- package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +15 -1
- package/es-modules/Series/ErrorBar/ErrorBarSeriesOptions.js +12 -0
- package/es-modules/Series/Flags/FlagsSeries.js +5 -14
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +2 -1
- package/es-modules/Series/Funnel/FunnelSeries.js +23 -24
- package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +12 -0
- package/es-modules/Series/Gantt/GanttSeries.js +2 -1
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +5 -5
- package/es-modules/Series/GraphLayoutComposition.js +3 -3
- package/es-modules/Series/Histogram/HistogramSeries.js +1 -1
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +9 -9
- package/es-modules/Series/Map/MapSeries.js +1 -2
- package/es-modules/Series/Map/MapSeriesDefaults.js +11 -1
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +10 -7
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +12 -0
- package/es-modules/Series/OHLC/OHLCPoint.js +2 -2
- package/es-modules/Series/OHLC/OHLCSeries.js +1 -0
- package/es-modules/Series/Organization/OrganizationSeries.js +29 -7
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +11 -4
- package/es-modules/Series/Pie/PiePoint.js +1 -2
- package/es-modules/Series/PolarComposition.js +5 -7
- package/es-modules/Series/Polygon/PolygonSeries.js +2 -2
- package/es-modules/Series/Polygon/PolygonSeriesDefaults.js +20 -0
- package/es-modules/Series/RangeDataLabel.js +128 -0
- package/es-modules/Series/Sankey/SankeySeries.js +2 -2
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +2 -2
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +2 -0
- package/es-modules/Series/SimulationSeriesUtilities.js +1 -2
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +2 -2
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +8 -0
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +12 -6
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +2 -1
- package/es-modules/Series/Timeline/TimelineSeries.js +9 -3
- package/es-modules/Series/Treegraph/TreegraphSeries.js +22 -13
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +22 -1
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +3 -2
- package/es-modules/Series/Vector/VectorSeries.js +7 -9
- package/es-modules/Series/Venn/VennSeries.js +3 -4
- package/es-modules/Series/Waterfall/WaterfallSeries.js +1 -1
- package/es-modules/Series/Windbarb/WindbarbSeries.js +6 -8
- package/es-modules/Series/XRange/XRangeSeries.js +8 -8
- package/es-modules/Shared/TimeBase.js +5 -6
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -2
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +9 -2
- package/es-modules/Stock/Navigator/NavigatorSymbols.js +2 -1
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +51 -10
- package/es-modules/Stock/StockTools/StockToolbar.js +1 -1
- package/es-modules/Stock/StockTools/StockToolsBindings.js +7 -7
- package/es-modules/Stock/StockTools/StockToolsGui.js +2 -2
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-autoload.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +1 -1
- package/es-modules/masters/highcharts.src.js +7 -7
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.src.js +1 -1
- package/es-modules/masters/i18n/fr-FR.src.d.ts +1 -1
- package/es-modules/masters/i18n/fr-FR.src.js +1 -1
- package/es-modules/masters/i18n/nb-NO.src.d.ts +1 -1
- package/es-modules/masters/i18n/nb-NO.src.js +1 -1
- package/es-modules/masters/i18n/zh-CN.src.d.ts +1 -1
- package/es-modules/masters/i18n/zh-CN.src.js +1 -1
- package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
- package/es-modules/masters/indicators/ao.src.js +1 -1
- package/es-modules/masters/indicators/apo.src.js +1 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
- package/es-modules/masters/indicators/aroon.src.js +1 -1
- package/es-modules/masters/indicators/atr.src.js +1 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
- package/es-modules/masters/indicators/cci.src.js +1 -1
- package/es-modules/masters/indicators/chaikin.src.js +1 -1
- package/es-modules/masters/indicators/cmf.src.js +1 -1
- package/es-modules/masters/indicators/cmo.src.js +1 -1
- package/es-modules/masters/indicators/dema.src.js +1 -1
- package/es-modules/masters/indicators/disparity-index.src.js +1 -1
- package/es-modules/masters/indicators/dmi.src.js +1 -1
- package/es-modules/masters/indicators/dpo.src.js +1 -1
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/es-modules/masters/indicators/indicators-all.src.js +1 -1
- package/es-modules/masters/indicators/indicators.src.js +1 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
- package/es-modules/masters/indicators/klinger.src.js +1 -1
- package/es-modules/masters/indicators/macd.src.js +1 -1
- package/es-modules/masters/indicators/mfi.src.js +1 -1
- package/es-modules/masters/indicators/momentum.src.js +1 -1
- package/es-modules/masters/indicators/natr.src.js +1 -1
- package/es-modules/masters/indicators/obv.src.js +1 -1
- package/es-modules/masters/indicators/pivot-points.src.js +1 -1
- package/es-modules/masters/indicators/ppo.src.js +1 -1
- package/es-modules/masters/indicators/price-channel.src.js +1 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
- package/es-modules/masters/indicators/psar.src.js +1 -1
- package/es-modules/masters/indicators/regressions.src.js +1 -1
- package/es-modules/masters/indicators/roc.src.js +1 -1
- package/es-modules/masters/indicators/rsi.src.js +1 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
- package/es-modules/masters/indicators/stochastic.src.js +1 -1
- package/es-modules/masters/indicators/supertrend.src.js +1 -1
- package/es-modules/masters/indicators/tema.src.js +1 -1
- package/es-modules/masters/indicators/trendline.src.js +1 -1
- package/es-modules/masters/indicators/trix.src.js +1 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
- package/es-modules/masters/indicators/vwap.src.js +1 -1
- package/es-modules/masters/indicators/williams-r.src.js +1 -1
- package/es-modules/masters/indicators/wma.src.js +1 -1
- package/es-modules/masters/indicators/zigzag.src.js +1 -1
- package/es-modules/masters/modules/accessibility.src.js +1 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
- package/es-modules/masters/modules/annotations.src.js +1 -1
- package/es-modules/masters/modules/arc-diagram.src.js +1 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
- package/es-modules/masters/modules/boost-canvas.src.js +1 -1
- package/es-modules/masters/modules/boost.src.js +1 -1
- package/es-modules/masters/modules/broken-axis.src.js +1 -1
- package/es-modules/masters/modules/bullet.src.js +1 -1
- package/es-modules/masters/modules/coloraxis.src.js +1 -1
- package/es-modules/masters/modules/contour.src.js +1 -1
- package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data-sorting.src.js +1 -1
- package/es-modules/masters/modules/data-tools.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +1 -1
- package/es-modules/masters/modules/datagrouping.src.js +1 -1
- package/es-modules/masters/modules/debugger.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/dotplot.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/draggable-points.src.js +1 -1
- package/es-modules/masters/modules/drilldown.src.js +1 -1
- package/es-modules/masters/modules/dumbbell.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/exporting.src.js +1 -1
- package/es-modules/masters/modules/flowmap.src.js +2 -1
- package/es-modules/masters/modules/full-screen.src.js +1 -1
- package/es-modules/masters/modules/funnel.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +1 -1
- package/es-modules/masters/modules/gantt.src.js +1 -1
- package/es-modules/masters/modules/geoheatmap.src.js +1 -1
- package/es-modules/masters/modules/grid-axis.src.js +1 -1
- package/es-modules/masters/modules/heatmap.src.js +1 -1
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/item-series.src.js +1 -1
- package/es-modules/masters/modules/lollipop.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/marker-clusters.src.js +1 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +1 -1
- package/es-modules/masters/modules/navigator.src.js +1 -1
- package/es-modules/masters/modules/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/non-cartesian-zoom.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
- package/es-modules/masters/modules/pareto.src.js +1 -1
- package/es-modules/masters/modules/pathfinder.src.js +1 -1
- package/es-modules/masters/modules/pattern-fill.src.js +1 -1
- package/es-modules/masters/modules/pictorial.src.js +1 -1
- package/es-modules/masters/modules/pointandfigure.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/renko.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +1 -1
- package/es-modules/masters/modules/series-on-point.src.js +1 -1
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +1 -1
- package/es-modules/masters/modules/static-scale.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/stock.src.js +1 -1
- package/es-modules/masters/modules/streamgraph.src.js +1 -1
- package/es-modules/masters/modules/sunburst.src.js +3 -2
- package/es-modules/masters/modules/textpath.src.js +1 -1
- package/es-modules/masters/modules/tiledwebmap.src.js +1 -1
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/timeline.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/masters/modules/treegrid.src.js +1 -1
- package/es-modules/masters/modules/treemap.src.js +1 -1
- package/es-modules/masters/modules/variable-pie.src.js +1 -1
- package/es-modules/masters/modules/variwide.src.js +1 -1
- package/es-modules/masters/modules/vector.src.js +1 -1
- package/es-modules/masters/modules/venn.src.js +1 -1
- package/es-modules/masters/modules/windbarb.src.js +1 -1
- package/es-modules/masters/modules/wordcloud.src.js +1 -1
- package/es-modules/masters/modules/xrange.src.js +1 -1
- package/es-modules/masters/standalone-navigator.src.js +1 -1
- package/es-modules/masters/themes/adaptive.src.js +1 -1
- package/es-modules/masters/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/high-contrast.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/esm/highcharts-3d.js +2 -2
- package/esm/highcharts-3d.src.js +40 -25
- package/esm/highcharts-autoload.js +2 -2
- package/esm/highcharts-autoload.src.js +22 -8
- package/esm/highcharts-gantt.js +2 -2
- package/esm/highcharts-gantt.src.js +1 -24
- package/esm/highcharts-more.js +2 -2
- package/esm/highcharts-more.src.js +1109 -926
- package/esm/highcharts.js +5 -5
- package/esm/highcharts.src.js +396 -314
- package/esm/highmaps.js +2 -2
- package/esm/highmaps.src.js +1 -24
- package/esm/highstock.js +2 -2
- package/esm/highstock.src.js +1 -24
- package/esm/i18n/fr-FR.js +2 -2
- package/esm/i18n/fr-FR.src.js +22 -8
- package/esm/i18n/nb-NO.js +2 -2
- package/esm/i18n/nb-NO.src.js +22 -8
- package/esm/i18n/zh-CN.js +2 -2
- package/esm/i18n/zh-CN.src.js +22 -8
- package/esm/indicators/acceleration-bands.js +2 -2
- package/esm/indicators/acceleration-bands.src.js +22 -8
- package/esm/indicators/accumulation-distribution.js +2 -2
- package/esm/indicators/accumulation-distribution.src.js +22 -8
- package/esm/indicators/ao.js +2 -2
- package/esm/indicators/ao.src.js +22 -8
- package/esm/indicators/apo.js +2 -2
- package/esm/indicators/apo.src.js +22 -8
- package/esm/indicators/aroon-oscillator.js +2 -2
- package/esm/indicators/aroon-oscillator.src.js +22 -8
- package/esm/indicators/aroon.js +2 -2
- package/esm/indicators/aroon.src.js +22 -8
- package/esm/indicators/atr.js +2 -2
- package/esm/indicators/atr.src.js +22 -8
- package/esm/indicators/bollinger-bands.js +2 -2
- package/esm/indicators/bollinger-bands.src.js +22 -8
- package/esm/indicators/cci.js +2 -2
- package/esm/indicators/cci.src.js +22 -8
- package/esm/indicators/chaikin.js +2 -2
- package/esm/indicators/chaikin.src.js +22 -8
- package/esm/indicators/cmf.js +2 -2
- package/esm/indicators/cmf.src.js +22 -8
- package/esm/indicators/cmo.js +2 -2
- package/esm/indicators/cmo.src.js +22 -8
- package/esm/indicators/dema.js +2 -2
- package/esm/indicators/dema.src.js +22 -8
- package/esm/indicators/disparity-index.js +2 -2
- package/esm/indicators/disparity-index.src.js +22 -8
- package/esm/indicators/dmi.js +2 -2
- package/esm/indicators/dmi.src.js +22 -8
- package/esm/indicators/dpo.js +2 -2
- package/esm/indicators/dpo.src.js +22 -8
- package/esm/indicators/ichimoku-kinko-hyo.js +2 -2
- package/esm/indicators/ichimoku-kinko-hyo.src.js +22 -8
- package/esm/indicators/indicators-all.js +2 -2
- package/esm/indicators/indicators-all.src.js +24 -11
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +23 -9
- package/esm/indicators/keltner-channels.js +2 -2
- package/esm/indicators/keltner-channels.src.js +22 -8
- package/esm/indicators/klinger.js +2 -2
- package/esm/indicators/klinger.src.js +22 -8
- package/esm/indicators/macd.js +2 -2
- package/esm/indicators/macd.src.js +22 -8
- package/esm/indicators/mfi.js +2 -2
- package/esm/indicators/mfi.src.js +22 -8
- package/esm/indicators/momentum.js +2 -2
- package/esm/indicators/momentum.src.js +22 -8
- package/esm/indicators/natr.js +2 -2
- package/esm/indicators/natr.src.js +22 -8
- package/esm/indicators/obv.js +2 -2
- package/esm/indicators/obv.src.js +22 -8
- package/esm/indicators/pivot-points.js +2 -2
- package/esm/indicators/pivot-points.src.js +22 -8
- package/esm/indicators/ppo.js +2 -2
- package/esm/indicators/ppo.src.js +22 -8
- package/esm/indicators/price-channel.js +2 -2
- package/esm/indicators/price-channel.src.js +22 -8
- package/esm/indicators/price-envelopes.js +2 -2
- package/esm/indicators/price-envelopes.src.js +22 -8
- package/esm/indicators/psar.js +2 -2
- package/esm/indicators/psar.src.js +22 -8
- package/esm/indicators/regressions.js +2 -2
- package/esm/indicators/regressions.src.js +22 -8
- package/esm/indicators/roc.js +2 -2
- package/esm/indicators/roc.src.js +22 -8
- package/esm/indicators/rsi.js +2 -2
- package/esm/indicators/rsi.src.js +22 -8
- package/esm/indicators/slow-stochastic.js +2 -2
- package/esm/indicators/slow-stochastic.src.js +22 -8
- package/esm/indicators/stochastic.js +2 -2
- package/esm/indicators/stochastic.src.js +22 -8
- package/esm/indicators/supertrend.js +2 -2
- package/esm/indicators/supertrend.src.js +22 -8
- package/esm/indicators/tema.js +2 -2
- package/esm/indicators/tema.src.js +22 -8
- package/esm/indicators/trendline.js +2 -2
- package/esm/indicators/trendline.src.js +22 -8
- package/esm/indicators/trix.js +2 -2
- package/esm/indicators/trix.src.js +22 -8
- package/esm/indicators/volume-by-price.js +2 -2
- package/esm/indicators/volume-by-price.src.js +23 -10
- package/esm/indicators/vwap.js +2 -2
- package/esm/indicators/vwap.src.js +22 -8
- package/esm/indicators/williams-r.js +2 -2
- package/esm/indicators/williams-r.src.js +22 -8
- package/esm/indicators/wma.js +2 -2
- package/esm/indicators/wma.src.js +22 -8
- package/esm/indicators/zigzag.js +2 -2
- package/esm/indicators/zigzag.src.js +22 -8
- package/esm/modules/accessibility.js +2 -2
- package/esm/modules/accessibility.src.js +498 -32
- package/esm/modules/annotations-advanced.js +11 -11
- package/esm/modules/annotations-advanced.src.js +201 -141
- package/esm/modules/annotations.js +11 -11
- package/esm/modules/annotations.src.js +165 -127
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +22 -8
- package/esm/modules/arrow-symbols.js +3 -3
- package/esm/modules/arrow-symbols.src.js +22 -8
- package/esm/modules/boost-canvas.js +2 -2
- package/esm/modules/boost-canvas.src.js +32 -11
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +45 -11
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +22 -8
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +23 -9
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +30 -11
- package/esm/modules/contour.js +3 -3
- package/esm/modules/contour.src.js +46 -13
- package/esm/modules/current-date-indicator.js +2 -2
- package/esm/modules/current-date-indicator.src.js +22 -8
- package/esm/modules/cylinder.js +2 -2
- package/esm/modules/cylinder.src.js +38 -19
- package/esm/modules/data-sorting.js +2 -2
- package/esm/modules/data-sorting.src.js +22 -8
- package/esm/modules/data-tools.js +2 -2
- package/esm/modules/data-tools.src.js +25 -11
- package/esm/modules/data.js +4 -4
- package/esm/modules/data.src.js +23 -9
- package/esm/modules/datagrouping.js +2 -2
- package/esm/modules/datagrouping.src.js +23 -9
- package/esm/modules/debugger.js +2 -2
- package/esm/modules/debugger.src.js +22 -8
- package/esm/modules/dependency-wheel.js +2 -2
- package/esm/modules/dependency-wheel.src.js +428 -17
- package/esm/modules/dotplot.js +2 -2
- package/esm/modules/dotplot.src.js +25 -10
- package/esm/modules/drag-panes.js +2 -2
- package/esm/modules/drag-panes.src.js +22 -8
- package/esm/modules/draggable-points.js +2 -2
- package/esm/modules/draggable-points.src.js +23 -10
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +34 -22
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +36 -19
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +27 -9
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +77 -31
- package/esm/modules/flowmap.js +3 -2
- package/esm/modules/flowmap.src.js +23 -8
- package/esm/modules/full-screen.js +2 -2
- package/esm/modules/full-screen.src.js +22 -8
- package/esm/modules/funnel.js +2 -2
- package/esm/modules/funnel.src.js +72 -41
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +22 -8
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +450 -25
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +28 -14
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +30 -9
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +29 -12
- package/esm/modules/heikinashi.js +2 -2
- package/esm/modules/heikinashi.src.js +22 -8
- package/esm/modules/histogram-bellcurve.js +2 -2
- package/esm/modules/histogram-bellcurve.src.js +42 -23
- package/esm/modules/hollowcandlestick.js +2 -2
- package/esm/modules/hollowcandlestick.src.js +31 -17
- package/esm/modules/item-series.js +2 -2
- package/esm/modules/item-series.src.js +55 -8
- package/esm/modules/lollipop.js +2 -2
- package/esm/modules/lollipop.src.js +22 -8
- package/esm/modules/map.js +2 -2
- package/esm/modules/map.src.js +84 -35
- package/esm/modules/marker-clusters.js +2 -2
- package/esm/modules/marker-clusters.src.js +25 -13
- package/esm/modules/mouse-wheel-zoom.js +2 -2
- package/esm/modules/mouse-wheel-zoom.src.js +52 -11
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +488 -30
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +57 -26
- package/esm/modules/no-data-to-display.js +2 -2
- package/esm/modules/no-data-to-display.src.js +22 -8
- package/esm/modules/non-cartesian-zoom.js +2 -2
- package/esm/modules/non-cartesian-zoom.src.js +22 -8
- package/esm/modules/offline-exporting.js +2 -2
- package/esm/modules/offline-exporting.src.js +53 -12
- package/esm/modules/organization.js +4 -2
- package/esm/modules/organization.src.js +61 -18
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +25 -8
- package/esm/modules/pareto.js +2 -2
- package/esm/modules/pareto.src.js +31 -16
- package/esm/modules/pathfinder.js +2 -2
- package/esm/modules/pathfinder.src.js +22 -8
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +22 -8
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +27 -14
- package/esm/modules/pointandfigure.js +2 -2
- package/esm/modules/pointandfigure.src.js +26 -11
- package/esm/modules/price-indicator.js +2 -2
- package/esm/modules/price-indicator.src.js +22 -8
- package/esm/modules/pyramid3d.js +2 -2
- package/esm/modules/pyramid3d.src.js +22 -8
- package/esm/modules/renko.js +2 -2
- package/esm/modules/renko.src.js +22 -8
- package/esm/modules/sankey.js +2 -2
- package/esm/modules/sankey.src.js +26 -12
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +25 -12
- package/esm/modules/series-on-point.js +2 -2
- package/esm/modules/series-on-point.src.js +23 -9
- package/esm/modules/solid-gauge.js +2 -2
- package/esm/modules/solid-gauge.src.js +39 -19
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +27 -12
- package/esm/modules/static-scale.js +2 -2
- package/esm/modules/static-scale.src.js +22 -8
- package/esm/modules/stock-tools.js +3 -3
- package/esm/modules/stock-tools.src.js +59 -18
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +465 -47
- package/esm/modules/streamgraph.js +2 -2
- package/esm/modules/streamgraph.src.js +22 -8
- package/esm/modules/sunburst.js +2 -2
- package/esm/modules/sunburst.src.js +70 -20
- package/esm/modules/textpath.js +2 -2
- package/esm/modules/textpath.src.js +22 -8
- package/esm/modules/tiledwebmap.js +3 -3
- package/esm/modules/tiledwebmap.src.js +37 -14
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +25 -10
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +31 -11
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +43 -20
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +31 -10
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +55 -15
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +25 -10
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +22 -8
- package/esm/modules/vector.js +2 -2
- package/esm/modules/vector.src.js +28 -16
- package/esm/modules/venn.js +2 -2
- package/esm/modules/venn.src.js +28 -13
- package/esm/modules/windbarb.js +2 -2
- package/esm/modules/windbarb.src.js +28 -16
- package/esm/modules/wordcloud.js +2 -2
- package/esm/modules/wordcloud.src.js +25 -9
- package/esm/modules/xrange.js +2 -2
- package/esm/modules/xrange.src.js +29 -15
- package/esm/standalone-navigator.js +5 -5
- package/esm/standalone-navigator.src.js +461 -329
- package/esm/themes/adaptive.js +3 -3
- package/esm/themes/adaptive.src.js +22 -8
- package/esm/themes/avocado.js +2 -2
- package/esm/themes/avocado.src.js +22 -8
- package/esm/themes/dark-unica.js +2 -2
- package/esm/themes/dark-unica.src.js +22 -8
- package/esm/themes/grid-light.js +2 -2
- package/esm/themes/grid-light.src.js +22 -8
- package/esm/themes/high-contrast.js +2 -2
- package/esm/themes/high-contrast.src.js +22 -8
- package/esm/themes/sand-signika.js +2 -2
- package/esm/themes/sand-signika.src.js +22 -8
- package/esm/themes/sunset.js +2 -2
- package/esm/themes/sunset.src.js +22 -8
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +78 -62
- package/highcharts-autoload.d.ts +7 -3
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +7 -3
- package/highcharts-autoload.src.js +418 -298
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +458 -318
- package/highcharts-more.d.ts +7 -3
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.d.ts +7 -3
- package/highcharts-more.src.js +1224 -1040
- package/highcharts.d.ts +34734 -25643
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +34734 -25643
- package/highcharts.src.js +417 -297
- package/highmaps.js +4 -4
- package/highmaps.src.js +482 -320
- package/highstock.js +4 -4
- package/highstock.src.js +497 -337
- package/i18n/fr-FR.js +2 -2
- package/i18n/fr-FR.src.js +32 -16
- package/i18n/nb-NO.js +2 -2
- package/i18n/nb-NO.src.js +32 -16
- package/i18n/zh-CN.js +2 -2
- package/i18n/zh-CN.src.js +32 -16
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +31 -16
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +31 -16
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +31 -16
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +31 -16
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +31 -16
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +31 -16
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +31 -16
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +31 -16
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +31 -16
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +31 -16
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +31 -16
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +31 -16
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +31 -16
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +31 -16
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +31 -16
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +31 -16
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +41 -26
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +45 -31
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +38 -23
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +31 -16
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +31 -16
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +31 -16
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +31 -16
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +31 -16
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +31 -16
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +31 -16
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +31 -16
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +31 -16
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +31 -16
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +31 -16
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +31 -16
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +31 -16
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +31 -16
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +31 -16
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +31 -16
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +31 -16
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +31 -16
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +31 -16
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +31 -16
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +31 -16
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +32 -18
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +31 -16
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +31 -16
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +31 -16
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +31 -16
- package/modules/accessibility.d.ts +47 -0
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.d.ts +47 -0
- package/modules/accessibility.src.js +537 -70
- package/modules/annotations-advanced.js +11 -11
- package/modules/annotations-advanced.src.js +223 -162
- package/modules/annotations.js +11 -11
- package/modules/annotations.src.js +187 -148
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +43 -28
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +28 -13
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +41 -19
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +54 -19
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +31 -16
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +35 -20
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +48 -28
- package/modules/contour.js +5 -5
- package/modules/contour.src.js +74 -34
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +28 -13
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +59 -39
- package/modules/data-sorting.js +2 -2
- package/modules/data-sorting.src.js +28 -13
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +31 -16
- package/modules/data.js +2 -2
- package/modules/data.src.js +50 -35
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +37 -22
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +28 -13
- package/modules/dependency-wheel.d.ts +7 -1
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.d.ts +7 -1
- package/modules/dependency-wheel.src.js +440 -28
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +34 -18
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +28 -13
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +29 -15
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +45 -32
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +50 -32
- package/modules/export-data.d.ts +66 -1
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.d.ts +66 -1
- package/modules/export-data.src.js +41 -22
- package/modules/exporting.d.ts +0 -103
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.d.ts +0 -103
- package/modules/exporting.src.js +91 -44
- package/modules/flowmap.js +3 -2
- package/modules/flowmap.src.js +32 -16
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +31 -16
- package/modules/funnel.d.ts +3 -3
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.d.ts +3 -3
- package/modules/funnel.src.js +81 -49
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +43 -28
- package/modules/gantt.d.ts +47 -0
- package/modules/gantt.js +8 -8
- package/modules/gantt.src.d.ts +47 -0
- package/modules/gantt.src.js +510 -81
- package/modules/geoheatmap.d.ts +13 -0
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.d.ts +13 -0
- package/modules/geoheatmap.src.js +37 -22
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +39 -17
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.js +64 -40
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +31 -16
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +56 -36
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +45 -30
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +64 -16
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +36 -21
- package/modules/map.d.ts +0 -8
- package/modules/map.js +4 -4
- package/modules/map.src.d.ts +0 -8
- package/modules/map.src.js +131 -74
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +31 -18
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +58 -16
- package/modules/navigator.d.ts +47 -0
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.d.ts +47 -0
- package/modules/navigator.src.js +510 -51
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +69 -37
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +31 -16
- package/modules/non-cartesian-zoom.js +2 -2
- package/modules/non-cartesian-zoom.src.js +28 -13
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +67 -25
- package/modules/organization.js +4 -2
- package/modules/organization.src.js +73 -29
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +36 -18
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +45 -29
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +31 -16
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +28 -13
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +53 -38
- package/modules/pointandfigure.js +2 -2
- package/modules/pointandfigure.src.js +35 -19
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +28 -13
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +31 -16
- package/modules/renko.js +2 -2
- package/modules/renko.src.js +34 -19
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.js +47 -32
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +36 -22
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +40 -25
- package/modules/solid-gauge.d.ts +3 -3
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.d.ts +3 -3
- package/modules/solid-gauge.src.js +53 -32
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +38 -22
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +28 -13
- package/modules/stock-tools.js +3 -3
- package/modules/stock-tools.src.js +76 -34
- package/modules/stock.d.ts +47 -0
- package/modules/stock.js +6 -6
- package/modules/stock.src.d.ts +47 -0
- package/modules/stock.src.js +549 -100
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +31 -16
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +97 -46
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +28 -13
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +58 -27
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +39 -23
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +43 -22
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +67 -43
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +49 -27
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +82 -41
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +34 -18
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +31 -16
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +37 -24
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +42 -26
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +50 -37
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +34 -17
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +43 -28
- package/options/abands.d.ts +722 -83
- package/options/abands.src.d.ts +722 -83
- package/options/ad.d.ts +381 -26
- package/options/ad.src.d.ts +381 -26
- package/options/ao.d.ts +744 -70
- package/options/ao.src.d.ts +744 -70
- package/options/apo.d.ts +381 -26
- package/options/apo.src.d.ts +381 -26
- package/options/arcdiagram.d.ts +80 -534
- package/options/arcdiagram.src.d.ts +80 -534
- package/options/area.d.ts +432 -129
- package/options/area.src.d.ts +432 -129
- package/options/arearange.d.ts +46 -4
- package/options/arearange.src.d.ts +46 -4
- package/options/areaspline.d.ts +141 -866
- package/options/areaspline.src.d.ts +141 -866
- package/options/areasplinerange.d.ts +221 -871
- package/options/areasplinerange.src.d.ts +221 -871
- package/options/aroon.d.ts +432 -124
- package/options/aroon.src.d.ts +432 -124
- package/options/aroonoscillator.d.ts +127 -689
- package/options/aroonoscillator.src.d.ts +127 -689
- package/options/atr.d.ts +381 -71
- package/options/atr.src.d.ts +381 -71
- package/options/bar.d.ts +103 -12
- package/options/bar.src.d.ts +103 -12
- package/options/bb.d.ts +87 -762
- package/options/bb.src.d.ts +87 -762
- package/options/bellcurve.d.ts +87 -364
- package/options/bellcurve.src.d.ts +87 -364
- package/options/boxplot.d.ts +82 -13
- package/options/boxplot.src.d.ts +82 -13
- package/options/bubble.d.ts +83 -874
- package/options/bubble.src.d.ts +83 -874
- package/options/bullet.d.ts +354 -717
- package/options/bullet.src.d.ts +354 -717
- package/options/candlestick.d.ts +99 -1214
- package/options/candlestick.src.d.ts +99 -1214
- package/options/cci.d.ts +381 -26
- package/options/cci.src.d.ts +381 -26
- package/options/chaikin.d.ts +728 -83
- package/options/chaikin.src.d.ts +728 -83
- package/options/cmf.d.ts +381 -26
- package/options/cmf.src.d.ts +381 -26
- package/options/cmo.d.ts +730 -79
- package/options/cmo.src.d.ts +730 -79
- package/options/column.d.ts +1265 -99
- package/options/column.src.d.ts +1265 -99
- package/options/columnpyramid.d.ts +102 -1158
- package/options/columnpyramid.src.d.ts +102 -1158
- package/options/columnrange.d.ts +952 -95
- package/options/columnrange.src.d.ts +952 -95
- package/options/contour.d.ts +31 -443
- package/options/contour.src.d.ts +31 -443
- package/options/cylinder.d.ts +100 -12
- package/options/cylinder.src.d.ts +100 -12
- package/options/dema.d.ts +80 -736
- package/options/dema.src.d.ts +80 -736
- package/options/dependencywheel.d.ts +599 -218
- package/options/dependencywheel.src.d.ts +599 -218
- package/options/disparityindex.d.ts +84 -365
- package/options/disparityindex.src.d.ts +84 -365
- package/options/dmi.d.ts +86 -775
- package/options/dmi.src.d.ts +86 -775
- package/options/dpo.d.ts +83 -365
- package/options/dpo.src.d.ts +83 -365
- package/options/dumbbell.d.ts +27 -4
- package/options/dumbbell.src.d.ts +27 -4
- package/options/ema.d.ts +81 -703
- package/options/ema.src.d.ts +81 -703
- package/options/errorbar.d.ts +91 -1161
- package/options/errorbar.src.d.ts +91 -1161
- package/options/flags.d.ts +98 -1192
- package/options/flags.src.d.ts +98 -1192
- package/options/flowmap.d.ts +48 -373
- package/options/flowmap.src.d.ts +48 -373
- package/options/funnel.d.ts +40 -3
- package/options/funnel.src.d.ts +40 -3
- package/options/gantt.d.ts +37 -40
- package/options/gantt.src.d.ts +37 -40
- package/options/gauge.d.ts +398 -472
- package/options/gauge.src.d.ts +398 -472
- package/options/geoheatmap.d.ts +462 -63
- package/options/geoheatmap.src.d.ts +462 -63
- package/options/heatmap.d.ts +31 -380
- package/options/heatmap.src.d.ts +31 -380
- package/options/heikinashi.d.ts +20 -2
- package/options/heikinashi.src.d.ts +20 -2
- package/options/hlc.d.ts +20 -2
- package/options/hlc.src.d.ts +20 -2
- package/options/ikh.d.ts +750 -103
- package/options/ikh.src.d.ts +750 -103
- package/options/item.d.ts +34 -74
- package/options/item.src.d.ts +34 -74
- package/options/keltnerchannels.d.ts +87 -708
- package/options/keltnerchannels.src.d.ts +87 -708
- package/options/klinger.d.ts +34 -365
- package/options/klinger.src.d.ts +34 -365
- package/options/line.d.ts +151 -851
- package/options/line.src.d.ts +151 -851
- package/options/linearregression.d.ts +960 -85
- package/options/linearregression.src.d.ts +960 -85
- package/options/linearregressionangle.d.ts +96 -699
- package/options/linearregressionangle.src.d.ts +96 -699
- package/options/linearregressionintercept.d.ts +381 -26
- package/options/linearregressionintercept.src.d.ts +381 -26
- package/options/linearregressionslope.d.ts +381 -26
- package/options/linearregressionslope.src.d.ts +381 -26
- package/options/lollipop.d.ts +214 -851
- package/options/lollipop.src.d.ts +214 -851
- package/options/macd.d.ts +386 -83
- package/options/macd.src.d.ts +386 -83
- package/options/map.d.ts +470 -36
- package/options/map.src.d.ts +470 -36
- package/options/mapbubble.d.ts +43 -532
- package/options/mapbubble.src.d.ts +43 -532
- package/options/mapline.d.ts +135 -58
- package/options/mapline.src.d.ts +135 -58
- package/options/mappoint.d.ts +205 -283
- package/options/mappoint.src.d.ts +205 -283
- package/options/mfi.d.ts +772 -82
- package/options/mfi.src.d.ts +772 -82
- package/options/momentum.d.ts +381 -71
- package/options/momentum.src.d.ts +381 -71
- package/options/natr.d.ts +776 -75
- package/options/natr.src.d.ts +776 -75
- package/options/networkgraph.d.ts +184 -207
- package/options/networkgraph.src.d.ts +184 -207
- package/options/obv.d.ts +426 -26
- package/options/obv.src.d.ts +426 -26
- package/options/ohlc.d.ts +77 -14
- package/options/ohlc.src.d.ts +77 -14
- package/options/packedbubble.d.ts +76 -696
- package/options/packedbubble.src.d.ts +76 -696
- package/options/pareto.d.ts +28 -364
- package/options/pareto.src.d.ts +28 -364
- package/options/pc.d.ts +724 -85
- package/options/pc.src.d.ts +724 -85
- package/options/pictorial.d.ts +1093 -58
- package/options/pictorial.src.d.ts +1093 -58
- package/options/pie.d.ts +595 -129
- package/options/pie.src.d.ts +595 -129
- package/options/pivotpoints.d.ts +34 -365
- package/options/pivotpoints.src.d.ts +34 -365
- package/options/pointandfigure.d.ts +10 -50
- package/options/pointandfigure.src.d.ts +10 -50
- package/options/polygon.d.ts +803 -74
- package/options/polygon.src.d.ts +803 -74
- package/options/ppo.d.ts +34 -365
- package/options/ppo.src.d.ts +34 -365
- package/options/priceenvelopes.d.ts +93 -719
- package/options/priceenvelopes.src.d.ts +93 -719
- package/options/psar.d.ts +34 -365
- package/options/psar.src.d.ts +34 -365
- package/options/pyramid.d.ts +35 -3
- package/options/pyramid.src.d.ts +35 -3
- package/options/renko.d.ts +25 -2
- package/options/renko.src.d.ts +25 -2
- package/options/roc.d.ts +78 -712
- package/options/roc.src.d.ts +78 -712
- package/options/rsi.d.ts +34 -365
- package/options/rsi.src.d.ts +34 -365
- package/options/sankey.d.ts +27 -5
- package/options/sankey.src.d.ts +27 -5
- package/options/scatter.d.ts +896 -290
- package/options/scatter.src.d.ts +896 -290
- package/options/series.d.ts +938 -83
- package/options/series.src.d.ts +938 -83
- package/options/slowstochastic.d.ts +381 -26
- package/options/slowstochastic.src.d.ts +381 -26
- package/options/sma.d.ts +729 -79
- package/options/sma.src.d.ts +729 -79
- package/options/solidgauge.d.ts +882 -105
- package/options/solidgauge.src.d.ts +882 -105
- package/options/spline.d.ts +389 -90
- package/options/spline.src.d.ts +389 -90
- package/options/stochastic.d.ts +83 -716
- package/options/stochastic.src.d.ts +83 -716
- package/options/streamgraph.d.ts +97 -364
- package/options/streamgraph.src.d.ts +97 -364
- package/options/sunburst.d.ts +87 -19
- package/options/sunburst.src.d.ts +87 -19
- package/options/supertrend.d.ts +77 -749
- package/options/supertrend.src.d.ts +77 -749
- package/options/tema.d.ts +83 -365
- package/options/tema.src.d.ts +83 -365
- package/options/tiledwebmap.d.ts +13 -72
- package/options/tiledwebmap.src.d.ts +13 -72
- package/options/tilemap.d.ts +372 -533
- package/options/tilemap.src.d.ts +372 -533
- package/options/timeline.d.ts +49 -154
- package/options/timeline.src.d.ts +49 -154
- package/options/treegraph.d.ts +174 -696
- package/options/treegraph.src.d.ts +174 -696
- package/options/treemap.d.ts +468 -1079
- package/options/treemap.src.d.ts +468 -1079
- package/options/trendline.d.ts +381 -26
- package/options/trendline.src.d.ts +381 -26
- package/options/trix.d.ts +712 -82
- package/options/trix.src.d.ts +712 -82
- package/options/variablepie.d.ts +130 -587
- package/options/variablepie.src.d.ts +130 -587
- package/options/variwide.d.ts +1123 -94
- package/options/variwide.src.d.ts +1123 -94
- package/options/vbp.d.ts +57 -383
- package/options/vbp.src.d.ts +57 -383
- package/options/vector.d.ts +22 -58
- package/options/vector.src.d.ts +22 -58
- package/options/venn.d.ts +32 -78
- package/options/venn.src.d.ts +32 -78
- package/options/vwap.d.ts +122 -703
- package/options/vwap.src.d.ts +122 -703
- package/options/waterfall.d.ts +139 -1150
- package/options/waterfall.src.d.ts +139 -1150
- package/options/williamsr.d.ts +381 -76
- package/options/williamsr.src.d.ts +381 -76
- package/options/windbarb.d.ts +39 -2
- package/options/windbarb.src.d.ts +39 -2
- package/options/wma.d.ts +78 -704
- package/options/wma.src.d.ts +78 -704
- package/options/wordcloud.d.ts +98 -595
- package/options/wordcloud.src.d.ts +98 -595
- package/options/xrange.d.ts +166 -1056
- package/options/xrange.src.d.ts +166 -1056
- package/options/zigzag.d.ts +34 -410
- package/options/zigzag.src.d.ts +34 -410
- package/package.json +3 -2
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +482 -312
- package/themes/adaptive.js +2 -2
- package/themes/adaptive.src.js +33 -18
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +28 -13
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +28 -13
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +28 -13
- package/themes/high-contrast.js +2 -2
- package/themes/high-contrast.src.js +28 -13
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +28 -13
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +28 -13
- package/css/.stylelintrc.json +0 -8
|
@@ -7,6 +7,8 @@ import Annotation from '../Annotation.js';
|
|
|
7
7
|
import ControlPoint from '../ControlPoint.js';
|
|
8
8
|
import D from '../../../Core/Defaults.js';
|
|
9
9
|
const { defaultOptions } = D;
|
|
10
|
+
import NBU from '../NavigationBindingsUtilities.js';
|
|
11
|
+
const { getAxisFromOptions } = NBU;
|
|
10
12
|
import { defined, extend, isNumber, merge, pick } from '../../../Shared/Utilities.js';
|
|
11
13
|
if (defaultOptions.annotations?.types) {
|
|
12
14
|
/**
|
|
@@ -194,7 +196,10 @@ if (defaultOptions.annotations?.types) {
|
|
|
194
196
|
},
|
|
195
197
|
controlPointOptions: {
|
|
196
198
|
positioner: function (target) {
|
|
197
|
-
const cpIndex = this.index, chart = target.chart, options = target.options, typeOptions = options.typeOptions, selectType = typeOptions.selectType, controlPointOptions = options.controlPointOptions, inverted = chart.inverted, xAxis = chart
|
|
199
|
+
const cpIndex = this.index, chart = target.chart, options = target.options, typeOptions = options.typeOptions, selectType = typeOptions.selectType, controlPointOptions = options.controlPointOptions, inverted = chart.inverted, xAxis = getAxisFromOptions(chart, 'xAxis', typeOptions.xAxis), yAxis = getAxisFromOptions(chart, 'yAxis', typeOptions.yAxis), ext = getExtremes(target.xAxisMin, target.xAxisMax, target.yAxisMin, target.yAxisMax);
|
|
200
|
+
if (!xAxis || !yAxis) {
|
|
201
|
+
return { x: 0, y: 0 };
|
|
202
|
+
}
|
|
198
203
|
let targetX = target.xAxisMax, targetY = target.yAxisMax, x, y;
|
|
199
204
|
if (selectType === 'x') {
|
|
200
205
|
targetY = (ext.yAxisMax + ext.yAxisMin) / 2;
|
|
@@ -331,7 +336,11 @@ function getPointPos(axis, value, offset) {
|
|
|
331
336
|
* @internal
|
|
332
337
|
*/
|
|
333
338
|
function init() {
|
|
334
|
-
const options = this.options.typeOptions, chart = this.chart, inverted = chart.inverted, xAxis = chart
|
|
339
|
+
const options = this.options.typeOptions, chart = this.chart, inverted = chart.inverted, xAxis = getAxisFromOptions(chart, 'xAxis', options.xAxis), yAxis = getAxisFromOptions(chart, 'yAxis', options.yAxis), bg = options.background, width = inverted ? bg.height : bg.width, height = inverted ? bg.width : bg.height, selectType = options.selectType;
|
|
340
|
+
if (!xAxis || !yAxis) {
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
const top = inverted ? xAxis.left : yAxis.top, // #13664
|
|
335
344
|
left = inverted ? yAxis.top : xAxis.left; // #13664
|
|
336
345
|
this.startXMin = options.point.x;
|
|
337
346
|
this.startYMin = options.point.y;
|
|
@@ -413,7 +422,10 @@ function min() {
|
|
|
413
422
|
* Flag if shape is resized.
|
|
414
423
|
*/
|
|
415
424
|
function recalculate(resize) {
|
|
416
|
-
const options = this.options.typeOptions, xAxis = this.chart
|
|
425
|
+
const options = this.options.typeOptions, xAxis = getAxisFromOptions(this.chart, 'xAxis', options.xAxis), yAxis = getAxisFromOptions(this.chart, 'yAxis', options.yAxis), offsetX = this.offsetX, offsetY = this.offsetY;
|
|
426
|
+
if (!xAxis || !yAxis) {
|
|
427
|
+
return;
|
|
428
|
+
}
|
|
417
429
|
this.xAxisMin = getPointPos(xAxis, this.startXMin, offsetX);
|
|
418
430
|
this.xAxisMax = getPointPos(xAxis, this.startXMax, offsetX);
|
|
419
431
|
this.yAxisMin = getPointPos(yAxis, this.startYMin, offsetY);
|
|
@@ -439,7 +451,10 @@ function recalculate(resize) {
|
|
|
439
451
|
*/
|
|
440
452
|
function updateStartPoints(redraw, resize, cpIndex, dx, dy) {
|
|
441
453
|
var _a;
|
|
442
|
-
const options = this.options.typeOptions, selectType = options.selectType, xAxis = this.chart
|
|
454
|
+
const options = this.options.typeOptions, selectType = options.selectType, xAxis = getAxisFromOptions(this.chart, 'xAxis', options.xAxis), yAxis = getAxisFromOptions(this.chart, 'yAxis', options.yAxis), startXMin = this.startXMin, startXMax = this.startXMax, startYMin = this.startYMin, startYMax = this.startYMax, offsetX = this.offsetX, offsetY = this.offsetY;
|
|
455
|
+
if (!xAxis || !yAxis) {
|
|
456
|
+
return;
|
|
457
|
+
}
|
|
443
458
|
if (resize) {
|
|
444
459
|
if (selectType === 'x') {
|
|
445
460
|
if (cpIndex === 0) {
|
|
@@ -510,8 +525,8 @@ class Measure extends Annotation {
|
|
|
510
525
|
* Overrides default setter to get axes from typeOptions.
|
|
511
526
|
*/
|
|
512
527
|
setClipAxes() {
|
|
513
|
-
this.clipXAxis = this.chart
|
|
514
|
-
this.clipYAxis = this.chart
|
|
528
|
+
this.clipXAxis = getAxisFromOptions(this.chart, 'xAxis', this.options.typeOptions.xAxis);
|
|
529
|
+
this.clipYAxis = getAxisFromOptions(this.chart, 'yAxis', this.options.typeOptions.yAxis);
|
|
515
530
|
}
|
|
516
531
|
/**
|
|
517
532
|
* Get points configuration objects for shapes.
|
|
@@ -637,10 +652,13 @@ class Measure extends Annotation {
|
|
|
637
652
|
* Add internal crosshair shapes (on top and bottom).
|
|
638
653
|
*/
|
|
639
654
|
addCrosshairs() {
|
|
640
|
-
const chart = this.chart, options = this.options.typeOptions, point = this.options.typeOptions.point, xAxis = chart
|
|
655
|
+
const chart = this.chart, options = this.options.typeOptions, point = this.options.typeOptions.point, xAxis = getAxisFromOptions(chart, 'xAxis', options.xAxis), yAxis = getAxisFromOptions(chart, 'yAxis', options.yAxis), inverted = chart.inverted, defaultOptions = {
|
|
641
656
|
point: point,
|
|
642
657
|
type: 'path'
|
|
643
658
|
};
|
|
659
|
+
if (!xAxis || !yAxis) {
|
|
660
|
+
return;
|
|
661
|
+
}
|
|
644
662
|
let xAxisMin = xAxis.toPixels(this.xAxisMin), xAxisMax = xAxis.toPixels(this.xAxisMax), yAxisMin = yAxis.toPixels(this.yAxisMin), yAxisMax = yAxis.toPixels(this.yAxisMax), pathH = [], pathV = [], crosshairOptionsX, crosshairOptionsY, temp;
|
|
645
663
|
if (inverted) {
|
|
646
664
|
temp = xAxisMin;
|
|
@@ -10,6 +10,8 @@ import CrookedLine from './CrookedLine.js';
|
|
|
10
10
|
import D from '../../../Core/Defaults.js';
|
|
11
11
|
const { defaultOptions } = D;
|
|
12
12
|
import ControlPoint from '../ControlPoint.js';
|
|
13
|
+
import NBU from '../NavigationBindingsUtilities.js';
|
|
14
|
+
const { getAxisFromOptions } = NBU;
|
|
13
15
|
import { defined, isNumber, merge } from '../../../Shared/Utilities.js';
|
|
14
16
|
if (defaultOptions.annotations?.types) {
|
|
15
17
|
defaultOptions.annotations.types.timeCycles = merge(defaultOptions.annotations.types.crookedLine,
|
|
@@ -166,8 +168,8 @@ class TimeCycles extends CrookedLine {
|
|
|
166
168
|
if (!points) {
|
|
167
169
|
return;
|
|
168
170
|
}
|
|
169
|
-
const point1 = points[0], point2 = points[1],
|
|
170
|
-
if (!xValue1 || !xValue2) {
|
|
171
|
+
const point1 = points[0], point2 = points[1], xAxis = getAxisFromOptions(this.chart, 'xAxis', options.xAxis ?? 0), yAxis = getAxisFromOptions(this.chart, 'yAxis', options.yAxis ?? 0), xValue1 = point1.x, yValue = point1.y, xValue2 = point2.x;
|
|
172
|
+
if (!xValue1 || !xValue2 || !xAxis || !yAxis) {
|
|
171
173
|
return;
|
|
172
174
|
}
|
|
173
175
|
const y = isNumber(yValue) ?
|
|
@@ -9,6 +9,8 @@ import CrookedLine from './CrookedLine.js';
|
|
|
9
9
|
import D from '../../../Core/Defaults.js';
|
|
10
10
|
const { defaultOptions } = D;
|
|
11
11
|
import MockPoint from '../MockPoint.js';
|
|
12
|
+
import NBU from '../NavigationBindingsUtilities.js';
|
|
13
|
+
const { getAxisFromOptions } = NBU;
|
|
12
14
|
import { merge } from '../../../Shared/Utilities.js';
|
|
13
15
|
if (defaultOptions.annotations?.types) {
|
|
14
16
|
defaultOptions.annotations.types.tunnel = merge(defaultOptions.annotations.types.crookedLine,
|
|
@@ -111,7 +113,7 @@ class Tunnel extends CrookedLine {
|
|
|
111
113
|
*
|
|
112
114
|
* */
|
|
113
115
|
getPointsOptions() {
|
|
114
|
-
const pointsOptions = CrookedLine.prototype.getPointsOptions.call(this),
|
|
116
|
+
const pointsOptions = CrookedLine.prototype.getPointsOptions.call(this), yAxis = getAxisFromOptions(this.chart, 'yAxis', this.options.typeOptions?.yAxis ?? 0);
|
|
115
117
|
pointsOptions[2] = this.heightPointOptions(pointsOptions[1]);
|
|
116
118
|
pointsOptions[3] = this.heightPointOptions(pointsOptions[0]);
|
|
117
119
|
// In case of log axis, translate the bottom left point again, #16769
|
|
@@ -84,6 +84,19 @@ function compose(ChartClass, AxisClass, SeriesClass, seriesTypes, PointClass, Co
|
|
|
84
84
|
opacity
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
|
+
// Boosted scatter crops its data table on the Y axis, so it must be
|
|
88
|
+
// reprocessed when the axis extremes change (#24386).
|
|
89
|
+
if (!this.isPanning) {
|
|
90
|
+
for (const series of this.series) {
|
|
91
|
+
if (series.boost &&
|
|
92
|
+
series.is('scatter') &&
|
|
93
|
+
!series.is('bubble') &&
|
|
94
|
+
!series.is('treemap') &&
|
|
95
|
+
!series.is('heatmap')) {
|
|
96
|
+
series.isDirty = true;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
87
100
|
});
|
|
88
101
|
}
|
|
89
102
|
/**
|
|
@@ -627,7 +627,14 @@ function scatterProcessData(force) {
|
|
|
627
627
|
// Required to get tick-based zoom ranges that take options into account
|
|
628
628
|
// like `minPadding`, `maxPadding`, `startOnTick`, `endOnTick`.
|
|
629
629
|
series.yAxis.setTickInterval();
|
|
630
|
-
const boostThreshold = options.boostThreshold || 0, cropThreshold = options.cropThreshold, xData = series.getColumn('x'), xExtremes = xAxis.getExtremes(), xMax = xExtremes.max ?? Number.MAX_VALUE, xMin = xExtremes.min ?? -Number.MAX_VALUE, yData = series.getColumn('y'), yExtremes = yAxis.getExtremes(), yMax = yExtremes.max ?? Number.MAX_VALUE, yMin = yExtremes.min ?? -Number.MAX_VALUE
|
|
630
|
+
const boostThreshold = options.boostThreshold || 0, cropThreshold = options.cropThreshold, xData = series.getColumn('x'), xExtremes = xAxis.getExtremes(), xMax = xExtremes.max ?? Number.MAX_VALUE, xMin = xExtremes.min ?? -Number.MAX_VALUE, yData = series.getColumn('y'), yExtremes = yAxis.getExtremes(), yMax = yExtremes.max ?? Number.MAX_VALUE, yMin = yExtremes.min ?? -Number.MAX_VALUE,
|
|
631
|
+
// Crop on the Y axis only against the hard options bounds, not the
|
|
632
|
+
// auto-scaled `yAxis.min` and `yAxis.max`. Cropping against them would
|
|
633
|
+
// lock reset zoom to the old window and stop the data extremes from
|
|
634
|
+
// being restored (#24386).
|
|
635
|
+
yCropMin = yAxis.userMin ?? (isNumber(yAxis.options.min) ?
|
|
636
|
+
yAxis.options.min : -Number.MAX_VALUE), yCropMax = yAxis.userMax ?? (isNumber(yAxis.options.max) ?
|
|
637
|
+
yAxis.options.max : Number.MAX_VALUE);
|
|
631
638
|
/// if (series.boost) {
|
|
632
639
|
// delete series.boost.pointDataIndices;
|
|
633
640
|
// }
|
|
@@ -667,7 +674,7 @@ function scatterProcessData(force) {
|
|
|
667
674
|
x = xData[i];
|
|
668
675
|
y = yData?.[i];
|
|
669
676
|
if (x >= xMin && x <= xMax &&
|
|
670
|
-
y >=
|
|
677
|
+
y >= yCropMin && y <= yCropMax) {
|
|
671
678
|
processedXData.push(x);
|
|
672
679
|
processedYData.push(y);
|
|
673
680
|
processedDataIndices.push(i);
|
|
@@ -127,7 +127,7 @@ function arc(x, y, w, h, options = {}) {
|
|
|
127
127
|
if (options.open || !options.borderRadius) {
|
|
128
128
|
return path;
|
|
129
129
|
}
|
|
130
|
-
const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(relativeLength(options.borderRadius
|
|
130
|
+
const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(relativeLength(borderRadiusObject(options.borderRadius).radius, r - innerR),
|
|
131
131
|
// Cap to half the sector radius
|
|
132
132
|
(r - innerR) / 2,
|
|
133
133
|
// For smaller pie slices, cap to the largest small circle that
|
|
@@ -153,7 +153,7 @@ function seriesOnAfterColumnTranslate() {
|
|
|
153
153
|
if (this.options.borderRadius &&
|
|
154
154
|
!(this.chart.is3d && this.chart.is3d())) {
|
|
155
155
|
const { options, yAxis } = this, percent = options.stacking === 'percent', seriesDefault = defaultOptions.plotOptions?.[this.type]
|
|
156
|
-
?.borderRadius, borderRadius =
|
|
156
|
+
?.borderRadius, borderRadius = borderRadiusObject(options.borderRadius, isObject(seriesDefault) ? seriesDefault : {}), reversed = yAxis.options.reversed;
|
|
157
157
|
for (const point of this.points) {
|
|
158
158
|
const { shapeArgs } = point;
|
|
159
159
|
if (point.shapeType === 'roundedRect' && shapeArgs) {
|
|
@@ -225,8 +225,12 @@ export function composeBorderRadius(SeriesClass, SVGElementClass, SVGRendererCla
|
|
|
225
225
|
symbols.roundedRect = roundedRect;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
|
-
/**
|
|
229
|
-
|
|
228
|
+
/**
|
|
229
|
+
* Utility function to get the full border radius options object, from a simple
|
|
230
|
+
* number or a partial options object.
|
|
231
|
+
* @internal
|
|
232
|
+
*/
|
|
233
|
+
export function borderRadiusObject(options, seriesBROptions) {
|
|
230
234
|
if (!isObject(options)) {
|
|
231
235
|
options = { radius: options || 0 };
|
|
232
236
|
}
|
|
@@ -234,7 +238,7 @@ export function optionsToObject(options, seriesBROptions) {
|
|
|
234
238
|
}
|
|
235
239
|
/** @internal */
|
|
236
240
|
function pieSeriesOnAfterTranslate() {
|
|
237
|
-
const borderRadius =
|
|
241
|
+
const borderRadius = borderRadiusObject(this.options.borderRadius);
|
|
238
242
|
for (const point of this.points) {
|
|
239
243
|
const shapeArgs = point.shapeArgs;
|
|
240
244
|
if (shapeArgs) {
|
|
@@ -353,7 +357,7 @@ function roundedRect(x, y, width, height, options = {}) {
|
|
|
353
357
|
* Column and pie with rounded border
|
|
354
358
|
*
|
|
355
359
|
* @name Highcharts.BorderRadiusOptionsObject#radius
|
|
356
|
-
* @type {string|number}
|
|
360
|
+
* @type {string|number|undefined}
|
|
357
361
|
*/ /**
|
|
358
362
|
* The scope of the rounding for column charts or plot bands. In a stacked
|
|
359
363
|
* column chart, the value `point` means each single point will get rounded
|
|
@@ -368,8 +372,7 @@ function roundedRect(x, y, width, height, options = {}) {
|
|
|
368
372
|
* Rounded columns
|
|
369
373
|
*
|
|
370
374
|
* @name Highcharts.BorderRadiusOptionsObject#scope
|
|
371
|
-
* @
|
|
372
|
-
* @type {string}
|
|
375
|
+
* @type {"individual"|"point"|"stack"|undefined}
|
|
373
376
|
*/ /**
|
|
374
377
|
* For column charts, where in the point or stack to apply rounding. The `end`
|
|
375
378
|
* value means only those corners at the point value will be rounded, leaving
|
|
@@ -380,8 +383,7 @@ function roundedRect(x, y, width, height, options = {}) {
|
|
|
380
383
|
* Rounding on all corners
|
|
381
384
|
*
|
|
382
385
|
* @name Highcharts.BorderRadiusOptionsObject#where
|
|
383
|
-
* @
|
|
384
|
-
* @type {string}
|
|
386
|
+
* @type {"all"|"end"|undefined}
|
|
385
387
|
* @default end
|
|
386
388
|
*/
|
|
387
389
|
(''); // Keeps doclets above in JS file
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* */
|
|
13
13
|
'use strict';
|
|
14
|
-
import
|
|
15
|
-
const { animObject } = A;
|
|
14
|
+
import { animObject } from '../../Core/Animation/AnimationUtilities.js';
|
|
16
15
|
import DDU from './DragDropUtilities.js';
|
|
17
16
|
const { addEvents, countProps, getFirstProp, getNormalizedEvent } = DDU;
|
|
18
17
|
import DragDropDefaults from './DragDropDefaults.js';
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* */
|
|
13
13
|
'use strict';
|
|
14
|
-
import
|
|
15
|
-
const { animObject, stop } = A;
|
|
14
|
+
import { animObject, stop } from '../../Core/Animation/AnimationUtilities.js';
|
|
16
15
|
import Breadcrumbs from '../Breadcrumbs/Breadcrumbs.js';
|
|
17
16
|
import H from '../../Core/Globals.js';
|
|
18
17
|
const { noop } = H;
|
|
@@ -11,8 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* */
|
|
13
13
|
'use strict';
|
|
14
|
-
import
|
|
15
|
-
const { animObject } = A;
|
|
14
|
+
import { animObject } from '../../Core/Animation/AnimationUtilities.js';
|
|
16
15
|
import { addEvent, extend, fireEvent, isString, merge, splat, syncTimeout } from '../../Shared/Utilities.js';
|
|
17
16
|
/* *
|
|
18
17
|
*
|
|
@@ -580,7 +580,7 @@ var ExportData;
|
|
|
580
580
|
*/
|
|
581
581
|
function getTableAST(useLocalDecimalPoint) {
|
|
582
582
|
let rowLength = 0;
|
|
583
|
-
const treeChildren = [], exporting = this, chart = exporting.chart, options = chart.options, decimalPoint = useLocalDecimalPoint ? (1.1).toLocaleString()[1] :
|
|
583
|
+
const treeChildren = [], exporting = this, chart = exporting.chart, options = chart.options, decimalPoint = useLocalDecimalPoint ? (1.1).toLocaleString()[1] : void 0, useMultiLevelHeaders = pick(exporting.options.useMultiLevelHeaders, true), rows = exporting.getDataRows(useMultiLevelHeaders), topHeaders = useMultiLevelHeaders ? rows.shift() : null, subHeaders = rows.shift(),
|
|
584
584
|
// Compare two rows for equality
|
|
585
585
|
isRowEqual = function (row1, row2) {
|
|
586
586
|
let i = row1.length;
|
|
@@ -980,6 +980,10 @@ export default ExportData;
|
|
|
980
980
|
* API Declarations
|
|
981
981
|
*
|
|
982
982
|
* */
|
|
983
|
+
/**
|
|
984
|
+
* @class
|
|
985
|
+
* @name Highcharts.Exporting
|
|
986
|
+
*/
|
|
983
987
|
/**
|
|
984
988
|
* Function callback to execute while data rows are processed for exporting.
|
|
985
989
|
* This allows the modification of data rows before processed into the final
|
|
@@ -186,8 +186,8 @@ export class Exporting {
|
|
|
186
186
|
}
|
|
187
187
|
/** @internal */
|
|
188
188
|
/**
|
|
189
|
-
* Collects all unique font family names used inline
|
|
190
|
-
*
|
|
189
|
+
* Collects all unique font family names used inline within the root
|
|
190
|
+
* SVG element and its <text> and <tspan> elements by inspecting
|
|
191
191
|
* their style attributes and font-family attributes.
|
|
192
192
|
*
|
|
193
193
|
* @param {SVGSVGElement} svg
|
|
@@ -196,8 +196,11 @@ export class Exporting {
|
|
|
196
196
|
* The set to store and accumulate unique font family names.
|
|
197
197
|
*/
|
|
198
198
|
static collectSVGInlineFonts(svg, usedFontFamilies) {
|
|
199
|
-
|
|
200
|
-
|
|
199
|
+
// Include the root SVG element itself, since the chart-wide
|
|
200
|
+
// `chart.style.fontFamily` is applied there rather than on the
|
|
201
|
+
// individual text nodes (#24722).
|
|
202
|
+
const nodes = [svg, ...Array.from(svg.querySelectorAll('text, tspan'))];
|
|
203
|
+
for (const textNode of nodes) {
|
|
201
204
|
const styleAttr = textNode.getAttribute('style') || '';
|
|
202
205
|
const inlineFontFamily = textNode.getAttribute('font-family') || '';
|
|
203
206
|
if (styleAttr.indexOf('font-family') > -1) {
|
|
@@ -220,18 +223,6 @@ export class Exporting {
|
|
|
220
223
|
return;
|
|
221
224
|
}
|
|
222
225
|
visited.add(href);
|
|
223
|
-
try {
|
|
224
|
-
const sheetOrigin = new URL(href, doc.baseURI).origin;
|
|
225
|
-
if (sheetOrigin !== win.location.origin) {
|
|
226
|
-
// We skip all cross-origin stylesheets on purpose.
|
|
227
|
-
// This prevents DOM SecurityErrors and unhandled network
|
|
228
|
-
// rejections when the browser blocks cssRules access.
|
|
229
|
-
return;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
catch {
|
|
233
|
-
// URL parsing failed, proceed to try/catch
|
|
234
|
-
}
|
|
235
226
|
}
|
|
236
227
|
try {
|
|
237
228
|
for (const rule of Array.from(sheet.cssRules)) {
|
|
@@ -438,6 +429,12 @@ export class Exporting {
|
|
|
438
429
|
static sanitizeSVG(svg,
|
|
439
430
|
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
440
431
|
options) {
|
|
432
|
+
// Remove any HTML added to the container after the SVG, like the
|
|
433
|
+
// Stock Tools GUI wrapper (#894, #9087, #24754)
|
|
434
|
+
const split = svg.lastIndexOf('</svg>');
|
|
435
|
+
if (split > -1) {
|
|
436
|
+
svg = svg.substr(0, split + 6);
|
|
437
|
+
}
|
|
441
438
|
svg = svg
|
|
442
439
|
// Some tags needs to be closed in xhtml (#13726)
|
|
443
440
|
.replace(/(<(?:img|br).*?(?=\>))>/g, '$1 />')
|
|
@@ -1198,6 +1195,7 @@ export class Exporting {
|
|
|
1198
1195
|
* The SVG representation of the rendered chart.
|
|
1199
1196
|
*
|
|
1200
1197
|
* @emits Highcharts.Chart#event:getSVG
|
|
1198
|
+
* @emits Highcharts.Chart#event:afterGetSVG
|
|
1201
1199
|
*
|
|
1202
1200
|
* @requires modules/exporting
|
|
1203
1201
|
*/
|
|
@@ -1316,11 +1314,12 @@ export class Exporting {
|
|
|
1316
1314
|
if (exporting?.options.applyStyleSheets) {
|
|
1317
1315
|
this.applyShadowDOMStyles(chartCopy);
|
|
1318
1316
|
}
|
|
1317
|
+
fireEvent(chart, 'getSVG', { chartCopy });
|
|
1319
1318
|
// Get the SVG from the container's innerHTML
|
|
1320
1319
|
svg = exporting?.getChartHTML(chart.styledMode ||
|
|
1321
1320
|
options?.exporting?.applyStyleSheets) || '';
|
|
1322
|
-
fireEvent(chart, 'getSVG', { chartCopy: chartCopy });
|
|
1323
1321
|
svg = Exporting.sanitizeSVG(svg, options);
|
|
1322
|
+
fireEvent(chart, 'afterGetSVG', { chartCopy, svg });
|
|
1324
1323
|
// Free up memory
|
|
1325
1324
|
options = void 0;
|
|
1326
1325
|
chartCopy.destroy();
|
|
@@ -1373,11 +1372,11 @@ export class Exporting {
|
|
|
1373
1372
|
// getComputedStyle sees them
|
|
1374
1373
|
rootNode?.querySelectorAll('style').forEach((style) => {
|
|
1375
1374
|
const clonedStyle = style.cloneNode(true);
|
|
1376
|
-
chartCopy.
|
|
1375
|
+
chartCopy.renderer.defs.element.appendChild(clonedStyle);
|
|
1377
1376
|
// Store for the later removal
|
|
1378
1377
|
shadowStyles.push(clonedStyle);
|
|
1379
1378
|
});
|
|
1380
|
-
addEvent(chart, '
|
|
1379
|
+
addEvent(chart, 'afterGetSVG', () => {
|
|
1381
1380
|
// Remove temporary Shadow DOM styles
|
|
1382
1381
|
shadowStyles.forEach((style) => {
|
|
1383
1382
|
style.remove();
|
|
@@ -1644,8 +1643,9 @@ export class Exporting {
|
|
|
1644
1643
|
await this.fallbackToServer(exportingOptions, new Error('Image type not supported for this chart/browser.'));
|
|
1645
1644
|
return;
|
|
1646
1645
|
}
|
|
1647
|
-
// Hook into
|
|
1648
|
-
|
|
1646
|
+
// Hook into afterGetSVG to get a copy of the chart copy's container
|
|
1647
|
+
// (#8273)
|
|
1648
|
+
const unbindGetSVG = addEvent(chart, 'afterGetSVG', (e) => {
|
|
1649
1649
|
chartCopyOptions = e.chartCopy.options;
|
|
1650
1650
|
chartCopyContainer =
|
|
1651
1651
|
e.chartCopy.container.cloneNode(true);
|
|
@@ -808,6 +808,38 @@ const navigation = {
|
|
|
808
808
|
* Padding for the button.
|
|
809
809
|
*/
|
|
810
810
|
padding: 5,
|
|
811
|
+
/**
|
|
812
|
+
* Tri-state button styles.
|
|
813
|
+
*
|
|
814
|
+
* @sample highcharts/navigation/buttonoptions-theme/
|
|
815
|
+
* Theming the buttons
|
|
816
|
+
*
|
|
817
|
+
* @apioption navigation.buttonOptions.theme.states
|
|
818
|
+
*/
|
|
819
|
+
/**
|
|
820
|
+
* SVG attributes for the disabled state of the button.
|
|
821
|
+
*
|
|
822
|
+
* @type {Highcharts.SVGAttributes}
|
|
823
|
+
* @apioption navigation.buttonOptions.theme.states.disabled
|
|
824
|
+
*/
|
|
825
|
+
/**
|
|
826
|
+
* SVG attributes for the hovered state of the button.
|
|
827
|
+
*
|
|
828
|
+
* @type {Highcharts.SVGAttributes}
|
|
829
|
+
* @apioption navigation.buttonOptions.theme.states.hover
|
|
830
|
+
*/
|
|
831
|
+
/**
|
|
832
|
+
* SVG attributes for the selected state of the button.
|
|
833
|
+
*
|
|
834
|
+
* @type {Highcharts.SVGAttributes}
|
|
835
|
+
* @apioption navigation.buttonOptions.theme.states.select
|
|
836
|
+
*/
|
|
837
|
+
/**
|
|
838
|
+
* CSS styling for the button's text or symbol.
|
|
839
|
+
*
|
|
840
|
+
* @type {Highcharts.CSSObject}
|
|
841
|
+
* @apioption navigation.buttonOptions.theme.style
|
|
842
|
+
*/
|
|
811
843
|
/**
|
|
812
844
|
* Default stroke for the buttons.
|
|
813
845
|
*
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* */
|
|
15
15
|
'use strict';
|
|
16
|
-
import
|
|
17
|
-
const { animObject } = A;
|
|
16
|
+
import { animObject } from '../../Core/Animation/AnimationUtilities.js';
|
|
18
17
|
import DataTableCore from '../../Data/DataTableCore.js';
|
|
19
18
|
import MarkerClusterDefaults from './MarkerClusterDefaults.js';
|
|
20
19
|
const { cluster: clusterDefaults } = MarkerClusterDefaults;
|
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* */
|
|
15
15
|
'use strict';
|
|
16
|
-
import
|
|
17
|
-
const { animObject } = A;
|
|
16
|
+
import { animObject } from '../../Core/Animation/AnimationUtilities.js';
|
|
18
17
|
import D from '../../Core/Defaults.js';
|
|
19
18
|
const { defaultOptions } = D;
|
|
20
19
|
import H from '../../Core/Globals.js';
|
|
@@ -391,17 +391,44 @@ var OfflineExporting;
|
|
|
391
391
|
// nodes
|
|
392
392
|
titleElements = el.getElementsByTagName('title');
|
|
393
393
|
[].forEach.call(titleElements, function (titleElement) {
|
|
394
|
-
|
|
394
|
+
titleElement.remove();
|
|
395
395
|
});
|
|
396
396
|
// Remove all .highcharts-text-outline elements, #17170
|
|
397
397
|
outlineElements =
|
|
398
398
|
el.getElementsByClassName('highcharts-text-outline');
|
|
399
399
|
while (outlineElements.length > 0) {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
400
|
+
outlineElements[0].remove();
|
|
401
|
+
}
|
|
402
|
+
});
|
|
403
|
+
// Work around jsPDF's missing support for color(srgb r g b) format
|
|
404
|
+
// (#25001)
|
|
405
|
+
const srgbColorRegex = /color\(\s*srgb\s+([\d.]+)[, ]+([\d.]+)[, ]+([\d.]+)(?:\s*\/\s*([\d.]+))?\s*\)/; // eslint-disable-line max-len
|
|
406
|
+
const convertColorSRGBToRGB = (srgbColor) => {
|
|
407
|
+
if (srgbColor?.startsWith('color(srgb')) {
|
|
408
|
+
const rgba = srgbColor.match(srgbColorRegex);
|
|
409
|
+
if (rgba) {
|
|
410
|
+
const toChannel = (value) => Math.round(Math.max(0, Math.min(1, parseFloat(value))) *
|
|
411
|
+
255), toAlpha = (value) => Math.max(0, Math.min(1, parseFloat(value))), r = toChannel(rgba[1]), g = toChannel(rgba[2]), b = toChannel(rgba[3]), alpha = rgba[4];
|
|
412
|
+
if (alpha !== void 0) {
|
|
413
|
+
return `rgba(${r}, ${g}, ${b}, ${toAlpha(alpha)})`;
|
|
414
|
+
}
|
|
415
|
+
return `rgb(${r}, ${g}, ${b})`;
|
|
403
416
|
}
|
|
404
417
|
}
|
|
418
|
+
};
|
|
419
|
+
Array.from(dummySVGContainer.querySelectorAll('*')).forEach((el) => {
|
|
420
|
+
['color', 'fill', 'stop-color', 'stroke'].forEach((prop) => {
|
|
421
|
+
// Handle attributes
|
|
422
|
+
const attrRGB = convertColorSRGBToRGB(el.getAttribute(prop));
|
|
423
|
+
if (attrRGB) {
|
|
424
|
+
el.setAttribute(prop, attrRGB);
|
|
425
|
+
}
|
|
426
|
+
// Handle style properties
|
|
427
|
+
const styleRGB = convertColorSRGBToRGB(el.style?.[prop]);
|
|
428
|
+
if (styleRGB) {
|
|
429
|
+
el.style[prop] = styleRGB;
|
|
430
|
+
}
|
|
431
|
+
});
|
|
405
432
|
});
|
|
406
433
|
return dummySVGContainer.querySelector('svg');
|
|
407
434
|
}
|
|
@@ -26,7 +26,7 @@ const { defaultOptions } = D;
|
|
|
26
26
|
* @sample {highcharts} highcharts/series-solidgauge/pane-borderradius
|
|
27
27
|
* Solid gauge with background settings
|
|
28
28
|
*
|
|
29
|
-
* @type {
|
|
29
|
+
* @type {null|*|Array<*>}
|
|
30
30
|
* @requires highcharts-more
|
|
31
31
|
* @optionparent pane.background
|
|
32
32
|
*/
|
|
@@ -151,6 +151,9 @@ var ParallelCoordinates;
|
|
|
151
151
|
*/
|
|
152
152
|
function onChartUpdate(e) {
|
|
153
153
|
const chart = this, options = e.options;
|
|
154
|
+
if (e.hasChanged === false) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
154
157
|
if (options.chart) {
|
|
155
158
|
if (defined(options.chart.parallelCoordinates)) {
|
|
156
159
|
chart.hasParallelCoordinates =
|
|
@@ -12,8 +12,7 @@
|
|
|
12
12
|
* horizontally on mobile devices. Supports left and right side axes.
|
|
13
13
|
*/
|
|
14
14
|
'use strict';
|
|
15
|
-
import
|
|
16
|
-
const { stop } = A;
|
|
15
|
+
import { stop } from '../Core/Animation/AnimationUtilities.js';
|
|
17
16
|
import H from '../Core/Globals.js';
|
|
18
17
|
const { composed } = H;
|
|
19
18
|
import SVGRenderer from '../Core/Renderer/SVG/SVGRenderer.js';
|
|
@@ -336,6 +335,13 @@ ScrollablePlotArea.fixedSelectors = [
|
|
|
336
335
|
* vertical scrolling, depending on whether the `minWidth` or `minHeight`
|
|
337
336
|
* option is set.
|
|
338
337
|
*
|
|
338
|
+
* **Note:** Because native browser scrollbars are used, they may
|
|
339
|
+
* overlap with fixed chart elements such as credits or the chart
|
|
340
|
+
* border. To avoid this collision, it is recommended to manually add
|
|
341
|
+
* extra space to the corresponding side using `chart.spacingBottom`
|
|
342
|
+
* (for horizontal scrollbars) or `chart.spacingRight` (for vertical
|
|
343
|
+
* scrollbars).
|
|
344
|
+
*
|
|
339
345
|
* @sample highcharts/chart/scrollable-plotarea
|
|
340
346
|
* Scrollable plot area
|
|
341
347
|
* @sample highcharts/chart/scrollable-plotarea-vertical
|
|
@@ -22,8 +22,7 @@
|
|
|
22
22
|
* https://jsfiddle.net/highcharts/y5A37/
|
|
23
23
|
*/
|
|
24
24
|
'use strict';
|
|
25
|
-
import
|
|
26
|
-
const { animObject } = A;
|
|
25
|
+
import { animObject } from '../../Core/Animation/AnimationUtilities.js';
|
|
27
26
|
import T from '../../Core/Templating.js';
|
|
28
27
|
const { format } = T;
|
|
29
28
|
import D from '../../Core/Defaults.js';
|
|
@@ -544,7 +544,7 @@ export default SynthPatch;
|
|
|
544
544
|
* @type {number|undefined}
|
|
545
545
|
*/
|
|
546
546
|
/**
|
|
547
|
-
* @typedef {
|
|
547
|
+
* @typedef {Record<"t"|"vol",number>} Highcharts.SynthEnvelopePoint
|
|
548
548
|
* @requires modules/sonification
|
|
549
549
|
*/
|
|
550
550
|
/**
|
|
@@ -549,4 +549,17 @@ export default GeoJSONComposition;
|
|
|
549
549
|
* Second point's Y of the bounding box.
|
|
550
550
|
* @name Highcharts.MapBounds#y2
|
|
551
551
|
*/
|
|
552
|
-
|
|
552
|
+
/**
|
|
553
|
+
* A latitude/longitude object.
|
|
554
|
+
*
|
|
555
|
+
* @interface Highcharts.MapLonLatObject
|
|
556
|
+
*/ /**
|
|
557
|
+
* The latitude.
|
|
558
|
+
* @name Highcharts.MapLonLatObject#lat
|
|
559
|
+
* @type {number}
|
|
560
|
+
*/ /**
|
|
561
|
+
* The longitude.
|
|
562
|
+
* @name Highcharts.MapLonLatObject#lon
|
|
563
|
+
* @type {number}
|
|
564
|
+
*/
|
|
565
|
+
''; // Keep doclets above
|
|
@@ -207,7 +207,7 @@ class MapView {
|
|
|
207
207
|
* The current center of the view in terms of `[longitude, latitude]`.
|
|
208
208
|
* @name Highcharts.MapView#center
|
|
209
209
|
* @readonly
|
|
210
|
-
* @type {LonLatArray}
|
|
210
|
+
* @type {Highcharts.LonLatArray}
|
|
211
211
|
*/
|
|
212
212
|
this.center = o.center;
|
|
213
213
|
this.options = o;
|