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/esm/modules/stock.src.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highstock JS v13.0.
|
|
3
|
+
* @license Highstock JS v13.0.2 (2026-08-27)
|
|
4
4
|
* @module highcharts/modules/stock
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -17,14 +17,14 @@ import "./broken-axis.src.js";
|
|
|
17
17
|
import "./datagrouping.src.js";
|
|
18
18
|
import "./mouse-wheel-zoom.src.js";
|
|
19
19
|
/******/ // The require scope
|
|
20
|
-
/******/
|
|
20
|
+
/******/ const __webpack_require__ = {};
|
|
21
21
|
/******/
|
|
22
22
|
/************************************************************************/
|
|
23
23
|
/******/ /* webpack/runtime/compat get default export */
|
|
24
24
|
/******/ (() => {
|
|
25
25
|
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
26
26
|
/******/ __webpack_require__.n = (module) => {
|
|
27
|
-
/******/
|
|
27
|
+
/******/ const getter = module && module.__esModule ?
|
|
28
28
|
/******/ () => (module['default']) :
|
|
29
29
|
/******/ () => (module);
|
|
30
30
|
/******/ __webpack_require__.d(getter, { a: getter });
|
|
@@ -34,11 +34,26 @@ import "./mouse-wheel-zoom.src.js";
|
|
|
34
34
|
/******/
|
|
35
35
|
/******/ /* webpack/runtime/define property getters */
|
|
36
36
|
/******/ (() => {
|
|
37
|
-
/******/ // define getter functions for harmony exports
|
|
37
|
+
/******/ // define getter/value functions for harmony exports
|
|
38
38
|
/******/ __webpack_require__.d = (exports, definition) => {
|
|
39
|
-
/******/
|
|
40
|
-
/******/
|
|
41
|
-
/******/
|
|
39
|
+
/******/ if(Array.isArray(definition)) {
|
|
40
|
+
/******/ var i = 0;
|
|
41
|
+
/******/ while(i < definition.length) {
|
|
42
|
+
/******/ var key = definition[i++];
|
|
43
|
+
/******/ var binding = definition[i++];
|
|
44
|
+
/******/ if(!__webpack_require__.o(exports, key)) {
|
|
45
|
+
/******/ if(binding === 0) {
|
|
46
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] });
|
|
47
|
+
/******/ } else {
|
|
48
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: binding });
|
|
49
|
+
/******/ }
|
|
50
|
+
/******/ } else if(binding === 0) { i++; }
|
|
51
|
+
/******/ }
|
|
52
|
+
/******/ } else {
|
|
53
|
+
/******/ for(var key in definition) {
|
|
54
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
55
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
56
|
+
/******/ }
|
|
42
57
|
/******/ }
|
|
43
58
|
/******/ }
|
|
44
59
|
/******/ };
|
|
@@ -50,7 +65,6 @@ import "./mouse-wheel-zoom.src.js";
|
|
|
50
65
|
/******/ })();
|
|
51
66
|
/******/
|
|
52
67
|
/************************************************************************/
|
|
53
|
-
var __webpack_exports__ = {};
|
|
54
68
|
|
|
55
69
|
;// external ["../highcharts.src.js","default"]
|
|
56
70
|
const external_highcharts_src_js_default_namespaceObject = __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__["default"];
|
|
@@ -139,7 +153,7 @@ var DataModifyComposition;
|
|
|
139
153
|
series.setCumulative(modeState, false);
|
|
140
154
|
}
|
|
141
155
|
});
|
|
142
|
-
if (
|
|
156
|
+
if (redraw ?? true) {
|
|
143
157
|
this.chart.redraw();
|
|
144
158
|
}
|
|
145
159
|
}
|
|
@@ -156,7 +170,7 @@ var DataModifyComposition;
|
|
|
156
170
|
function tooltipFormatter(pointFormat) {
|
|
157
171
|
const point = this, { numberFormatter } = point.series.chart, replace = function (value) {
|
|
158
172
|
pointFormat = pointFormat.replace('{point.' + value + '}', (point[value] > 0 && value === 'change' ? '+' : '') +
|
|
159
|
-
numberFormatter(point[value], (
|
|
173
|
+
numberFormatter(point[value], (point.series.tooltipOptions.changeDecimals ?? 2)));
|
|
160
174
|
};
|
|
161
175
|
if ((0,external_highcharts_src_js_default_namespaceObject.defined)(point.change)) {
|
|
162
176
|
replace('change');
|
|
@@ -184,7 +198,9 @@ var DataModifyComposition;
|
|
|
184
198
|
chart.series[this.index - 1] :
|
|
185
199
|
chart.get(linkedTo);
|
|
186
200
|
if (linkedSeries instanceof (external_highcharts_src_js_default_Series_default())) {
|
|
187
|
-
this.options.compare =
|
|
201
|
+
this.options.compare =
|
|
202
|
+
this.userOptions.compare ??
|
|
203
|
+
linkedSeries.options.compare;
|
|
188
204
|
}
|
|
189
205
|
}
|
|
190
206
|
const compare = this.options.compare;
|
|
@@ -258,7 +274,7 @@ var DataModifyComposition;
|
|
|
258
274
|
// Survive to export, #5485 (and for options generally)
|
|
259
275
|
this.options.compare = this.userOptions.compare = compare;
|
|
260
276
|
// Fire series.init() that will set or delete series.dataModify
|
|
261
|
-
this.update({}, (
|
|
277
|
+
this.update({}, (redraw ?? true));
|
|
262
278
|
if (this.dataModify && (compare === 'value' || compare === 'percent')) {
|
|
263
279
|
this.dataModify.initCompare(compare);
|
|
264
280
|
}
|
|
@@ -345,11 +361,11 @@ var DataModifyComposition;
|
|
|
345
361
|
*/
|
|
346
362
|
function seriesSetCumulative(cumulative, redraw) {
|
|
347
363
|
// Set default value to false
|
|
348
|
-
cumulative = (
|
|
364
|
+
cumulative = (cumulative ?? false);
|
|
349
365
|
// Survive to export, #5485 (and for options generally)
|
|
350
366
|
this.options.cumulative = this.userOptions.cumulative = cumulative;
|
|
351
367
|
// Fire series.init() that will set or delete series.dataModify
|
|
352
|
-
this.update({}, (
|
|
368
|
+
this.update({}, (redraw ?? true));
|
|
353
369
|
// If should, turn on the Cumulative Sum mode
|
|
354
370
|
if (this.dataModify) {
|
|
355
371
|
this.dataModify.initCumulative();
|
|
@@ -698,7 +714,7 @@ function onChartAfterSetChartSize() {
|
|
|
698
714
|
navigator.top = this.plotTop + scrollButtonSize;
|
|
699
715
|
}
|
|
700
716
|
else {
|
|
701
|
-
navigator.left = (
|
|
717
|
+
navigator.left = (xAxis.left ?? this.plotLeft + scrollButtonSize);
|
|
702
718
|
navigator.top = navigator.navigatorOptions.top ||
|
|
703
719
|
this.chartHeight -
|
|
704
720
|
navigator.height -
|
|
@@ -714,7 +730,7 @@ function onChartAfterSetChartSize() {
|
|
|
714
730
|
legendOptions.enabled &&
|
|
715
731
|
!legendOptions.floating) ?
|
|
716
732
|
legend.legendHeight +
|
|
717
|
-
(
|
|
733
|
+
(legendOptions.margin ?? 10) :
|
|
718
734
|
0) -
|
|
719
735
|
(this.titleOffset ? this.titleOffset[2] : 0);
|
|
720
736
|
}
|
|
@@ -739,7 +755,7 @@ function onChartAfterUpdate(event) {
|
|
|
739
755
|
(this.options.navigator.enabled ||
|
|
740
756
|
this.options.scrollbar.enabled)) {
|
|
741
757
|
this.scroller = this.navigator = new NavigatorConstructor(this);
|
|
742
|
-
if (
|
|
758
|
+
if (event.redraw ?? true) {
|
|
743
759
|
this.redraw(event.animation); // #7067
|
|
744
760
|
}
|
|
745
761
|
}
|
|
@@ -917,7 +933,7 @@ class NavigatorAxisAdditions {
|
|
|
917
933
|
*/
|
|
918
934
|
toFixedRange(pxMin, pxMax, fixedMin, fixedMax) {
|
|
919
935
|
const axis = this.axis, halfPointRange = (axis.pointRange || 0) / 2;
|
|
920
|
-
let newMin =
|
|
936
|
+
let newMin = fixedMin ?? axis.translate(pxMin, true, !axis.horiz), newMax = fixedMax ?? axis.translate(pxMax, true, !axis.horiz);
|
|
921
937
|
// Add/remove half point range to/from the extremes (#1172)
|
|
922
938
|
if (!(0,external_highcharts_src_js_default_namespaceObject.defined)(fixedMin)) {
|
|
923
939
|
newMin = (0,external_highcharts_src_js_default_namespaceObject.correctFloat)(newMin + halfPointRange);
|
|
@@ -1144,7 +1160,7 @@ const NavigatorDefaults = {
|
|
|
1144
1160
|
*
|
|
1145
1161
|
* @type {Highcharts.ColorType}
|
|
1146
1162
|
*/
|
|
1147
|
-
maskFill: 'color-mix(var(--highcharts-highlight-color-60) 30%, transparent)',
|
|
1163
|
+
maskFill: 'color-mix(in srgb, var(--highcharts-highlight-color-60) 30%, transparent)', // eslint-disable-line max-len
|
|
1148
1164
|
/**
|
|
1149
1165
|
* The color of the line marking the currently zoomed area in the
|
|
1150
1166
|
* navigator.
|
|
@@ -1283,11 +1299,18 @@ const NavigatorDefaults = {
|
|
|
1283
1299
|
id: 'highcharts-navigator-series',
|
|
1284
1300
|
className: 'highcharts-navigator-series',
|
|
1285
1301
|
/**
|
|
1286
|
-
* Sets the
|
|
1302
|
+
* Sets the color of the navigator series.
|
|
1287
1303
|
*
|
|
1288
1304
|
* @type {Highcharts.ColorType}
|
|
1289
1305
|
* @apioption navigator.series.color
|
|
1290
1306
|
*/
|
|
1307
|
+
/**
|
|
1308
|
+
* Sets the fill color of the navigator series. Applies to series
|
|
1309
|
+
* types with a filled area, like the default `areaspline`.
|
|
1310
|
+
*
|
|
1311
|
+
* @type {Highcharts.ColorType}
|
|
1312
|
+
* @apioption navigator.series.fillColor
|
|
1313
|
+
*/
|
|
1291
1314
|
/**
|
|
1292
1315
|
* Line color for the navigator series. Allows setting the color
|
|
1293
1316
|
* while disallowing the default candlestick setting.
|
|
@@ -1472,6 +1495,401 @@ const NavigatorDefaults = {
|
|
|
1472
1495
|
*/
|
|
1473
1496
|
(''); // Keeps doclets above in JS file
|
|
1474
1497
|
|
|
1498
|
+
;// ./code/es-modules/Extensions/BorderRadius.js
|
|
1499
|
+
/* unused harmony import specifier */ var relativeLength;
|
|
1500
|
+
/* unused harmony import specifier */ var isObject;
|
|
1501
|
+
/* unused harmony import specifier */ var extend;
|
|
1502
|
+
/* unused harmony import specifier */ var addEvent;
|
|
1503
|
+
/* *
|
|
1504
|
+
*
|
|
1505
|
+
* Highcharts Border Radius module
|
|
1506
|
+
*
|
|
1507
|
+
* Author: Torstein Hønsi
|
|
1508
|
+
*
|
|
1509
|
+
* Integration of this software requires a license.
|
|
1510
|
+
* - For commercial use, see www.highcharts.com/license
|
|
1511
|
+
* - For non-commercial, see www.highcharts.com/license-eula
|
|
1512
|
+
*
|
|
1513
|
+
*
|
|
1514
|
+
* */
|
|
1515
|
+
|
|
1516
|
+
|
|
1517
|
+
const { defaultOptions } = (external_highcharts_src_js_default_default());
|
|
1518
|
+
|
|
1519
|
+
const { noop } = (external_highcharts_src_js_default_default());
|
|
1520
|
+
|
|
1521
|
+
/* *
|
|
1522
|
+
*
|
|
1523
|
+
* Constants
|
|
1524
|
+
*
|
|
1525
|
+
* */
|
|
1526
|
+
const defaultBorderRadiusOptions = {
|
|
1527
|
+
radius: 0,
|
|
1528
|
+
scope: 'stack',
|
|
1529
|
+
where: void 0
|
|
1530
|
+
};
|
|
1531
|
+
/* *
|
|
1532
|
+
*
|
|
1533
|
+
* Variables
|
|
1534
|
+
*
|
|
1535
|
+
* */
|
|
1536
|
+
let oldArc = (/* unused pure expression or super */ null && (noop));
|
|
1537
|
+
let oldRoundedRect = (/* unused pure expression or super */ null && (noop));
|
|
1538
|
+
/* *
|
|
1539
|
+
*
|
|
1540
|
+
* Functions
|
|
1541
|
+
*
|
|
1542
|
+
* */
|
|
1543
|
+
/** @internal */
|
|
1544
|
+
function applyBorderRadius(path, i, r) {
|
|
1545
|
+
const a = path[i];
|
|
1546
|
+
let b = path[i + 1];
|
|
1547
|
+
if (b[0] === 'Z') {
|
|
1548
|
+
b = path[0];
|
|
1549
|
+
}
|
|
1550
|
+
let line, arc, fromLineToArc;
|
|
1551
|
+
// From straight line to arc
|
|
1552
|
+
if ((a[0] === 'M' || a[0] === 'L') && b[0] === 'A') {
|
|
1553
|
+
line = a;
|
|
1554
|
+
arc = b;
|
|
1555
|
+
fromLineToArc = true;
|
|
1556
|
+
// From arc to straight line
|
|
1557
|
+
}
|
|
1558
|
+
else if (a[0] === 'A' && (b[0] === 'M' || b[0] === 'L')) {
|
|
1559
|
+
line = b;
|
|
1560
|
+
arc = a;
|
|
1561
|
+
}
|
|
1562
|
+
if (line && arc && arc.params) {
|
|
1563
|
+
const bigR = arc[1],
|
|
1564
|
+
// In our use cases, outer pie slice arcs are clockwise and inner
|
|
1565
|
+
// arcs (donut/sunburst etc) are anti-clockwise
|
|
1566
|
+
clockwise = arc[5], params = arc.params, { start, end, cx, cy } = params;
|
|
1567
|
+
// Some geometric constants
|
|
1568
|
+
const relativeR = clockwise ? (bigR - r) : (bigR + r),
|
|
1569
|
+
// The angle, on the big arc, that the border radius arc takes up
|
|
1570
|
+
angleOfBorderRadius = relativeR ? Math.asin(r / relativeR) : 0, angleOffset = clockwise ?
|
|
1571
|
+
angleOfBorderRadius :
|
|
1572
|
+
-angleOfBorderRadius,
|
|
1573
|
+
// The distance along the radius of the big arc to the starting
|
|
1574
|
+
// point of the small border radius arc
|
|
1575
|
+
distanceBigCenterToStartArc = (Math.cos(angleOfBorderRadius) *
|
|
1576
|
+
relativeR);
|
|
1577
|
+
// From line to arc
|
|
1578
|
+
if (fromLineToArc) {
|
|
1579
|
+
// Update the cache
|
|
1580
|
+
params.start = start + angleOffset;
|
|
1581
|
+
// First move to the start position at the radial line. We want to
|
|
1582
|
+
// start one borderRadius closer to the center.
|
|
1583
|
+
line[1] = cx + distanceBigCenterToStartArc * Math.cos(start);
|
|
1584
|
+
line[2] = cy + distanceBigCenterToStartArc * Math.sin(start);
|
|
1585
|
+
// Now draw an arc towards the point where the small circle touches
|
|
1586
|
+
// the great circle.
|
|
1587
|
+
path.splice(i + 1, 0, [
|
|
1588
|
+
'A',
|
|
1589
|
+
r,
|
|
1590
|
+
r,
|
|
1591
|
+
0, // Slanting,
|
|
1592
|
+
0, // Long arc
|
|
1593
|
+
1, // Clockwise
|
|
1594
|
+
cx + bigR * Math.cos(params.start),
|
|
1595
|
+
cy + bigR * Math.sin(params.start)
|
|
1596
|
+
]);
|
|
1597
|
+
// From arc to line
|
|
1598
|
+
}
|
|
1599
|
+
else {
|
|
1600
|
+
// Update the cache
|
|
1601
|
+
params.end = end - angleOffset;
|
|
1602
|
+
// End the big arc a bit earlier
|
|
1603
|
+
arc[6] = cx + bigR * Math.cos(params.end);
|
|
1604
|
+
arc[7] = cy + bigR * Math.sin(params.end);
|
|
1605
|
+
// Draw a small arc towards a point on the end angle, but one
|
|
1606
|
+
// borderRadius closer to the center relative to the perimeter.
|
|
1607
|
+
path.splice(i + 1, 0, [
|
|
1608
|
+
'A',
|
|
1609
|
+
r,
|
|
1610
|
+
r,
|
|
1611
|
+
0,
|
|
1612
|
+
0,
|
|
1613
|
+
1,
|
|
1614
|
+
cx + distanceBigCenterToStartArc * Math.cos(end),
|
|
1615
|
+
cy + distanceBigCenterToStartArc * Math.sin(end)
|
|
1616
|
+
]);
|
|
1617
|
+
}
|
|
1618
|
+
// Long or short arc must be reconsidered because we have modified the
|
|
1619
|
+
// start and end points
|
|
1620
|
+
arc[4] = Math.abs(params.end - params.start) < Math.PI ? 0 : 1;
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
/**
|
|
1624
|
+
* Extend arc with borderRadius.
|
|
1625
|
+
* @internal
|
|
1626
|
+
*/
|
|
1627
|
+
function arc(x, y, w, h, options = {}) {
|
|
1628
|
+
const path = oldArc(x, y, w, h, options), { brStart = true, brEnd = true, innerR = 0, r = w, start = 0, end = 0 } = options;
|
|
1629
|
+
if (options.open || !options.borderRadius) {
|
|
1630
|
+
return path;
|
|
1631
|
+
}
|
|
1632
|
+
const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(relativeLength(borderRadiusObject(options.borderRadius).radius, r - innerR),
|
|
1633
|
+
// Cap to half the sector radius
|
|
1634
|
+
(r - innerR) / 2,
|
|
1635
|
+
// For smaller pie slices, cap to the largest small circle that
|
|
1636
|
+
// can be fitted within the sector
|
|
1637
|
+
(r * sinHalfAlpha) / (1 + sinHalfAlpha)), 0),
|
|
1638
|
+
// For the inner radius, we need an extra cap because the inner arc
|
|
1639
|
+
// is shorter than the outer arc
|
|
1640
|
+
innerBorderRadius = Math.min(borderRadius, 2 * (alpha / Math.PI) * innerR);
|
|
1641
|
+
// Apply turn-by-turn border radius. Start at the end since we're
|
|
1642
|
+
// splicing in arc segments.
|
|
1643
|
+
let i = path.length - 1;
|
|
1644
|
+
while (i--) {
|
|
1645
|
+
if ((!brStart && (i === 0 || i === 3)) ||
|
|
1646
|
+
(!brEnd && (i === 1 || i === 2))) {
|
|
1647
|
+
continue;
|
|
1648
|
+
}
|
|
1649
|
+
applyBorderRadius(path, i, i > 1 ? innerBorderRadius : borderRadius);
|
|
1650
|
+
}
|
|
1651
|
+
return path;
|
|
1652
|
+
}
|
|
1653
|
+
/** @internal */
|
|
1654
|
+
function seriesOnAfterColumnTranslate() {
|
|
1655
|
+
if (this.options.borderRadius &&
|
|
1656
|
+
!(this.chart.is3d && this.chart.is3d())) {
|
|
1657
|
+
const { options, yAxis } = this, percent = options.stacking === 'percent', seriesDefault = defaultOptions.plotOptions?.[this.type]
|
|
1658
|
+
?.borderRadius, borderRadius = borderRadiusObject(options.borderRadius, isObject(seriesDefault) ? seriesDefault : {}), reversed = yAxis.options.reversed;
|
|
1659
|
+
for (const point of this.points) {
|
|
1660
|
+
const { shapeArgs } = point;
|
|
1661
|
+
if (point.shapeType === 'roundedRect' && shapeArgs) {
|
|
1662
|
+
const { width = 0, height = 0, y = 0 } = shapeArgs;
|
|
1663
|
+
let brBoxY = y, brBoxHeight = height;
|
|
1664
|
+
// It would be nice to refactor StackItem.getStackBox/
|
|
1665
|
+
// setOffset so that we could get a reliable box out of
|
|
1666
|
+
// it. Currently it is close if we remove the label
|
|
1667
|
+
// offset, but we still need to run crispCol and also
|
|
1668
|
+
// flip it if inverted, so atm it is simpler to do it
|
|
1669
|
+
// like the below.
|
|
1670
|
+
if (borderRadius.scope === 'stack' &&
|
|
1671
|
+
point.stackTotal) {
|
|
1672
|
+
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));
|
|
1673
|
+
brBoxY = box.y;
|
|
1674
|
+
brBoxHeight = box.height;
|
|
1675
|
+
}
|
|
1676
|
+
const flip = (point.negative ? -1 : 1) *
|
|
1677
|
+
(reversed ? -1 : 1) === -1;
|
|
1678
|
+
// Handle the where option
|
|
1679
|
+
let where = borderRadius.where;
|
|
1680
|
+
// Waterfall, hanging columns should have rounding on
|
|
1681
|
+
// all sides
|
|
1682
|
+
if (!where &&
|
|
1683
|
+
this.is('waterfall') &&
|
|
1684
|
+
Math.abs((point.yBottom || 0) -
|
|
1685
|
+
(this.translatedThreshold || 0)) > this.borderWidth) {
|
|
1686
|
+
where = 'all';
|
|
1687
|
+
}
|
|
1688
|
+
if (!where) {
|
|
1689
|
+
where = 'end';
|
|
1690
|
+
}
|
|
1691
|
+
// Get the radius
|
|
1692
|
+
const r = Math.min(relativeLength(borderRadius.radius, width), width / 2,
|
|
1693
|
+
// Cap to the height, but not if where is `end`
|
|
1694
|
+
where === 'all' ? brBoxHeight / 2 : Infinity) || 0;
|
|
1695
|
+
// If the `where` option is 'end', cut off the
|
|
1696
|
+
// rectangles by making the border-radius box one r
|
|
1697
|
+
// greater, so that the imaginary radius falls outside
|
|
1698
|
+
// the rectangle.
|
|
1699
|
+
if (where === 'end') {
|
|
1700
|
+
if (flip) {
|
|
1701
|
+
brBoxY -= r;
|
|
1702
|
+
brBoxHeight += r;
|
|
1703
|
+
}
|
|
1704
|
+
else {
|
|
1705
|
+
brBoxHeight += r;
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
extend(shapeArgs, { brBoxHeight, brBoxY, r });
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
/** @internal */
|
|
1714
|
+
function composeBorderRadius(SeriesClass, SVGElementClass, SVGRendererClass) {
|
|
1715
|
+
const PieSeriesClass = SeriesClass.types.pie;
|
|
1716
|
+
if (!SVGElementClass.symbolCustomAttribs.includes('borderRadius')) {
|
|
1717
|
+
const symbols = SVGRendererClass.prototype.symbols;
|
|
1718
|
+
addEvent(SeriesClass, 'afterColumnTranslate', seriesOnAfterColumnTranslate, {
|
|
1719
|
+
// After columnrange and polar column modifications
|
|
1720
|
+
order: 9
|
|
1721
|
+
});
|
|
1722
|
+
addEvent(PieSeriesClass, 'afterTranslate', pieSeriesOnAfterTranslate);
|
|
1723
|
+
SVGElementClass.symbolCustomAttribs.push('borderRadius', 'brBoxHeight', 'brBoxY', 'brEnd', 'brStart');
|
|
1724
|
+
oldArc = symbols.arc;
|
|
1725
|
+
oldRoundedRect = symbols.roundedRect;
|
|
1726
|
+
symbols.arc = arc;
|
|
1727
|
+
symbols.roundedRect = roundedRect;
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
/**
|
|
1731
|
+
* Utility function to get the full border radius options object, from a simple
|
|
1732
|
+
* number or a partial options object.
|
|
1733
|
+
* @internal
|
|
1734
|
+
*/
|
|
1735
|
+
function borderRadiusObject(options, seriesBROptions) {
|
|
1736
|
+
if (!(0,external_highcharts_src_js_default_namespaceObject.isObject)(options)) {
|
|
1737
|
+
options = { radius: options || 0 };
|
|
1738
|
+
}
|
|
1739
|
+
return (0,external_highcharts_src_js_default_namespaceObject.merge)(defaultBorderRadiusOptions, seriesBROptions, options);
|
|
1740
|
+
}
|
|
1741
|
+
/** @internal */
|
|
1742
|
+
function pieSeriesOnAfterTranslate() {
|
|
1743
|
+
const borderRadius = borderRadiusObject(this.options.borderRadius);
|
|
1744
|
+
for (const point of this.points) {
|
|
1745
|
+
const shapeArgs = point.shapeArgs;
|
|
1746
|
+
if (shapeArgs) {
|
|
1747
|
+
shapeArgs.borderRadius = relativeLength(borderRadius.radius, (shapeArgs.r || 0) - ((shapeArgs.innerR) || 0));
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
/**
|
|
1752
|
+
* Extend roundedRect with individual cutting through rOffset.
|
|
1753
|
+
* @internal
|
|
1754
|
+
*/
|
|
1755
|
+
function roundedRect(x, y, width, height, options = {}) {
|
|
1756
|
+
const path = oldRoundedRect(x, y, width, height, options), { r = 0, brBoxHeight = height, brBoxY = y } = options, brOffsetTop = y - brBoxY, brOffsetBtm = (brBoxY + brBoxHeight) - (y + height),
|
|
1757
|
+
// When the distance to the border-radius box is greater than the r
|
|
1758
|
+
// itself, it means no border radius. The -0.1 accounts for float
|
|
1759
|
+
// rounding errors.
|
|
1760
|
+
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);
|
|
1761
|
+
/*
|
|
1762
|
+
|
|
1763
|
+
The naming of control points:
|
|
1764
|
+
|
|
1765
|
+
/ a -------- b \
|
|
1766
|
+
/ \
|
|
1767
|
+
h c
|
|
1768
|
+
| |
|
|
1769
|
+
| |
|
|
1770
|
+
| |
|
|
1771
|
+
g d
|
|
1772
|
+
\ /
|
|
1773
|
+
\ f -------- e /
|
|
1774
|
+
|
|
1775
|
+
*/
|
|
1776
|
+
const a = [x + rTop, y], b = [x + width - rTop, y], c = [x + width, y + rTop], d = [
|
|
1777
|
+
x + width, y + height - rBtm
|
|
1778
|
+
], e = [
|
|
1779
|
+
x + width - rBtm,
|
|
1780
|
+
y + height
|
|
1781
|
+
], f = [x + rBtm, y + height], g = [x, y + height - rBtm], h = [x, y + rTop];
|
|
1782
|
+
const applyPythagoras = (r, altitude) => Math.sqrt(Math.pow(r, 2) - Math.pow(altitude, 2));
|
|
1783
|
+
// Inside stacks, cut off part of the top
|
|
1784
|
+
if (cutTop) {
|
|
1785
|
+
const base = applyPythagoras(rTop, rTop - cutTop);
|
|
1786
|
+
a[0] -= base;
|
|
1787
|
+
b[0] += base;
|
|
1788
|
+
c[1] = h[1] = y + rTop - cutTop;
|
|
1789
|
+
}
|
|
1790
|
+
// Column is lower than the radius. Cut off bottom inside the top
|
|
1791
|
+
// radius.
|
|
1792
|
+
if (height < rTop - cutTop) {
|
|
1793
|
+
const base = applyPythagoras(rTop, rTop - cutTop - height);
|
|
1794
|
+
c[0] = d[0] = x + width - rTop + base;
|
|
1795
|
+
e[0] = Math.min(c[0], e[0]);
|
|
1796
|
+
f[0] = Math.max(d[0], f[0]);
|
|
1797
|
+
g[0] = h[0] = x + rTop - base;
|
|
1798
|
+
c[1] = h[1] = y + height;
|
|
1799
|
+
}
|
|
1800
|
+
// Inside stacks, cut off part of the bottom
|
|
1801
|
+
if (cutBtm) {
|
|
1802
|
+
const base = applyPythagoras(rBtm, rBtm - cutBtm);
|
|
1803
|
+
e[0] += base;
|
|
1804
|
+
f[0] -= base;
|
|
1805
|
+
d[1] = g[1] = y + height - rBtm + cutBtm;
|
|
1806
|
+
}
|
|
1807
|
+
// Cut off top inside the bottom radius
|
|
1808
|
+
if (height < rBtm - cutBtm) {
|
|
1809
|
+
const base = applyPythagoras(rBtm, rBtm - cutBtm - height);
|
|
1810
|
+
c[0] = d[0] = x + width - rBtm + base;
|
|
1811
|
+
b[0] = Math.min(c[0], b[0]);
|
|
1812
|
+
a[0] = Math.max(d[0], a[0]);
|
|
1813
|
+
g[0] = h[0] = x + rBtm - base;
|
|
1814
|
+
d[1] = g[1] = y;
|
|
1815
|
+
}
|
|
1816
|
+
// Preserve the box for data labels
|
|
1817
|
+
path.length = 0;
|
|
1818
|
+
path.push(['M', ...a],
|
|
1819
|
+
// Top side
|
|
1820
|
+
['L', ...b],
|
|
1821
|
+
// Top right corner
|
|
1822
|
+
['A', rTop, rTop, 0, 0, 1, ...c],
|
|
1823
|
+
// Right side
|
|
1824
|
+
['L', ...d],
|
|
1825
|
+
// Bottom right corner
|
|
1826
|
+
['A', rBtm, rBtm, 0, 0, 1, ...e],
|
|
1827
|
+
// Bottom side
|
|
1828
|
+
['L', ...f],
|
|
1829
|
+
// Bottom left corner
|
|
1830
|
+
['A', rBtm, rBtm, 0, 0, 1, ...g],
|
|
1831
|
+
// Left side
|
|
1832
|
+
['L', ...h],
|
|
1833
|
+
// Top left corner
|
|
1834
|
+
['A', rTop, rTop, 0, 0, 1, ...a], ['Z']);
|
|
1835
|
+
return path;
|
|
1836
|
+
}
|
|
1837
|
+
/* *
|
|
1838
|
+
*
|
|
1839
|
+
* API Declarations
|
|
1840
|
+
*
|
|
1841
|
+
* */
|
|
1842
|
+
/**
|
|
1843
|
+
* Detailed options for border radius.
|
|
1844
|
+
*
|
|
1845
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
1846
|
+
* Rounded columns
|
|
1847
|
+
* @sample highcharts/plotoptions/series-border-radius
|
|
1848
|
+
* Column and pie with rounded border
|
|
1849
|
+
*
|
|
1850
|
+
* @interface Highcharts.BorderRadiusOptionsObject
|
|
1851
|
+
*/ /**
|
|
1852
|
+
* The border radius. A number signifies pixels. A percentage string, like for
|
|
1853
|
+
* example `50%`, signifies a relative size. For columns this is relative to the
|
|
1854
|
+
* column width, for pies it is relative to the radius and the inner radius.
|
|
1855
|
+
*
|
|
1856
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
1857
|
+
* Rounded columns
|
|
1858
|
+
* @sample highcharts/plotoptions/series-border-radius
|
|
1859
|
+
* Column and pie with rounded border
|
|
1860
|
+
*
|
|
1861
|
+
* @name Highcharts.BorderRadiusOptionsObject#radius
|
|
1862
|
+
* @type {string|number|undefined}
|
|
1863
|
+
*/ /**
|
|
1864
|
+
* The scope of the rounding for column charts or plot bands. In a stacked
|
|
1865
|
+
* column chart, the value `point` means each single point will get rounded
|
|
1866
|
+
* corners. The value `stack` means the rounding will apply to the full
|
|
1867
|
+
* stack, so that only points close to the top or bottom will receive
|
|
1868
|
+
* rounding.
|
|
1869
|
+
*
|
|
1870
|
+
* Similarly, for plot bands, the `individual` value means each plot band
|
|
1871
|
+
* will get rounded corners.
|
|
1872
|
+
*
|
|
1873
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
1874
|
+
* Rounded columns
|
|
1875
|
+
*
|
|
1876
|
+
* @name Highcharts.BorderRadiusOptionsObject#scope
|
|
1877
|
+
* @type {"individual"|"point"|"stack"|undefined}
|
|
1878
|
+
*/ /**
|
|
1879
|
+
* For column charts, where in the point or stack to apply rounding. The `end`
|
|
1880
|
+
* value means only those corners at the point value will be rounded, leaving
|
|
1881
|
+
* the corners at the base or threshold unrounded. This is the most intuitive
|
|
1882
|
+
* behavior. The `all` value means also the base will be rounded.
|
|
1883
|
+
*
|
|
1884
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius-where-all
|
|
1885
|
+
* Rounding on all corners
|
|
1886
|
+
*
|
|
1887
|
+
* @name Highcharts.BorderRadiusOptionsObject#where
|
|
1888
|
+
* @type {"all"|"end"|undefined}
|
|
1889
|
+
* @default end
|
|
1890
|
+
*/
|
|
1891
|
+
(''); // Keeps doclets above in JS file
|
|
1892
|
+
|
|
1475
1893
|
;// ./code/es-modules/Core/Renderer/SVG/Symbols.js
|
|
1476
1894
|
/* *
|
|
1477
1895
|
*
|
|
@@ -1508,11 +1926,11 @@ const NavigatorDefaults = {
|
|
|
1508
1926
|
* @return {Highcharts.SVGPathArray}
|
|
1509
1927
|
* Path
|
|
1510
1928
|
*/
|
|
1511
|
-
function
|
|
1929
|
+
function Symbols_arc(cx, cy, w, h, options) {
|
|
1512
1930
|
const arc = [];
|
|
1513
1931
|
if (options) {
|
|
1514
1932
|
let start = options.start || 0, end = options.end || 0;
|
|
1515
|
-
const rx = (
|
|
1933
|
+
const rx = (options.r ?? w), ry = (options.r ?? (h || w)),
|
|
1516
1934
|
// Subtract a small number to prevent cos and sin of start and end
|
|
1517
1935
|
// from becoming equal on 360 arcs (#1561). See "Arc proximity"
|
|
1518
1936
|
// tests at samples/unit-tests/svgrenderer/symbol/demo.js
|
|
@@ -1522,16 +1940,17 @@ function arc(cx, cy, w, h, options) {
|
|
|
1522
1940
|
start = Math.PI / 2;
|
|
1523
1941
|
end = Math.PI * 2.5 - proximity;
|
|
1524
1942
|
}
|
|
1525
|
-
const innerRadius = options.innerR, open = (
|
|
1943
|
+
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),
|
|
1526
1944
|
// Proximity takes care of rounding errors around PI (#6971)
|
|
1527
|
-
longArc =
|
|
1945
|
+
longArc = options.longArc ??
|
|
1946
|
+
(end - start - Math.PI < proximity ? 0 : 1);
|
|
1528
1947
|
let arcSegment = [
|
|
1529
1948
|
'A', // ArcTo
|
|
1530
1949
|
rx, // X radius
|
|
1531
1950
|
ry, // Y radius
|
|
1532
1951
|
0, // Slanting
|
|
1533
1952
|
longArc, // Long or short arc
|
|
1534
|
-
(
|
|
1953
|
+
(options.clockwise ?? 1), // Clockwise
|
|
1535
1954
|
// Use a static pixel offset for full circle (#21701)
|
|
1536
1955
|
cx + (fullCircle ? 0.001 : rx * cosEnd),
|
|
1537
1956
|
cy + ry * sinEnd
|
|
@@ -1596,7 +2015,7 @@ function arc(cx, cy, w, h, options) {
|
|
|
1596
2015
|
*/
|
|
1597
2016
|
function callout(x, y, w, h, options) {
|
|
1598
2017
|
const arrowLength = 6, halfDistance = 6, r = Math.min((options?.r) || 0, w, h), safeDistance = r + halfDistance, anchorX = options?.anchorX, anchorY = options?.anchorY || 0;
|
|
1599
|
-
const path =
|
|
2018
|
+
const path = Symbols_roundedRect(x, y, w, h, { r });
|
|
1600
2019
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(anchorX)) {
|
|
1601
2020
|
return path;
|
|
1602
2021
|
}
|
|
@@ -1668,7 +2087,7 @@ function callout(x, y, w, h, options) {
|
|
|
1668
2087
|
*/
|
|
1669
2088
|
function circle(x, y, w, h) {
|
|
1670
2089
|
// Return a full arc
|
|
1671
|
-
return
|
|
2090
|
+
return Symbols_arc(x + w / 2, y + h / 2, w / 2, h / 2, {
|
|
1672
2091
|
start: Math.PI * 0.5,
|
|
1673
2092
|
end: Math.PI * 2.5,
|
|
1674
2093
|
open: false
|
|
@@ -1716,7 +2135,7 @@ function diamond(x, y, w, h) {
|
|
|
1716
2135
|
*/
|
|
1717
2136
|
function rect(x, y, w, h, options) {
|
|
1718
2137
|
if (options?.r) {
|
|
1719
|
-
return
|
|
2138
|
+
return Symbols_roundedRect(x, y, w, h, options);
|
|
1720
2139
|
}
|
|
1721
2140
|
return [
|
|
1722
2141
|
['M', x, y],
|
|
@@ -1742,7 +2161,7 @@ function rect(x, y, w, h, options) {
|
|
|
1742
2161
|
* @return {Highcharts.SVGPathArray}
|
|
1743
2162
|
* Path
|
|
1744
2163
|
*/
|
|
1745
|
-
function
|
|
2164
|
+
function Symbols_roundedRect(x, y, w, h, options) {
|
|
1746
2165
|
const r = options?.r || 0;
|
|
1747
2166
|
return [
|
|
1748
2167
|
['M', x + r, y],
|
|
@@ -1818,7 +2237,7 @@ const Symbols = {
|
|
|
1818
2237
|
* @return {Highcharts.SVGPathArray}
|
|
1819
2238
|
* Path
|
|
1820
2239
|
*/
|
|
1821
|
-
arc,
|
|
2240
|
+
arc: Symbols_arc,
|
|
1822
2241
|
/**
|
|
1823
2242
|
* Callout shape used for default tooltips.
|
|
1824
2243
|
*
|
|
@@ -1899,7 +2318,7 @@ const Symbols = {
|
|
|
1899
2318
|
* @return {Highcharts.SVGPathArray}
|
|
1900
2319
|
* Path
|
|
1901
2320
|
*/
|
|
1902
|
-
roundedRect,
|
|
2321
|
+
roundedRect: Symbols_roundedRect,
|
|
1903
2322
|
/**
|
|
1904
2323
|
* Rect symbol path.
|
|
1905
2324
|
*
|
|
@@ -2024,6 +2443,7 @@ const Symbols = {
|
|
|
2024
2443
|
|
|
2025
2444
|
|
|
2026
2445
|
|
|
2446
|
+
|
|
2027
2447
|
/* *
|
|
2028
2448
|
*
|
|
2029
2449
|
* Constants
|
|
@@ -2034,7 +2454,7 @@ const Symbols = {
|
|
|
2034
2454
|
* @internal
|
|
2035
2455
|
*/
|
|
2036
2456
|
function navigatorHandle(_x, _y, width, height, options = {}) {
|
|
2037
|
-
const halfWidth = options.width ? options.width / 2 : width, markerPosition = 1.5, r = (0,external_highcharts_src_js_default_namespaceObject.relativeLength)(options.borderRadius
|
|
2457
|
+
const halfWidth = options.width ? options.width / 2 : width, markerPosition = 1.5, r = (0,external_highcharts_src_js_default_namespaceObject.relativeLength)(borderRadiusObject(options.borderRadius).radius, Math.min(halfWidth * 2, height));
|
|
2038
2458
|
height = options.height || height;
|
|
2039
2459
|
return [
|
|
2040
2460
|
['M', -markerPosition, height / 2 - 3.5],
|
|
@@ -2119,7 +2539,7 @@ const StockUtilities = {
|
|
|
2119
2539
|
* */
|
|
2120
2540
|
|
|
2121
2541
|
|
|
2122
|
-
const { defaultOptions } = (external_highcharts_src_js_default_default());
|
|
2542
|
+
const { defaultOptions: NavigatorComposition_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
2123
2543
|
|
|
2124
2544
|
const { composed } = (external_highcharts_src_js_default_default());
|
|
2125
2545
|
|
|
@@ -2145,7 +2565,7 @@ function NavigatorComposition_compose(ChartClass, AxisClass, SeriesClass) {
|
|
|
2145
2565
|
if ((0,external_highcharts_src_js_default_namespaceObject.pushUnique)(composed, 'Navigator')) {
|
|
2146
2566
|
ChartClass.prototype.setFixedRange = NavigatorComposition_setFixedRange;
|
|
2147
2567
|
(0,external_highcharts_src_js_default_namespaceObject.extend)((external_highcharts_src_js_default_SVGRenderer_default()).prototype.symbols, Navigator_NavigatorSymbols);
|
|
2148
|
-
(0,external_highcharts_src_js_default_namespaceObject.extend)(
|
|
2568
|
+
(0,external_highcharts_src_js_default_namespaceObject.extend)(NavigatorComposition_defaultOptions, { navigator: Navigator_NavigatorDefaults });
|
|
2149
2569
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(SeriesClass, 'afterUpdate', onSeriesAfterUpdate);
|
|
2150
2570
|
}
|
|
2151
2571
|
}
|
|
@@ -2227,8 +2647,8 @@ var ScrollbarAxis;
|
|
|
2227
2647
|
ScrollbarAxis.compose = compose;
|
|
2228
2648
|
/** @internal */
|
|
2229
2649
|
function getExtremes(axis) {
|
|
2230
|
-
const axisMin = (
|
|
2231
|
-
const axisMax = (
|
|
2650
|
+
const axisMin = (axis.options?.min ?? axis.min);
|
|
2651
|
+
const axisMax = (axis.options?.max ?? axis.max);
|
|
2232
2652
|
return {
|
|
2233
2653
|
axisMin,
|
|
2234
2654
|
axisMax,
|
|
@@ -2767,7 +3187,7 @@ class Scrollbar {
|
|
|
2767
3187
|
buttonToMaxClick(e) {
|
|
2768
3188
|
const scroller = this;
|
|
2769
3189
|
const range = ((scroller.to - scroller.from) *
|
|
2770
|
-
(
|
|
3190
|
+
(scroller.options.step ?? 0.2));
|
|
2771
3191
|
scroller.updatePosition(scroller.from + range, scroller.to + range);
|
|
2772
3192
|
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(scroller, 'changed', {
|
|
2773
3193
|
from: scroller.from,
|
|
@@ -2779,7 +3199,7 @@ class Scrollbar {
|
|
|
2779
3199
|
buttonToMinClick(e) {
|
|
2780
3200
|
const scroller = this;
|
|
2781
3201
|
const range = (0,external_highcharts_src_js_default_namespaceObject.correctFloat)(scroller.to - scroller.from) *
|
|
2782
|
-
(
|
|
3202
|
+
(scroller.options.step ?? 0.2);
|
|
2783
3203
|
scroller.updatePosition((0,external_highcharts_src_js_default_namespaceObject.correctFloat)(scroller.from - range), (0,external_highcharts_src_js_default_namespaceObject.correctFloat)(scroller.to - range));
|
|
2784
3204
|
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(scroller, 'changed', {
|
|
2785
3205
|
from: scroller.from,
|
|
@@ -2911,10 +3331,11 @@ class Scrollbar {
|
|
|
2911
3331
|
scroller.renderer = renderer;
|
|
2912
3332
|
scroller.userOptions = options;
|
|
2913
3333
|
scroller.options = (0,external_highcharts_src_js_default_namespaceObject.merge)(Scrollbar_ScrollbarDefaults, Scrollbar_defaultOptions.scrollbar, options);
|
|
2914
|
-
scroller.options.margin = (
|
|
3334
|
+
scroller.options.margin = (scroller.options.margin ?? 10);
|
|
2915
3335
|
scroller.chart = chart;
|
|
2916
3336
|
// Backward compatibility
|
|
2917
|
-
scroller.size =
|
|
3337
|
+
scroller.size = scroller.options.size ??
|
|
3338
|
+
scroller.options.height;
|
|
2918
3339
|
// Init
|
|
2919
3340
|
if (options.enabled) {
|
|
2920
3341
|
scroller.render();
|
|
@@ -3204,9 +3625,9 @@ class Scrollbar {
|
|
|
3204
3625
|
* @function Highcharts.Scrollbar#shouldUpdateExtremes
|
|
3205
3626
|
*/
|
|
3206
3627
|
shouldUpdateExtremes(eventType) {
|
|
3207
|
-
return ((
|
|
3628
|
+
return ((this.options.liveRedraw ?? ((external_highcharts_src_js_default_default()).svg &&
|
|
3208
3629
|
!(external_highcharts_src_js_default_default()).isTouchDevice &&
|
|
3209
|
-
!this.chart.boosted) ||
|
|
3630
|
+
!this.chart.boosted)) ||
|
|
3210
3631
|
// Mouseup always should change extremes
|
|
3211
3632
|
eventType === 'mouseup' ||
|
|
3212
3633
|
eventType === 'touchend' ||
|
|
@@ -3726,18 +4147,18 @@ class Navigator {
|
|
|
3726
4147
|
// it. For example hidden series, but visible navigator (#6022).
|
|
3727
4148
|
if (rendered) {
|
|
3728
4149
|
pxMin = 0;
|
|
3729
|
-
pxMax = (
|
|
4150
|
+
pxMax = (xAxis.width ?? scrollbarXAxis.width);
|
|
3730
4151
|
}
|
|
3731
4152
|
else {
|
|
3732
4153
|
return;
|
|
3733
4154
|
}
|
|
3734
4155
|
}
|
|
3735
|
-
navigator.left = (
|
|
3736
|
-
// In case of scrollbar only, without navigator
|
|
3737
|
-
chart.plotLeft + scrollButtonSize +
|
|
4156
|
+
navigator.left = (xAxis.left ?? chart.plotLeft + scrollButtonSize +
|
|
3738
4157
|
(inverted ? chart.plotWidth : 0));
|
|
3739
|
-
let zoomedMax = navigator.size = navigatorSize =
|
|
3740
|
-
|
|
4158
|
+
let zoomedMax = navigator.size = navigatorSize =
|
|
4159
|
+
xAxis.len ??
|
|
4160
|
+
(inverted ? chart.plotHeight : chart.plotWidth) -
|
|
4161
|
+
2 * scrollButtonSize;
|
|
3741
4162
|
if (inverted) {
|
|
3742
4163
|
navigatorWidth = scrollbarHeight;
|
|
3743
4164
|
}
|
|
@@ -3745,8 +4166,8 @@ class Navigator {
|
|
|
3745
4166
|
navigatorWidth = navigatorSize + 2 * scrollButtonSize;
|
|
3746
4167
|
}
|
|
3747
4168
|
// Get the pixel position of the handles
|
|
3748
|
-
pxMin = (
|
|
3749
|
-
pxMax = (
|
|
4169
|
+
pxMin = (pxMin ?? xAxis.toPixels(min, true));
|
|
4170
|
+
pxMax = (pxMax ?? xAxis.toPixels(max, true));
|
|
3750
4171
|
// Verify (#1851, #2238)
|
|
3751
4172
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(pxMin) || Math.abs(pxMin) === Infinity) {
|
|
3752
4173
|
pxMin = 0;
|
|
@@ -4025,11 +4446,10 @@ class Navigator {
|
|
|
4025
4446
|
navigator.render(0, 0, chartX - dragOffset, chartX - dragOffset + range);
|
|
4026
4447
|
}
|
|
4027
4448
|
if (navigator.hasDragged &&
|
|
4028
|
-
(
|
|
4449
|
+
(navigator.scrollbarOptions?.liveRedraw ?? (
|
|
4029
4450
|
// By default, don't run live redraw on touch
|
|
4030
4451
|
// devices or if the chart is in boost.
|
|
4031
|
-
!Navigator_isTouchDevice &&
|
|
4032
|
-
!this.chart.boosted)) {
|
|
4452
|
+
!Navigator_isTouchDevice && !this.chart.boosted))) {
|
|
4033
4453
|
e.DOMType = e.type;
|
|
4034
4454
|
setTimeout(function () {
|
|
4035
4455
|
navigator.onMouseUp(e);
|
|
@@ -4218,8 +4638,10 @@ class Navigator {
|
|
|
4218
4638
|
offset: 0,
|
|
4219
4639
|
index: yAxisIndex,
|
|
4220
4640
|
isInternal: true,
|
|
4221
|
-
reversed: (
|
|
4222
|
-
navigatorOptions.yAxis.reversed)
|
|
4641
|
+
reversed: ((navigatorOptions.yAxis &&
|
|
4642
|
+
navigatorOptions.yAxis.reversed) ??
|
|
4643
|
+
(chart.yAxis[0] && chart.yAxis[0].reversed) ??
|
|
4644
|
+
false), // #14060
|
|
4223
4645
|
zoomEnabled: false
|
|
4224
4646
|
}, chart.inverted ? {
|
|
4225
4647
|
width: height
|
|
@@ -4305,7 +4727,9 @@ class Navigator {
|
|
|
4305
4727
|
*/
|
|
4306
4728
|
setOpposite() {
|
|
4307
4729
|
const navigatorOptions = this.navigatorOptions, navigatorEnabled = this.navigatorEnabled, chart = this.chart;
|
|
4308
|
-
this.opposite =
|
|
4730
|
+
this.opposite =
|
|
4731
|
+
navigatorOptions.opposite ??
|
|
4732
|
+
Boolean(!navigatorEnabled && chart.inverted); // #6262
|
|
4309
4733
|
}
|
|
4310
4734
|
/**
|
|
4311
4735
|
* Get the union data extremes of the chart - the outer data extremes of the
|
|
@@ -4319,9 +4743,8 @@ class Navigator {
|
|
|
4319
4743
|
let ret;
|
|
4320
4744
|
if (!returnFalseOnNoBaseSeries || baseAxis.dataMin !== null) {
|
|
4321
4745
|
ret = {
|
|
4322
|
-
dataMin: (
|
|
4323
|
-
time.parse(navAxisOptions?.
|
|
4324
|
-
dataMax: (0,external_highcharts_src_js_default_namespaceObject.pick)(time.parse(navAxisOptions?.max), numExt('max', time.parse(baseAxisOptions.max), baseAxis.dataMax, navAxis.dataMax, navAxis.max))
|
|
4746
|
+
dataMin: (time.parse(navAxisOptions?.min) ?? numExt('min', time.parse(baseAxisOptions.min), baseAxis.dataMin, navAxis.dataMin, navAxis.min)),
|
|
4747
|
+
dataMax: (time.parse(navAxisOptions?.max) ?? numExt('max', time.parse(baseAxisOptions.max), baseAxis.dataMax, navAxis.dataMax, navAxis.max))
|
|
4325
4748
|
};
|
|
4326
4749
|
}
|
|
4327
4750
|
return ret;
|
|
@@ -4436,11 +4859,9 @@ class Navigator {
|
|
|
4436
4859
|
userNavOptions.dataLabels = (0,external_highcharts_src_js_default_namespaceObject.splat)(userNavOptions.dataLabels);
|
|
4437
4860
|
mergedNavSeriesOptions = (0,external_highcharts_src_js_default_namespaceObject.merge)(baseOptions, navSeriesMixin, userNavOptions, baseNavigatorOptions);
|
|
4438
4861
|
// Once nav series type is resolved, pick correct pointRange
|
|
4439
|
-
mergedNavSeriesOptions.pointRange = (
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
// Fallback to default values, e.g. `null` for column
|
|
4443
|
-
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
4862
|
+
mergedNavSeriesOptions.pointRange = (userNavOptions.pointRange ??
|
|
4863
|
+
baseNavigatorOptions.pointRange ??
|
|
4864
|
+
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
4444
4865
|
// Merge data separately. Do a slice to avoid mutating the
|
|
4445
4866
|
// navigator options from base series (#4923).
|
|
4446
4867
|
const navigatorSeriesData = baseNavigatorOptions.data || userNavOptions.data, navigatorSeriesDataTable = baseNavigatorOptions.dataTable ||
|
|
@@ -4600,7 +5021,7 @@ class Navigator {
|
|
|
4600
5021
|
* @function Highcharts.Navigator#modifyBaseAxisExtremes
|
|
4601
5022
|
*/
|
|
4602
5023
|
modifyBaseAxisExtremes() {
|
|
4603
|
-
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 = (
|
|
5024
|
+
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,
|
|
4604
5025
|
// When the extremes have been set by range selector button, don't
|
|
4605
5026
|
// stick to min or max. The range selector buttons will handle the
|
|
4606
5027
|
// extremes. (#5489)
|
|
@@ -4652,8 +5073,8 @@ class Navigator {
|
|
|
4652
5073
|
Math.round(navigator.zoomedMax) >= Math.round(navigator.size);
|
|
4653
5074
|
// If the scrollbar is scrolled all the way to the right, keep right as
|
|
4654
5075
|
// new data comes in, unless user set navigator.stickToMax to false.
|
|
4655
|
-
navigator.stickToMax = (
|
|
4656
|
-
this.chart.options.navigator.stickToMax
|
|
5076
|
+
navigator.stickToMax = (this.chart.options.navigator &&
|
|
5077
|
+
this.chart.options.navigator.stickToMax) ?? shouldStickToMax;
|
|
4657
5078
|
navigator.stickToMin = navigator.shouldStickToMin(baseSeries, navigator);
|
|
4658
5079
|
// Set the navigator series data to the new data of the base series
|
|
4659
5080
|
if (navigatorSeries && !navigator.hasNavigatorData) {
|
|
@@ -5042,7 +5463,7 @@ class DataTableCore {
|
|
|
5042
5463
|
* Fetches the given column by the canonical column ID. Simplified version
|
|
5043
5464
|
* of the full `DataTable.getRow` method, always returning by reference.
|
|
5044
5465
|
*
|
|
5045
|
-
* @function Highcharts.DataTable#
|
|
5466
|
+
* @function Highcharts.DataTable#getColumn
|
|
5046
5467
|
*
|
|
5047
5468
|
* @param {string} columnId
|
|
5048
5469
|
* ID of the column to get.
|
|
@@ -5663,11 +6084,19 @@ var OrdinalAxis;
|
|
|
5663
6084
|
// Make sure panning to the edges does not decrease the zoomed range
|
|
5664
6085
|
if ((min <= dataMin && movedUnits <= 0) ||
|
|
5665
6086
|
(max >= dataMax + overscroll && movedUnits >= 0)) {
|
|
5666
|
-
|
|
5667
|
-
|
|
6087
|
+
// At the x-axis data edge, with vertical panning enabled, fall
|
|
6088
|
+
// back to the base pan so the y-axis can still be panned,
|
|
6089
|
+
// otherwise block panning past the edge, #24716
|
|
6090
|
+
if (panning && /y/.test(panning.type)) {
|
|
6091
|
+
runBase = true;
|
|
6092
|
+
}
|
|
6093
|
+
else {
|
|
6094
|
+
e.preventDefault();
|
|
6095
|
+
return;
|
|
6096
|
+
}
|
|
6097
|
+
// We have an ordinal axis, but the data is equally spaced
|
|
5668
6098
|
}
|
|
5669
|
-
|
|
5670
|
-
if (!extendedAxis.ordinal.positions) {
|
|
6099
|
+
else if (!extendedAxis.ordinal.positions) {
|
|
5671
6100
|
runBase = true;
|
|
5672
6101
|
}
|
|
5673
6102
|
else if (Math.abs(movedUnits) > 1) {
|
|
@@ -5877,9 +6306,7 @@ var OrdinalAxis;
|
|
|
5877
6306
|
// Without a custom function it is sorted as strings
|
|
5878
6307
|
return a - b;
|
|
5879
6308
|
});
|
|
5880
|
-
overscrollPointsRange = Math.min(overscrollPointsRange, (
|
|
5881
|
-
// Check for a single-point series:
|
|
5882
|
-
series.closestPointRange, overscrollPointsRange));
|
|
6309
|
+
overscrollPointsRange = Math.min(overscrollPointsRange, (series.closestPointRange ?? overscrollPointsRange));
|
|
5883
6310
|
if (len) {
|
|
5884
6311
|
i = 0;
|
|
5885
6312
|
while (i < len - 1) {
|
|
@@ -5980,7 +6407,9 @@ var OrdinalAxis;
|
|
|
5980
6407
|
ordinal.offset = min - (minIndex * slope);
|
|
5981
6408
|
}
|
|
5982
6409
|
else {
|
|
5983
|
-
ordinal.overscrollPointsRange =
|
|
6410
|
+
ordinal.overscrollPointsRange =
|
|
6411
|
+
axis.closestPointRange ??
|
|
6412
|
+
ordinal.overscrollPointsRange;
|
|
5984
6413
|
ordinal.positions = axis.ordinal.slope = ordinal.offset =
|
|
5985
6414
|
void 0;
|
|
5986
6415
|
}
|
|
@@ -6273,8 +6702,10 @@ var OrdinalAxis;
|
|
|
6273
6702
|
*/
|
|
6274
6703
|
convertOverscroll(overscroll = 0) {
|
|
6275
6704
|
const ordinal = this, axis = ordinal.axis, calculateOverscroll = function (overscrollPercentage) {
|
|
6276
|
-
return (
|
|
6277
|
-
axis.dataMax
|
|
6705
|
+
return (ordinal.originalOrdinalRange ??
|
|
6706
|
+
((0,external_highcharts_src_js_default_namespaceObject.defined)(axis.dataMax) && (0,external_highcharts_src_js_default_namespaceObject.defined)(axis.dataMin) ?
|
|
6707
|
+
axis.dataMax - axis.dataMin :
|
|
6708
|
+
0)) * overscrollPercentage;
|
|
6278
6709
|
};
|
|
6279
6710
|
if ((0,external_highcharts_src_js_default_namespaceObject.isString)(overscroll)) {
|
|
6280
6711
|
const overscrollValue = parseInt(overscroll, 10);
|
|
@@ -6961,7 +7392,7 @@ function axisMinFromRange() {
|
|
|
6961
7392
|
this.chart.setFixedRange(max - min);
|
|
6962
7393
|
}
|
|
6963
7394
|
}
|
|
6964
|
-
const dataMin = (
|
|
7395
|
+
const dataMin = (this.dataMin ?? Number.MIN_VALUE);
|
|
6965
7396
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(min)) {
|
|
6966
7397
|
min = dataMin;
|
|
6967
7398
|
}
|
|
@@ -6970,7 +7401,7 @@ function axisMinFromRange() {
|
|
|
6970
7401
|
if (typeof range === 'undefined') { // #4501
|
|
6971
7402
|
range = getTrueRange(min, rangeOptions.count);
|
|
6972
7403
|
}
|
|
6973
|
-
this.newMax = Math.min(min + range, (
|
|
7404
|
+
this.newMax = Math.min(min + range, (this.dataMax ?? Number.MAX_VALUE));
|
|
6974
7405
|
}
|
|
6975
7406
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(max)) {
|
|
6976
7407
|
min = void 0;
|
|
@@ -7397,7 +7828,7 @@ class RangeSelector {
|
|
|
7397
7828
|
}
|
|
7398
7829
|
else if ((0,external_highcharts_src_js_default_namespaceObject.isNumber)(newMin) || (0,external_highcharts_src_js_default_namespaceObject.isNumber)(newMax)) {
|
|
7399
7830
|
// Existing axis object. Set extremes after render time.
|
|
7400
|
-
baseAxis.setExtremes(newMin, newMax, (
|
|
7831
|
+
baseAxis.setExtremes(newMin, newMax, (redraw ?? true), void 0, // Auto animation
|
|
7401
7832
|
{
|
|
7402
7833
|
trigger: 'rangeSelectorButton',
|
|
7403
7834
|
rangeSelectorButton: rangeOptions
|
|
@@ -7632,8 +8063,8 @@ class RangeSelector {
|
|
|
7632
8063
|
year: 365
|
|
7633
8064
|
}[type] * 24 * 36e5 * count;
|
|
7634
8065
|
}
|
|
7635
|
-
rangeOptions._offsetMin = (
|
|
7636
|
-
rangeOptions._offsetMax = (
|
|
8066
|
+
rangeOptions._offsetMin = (rangeOptions.offsetMin ?? 0);
|
|
8067
|
+
rangeOptions._offsetMax = (rangeOptions.offsetMax ?? 0);
|
|
7637
8068
|
rangeOptions._range +=
|
|
7638
8069
|
rangeOptions._offsetMax - rangeOptions._offsetMin;
|
|
7639
8070
|
}
|
|
@@ -7944,7 +8375,7 @@ class RangeSelector {
|
|
|
7944
8375
|
};
|
|
7945
8376
|
}
|
|
7946
8377
|
createElements() {
|
|
7947
|
-
const chart = this.chart, renderer = chart.renderer, container = chart.container, chartOptions = chart.options, options = chartOptions.rangeSelector, inputEnabled = options.inputEnabled, inputsZIndex = (
|
|
8378
|
+
const chart = this.chart, renderer = chart.renderer, container = chart.container, chartOptions = chart.options, options = chartOptions.rangeSelector, inputEnabled = options.inputEnabled, inputsZIndex = (chartOptions.chart.style?.zIndex ?? 0) + 1;
|
|
7948
8379
|
if (options.enabled === false) {
|
|
7949
8380
|
return;
|
|
7950
8381
|
}
|
|
@@ -8085,10 +8516,14 @@ class RangeSelector {
|
|
|
8085
8516
|
// Create a label for dropdown select element
|
|
8086
8517
|
const userButtonTheme = chart.userOptions.rangeSelector?.buttonTheme;
|
|
8087
8518
|
this.dropdownLabel = renderer.button('', 0, 0, () => { }, (0,external_highcharts_src_js_default_namespaceObject.merge)(buttonTheme, {
|
|
8088
|
-
'stroke-width': (
|
|
8519
|
+
'stroke-width': (buttonTheme['stroke-width'] ?? 0),
|
|
8089
8520
|
width: 'auto',
|
|
8090
|
-
paddingLeft:
|
|
8091
|
-
|
|
8521
|
+
paddingLeft: options.buttonTheme.paddingLeft ??
|
|
8522
|
+
userButtonTheme?.padding ??
|
|
8523
|
+
8,
|
|
8524
|
+
paddingRight: options.buttonTheme.paddingRight ??
|
|
8525
|
+
userButtonTheme?.padding ??
|
|
8526
|
+
8
|
|
8092
8527
|
}), states && states.hover, states && states.select, states && states.disabled)
|
|
8093
8528
|
.hide()
|
|
8094
8529
|
.add(this.group);
|
|
@@ -8269,7 +8704,7 @@ class RangeSelector {
|
|
|
8269
8704
|
legendOptions.enabled &&
|
|
8270
8705
|
!legendOptions.floating ?
|
|
8271
8706
|
(chart.legend.legendHeight +
|
|
8272
|
-
(
|
|
8707
|
+
(legendOptions.margin ?? 10)) :
|
|
8273
8708
|
0);
|
|
8274
8709
|
groupHeight = groupHeight + legendHeight - 20;
|
|
8275
8710
|
translateY = (alignTranslateY -
|
|
@@ -8415,7 +8850,7 @@ class RangeSelector {
|
|
|
8415
8850
|
// Align button group
|
|
8416
8851
|
buttonGroup.align({
|
|
8417
8852
|
y: buttonPosition.y,
|
|
8418
|
-
width: (
|
|
8853
|
+
width: (width ?? this.initialButtonGroupWidth),
|
|
8419
8854
|
align: buttonPosition.align,
|
|
8420
8855
|
x: translateX
|
|
8421
8856
|
}, true, chart.spacingBox);
|
|
@@ -8434,7 +8869,7 @@ class RangeSelector {
|
|
|
8434
8869
|
if (zoomText && zoomText.visibility !== 'hidden') {
|
|
8435
8870
|
// #8769, allow dynamically updating margins
|
|
8436
8871
|
zoomText[verb]({
|
|
8437
|
-
x:
|
|
8872
|
+
x: plotLeft + (buttonPosition.x ?? 0)
|
|
8438
8873
|
});
|
|
8439
8874
|
// Button start position
|
|
8440
8875
|
buttonLeft += buttonPosition.x +
|
|
@@ -8815,7 +9250,9 @@ function getForcedAxisOptions(type, chartOptions) {
|
|
|
8815
9250
|
if (type === 'xAxis') {
|
|
8816
9251
|
// Always disable startOnTick:true on the main axis when the navigator
|
|
8817
9252
|
// is enabled (#1090)
|
|
8818
|
-
const navigatorEnabled =
|
|
9253
|
+
const navigatorEnabled = chartOptions.navigator?.enabled ??
|
|
9254
|
+
Navigator_NavigatorDefaults.enabled ??
|
|
9255
|
+
true;
|
|
8819
9256
|
const axisOptions = {
|
|
8820
9257
|
type: 'datetime',
|
|
8821
9258
|
categories: void 0
|
|
@@ -8869,7 +9306,9 @@ class StockChart extends (external_highcharts_src_js_default_Chart_default()) {
|
|
|
8869
9306
|
const defaultOptions = getOptions(), xAxisOptions = userOptions.xAxis, yAxisOptions = userOptions.yAxis,
|
|
8870
9307
|
// Always disable startOnTick:true on the main axis when the
|
|
8871
9308
|
// navigator is enabled (#1090)
|
|
8872
|
-
navigatorEnabled =
|
|
9309
|
+
navigatorEnabled = userOptions.navigator?.enabled ??
|
|
9310
|
+
Navigator_NavigatorDefaults.enabled ??
|
|
9311
|
+
true;
|
|
8873
9312
|
// Avoid doing these twice
|
|
8874
9313
|
userOptions.xAxis = userOptions.yAxis = void 0;
|
|
8875
9314
|
const options = (0,external_highcharts_src_js_default_namespaceObject.merge)({
|
|
@@ -8890,17 +9329,17 @@ class StockChart extends (external_highcharts_src_js_default_Chart_default()) {
|
|
|
8890
9329
|
},
|
|
8891
9330
|
scrollbar: {
|
|
8892
9331
|
// #4988 - check if setOptions was called
|
|
8893
|
-
enabled: (
|
|
9332
|
+
enabled: (Scrollbar_ScrollbarDefaults.enabled ?? true)
|
|
8894
9333
|
},
|
|
8895
9334
|
rangeSelector: {
|
|
8896
9335
|
// #4988 - check if setOptions was called
|
|
8897
|
-
enabled:
|
|
9336
|
+
enabled: RangeSelector_RangeSelectorDefaults.rangeSelector.enabled ?? true
|
|
8898
9337
|
},
|
|
8899
9338
|
title: {
|
|
8900
9339
|
text: null
|
|
8901
9340
|
},
|
|
8902
9341
|
tooltip: {
|
|
8903
|
-
split: (
|
|
9342
|
+
split: (defaultOptions.tooltip?.split ?? true),
|
|
8904
9343
|
crosshairs: true
|
|
8905
9344
|
},
|
|
8906
9345
|
legend: {
|
|
@@ -9034,8 +9473,8 @@ class StockChart extends (external_highcharts_src_js_default_Chart_default()) {
|
|
|
9034
9473
|
axis.series[0] && this.series[0].colorIndex))
|
|
9035
9474
|
.attr({
|
|
9036
9475
|
align: options.align || align,
|
|
9037
|
-
padding: (
|
|
9038
|
-
r: (
|
|
9476
|
+
padding: (options.padding ?? 8),
|
|
9477
|
+
r: (options.borderRadius ?? 3),
|
|
9039
9478
|
zIndex: 2
|
|
9040
9479
|
})
|
|
9041
9480
|
.add(axis.labelGroup);
|
|
@@ -9260,7 +9699,7 @@ class StockChart extends (external_highcharts_src_js_default_Chart_default()) {
|
|
|
9260
9699
|
uniqueAxes.push(axis2);
|
|
9261
9700
|
}
|
|
9262
9701
|
}
|
|
9263
|
-
transVal =
|
|
9702
|
+
transVal = translatedValue ?? axis.translate(value || 0, void 0, void 0, e.old);
|
|
9264
9703
|
if ((0,external_highcharts_src_js_default_namespaceObject.isNumber)(transVal)) {
|
|
9265
9704
|
let skip, pos = horiz ?
|
|
9266
9705
|
transVal + axis.pos :
|
|
@@ -9339,7 +9778,7 @@ class StockChart extends (external_highcharts_src_js_default_Chart_default()) {
|
|
|
9339
9778
|
function seriesForceCropping() {
|
|
9340
9779
|
const series = this, chart = series.chart, options = series.options, dataGroupingOptions = options.dataGrouping, groupingEnabled = (series.allowDG !== false &&
|
|
9341
9780
|
dataGroupingOptions &&
|
|
9342
|
-
(
|
|
9781
|
+
(dataGroupingOptions.enabled ?? chart.options.isStock));
|
|
9343
9782
|
return groupingEnabled;
|
|
9344
9783
|
}
|
|
9345
9784
|
/* eslint-disable jsdoc/check-param-names */
|
|
@@ -9377,7 +9816,7 @@ class StockChart extends (external_highcharts_src_js_default_Chart_default()) {
|
|
|
9377
9816
|
*/
|
|
9378
9817
|
function stockChart(a, b, c) {
|
|
9379
9818
|
const chart = new StockChart(a, b, c);
|
|
9380
|
-
return chart.promise
|
|
9819
|
+
return chart.promise ?? chart;
|
|
9381
9820
|
}
|
|
9382
9821
|
StockChart.stockChart = stockChart;
|
|
9383
9822
|
/* eslint-enable jsdoc/check-param-names */
|
|
@@ -9948,8 +10387,8 @@ class OHLCPoint extends OHLCPoint_HLCSeries.prototype.pointClass {
|
|
|
9948
10387
|
* @private
|
|
9949
10388
|
* @function Highcharts.seriesTypes.ohlc#getZone
|
|
9950
10389
|
*
|
|
9951
|
-
* @return {Highcharts.SeriesZonesOptionsObject}
|
|
9952
|
-
* The zone item.
|
|
10390
|
+
* @return {Highcharts.SeriesZonesOptionsObject|undefined}
|
|
10391
|
+
* The zone item, or `undefined` if the series has no zones.
|
|
9953
10392
|
*/
|
|
9954
10393
|
getZone() {
|
|
9955
10394
|
const zone = super.getZone();
|
|
@@ -10173,6 +10612,7 @@ const { hlc: OHLCSeries_HLCSeries } = (external_highcharts_src_js_default_Series
|
|
|
10173
10612
|
function onSeriesAfterSetOptions(e) {
|
|
10174
10613
|
const options = e.options, dataGrouping = options.dataGrouping;
|
|
10175
10614
|
if (dataGrouping &&
|
|
10615
|
+
!dataGrouping.approximation &&
|
|
10176
10616
|
options.useOhlcData &&
|
|
10177
10617
|
options.id !== 'highcharts-navigator-series') {
|
|
10178
10618
|
dataGrouping.approximation = 'ohlc';
|
|
@@ -10514,11 +10954,11 @@ class CandlestickSeries extends CandlestickSeries_OHLCSeries {
|
|
|
10514
10954
|
(isUp ? (options.upLineColor || stroke) : stroke);
|
|
10515
10955
|
// Select or hover states
|
|
10516
10956
|
if (state) {
|
|
10517
|
-
const stateOptions = options.states[state];
|
|
10957
|
+
const stateOptions = options.states?.[state] || {};
|
|
10518
10958
|
attribs.fill = stateOptions.color || attribs.fill;
|
|
10519
10959
|
attribs.stroke = stateOptions.lineColor || attribs.stroke;
|
|
10520
|
-
attribs['stroke-width'] =
|
|
10521
|
-
|
|
10960
|
+
attribs['stroke-width'] = stateOptions.lineWidth ||
|
|
10961
|
+
attribs['stroke-width'];
|
|
10522
10962
|
}
|
|
10523
10963
|
return attribs;
|
|
10524
10964
|
}
|
|
@@ -10734,8 +11174,9 @@ const FlagsSeriesDefaults = {
|
|
|
10734
11174
|
* @sample {highstock} stock/plotoptions/flags/
|
|
10735
11175
|
* Different shapes
|
|
10736
11176
|
*
|
|
10737
|
-
* @
|
|
11177
|
+
* @declare Highcharts.FlagsShapeValue
|
|
10738
11178
|
* @product highstock
|
|
11179
|
+
* @type {"circlepin"|"flag"|"squarepin"}
|
|
10739
11180
|
*/
|
|
10740
11181
|
shape: 'flag',
|
|
10741
11182
|
/**
|
|
@@ -11295,7 +11736,7 @@ var OnSeriesComposition;
|
|
|
11295
11736
|
|
|
11296
11737
|
|
|
11297
11738
|
|
|
11298
|
-
const { noop } = (external_highcharts_src_js_default_default());
|
|
11739
|
+
const { noop: FlagsSeries_noop } = (external_highcharts_src_js_default_default());
|
|
11299
11740
|
|
|
11300
11741
|
|
|
11301
11742
|
const { distribute } = (external_highcharts_src_js_default_default());
|
|
@@ -11522,12 +11963,12 @@ class FlagsSeries extends FlagsSeries_ColumnSeries {
|
|
|
11522
11963
|
* @private
|
|
11523
11964
|
*/
|
|
11524
11965
|
pointAttribs(point, state) {
|
|
11525
|
-
const options = this.options, color =
|
|
11526
|
-
let lineColor = options.lineColor, lineWidth =
|
|
11966
|
+
const options = this.options, color = point?.color || this.color;
|
|
11967
|
+
let lineColor = options.lineColor, lineWidth = point?.lineWidth, fill = point?.fillColor || options.fillColor;
|
|
11527
11968
|
if (state) {
|
|
11528
|
-
fill = options.states[state]
|
|
11529
|
-
lineColor = options.states[state]
|
|
11530
|
-
lineWidth = options.states[state]
|
|
11969
|
+
fill = options.states?.[state]?.fillColor;
|
|
11970
|
+
lineColor = options.states?.[state]?.lineColor;
|
|
11971
|
+
lineWidth = options.states?.[state]?.lineWidth;
|
|
11531
11972
|
}
|
|
11532
11973
|
return {
|
|
11533
11974
|
fill: fill || color,
|
|
@@ -11564,7 +12005,7 @@ Series_OnSeriesComposition.compose(FlagsSeries);
|
|
|
11564
12005
|
sorted: false,
|
|
11565
12006
|
takeOrdinalPosition: false, // #1074
|
|
11566
12007
|
trackerGroups: ['markerGroup'],
|
|
11567
|
-
buildKDTree:
|
|
12008
|
+
buildKDTree: FlagsSeries_noop,
|
|
11568
12009
|
/**
|
|
11569
12010
|
* Inherit the initialization from base Series.
|
|
11570
12011
|
* @private
|
|
@@ -11578,15 +12019,6 @@ external_highcharts_src_js_default_SeriesRegistry_default().registerSeriesType('
|
|
|
11578
12019
|
*
|
|
11579
12020
|
* */
|
|
11580
12021
|
/* harmony default export */ const Flags_FlagsSeries = (FlagsSeries);
|
|
11581
|
-
/* *
|
|
11582
|
-
*
|
|
11583
|
-
* API Declarations
|
|
11584
|
-
*
|
|
11585
|
-
* */
|
|
11586
|
-
/**
|
|
11587
|
-
* @typedef {"circlepin"|"flag"|"squarepin"} Highcharts.FlagsShapeValue
|
|
11588
|
-
*/
|
|
11589
|
-
''; // Detach doclets above
|
|
11590
12022
|
|
|
11591
12023
|
;// external "./broken-axis.src.js"
|
|
11592
12024
|
|