highcharts 13.0.0 → 13.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bower.json +1 -1
- package/css/highcharts.css +2 -1
- package/es-modules/Accessibility/A11yI18n.js +4 -4
- package/es-modules/Accessibility/Accessibility.js +38 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +6 -4
- package/es-modules/Accessibility/Components/LegendComponent.js +3 -4
- package/es-modules/Accessibility/Components/NavigatorComponent.js +3 -4
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +13 -10
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +8 -4
- package/es-modules/Accessibility/Components/ZoomComponent.js +2 -2
- package/es-modules/Accessibility/FocusBorder.js +2 -2
- package/es-modules/Accessibility/Options/A11yDefaults.js +12 -3
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +1 -2
- package/es-modules/Accessibility/ProxyElement.js +1 -0
- package/es-modules/Core/Animation/AnimationUtilities.js +34 -43
- package/es-modules/Core/Animation/Fx.js +16 -19
- package/es-modules/Core/Axis/Axis.js +49 -59
- package/es-modules/Core/Axis/Axis3DComposition.js +8 -6
- package/es-modules/Core/Axis/AxisDefaults.js +12 -2
- package/es-modules/Core/Axis/BrokenAxis.js +6 -5
- package/es-modules/Core/Axis/Color/ColorAxis.js +24 -12
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -3
- package/es-modules/Core/Axis/GridAxis.js +12 -5
- package/es-modules/Core/Axis/LogarithmicAxis.js +5 -3
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +2 -2
- package/es-modules/Core/Axis/OrdinalAxis.js +21 -11
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -2
- package/es-modules/Core/Axis/RadialAxis.js +23 -22
- package/es-modules/Core/Axis/ScrollbarAxis.js +3 -3
- package/es-modules/Core/Axis/Stacking/StackItem.js +5 -5
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +5 -6
- package/es-modules/Core/Axis/Tick.js +10 -11
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +1 -1
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -3
- package/es-modules/Core/Chart/Chart.js +58 -53
- package/es-modules/Core/Chart/Chart3D.js +3 -3
- package/es-modules/Core/Chart/ChartDefaults.js +24 -1
- package/es-modules/Core/Chart/MapChart.js +7 -10
- package/es-modules/Core/Chart/StockChart.js +15 -11
- package/es-modules/Core/Color/Color.js +3 -1
- package/es-modules/Core/Defaults.js +44 -2
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +20 -17
- package/es-modules/Core/Legend/LegendSymbol.js +2 -2
- package/es-modules/Core/MSPointer.js +2 -2
- package/es-modules/Core/Math3D.js +6 -7
- package/es-modules/Core/Pointer.js +20 -10
- 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/RendererUtilities.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +12 -11
- package/es-modules/Core/Renderer/SVG/SVGElement3D.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +5 -5
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +6 -6
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +13 -12
- package/es-modules/Core/Renderer/SVG/Symbols.js +6 -5
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Responsive.js +7 -5
- package/es-modules/Core/Series/DataLabel.js +9 -8
- package/es-modules/Core/Series/OverlappingDataLabels.js +5 -2
- package/es-modules/Core/Series/Point.js +31 -24
- package/es-modules/Core/Series/Series.js +125 -82
- package/es-modules/Core/Series/Series3D.js +2 -2
- package/es-modules/Core/Series/SeriesDefaults.js +33 -0
- package/es-modules/Core/Templating.js +18 -15
- package/es-modules/Core/Tooltip.js +12 -9
- package/es-modules/Core/Utilities.js +4 -3
- package/es-modules/Data/Connectors/DataConnector.js +2 -2
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
- package/es-modules/Data/DataTable.js +17 -0
- package/es-modules/Data/DataTableCore.js +1 -1
- package/es-modules/Extensions/Annotations/Annotation.js +5 -6
- package/es-modules/Extensions/Annotations/AnnotationChart.js +2 -2
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +4 -4
- package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +2 -2
- package/es-modules/Extensions/Annotations/EventEmitter.js +4 -4
- package/es-modules/Extensions/Annotations/MockPoint.js +7 -9
- package/es-modules/Extensions/Annotations/NavigationBindings.js +6 -3
- package/es-modules/Extensions/Annotations/NavigationBindingsUtilities.js +31 -4
- package/es-modules/Extensions/Annotations/Popup/Popup.js +3 -2
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +6 -8
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -4
- package/es-modules/Extensions/Annotations/Types/Measure.js +28 -10
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +4 -2
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +3 -1
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +3 -3
- package/es-modules/Extensions/Boost/Boost.js +13 -0
- package/es-modules/Extensions/Boost/BoostChart.js +11 -4
- package/es-modules/Extensions/Boost/BoostSeries.js +17 -11
- package/es-modules/Extensions/Boost/WGLRenderer.js +9 -6
- package/es-modules/Extensions/Boost/WGLShader.js +3 -3
- package/es-modules/Extensions/BoostCanvas.js +2 -2
- package/es-modules/Extensions/BorderRadius.js +12 -10
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +6 -5
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +2 -2
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +4 -3
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +2 -2
- package/es-modules/Extensions/DraggablePoints/DragDropProps.js +2 -3
- package/es-modules/Extensions/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 +21 -16
- package/es-modules/Extensions/Exporting/Exporting.js +28 -28
- 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/MouseWheelZoom/MouseWheelZoom.js +2 -2
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +31 -4
- package/es-modules/Extensions/Pane/PaneComposition.js +2 -2
- package/es-modules/Extensions/Pane/PaneDefaults.js +1 -1
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -2
- package/es-modules/Extensions/ParallelCoordinates/ParallelCoordinates.js +3 -0
- package/es-modules/Extensions/PatternFill.js +7 -5
- package/es-modules/Extensions/PriceIndication.js +5 -4
- package/es-modules/Extensions/ScrollablePlotArea.js +8 -2
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +8 -9
- package/es-modules/Extensions/Sonification/MIDI.js +2 -3
- package/es-modules/Extensions/Sonification/Sonification.js +2 -2
- package/es-modules/Extensions/Sonification/SonificationSpeaker.js +3 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +4 -4
- package/es-modules/Extensions/Sonification/TimelineFromChart.js +11 -11
- package/es-modules/Gantt/Legacy.js +2 -2
- package/es-modules/Gantt/Pathfinder.js +3 -3
- package/es-modules/Gantt/PathfinderAlgorithms.js +4 -3
- package/es-modules/Gantt/Tree.js +1 -1
- package/es-modules/Maps/GeoJSONComposition.js +14 -1
- package/es-modules/Maps/MapNavigation.js +4 -4
- package/es-modules/Maps/MapPointer.js +2 -2
- package/es-modules/Maps/MapView.js +3 -3
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +8 -6
- package/es-modules/Series/Area/AreaSeries.js +4 -5
- 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 +40 -32
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +33 -1
- package/es-modules/Series/Bubble/BubbleLegendItem.js +10 -6
- package/es-modules/Series/Bubble/BubbleSeries.js +25 -9
- package/es-modules/Series/Bullet/BulletSeries.js +17 -10
- package/es-modules/Series/Candlestick/CandlestickSeries.js +3 -3
- package/es-modules/Series/CenteredUtilities.js +12 -9
- package/es-modules/Series/ColorMapComposition.js +7 -4
- package/es-modules/Series/Column/ColumnPoint.js +2 -0
- package/es-modules/Series/Column/ColumnSeries.js +14 -14
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +4 -2
- package/es-modules/Series/Column3D/Column3DComposition.js +22 -19
- 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 +7 -6
- 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 +13 -144
- 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 +12 -12
- 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/DataModifyComposition.js +9 -7
- 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 +6 -4
- 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 +19 -6
- package/es-modules/Series/Dumbbell/DumbbellPointOptions.js +12 -0
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +33 -15
- 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/FlowMap/FlowMapPoint.js +5 -3
- package/es-modules/Series/FlowMap/FlowMapSeries.js +17 -9
- package/es-modules/Series/Funnel/FunnelSeries.js +25 -26
- package/es-modules/Series/Funnel/FunnelSeriesDefaults.js +12 -0
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +7 -5
- package/es-modules/Series/Gantt/GanttSeries.js +2 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +2 -2
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +9 -9
- package/es-modules/Series/GraphLayoutComposition.js +3 -3
- package/es-modules/Series/Heatmap/HeatmapPoint.js +6 -6
- package/es-modules/Series/Heatmap/HeatmapPointOptions.js +12 -0
- package/es-modules/Series/Heatmap/HeatmapSeries.js +13 -13
- package/es-modules/Series/Heatmap/HeatmapSeriesOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramPoint.js +17 -0
- package/es-modules/Series/Histogram/HistogramPointOptions.js +12 -0
- package/es-modules/Series/Histogram/HistogramSeries.js +15 -3
- package/es-modules/Series/Histogram/HistogramSeriesOptions.js +12 -0
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +9 -9
- package/es-modules/Series/InterpolationUtilities.js +5 -5
- package/es-modules/Series/Item/ItemPointOptions.js +14 -0
- package/es-modules/Series/Item/ItemSeries.js +18 -6
- package/es-modules/Series/Item/ItemSeriesOptions.js +14 -0
- package/es-modules/Series/Map/MapPoint.js +5 -3
- package/es-modules/Series/Map/MapSeries.js +6 -10
- package/es-modules/Series/Map/MapSeriesDefaults.js +11 -1
- package/es-modules/Series/Networkgraph/NetworkgraphPoint.js +3 -3
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +14 -9
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +12 -0
- package/es-modules/Series/Networkgraph/ReingoldFruchtermanLayout.js +18 -9
- package/es-modules/Series/NodesComposition.js +9 -10
- package/es-modules/Series/OHLC/OHLCPoint.js +2 -2
- package/es-modules/Series/OHLC/OHLCSeries.js +1 -0
- package/es-modules/Series/Organization/OrganizationPoint.js +3 -2
- package/es-modules/Series/Organization/OrganizationSeries.js +29 -7
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +11 -4
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -3
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +5 -5
- package/es-modules/Series/Pictorial/PictorialSeries.js +4 -2
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PiePoint.js +3 -4
- package/es-modules/Series/Pie/PieSeries.js +3 -2
- package/es-modules/Series/Pie3D/Pie3DSeries.js +8 -4
- package/es-modules/Series/PolarComposition.js +13 -14
- 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 +13 -7
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +2 -2
- package/es-modules/Series/Scatter/ScatterSeries.js +6 -5
- package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +2 -0
- package/es-modules/Series/SimulationSeriesUtilities.js +1 -2
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +4 -4
- package/es-modules/Series/Spline/SplineSeries.js +5 -5
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +8 -0
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +20 -12
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +2 -1
- package/es-modules/Series/Tilemap/TilemapShapes.js +2 -2
- package/es-modules/Series/Timeline/TimelinePoint.js +2 -2
- package/es-modules/Series/Timeline/TimelineSeries.js +13 -6
- package/es-modules/Series/TreeUtilities.js +16 -7
- package/es-modules/Series/Treegraph/TreegraphLink.js +2 -2
- package/es-modules/Series/Treegraph/TreegraphSeries.js +22 -13
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +14 -11
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +22 -1
- package/es-modules/Series/VariablePie/VariablePieSeries.js +6 -4
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +3 -2
- package/es-modules/Series/Variwide/VariwideSeries.js +2 -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 +3 -3
- package/es-modules/Series/Windbarb/WindbarbSeries.js +8 -10
- package/es-modules/Series/XRange/XRangeSeries.js +8 -8
- package/es-modules/Shared/TimeBase.js +13 -8
- package/es-modules/Shared/Utilities.js +9 -7
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -3
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +4 -3
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +2 -2
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +1 -2
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +4 -4
- package/es-modules/Stock/Navigator/Navigator.js +26 -26
- 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 +55 -14
- package/es-modules/Stock/RangeSelector/RangeSelector.js +15 -11
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +3 -3
- package/es-modules/Stock/Scrollbar/Scrollbar.js +8 -7
- package/es-modules/Stock/StockTools/StockToolbar.js +6 -6
- package/es-modules/Stock/StockTools/StockTools.js +2 -2
- package/es-modules/Stock/StockTools/StockToolsBindings.js +7 -7
- package/es-modules/Stock/StockTools/StockToolsGui.js +6 -4
- 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 +13 -8
- 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 +78 -55
- 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 +1198 -981
- package/esm/highcharts.js +5 -5
- package/esm/highcharts.src.js +702 -515
- 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 +24 -10
- 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 +25 -10
- 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 +31 -17
- package/esm/indicators/indicators.js +2 -2
- package/esm/indicators/indicators.src.js +24 -10
- 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 +23 -9
- 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 +564 -92
- package/esm/modules/annotations-advanced.js +11 -11
- package/esm/modules/annotations-advanced.src.js +224 -162
- package/esm/modules/annotations.js +11 -11
- package/esm/modules/annotations.src.js +184 -144
- package/esm/modules/arc-diagram.js +2 -2
- package/esm/modules/arc-diagram.src.js +37 -22
- 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 +60 -30
- package/esm/modules/boost.js +2 -2
- package/esm/modules/boost.src.js +72 -29
- package/esm/modules/broken-axis.js +2 -2
- package/esm/modules/broken-axis.src.js +27 -12
- package/esm/modules/bullet.js +2 -2
- package/esm/modules/bullet.src.js +38 -17
- package/esm/modules/coloraxis.js +2 -2
- package/esm/modules/coloraxis.src.js +47 -21
- 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 +46 -28
- 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 +44 -13
- 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 +28 -13
- 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 +27 -11
- 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 +24 -12
- package/esm/modules/drilldown.js +2 -2
- package/esm/modules/drilldown.src.js +38 -25
- package/esm/modules/dumbbell.js +2 -2
- package/esm/modules/dumbbell.src.js +72 -27
- package/esm/modules/export-data.js +2 -2
- package/esm/modules/export-data.src.js +42 -23
- package/esm/modules/exporting.js +2 -2
- package/esm/modules/exporting.src.js +83 -37
- package/esm/modules/flowmap.js +3 -2
- package/esm/modules/flowmap.src.js +43 -18
- 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 +73 -42
- package/esm/modules/funnel3d.js +2 -2
- package/esm/modules/funnel3d.src.js +35 -20
- package/esm/modules/gantt.js +2 -2
- package/esm/modules/gantt.src.js +542 -100
- package/esm/modules/geoheatmap.js +2 -2
- package/esm/modules/geoheatmap.src.js +35 -21
- package/esm/modules/grid-axis.js +2 -2
- package/esm/modules/grid-axis.src.js +33 -12
- package/esm/modules/heatmap.js +2 -2
- package/esm/modules/heatmap.src.js +50 -33
- 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 +56 -25
- 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 +72 -13
- 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 +148 -91
- 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 +54 -13
- package/esm/modules/navigator.js +2 -2
- package/esm/modules/navigator.src.js +534 -74
- package/esm/modules/networkgraph.js +2 -2
- package/esm/modules/networkgraph.src.js +87 -46
- 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 +63 -19
- package/esm/modules/parallel-coordinates.js +2 -2
- package/esm/modules/parallel-coordinates.src.js +26 -9
- 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 +28 -13
- package/esm/modules/pattern-fill.js +2 -2
- package/esm/modules/pattern-fill.src.js +28 -12
- package/esm/modules/pictorial.js +2 -2
- package/esm/modules/pictorial.src.js +36 -19
- 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 +26 -11
- 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 +59 -31
- package/esm/modules/series-label.js +2 -2
- package/esm/modules/series-label.src.js +31 -18
- 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 +40 -20
- package/esm/modules/sonification.js +2 -2
- package/esm/modules/sonification.src.js +45 -30
- 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 +73 -27
- package/esm/modules/stock.js +2 -2
- package/esm/modules/stock.src.js +554 -122
- 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 +110 -45
- 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 +44 -19
- package/esm/modules/tilemap.js +2 -2
- package/esm/modules/tilemap.src.js +27 -12
- package/esm/modules/timeline.js +2 -2
- package/esm/modules/timeline.src.js +35 -14
- package/esm/modules/treegraph.js +2 -2
- package/esm/modules/treegraph.src.js +59 -27
- package/esm/modules/treegrid.js +2 -2
- package/esm/modules/treegrid.src.js +58 -27
- package/esm/modules/treemap.js +2 -2
- package/esm/modules/treemap.src.js +89 -36
- package/esm/modules/variable-pie.js +2 -2
- package/esm/modules/variable-pie.src.js +30 -13
- package/esm/modules/variwide.js +2 -2
- package/esm/modules/variwide.src.js +23 -9
- 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 +29 -17
- 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 +808 -570
- 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 +116 -92
- package/highcharts-autoload.d.ts +15 -5
- package/highcharts-autoload.js +4 -4
- package/highcharts-autoload.src.d.ts +15 -5
- package/highcharts-autoload.src.js +724 -499
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +851 -590
- 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 +1313 -1095
- package/highcharts.d.ts +34795 -25647
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +34795 -25647
- package/highcharts.src.js +723 -498
- package/highmaps.js +4 -4
- package/highmaps.src.js +863 -583
- package/highstock.js +4 -4
- package/highstock.src.js +899 -619
- 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 +33 -18
- 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 +34 -18
- 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 +52 -37
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +39 -24
- 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 +32 -17
- 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 +603 -130
- package/modules/annotations-advanced.js +11 -11
- package/modules/annotations-advanced.src.js +246 -183
- package/modules/annotations.js +11 -11
- package/modules/annotations.src.js +206 -165
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.js +58 -42
- 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 +69 -38
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +81 -37
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +36 -20
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +50 -28
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +65 -38
- package/modules/contour.js +5 -5
- package/modules/contour.src.js +91 -44
- 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 +67 -48
- 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 +50 -18
- package/modules/data.js +2 -2
- package/modules/data.src.js +50 -35
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +42 -26
- 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 +36 -19
- 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 +30 -17
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +49 -35
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +86 -40
- 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 +56 -36
- 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 +97 -50
- package/modules/flowmap.js +3 -2
- package/modules/flowmap.src.js +52 -26
- 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 +82 -50
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +56 -40
- 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 +602 -156
- package/modules/geoheatmap.d.ts +13 -12
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.d.ts +13 -12
- package/modules/geoheatmap.src.js +44 -29
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +42 -20
- package/modules/heatmap.d.ts +0 -12
- package/modules/heatmap.js +4 -4
- package/modules/heatmap.src.d.ts +0 -12
- package/modules/heatmap.src.js +102 -71
- 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 +70 -38
- 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 +81 -21
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +36 -21
- package/modules/map.d.ts +0 -20
- package/modules/map.js +4 -4
- package/modules/map.src.d.ts +0 -20
- package/modules/map.src.js +212 -140
- 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 +60 -18
- 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 +556 -95
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.js +99 -57
- 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 +75 -30
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +37 -19
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +45 -29
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +37 -21
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +34 -17
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +62 -43
- 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 +32 -16
- 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 +80 -51
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +42 -28
- 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 +54 -33
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +56 -40
- 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 +90 -43
- 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 +650 -185
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +31 -16
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.js +137 -71
- package/modules/textpath.js +2 -2
- package/modules/textpath.src.js +28 -13
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +65 -32
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +41 -25
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +47 -25
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.js +83 -50
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +76 -44
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +116 -62
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +39 -21
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +32 -17
- 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 +51 -38
- 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 +1 -1
- package/standalone-navigator.js +4 -4
- package/standalone-navigator.src.js +829 -553
- 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.2 (2026-08-27)
|
|
4
4
|
* @module highcharts/modules/accessibility
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -26,83 +26,83 @@ return /******/ (() => { // webpackBootstrap
|
|
|
26
26
|
/******/ "use strict";
|
|
27
27
|
/******/ var __webpack_modules__ = ({
|
|
28
28
|
|
|
29
|
-
/***/
|
|
30
|
-
|
|
29
|
+
/***/ 660
|
|
30
|
+
(module) {
|
|
31
31
|
|
|
32
|
-
module.exports =
|
|
33
|
-
|
|
34
|
-
/***/ }),
|
|
35
|
-
|
|
36
|
-
/***/ 512:
|
|
37
|
-
/***/ ((module) => {
|
|
38
|
-
|
|
39
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE__512__;
|
|
32
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__660__;
|
|
40
33
|
|
|
41
|
-
/***/ }
|
|
34
|
+
/***/ },
|
|
42
35
|
|
|
43
|
-
/***/ 532
|
|
44
|
-
|
|
36
|
+
/***/ 532
|
|
37
|
+
(module) {
|
|
45
38
|
|
|
46
39
|
module.exports = __WEBPACK_EXTERNAL_MODULE__532__;
|
|
47
40
|
|
|
48
|
-
/***/ }
|
|
41
|
+
/***/ },
|
|
49
42
|
|
|
50
|
-
/***/
|
|
51
|
-
|
|
43
|
+
/***/ 632
|
|
44
|
+
(module) {
|
|
52
45
|
|
|
53
|
-
module.exports =
|
|
46
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__632__;
|
|
54
47
|
|
|
55
|
-
/***/ }
|
|
48
|
+
/***/ },
|
|
56
49
|
|
|
57
|
-
/***/
|
|
58
|
-
|
|
50
|
+
/***/ 260
|
|
51
|
+
(module) {
|
|
59
52
|
|
|
60
|
-
module.exports =
|
|
53
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__260__;
|
|
61
54
|
|
|
62
|
-
/***/ }
|
|
55
|
+
/***/ },
|
|
63
56
|
|
|
64
|
-
/***/
|
|
65
|
-
|
|
57
|
+
/***/ 540
|
|
58
|
+
(module) {
|
|
66
59
|
|
|
67
|
-
module.exports =
|
|
60
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__540__;
|
|
68
61
|
|
|
69
|
-
/***/ }
|
|
62
|
+
/***/ },
|
|
70
63
|
|
|
71
|
-
/***/ 820
|
|
72
|
-
|
|
64
|
+
/***/ 820
|
|
65
|
+
(module) {
|
|
73
66
|
|
|
74
67
|
module.exports = __WEBPACK_EXTERNAL_MODULE__820__;
|
|
75
68
|
|
|
76
|
-
/***/ }
|
|
69
|
+
/***/ },
|
|
77
70
|
|
|
78
|
-
/***/
|
|
79
|
-
|
|
71
|
+
/***/ 512
|
|
72
|
+
(module) {
|
|
80
73
|
|
|
81
|
-
module.exports =
|
|
74
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__512__;
|
|
82
75
|
|
|
83
|
-
/***/ }
|
|
76
|
+
/***/ },
|
|
84
77
|
|
|
85
|
-
/***/ 984
|
|
86
|
-
|
|
78
|
+
/***/ 984
|
|
79
|
+
(module) {
|
|
87
80
|
|
|
88
81
|
module.exports = __WEBPACK_EXTERNAL_MODULE__984__;
|
|
89
82
|
|
|
90
|
-
/***/ }
|
|
83
|
+
/***/ },
|
|
84
|
+
|
|
85
|
+
/***/ 944
|
|
86
|
+
(module) {
|
|
87
|
+
|
|
88
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__944__;
|
|
89
|
+
|
|
90
|
+
/***/ }
|
|
91
91
|
|
|
92
92
|
/******/ });
|
|
93
93
|
/************************************************************************/
|
|
94
94
|
/******/ // The module cache
|
|
95
|
-
/******/
|
|
95
|
+
/******/ const __webpack_module_cache__ = {};
|
|
96
96
|
/******/
|
|
97
97
|
/******/ // The require function
|
|
98
98
|
/******/ function __webpack_require__(moduleId) {
|
|
99
99
|
/******/ // Check if module is in cache
|
|
100
|
-
/******/
|
|
100
|
+
/******/ const cachedModule = __webpack_module_cache__[moduleId];
|
|
101
101
|
/******/ if (cachedModule !== undefined) {
|
|
102
102
|
/******/ return cachedModule.exports;
|
|
103
103
|
/******/ }
|
|
104
104
|
/******/ // Create a new module (and put it into the cache)
|
|
105
|
-
/******/
|
|
105
|
+
/******/ const module = __webpack_module_cache__[moduleId] = {
|
|
106
106
|
/******/ // no module.id needed
|
|
107
107
|
/******/ // no module.loaded needed
|
|
108
108
|
/******/ exports: {}
|
|
@@ -120,7 +120,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__984__;
|
|
|
120
120
|
/******/ (() => {
|
|
121
121
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
122
122
|
/******/ __webpack_require__.n = (module) => {
|
|
123
|
-
/******/
|
|
123
|
+
/******/ const getter = module && module.__esModule ?
|
|
124
124
|
/******/ () => (module['default']) :
|
|
125
125
|
/******/ () => (module);
|
|
126
126
|
/******/ __webpack_require__.d(getter, { a: getter });
|
|
@@ -130,11 +130,26 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__984__;
|
|
|
130
130
|
/******/
|
|
131
131
|
/******/ /* webpack/runtime/define property getters */
|
|
132
132
|
/******/ (() => {
|
|
133
|
-
/******/ // define getter functions for harmony exports
|
|
133
|
+
/******/ // define getter/value functions for harmony exports
|
|
134
134
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|
135
|
-
/******/
|
|
136
|
-
/******/
|
|
137
|
-
/******/
|
|
135
|
+
/******/ if(Array.isArray(definition)) {
|
|
136
|
+
/******/ var i = 0;
|
|
137
|
+
/******/ while(i < definition.length) {
|
|
138
|
+
/******/ var key = definition[i++];
|
|
139
|
+
/******/ var binding = definition[i++];
|
|
140
|
+
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
141
|
+
/******/ if(binding === 0) {
|
|
142
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
143
|
+
/******/ } else {
|
|
144
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
145
|
+
/******/ }
|
|
146
|
+
/******/ } else if(binding === 0) { i++; }
|
|
147
|
+
/******/ }
|
|
148
|
+
/******/ } else {
|
|
149
|
+
/******/ for(var key in definition) {
|
|
150
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
151
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
152
|
+
/******/ }
|
|
138
153
|
/******/ }
|
|
139
154
|
/******/ }
|
|
140
155
|
/******/ };
|
|
@@ -146,7 +161,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__984__;
|
|
|
146
161
|
/******/ })();
|
|
147
162
|
/******/
|
|
148
163
|
/************************************************************************/
|
|
149
|
-
|
|
164
|
+
let __webpack_exports__ = {};
|
|
150
165
|
|
|
151
166
|
// EXPORTS
|
|
152
167
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -563,13 +578,13 @@ var A11yI18nComposition;
|
|
|
563
578
|
const pluralEnd = (statement.slice(pluralStart).indexOf(')') + pluralStart), pluralStatement = statement.substring(pluralStart + 8, pluralEnd), pluralArguments = pluralStatement.split(','), num = Number((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.getNestedProperty)(pluralArguments[0], ctx));
|
|
564
579
|
switch (num) {
|
|
565
580
|
case 0:
|
|
566
|
-
result = (
|
|
581
|
+
result = (pluralArguments[4] ?? pluralArguments[1]);
|
|
567
582
|
break;
|
|
568
583
|
case 1:
|
|
569
|
-
result = (
|
|
584
|
+
result = (pluralArguments[2] ?? pluralArguments[1]);
|
|
570
585
|
break;
|
|
571
586
|
case 2:
|
|
572
|
-
result = (
|
|
587
|
+
result = (pluralArguments[3] ?? pluralArguments[1]);
|
|
573
588
|
break;
|
|
574
589
|
default:
|
|
575
590
|
result = pluralArguments[1];
|
|
@@ -1796,7 +1811,7 @@ var FocusBorderComposition;
|
|
|
1796
1811
|
this.removeFocusBorder();
|
|
1797
1812
|
}
|
|
1798
1813
|
// Add the border rect
|
|
1799
|
-
const bb = this.getBBox(), pad = (
|
|
1814
|
+
const bb = this.getBBox(), pad = (margin ?? 3), parent = this.parentGroup, scaleX = this.scaleX || parent && parent.scaleX, scaleY = this.scaleY || parent && parent.scaleY, oneDefined = scaleX ? !scaleY : scaleY, scaleBoth = oneDefined ? Math.abs(scaleX || scaleY || 1) :
|
|
1800
1815
|
(Math.abs(scaleX || 1) + Math.abs(scaleY || 1)) / 2, lineHeight = this.renderer.fontMetrics(this).h;
|
|
1801
1816
|
bb.x += this.translateX ? this.translateX : 0;
|
|
1802
1817
|
bb.y += this.translateY ? this.translateY : 0;
|
|
@@ -2718,9 +2733,11 @@ class InfoRegionsComponent extends Accessibility_AccessibilityComponent {
|
|
|
2718
2733
|
getAxesDescription() {
|
|
2719
2734
|
const chart = this.chart, shouldDescribeColl = function (collectionKey, defaultCondition) {
|
|
2720
2735
|
const axes = chart[collectionKey];
|
|
2721
|
-
|
|
2722
|
-
(
|
|
2723
|
-
axes[0].options.accessibility.enabled
|
|
2736
|
+
const axisA11yEnabled = axes[0] ?
|
|
2737
|
+
(axes[0].options.accessibility &&
|
|
2738
|
+
axes[0].options.accessibility.enabled) :
|
|
2739
|
+
void 0;
|
|
2740
|
+
return axes.length > 1 || (axisA11yEnabled ?? defaultCondition);
|
|
2724
2741
|
}, hasNoMap = !!chart.types &&
|
|
2725
2742
|
chart.types.indexOf('map') < 0 &&
|
|
2726
2743
|
chart.types.indexOf('treemap') < 0 &&
|
|
@@ -3670,7 +3687,6 @@ var highcharts_Legend_commonjs_highcharts_Legend_commonjs2_highcharts_Legend_roo
|
|
|
3670
3687
|
* */
|
|
3671
3688
|
|
|
3672
3689
|
|
|
3673
|
-
const { animObject } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
3674
3690
|
|
|
3675
3691
|
const { doc: LegendComponent_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
3676
3692
|
|
|
@@ -3776,7 +3792,7 @@ class LegendComponent extends Accessibility_AccessibilityComponent {
|
|
|
3776
3792
|
this.chart.renderer &&
|
|
3777
3793
|
component.recreateProxies()) {
|
|
3778
3794
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.syncTimeout)(() => component.proxyProvider
|
|
3779
|
-
.updateGroupProxyElementPositions('legend'),
|
|
3795
|
+
.updateGroupProxyElementPositions('legend'), (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.animObject)((this.chart.renderer.globalAnimation ?? true)).duration);
|
|
3780
3796
|
}
|
|
3781
3797
|
});
|
|
3782
3798
|
}
|
|
@@ -4215,7 +4231,7 @@ function onChartAfterSetChartSize() {
|
|
|
4215
4231
|
navigator.top = this.plotTop + scrollButtonSize;
|
|
4216
4232
|
}
|
|
4217
4233
|
else {
|
|
4218
|
-
navigator.left = (
|
|
4234
|
+
navigator.left = (xAxis.left ?? this.plotLeft + scrollButtonSize);
|
|
4219
4235
|
navigator.top = navigator.navigatorOptions.top ||
|
|
4220
4236
|
this.chartHeight -
|
|
4221
4237
|
navigator.height -
|
|
@@ -4231,7 +4247,7 @@ function onChartAfterSetChartSize() {
|
|
|
4231
4247
|
legendOptions.enabled &&
|
|
4232
4248
|
!legendOptions.floating) ?
|
|
4233
4249
|
legend.legendHeight +
|
|
4234
|
-
(
|
|
4250
|
+
(legendOptions.margin ?? 10) :
|
|
4235
4251
|
0) -
|
|
4236
4252
|
(this.titleOffset ? this.titleOffset[2] : 0);
|
|
4237
4253
|
}
|
|
@@ -4256,7 +4272,7 @@ function onChartAfterUpdate(event) {
|
|
|
4256
4272
|
(this.options.navigator.enabled ||
|
|
4257
4273
|
this.options.scrollbar.enabled)) {
|
|
4258
4274
|
this.scroller = this.navigator = new NavigatorConstructor(this);
|
|
4259
|
-
if (
|
|
4275
|
+
if (event.redraw ?? true) {
|
|
4260
4276
|
this.redraw(event.animation); // #7067
|
|
4261
4277
|
}
|
|
4262
4278
|
}
|
|
@@ -4434,7 +4450,7 @@ class NavigatorAxisAdditions {
|
|
|
4434
4450
|
*/
|
|
4435
4451
|
toFixedRange(pxMin, pxMax, fixedMin, fixedMax) {
|
|
4436
4452
|
const axis = this.axis, halfPointRange = (axis.pointRange || 0) / 2;
|
|
4437
|
-
let newMin =
|
|
4453
|
+
let newMin = fixedMin ?? axis.translate(pxMin, true, !axis.horiz), newMax = fixedMax ?? axis.translate(pxMax, true, !axis.horiz);
|
|
4438
4454
|
// Add/remove half point range to/from the extremes (#1172)
|
|
4439
4455
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.defined)(fixedMin)) {
|
|
4440
4456
|
newMin = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.correctFloat)(newMin + halfPointRange);
|
|
@@ -4661,7 +4677,7 @@ const NavigatorDefaults = {
|
|
|
4661
4677
|
*
|
|
4662
4678
|
* @type {Highcharts.ColorType}
|
|
4663
4679
|
*/
|
|
4664
|
-
maskFill: 'color-mix(var(--highcharts-highlight-color-60) 30%, transparent)',
|
|
4680
|
+
maskFill: 'color-mix(in srgb, var(--highcharts-highlight-color-60) 30%, transparent)', // eslint-disable-line max-len
|
|
4665
4681
|
/**
|
|
4666
4682
|
* The color of the line marking the currently zoomed area in the
|
|
4667
4683
|
* navigator.
|
|
@@ -4800,11 +4816,18 @@ const NavigatorDefaults = {
|
|
|
4800
4816
|
id: 'highcharts-navigator-series',
|
|
4801
4817
|
className: 'highcharts-navigator-series',
|
|
4802
4818
|
/**
|
|
4803
|
-
* Sets the
|
|
4819
|
+
* Sets the color of the navigator series.
|
|
4804
4820
|
*
|
|
4805
4821
|
* @type {Highcharts.ColorType}
|
|
4806
4822
|
* @apioption navigator.series.color
|
|
4807
4823
|
*/
|
|
4824
|
+
/**
|
|
4825
|
+
* Sets the fill color of the navigator series. Applies to series
|
|
4826
|
+
* types with a filled area, like the default `areaspline`.
|
|
4827
|
+
*
|
|
4828
|
+
* @type {Highcharts.ColorType}
|
|
4829
|
+
* @apioption navigator.series.fillColor
|
|
4830
|
+
*/
|
|
4808
4831
|
/**
|
|
4809
4832
|
* Line color for the navigator series. Allows setting the color
|
|
4810
4833
|
* while disallowing the default candlestick setting.
|
|
@@ -4989,6 +5012,401 @@ const NavigatorDefaults = {
|
|
|
4989
5012
|
*/
|
|
4990
5013
|
(''); // Keeps doclets above in JS file
|
|
4991
5014
|
|
|
5015
|
+
;// ./code/es-modules/Extensions/BorderRadius.js
|
|
5016
|
+
/* unused harmony import specifier */ var relativeLength;
|
|
5017
|
+
/* unused harmony import specifier */ var isObject;
|
|
5018
|
+
/* unused harmony import specifier */ var extend;
|
|
5019
|
+
/* unused harmony import specifier */ var addEvent;
|
|
5020
|
+
/* *
|
|
5021
|
+
*
|
|
5022
|
+
* Highcharts Border Radius module
|
|
5023
|
+
*
|
|
5024
|
+
* Author: Torstein Hønsi
|
|
5025
|
+
*
|
|
5026
|
+
* Integration of this software requires a license.
|
|
5027
|
+
* - For commercial use, see www.highcharts.com/license
|
|
5028
|
+
* - For non-commercial, see www.highcharts.com/license-eula
|
|
5029
|
+
*
|
|
5030
|
+
*
|
|
5031
|
+
* */
|
|
5032
|
+
|
|
5033
|
+
|
|
5034
|
+
const { defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
5035
|
+
|
|
5036
|
+
const { noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
5037
|
+
|
|
5038
|
+
/* *
|
|
5039
|
+
*
|
|
5040
|
+
* Constants
|
|
5041
|
+
*
|
|
5042
|
+
* */
|
|
5043
|
+
const defaultBorderRadiusOptions = {
|
|
5044
|
+
radius: 0,
|
|
5045
|
+
scope: 'stack',
|
|
5046
|
+
where: void 0
|
|
5047
|
+
};
|
|
5048
|
+
/* *
|
|
5049
|
+
*
|
|
5050
|
+
* Variables
|
|
5051
|
+
*
|
|
5052
|
+
* */
|
|
5053
|
+
let oldArc = (/* unused pure expression or super */ null && (noop));
|
|
5054
|
+
let oldRoundedRect = (/* unused pure expression or super */ null && (noop));
|
|
5055
|
+
/* *
|
|
5056
|
+
*
|
|
5057
|
+
* Functions
|
|
5058
|
+
*
|
|
5059
|
+
* */
|
|
5060
|
+
/** @internal */
|
|
5061
|
+
function applyBorderRadius(path, i, r) {
|
|
5062
|
+
const a = path[i];
|
|
5063
|
+
let b = path[i + 1];
|
|
5064
|
+
if (b[0] === 'Z') {
|
|
5065
|
+
b = path[0];
|
|
5066
|
+
}
|
|
5067
|
+
let line, arc, fromLineToArc;
|
|
5068
|
+
// From straight line to arc
|
|
5069
|
+
if ((a[0] === 'M' || a[0] === 'L') && b[0] === 'A') {
|
|
5070
|
+
line = a;
|
|
5071
|
+
arc = b;
|
|
5072
|
+
fromLineToArc = true;
|
|
5073
|
+
// From arc to straight line
|
|
5074
|
+
}
|
|
5075
|
+
else if (a[0] === 'A' && (b[0] === 'M' || b[0] === 'L')) {
|
|
5076
|
+
line = b;
|
|
5077
|
+
arc = a;
|
|
5078
|
+
}
|
|
5079
|
+
if (line && arc && arc.params) {
|
|
5080
|
+
const bigR = arc[1],
|
|
5081
|
+
// In our use cases, outer pie slice arcs are clockwise and inner
|
|
5082
|
+
// arcs (donut/sunburst etc) are anti-clockwise
|
|
5083
|
+
clockwise = arc[5], params = arc.params, { start, end, cx, cy } = params;
|
|
5084
|
+
// Some geometric constants
|
|
5085
|
+
const relativeR = clockwise ? (bigR - r) : (bigR + r),
|
|
5086
|
+
// The angle, on the big arc, that the border radius arc takes up
|
|
5087
|
+
angleOfBorderRadius = relativeR ? Math.asin(r / relativeR) : 0, angleOffset = clockwise ?
|
|
5088
|
+
angleOfBorderRadius :
|
|
5089
|
+
-angleOfBorderRadius,
|
|
5090
|
+
// The distance along the radius of the big arc to the starting
|
|
5091
|
+
// point of the small border radius arc
|
|
5092
|
+
distanceBigCenterToStartArc = (Math.cos(angleOfBorderRadius) *
|
|
5093
|
+
relativeR);
|
|
5094
|
+
// From line to arc
|
|
5095
|
+
if (fromLineToArc) {
|
|
5096
|
+
// Update the cache
|
|
5097
|
+
params.start = start + angleOffset;
|
|
5098
|
+
// First move to the start position at the radial line. We want to
|
|
5099
|
+
// start one borderRadius closer to the center.
|
|
5100
|
+
line[1] = cx + distanceBigCenterToStartArc * Math.cos(start);
|
|
5101
|
+
line[2] = cy + distanceBigCenterToStartArc * Math.sin(start);
|
|
5102
|
+
// Now draw an arc towards the point where the small circle touches
|
|
5103
|
+
// the great circle.
|
|
5104
|
+
path.splice(i + 1, 0, [
|
|
5105
|
+
'A',
|
|
5106
|
+
r,
|
|
5107
|
+
r,
|
|
5108
|
+
0, // Slanting,
|
|
5109
|
+
0, // Long arc
|
|
5110
|
+
1, // Clockwise
|
|
5111
|
+
cx + bigR * Math.cos(params.start),
|
|
5112
|
+
cy + bigR * Math.sin(params.start)
|
|
5113
|
+
]);
|
|
5114
|
+
// From arc to line
|
|
5115
|
+
}
|
|
5116
|
+
else {
|
|
5117
|
+
// Update the cache
|
|
5118
|
+
params.end = end - angleOffset;
|
|
5119
|
+
// End the big arc a bit earlier
|
|
5120
|
+
arc[6] = cx + bigR * Math.cos(params.end);
|
|
5121
|
+
arc[7] = cy + bigR * Math.sin(params.end);
|
|
5122
|
+
// Draw a small arc towards a point on the end angle, but one
|
|
5123
|
+
// borderRadius closer to the center relative to the perimeter.
|
|
5124
|
+
path.splice(i + 1, 0, [
|
|
5125
|
+
'A',
|
|
5126
|
+
r,
|
|
5127
|
+
r,
|
|
5128
|
+
0,
|
|
5129
|
+
0,
|
|
5130
|
+
1,
|
|
5131
|
+
cx + distanceBigCenterToStartArc * Math.cos(end),
|
|
5132
|
+
cy + distanceBigCenterToStartArc * Math.sin(end)
|
|
5133
|
+
]);
|
|
5134
|
+
}
|
|
5135
|
+
// Long or short arc must be reconsidered because we have modified the
|
|
5136
|
+
// start and end points
|
|
5137
|
+
arc[4] = Math.abs(params.end - params.start) < Math.PI ? 0 : 1;
|
|
5138
|
+
}
|
|
5139
|
+
}
|
|
5140
|
+
/**
|
|
5141
|
+
* Extend arc with borderRadius.
|
|
5142
|
+
* @internal
|
|
5143
|
+
*/
|
|
5144
|
+
function arc(x, y, w, h, options = {}) {
|
|
5145
|
+
const path = oldArc(x, y, w, h, options), { brStart = true, brEnd = true, innerR = 0, r = w, start = 0, end = 0 } = options;
|
|
5146
|
+
if (options.open || !options.borderRadius) {
|
|
5147
|
+
return path;
|
|
5148
|
+
}
|
|
5149
|
+
const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(relativeLength(borderRadiusObject(options.borderRadius).radius, r - innerR),
|
|
5150
|
+
// Cap to half the sector radius
|
|
5151
|
+
(r - innerR) / 2,
|
|
5152
|
+
// For smaller pie slices, cap to the largest small circle that
|
|
5153
|
+
// can be fitted within the sector
|
|
5154
|
+
(r * sinHalfAlpha) / (1 + sinHalfAlpha)), 0),
|
|
5155
|
+
// For the inner radius, we need an extra cap because the inner arc
|
|
5156
|
+
// is shorter than the outer arc
|
|
5157
|
+
innerBorderRadius = Math.min(borderRadius, 2 * (alpha / Math.PI) * innerR);
|
|
5158
|
+
// Apply turn-by-turn border radius. Start at the end since we're
|
|
5159
|
+
// splicing in arc segments.
|
|
5160
|
+
let i = path.length - 1;
|
|
5161
|
+
while (i--) {
|
|
5162
|
+
if ((!brStart && (i === 0 || i === 3)) ||
|
|
5163
|
+
(!brEnd && (i === 1 || i === 2))) {
|
|
5164
|
+
continue;
|
|
5165
|
+
}
|
|
5166
|
+
applyBorderRadius(path, i, i > 1 ? innerBorderRadius : borderRadius);
|
|
5167
|
+
}
|
|
5168
|
+
return path;
|
|
5169
|
+
}
|
|
5170
|
+
/** @internal */
|
|
5171
|
+
function seriesOnAfterColumnTranslate() {
|
|
5172
|
+
if (this.options.borderRadius &&
|
|
5173
|
+
!(this.chart.is3d && this.chart.is3d())) {
|
|
5174
|
+
const { options, yAxis } = this, percent = options.stacking === 'percent', seriesDefault = defaultOptions.plotOptions?.[this.type]
|
|
5175
|
+
?.borderRadius, borderRadius = borderRadiusObject(options.borderRadius, isObject(seriesDefault) ? seriesDefault : {}), reversed = yAxis.options.reversed;
|
|
5176
|
+
for (const point of this.points) {
|
|
5177
|
+
const { shapeArgs } = point;
|
|
5178
|
+
if (point.shapeType === 'roundedRect' && shapeArgs) {
|
|
5179
|
+
const { width = 0, height = 0, y = 0 } = shapeArgs;
|
|
5180
|
+
let brBoxY = y, brBoxHeight = height;
|
|
5181
|
+
// It would be nice to refactor StackItem.getStackBox/
|
|
5182
|
+
// setOffset so that we could get a reliable box out of
|
|
5183
|
+
// it. Currently it is close if we remove the label
|
|
5184
|
+
// offset, but we still need to run crispCol and also
|
|
5185
|
+
// flip it if inverted, so atm it is simpler to do it
|
|
5186
|
+
// like the below.
|
|
5187
|
+
if (borderRadius.scope === 'stack' &&
|
|
5188
|
+
point.stackTotal) {
|
|
5189
|
+
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));
|
|
5190
|
+
brBoxY = box.y;
|
|
5191
|
+
brBoxHeight = box.height;
|
|
5192
|
+
}
|
|
5193
|
+
const flip = (point.negative ? -1 : 1) *
|
|
5194
|
+
(reversed ? -1 : 1) === -1;
|
|
5195
|
+
// Handle the where option
|
|
5196
|
+
let where = borderRadius.where;
|
|
5197
|
+
// Waterfall, hanging columns should have rounding on
|
|
5198
|
+
// all sides
|
|
5199
|
+
if (!where &&
|
|
5200
|
+
this.is('waterfall') &&
|
|
5201
|
+
Math.abs((point.yBottom || 0) -
|
|
5202
|
+
(this.translatedThreshold || 0)) > this.borderWidth) {
|
|
5203
|
+
where = 'all';
|
|
5204
|
+
}
|
|
5205
|
+
if (!where) {
|
|
5206
|
+
where = 'end';
|
|
5207
|
+
}
|
|
5208
|
+
// Get the radius
|
|
5209
|
+
const r = Math.min(relativeLength(borderRadius.radius, width), width / 2,
|
|
5210
|
+
// Cap to the height, but not if where is `end`
|
|
5211
|
+
where === 'all' ? brBoxHeight / 2 : Infinity) || 0;
|
|
5212
|
+
// If the `where` option is 'end', cut off the
|
|
5213
|
+
// rectangles by making the border-radius box one r
|
|
5214
|
+
// greater, so that the imaginary radius falls outside
|
|
5215
|
+
// the rectangle.
|
|
5216
|
+
if (where === 'end') {
|
|
5217
|
+
if (flip) {
|
|
5218
|
+
brBoxY -= r;
|
|
5219
|
+
brBoxHeight += r;
|
|
5220
|
+
}
|
|
5221
|
+
else {
|
|
5222
|
+
brBoxHeight += r;
|
|
5223
|
+
}
|
|
5224
|
+
}
|
|
5225
|
+
extend(shapeArgs, { brBoxHeight, brBoxY, r });
|
|
5226
|
+
}
|
|
5227
|
+
}
|
|
5228
|
+
}
|
|
5229
|
+
}
|
|
5230
|
+
/** @internal */
|
|
5231
|
+
function composeBorderRadius(SeriesClass, SVGElementClass, SVGRendererClass) {
|
|
5232
|
+
const PieSeriesClass = SeriesClass.types.pie;
|
|
5233
|
+
if (!SVGElementClass.symbolCustomAttribs.includes('borderRadius')) {
|
|
5234
|
+
const symbols = SVGRendererClass.prototype.symbols;
|
|
5235
|
+
addEvent(SeriesClass, 'afterColumnTranslate', seriesOnAfterColumnTranslate, {
|
|
5236
|
+
// After columnrange and polar column modifications
|
|
5237
|
+
order: 9
|
|
5238
|
+
});
|
|
5239
|
+
addEvent(PieSeriesClass, 'afterTranslate', pieSeriesOnAfterTranslate);
|
|
5240
|
+
SVGElementClass.symbolCustomAttribs.push('borderRadius', 'brBoxHeight', 'brBoxY', 'brEnd', 'brStart');
|
|
5241
|
+
oldArc = symbols.arc;
|
|
5242
|
+
oldRoundedRect = symbols.roundedRect;
|
|
5243
|
+
symbols.arc = arc;
|
|
5244
|
+
symbols.roundedRect = roundedRect;
|
|
5245
|
+
}
|
|
5246
|
+
}
|
|
5247
|
+
/**
|
|
5248
|
+
* Utility function to get the full border radius options object, from a simple
|
|
5249
|
+
* number or a partial options object.
|
|
5250
|
+
* @internal
|
|
5251
|
+
*/
|
|
5252
|
+
function borderRadiusObject(options, seriesBROptions) {
|
|
5253
|
+
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isObject)(options)) {
|
|
5254
|
+
options = { radius: options || 0 };
|
|
5255
|
+
}
|
|
5256
|
+
return (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(defaultBorderRadiusOptions, seriesBROptions, options);
|
|
5257
|
+
}
|
|
5258
|
+
/** @internal */
|
|
5259
|
+
function pieSeriesOnAfterTranslate() {
|
|
5260
|
+
const borderRadius = borderRadiusObject(this.options.borderRadius);
|
|
5261
|
+
for (const point of this.points) {
|
|
5262
|
+
const shapeArgs = point.shapeArgs;
|
|
5263
|
+
if (shapeArgs) {
|
|
5264
|
+
shapeArgs.borderRadius = relativeLength(borderRadius.radius, (shapeArgs.r || 0) - ((shapeArgs.innerR) || 0));
|
|
5265
|
+
}
|
|
5266
|
+
}
|
|
5267
|
+
}
|
|
5268
|
+
/**
|
|
5269
|
+
* Extend roundedRect with individual cutting through rOffset.
|
|
5270
|
+
* @internal
|
|
5271
|
+
*/
|
|
5272
|
+
function roundedRect(x, y, width, height, options = {}) {
|
|
5273
|
+
const path = oldRoundedRect(x, y, width, height, options), { r = 0, brBoxHeight = height, brBoxY = y } = options, brOffsetTop = y - brBoxY, brOffsetBtm = (brBoxY + brBoxHeight) - (y + height),
|
|
5274
|
+
// When the distance to the border-radius box is greater than the r
|
|
5275
|
+
// itself, it means no border radius. The -0.1 accounts for float
|
|
5276
|
+
// rounding errors.
|
|
5277
|
+
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);
|
|
5278
|
+
/*
|
|
5279
|
+
|
|
5280
|
+
The naming of control points:
|
|
5281
|
+
|
|
5282
|
+
/ a -------- b \
|
|
5283
|
+
/ \
|
|
5284
|
+
h c
|
|
5285
|
+
| |
|
|
5286
|
+
| |
|
|
5287
|
+
| |
|
|
5288
|
+
g d
|
|
5289
|
+
\ /
|
|
5290
|
+
\ f -------- e /
|
|
5291
|
+
|
|
5292
|
+
*/
|
|
5293
|
+
const a = [x + rTop, y], b = [x + width - rTop, y], c = [x + width, y + rTop], d = [
|
|
5294
|
+
x + width, y + height - rBtm
|
|
5295
|
+
], e = [
|
|
5296
|
+
x + width - rBtm,
|
|
5297
|
+
y + height
|
|
5298
|
+
], f = [x + rBtm, y + height], g = [x, y + height - rBtm], h = [x, y + rTop];
|
|
5299
|
+
const applyPythagoras = (r, altitude) => Math.sqrt(Math.pow(r, 2) - Math.pow(altitude, 2));
|
|
5300
|
+
// Inside stacks, cut off part of the top
|
|
5301
|
+
if (cutTop) {
|
|
5302
|
+
const base = applyPythagoras(rTop, rTop - cutTop);
|
|
5303
|
+
a[0] -= base;
|
|
5304
|
+
b[0] += base;
|
|
5305
|
+
c[1] = h[1] = y + rTop - cutTop;
|
|
5306
|
+
}
|
|
5307
|
+
// Column is lower than the radius. Cut off bottom inside the top
|
|
5308
|
+
// radius.
|
|
5309
|
+
if (height < rTop - cutTop) {
|
|
5310
|
+
const base = applyPythagoras(rTop, rTop - cutTop - height);
|
|
5311
|
+
c[0] = d[0] = x + width - rTop + base;
|
|
5312
|
+
e[0] = Math.min(c[0], e[0]);
|
|
5313
|
+
f[0] = Math.max(d[0], f[0]);
|
|
5314
|
+
g[0] = h[0] = x + rTop - base;
|
|
5315
|
+
c[1] = h[1] = y + height;
|
|
5316
|
+
}
|
|
5317
|
+
// Inside stacks, cut off part of the bottom
|
|
5318
|
+
if (cutBtm) {
|
|
5319
|
+
const base = applyPythagoras(rBtm, rBtm - cutBtm);
|
|
5320
|
+
e[0] += base;
|
|
5321
|
+
f[0] -= base;
|
|
5322
|
+
d[1] = g[1] = y + height - rBtm + cutBtm;
|
|
5323
|
+
}
|
|
5324
|
+
// Cut off top inside the bottom radius
|
|
5325
|
+
if (height < rBtm - cutBtm) {
|
|
5326
|
+
const base = applyPythagoras(rBtm, rBtm - cutBtm - height);
|
|
5327
|
+
c[0] = d[0] = x + width - rBtm + base;
|
|
5328
|
+
b[0] = Math.min(c[0], b[0]);
|
|
5329
|
+
a[0] = Math.max(d[0], a[0]);
|
|
5330
|
+
g[0] = h[0] = x + rBtm - base;
|
|
5331
|
+
d[1] = g[1] = y;
|
|
5332
|
+
}
|
|
5333
|
+
// Preserve the box for data labels
|
|
5334
|
+
path.length = 0;
|
|
5335
|
+
path.push(['M', ...a],
|
|
5336
|
+
// Top side
|
|
5337
|
+
['L', ...b],
|
|
5338
|
+
// Top right corner
|
|
5339
|
+
['A', rTop, rTop, 0, 0, 1, ...c],
|
|
5340
|
+
// Right side
|
|
5341
|
+
['L', ...d],
|
|
5342
|
+
// Bottom right corner
|
|
5343
|
+
['A', rBtm, rBtm, 0, 0, 1, ...e],
|
|
5344
|
+
// Bottom side
|
|
5345
|
+
['L', ...f],
|
|
5346
|
+
// Bottom left corner
|
|
5347
|
+
['A', rBtm, rBtm, 0, 0, 1, ...g],
|
|
5348
|
+
// Left side
|
|
5349
|
+
['L', ...h],
|
|
5350
|
+
// Top left corner
|
|
5351
|
+
['A', rTop, rTop, 0, 0, 1, ...a], ['Z']);
|
|
5352
|
+
return path;
|
|
5353
|
+
}
|
|
5354
|
+
/* *
|
|
5355
|
+
*
|
|
5356
|
+
* API Declarations
|
|
5357
|
+
*
|
|
5358
|
+
* */
|
|
5359
|
+
/**
|
|
5360
|
+
* Detailed options for border radius.
|
|
5361
|
+
*
|
|
5362
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
5363
|
+
* Rounded columns
|
|
5364
|
+
* @sample highcharts/plotoptions/series-border-radius
|
|
5365
|
+
* Column and pie with rounded border
|
|
5366
|
+
*
|
|
5367
|
+
* @interface Highcharts.BorderRadiusOptionsObject
|
|
5368
|
+
*/ /**
|
|
5369
|
+
* The border radius. A number signifies pixels. A percentage string, like for
|
|
5370
|
+
* example `50%`, signifies a relative size. For columns this is relative to the
|
|
5371
|
+
* column width, for pies it is relative to the radius and the inner radius.
|
|
5372
|
+
*
|
|
5373
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
5374
|
+
* Rounded columns
|
|
5375
|
+
* @sample highcharts/plotoptions/series-border-radius
|
|
5376
|
+
* Column and pie with rounded border
|
|
5377
|
+
*
|
|
5378
|
+
* @name Highcharts.BorderRadiusOptionsObject#radius
|
|
5379
|
+
* @type {string|number|undefined}
|
|
5380
|
+
*/ /**
|
|
5381
|
+
* The scope of the rounding for column charts or plot bands. In a stacked
|
|
5382
|
+
* column chart, the value `point` means each single point will get rounded
|
|
5383
|
+
* corners. The value `stack` means the rounding will apply to the full
|
|
5384
|
+
* stack, so that only points close to the top or bottom will receive
|
|
5385
|
+
* rounding.
|
|
5386
|
+
*
|
|
5387
|
+
* Similarly, for plot bands, the `individual` value means each plot band
|
|
5388
|
+
* will get rounded corners.
|
|
5389
|
+
*
|
|
5390
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
5391
|
+
* Rounded columns
|
|
5392
|
+
*
|
|
5393
|
+
* @name Highcharts.BorderRadiusOptionsObject#scope
|
|
5394
|
+
* @type {"individual"|"point"|"stack"|undefined}
|
|
5395
|
+
*/ /**
|
|
5396
|
+
* For column charts, where in the point or stack to apply rounding. The `end`
|
|
5397
|
+
* value means only those corners at the point value will be rounded, leaving
|
|
5398
|
+
* the corners at the base or threshold unrounded. This is the most intuitive
|
|
5399
|
+
* behavior. The `all` value means also the base will be rounded.
|
|
5400
|
+
*
|
|
5401
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius-where-all
|
|
5402
|
+
* Rounding on all corners
|
|
5403
|
+
*
|
|
5404
|
+
* @name Highcharts.BorderRadiusOptionsObject#where
|
|
5405
|
+
* @type {"all"|"end"|undefined}
|
|
5406
|
+
* @default end
|
|
5407
|
+
*/
|
|
5408
|
+
(''); // Keeps doclets above in JS file
|
|
5409
|
+
|
|
4992
5410
|
;// ./code/es-modules/Core/Renderer/SVG/Symbols.js
|
|
4993
5411
|
/* *
|
|
4994
5412
|
*
|
|
@@ -5025,11 +5443,11 @@ const NavigatorDefaults = {
|
|
|
5025
5443
|
* @return {Highcharts.SVGPathArray}
|
|
5026
5444
|
* Path
|
|
5027
5445
|
*/
|
|
5028
|
-
function
|
|
5446
|
+
function Symbols_arc(cx, cy, w, h, options) {
|
|
5029
5447
|
const arc = [];
|
|
5030
5448
|
if (options) {
|
|
5031
5449
|
let start = options.start || 0, end = options.end || 0;
|
|
5032
|
-
const rx = (
|
|
5450
|
+
const rx = (options.r ?? w), ry = (options.r ?? (h || w)),
|
|
5033
5451
|
// Subtract a small number to prevent cos and sin of start and end
|
|
5034
5452
|
// from becoming equal on 360 arcs (#1561). See "Arc proximity"
|
|
5035
5453
|
// tests at samples/unit-tests/svgrenderer/symbol/demo.js
|
|
@@ -5039,16 +5457,17 @@ function arc(cx, cy, w, h, options) {
|
|
|
5039
5457
|
start = Math.PI / 2;
|
|
5040
5458
|
end = Math.PI * 2.5 - proximity;
|
|
5041
5459
|
}
|
|
5042
|
-
const innerRadius = options.innerR, open = (
|
|
5460
|
+
const innerRadius = options.innerR, open = (options.open ?? fullCircle), cosStart = fullCircle ? 0 : Math.cos(start), sinStart = fullCircle ? 1 : Math.sin(start), cosEnd = fullCircle ? 0 : Math.cos(end), sinEnd = fullCircle ? 1 : Math.sin(end),
|
|
5043
5461
|
// Proximity takes care of rounding errors around PI (#6971)
|
|
5044
|
-
longArc =
|
|
5462
|
+
longArc = options.longArc ??
|
|
5463
|
+
(end - start - Math.PI < proximity ? 0 : 1);
|
|
5045
5464
|
let arcSegment = [
|
|
5046
5465
|
'A', // ArcTo
|
|
5047
5466
|
rx, // X radius
|
|
5048
5467
|
ry, // Y radius
|
|
5049
5468
|
0, // Slanting
|
|
5050
5469
|
longArc, // Long or short arc
|
|
5051
|
-
(
|
|
5470
|
+
(options.clockwise ?? 1), // Clockwise
|
|
5052
5471
|
// Use a static pixel offset for full circle (#21701)
|
|
5053
5472
|
cx + (fullCircle ? 0.001 : rx * cosEnd),
|
|
5054
5473
|
cy + ry * sinEnd
|
|
@@ -5113,7 +5532,7 @@ function arc(cx, cy, w, h, options) {
|
|
|
5113
5532
|
*/
|
|
5114
5533
|
function callout(x, y, w, h, options) {
|
|
5115
5534
|
const arrowLength = 6, halfDistance = 6, r = Math.min((options?.r) || 0, w, h), safeDistance = r + halfDistance, anchorX = options?.anchorX, anchorY = options?.anchorY || 0;
|
|
5116
|
-
const path =
|
|
5535
|
+
const path = Symbols_roundedRect(x, y, w, h, { r });
|
|
5117
5536
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(anchorX)) {
|
|
5118
5537
|
return path;
|
|
5119
5538
|
}
|
|
@@ -5185,7 +5604,7 @@ function callout(x, y, w, h, options) {
|
|
|
5185
5604
|
*/
|
|
5186
5605
|
function circle(x, y, w, h) {
|
|
5187
5606
|
// Return a full arc
|
|
5188
|
-
return
|
|
5607
|
+
return Symbols_arc(x + w / 2, y + h / 2, w / 2, h / 2, {
|
|
5189
5608
|
start: Math.PI * 0.5,
|
|
5190
5609
|
end: Math.PI * 2.5,
|
|
5191
5610
|
open: false
|
|
@@ -5233,7 +5652,7 @@ function diamond(x, y, w, h) {
|
|
|
5233
5652
|
*/
|
|
5234
5653
|
function rect(x, y, w, h, options) {
|
|
5235
5654
|
if (options?.r) {
|
|
5236
|
-
return
|
|
5655
|
+
return Symbols_roundedRect(x, y, w, h, options);
|
|
5237
5656
|
}
|
|
5238
5657
|
return [
|
|
5239
5658
|
['M', x, y],
|
|
@@ -5259,7 +5678,7 @@ function rect(x, y, w, h, options) {
|
|
|
5259
5678
|
* @return {Highcharts.SVGPathArray}
|
|
5260
5679
|
* Path
|
|
5261
5680
|
*/
|
|
5262
|
-
function
|
|
5681
|
+
function Symbols_roundedRect(x, y, w, h, options) {
|
|
5263
5682
|
const r = options?.r || 0;
|
|
5264
5683
|
return [
|
|
5265
5684
|
['M', x + r, y],
|
|
@@ -5335,7 +5754,7 @@ const Symbols = {
|
|
|
5335
5754
|
* @return {Highcharts.SVGPathArray}
|
|
5336
5755
|
* Path
|
|
5337
5756
|
*/
|
|
5338
|
-
arc,
|
|
5757
|
+
arc: Symbols_arc,
|
|
5339
5758
|
/**
|
|
5340
5759
|
* Callout shape used for default tooltips.
|
|
5341
5760
|
*
|
|
@@ -5416,7 +5835,7 @@ const Symbols = {
|
|
|
5416
5835
|
* @return {Highcharts.SVGPathArray}
|
|
5417
5836
|
* Path
|
|
5418
5837
|
*/
|
|
5419
|
-
roundedRect,
|
|
5838
|
+
roundedRect: Symbols_roundedRect,
|
|
5420
5839
|
/**
|
|
5421
5840
|
* Rect symbol path.
|
|
5422
5841
|
*
|
|
@@ -5541,6 +5960,7 @@ const Symbols = {
|
|
|
5541
5960
|
|
|
5542
5961
|
|
|
5543
5962
|
|
|
5963
|
+
|
|
5544
5964
|
/* *
|
|
5545
5965
|
*
|
|
5546
5966
|
* Constants
|
|
@@ -5551,7 +5971,7 @@ const Symbols = {
|
|
|
5551
5971
|
* @internal
|
|
5552
5972
|
*/
|
|
5553
5973
|
function navigatorHandle(_x, _y, width, height, options = {}) {
|
|
5554
|
-
const halfWidth = options.width ? options.width / 2 : width, markerPosition = 1.5, r = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.relativeLength)(options.borderRadius
|
|
5974
|
+
const halfWidth = options.width ? options.width / 2 : width, markerPosition = 1.5, r = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.relativeLength)(borderRadiusObject(options.borderRadius).radius, Math.min(halfWidth * 2, height));
|
|
5555
5975
|
height = options.height || height;
|
|
5556
5976
|
return [
|
|
5557
5977
|
['M', -markerPosition, height / 2 - 3.5],
|
|
@@ -5636,7 +6056,7 @@ const StockUtilities = {
|
|
|
5636
6056
|
* */
|
|
5637
6057
|
|
|
5638
6058
|
|
|
5639
|
-
const { defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
6059
|
+
const { defaultOptions: NavigatorComposition_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
5640
6060
|
|
|
5641
6061
|
const { composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
5642
6062
|
|
|
@@ -5662,7 +6082,7 @@ function NavigatorComposition_compose(ChartClass, AxisClass, SeriesClass) {
|
|
|
5662
6082
|
if ((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.pushUnique)(composed, 'Navigator')) {
|
|
5663
6083
|
ChartClass.prototype.setFixedRange = NavigatorComposition_setFixedRange;
|
|
5664
6084
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.extend)((highcharts_SVGRenderer_commonjs_highcharts_SVGRenderer_commonjs2_highcharts_SVGRenderer_root_Highcharts_SVGRenderer_default()).prototype.symbols, Navigator_NavigatorSymbols);
|
|
5665
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.extend)(
|
|
6085
|
+
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.extend)(NavigatorComposition_defaultOptions, { navigator: Navigator_NavigatorDefaults });
|
|
5666
6086
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(SeriesClass, 'afterUpdate', onSeriesAfterUpdate);
|
|
5667
6087
|
}
|
|
5668
6088
|
}
|
|
@@ -5744,8 +6164,8 @@ var ScrollbarAxis;
|
|
|
5744
6164
|
ScrollbarAxis.compose = compose;
|
|
5745
6165
|
/** @internal */
|
|
5746
6166
|
function getExtremes(axis) {
|
|
5747
|
-
const axisMin = (
|
|
5748
|
-
const axisMax = (
|
|
6167
|
+
const axisMin = (axis.options?.min ?? axis.min);
|
|
6168
|
+
const axisMax = (axis.options?.max ?? axis.max);
|
|
5749
6169
|
return {
|
|
5750
6170
|
axisMin,
|
|
5751
6171
|
axisMax,
|
|
@@ -6284,7 +6704,7 @@ class Scrollbar {
|
|
|
6284
6704
|
buttonToMaxClick(e) {
|
|
6285
6705
|
const scroller = this;
|
|
6286
6706
|
const range = ((scroller.to - scroller.from) *
|
|
6287
|
-
(
|
|
6707
|
+
(scroller.options.step ?? 0.2));
|
|
6288
6708
|
scroller.updatePosition(scroller.from + range, scroller.to + range);
|
|
6289
6709
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(scroller, 'changed', {
|
|
6290
6710
|
from: scroller.from,
|
|
@@ -6296,7 +6716,7 @@ class Scrollbar {
|
|
|
6296
6716
|
buttonToMinClick(e) {
|
|
6297
6717
|
const scroller = this;
|
|
6298
6718
|
const range = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.correctFloat)(scroller.to - scroller.from) *
|
|
6299
|
-
(
|
|
6719
|
+
(scroller.options.step ?? 0.2);
|
|
6300
6720
|
scroller.updatePosition((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.correctFloat)(scroller.from - range), (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.correctFloat)(scroller.to - range));
|
|
6301
6721
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(scroller, 'changed', {
|
|
6302
6722
|
from: scroller.from,
|
|
@@ -6428,10 +6848,11 @@ class Scrollbar {
|
|
|
6428
6848
|
scroller.renderer = renderer;
|
|
6429
6849
|
scroller.userOptions = options;
|
|
6430
6850
|
scroller.options = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(Scrollbar_ScrollbarDefaults, Scrollbar_defaultOptions.scrollbar, options);
|
|
6431
|
-
scroller.options.margin = (
|
|
6851
|
+
scroller.options.margin = (scroller.options.margin ?? 10);
|
|
6432
6852
|
scroller.chart = chart;
|
|
6433
6853
|
// Backward compatibility
|
|
6434
|
-
scroller.size =
|
|
6854
|
+
scroller.size = scroller.options.size ??
|
|
6855
|
+
scroller.options.height;
|
|
6435
6856
|
// Init
|
|
6436
6857
|
if (options.enabled) {
|
|
6437
6858
|
scroller.render();
|
|
@@ -6721,9 +7142,9 @@ class Scrollbar {
|
|
|
6721
7142
|
* @function Highcharts.Scrollbar#shouldUpdateExtremes
|
|
6722
7143
|
*/
|
|
6723
7144
|
shouldUpdateExtremes(eventType) {
|
|
6724
|
-
return ((
|
|
7145
|
+
return ((this.options.liveRedraw ?? ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).svg &&
|
|
6725
7146
|
!(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isTouchDevice &&
|
|
6726
|
-
!this.chart.boosted) ||
|
|
7147
|
+
!this.chart.boosted)) ||
|
|
6727
7148
|
// Mouseup always should change extremes
|
|
6728
7149
|
eventType === 'mouseup' ||
|
|
6729
7150
|
eventType === 'touchend' ||
|
|
@@ -7243,18 +7664,18 @@ class Navigator {
|
|
|
7243
7664
|
// it. For example hidden series, but visible navigator (#6022).
|
|
7244
7665
|
if (rendered) {
|
|
7245
7666
|
pxMin = 0;
|
|
7246
|
-
pxMax = (
|
|
7667
|
+
pxMax = (xAxis.width ?? scrollbarXAxis.width);
|
|
7247
7668
|
}
|
|
7248
7669
|
else {
|
|
7249
7670
|
return;
|
|
7250
7671
|
}
|
|
7251
7672
|
}
|
|
7252
|
-
navigator.left = (
|
|
7253
|
-
// In case of scrollbar only, without navigator
|
|
7254
|
-
chart.plotLeft + scrollButtonSize +
|
|
7673
|
+
navigator.left = (xAxis.left ?? chart.plotLeft + scrollButtonSize +
|
|
7255
7674
|
(inverted ? chart.plotWidth : 0));
|
|
7256
|
-
let zoomedMax = navigator.size = navigatorSize =
|
|
7257
|
-
|
|
7675
|
+
let zoomedMax = navigator.size = navigatorSize =
|
|
7676
|
+
xAxis.len ??
|
|
7677
|
+
(inverted ? chart.plotHeight : chart.plotWidth) -
|
|
7678
|
+
2 * scrollButtonSize;
|
|
7258
7679
|
if (inverted) {
|
|
7259
7680
|
navigatorWidth = scrollbarHeight;
|
|
7260
7681
|
}
|
|
@@ -7262,8 +7683,8 @@ class Navigator {
|
|
|
7262
7683
|
navigatorWidth = navigatorSize + 2 * scrollButtonSize;
|
|
7263
7684
|
}
|
|
7264
7685
|
// Get the pixel position of the handles
|
|
7265
|
-
pxMin = (
|
|
7266
|
-
pxMax = (
|
|
7686
|
+
pxMin = (pxMin ?? xAxis.toPixels(min, true));
|
|
7687
|
+
pxMax = (pxMax ?? xAxis.toPixels(max, true));
|
|
7267
7688
|
// Verify (#1851, #2238)
|
|
7268
7689
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(pxMin) || Math.abs(pxMin) === Infinity) {
|
|
7269
7690
|
pxMin = 0;
|
|
@@ -7542,11 +7963,10 @@ class Navigator {
|
|
|
7542
7963
|
navigator.render(0, 0, chartX - dragOffset, chartX - dragOffset + range);
|
|
7543
7964
|
}
|
|
7544
7965
|
if (navigator.hasDragged &&
|
|
7545
|
-
(
|
|
7966
|
+
(navigator.scrollbarOptions?.liveRedraw ?? (
|
|
7546
7967
|
// By default, don't run live redraw on touch
|
|
7547
7968
|
// devices or if the chart is in boost.
|
|
7548
|
-
!Navigator_isTouchDevice &&
|
|
7549
|
-
!this.chart.boosted)) {
|
|
7969
|
+
!Navigator_isTouchDevice && !this.chart.boosted))) {
|
|
7550
7970
|
e.DOMType = e.type;
|
|
7551
7971
|
setTimeout(function () {
|
|
7552
7972
|
navigator.onMouseUp(e);
|
|
@@ -7735,8 +8155,10 @@ class Navigator {
|
|
|
7735
8155
|
offset: 0,
|
|
7736
8156
|
index: yAxisIndex,
|
|
7737
8157
|
isInternal: true,
|
|
7738
|
-
reversed: (
|
|
7739
|
-
navigatorOptions.yAxis.reversed)
|
|
8158
|
+
reversed: ((navigatorOptions.yAxis &&
|
|
8159
|
+
navigatorOptions.yAxis.reversed) ??
|
|
8160
|
+
(chart.yAxis[0] && chart.yAxis[0].reversed) ??
|
|
8161
|
+
false), // #14060
|
|
7740
8162
|
zoomEnabled: false
|
|
7741
8163
|
}, chart.inverted ? {
|
|
7742
8164
|
width: height
|
|
@@ -7822,7 +8244,9 @@ class Navigator {
|
|
|
7822
8244
|
*/
|
|
7823
8245
|
setOpposite() {
|
|
7824
8246
|
const navigatorOptions = this.navigatorOptions, navigatorEnabled = this.navigatorEnabled, chart = this.chart;
|
|
7825
|
-
this.opposite =
|
|
8247
|
+
this.opposite =
|
|
8248
|
+
navigatorOptions.opposite ??
|
|
8249
|
+
Boolean(!navigatorEnabled && chart.inverted); // #6262
|
|
7826
8250
|
}
|
|
7827
8251
|
/**
|
|
7828
8252
|
* Get the union data extremes of the chart - the outer data extremes of the
|
|
@@ -7836,9 +8260,8 @@ class Navigator {
|
|
|
7836
8260
|
let ret;
|
|
7837
8261
|
if (!returnFalseOnNoBaseSeries || baseAxis.dataMin !== null) {
|
|
7838
8262
|
ret = {
|
|
7839
|
-
dataMin: (
|
|
7840
|
-
time.parse(navAxisOptions?.
|
|
7841
|
-
dataMax: (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.pick)(time.parse(navAxisOptions?.max), numExt('max', time.parse(baseAxisOptions.max), baseAxis.dataMax, navAxis.dataMax, navAxis.max))
|
|
8263
|
+
dataMin: (time.parse(navAxisOptions?.min) ?? numExt('min', time.parse(baseAxisOptions.min), baseAxis.dataMin, navAxis.dataMin, navAxis.min)),
|
|
8264
|
+
dataMax: (time.parse(navAxisOptions?.max) ?? numExt('max', time.parse(baseAxisOptions.max), baseAxis.dataMax, navAxis.dataMax, navAxis.max))
|
|
7842
8265
|
};
|
|
7843
8266
|
}
|
|
7844
8267
|
return ret;
|
|
@@ -7953,11 +8376,9 @@ class Navigator {
|
|
|
7953
8376
|
userNavOptions.dataLabels = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.splat)(userNavOptions.dataLabels);
|
|
7954
8377
|
mergedNavSeriesOptions = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(baseOptions, navSeriesMixin, userNavOptions, baseNavigatorOptions);
|
|
7955
8378
|
// Once nav series type is resolved, pick correct pointRange
|
|
7956
|
-
mergedNavSeriesOptions.pointRange = (
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
// Fallback to default values, e.g. `null` for column
|
|
7960
|
-
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
8379
|
+
mergedNavSeriesOptions.pointRange = (userNavOptions.pointRange ??
|
|
8380
|
+
baseNavigatorOptions.pointRange ??
|
|
8381
|
+
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
7961
8382
|
// Merge data separately. Do a slice to avoid mutating the
|
|
7962
8383
|
// navigator options from base series (#4923).
|
|
7963
8384
|
const navigatorSeriesData = baseNavigatorOptions.data || userNavOptions.data, navigatorSeriesDataTable = baseNavigatorOptions.dataTable ||
|
|
@@ -8117,7 +8538,7 @@ class Navigator {
|
|
|
8117
8538
|
* @function Highcharts.Navigator#modifyBaseAxisExtremes
|
|
8118
8539
|
*/
|
|
8119
8540
|
modifyBaseAxisExtremes() {
|
|
8120
|
-
const baseXAxis = this, navigator = baseXAxis.chart.navigator, baseExtremes = baseXAxis.getExtremes(), baseMin = baseExtremes.min, baseMax = baseExtremes.max, baseDataMin = baseExtremes.dataMin, baseDataMax = baseExtremes.dataMax, range = baseMax - baseMin, stickToMin = navigator?.stickToMin, stickToMax = navigator?.stickToMax, overscroll = (
|
|
8541
|
+
const baseXAxis = this, navigator = baseXAxis.chart.navigator, baseExtremes = baseXAxis.getExtremes(), baseMin = baseExtremes.min, baseMax = baseExtremes.max, baseDataMin = baseExtremes.dataMin, baseDataMax = baseExtremes.dataMax, range = baseMax - baseMin, stickToMin = navigator?.stickToMin, stickToMax = navigator?.stickToMax, overscroll = (baseXAxis.ordinal?.convertOverscroll(baseXAxis.options.overscroll) ?? 0), navigatorSeries = navigator.series && navigator.series[0], hasSetExtremes = !!baseXAxis.setExtremes,
|
|
8121
8542
|
// When the extremes have been set by range selector button, don't
|
|
8122
8543
|
// stick to min or max. The range selector buttons will handle the
|
|
8123
8544
|
// extremes. (#5489)
|
|
@@ -8169,8 +8590,8 @@ class Navigator {
|
|
|
8169
8590
|
Math.round(navigator.zoomedMax) >= Math.round(navigator.size);
|
|
8170
8591
|
// If the scrollbar is scrolled all the way to the right, keep right as
|
|
8171
8592
|
// new data comes in, unless user set navigator.stickToMax to false.
|
|
8172
|
-
navigator.stickToMax = (
|
|
8173
|
-
this.chart.options.navigator.stickToMax
|
|
8593
|
+
navigator.stickToMax = (this.chart.options.navigator &&
|
|
8594
|
+
this.chart.options.navigator.stickToMax) ?? shouldStickToMax;
|
|
8174
8595
|
navigator.stickToMin = navigator.shouldStickToMin(baseSeries, navigator);
|
|
8175
8596
|
// Set the navigator series data to the new data of the base series
|
|
8176
8597
|
if (navigatorSeries && !navigator.hasNavigatorData) {
|
|
@@ -8321,7 +8742,6 @@ class Navigator {
|
|
|
8321
8742
|
|
|
8322
8743
|
|
|
8323
8744
|
|
|
8324
|
-
const { animObject: NavigatorComponent_animObject } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
8325
8745
|
|
|
8326
8746
|
const { format: NavigatorComponent_format } = (highcharts_Templating_commonjs_highcharts_Templating_commonjs2_highcharts_Templating_root_Highcharts_Templating_default());
|
|
8327
8747
|
|
|
@@ -8352,7 +8772,7 @@ class NavigatorComponent extends Accessibility_AccessibilityComponent {
|
|
|
8352
8772
|
component.proxyProvider
|
|
8353
8773
|
.updateGroupProxyElementPositions('navigator');
|
|
8354
8774
|
component.updateHandleValues();
|
|
8355
|
-
},
|
|
8775
|
+
}, (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.animObject)((this.chart.renderer.globalAnimation ?? true)).duration);
|
|
8356
8776
|
}
|
|
8357
8777
|
});
|
|
8358
8778
|
}
|
|
@@ -8613,11 +9033,11 @@ function addMockPointElement(point) {
|
|
|
8613
9033
|
const series = point.series, firstPointWithGraphic = findFirstPointWithGraphic(point), firstGraphic = firstPointWithGraphic && firstPointWithGraphic.graphic, parentGroup = firstGraphic ?
|
|
8614
9034
|
firstGraphic.parentGroup :
|
|
8615
9035
|
series.graph || series.group, mockPos = firstPointWithGraphic ? {
|
|
8616
|
-
x: (
|
|
8617
|
-
y: (
|
|
9036
|
+
x: (point.plotX ?? firstPointWithGraphic.plotX ?? 0),
|
|
9037
|
+
y: (point.plotY ?? firstPointWithGraphic.plotY ?? 0)
|
|
8618
9038
|
} : {
|
|
8619
|
-
x: (
|
|
8620
|
-
y: (
|
|
9039
|
+
x: (point.plotX ?? 0),
|
|
9040
|
+
y: (point.plotY ?? 0)
|
|
8621
9041
|
}, mockElement = makeMockElement(point, mockPos);
|
|
8622
9042
|
if (parentGroup && parentGroup.element) {
|
|
8623
9043
|
point.graphic = mockElement;
|
|
@@ -8729,7 +9149,7 @@ function getPointXDescription(point) {
|
|
|
8729
9149
|
*/
|
|
8730
9150
|
function getPointArrayMapValueDescription(point, prefix, suffix) {
|
|
8731
9151
|
const pre = prefix || '', suf = suffix || '', keyToValStr = function (key) {
|
|
8732
|
-
const num = pointNumberToString(point, (
|
|
9152
|
+
const num = pointNumberToString(point, (point[key] ?? point.options[key]));
|
|
8733
9153
|
return num !== void 0 ?
|
|
8734
9154
|
key + ': ' + pre + num + suf :
|
|
8735
9155
|
num;
|
|
@@ -8789,9 +9209,10 @@ function getPointAnnotationDescription(point) {
|
|
|
8789
9209
|
function getPointValueDescription(point) {
|
|
8790
9210
|
const series = point.series, chart = series.chart, seriesA11yOptions = series.options.accessibility, seriesValueDescFormat = seriesA11yOptions && seriesA11yOptions.point &&
|
|
8791
9211
|
seriesA11yOptions.point.valueDescriptionFormat, pointValueDescriptionFormat = seriesValueDescFormat ||
|
|
8792
|
-
chart.options.accessibility.point.valueDescriptionFormat, showXDescription = (
|
|
9212
|
+
chart.options.accessibility.point.valueDescriptionFormat, showXDescription = ((series.xAxis &&
|
|
8793
9213
|
series.xAxis.options.accessibility &&
|
|
8794
|
-
series.xAxis.options.accessibility.enabled
|
|
9214
|
+
series.xAxis.options.accessibility.enabled) ??
|
|
9215
|
+
(!chart.angular && series.type !== 'flowmap')), xDesc = showXDescription ? getPointXDescription(point) : '', context = {
|
|
8795
9216
|
point: point,
|
|
8796
9217
|
index: (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.defined)(point.index) ? (point.index + 1) : '',
|
|
8797
9218
|
xDescription: xDesc,
|
|
@@ -8876,8 +9297,10 @@ function defaultSeriesDescriptionFormatter(series) {
|
|
|
8876
9297
|
seriesNumber,
|
|
8877
9298
|
series,
|
|
8878
9299
|
chart
|
|
8879
|
-
}, combinationSuffix = chartTypes.length > 1 ? 'Combination' : '', summary = chart.langFormat('accessibility.series.summary.' + series.type + combinationSuffix, summaryContext) || chart.langFormat('accessibility.series.summary.default' + combinationSuffix, summaryContext), axisDescription = (shouldDescribeAxis('yAxis') ? ' ' + yAxisInfo + '.' : '') + (shouldDescribeAxis('xAxis') ? ' ' + xAxisInfo + '.' : ''), formatStr = (
|
|
8880
|
-
series.options.accessibility.descriptionFormat
|
|
9300
|
+
}, combinationSuffix = chartTypes.length > 1 ? 'Combination' : '', summary = chart.langFormat('accessibility.series.summary.' + series.type + combinationSuffix, summaryContext) || chart.langFormat('accessibility.series.summary.default' + combinationSuffix, summaryContext), axisDescription = (shouldDescribeAxis('yAxis') ? ' ' + yAxisInfo + '.' : '') + (shouldDescribeAxis('xAxis') ? ' ' + xAxisInfo + '.' : ''), formatStr = ((series.options.accessibility &&
|
|
9301
|
+
series.options.accessibility.descriptionFormat) ??
|
|
9302
|
+
chart.options.accessibility.series.descriptionFormat ??
|
|
9303
|
+
'');
|
|
8881
9304
|
return SeriesDescriber_format(formatStr, {
|
|
8882
9305
|
seriesDescription: summary,
|
|
8883
9306
|
authorDescription: (description ? ' ' + description : ''),
|
|
@@ -9436,6 +9859,7 @@ class ProxyElement {
|
|
|
9436
9859
|
margin: 0,
|
|
9437
9860
|
display: 'block',
|
|
9438
9861
|
position: 'absolute',
|
|
9862
|
+
'pointer-events': 'none',
|
|
9439
9863
|
'-ms-filter': 'progid:DXImageTransform.Microsoft.Alpha(Opacity=1)'
|
|
9440
9864
|
});
|
|
9441
9865
|
}
|
|
@@ -10620,15 +11044,19 @@ function isSkipSeries(series) {
|
|
|
10620
11044
|
* @private
|
|
10621
11045
|
*/
|
|
10622
11046
|
function isSkipPoint(point) {
|
|
10623
|
-
const series = point.series, nullInteraction = series.options.nullInteraction, pointOptions = point.options, pointA11yOptions = pointOptions.accessibility, a11yOptions = series.chart.options.accessibility, pointA11yDisabled = pointA11yOptions?.enabled === false
|
|
10624
|
-
|
|
11047
|
+
const series = point.series, nullInteraction = series.options.nullInteraction, pointOptions = point.options, pointA11yOptions = pointOptions.accessibility, a11yOptions = series.chart.options.accessibility, pointA11yDisabled = pointA11yOptions?.enabled === false,
|
|
11048
|
+
// Whether to skip null points. If the user did not set this
|
|
11049
|
+
// option, use the opposite of nullInteraction as the default
|
|
11050
|
+
// (#24650).
|
|
11051
|
+
skipNullPoints = a11yOptions
|
|
10625
11052
|
.keyboardNavigation
|
|
10626
11053
|
.seriesNavigation
|
|
10627
|
-
.skipNullPoints ??
|
|
11054
|
+
.skipNullPoints ?? !nullInteraction;
|
|
11055
|
+
return point.isNull && skipNullPoints ||
|
|
10628
11056
|
point.visible === false ||
|
|
10629
11057
|
point.isInside === false ||
|
|
10630
11058
|
pointA11yDisabled ||
|
|
10631
|
-
isSkipSeries(series)
|
|
11059
|
+
isSkipSeries(series);
|
|
10632
11060
|
}
|
|
10633
11061
|
/**
|
|
10634
11062
|
* Get the first point that is not a skip point in this series.
|
|
@@ -11675,7 +12103,7 @@ class ZoomComponent extends Accessibility_AccessibilityComponent {
|
|
|
11675
12103
|
[keys.space, keys.enter],
|
|
11676
12104
|
function () {
|
|
11677
12105
|
const res = onClick(this, chart);
|
|
11678
|
-
return (
|
|
12106
|
+
return (res ?? this.response.success);
|
|
11679
12107
|
}
|
|
11680
12108
|
]
|
|
11681
12109
|
],
|
|
@@ -12503,8 +12931,11 @@ const Options = {
|
|
|
12503
12931
|
* Alternatively, the HTML element to link can be passed in directly as
|
|
12504
12932
|
* an HTML node.
|
|
12505
12933
|
*
|
|
12506
|
-
*
|
|
12507
|
-
*
|
|
12934
|
+
* When the Exporting module is also loaded, the description
|
|
12935
|
+
* is embedded in the exported SVG as a Dublin Core
|
|
12936
|
+
* RDF `<metadata>` block, so it is preserved in downloaded images
|
|
12937
|
+
* for indexers and machine readers. If you need a visible caption
|
|
12938
|
+
* in the exported image, use the [caption](#caption) feature.
|
|
12508
12939
|
*
|
|
12509
12940
|
* If you need the description to be hidden visually, use the
|
|
12510
12941
|
* [accessibility.description](#accessibility.description) option.
|
|
@@ -12565,7 +12996,13 @@ const Options = {
|
|
|
12565
12996
|
*
|
|
12566
12997
|
* If the Accessibility module is loaded, this option is included by
|
|
12567
12998
|
* default as a long description of the chart in the hidden screen
|
|
12568
|
-
* reader information region.
|
|
12999
|
+
* reader information region. When the Exporting module is also loaded,
|
|
13000
|
+
* it is embedded into exported SVGs as a Dublin Core RDF `<metadata>`
|
|
13001
|
+
* block, so the description is preserved in downloaded images
|
|
13002
|
+
* for indexers and machine readers. The embedded value falls back
|
|
13003
|
+
* through [linkedDescription](#accessibility.linkedDescription),
|
|
13004
|
+
* [caption.text](#caption.text), and finally the generated
|
|
13005
|
+
* chart-type description.
|
|
12569
13006
|
*
|
|
12570
13007
|
* Note: Since Highcharts now supports captions and linked descriptions,
|
|
12571
13008
|
* it is preferred to define the description using those methods, as a
|
|
@@ -13554,7 +13991,6 @@ const langOptions = {
|
|
|
13554
13991
|
/* eslint-enable max-len */
|
|
13555
13992
|
|
|
13556
13993
|
|
|
13557
|
-
|
|
13558
13994
|
/* *
|
|
13559
13995
|
*
|
|
13560
13996
|
* Functions
|
|
@@ -13573,7 +14009,7 @@ function traverseSetOption(root, optionAsArray, val) {
|
|
|
13573
14009
|
let opt = root, prop, i = 0;
|
|
13574
14010
|
for (; i < optionAsArray.length - 1; ++i) {
|
|
13575
14011
|
prop = optionAsArray[i];
|
|
13576
|
-
opt = opt[prop] = (
|
|
14012
|
+
opt = opt[prop] = (opt[prop] ?? {});
|
|
13577
14013
|
}
|
|
13578
14014
|
opt[optionAsArray[optionAsArray.length - 1]] = val;
|
|
13579
14015
|
}
|
|
@@ -13779,7 +14215,7 @@ const { defaultOptions: Accessibility_defaultOptions } = (highcharts_commonjs_hi
|
|
|
13779
14215
|
|
|
13780
14216
|
const { doc: Accessibility_doc } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
13781
14217
|
|
|
13782
|
-
const { removeElement: Accessibility_removeElement } = Utils_HTMLUtilities;
|
|
14218
|
+
const { escapeStringForHTML: Accessibility_escapeStringForHTML, removeElement: Accessibility_removeElement, stripHTMLTagsFromString: Accessibility_stripHTMLTagsFromString } = Utils_HTMLUtilities;
|
|
13783
14219
|
|
|
13784
14220
|
|
|
13785
14221
|
|
|
@@ -14023,6 +14459,42 @@ class Accessibility {
|
|
|
14023
14459
|
});
|
|
14024
14460
|
}
|
|
14025
14461
|
}
|
|
14462
|
+
/**
|
|
14463
|
+
* Inject the accessibility description into the exported SVG as a
|
|
14464
|
+
* Dublin Core RDF metadata block. Runs on the source chart so the
|
|
14465
|
+
* `linkedDescription` selector resolves against the live DOM, then
|
|
14466
|
+
* mutates the export copy's `<svg>` element before its `innerHTML`
|
|
14467
|
+
* is serialized.
|
|
14468
|
+
* @private
|
|
14469
|
+
*/
|
|
14470
|
+
function chartOnGetSVG(e) {
|
|
14471
|
+
const a11y = this.accessibility;
|
|
14472
|
+
if (!a11y || a11y.zombie) {
|
|
14473
|
+
return;
|
|
14474
|
+
}
|
|
14475
|
+
const infoRegions = a11y.components.infoRegions;
|
|
14476
|
+
const text = infoRegions && (infoRegions.getLongdescText() ||
|
|
14477
|
+
infoRegions.getTypeDescriptionText());
|
|
14478
|
+
if (!text) {
|
|
14479
|
+
return;
|
|
14480
|
+
}
|
|
14481
|
+
const safe = Accessibility_escapeStringForHTML(Accessibility_stripHTMLTagsFromString(text, true));
|
|
14482
|
+
if (!safe.trim()) {
|
|
14483
|
+
return;
|
|
14484
|
+
}
|
|
14485
|
+
const box = e.chartCopy.renderer.box;
|
|
14486
|
+
box.querySelector(':scope > metadata')?.remove();
|
|
14487
|
+
box.insertAdjacentHTML('afterbegin', '<metadata>' +
|
|
14488
|
+
'<rdf:RDF ' +
|
|
14489
|
+
'xmlns:rdf="http://www.w3.org/' +
|
|
14490
|
+
'1999/02/22-rdf-syntax-ns#" ' +
|
|
14491
|
+
'xmlns:dc="http://purl.org/dc/elements/1.1/">' +
|
|
14492
|
+
'<rdf:Description>' +
|
|
14493
|
+
'<dc:description>' + safe + '</dc:description>' +
|
|
14494
|
+
'</rdf:Description>' +
|
|
14495
|
+
'</rdf:RDF>' +
|
|
14496
|
+
'</metadata>');
|
|
14497
|
+
}
|
|
14026
14498
|
/**
|
|
14027
14499
|
* Update with chart/series/point updates.
|
|
14028
14500
|
* @private
|
|
@@ -14110,6 +14582,7 @@ class Accessibility {
|
|
|
14110
14582
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(ChartClass, 'destroy', chartOnDestroy);
|
|
14111
14583
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(ChartClass, 'render', chartOnRender);
|
|
14112
14584
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(ChartClass, 'update', chartOnUpdate);
|
|
14585
|
+
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(ChartClass, 'getSVG', chartOnGetSVG);
|
|
14113
14586
|
// Mark dirty for update
|
|
14114
14587
|
['addSeries', 'init'].forEach((event) => {
|
|
14115
14588
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(ChartClass, event, function () {
|