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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts JS v13.0.
|
|
3
|
+
* @license Highcharts JS v13.0.1 (2026-08-17)
|
|
4
4
|
* @module highcharts/modules/navigator
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
*/
|
|
15
15
|
import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../highcharts.src.js";
|
|
16
16
|
/******/ // The require scope
|
|
17
|
-
/******/
|
|
17
|
+
/******/ const __webpack_require__ = {};
|
|
18
18
|
/******/
|
|
19
19
|
/************************************************************************/
|
|
20
20
|
/******/ /* webpack/runtime/compat get default export */
|
|
21
21
|
/******/ (() => {
|
|
22
22
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
23
23
|
/******/ __webpack_require__.n = (module) => {
|
|
24
|
-
/******/
|
|
24
|
+
/******/ const getter = module && module.__esModule ?
|
|
25
25
|
/******/ () => (module['default']) :
|
|
26
26
|
/******/ () => (module);
|
|
27
27
|
/******/ __webpack_require__.d(getter, { a: getter });
|
|
@@ -31,11 +31,26 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
31
31
|
/******/
|
|
32
32
|
/******/ /* webpack/runtime/define property getters */
|
|
33
33
|
/******/ (() => {
|
|
34
|
-
/******/ // define getter functions for harmony exports
|
|
34
|
+
/******/ // define getter/value functions for harmony exports
|
|
35
35
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|
36
|
-
/******/
|
|
37
|
-
/******/
|
|
38
|
-
/******/
|
|
36
|
+
/******/ if(Array.isArray(definition)) {
|
|
37
|
+
/******/ var i = 0;
|
|
38
|
+
/******/ while(i < definition.length) {
|
|
39
|
+
/******/ var key = definition[i++];
|
|
40
|
+
/******/ var binding = definition[i++];
|
|
41
|
+
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
42
|
+
/******/ if(binding === 0) {
|
|
43
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
44
|
+
/******/ } else {
|
|
45
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
46
|
+
/******/ }
|
|
47
|
+
/******/ } else if(binding === 0) { i++; }
|
|
48
|
+
/******/ }
|
|
49
|
+
/******/ } else {
|
|
50
|
+
/******/ for(var key in definition) {
|
|
51
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
52
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
53
|
+
/******/ }
|
|
39
54
|
/******/ }
|
|
40
55
|
/******/ }
|
|
41
56
|
/******/ };
|
|
@@ -47,7 +62,6 @@ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../hig
|
|
|
47
62
|
/******/ })();
|
|
48
63
|
/******/
|
|
49
64
|
/************************************************************************/
|
|
50
|
-
var __webpack_exports__ = {};
|
|
51
65
|
|
|
52
66
|
;// external ["../highcharts.src.js","default"]
|
|
53
67
|
const external_highcharts_src_js_default_namespaceObject = __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__["default"];
|
|
@@ -585,7 +599,7 @@ const NavigatorDefaults = {
|
|
|
585
599
|
*
|
|
586
600
|
* @type {Highcharts.ColorType}
|
|
587
601
|
*/
|
|
588
|
-
maskFill: 'color-mix(var(--highcharts-highlight-color-60) 30%, transparent)',
|
|
602
|
+
maskFill: 'color-mix(in srgb, var(--highcharts-highlight-color-60) 30%, transparent)', // eslint-disable-line max-len
|
|
589
603
|
/**
|
|
590
604
|
* The color of the line marking the currently zoomed area in the
|
|
591
605
|
* navigator.
|
|
@@ -724,11 +738,18 @@ const NavigatorDefaults = {
|
|
|
724
738
|
id: 'highcharts-navigator-series',
|
|
725
739
|
className: 'highcharts-navigator-series',
|
|
726
740
|
/**
|
|
727
|
-
* Sets the
|
|
741
|
+
* Sets the color of the navigator series.
|
|
728
742
|
*
|
|
729
743
|
* @type {Highcharts.ColorType}
|
|
730
744
|
* @apioption navigator.series.color
|
|
731
745
|
*/
|
|
746
|
+
/**
|
|
747
|
+
* Sets the fill color of the navigator series. Applies to series
|
|
748
|
+
* types with a filled area, like the default `areaspline`.
|
|
749
|
+
*
|
|
750
|
+
* @type {Highcharts.ColorType}
|
|
751
|
+
* @apioption navigator.series.fillColor
|
|
752
|
+
*/
|
|
732
753
|
/**
|
|
733
754
|
* Line color for the navigator series. Allows setting the color
|
|
734
755
|
* while disallowing the default candlestick setting.
|
|
@@ -913,6 +934,401 @@ const NavigatorDefaults = {
|
|
|
913
934
|
*/
|
|
914
935
|
(''); // Keeps doclets above in JS file
|
|
915
936
|
|
|
937
|
+
;// ./code/es-modules/Extensions/BorderRadius.js
|
|
938
|
+
/* unused harmony import specifier */ var relativeLength;
|
|
939
|
+
/* unused harmony import specifier */ var isObject;
|
|
940
|
+
/* unused harmony import specifier */ var extend;
|
|
941
|
+
/* unused harmony import specifier */ var addEvent;
|
|
942
|
+
/* *
|
|
943
|
+
*
|
|
944
|
+
* Highcharts Border Radius module
|
|
945
|
+
*
|
|
946
|
+
* Author: Torstein Hønsi
|
|
947
|
+
*
|
|
948
|
+
* Integration of this software requires a license.
|
|
949
|
+
* - For commercial use, see www.highcharts.com/license
|
|
950
|
+
* - For non-commercial, see www.highcharts.com/license-eula
|
|
951
|
+
*
|
|
952
|
+
*
|
|
953
|
+
* */
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
const { defaultOptions } = (external_highcharts_src_js_default_default());
|
|
957
|
+
|
|
958
|
+
const { noop } = (external_highcharts_src_js_default_default());
|
|
959
|
+
|
|
960
|
+
/* *
|
|
961
|
+
*
|
|
962
|
+
* Constants
|
|
963
|
+
*
|
|
964
|
+
* */
|
|
965
|
+
const defaultBorderRadiusOptions = {
|
|
966
|
+
radius: 0,
|
|
967
|
+
scope: 'stack',
|
|
968
|
+
where: void 0
|
|
969
|
+
};
|
|
970
|
+
/* *
|
|
971
|
+
*
|
|
972
|
+
* Variables
|
|
973
|
+
*
|
|
974
|
+
* */
|
|
975
|
+
let oldArc = (/* unused pure expression or super */ null && (noop));
|
|
976
|
+
let oldRoundedRect = (/* unused pure expression or super */ null && (noop));
|
|
977
|
+
/* *
|
|
978
|
+
*
|
|
979
|
+
* Functions
|
|
980
|
+
*
|
|
981
|
+
* */
|
|
982
|
+
/** @internal */
|
|
983
|
+
function applyBorderRadius(path, i, r) {
|
|
984
|
+
const a = path[i];
|
|
985
|
+
let b = path[i + 1];
|
|
986
|
+
if (b[0] === 'Z') {
|
|
987
|
+
b = path[0];
|
|
988
|
+
}
|
|
989
|
+
let line, arc, fromLineToArc;
|
|
990
|
+
// From straight line to arc
|
|
991
|
+
if ((a[0] === 'M' || a[0] === 'L') && b[0] === 'A') {
|
|
992
|
+
line = a;
|
|
993
|
+
arc = b;
|
|
994
|
+
fromLineToArc = true;
|
|
995
|
+
// From arc to straight line
|
|
996
|
+
}
|
|
997
|
+
else if (a[0] === 'A' && (b[0] === 'M' || b[0] === 'L')) {
|
|
998
|
+
line = b;
|
|
999
|
+
arc = a;
|
|
1000
|
+
}
|
|
1001
|
+
if (line && arc && arc.params) {
|
|
1002
|
+
const bigR = arc[1],
|
|
1003
|
+
// In our use cases, outer pie slice arcs are clockwise and inner
|
|
1004
|
+
// arcs (donut/sunburst etc) are anti-clockwise
|
|
1005
|
+
clockwise = arc[5], params = arc.params, { start, end, cx, cy } = params;
|
|
1006
|
+
// Some geometric constants
|
|
1007
|
+
const relativeR = clockwise ? (bigR - r) : (bigR + r),
|
|
1008
|
+
// The angle, on the big arc, that the border radius arc takes up
|
|
1009
|
+
angleOfBorderRadius = relativeR ? Math.asin(r / relativeR) : 0, angleOffset = clockwise ?
|
|
1010
|
+
angleOfBorderRadius :
|
|
1011
|
+
-angleOfBorderRadius,
|
|
1012
|
+
// The distance along the radius of the big arc to the starting
|
|
1013
|
+
// point of the small border radius arc
|
|
1014
|
+
distanceBigCenterToStartArc = (Math.cos(angleOfBorderRadius) *
|
|
1015
|
+
relativeR);
|
|
1016
|
+
// From line to arc
|
|
1017
|
+
if (fromLineToArc) {
|
|
1018
|
+
// Update the cache
|
|
1019
|
+
params.start = start + angleOffset;
|
|
1020
|
+
// First move to the start position at the radial line. We want to
|
|
1021
|
+
// start one borderRadius closer to the center.
|
|
1022
|
+
line[1] = cx + distanceBigCenterToStartArc * Math.cos(start);
|
|
1023
|
+
line[2] = cy + distanceBigCenterToStartArc * Math.sin(start);
|
|
1024
|
+
// Now draw an arc towards the point where the small circle touches
|
|
1025
|
+
// the great circle.
|
|
1026
|
+
path.splice(i + 1, 0, [
|
|
1027
|
+
'A',
|
|
1028
|
+
r,
|
|
1029
|
+
r,
|
|
1030
|
+
0, // Slanting,
|
|
1031
|
+
0, // Long arc
|
|
1032
|
+
1, // Clockwise
|
|
1033
|
+
cx + bigR * Math.cos(params.start),
|
|
1034
|
+
cy + bigR * Math.sin(params.start)
|
|
1035
|
+
]);
|
|
1036
|
+
// From arc to line
|
|
1037
|
+
}
|
|
1038
|
+
else {
|
|
1039
|
+
// Update the cache
|
|
1040
|
+
params.end = end - angleOffset;
|
|
1041
|
+
// End the big arc a bit earlier
|
|
1042
|
+
arc[6] = cx + bigR * Math.cos(params.end);
|
|
1043
|
+
arc[7] = cy + bigR * Math.sin(params.end);
|
|
1044
|
+
// Draw a small arc towards a point on the end angle, but one
|
|
1045
|
+
// borderRadius closer to the center relative to the perimeter.
|
|
1046
|
+
path.splice(i + 1, 0, [
|
|
1047
|
+
'A',
|
|
1048
|
+
r,
|
|
1049
|
+
r,
|
|
1050
|
+
0,
|
|
1051
|
+
0,
|
|
1052
|
+
1,
|
|
1053
|
+
cx + distanceBigCenterToStartArc * Math.cos(end),
|
|
1054
|
+
cy + distanceBigCenterToStartArc * Math.sin(end)
|
|
1055
|
+
]);
|
|
1056
|
+
}
|
|
1057
|
+
// Long or short arc must be reconsidered because we have modified the
|
|
1058
|
+
// start and end points
|
|
1059
|
+
arc[4] = Math.abs(params.end - params.start) < Math.PI ? 0 : 1;
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
/**
|
|
1063
|
+
* Extend arc with borderRadius.
|
|
1064
|
+
* @internal
|
|
1065
|
+
*/
|
|
1066
|
+
function arc(x, y, w, h, options = {}) {
|
|
1067
|
+
const path = oldArc(x, y, w, h, options), { brStart = true, brEnd = true, innerR = 0, r = w, start = 0, end = 0 } = options;
|
|
1068
|
+
if (options.open || !options.borderRadius) {
|
|
1069
|
+
return path;
|
|
1070
|
+
}
|
|
1071
|
+
const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(relativeLength(borderRadiusObject(options.borderRadius).radius, r - innerR),
|
|
1072
|
+
// Cap to half the sector radius
|
|
1073
|
+
(r - innerR) / 2,
|
|
1074
|
+
// For smaller pie slices, cap to the largest small circle that
|
|
1075
|
+
// can be fitted within the sector
|
|
1076
|
+
(r * sinHalfAlpha) / (1 + sinHalfAlpha)), 0),
|
|
1077
|
+
// For the inner radius, we need an extra cap because the inner arc
|
|
1078
|
+
// is shorter than the outer arc
|
|
1079
|
+
innerBorderRadius = Math.min(borderRadius, 2 * (alpha / Math.PI) * innerR);
|
|
1080
|
+
// Apply turn-by-turn border radius. Start at the end since we're
|
|
1081
|
+
// splicing in arc segments.
|
|
1082
|
+
let i = path.length - 1;
|
|
1083
|
+
while (i--) {
|
|
1084
|
+
if ((!brStart && (i === 0 || i === 3)) ||
|
|
1085
|
+
(!brEnd && (i === 1 || i === 2))) {
|
|
1086
|
+
continue;
|
|
1087
|
+
}
|
|
1088
|
+
applyBorderRadius(path, i, i > 1 ? innerBorderRadius : borderRadius);
|
|
1089
|
+
}
|
|
1090
|
+
return path;
|
|
1091
|
+
}
|
|
1092
|
+
/** @internal */
|
|
1093
|
+
function seriesOnAfterColumnTranslate() {
|
|
1094
|
+
if (this.options.borderRadius &&
|
|
1095
|
+
!(this.chart.is3d && this.chart.is3d())) {
|
|
1096
|
+
const { options, yAxis } = this, percent = options.stacking === 'percent', seriesDefault = defaultOptions.plotOptions?.[this.type]
|
|
1097
|
+
?.borderRadius, borderRadius = borderRadiusObject(options.borderRadius, isObject(seriesDefault) ? seriesDefault : {}), reversed = yAxis.options.reversed;
|
|
1098
|
+
for (const point of this.points) {
|
|
1099
|
+
const { shapeArgs } = point;
|
|
1100
|
+
if (point.shapeType === 'roundedRect' && shapeArgs) {
|
|
1101
|
+
const { width = 0, height = 0, y = 0 } = shapeArgs;
|
|
1102
|
+
let brBoxY = y, brBoxHeight = height;
|
|
1103
|
+
// It would be nice to refactor StackItem.getStackBox/
|
|
1104
|
+
// setOffset so that we could get a reliable box out of
|
|
1105
|
+
// it. Currently it is close if we remove the label
|
|
1106
|
+
// offset, but we still need to run crispCol and also
|
|
1107
|
+
// flip it if inverted, so atm it is simpler to do it
|
|
1108
|
+
// like the below.
|
|
1109
|
+
if (borderRadius.scope === 'stack' &&
|
|
1110
|
+
point.stackTotal) {
|
|
1111
|
+
const stackEnd = yAxis.translate(percent ? 100 : point.stackTotal, false, true, false, true), stackThreshold = yAxis.translate(options.threshold || 0, false, true, false, true), box = this.crispCol(0, Math.min(stackEnd, stackThreshold), 0, Math.abs(stackEnd - stackThreshold));
|
|
1112
|
+
brBoxY = box.y;
|
|
1113
|
+
brBoxHeight = box.height;
|
|
1114
|
+
}
|
|
1115
|
+
const flip = (point.negative ? -1 : 1) *
|
|
1116
|
+
(reversed ? -1 : 1) === -1;
|
|
1117
|
+
// Handle the where option
|
|
1118
|
+
let where = borderRadius.where;
|
|
1119
|
+
// Waterfall, hanging columns should have rounding on
|
|
1120
|
+
// all sides
|
|
1121
|
+
if (!where &&
|
|
1122
|
+
this.is('waterfall') &&
|
|
1123
|
+
Math.abs((point.yBottom || 0) -
|
|
1124
|
+
(this.translatedThreshold || 0)) > this.borderWidth) {
|
|
1125
|
+
where = 'all';
|
|
1126
|
+
}
|
|
1127
|
+
if (!where) {
|
|
1128
|
+
where = 'end';
|
|
1129
|
+
}
|
|
1130
|
+
// Get the radius
|
|
1131
|
+
const r = Math.min(relativeLength(borderRadius.radius, width), width / 2,
|
|
1132
|
+
// Cap to the height, but not if where is `end`
|
|
1133
|
+
where === 'all' ? brBoxHeight / 2 : Infinity) || 0;
|
|
1134
|
+
// If the `where` option is 'end', cut off the
|
|
1135
|
+
// rectangles by making the border-radius box one r
|
|
1136
|
+
// greater, so that the imaginary radius falls outside
|
|
1137
|
+
// the rectangle.
|
|
1138
|
+
if (where === 'end') {
|
|
1139
|
+
if (flip) {
|
|
1140
|
+
brBoxY -= r;
|
|
1141
|
+
brBoxHeight += r;
|
|
1142
|
+
}
|
|
1143
|
+
else {
|
|
1144
|
+
brBoxHeight += r;
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
extend(shapeArgs, { brBoxHeight, brBoxY, r });
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
/** @internal */
|
|
1153
|
+
function composeBorderRadius(SeriesClass, SVGElementClass, SVGRendererClass) {
|
|
1154
|
+
const PieSeriesClass = SeriesClass.types.pie;
|
|
1155
|
+
if (!SVGElementClass.symbolCustomAttribs.includes('borderRadius')) {
|
|
1156
|
+
const symbols = SVGRendererClass.prototype.symbols;
|
|
1157
|
+
addEvent(SeriesClass, 'afterColumnTranslate', seriesOnAfterColumnTranslate, {
|
|
1158
|
+
// After columnrange and polar column modifications
|
|
1159
|
+
order: 9
|
|
1160
|
+
});
|
|
1161
|
+
addEvent(PieSeriesClass, 'afterTranslate', pieSeriesOnAfterTranslate);
|
|
1162
|
+
SVGElementClass.symbolCustomAttribs.push('borderRadius', 'brBoxHeight', 'brBoxY', 'brEnd', 'brStart');
|
|
1163
|
+
oldArc = symbols.arc;
|
|
1164
|
+
oldRoundedRect = symbols.roundedRect;
|
|
1165
|
+
symbols.arc = arc;
|
|
1166
|
+
symbols.roundedRect = roundedRect;
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
/**
|
|
1170
|
+
* Utility function to get the full border radius options object, from a simple
|
|
1171
|
+
* number or a partial options object.
|
|
1172
|
+
* @internal
|
|
1173
|
+
*/
|
|
1174
|
+
function borderRadiusObject(options, seriesBROptions) {
|
|
1175
|
+
if (!(0,external_highcharts_src_js_default_namespaceObject.isObject)(options)) {
|
|
1176
|
+
options = { radius: options || 0 };
|
|
1177
|
+
}
|
|
1178
|
+
return (0,external_highcharts_src_js_default_namespaceObject.merge)(defaultBorderRadiusOptions, seriesBROptions, options);
|
|
1179
|
+
}
|
|
1180
|
+
/** @internal */
|
|
1181
|
+
function pieSeriesOnAfterTranslate() {
|
|
1182
|
+
const borderRadius = borderRadiusObject(this.options.borderRadius);
|
|
1183
|
+
for (const point of this.points) {
|
|
1184
|
+
const shapeArgs = point.shapeArgs;
|
|
1185
|
+
if (shapeArgs) {
|
|
1186
|
+
shapeArgs.borderRadius = relativeLength(borderRadius.radius, (shapeArgs.r || 0) - ((shapeArgs.innerR) || 0));
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
}
|
|
1190
|
+
/**
|
|
1191
|
+
* Extend roundedRect with individual cutting through rOffset.
|
|
1192
|
+
* @internal
|
|
1193
|
+
*/
|
|
1194
|
+
function roundedRect(x, y, width, height, options = {}) {
|
|
1195
|
+
const path = oldRoundedRect(x, y, width, height, options), { r = 0, brBoxHeight = height, brBoxY = y } = options, brOffsetTop = y - brBoxY, brOffsetBtm = (brBoxY + brBoxHeight) - (y + height),
|
|
1196
|
+
// When the distance to the border-radius box is greater than the r
|
|
1197
|
+
// itself, it means no border radius. The -0.1 accounts for float
|
|
1198
|
+
// rounding errors.
|
|
1199
|
+
rTop = (brOffsetTop - r) > -0.1 ? 0 : r, rBtm = (brOffsetBtm - r) > -0.1 ? 0 : r, cutTop = Math.max(rTop && brOffsetTop, 0), cutBtm = Math.max(rBtm && brOffsetBtm, 0);
|
|
1200
|
+
/*
|
|
1201
|
+
|
|
1202
|
+
The naming of control points:
|
|
1203
|
+
|
|
1204
|
+
/ a -------- b \
|
|
1205
|
+
/ \
|
|
1206
|
+
h c
|
|
1207
|
+
| |
|
|
1208
|
+
| |
|
|
1209
|
+
| |
|
|
1210
|
+
g d
|
|
1211
|
+
\ /
|
|
1212
|
+
\ f -------- e /
|
|
1213
|
+
|
|
1214
|
+
*/
|
|
1215
|
+
const a = [x + rTop, y], b = [x + width - rTop, y], c = [x + width, y + rTop], d = [
|
|
1216
|
+
x + width, y + height - rBtm
|
|
1217
|
+
], e = [
|
|
1218
|
+
x + width - rBtm,
|
|
1219
|
+
y + height
|
|
1220
|
+
], f = [x + rBtm, y + height], g = [x, y + height - rBtm], h = [x, y + rTop];
|
|
1221
|
+
const applyPythagoras = (r, altitude) => Math.sqrt(Math.pow(r, 2) - Math.pow(altitude, 2));
|
|
1222
|
+
// Inside stacks, cut off part of the top
|
|
1223
|
+
if (cutTop) {
|
|
1224
|
+
const base = applyPythagoras(rTop, rTop - cutTop);
|
|
1225
|
+
a[0] -= base;
|
|
1226
|
+
b[0] += base;
|
|
1227
|
+
c[1] = h[1] = y + rTop - cutTop;
|
|
1228
|
+
}
|
|
1229
|
+
// Column is lower than the radius. Cut off bottom inside the top
|
|
1230
|
+
// radius.
|
|
1231
|
+
if (height < rTop - cutTop) {
|
|
1232
|
+
const base = applyPythagoras(rTop, rTop - cutTop - height);
|
|
1233
|
+
c[0] = d[0] = x + width - rTop + base;
|
|
1234
|
+
e[0] = Math.min(c[0], e[0]);
|
|
1235
|
+
f[0] = Math.max(d[0], f[0]);
|
|
1236
|
+
g[0] = h[0] = x + rTop - base;
|
|
1237
|
+
c[1] = h[1] = y + height;
|
|
1238
|
+
}
|
|
1239
|
+
// Inside stacks, cut off part of the bottom
|
|
1240
|
+
if (cutBtm) {
|
|
1241
|
+
const base = applyPythagoras(rBtm, rBtm - cutBtm);
|
|
1242
|
+
e[0] += base;
|
|
1243
|
+
f[0] -= base;
|
|
1244
|
+
d[1] = g[1] = y + height - rBtm + cutBtm;
|
|
1245
|
+
}
|
|
1246
|
+
// Cut off top inside the bottom radius
|
|
1247
|
+
if (height < rBtm - cutBtm) {
|
|
1248
|
+
const base = applyPythagoras(rBtm, rBtm - cutBtm - height);
|
|
1249
|
+
c[0] = d[0] = x + width - rBtm + base;
|
|
1250
|
+
b[0] = Math.min(c[0], b[0]);
|
|
1251
|
+
a[0] = Math.max(d[0], a[0]);
|
|
1252
|
+
g[0] = h[0] = x + rBtm - base;
|
|
1253
|
+
d[1] = g[1] = y;
|
|
1254
|
+
}
|
|
1255
|
+
// Preserve the box for data labels
|
|
1256
|
+
path.length = 0;
|
|
1257
|
+
path.push(['M', ...a],
|
|
1258
|
+
// Top side
|
|
1259
|
+
['L', ...b],
|
|
1260
|
+
// Top right corner
|
|
1261
|
+
['A', rTop, rTop, 0, 0, 1, ...c],
|
|
1262
|
+
// Right side
|
|
1263
|
+
['L', ...d],
|
|
1264
|
+
// Bottom right corner
|
|
1265
|
+
['A', rBtm, rBtm, 0, 0, 1, ...e],
|
|
1266
|
+
// Bottom side
|
|
1267
|
+
['L', ...f],
|
|
1268
|
+
// Bottom left corner
|
|
1269
|
+
['A', rBtm, rBtm, 0, 0, 1, ...g],
|
|
1270
|
+
// Left side
|
|
1271
|
+
['L', ...h],
|
|
1272
|
+
// Top left corner
|
|
1273
|
+
['A', rTop, rTop, 0, 0, 1, ...a], ['Z']);
|
|
1274
|
+
return path;
|
|
1275
|
+
}
|
|
1276
|
+
/* *
|
|
1277
|
+
*
|
|
1278
|
+
* API Declarations
|
|
1279
|
+
*
|
|
1280
|
+
* */
|
|
1281
|
+
/**
|
|
1282
|
+
* Detailed options for border radius.
|
|
1283
|
+
*
|
|
1284
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
1285
|
+
* Rounded columns
|
|
1286
|
+
* @sample highcharts/plotoptions/series-border-radius
|
|
1287
|
+
* Column and pie with rounded border
|
|
1288
|
+
*
|
|
1289
|
+
* @interface Highcharts.BorderRadiusOptionsObject
|
|
1290
|
+
*/ /**
|
|
1291
|
+
* The border radius. A number signifies pixels. A percentage string, like for
|
|
1292
|
+
* example `50%`, signifies a relative size. For columns this is relative to the
|
|
1293
|
+
* column width, for pies it is relative to the radius and the inner radius.
|
|
1294
|
+
*
|
|
1295
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
1296
|
+
* Rounded columns
|
|
1297
|
+
* @sample highcharts/plotoptions/series-border-radius
|
|
1298
|
+
* Column and pie with rounded border
|
|
1299
|
+
*
|
|
1300
|
+
* @name Highcharts.BorderRadiusOptionsObject#radius
|
|
1301
|
+
* @type {string|number|undefined}
|
|
1302
|
+
*/ /**
|
|
1303
|
+
* The scope of the rounding for column charts or plot bands. In a stacked
|
|
1304
|
+
* column chart, the value `point` means each single point will get rounded
|
|
1305
|
+
* corners. The value `stack` means the rounding will apply to the full
|
|
1306
|
+
* stack, so that only points close to the top or bottom will receive
|
|
1307
|
+
* rounding.
|
|
1308
|
+
*
|
|
1309
|
+
* Similarly, for plot bands, the `individual` value means each plot band
|
|
1310
|
+
* will get rounded corners.
|
|
1311
|
+
*
|
|
1312
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
1313
|
+
* Rounded columns
|
|
1314
|
+
*
|
|
1315
|
+
* @name Highcharts.BorderRadiusOptionsObject#scope
|
|
1316
|
+
* @type {"individual"|"point"|"stack"|undefined}
|
|
1317
|
+
*/ /**
|
|
1318
|
+
* For column charts, where in the point or stack to apply rounding. The `end`
|
|
1319
|
+
* value means only those corners at the point value will be rounded, leaving
|
|
1320
|
+
* the corners at the base or threshold unrounded. This is the most intuitive
|
|
1321
|
+
* behavior. The `all` value means also the base will be rounded.
|
|
1322
|
+
*
|
|
1323
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius-where-all
|
|
1324
|
+
* Rounding on all corners
|
|
1325
|
+
*
|
|
1326
|
+
* @name Highcharts.BorderRadiusOptionsObject#where
|
|
1327
|
+
* @type {"all"|"end"|undefined}
|
|
1328
|
+
* @default end
|
|
1329
|
+
*/
|
|
1330
|
+
(''); // Keeps doclets above in JS file
|
|
1331
|
+
|
|
916
1332
|
;// ./code/es-modules/Core/Renderer/SVG/Symbols.js
|
|
917
1333
|
/* *
|
|
918
1334
|
*
|
|
@@ -949,7 +1365,7 @@ const NavigatorDefaults = {
|
|
|
949
1365
|
* @return {Highcharts.SVGPathArray}
|
|
950
1366
|
* Path
|
|
951
1367
|
*/
|
|
952
|
-
function
|
|
1368
|
+
function Symbols_arc(cx, cy, w, h, options) {
|
|
953
1369
|
const arc = [];
|
|
954
1370
|
if (options) {
|
|
955
1371
|
let start = options.start || 0, end = options.end || 0;
|
|
@@ -1037,7 +1453,7 @@ function arc(cx, cy, w, h, options) {
|
|
|
1037
1453
|
*/
|
|
1038
1454
|
function callout(x, y, w, h, options) {
|
|
1039
1455
|
const arrowLength = 6, halfDistance = 6, r = Math.min((options?.r) || 0, w, h), safeDistance = r + halfDistance, anchorX = options?.anchorX, anchorY = options?.anchorY || 0;
|
|
1040
|
-
const path =
|
|
1456
|
+
const path = Symbols_roundedRect(x, y, w, h, { r });
|
|
1041
1457
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(anchorX)) {
|
|
1042
1458
|
return path;
|
|
1043
1459
|
}
|
|
@@ -1109,7 +1525,7 @@ function callout(x, y, w, h, options) {
|
|
|
1109
1525
|
*/
|
|
1110
1526
|
function circle(x, y, w, h) {
|
|
1111
1527
|
// Return a full arc
|
|
1112
|
-
return
|
|
1528
|
+
return Symbols_arc(x + w / 2, y + h / 2, w / 2, h / 2, {
|
|
1113
1529
|
start: Math.PI * 0.5,
|
|
1114
1530
|
end: Math.PI * 2.5,
|
|
1115
1531
|
open: false
|
|
@@ -1157,7 +1573,7 @@ function diamond(x, y, w, h) {
|
|
|
1157
1573
|
*/
|
|
1158
1574
|
function rect(x, y, w, h, options) {
|
|
1159
1575
|
if (options?.r) {
|
|
1160
|
-
return
|
|
1576
|
+
return Symbols_roundedRect(x, y, w, h, options);
|
|
1161
1577
|
}
|
|
1162
1578
|
return [
|
|
1163
1579
|
['M', x, y],
|
|
@@ -1183,7 +1599,7 @@ function rect(x, y, w, h, options) {
|
|
|
1183
1599
|
* @return {Highcharts.SVGPathArray}
|
|
1184
1600
|
* Path
|
|
1185
1601
|
*/
|
|
1186
|
-
function
|
|
1602
|
+
function Symbols_roundedRect(x, y, w, h, options) {
|
|
1187
1603
|
const r = options?.r || 0;
|
|
1188
1604
|
return [
|
|
1189
1605
|
['M', x + r, y],
|
|
@@ -1259,7 +1675,7 @@ const Symbols = {
|
|
|
1259
1675
|
* @return {Highcharts.SVGPathArray}
|
|
1260
1676
|
* Path
|
|
1261
1677
|
*/
|
|
1262
|
-
arc,
|
|
1678
|
+
arc: Symbols_arc,
|
|
1263
1679
|
/**
|
|
1264
1680
|
* Callout shape used for default tooltips.
|
|
1265
1681
|
*
|
|
@@ -1340,7 +1756,7 @@ const Symbols = {
|
|
|
1340
1756
|
* @return {Highcharts.SVGPathArray}
|
|
1341
1757
|
* Path
|
|
1342
1758
|
*/
|
|
1343
|
-
roundedRect,
|
|
1759
|
+
roundedRect: Symbols_roundedRect,
|
|
1344
1760
|
/**
|
|
1345
1761
|
* Rect symbol path.
|
|
1346
1762
|
*
|
|
@@ -1465,6 +1881,7 @@ const Symbols = {
|
|
|
1465
1881
|
|
|
1466
1882
|
|
|
1467
1883
|
|
|
1884
|
+
|
|
1468
1885
|
/* *
|
|
1469
1886
|
*
|
|
1470
1887
|
* Constants
|
|
@@ -1475,7 +1892,7 @@ const Symbols = {
|
|
|
1475
1892
|
* @internal
|
|
1476
1893
|
*/
|
|
1477
1894
|
function navigatorHandle(_x, _y, width, height, options = {}) {
|
|
1478
|
-
const halfWidth = options.width ? options.width / 2 : width, markerPosition = 1.5, r = (0,external_highcharts_src_js_default_namespaceObject.relativeLength)(options.borderRadius
|
|
1895
|
+
const halfWidth = options.width ? options.width / 2 : width, markerPosition = 1.5, r = (0,external_highcharts_src_js_default_namespaceObject.relativeLength)(borderRadiusObject(options.borderRadius).radius, Math.min(halfWidth * 2, height));
|
|
1479
1896
|
height = options.height || height;
|
|
1480
1897
|
return [
|
|
1481
1898
|
['M', -markerPosition, height / 2 - 3.5],
|
|
@@ -1560,7 +1977,7 @@ const StockUtilities = {
|
|
|
1560
1977
|
* */
|
|
1561
1978
|
|
|
1562
1979
|
|
|
1563
|
-
const { defaultOptions } = (external_highcharts_src_js_default_default());
|
|
1980
|
+
const { defaultOptions: NavigatorComposition_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
1564
1981
|
|
|
1565
1982
|
const { composed } = (external_highcharts_src_js_default_default());
|
|
1566
1983
|
|
|
@@ -1586,7 +2003,7 @@ function NavigatorComposition_compose(ChartClass, AxisClass, SeriesClass) {
|
|
|
1586
2003
|
if ((0,external_highcharts_src_js_default_namespaceObject.pushUnique)(composed, 'Navigator')) {
|
|
1587
2004
|
ChartClass.prototype.setFixedRange = NavigatorComposition_setFixedRange;
|
|
1588
2005
|
(0,external_highcharts_src_js_default_namespaceObject.extend)((external_highcharts_src_js_default_SVGRenderer_default()).prototype.symbols, Navigator_NavigatorSymbols);
|
|
1589
|
-
(0,external_highcharts_src_js_default_namespaceObject.extend)(
|
|
2006
|
+
(0,external_highcharts_src_js_default_namespaceObject.extend)(NavigatorComposition_defaultOptions, { navigator: Navigator_NavigatorDefaults });
|
|
1590
2007
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(SeriesClass, 'afterUpdate', onSeriesAfterUpdate);
|
|
1591
2008
|
}
|
|
1592
2009
|
}
|
|
@@ -4408,7 +4825,7 @@ class StandaloneNavigator {
|
|
|
4408
4825
|
if (!(axis instanceof (external_highcharts_src_js_default_Axis_default()))) {
|
|
4409
4826
|
return;
|
|
4410
4827
|
}
|
|
4411
|
-
const { min, max } =
|
|
4828
|
+
const navigator = this.navigator, { min, max } = navigator.xAxis, removeEventCallbacks = [];
|
|
4412
4829
|
if (twoWay) {
|
|
4413
4830
|
const removeSetExtremesEvent = (0,external_highcharts_src_js_default_namespaceObject.addEvent)(axis, 'setExtremes', (e) => {
|
|
4414
4831
|
if (e.trigger === 'pan' ||
|
|
@@ -4421,7 +4838,7 @@ class StandaloneNavigator {
|
|
|
4421
4838
|
});
|
|
4422
4839
|
removeEventCallbacks.push(removeSetExtremesEvent);
|
|
4423
4840
|
}
|
|
4424
|
-
const removeSetRangeEvent = (0,external_highcharts_src_js_default_namespaceObject.addEvent)(
|
|
4841
|
+
const removeSetRangeEvent = (0,external_highcharts_src_js_default_namespaceObject.addEvent)(navigator, 'setRange', (e) => {
|
|
4425
4842
|
axis.setExtremes(e.min, e.max, e.redraw, e.animation);
|
|
4426
4843
|
});
|
|
4427
4844
|
removeEventCallbacks.push(removeSetRangeEvent);
|
|
@@ -4430,6 +4847,13 @@ class StandaloneNavigator {
|
|
|
4430
4847
|
})[0];
|
|
4431
4848
|
if (!boundAxis) {
|
|
4432
4849
|
boundAxis = { axis, callbacks: [] };
|
|
4850
|
+
// A navigator bound to a yAxis defines the full range the axis
|
|
4851
|
+
// should cover. Stash the axis' own bounds before overriding them,
|
|
4852
|
+
// so `unbind` can restore them, #24716
|
|
4853
|
+
if (axis.coll === 'yAxis') {
|
|
4854
|
+
boundAxis.oldMin = axis.options.min ?? axis.min;
|
|
4855
|
+
boundAxis.oldMax = axis.options.max ?? axis.max;
|
|
4856
|
+
}
|
|
4433
4857
|
this.boundAxes.push(boundAxis);
|
|
4434
4858
|
}
|
|
4435
4859
|
boundAxis.callbacks = removeEventCallbacks;
|
|
@@ -4439,6 +4863,12 @@ class StandaloneNavigator {
|
|
|
4439
4863
|
nav.addSeries(series.options);
|
|
4440
4864
|
}
|
|
4441
4865
|
});
|
|
4866
|
+
// Bind a yAxis to the navigator's full range so vertical panning isn't
|
|
4867
|
+
// capped at the series' data extremes, #24716
|
|
4868
|
+
if (axis.coll === 'yAxis') {
|
|
4869
|
+
const { dataMin, dataMax } = navigator.xAxis.getExtremes();
|
|
4870
|
+
axis.update({ min: dataMin, max: dataMax }, false);
|
|
4871
|
+
}
|
|
4442
4872
|
// Set extremes to match the navigator's extremes
|
|
4443
4873
|
axis.setExtremes(min, max);
|
|
4444
4874
|
// Unbind the axis before it's destroyed
|
|
@@ -4460,12 +4890,15 @@ class StandaloneNavigator {
|
|
|
4460
4890
|
* Passing a Chart object unbinds the first X axis of the chart,
|
|
4461
4891
|
* an Axis object unbinds that specific axis,
|
|
4462
4892
|
* and undefined unbinds all axes bound to the navigator.
|
|
4893
|
+
* @param {boolean} restoreExtremes
|
|
4894
|
+
* Whether to restore the axis' original min/max that were
|
|
4895
|
+
* overridden when binding a yAxis.
|
|
4463
4896
|
*/
|
|
4464
|
-
unbind(axisOrChart) {
|
|
4897
|
+
unbind(axisOrChart, restoreExtremes) {
|
|
4465
4898
|
// If no axis or chart is provided, unbind all bound axes
|
|
4466
4899
|
if (!axisOrChart) {
|
|
4467
|
-
this.boundAxes.forEach((
|
|
4468
|
-
|
|
4900
|
+
this.boundAxes.forEach((boundAxis) => {
|
|
4901
|
+
this.releaseAxis(boundAxis, restoreExtremes);
|
|
4469
4902
|
});
|
|
4470
4903
|
this.boundAxes.length = 0;
|
|
4471
4904
|
return;
|
|
@@ -4475,20 +4908,45 @@ class StandaloneNavigator {
|
|
|
4475
4908
|
axisOrChart.xAxis[0];
|
|
4476
4909
|
for (let i = this.boundAxes.length - 1; i >= 0; i--) {
|
|
4477
4910
|
if (this.boundAxes[i].axis === axis) {
|
|
4478
|
-
this.boundAxes[i]
|
|
4911
|
+
this.releaseAxis(this.boundAxes[i], restoreExtremes);
|
|
4479
4912
|
this.boundAxes.splice(i, 1);
|
|
4480
4913
|
}
|
|
4481
4914
|
}
|
|
4482
4915
|
}
|
|
4916
|
+
/**
|
|
4917
|
+
* Disconnect a bound axis' events and restore the axis' own bounds that
|
|
4918
|
+
* were overridden when binding a yAxis.
|
|
4919
|
+
*
|
|
4920
|
+
* @internal
|
|
4921
|
+
*
|
|
4922
|
+
* @param {BoundAxis} boundAxis
|
|
4923
|
+
* The bound axis entry to release.
|
|
4924
|
+
* @param {boolean} [restoreExtremes=false]
|
|
4925
|
+
* Whether to restore the axis' original min/max that were
|
|
4926
|
+
* overridden when binding a yAxis.
|
|
4927
|
+
*/
|
|
4928
|
+
releaseAxis(boundAxis, restoreExtremes = false) {
|
|
4929
|
+
// Disconnect events
|
|
4930
|
+
boundAxis.callbacks.forEach((removeCallback) => removeCallback());
|
|
4931
|
+
// Restore the axis' original min/max that were overridden in `bind`
|
|
4932
|
+
if (boundAxis.axis.coll === 'yAxis' && restoreExtremes) {
|
|
4933
|
+
const min = boundAxis.oldMin ?? void 0, max = boundAxis.oldMax ?? void 0;
|
|
4934
|
+
boundAxis.axis.update({ min, max }, false);
|
|
4935
|
+
boundAxis.axis.setExtremes(min, max);
|
|
4936
|
+
}
|
|
4937
|
+
}
|
|
4483
4938
|
/**
|
|
4484
4939
|
* Destroys allocated standalone navigator elements.
|
|
4485
4940
|
*
|
|
4486
4941
|
* @function Highcharts.StandaloneNavigator#destroy
|
|
4942
|
+
*
|
|
4943
|
+
* @param {boolean} restoreExtremes
|
|
4944
|
+
* Whether to restore the axis' original min/max that were
|
|
4945
|
+
* overridden when binding a yAxis.
|
|
4487
4946
|
*/
|
|
4488
|
-
destroy() {
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
callbacks.forEach((removeCallback) => removeCallback());
|
|
4947
|
+
destroy(restoreExtremes) {
|
|
4948
|
+
this.boundAxes.forEach((boundAxis) => {
|
|
4949
|
+
this.releaseAxis(boundAxis, restoreExtremes);
|
|
4492
4950
|
});
|
|
4493
4951
|
this.boundAxes.length = 0;
|
|
4494
4952
|
this.navigator.destroy();
|