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
package/modules/navigator.src.js
CHANGED
|
@@ -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/navigator
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -26,55 +26,55 @@ return /******/ (() => { // webpackBootstrap
|
|
|
26
26
|
/******/ "use strict";
|
|
27
27
|
/******/ var __webpack_modules__ = ({
|
|
28
28
|
|
|
29
|
-
/***/
|
|
30
|
-
|
|
29
|
+
/***/ 532
|
|
30
|
+
(module) {
|
|
31
31
|
|
|
32
|
-
module.exports =
|
|
32
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__532__;
|
|
33
33
|
|
|
34
|
-
/***/ }
|
|
34
|
+
/***/ },
|
|
35
35
|
|
|
36
|
-
/***/
|
|
37
|
-
|
|
36
|
+
/***/ 960
|
|
37
|
+
(module) {
|
|
38
38
|
|
|
39
|
-
module.exports =
|
|
39
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__960__;
|
|
40
40
|
|
|
41
|
-
/***/ }
|
|
41
|
+
/***/ },
|
|
42
42
|
|
|
43
|
-
/***/ 540
|
|
44
|
-
|
|
43
|
+
/***/ 540
|
|
44
|
+
(module) {
|
|
45
45
|
|
|
46
46
|
module.exports = __WEBPACK_EXTERNAL_MODULE__540__;
|
|
47
47
|
|
|
48
|
-
/***/ }
|
|
48
|
+
/***/ },
|
|
49
49
|
|
|
50
|
-
/***/
|
|
51
|
-
|
|
50
|
+
/***/ 512
|
|
51
|
+
(module) {
|
|
52
52
|
|
|
53
|
-
module.exports =
|
|
53
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__512__;
|
|
54
54
|
|
|
55
|
-
/***/ }
|
|
55
|
+
/***/ },
|
|
56
56
|
|
|
57
|
-
/***/
|
|
58
|
-
|
|
57
|
+
/***/ 944
|
|
58
|
+
(module) {
|
|
59
59
|
|
|
60
|
-
module.exports =
|
|
60
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__944__;
|
|
61
61
|
|
|
62
|
-
/***/ }
|
|
62
|
+
/***/ }
|
|
63
63
|
|
|
64
64
|
/******/ });
|
|
65
65
|
/************************************************************************/
|
|
66
66
|
/******/ // The module cache
|
|
67
|
-
/******/
|
|
67
|
+
/******/ const __webpack_module_cache__ = {};
|
|
68
68
|
/******/
|
|
69
69
|
/******/ // The require function
|
|
70
70
|
/******/ function __webpack_require__(moduleId) {
|
|
71
71
|
/******/ // Check if module is in cache
|
|
72
|
-
/******/
|
|
72
|
+
/******/ const cachedModule = __webpack_module_cache__[moduleId];
|
|
73
73
|
/******/ if (cachedModule !== undefined) {
|
|
74
74
|
/******/ return cachedModule.exports;
|
|
75
75
|
/******/ }
|
|
76
76
|
/******/ // Create a new module (and put it into the cache)
|
|
77
|
-
/******/
|
|
77
|
+
/******/ const module = __webpack_module_cache__[moduleId] = {
|
|
78
78
|
/******/ // no module.id needed
|
|
79
79
|
/******/ // no module.loaded needed
|
|
80
80
|
/******/ exports: {}
|
|
@@ -92,7 +92,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__960__;
|
|
|
92
92
|
/******/ (() => {
|
|
93
93
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
94
94
|
/******/ __webpack_require__.n = (module) => {
|
|
95
|
-
/******/
|
|
95
|
+
/******/ const getter = module && module.__esModule ?
|
|
96
96
|
/******/ () => (module['default']) :
|
|
97
97
|
/******/ () => (module);
|
|
98
98
|
/******/ __webpack_require__.d(getter, { a: getter });
|
|
@@ -102,11 +102,26 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__960__;
|
|
|
102
102
|
/******/
|
|
103
103
|
/******/ /* webpack/runtime/define property getters */
|
|
104
104
|
/******/ (() => {
|
|
105
|
-
/******/ // define getter functions for harmony exports
|
|
105
|
+
/******/ // define getter/value functions for harmony exports
|
|
106
106
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|
107
|
-
/******/
|
|
108
|
-
/******/
|
|
109
|
-
/******/
|
|
107
|
+
/******/ if(Array.isArray(definition)) {
|
|
108
|
+
/******/ var i = 0;
|
|
109
|
+
/******/ while(i < definition.length) {
|
|
110
|
+
/******/ var key = definition[i++];
|
|
111
|
+
/******/ var binding = definition[i++];
|
|
112
|
+
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
113
|
+
/******/ if(binding === 0) {
|
|
114
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
115
|
+
/******/ } else {
|
|
116
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
117
|
+
/******/ }
|
|
118
|
+
/******/ } else if(binding === 0) { i++; }
|
|
119
|
+
/******/ }
|
|
120
|
+
/******/ } else {
|
|
121
|
+
/******/ for(var key in definition) {
|
|
122
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
123
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
124
|
+
/******/ }
|
|
110
125
|
/******/ }
|
|
111
126
|
/******/ }
|
|
112
127
|
/******/ };
|
|
@@ -118,7 +133,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__960__;
|
|
|
118
133
|
/******/ })();
|
|
119
134
|
/******/
|
|
120
135
|
/************************************************************************/
|
|
121
|
-
|
|
136
|
+
let __webpack_exports__ = {};
|
|
122
137
|
|
|
123
138
|
// EXPORTS
|
|
124
139
|
__webpack_require__.d(__webpack_exports__, {
|
|
@@ -215,7 +230,7 @@ function onChartAfterSetChartSize() {
|
|
|
215
230
|
navigator.top = this.plotTop + scrollButtonSize;
|
|
216
231
|
}
|
|
217
232
|
else {
|
|
218
|
-
navigator.left = (
|
|
233
|
+
navigator.left = (xAxis.left ?? this.plotLeft + scrollButtonSize);
|
|
219
234
|
navigator.top = navigator.navigatorOptions.top ||
|
|
220
235
|
this.chartHeight -
|
|
221
236
|
navigator.height -
|
|
@@ -231,7 +246,7 @@ function onChartAfterSetChartSize() {
|
|
|
231
246
|
legendOptions.enabled &&
|
|
232
247
|
!legendOptions.floating) ?
|
|
233
248
|
legend.legendHeight +
|
|
234
|
-
(
|
|
249
|
+
(legendOptions.margin ?? 10) :
|
|
235
250
|
0) -
|
|
236
251
|
(this.titleOffset ? this.titleOffset[2] : 0);
|
|
237
252
|
}
|
|
@@ -256,7 +271,7 @@ function onChartAfterUpdate(event) {
|
|
|
256
271
|
(this.options.navigator.enabled ||
|
|
257
272
|
this.options.scrollbar.enabled)) {
|
|
258
273
|
this.scroller = this.navigator = new NavigatorConstructor(this);
|
|
259
|
-
if (
|
|
274
|
+
if (event.redraw ?? true) {
|
|
260
275
|
this.redraw(event.animation); // #7067
|
|
261
276
|
}
|
|
262
277
|
}
|
|
@@ -434,7 +449,7 @@ class NavigatorAxisAdditions {
|
|
|
434
449
|
*/
|
|
435
450
|
toFixedRange(pxMin, pxMax, fixedMin, fixedMax) {
|
|
436
451
|
const axis = this.axis, halfPointRange = (axis.pointRange || 0) / 2;
|
|
437
|
-
let newMin =
|
|
452
|
+
let newMin = fixedMin ?? axis.translate(pxMin, true, !axis.horiz), newMax = fixedMax ?? axis.translate(pxMax, true, !axis.horiz);
|
|
438
453
|
// Add/remove half point range to/from the extremes (#1172)
|
|
439
454
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.defined)(fixedMin)) {
|
|
440
455
|
newMin = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.correctFloat)(newMin + halfPointRange);
|
|
@@ -661,7 +676,7 @@ const NavigatorDefaults = {
|
|
|
661
676
|
*
|
|
662
677
|
* @type {Highcharts.ColorType}
|
|
663
678
|
*/
|
|
664
|
-
maskFill: 'color-mix(var(--highcharts-highlight-color-60) 30%, transparent)',
|
|
679
|
+
maskFill: 'color-mix(in srgb, var(--highcharts-highlight-color-60) 30%, transparent)', // eslint-disable-line max-len
|
|
665
680
|
/**
|
|
666
681
|
* The color of the line marking the currently zoomed area in the
|
|
667
682
|
* navigator.
|
|
@@ -800,11 +815,18 @@ const NavigatorDefaults = {
|
|
|
800
815
|
id: 'highcharts-navigator-series',
|
|
801
816
|
className: 'highcharts-navigator-series',
|
|
802
817
|
/**
|
|
803
|
-
* Sets the
|
|
818
|
+
* Sets the color of the navigator series.
|
|
804
819
|
*
|
|
805
820
|
* @type {Highcharts.ColorType}
|
|
806
821
|
* @apioption navigator.series.color
|
|
807
822
|
*/
|
|
823
|
+
/**
|
|
824
|
+
* Sets the fill color of the navigator series. Applies to series
|
|
825
|
+
* types with a filled area, like the default `areaspline`.
|
|
826
|
+
*
|
|
827
|
+
* @type {Highcharts.ColorType}
|
|
828
|
+
* @apioption navigator.series.fillColor
|
|
829
|
+
*/
|
|
808
830
|
/**
|
|
809
831
|
* Line color for the navigator series. Allows setting the color
|
|
810
832
|
* while disallowing the default candlestick setting.
|
|
@@ -989,6 +1011,401 @@ const NavigatorDefaults = {
|
|
|
989
1011
|
*/
|
|
990
1012
|
(''); // Keeps doclets above in JS file
|
|
991
1013
|
|
|
1014
|
+
;// ./code/es-modules/Extensions/BorderRadius.js
|
|
1015
|
+
/* unused harmony import specifier */ var relativeLength;
|
|
1016
|
+
/* unused harmony import specifier */ var isObject;
|
|
1017
|
+
/* unused harmony import specifier */ var extend;
|
|
1018
|
+
/* unused harmony import specifier */ var addEvent;
|
|
1019
|
+
/* *
|
|
1020
|
+
*
|
|
1021
|
+
* Highcharts Border Radius module
|
|
1022
|
+
*
|
|
1023
|
+
* Author: Torstein Hønsi
|
|
1024
|
+
*
|
|
1025
|
+
* Integration of this software requires a license.
|
|
1026
|
+
* - For commercial use, see www.highcharts.com/license
|
|
1027
|
+
* - For non-commercial, see www.highcharts.com/license-eula
|
|
1028
|
+
*
|
|
1029
|
+
*
|
|
1030
|
+
* */
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
const { defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
1034
|
+
|
|
1035
|
+
const { noop } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
1036
|
+
|
|
1037
|
+
/* *
|
|
1038
|
+
*
|
|
1039
|
+
* Constants
|
|
1040
|
+
*
|
|
1041
|
+
* */
|
|
1042
|
+
const defaultBorderRadiusOptions = {
|
|
1043
|
+
radius: 0,
|
|
1044
|
+
scope: 'stack',
|
|
1045
|
+
where: void 0
|
|
1046
|
+
};
|
|
1047
|
+
/* *
|
|
1048
|
+
*
|
|
1049
|
+
* Variables
|
|
1050
|
+
*
|
|
1051
|
+
* */
|
|
1052
|
+
let oldArc = (/* unused pure expression or super */ null && (noop));
|
|
1053
|
+
let oldRoundedRect = (/* unused pure expression or super */ null && (noop));
|
|
1054
|
+
/* *
|
|
1055
|
+
*
|
|
1056
|
+
* Functions
|
|
1057
|
+
*
|
|
1058
|
+
* */
|
|
1059
|
+
/** @internal */
|
|
1060
|
+
function applyBorderRadius(path, i, r) {
|
|
1061
|
+
const a = path[i];
|
|
1062
|
+
let b = path[i + 1];
|
|
1063
|
+
if (b[0] === 'Z') {
|
|
1064
|
+
b = path[0];
|
|
1065
|
+
}
|
|
1066
|
+
let line, arc, fromLineToArc;
|
|
1067
|
+
// From straight line to arc
|
|
1068
|
+
if ((a[0] === 'M' || a[0] === 'L') && b[0] === 'A') {
|
|
1069
|
+
line = a;
|
|
1070
|
+
arc = b;
|
|
1071
|
+
fromLineToArc = true;
|
|
1072
|
+
// From arc to straight line
|
|
1073
|
+
}
|
|
1074
|
+
else if (a[0] === 'A' && (b[0] === 'M' || b[0] === 'L')) {
|
|
1075
|
+
line = b;
|
|
1076
|
+
arc = a;
|
|
1077
|
+
}
|
|
1078
|
+
if (line && arc && arc.params) {
|
|
1079
|
+
const bigR = arc[1],
|
|
1080
|
+
// In our use cases, outer pie slice arcs are clockwise and inner
|
|
1081
|
+
// arcs (donut/sunburst etc) are anti-clockwise
|
|
1082
|
+
clockwise = arc[5], params = arc.params, { start, end, cx, cy } = params;
|
|
1083
|
+
// Some geometric constants
|
|
1084
|
+
const relativeR = clockwise ? (bigR - r) : (bigR + r),
|
|
1085
|
+
// The angle, on the big arc, that the border radius arc takes up
|
|
1086
|
+
angleOfBorderRadius = relativeR ? Math.asin(r / relativeR) : 0, angleOffset = clockwise ?
|
|
1087
|
+
angleOfBorderRadius :
|
|
1088
|
+
-angleOfBorderRadius,
|
|
1089
|
+
// The distance along the radius of the big arc to the starting
|
|
1090
|
+
// point of the small border radius arc
|
|
1091
|
+
distanceBigCenterToStartArc = (Math.cos(angleOfBorderRadius) *
|
|
1092
|
+
relativeR);
|
|
1093
|
+
// From line to arc
|
|
1094
|
+
if (fromLineToArc) {
|
|
1095
|
+
// Update the cache
|
|
1096
|
+
params.start = start + angleOffset;
|
|
1097
|
+
// First move to the start position at the radial line. We want to
|
|
1098
|
+
// start one borderRadius closer to the center.
|
|
1099
|
+
line[1] = cx + distanceBigCenterToStartArc * Math.cos(start);
|
|
1100
|
+
line[2] = cy + distanceBigCenterToStartArc * Math.sin(start);
|
|
1101
|
+
// Now draw an arc towards the point where the small circle touches
|
|
1102
|
+
// the great circle.
|
|
1103
|
+
path.splice(i + 1, 0, [
|
|
1104
|
+
'A',
|
|
1105
|
+
r,
|
|
1106
|
+
r,
|
|
1107
|
+
0, // Slanting,
|
|
1108
|
+
0, // Long arc
|
|
1109
|
+
1, // Clockwise
|
|
1110
|
+
cx + bigR * Math.cos(params.start),
|
|
1111
|
+
cy + bigR * Math.sin(params.start)
|
|
1112
|
+
]);
|
|
1113
|
+
// From arc to line
|
|
1114
|
+
}
|
|
1115
|
+
else {
|
|
1116
|
+
// Update the cache
|
|
1117
|
+
params.end = end - angleOffset;
|
|
1118
|
+
// End the big arc a bit earlier
|
|
1119
|
+
arc[6] = cx + bigR * Math.cos(params.end);
|
|
1120
|
+
arc[7] = cy + bigR * Math.sin(params.end);
|
|
1121
|
+
// Draw a small arc towards a point on the end angle, but one
|
|
1122
|
+
// borderRadius closer to the center relative to the perimeter.
|
|
1123
|
+
path.splice(i + 1, 0, [
|
|
1124
|
+
'A',
|
|
1125
|
+
r,
|
|
1126
|
+
r,
|
|
1127
|
+
0,
|
|
1128
|
+
0,
|
|
1129
|
+
1,
|
|
1130
|
+
cx + distanceBigCenterToStartArc * Math.cos(end),
|
|
1131
|
+
cy + distanceBigCenterToStartArc * Math.sin(end)
|
|
1132
|
+
]);
|
|
1133
|
+
}
|
|
1134
|
+
// Long or short arc must be reconsidered because we have modified the
|
|
1135
|
+
// start and end points
|
|
1136
|
+
arc[4] = Math.abs(params.end - params.start) < Math.PI ? 0 : 1;
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* Extend arc with borderRadius.
|
|
1141
|
+
* @internal
|
|
1142
|
+
*/
|
|
1143
|
+
function arc(x, y, w, h, options = {}) {
|
|
1144
|
+
const path = oldArc(x, y, w, h, options), { brStart = true, brEnd = true, innerR = 0, r = w, start = 0, end = 0 } = options;
|
|
1145
|
+
if (options.open || !options.borderRadius) {
|
|
1146
|
+
return path;
|
|
1147
|
+
}
|
|
1148
|
+
const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(relativeLength(borderRadiusObject(options.borderRadius).radius, r - innerR),
|
|
1149
|
+
// Cap to half the sector radius
|
|
1150
|
+
(r - innerR) / 2,
|
|
1151
|
+
// For smaller pie slices, cap to the largest small circle that
|
|
1152
|
+
// can be fitted within the sector
|
|
1153
|
+
(r * sinHalfAlpha) / (1 + sinHalfAlpha)), 0),
|
|
1154
|
+
// For the inner radius, we need an extra cap because the inner arc
|
|
1155
|
+
// is shorter than the outer arc
|
|
1156
|
+
innerBorderRadius = Math.min(borderRadius, 2 * (alpha / Math.PI) * innerR);
|
|
1157
|
+
// Apply turn-by-turn border radius. Start at the end since we're
|
|
1158
|
+
// splicing in arc segments.
|
|
1159
|
+
let i = path.length - 1;
|
|
1160
|
+
while (i--) {
|
|
1161
|
+
if ((!brStart && (i === 0 || i === 3)) ||
|
|
1162
|
+
(!brEnd && (i === 1 || i === 2))) {
|
|
1163
|
+
continue;
|
|
1164
|
+
}
|
|
1165
|
+
applyBorderRadius(path, i, i > 1 ? innerBorderRadius : borderRadius);
|
|
1166
|
+
}
|
|
1167
|
+
return path;
|
|
1168
|
+
}
|
|
1169
|
+
/** @internal */
|
|
1170
|
+
function seriesOnAfterColumnTranslate() {
|
|
1171
|
+
if (this.options.borderRadius &&
|
|
1172
|
+
!(this.chart.is3d && this.chart.is3d())) {
|
|
1173
|
+
const { options, yAxis } = this, percent = options.stacking === 'percent', seriesDefault = defaultOptions.plotOptions?.[this.type]
|
|
1174
|
+
?.borderRadius, borderRadius = borderRadiusObject(options.borderRadius, isObject(seriesDefault) ? seriesDefault : {}), reversed = yAxis.options.reversed;
|
|
1175
|
+
for (const point of this.points) {
|
|
1176
|
+
const { shapeArgs } = point;
|
|
1177
|
+
if (point.shapeType === 'roundedRect' && shapeArgs) {
|
|
1178
|
+
const { width = 0, height = 0, y = 0 } = shapeArgs;
|
|
1179
|
+
let brBoxY = y, brBoxHeight = height;
|
|
1180
|
+
// It would be nice to refactor StackItem.getStackBox/
|
|
1181
|
+
// setOffset so that we could get a reliable box out of
|
|
1182
|
+
// it. Currently it is close if we remove the label
|
|
1183
|
+
// offset, but we still need to run crispCol and also
|
|
1184
|
+
// flip it if inverted, so atm it is simpler to do it
|
|
1185
|
+
// like the below.
|
|
1186
|
+
if (borderRadius.scope === 'stack' &&
|
|
1187
|
+
point.stackTotal) {
|
|
1188
|
+
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));
|
|
1189
|
+
brBoxY = box.y;
|
|
1190
|
+
brBoxHeight = box.height;
|
|
1191
|
+
}
|
|
1192
|
+
const flip = (point.negative ? -1 : 1) *
|
|
1193
|
+
(reversed ? -1 : 1) === -1;
|
|
1194
|
+
// Handle the where option
|
|
1195
|
+
let where = borderRadius.where;
|
|
1196
|
+
// Waterfall, hanging columns should have rounding on
|
|
1197
|
+
// all sides
|
|
1198
|
+
if (!where &&
|
|
1199
|
+
this.is('waterfall') &&
|
|
1200
|
+
Math.abs((point.yBottom || 0) -
|
|
1201
|
+
(this.translatedThreshold || 0)) > this.borderWidth) {
|
|
1202
|
+
where = 'all';
|
|
1203
|
+
}
|
|
1204
|
+
if (!where) {
|
|
1205
|
+
where = 'end';
|
|
1206
|
+
}
|
|
1207
|
+
// Get the radius
|
|
1208
|
+
const r = Math.min(relativeLength(borderRadius.radius, width), width / 2,
|
|
1209
|
+
// Cap to the height, but not if where is `end`
|
|
1210
|
+
where === 'all' ? brBoxHeight / 2 : Infinity) || 0;
|
|
1211
|
+
// If the `where` option is 'end', cut off the
|
|
1212
|
+
// rectangles by making the border-radius box one r
|
|
1213
|
+
// greater, so that the imaginary radius falls outside
|
|
1214
|
+
// the rectangle.
|
|
1215
|
+
if (where === 'end') {
|
|
1216
|
+
if (flip) {
|
|
1217
|
+
brBoxY -= r;
|
|
1218
|
+
brBoxHeight += r;
|
|
1219
|
+
}
|
|
1220
|
+
else {
|
|
1221
|
+
brBoxHeight += r;
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
extend(shapeArgs, { brBoxHeight, brBoxY, r });
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
/** @internal */
|
|
1230
|
+
function composeBorderRadius(SeriesClass, SVGElementClass, SVGRendererClass) {
|
|
1231
|
+
const PieSeriesClass = SeriesClass.types.pie;
|
|
1232
|
+
if (!SVGElementClass.symbolCustomAttribs.includes('borderRadius')) {
|
|
1233
|
+
const symbols = SVGRendererClass.prototype.symbols;
|
|
1234
|
+
addEvent(SeriesClass, 'afterColumnTranslate', seriesOnAfterColumnTranslate, {
|
|
1235
|
+
// After columnrange and polar column modifications
|
|
1236
|
+
order: 9
|
|
1237
|
+
});
|
|
1238
|
+
addEvent(PieSeriesClass, 'afterTranslate', pieSeriesOnAfterTranslate);
|
|
1239
|
+
SVGElementClass.symbolCustomAttribs.push('borderRadius', 'brBoxHeight', 'brBoxY', 'brEnd', 'brStart');
|
|
1240
|
+
oldArc = symbols.arc;
|
|
1241
|
+
oldRoundedRect = symbols.roundedRect;
|
|
1242
|
+
symbols.arc = arc;
|
|
1243
|
+
symbols.roundedRect = roundedRect;
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
/**
|
|
1247
|
+
* Utility function to get the full border radius options object, from a simple
|
|
1248
|
+
* number or a partial options object.
|
|
1249
|
+
* @internal
|
|
1250
|
+
*/
|
|
1251
|
+
function borderRadiusObject(options, seriesBROptions) {
|
|
1252
|
+
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isObject)(options)) {
|
|
1253
|
+
options = { radius: options || 0 };
|
|
1254
|
+
}
|
|
1255
|
+
return (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(defaultBorderRadiusOptions, seriesBROptions, options);
|
|
1256
|
+
}
|
|
1257
|
+
/** @internal */
|
|
1258
|
+
function pieSeriesOnAfterTranslate() {
|
|
1259
|
+
const borderRadius = borderRadiusObject(this.options.borderRadius);
|
|
1260
|
+
for (const point of this.points) {
|
|
1261
|
+
const shapeArgs = point.shapeArgs;
|
|
1262
|
+
if (shapeArgs) {
|
|
1263
|
+
shapeArgs.borderRadius = relativeLength(borderRadius.radius, (shapeArgs.r || 0) - ((shapeArgs.innerR) || 0));
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
/**
|
|
1268
|
+
* Extend roundedRect with individual cutting through rOffset.
|
|
1269
|
+
* @internal
|
|
1270
|
+
*/
|
|
1271
|
+
function roundedRect(x, y, width, height, options = {}) {
|
|
1272
|
+
const path = oldRoundedRect(x, y, width, height, options), { r = 0, brBoxHeight = height, brBoxY = y } = options, brOffsetTop = y - brBoxY, brOffsetBtm = (brBoxY + brBoxHeight) - (y + height),
|
|
1273
|
+
// When the distance to the border-radius box is greater than the r
|
|
1274
|
+
// itself, it means no border radius. The -0.1 accounts for float
|
|
1275
|
+
// rounding errors.
|
|
1276
|
+
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);
|
|
1277
|
+
/*
|
|
1278
|
+
|
|
1279
|
+
The naming of control points:
|
|
1280
|
+
|
|
1281
|
+
/ a -------- b \
|
|
1282
|
+
/ \
|
|
1283
|
+
h c
|
|
1284
|
+
| |
|
|
1285
|
+
| |
|
|
1286
|
+
| |
|
|
1287
|
+
g d
|
|
1288
|
+
\ /
|
|
1289
|
+
\ f -------- e /
|
|
1290
|
+
|
|
1291
|
+
*/
|
|
1292
|
+
const a = [x + rTop, y], b = [x + width - rTop, y], c = [x + width, y + rTop], d = [
|
|
1293
|
+
x + width, y + height - rBtm
|
|
1294
|
+
], e = [
|
|
1295
|
+
x + width - rBtm,
|
|
1296
|
+
y + height
|
|
1297
|
+
], f = [x + rBtm, y + height], g = [x, y + height - rBtm], h = [x, y + rTop];
|
|
1298
|
+
const applyPythagoras = (r, altitude) => Math.sqrt(Math.pow(r, 2) - Math.pow(altitude, 2));
|
|
1299
|
+
// Inside stacks, cut off part of the top
|
|
1300
|
+
if (cutTop) {
|
|
1301
|
+
const base = applyPythagoras(rTop, rTop - cutTop);
|
|
1302
|
+
a[0] -= base;
|
|
1303
|
+
b[0] += base;
|
|
1304
|
+
c[1] = h[1] = y + rTop - cutTop;
|
|
1305
|
+
}
|
|
1306
|
+
// Column is lower than the radius. Cut off bottom inside the top
|
|
1307
|
+
// radius.
|
|
1308
|
+
if (height < rTop - cutTop) {
|
|
1309
|
+
const base = applyPythagoras(rTop, rTop - cutTop - height);
|
|
1310
|
+
c[0] = d[0] = x + width - rTop + base;
|
|
1311
|
+
e[0] = Math.min(c[0], e[0]);
|
|
1312
|
+
f[0] = Math.max(d[0], f[0]);
|
|
1313
|
+
g[0] = h[0] = x + rTop - base;
|
|
1314
|
+
c[1] = h[1] = y + height;
|
|
1315
|
+
}
|
|
1316
|
+
// Inside stacks, cut off part of the bottom
|
|
1317
|
+
if (cutBtm) {
|
|
1318
|
+
const base = applyPythagoras(rBtm, rBtm - cutBtm);
|
|
1319
|
+
e[0] += base;
|
|
1320
|
+
f[0] -= base;
|
|
1321
|
+
d[1] = g[1] = y + height - rBtm + cutBtm;
|
|
1322
|
+
}
|
|
1323
|
+
// Cut off top inside the bottom radius
|
|
1324
|
+
if (height < rBtm - cutBtm) {
|
|
1325
|
+
const base = applyPythagoras(rBtm, rBtm - cutBtm - height);
|
|
1326
|
+
c[0] = d[0] = x + width - rBtm + base;
|
|
1327
|
+
b[0] = Math.min(c[0], b[0]);
|
|
1328
|
+
a[0] = Math.max(d[0], a[0]);
|
|
1329
|
+
g[0] = h[0] = x + rBtm - base;
|
|
1330
|
+
d[1] = g[1] = y;
|
|
1331
|
+
}
|
|
1332
|
+
// Preserve the box for data labels
|
|
1333
|
+
path.length = 0;
|
|
1334
|
+
path.push(['M', ...a],
|
|
1335
|
+
// Top side
|
|
1336
|
+
['L', ...b],
|
|
1337
|
+
// Top right corner
|
|
1338
|
+
['A', rTop, rTop, 0, 0, 1, ...c],
|
|
1339
|
+
// Right side
|
|
1340
|
+
['L', ...d],
|
|
1341
|
+
// Bottom right corner
|
|
1342
|
+
['A', rBtm, rBtm, 0, 0, 1, ...e],
|
|
1343
|
+
// Bottom side
|
|
1344
|
+
['L', ...f],
|
|
1345
|
+
// Bottom left corner
|
|
1346
|
+
['A', rBtm, rBtm, 0, 0, 1, ...g],
|
|
1347
|
+
// Left side
|
|
1348
|
+
['L', ...h],
|
|
1349
|
+
// Top left corner
|
|
1350
|
+
['A', rTop, rTop, 0, 0, 1, ...a], ['Z']);
|
|
1351
|
+
return path;
|
|
1352
|
+
}
|
|
1353
|
+
/* *
|
|
1354
|
+
*
|
|
1355
|
+
* API Declarations
|
|
1356
|
+
*
|
|
1357
|
+
* */
|
|
1358
|
+
/**
|
|
1359
|
+
* Detailed options for border radius.
|
|
1360
|
+
*
|
|
1361
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
1362
|
+
* Rounded columns
|
|
1363
|
+
* @sample highcharts/plotoptions/series-border-radius
|
|
1364
|
+
* Column and pie with rounded border
|
|
1365
|
+
*
|
|
1366
|
+
* @interface Highcharts.BorderRadiusOptionsObject
|
|
1367
|
+
*/ /**
|
|
1368
|
+
* The border radius. A number signifies pixels. A percentage string, like for
|
|
1369
|
+
* example `50%`, signifies a relative size. For columns this is relative to the
|
|
1370
|
+
* column width, for pies it is relative to the radius and the inner radius.
|
|
1371
|
+
*
|
|
1372
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
1373
|
+
* Rounded columns
|
|
1374
|
+
* @sample highcharts/plotoptions/series-border-radius
|
|
1375
|
+
* Column and pie with rounded border
|
|
1376
|
+
*
|
|
1377
|
+
* @name Highcharts.BorderRadiusOptionsObject#radius
|
|
1378
|
+
* @type {string|number|undefined}
|
|
1379
|
+
*/ /**
|
|
1380
|
+
* The scope of the rounding for column charts or plot bands. In a stacked
|
|
1381
|
+
* column chart, the value `point` means each single point will get rounded
|
|
1382
|
+
* corners. The value `stack` means the rounding will apply to the full
|
|
1383
|
+
* stack, so that only points close to the top or bottom will receive
|
|
1384
|
+
* rounding.
|
|
1385
|
+
*
|
|
1386
|
+
* Similarly, for plot bands, the `individual` value means each plot band
|
|
1387
|
+
* will get rounded corners.
|
|
1388
|
+
*
|
|
1389
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
1390
|
+
* Rounded columns
|
|
1391
|
+
*
|
|
1392
|
+
* @name Highcharts.BorderRadiusOptionsObject#scope
|
|
1393
|
+
* @type {"individual"|"point"|"stack"|undefined}
|
|
1394
|
+
*/ /**
|
|
1395
|
+
* For column charts, where in the point or stack to apply rounding. The `end`
|
|
1396
|
+
* value means only those corners at the point value will be rounded, leaving
|
|
1397
|
+
* the corners at the base or threshold unrounded. This is the most intuitive
|
|
1398
|
+
* behavior. The `all` value means also the base will be rounded.
|
|
1399
|
+
*
|
|
1400
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius-where-all
|
|
1401
|
+
* Rounding on all corners
|
|
1402
|
+
*
|
|
1403
|
+
* @name Highcharts.BorderRadiusOptionsObject#where
|
|
1404
|
+
* @type {"all"|"end"|undefined}
|
|
1405
|
+
* @default end
|
|
1406
|
+
*/
|
|
1407
|
+
(''); // Keeps doclets above in JS file
|
|
1408
|
+
|
|
992
1409
|
;// ./code/es-modules/Core/Renderer/SVG/Symbols.js
|
|
993
1410
|
/* *
|
|
994
1411
|
*
|
|
@@ -1025,11 +1442,11 @@ const NavigatorDefaults = {
|
|
|
1025
1442
|
* @return {Highcharts.SVGPathArray}
|
|
1026
1443
|
* Path
|
|
1027
1444
|
*/
|
|
1028
|
-
function
|
|
1445
|
+
function Symbols_arc(cx, cy, w, h, options) {
|
|
1029
1446
|
const arc = [];
|
|
1030
1447
|
if (options) {
|
|
1031
1448
|
let start = options.start || 0, end = options.end || 0;
|
|
1032
|
-
const rx = (
|
|
1449
|
+
const rx = (options.r ?? w), ry = (options.r ?? (h || w)),
|
|
1033
1450
|
// Subtract a small number to prevent cos and sin of start and end
|
|
1034
1451
|
// from becoming equal on 360 arcs (#1561). See "Arc proximity"
|
|
1035
1452
|
// tests at samples/unit-tests/svgrenderer/symbol/demo.js
|
|
@@ -1039,16 +1456,17 @@ function arc(cx, cy, w, h, options) {
|
|
|
1039
1456
|
start = Math.PI / 2;
|
|
1040
1457
|
end = Math.PI * 2.5 - proximity;
|
|
1041
1458
|
}
|
|
1042
|
-
const innerRadius = options.innerR, open = (
|
|
1459
|
+
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),
|
|
1043
1460
|
// Proximity takes care of rounding errors around PI (#6971)
|
|
1044
|
-
longArc =
|
|
1461
|
+
longArc = options.longArc ??
|
|
1462
|
+
(end - start - Math.PI < proximity ? 0 : 1);
|
|
1045
1463
|
let arcSegment = [
|
|
1046
1464
|
'A', // ArcTo
|
|
1047
1465
|
rx, // X radius
|
|
1048
1466
|
ry, // Y radius
|
|
1049
1467
|
0, // Slanting
|
|
1050
1468
|
longArc, // Long or short arc
|
|
1051
|
-
(
|
|
1469
|
+
(options.clockwise ?? 1), // Clockwise
|
|
1052
1470
|
// Use a static pixel offset for full circle (#21701)
|
|
1053
1471
|
cx + (fullCircle ? 0.001 : rx * cosEnd),
|
|
1054
1472
|
cy + ry * sinEnd
|
|
@@ -1113,7 +1531,7 @@ function arc(cx, cy, w, h, options) {
|
|
|
1113
1531
|
*/
|
|
1114
1532
|
function callout(x, y, w, h, options) {
|
|
1115
1533
|
const arrowLength = 6, halfDistance = 6, r = Math.min((options?.r) || 0, w, h), safeDistance = r + halfDistance, anchorX = options?.anchorX, anchorY = options?.anchorY || 0;
|
|
1116
|
-
const path =
|
|
1534
|
+
const path = Symbols_roundedRect(x, y, w, h, { r });
|
|
1117
1535
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(anchorX)) {
|
|
1118
1536
|
return path;
|
|
1119
1537
|
}
|
|
@@ -1185,7 +1603,7 @@ function callout(x, y, w, h, options) {
|
|
|
1185
1603
|
*/
|
|
1186
1604
|
function circle(x, y, w, h) {
|
|
1187
1605
|
// Return a full arc
|
|
1188
|
-
return
|
|
1606
|
+
return Symbols_arc(x + w / 2, y + h / 2, w / 2, h / 2, {
|
|
1189
1607
|
start: Math.PI * 0.5,
|
|
1190
1608
|
end: Math.PI * 2.5,
|
|
1191
1609
|
open: false
|
|
@@ -1233,7 +1651,7 @@ function diamond(x, y, w, h) {
|
|
|
1233
1651
|
*/
|
|
1234
1652
|
function rect(x, y, w, h, options) {
|
|
1235
1653
|
if (options?.r) {
|
|
1236
|
-
return
|
|
1654
|
+
return Symbols_roundedRect(x, y, w, h, options);
|
|
1237
1655
|
}
|
|
1238
1656
|
return [
|
|
1239
1657
|
['M', x, y],
|
|
@@ -1259,7 +1677,7 @@ function rect(x, y, w, h, options) {
|
|
|
1259
1677
|
* @return {Highcharts.SVGPathArray}
|
|
1260
1678
|
* Path
|
|
1261
1679
|
*/
|
|
1262
|
-
function
|
|
1680
|
+
function Symbols_roundedRect(x, y, w, h, options) {
|
|
1263
1681
|
const r = options?.r || 0;
|
|
1264
1682
|
return [
|
|
1265
1683
|
['M', x + r, y],
|
|
@@ -1335,7 +1753,7 @@ const Symbols = {
|
|
|
1335
1753
|
* @return {Highcharts.SVGPathArray}
|
|
1336
1754
|
* Path
|
|
1337
1755
|
*/
|
|
1338
|
-
arc,
|
|
1756
|
+
arc: Symbols_arc,
|
|
1339
1757
|
/**
|
|
1340
1758
|
* Callout shape used for default tooltips.
|
|
1341
1759
|
*
|
|
@@ -1416,7 +1834,7 @@ const Symbols = {
|
|
|
1416
1834
|
* @return {Highcharts.SVGPathArray}
|
|
1417
1835
|
* Path
|
|
1418
1836
|
*/
|
|
1419
|
-
roundedRect,
|
|
1837
|
+
roundedRect: Symbols_roundedRect,
|
|
1420
1838
|
/**
|
|
1421
1839
|
* Rect symbol path.
|
|
1422
1840
|
*
|
|
@@ -1541,6 +1959,7 @@ const Symbols = {
|
|
|
1541
1959
|
|
|
1542
1960
|
|
|
1543
1961
|
|
|
1962
|
+
|
|
1544
1963
|
/* *
|
|
1545
1964
|
*
|
|
1546
1965
|
* Constants
|
|
@@ -1551,7 +1970,7 @@ const Symbols = {
|
|
|
1551
1970
|
* @internal
|
|
1552
1971
|
*/
|
|
1553
1972
|
function navigatorHandle(_x, _y, width, height, options = {}) {
|
|
1554
|
-
const halfWidth = options.width ? options.width / 2 : width, markerPosition = 1.5, r = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.relativeLength)(options.borderRadius
|
|
1973
|
+
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));
|
|
1555
1974
|
height = options.height || height;
|
|
1556
1975
|
return [
|
|
1557
1976
|
['M', -markerPosition, height / 2 - 3.5],
|
|
@@ -1636,7 +2055,7 @@ const StockUtilities = {
|
|
|
1636
2055
|
* */
|
|
1637
2056
|
|
|
1638
2057
|
|
|
1639
|
-
const { defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
2058
|
+
const { defaultOptions: NavigatorComposition_defaultOptions } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
1640
2059
|
|
|
1641
2060
|
const { composed } = (highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default());
|
|
1642
2061
|
|
|
@@ -1662,7 +2081,7 @@ function NavigatorComposition_compose(ChartClass, AxisClass, SeriesClass) {
|
|
|
1662
2081
|
if ((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.pushUnique)(composed, 'Navigator')) {
|
|
1663
2082
|
ChartClass.prototype.setFixedRange = NavigatorComposition_setFixedRange;
|
|
1664
2083
|
(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);
|
|
1665
|
-
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.extend)(
|
|
2084
|
+
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.extend)(NavigatorComposition_defaultOptions, { navigator: Navigator_NavigatorDefaults });
|
|
1666
2085
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(SeriesClass, 'afterUpdate', onSeriesAfterUpdate);
|
|
1667
2086
|
}
|
|
1668
2087
|
}
|
|
@@ -1744,8 +2163,8 @@ var ScrollbarAxis;
|
|
|
1744
2163
|
ScrollbarAxis.compose = compose;
|
|
1745
2164
|
/** @internal */
|
|
1746
2165
|
function getExtremes(axis) {
|
|
1747
|
-
const axisMin = (
|
|
1748
|
-
const axisMax = (
|
|
2166
|
+
const axisMin = (axis.options?.min ?? axis.min);
|
|
2167
|
+
const axisMax = (axis.options?.max ?? axis.max);
|
|
1749
2168
|
return {
|
|
1750
2169
|
axisMin,
|
|
1751
2170
|
axisMax,
|
|
@@ -2284,7 +2703,7 @@ class Scrollbar {
|
|
|
2284
2703
|
buttonToMaxClick(e) {
|
|
2285
2704
|
const scroller = this;
|
|
2286
2705
|
const range = ((scroller.to - scroller.from) *
|
|
2287
|
-
(
|
|
2706
|
+
(scroller.options.step ?? 0.2));
|
|
2288
2707
|
scroller.updatePosition(scroller.from + range, scroller.to + range);
|
|
2289
2708
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(scroller, 'changed', {
|
|
2290
2709
|
from: scroller.from,
|
|
@@ -2296,7 +2715,7 @@ class Scrollbar {
|
|
|
2296
2715
|
buttonToMinClick(e) {
|
|
2297
2716
|
const scroller = this;
|
|
2298
2717
|
const range = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.correctFloat)(scroller.to - scroller.from) *
|
|
2299
|
-
(
|
|
2718
|
+
(scroller.options.step ?? 0.2);
|
|
2300
2719
|
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));
|
|
2301
2720
|
(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.fireEvent)(scroller, 'changed', {
|
|
2302
2721
|
from: scroller.from,
|
|
@@ -2428,10 +2847,11 @@ class Scrollbar {
|
|
|
2428
2847
|
scroller.renderer = renderer;
|
|
2429
2848
|
scroller.userOptions = options;
|
|
2430
2849
|
scroller.options = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(Scrollbar_ScrollbarDefaults, Scrollbar_defaultOptions.scrollbar, options);
|
|
2431
|
-
scroller.options.margin = (
|
|
2850
|
+
scroller.options.margin = (scroller.options.margin ?? 10);
|
|
2432
2851
|
scroller.chart = chart;
|
|
2433
2852
|
// Backward compatibility
|
|
2434
|
-
scroller.size =
|
|
2853
|
+
scroller.size = scroller.options.size ??
|
|
2854
|
+
scroller.options.height;
|
|
2435
2855
|
// Init
|
|
2436
2856
|
if (options.enabled) {
|
|
2437
2857
|
scroller.render();
|
|
@@ -2721,9 +3141,9 @@ class Scrollbar {
|
|
|
2721
3141
|
* @function Highcharts.Scrollbar#shouldUpdateExtremes
|
|
2722
3142
|
*/
|
|
2723
3143
|
shouldUpdateExtremes(eventType) {
|
|
2724
|
-
return ((
|
|
3144
|
+
return ((this.options.liveRedraw ?? ((highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).svg &&
|
|
2725
3145
|
!(highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_default()).isTouchDevice &&
|
|
2726
|
-
!this.chart.boosted) ||
|
|
3146
|
+
!this.chart.boosted)) ||
|
|
2727
3147
|
// Mouseup always should change extremes
|
|
2728
3148
|
eventType === 'mouseup' ||
|
|
2729
3149
|
eventType === 'touchend' ||
|
|
@@ -3243,18 +3663,18 @@ class Navigator {
|
|
|
3243
3663
|
// it. For example hidden series, but visible navigator (#6022).
|
|
3244
3664
|
if (rendered) {
|
|
3245
3665
|
pxMin = 0;
|
|
3246
|
-
pxMax = (
|
|
3666
|
+
pxMax = (xAxis.width ?? scrollbarXAxis.width);
|
|
3247
3667
|
}
|
|
3248
3668
|
else {
|
|
3249
3669
|
return;
|
|
3250
3670
|
}
|
|
3251
3671
|
}
|
|
3252
|
-
navigator.left = (
|
|
3253
|
-
// In case of scrollbar only, without navigator
|
|
3254
|
-
chart.plotLeft + scrollButtonSize +
|
|
3672
|
+
navigator.left = (xAxis.left ?? chart.plotLeft + scrollButtonSize +
|
|
3255
3673
|
(inverted ? chart.plotWidth : 0));
|
|
3256
|
-
let zoomedMax = navigator.size = navigatorSize =
|
|
3257
|
-
|
|
3674
|
+
let zoomedMax = navigator.size = navigatorSize =
|
|
3675
|
+
xAxis.len ??
|
|
3676
|
+
(inverted ? chart.plotHeight : chart.plotWidth) -
|
|
3677
|
+
2 * scrollButtonSize;
|
|
3258
3678
|
if (inverted) {
|
|
3259
3679
|
navigatorWidth = scrollbarHeight;
|
|
3260
3680
|
}
|
|
@@ -3262,8 +3682,8 @@ class Navigator {
|
|
|
3262
3682
|
navigatorWidth = navigatorSize + 2 * scrollButtonSize;
|
|
3263
3683
|
}
|
|
3264
3684
|
// Get the pixel position of the handles
|
|
3265
|
-
pxMin = (
|
|
3266
|
-
pxMax = (
|
|
3685
|
+
pxMin = (pxMin ?? xAxis.toPixels(min, true));
|
|
3686
|
+
pxMax = (pxMax ?? xAxis.toPixels(max, true));
|
|
3267
3687
|
// Verify (#1851, #2238)
|
|
3268
3688
|
if (!(0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.isNumber)(pxMin) || Math.abs(pxMin) === Infinity) {
|
|
3269
3689
|
pxMin = 0;
|
|
@@ -3542,11 +3962,10 @@ class Navigator {
|
|
|
3542
3962
|
navigator.render(0, 0, chartX - dragOffset, chartX - dragOffset + range);
|
|
3543
3963
|
}
|
|
3544
3964
|
if (navigator.hasDragged &&
|
|
3545
|
-
(
|
|
3965
|
+
(navigator.scrollbarOptions?.liveRedraw ?? (
|
|
3546
3966
|
// By default, don't run live redraw on touch
|
|
3547
3967
|
// devices or if the chart is in boost.
|
|
3548
|
-
!Navigator_isTouchDevice &&
|
|
3549
|
-
!this.chart.boosted)) {
|
|
3968
|
+
!Navigator_isTouchDevice && !this.chart.boosted))) {
|
|
3550
3969
|
e.DOMType = e.type;
|
|
3551
3970
|
setTimeout(function () {
|
|
3552
3971
|
navigator.onMouseUp(e);
|
|
@@ -3735,8 +4154,10 @@ class Navigator {
|
|
|
3735
4154
|
offset: 0,
|
|
3736
4155
|
index: yAxisIndex,
|
|
3737
4156
|
isInternal: true,
|
|
3738
|
-
reversed: (
|
|
3739
|
-
navigatorOptions.yAxis.reversed)
|
|
4157
|
+
reversed: ((navigatorOptions.yAxis &&
|
|
4158
|
+
navigatorOptions.yAxis.reversed) ??
|
|
4159
|
+
(chart.yAxis[0] && chart.yAxis[0].reversed) ??
|
|
4160
|
+
false), // #14060
|
|
3740
4161
|
zoomEnabled: false
|
|
3741
4162
|
}, chart.inverted ? {
|
|
3742
4163
|
width: height
|
|
@@ -3822,7 +4243,9 @@ class Navigator {
|
|
|
3822
4243
|
*/
|
|
3823
4244
|
setOpposite() {
|
|
3824
4245
|
const navigatorOptions = this.navigatorOptions, navigatorEnabled = this.navigatorEnabled, chart = this.chart;
|
|
3825
|
-
this.opposite =
|
|
4246
|
+
this.opposite =
|
|
4247
|
+
navigatorOptions.opposite ??
|
|
4248
|
+
Boolean(!navigatorEnabled && chart.inverted); // #6262
|
|
3826
4249
|
}
|
|
3827
4250
|
/**
|
|
3828
4251
|
* Get the union data extremes of the chart - the outer data extremes of the
|
|
@@ -3836,9 +4259,8 @@ class Navigator {
|
|
|
3836
4259
|
let ret;
|
|
3837
4260
|
if (!returnFalseOnNoBaseSeries || baseAxis.dataMin !== null) {
|
|
3838
4261
|
ret = {
|
|
3839
|
-
dataMin: (
|
|
3840
|
-
time.parse(navAxisOptions?.
|
|
3841
|
-
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))
|
|
4262
|
+
dataMin: (time.parse(navAxisOptions?.min) ?? numExt('min', time.parse(baseAxisOptions.min), baseAxis.dataMin, navAxis.dataMin, navAxis.min)),
|
|
4263
|
+
dataMax: (time.parse(navAxisOptions?.max) ?? numExt('max', time.parse(baseAxisOptions.max), baseAxis.dataMax, navAxis.dataMax, navAxis.max))
|
|
3842
4264
|
};
|
|
3843
4265
|
}
|
|
3844
4266
|
return ret;
|
|
@@ -3953,11 +4375,9 @@ class Navigator {
|
|
|
3953
4375
|
userNavOptions.dataLabels = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.splat)(userNavOptions.dataLabels);
|
|
3954
4376
|
mergedNavSeriesOptions = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(baseOptions, navSeriesMixin, userNavOptions, baseNavigatorOptions);
|
|
3955
4377
|
// Once nav series type is resolved, pick correct pointRange
|
|
3956
|
-
mergedNavSeriesOptions.pointRange = (
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
// Fallback to default values, e.g. `null` for column
|
|
3960
|
-
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
4378
|
+
mergedNavSeriesOptions.pointRange = (userNavOptions.pointRange ??
|
|
4379
|
+
baseNavigatorOptions.pointRange ??
|
|
4380
|
+
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
3961
4381
|
// Merge data separately. Do a slice to avoid mutating the
|
|
3962
4382
|
// navigator options from base series (#4923).
|
|
3963
4383
|
const navigatorSeriesData = baseNavigatorOptions.data || userNavOptions.data, navigatorSeriesDataTable = baseNavigatorOptions.dataTable ||
|
|
@@ -4117,7 +4537,7 @@ class Navigator {
|
|
|
4117
4537
|
* @function Highcharts.Navigator#modifyBaseAxisExtremes
|
|
4118
4538
|
*/
|
|
4119
4539
|
modifyBaseAxisExtremes() {
|
|
4120
|
-
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 = (
|
|
4540
|
+
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,
|
|
4121
4541
|
// When the extremes have been set by range selector button, don't
|
|
4122
4542
|
// stick to min or max. The range selector buttons will handle the
|
|
4123
4543
|
// extremes. (#5489)
|
|
@@ -4169,8 +4589,8 @@ class Navigator {
|
|
|
4169
4589
|
Math.round(navigator.zoomedMax) >= Math.round(navigator.size);
|
|
4170
4590
|
// If the scrollbar is scrolled all the way to the right, keep right as
|
|
4171
4591
|
// new data comes in, unless user set navigator.stickToMax to false.
|
|
4172
|
-
navigator.stickToMax = (
|
|
4173
|
-
this.chart.options.navigator.stickToMax
|
|
4592
|
+
navigator.stickToMax = (this.chart.options.navigator &&
|
|
4593
|
+
this.chart.options.navigator.stickToMax) ?? shouldStickToMax;
|
|
4174
4594
|
navigator.stickToMin = navigator.shouldStickToMin(baseSeries, navigator);
|
|
4175
4595
|
// Set the navigator series data to the new data of the base series
|
|
4176
4596
|
if (navigatorSeries && !navigator.hasNavigatorData) {
|
|
@@ -4484,7 +4904,7 @@ class StandaloneNavigator {
|
|
|
4484
4904
|
if (!(axis instanceof (highcharts_Axis_commonjs_highcharts_Axis_commonjs2_highcharts_Axis_root_Highcharts_Axis_default()))) {
|
|
4485
4905
|
return;
|
|
4486
4906
|
}
|
|
4487
|
-
const { min, max } =
|
|
4907
|
+
const navigator = this.navigator, { min, max } = navigator.xAxis, removeEventCallbacks = [];
|
|
4488
4908
|
if (twoWay) {
|
|
4489
4909
|
const removeSetExtremesEvent = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(axis, 'setExtremes', (e) => {
|
|
4490
4910
|
if (e.trigger === 'pan' ||
|
|
@@ -4497,7 +4917,7 @@ class StandaloneNavigator {
|
|
|
4497
4917
|
});
|
|
4498
4918
|
removeEventCallbacks.push(removeSetExtremesEvent);
|
|
4499
4919
|
}
|
|
4500
|
-
const removeSetRangeEvent = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(
|
|
4920
|
+
const removeSetRangeEvent = (0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.addEvent)(navigator, 'setRange', (e) => {
|
|
4501
4921
|
axis.setExtremes(e.min, e.max, e.redraw, e.animation);
|
|
4502
4922
|
});
|
|
4503
4923
|
removeEventCallbacks.push(removeSetRangeEvent);
|
|
@@ -4506,6 +4926,13 @@ class StandaloneNavigator {
|
|
|
4506
4926
|
})[0];
|
|
4507
4927
|
if (!boundAxis) {
|
|
4508
4928
|
boundAxis = { axis, callbacks: [] };
|
|
4929
|
+
// A navigator bound to a yAxis defines the full range the axis
|
|
4930
|
+
// should cover. Stash the axis' own bounds before overriding them,
|
|
4931
|
+
// so `unbind` can restore them, #24716
|
|
4932
|
+
if (axis.coll === 'yAxis') {
|
|
4933
|
+
boundAxis.oldMin = axis.options.min ?? axis.min;
|
|
4934
|
+
boundAxis.oldMax = axis.options.max ?? axis.max;
|
|
4935
|
+
}
|
|
4509
4936
|
this.boundAxes.push(boundAxis);
|
|
4510
4937
|
}
|
|
4511
4938
|
boundAxis.callbacks = removeEventCallbacks;
|
|
@@ -4515,6 +4942,12 @@ class StandaloneNavigator {
|
|
|
4515
4942
|
nav.addSeries(series.options);
|
|
4516
4943
|
}
|
|
4517
4944
|
});
|
|
4945
|
+
// Bind a yAxis to the navigator's full range so vertical panning isn't
|
|
4946
|
+
// capped at the series' data extremes, #24716
|
|
4947
|
+
if (axis.coll === 'yAxis') {
|
|
4948
|
+
const { dataMin, dataMax } = navigator.xAxis.getExtremes();
|
|
4949
|
+
axis.update({ min: dataMin, max: dataMax }, false);
|
|
4950
|
+
}
|
|
4518
4951
|
// Set extremes to match the navigator's extremes
|
|
4519
4952
|
axis.setExtremes(min, max);
|
|
4520
4953
|
// Unbind the axis before it's destroyed
|
|
@@ -4536,12 +4969,15 @@ class StandaloneNavigator {
|
|
|
4536
4969
|
* Passing a Chart object unbinds the first X axis of the chart,
|
|
4537
4970
|
* an Axis object unbinds that specific axis,
|
|
4538
4971
|
* and undefined unbinds all axes bound to the navigator.
|
|
4972
|
+
* @param {boolean} restoreExtremes
|
|
4973
|
+
* Whether to restore the axis' original min/max that were
|
|
4974
|
+
* overridden when binding a yAxis.
|
|
4539
4975
|
*/
|
|
4540
|
-
unbind(axisOrChart) {
|
|
4976
|
+
unbind(axisOrChart, restoreExtremes) {
|
|
4541
4977
|
// If no axis or chart is provided, unbind all bound axes
|
|
4542
4978
|
if (!axisOrChart) {
|
|
4543
|
-
this.boundAxes.forEach((
|
|
4544
|
-
|
|
4979
|
+
this.boundAxes.forEach((boundAxis) => {
|
|
4980
|
+
this.releaseAxis(boundAxis, restoreExtremes);
|
|
4545
4981
|
});
|
|
4546
4982
|
this.boundAxes.length = 0;
|
|
4547
4983
|
return;
|
|
@@ -4551,20 +4987,45 @@ class StandaloneNavigator {
|
|
|
4551
4987
|
axisOrChart.xAxis[0];
|
|
4552
4988
|
for (let i = this.boundAxes.length - 1; i >= 0; i--) {
|
|
4553
4989
|
if (this.boundAxes[i].axis === axis) {
|
|
4554
|
-
this.boundAxes[i]
|
|
4990
|
+
this.releaseAxis(this.boundAxes[i], restoreExtremes);
|
|
4555
4991
|
this.boundAxes.splice(i, 1);
|
|
4556
4992
|
}
|
|
4557
4993
|
}
|
|
4558
4994
|
}
|
|
4995
|
+
/**
|
|
4996
|
+
* Disconnect a bound axis' events and restore the axis' own bounds that
|
|
4997
|
+
* were overridden when binding a yAxis.
|
|
4998
|
+
*
|
|
4999
|
+
* @internal
|
|
5000
|
+
*
|
|
5001
|
+
* @param {BoundAxis} boundAxis
|
|
5002
|
+
* The bound axis entry to release.
|
|
5003
|
+
* @param {boolean} [restoreExtremes=false]
|
|
5004
|
+
* Whether to restore the axis' original min/max that were
|
|
5005
|
+
* overridden when binding a yAxis.
|
|
5006
|
+
*/
|
|
5007
|
+
releaseAxis(boundAxis, restoreExtremes = false) {
|
|
5008
|
+
// Disconnect events
|
|
5009
|
+
boundAxis.callbacks.forEach((removeCallback) => removeCallback());
|
|
5010
|
+
// Restore the axis' original min/max that were overridden in `bind`
|
|
5011
|
+
if (boundAxis.axis.coll === 'yAxis' && restoreExtremes) {
|
|
5012
|
+
const min = boundAxis.oldMin ?? void 0, max = boundAxis.oldMax ?? void 0;
|
|
5013
|
+
boundAxis.axis.update({ min, max }, false);
|
|
5014
|
+
boundAxis.axis.setExtremes(min, max);
|
|
5015
|
+
}
|
|
5016
|
+
}
|
|
4559
5017
|
/**
|
|
4560
5018
|
* Destroys allocated standalone navigator elements.
|
|
4561
5019
|
*
|
|
4562
5020
|
* @function Highcharts.StandaloneNavigator#destroy
|
|
5021
|
+
*
|
|
5022
|
+
* @param {boolean} restoreExtremes
|
|
5023
|
+
* Whether to restore the axis' original min/max that were
|
|
5024
|
+
* overridden when binding a yAxis.
|
|
4563
5025
|
*/
|
|
4564
|
-
destroy() {
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
callbacks.forEach((removeCallback) => removeCallback());
|
|
5026
|
+
destroy(restoreExtremes) {
|
|
5027
|
+
this.boundAxes.forEach((boundAxis) => {
|
|
5028
|
+
this.releaseAxis(boundAxis, restoreExtremes);
|
|
4568
5029
|
});
|
|
4569
5030
|
this.boundAxes.length = 0;
|
|
4570
5031
|
this.navigator.destroy();
|
|
@@ -4607,7 +5068,7 @@ class StandaloneNavigator {
|
|
|
4607
5068
|
* Options for the series to be added to the navigator.
|
|
4608
5069
|
*/
|
|
4609
5070
|
addSeries(seriesOptions) {
|
|
4610
|
-
this.navigator.chart.addSeries((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(seriesOptions, { showInNavigator: (
|
|
5071
|
+
this.navigator.chart.addSeries((0,highcharts_commonjs_highcharts_commonjs2_highcharts_root_Highcharts_.merge)(seriesOptions, { showInNavigator: (seriesOptions.showInNavigator ?? true) }));
|
|
4611
5072
|
this.navigator.setBaseSeries();
|
|
4612
5073
|
}
|
|
4613
5074
|
/**
|
|
@@ -4646,8 +5107,8 @@ class StandaloneNavigator {
|
|
|
4646
5107
|
getRange() {
|
|
4647
5108
|
const { min, max } = this.navigator.chart.xAxis[0].getExtremes(), { userMin, userMax, min: dataMin, max: dataMax } = this.navigator.xAxis.getExtremes();
|
|
4648
5109
|
return {
|
|
4649
|
-
min: (
|
|
4650
|
-
max: (
|
|
5110
|
+
min: (min ?? dataMin),
|
|
5111
|
+
max: (max ?? dataMax),
|
|
4651
5112
|
dataMin,
|
|
4652
5113
|
dataMax,
|
|
4653
5114
|
userMin,
|