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/gantt.src.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// SPDX-License-Identifier: LicenseRef-Highcharts
|
|
2
2
|
/**
|
|
3
|
-
* @license Highcharts Gantt JS v13.0.
|
|
3
|
+
* @license Highcharts Gantt JS v13.0.2 (2026-08-27)
|
|
4
4
|
* @module highcharts/modules/gantt
|
|
5
5
|
* @requires highcharts
|
|
6
6
|
*
|
|
@@ -17,14 +17,14 @@ import "./pathfinder.src.js";
|
|
|
17
17
|
import "./static-scale.src.js";
|
|
18
18
|
import "./xrange.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 "./xrange.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 "./xrange.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"];
|
|
@@ -970,7 +984,7 @@ function onChartAfterSetChartSize() {
|
|
|
970
984
|
navigator.top = this.plotTop + scrollButtonSize;
|
|
971
985
|
}
|
|
972
986
|
else {
|
|
973
|
-
navigator.left = (
|
|
987
|
+
navigator.left = (xAxis.left ?? this.plotLeft + scrollButtonSize);
|
|
974
988
|
navigator.top = navigator.navigatorOptions.top ||
|
|
975
989
|
this.chartHeight -
|
|
976
990
|
navigator.height -
|
|
@@ -986,7 +1000,7 @@ function onChartAfterSetChartSize() {
|
|
|
986
1000
|
legendOptions.enabled &&
|
|
987
1001
|
!legendOptions.floating) ?
|
|
988
1002
|
legend.legendHeight +
|
|
989
|
-
(
|
|
1003
|
+
(legendOptions.margin ?? 10) :
|
|
990
1004
|
0) -
|
|
991
1005
|
(this.titleOffset ? this.titleOffset[2] : 0);
|
|
992
1006
|
}
|
|
@@ -1011,7 +1025,7 @@ function onChartAfterUpdate(event) {
|
|
|
1011
1025
|
(this.options.navigator.enabled ||
|
|
1012
1026
|
this.options.scrollbar.enabled)) {
|
|
1013
1027
|
this.scroller = this.navigator = new NavigatorConstructor(this);
|
|
1014
|
-
if (
|
|
1028
|
+
if (event.redraw ?? true) {
|
|
1015
1029
|
this.redraw(event.animation); // #7067
|
|
1016
1030
|
}
|
|
1017
1031
|
}
|
|
@@ -1189,7 +1203,7 @@ class NavigatorAxisAdditions {
|
|
|
1189
1203
|
*/
|
|
1190
1204
|
toFixedRange(pxMin, pxMax, fixedMin, fixedMax) {
|
|
1191
1205
|
const axis = this.axis, halfPointRange = (axis.pointRange || 0) / 2;
|
|
1192
|
-
let newMin =
|
|
1206
|
+
let newMin = fixedMin ?? axis.translate(pxMin, true, !axis.horiz), newMax = fixedMax ?? axis.translate(pxMax, true, !axis.horiz);
|
|
1193
1207
|
// Add/remove half point range to/from the extremes (#1172)
|
|
1194
1208
|
if (!(0,external_highcharts_src_js_default_namespaceObject.defined)(fixedMin)) {
|
|
1195
1209
|
newMin = (0,external_highcharts_src_js_default_namespaceObject.correctFloat)(newMin + halfPointRange);
|
|
@@ -1416,7 +1430,7 @@ const NavigatorDefaults = {
|
|
|
1416
1430
|
*
|
|
1417
1431
|
* @type {Highcharts.ColorType}
|
|
1418
1432
|
*/
|
|
1419
|
-
maskFill: 'color-mix(var(--highcharts-highlight-color-60) 30%, transparent)',
|
|
1433
|
+
maskFill: 'color-mix(in srgb, var(--highcharts-highlight-color-60) 30%, transparent)', // eslint-disable-line max-len
|
|
1420
1434
|
/**
|
|
1421
1435
|
* The color of the line marking the currently zoomed area in the
|
|
1422
1436
|
* navigator.
|
|
@@ -1555,11 +1569,18 @@ const NavigatorDefaults = {
|
|
|
1555
1569
|
id: 'highcharts-navigator-series',
|
|
1556
1570
|
className: 'highcharts-navigator-series',
|
|
1557
1571
|
/**
|
|
1558
|
-
* Sets the
|
|
1572
|
+
* Sets the color of the navigator series.
|
|
1559
1573
|
*
|
|
1560
1574
|
* @type {Highcharts.ColorType}
|
|
1561
1575
|
* @apioption navigator.series.color
|
|
1562
1576
|
*/
|
|
1577
|
+
/**
|
|
1578
|
+
* Sets the fill color of the navigator series. Applies to series
|
|
1579
|
+
* types with a filled area, like the default `areaspline`.
|
|
1580
|
+
*
|
|
1581
|
+
* @type {Highcharts.ColorType}
|
|
1582
|
+
* @apioption navigator.series.fillColor
|
|
1583
|
+
*/
|
|
1563
1584
|
/**
|
|
1564
1585
|
* Line color for the navigator series. Allows setting the color
|
|
1565
1586
|
* while disallowing the default candlestick setting.
|
|
@@ -1744,6 +1765,401 @@ const NavigatorDefaults = {
|
|
|
1744
1765
|
*/
|
|
1745
1766
|
(''); // Keeps doclets above in JS file
|
|
1746
1767
|
|
|
1768
|
+
;// ./code/es-modules/Extensions/BorderRadius.js
|
|
1769
|
+
/* unused harmony import specifier */ var relativeLength;
|
|
1770
|
+
/* unused harmony import specifier */ var isObject;
|
|
1771
|
+
/* unused harmony import specifier */ var extend;
|
|
1772
|
+
/* unused harmony import specifier */ var addEvent;
|
|
1773
|
+
/* *
|
|
1774
|
+
*
|
|
1775
|
+
* Highcharts Border Radius module
|
|
1776
|
+
*
|
|
1777
|
+
* Author: Torstein Hønsi
|
|
1778
|
+
*
|
|
1779
|
+
* Integration of this software requires a license.
|
|
1780
|
+
* - For commercial use, see www.highcharts.com/license
|
|
1781
|
+
* - For non-commercial, see www.highcharts.com/license-eula
|
|
1782
|
+
*
|
|
1783
|
+
*
|
|
1784
|
+
* */
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
const { defaultOptions: BorderRadius_defaultOptions } = (external_highcharts_src_js_default_default());
|
|
1788
|
+
|
|
1789
|
+
const { noop } = (external_highcharts_src_js_default_default());
|
|
1790
|
+
|
|
1791
|
+
/* *
|
|
1792
|
+
*
|
|
1793
|
+
* Constants
|
|
1794
|
+
*
|
|
1795
|
+
* */
|
|
1796
|
+
const defaultBorderRadiusOptions = {
|
|
1797
|
+
radius: 0,
|
|
1798
|
+
scope: 'stack',
|
|
1799
|
+
where: void 0
|
|
1800
|
+
};
|
|
1801
|
+
/* *
|
|
1802
|
+
*
|
|
1803
|
+
* Variables
|
|
1804
|
+
*
|
|
1805
|
+
* */
|
|
1806
|
+
let oldArc = (/* unused pure expression or super */ null && (noop));
|
|
1807
|
+
let oldRoundedRect = (/* unused pure expression or super */ null && (noop));
|
|
1808
|
+
/* *
|
|
1809
|
+
*
|
|
1810
|
+
* Functions
|
|
1811
|
+
*
|
|
1812
|
+
* */
|
|
1813
|
+
/** @internal */
|
|
1814
|
+
function applyBorderRadius(path, i, r) {
|
|
1815
|
+
const a = path[i];
|
|
1816
|
+
let b = path[i + 1];
|
|
1817
|
+
if (b[0] === 'Z') {
|
|
1818
|
+
b = path[0];
|
|
1819
|
+
}
|
|
1820
|
+
let line, arc, fromLineToArc;
|
|
1821
|
+
// From straight line to arc
|
|
1822
|
+
if ((a[0] === 'M' || a[0] === 'L') && b[0] === 'A') {
|
|
1823
|
+
line = a;
|
|
1824
|
+
arc = b;
|
|
1825
|
+
fromLineToArc = true;
|
|
1826
|
+
// From arc to straight line
|
|
1827
|
+
}
|
|
1828
|
+
else if (a[0] === 'A' && (b[0] === 'M' || b[0] === 'L')) {
|
|
1829
|
+
line = b;
|
|
1830
|
+
arc = a;
|
|
1831
|
+
}
|
|
1832
|
+
if (line && arc && arc.params) {
|
|
1833
|
+
const bigR = arc[1],
|
|
1834
|
+
// In our use cases, outer pie slice arcs are clockwise and inner
|
|
1835
|
+
// arcs (donut/sunburst etc) are anti-clockwise
|
|
1836
|
+
clockwise = arc[5], params = arc.params, { start, end, cx, cy } = params;
|
|
1837
|
+
// Some geometric constants
|
|
1838
|
+
const relativeR = clockwise ? (bigR - r) : (bigR + r),
|
|
1839
|
+
// The angle, on the big arc, that the border radius arc takes up
|
|
1840
|
+
angleOfBorderRadius = relativeR ? Math.asin(r / relativeR) : 0, angleOffset = clockwise ?
|
|
1841
|
+
angleOfBorderRadius :
|
|
1842
|
+
-angleOfBorderRadius,
|
|
1843
|
+
// The distance along the radius of the big arc to the starting
|
|
1844
|
+
// point of the small border radius arc
|
|
1845
|
+
distanceBigCenterToStartArc = (Math.cos(angleOfBorderRadius) *
|
|
1846
|
+
relativeR);
|
|
1847
|
+
// From line to arc
|
|
1848
|
+
if (fromLineToArc) {
|
|
1849
|
+
// Update the cache
|
|
1850
|
+
params.start = start + angleOffset;
|
|
1851
|
+
// First move to the start position at the radial line. We want to
|
|
1852
|
+
// start one borderRadius closer to the center.
|
|
1853
|
+
line[1] = cx + distanceBigCenterToStartArc * Math.cos(start);
|
|
1854
|
+
line[2] = cy + distanceBigCenterToStartArc * Math.sin(start);
|
|
1855
|
+
// Now draw an arc towards the point where the small circle touches
|
|
1856
|
+
// the great circle.
|
|
1857
|
+
path.splice(i + 1, 0, [
|
|
1858
|
+
'A',
|
|
1859
|
+
r,
|
|
1860
|
+
r,
|
|
1861
|
+
0, // Slanting,
|
|
1862
|
+
0, // Long arc
|
|
1863
|
+
1, // Clockwise
|
|
1864
|
+
cx + bigR * Math.cos(params.start),
|
|
1865
|
+
cy + bigR * Math.sin(params.start)
|
|
1866
|
+
]);
|
|
1867
|
+
// From arc to line
|
|
1868
|
+
}
|
|
1869
|
+
else {
|
|
1870
|
+
// Update the cache
|
|
1871
|
+
params.end = end - angleOffset;
|
|
1872
|
+
// End the big arc a bit earlier
|
|
1873
|
+
arc[6] = cx + bigR * Math.cos(params.end);
|
|
1874
|
+
arc[7] = cy + bigR * Math.sin(params.end);
|
|
1875
|
+
// Draw a small arc towards a point on the end angle, but one
|
|
1876
|
+
// borderRadius closer to the center relative to the perimeter.
|
|
1877
|
+
path.splice(i + 1, 0, [
|
|
1878
|
+
'A',
|
|
1879
|
+
r,
|
|
1880
|
+
r,
|
|
1881
|
+
0,
|
|
1882
|
+
0,
|
|
1883
|
+
1,
|
|
1884
|
+
cx + distanceBigCenterToStartArc * Math.cos(end),
|
|
1885
|
+
cy + distanceBigCenterToStartArc * Math.sin(end)
|
|
1886
|
+
]);
|
|
1887
|
+
}
|
|
1888
|
+
// Long or short arc must be reconsidered because we have modified the
|
|
1889
|
+
// start and end points
|
|
1890
|
+
arc[4] = Math.abs(params.end - params.start) < Math.PI ? 0 : 1;
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
/**
|
|
1894
|
+
* Extend arc with borderRadius.
|
|
1895
|
+
* @internal
|
|
1896
|
+
*/
|
|
1897
|
+
function arc(x, y, w, h, options = {}) {
|
|
1898
|
+
const path = oldArc(x, y, w, h, options), { brStart = true, brEnd = true, innerR = 0, r = w, start = 0, end = 0 } = options;
|
|
1899
|
+
if (options.open || !options.borderRadius) {
|
|
1900
|
+
return path;
|
|
1901
|
+
}
|
|
1902
|
+
const alpha = end - start, sinHalfAlpha = Math.sin(alpha / 2), borderRadius = Math.max(Math.min(relativeLength(borderRadiusObject(options.borderRadius).radius, r - innerR),
|
|
1903
|
+
// Cap to half the sector radius
|
|
1904
|
+
(r - innerR) / 2,
|
|
1905
|
+
// For smaller pie slices, cap to the largest small circle that
|
|
1906
|
+
// can be fitted within the sector
|
|
1907
|
+
(r * sinHalfAlpha) / (1 + sinHalfAlpha)), 0),
|
|
1908
|
+
// For the inner radius, we need an extra cap because the inner arc
|
|
1909
|
+
// is shorter than the outer arc
|
|
1910
|
+
innerBorderRadius = Math.min(borderRadius, 2 * (alpha / Math.PI) * innerR);
|
|
1911
|
+
// Apply turn-by-turn border radius. Start at the end since we're
|
|
1912
|
+
// splicing in arc segments.
|
|
1913
|
+
let i = path.length - 1;
|
|
1914
|
+
while (i--) {
|
|
1915
|
+
if ((!brStart && (i === 0 || i === 3)) ||
|
|
1916
|
+
(!brEnd && (i === 1 || i === 2))) {
|
|
1917
|
+
continue;
|
|
1918
|
+
}
|
|
1919
|
+
applyBorderRadius(path, i, i > 1 ? innerBorderRadius : borderRadius);
|
|
1920
|
+
}
|
|
1921
|
+
return path;
|
|
1922
|
+
}
|
|
1923
|
+
/** @internal */
|
|
1924
|
+
function seriesOnAfterColumnTranslate() {
|
|
1925
|
+
if (this.options.borderRadius &&
|
|
1926
|
+
!(this.chart.is3d && this.chart.is3d())) {
|
|
1927
|
+
const { options, yAxis } = this, percent = options.stacking === 'percent', seriesDefault = BorderRadius_defaultOptions.plotOptions?.[this.type]
|
|
1928
|
+
?.borderRadius, borderRadius = borderRadiusObject(options.borderRadius, isObject(seriesDefault) ? seriesDefault : {}), reversed = yAxis.options.reversed;
|
|
1929
|
+
for (const point of this.points) {
|
|
1930
|
+
const { shapeArgs } = point;
|
|
1931
|
+
if (point.shapeType === 'roundedRect' && shapeArgs) {
|
|
1932
|
+
const { width = 0, height = 0, y = 0 } = shapeArgs;
|
|
1933
|
+
let brBoxY = y, brBoxHeight = height;
|
|
1934
|
+
// It would be nice to refactor StackItem.getStackBox/
|
|
1935
|
+
// setOffset so that we could get a reliable box out of
|
|
1936
|
+
// it. Currently it is close if we remove the label
|
|
1937
|
+
// offset, but we still need to run crispCol and also
|
|
1938
|
+
// flip it if inverted, so atm it is simpler to do it
|
|
1939
|
+
// like the below.
|
|
1940
|
+
if (borderRadius.scope === 'stack' &&
|
|
1941
|
+
point.stackTotal) {
|
|
1942
|
+
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));
|
|
1943
|
+
brBoxY = box.y;
|
|
1944
|
+
brBoxHeight = box.height;
|
|
1945
|
+
}
|
|
1946
|
+
const flip = (point.negative ? -1 : 1) *
|
|
1947
|
+
(reversed ? -1 : 1) === -1;
|
|
1948
|
+
// Handle the where option
|
|
1949
|
+
let where = borderRadius.where;
|
|
1950
|
+
// Waterfall, hanging columns should have rounding on
|
|
1951
|
+
// all sides
|
|
1952
|
+
if (!where &&
|
|
1953
|
+
this.is('waterfall') &&
|
|
1954
|
+
Math.abs((point.yBottom || 0) -
|
|
1955
|
+
(this.translatedThreshold || 0)) > this.borderWidth) {
|
|
1956
|
+
where = 'all';
|
|
1957
|
+
}
|
|
1958
|
+
if (!where) {
|
|
1959
|
+
where = 'end';
|
|
1960
|
+
}
|
|
1961
|
+
// Get the radius
|
|
1962
|
+
const r = Math.min(relativeLength(borderRadius.radius, width), width / 2,
|
|
1963
|
+
// Cap to the height, but not if where is `end`
|
|
1964
|
+
where === 'all' ? brBoxHeight / 2 : Infinity) || 0;
|
|
1965
|
+
// If the `where` option is 'end', cut off the
|
|
1966
|
+
// rectangles by making the border-radius box one r
|
|
1967
|
+
// greater, so that the imaginary radius falls outside
|
|
1968
|
+
// the rectangle.
|
|
1969
|
+
if (where === 'end') {
|
|
1970
|
+
if (flip) {
|
|
1971
|
+
brBoxY -= r;
|
|
1972
|
+
brBoxHeight += r;
|
|
1973
|
+
}
|
|
1974
|
+
else {
|
|
1975
|
+
brBoxHeight += r;
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
extend(shapeArgs, { brBoxHeight, brBoxY, r });
|
|
1979
|
+
}
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
/** @internal */
|
|
1984
|
+
function composeBorderRadius(SeriesClass, SVGElementClass, SVGRendererClass) {
|
|
1985
|
+
const PieSeriesClass = SeriesClass.types.pie;
|
|
1986
|
+
if (!SVGElementClass.symbolCustomAttribs.includes('borderRadius')) {
|
|
1987
|
+
const symbols = SVGRendererClass.prototype.symbols;
|
|
1988
|
+
addEvent(SeriesClass, 'afterColumnTranslate', seriesOnAfterColumnTranslate, {
|
|
1989
|
+
// After columnrange and polar column modifications
|
|
1990
|
+
order: 9
|
|
1991
|
+
});
|
|
1992
|
+
addEvent(PieSeriesClass, 'afterTranslate', pieSeriesOnAfterTranslate);
|
|
1993
|
+
SVGElementClass.symbolCustomAttribs.push('borderRadius', 'brBoxHeight', 'brBoxY', 'brEnd', 'brStart');
|
|
1994
|
+
oldArc = symbols.arc;
|
|
1995
|
+
oldRoundedRect = symbols.roundedRect;
|
|
1996
|
+
symbols.arc = arc;
|
|
1997
|
+
symbols.roundedRect = roundedRect;
|
|
1998
|
+
}
|
|
1999
|
+
}
|
|
2000
|
+
/**
|
|
2001
|
+
* Utility function to get the full border radius options object, from a simple
|
|
2002
|
+
* number or a partial options object.
|
|
2003
|
+
* @internal
|
|
2004
|
+
*/
|
|
2005
|
+
function borderRadiusObject(options, seriesBROptions) {
|
|
2006
|
+
if (!(0,external_highcharts_src_js_default_namespaceObject.isObject)(options)) {
|
|
2007
|
+
options = { radius: options || 0 };
|
|
2008
|
+
}
|
|
2009
|
+
return (0,external_highcharts_src_js_default_namespaceObject.merge)(defaultBorderRadiusOptions, seriesBROptions, options);
|
|
2010
|
+
}
|
|
2011
|
+
/** @internal */
|
|
2012
|
+
function pieSeriesOnAfterTranslate() {
|
|
2013
|
+
const borderRadius = borderRadiusObject(this.options.borderRadius);
|
|
2014
|
+
for (const point of this.points) {
|
|
2015
|
+
const shapeArgs = point.shapeArgs;
|
|
2016
|
+
if (shapeArgs) {
|
|
2017
|
+
shapeArgs.borderRadius = relativeLength(borderRadius.radius, (shapeArgs.r || 0) - ((shapeArgs.innerR) || 0));
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
/**
|
|
2022
|
+
* Extend roundedRect with individual cutting through rOffset.
|
|
2023
|
+
* @internal
|
|
2024
|
+
*/
|
|
2025
|
+
function roundedRect(x, y, width, height, options = {}) {
|
|
2026
|
+
const path = oldRoundedRect(x, y, width, height, options), { r = 0, brBoxHeight = height, brBoxY = y } = options, brOffsetTop = y - brBoxY, brOffsetBtm = (brBoxY + brBoxHeight) - (y + height),
|
|
2027
|
+
// When the distance to the border-radius box is greater than the r
|
|
2028
|
+
// itself, it means no border radius. The -0.1 accounts for float
|
|
2029
|
+
// rounding errors.
|
|
2030
|
+
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);
|
|
2031
|
+
/*
|
|
2032
|
+
|
|
2033
|
+
The naming of control points:
|
|
2034
|
+
|
|
2035
|
+
/ a -------- b \
|
|
2036
|
+
/ \
|
|
2037
|
+
h c
|
|
2038
|
+
| |
|
|
2039
|
+
| |
|
|
2040
|
+
| |
|
|
2041
|
+
g d
|
|
2042
|
+
\ /
|
|
2043
|
+
\ f -------- e /
|
|
2044
|
+
|
|
2045
|
+
*/
|
|
2046
|
+
const a = [x + rTop, y], b = [x + width - rTop, y], c = [x + width, y + rTop], d = [
|
|
2047
|
+
x + width, y + height - rBtm
|
|
2048
|
+
], e = [
|
|
2049
|
+
x + width - rBtm,
|
|
2050
|
+
y + height
|
|
2051
|
+
], f = [x + rBtm, y + height], g = [x, y + height - rBtm], h = [x, y + rTop];
|
|
2052
|
+
const applyPythagoras = (r, altitude) => Math.sqrt(Math.pow(r, 2) - Math.pow(altitude, 2));
|
|
2053
|
+
// Inside stacks, cut off part of the top
|
|
2054
|
+
if (cutTop) {
|
|
2055
|
+
const base = applyPythagoras(rTop, rTop - cutTop);
|
|
2056
|
+
a[0] -= base;
|
|
2057
|
+
b[0] += base;
|
|
2058
|
+
c[1] = h[1] = y + rTop - cutTop;
|
|
2059
|
+
}
|
|
2060
|
+
// Column is lower than the radius. Cut off bottom inside the top
|
|
2061
|
+
// radius.
|
|
2062
|
+
if (height < rTop - cutTop) {
|
|
2063
|
+
const base = applyPythagoras(rTop, rTop - cutTop - height);
|
|
2064
|
+
c[0] = d[0] = x + width - rTop + base;
|
|
2065
|
+
e[0] = Math.min(c[0], e[0]);
|
|
2066
|
+
f[0] = Math.max(d[0], f[0]);
|
|
2067
|
+
g[0] = h[0] = x + rTop - base;
|
|
2068
|
+
c[1] = h[1] = y + height;
|
|
2069
|
+
}
|
|
2070
|
+
// Inside stacks, cut off part of the bottom
|
|
2071
|
+
if (cutBtm) {
|
|
2072
|
+
const base = applyPythagoras(rBtm, rBtm - cutBtm);
|
|
2073
|
+
e[0] += base;
|
|
2074
|
+
f[0] -= base;
|
|
2075
|
+
d[1] = g[1] = y + height - rBtm + cutBtm;
|
|
2076
|
+
}
|
|
2077
|
+
// Cut off top inside the bottom radius
|
|
2078
|
+
if (height < rBtm - cutBtm) {
|
|
2079
|
+
const base = applyPythagoras(rBtm, rBtm - cutBtm - height);
|
|
2080
|
+
c[0] = d[0] = x + width - rBtm + base;
|
|
2081
|
+
b[0] = Math.min(c[0], b[0]);
|
|
2082
|
+
a[0] = Math.max(d[0], a[0]);
|
|
2083
|
+
g[0] = h[0] = x + rBtm - base;
|
|
2084
|
+
d[1] = g[1] = y;
|
|
2085
|
+
}
|
|
2086
|
+
// Preserve the box for data labels
|
|
2087
|
+
path.length = 0;
|
|
2088
|
+
path.push(['M', ...a],
|
|
2089
|
+
// Top side
|
|
2090
|
+
['L', ...b],
|
|
2091
|
+
// Top right corner
|
|
2092
|
+
['A', rTop, rTop, 0, 0, 1, ...c],
|
|
2093
|
+
// Right side
|
|
2094
|
+
['L', ...d],
|
|
2095
|
+
// Bottom right corner
|
|
2096
|
+
['A', rBtm, rBtm, 0, 0, 1, ...e],
|
|
2097
|
+
// Bottom side
|
|
2098
|
+
['L', ...f],
|
|
2099
|
+
// Bottom left corner
|
|
2100
|
+
['A', rBtm, rBtm, 0, 0, 1, ...g],
|
|
2101
|
+
// Left side
|
|
2102
|
+
['L', ...h],
|
|
2103
|
+
// Top left corner
|
|
2104
|
+
['A', rTop, rTop, 0, 0, 1, ...a], ['Z']);
|
|
2105
|
+
return path;
|
|
2106
|
+
}
|
|
2107
|
+
/* *
|
|
2108
|
+
*
|
|
2109
|
+
* API Declarations
|
|
2110
|
+
*
|
|
2111
|
+
* */
|
|
2112
|
+
/**
|
|
2113
|
+
* Detailed options for border radius.
|
|
2114
|
+
*
|
|
2115
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
2116
|
+
* Rounded columns
|
|
2117
|
+
* @sample highcharts/plotoptions/series-border-radius
|
|
2118
|
+
* Column and pie with rounded border
|
|
2119
|
+
*
|
|
2120
|
+
* @interface Highcharts.BorderRadiusOptionsObject
|
|
2121
|
+
*/ /**
|
|
2122
|
+
* The border radius. A number signifies pixels. A percentage string, like for
|
|
2123
|
+
* example `50%`, signifies a relative size. For columns this is relative to the
|
|
2124
|
+
* column width, for pies it is relative to the radius and the inner radius.
|
|
2125
|
+
*
|
|
2126
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
2127
|
+
* Rounded columns
|
|
2128
|
+
* @sample highcharts/plotoptions/series-border-radius
|
|
2129
|
+
* Column and pie with rounded border
|
|
2130
|
+
*
|
|
2131
|
+
* @name Highcharts.BorderRadiusOptionsObject#radius
|
|
2132
|
+
* @type {string|number|undefined}
|
|
2133
|
+
*/ /**
|
|
2134
|
+
* The scope of the rounding for column charts or plot bands. In a stacked
|
|
2135
|
+
* column chart, the value `point` means each single point will get rounded
|
|
2136
|
+
* corners. The value `stack` means the rounding will apply to the full
|
|
2137
|
+
* stack, so that only points close to the top or bottom will receive
|
|
2138
|
+
* rounding.
|
|
2139
|
+
*
|
|
2140
|
+
* Similarly, for plot bands, the `individual` value means each plot band
|
|
2141
|
+
* will get rounded corners.
|
|
2142
|
+
*
|
|
2143
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius/
|
|
2144
|
+
* Rounded columns
|
|
2145
|
+
*
|
|
2146
|
+
* @name Highcharts.BorderRadiusOptionsObject#scope
|
|
2147
|
+
* @type {"individual"|"point"|"stack"|undefined}
|
|
2148
|
+
*/ /**
|
|
2149
|
+
* For column charts, where in the point or stack to apply rounding. The `end`
|
|
2150
|
+
* value means only those corners at the point value will be rounded, leaving
|
|
2151
|
+
* the corners at the base or threshold unrounded. This is the most intuitive
|
|
2152
|
+
* behavior. The `all` value means also the base will be rounded.
|
|
2153
|
+
*
|
|
2154
|
+
* @sample {highcharts} highcharts/plotoptions/column-borderradius-where-all
|
|
2155
|
+
* Rounding on all corners
|
|
2156
|
+
*
|
|
2157
|
+
* @name Highcharts.BorderRadiusOptionsObject#where
|
|
2158
|
+
* @type {"all"|"end"|undefined}
|
|
2159
|
+
* @default end
|
|
2160
|
+
*/
|
|
2161
|
+
(''); // Keeps doclets above in JS file
|
|
2162
|
+
|
|
1747
2163
|
;// ./code/es-modules/Core/Renderer/SVG/Symbols.js
|
|
1748
2164
|
/* *
|
|
1749
2165
|
*
|
|
@@ -1780,11 +2196,11 @@ const NavigatorDefaults = {
|
|
|
1780
2196
|
* @return {Highcharts.SVGPathArray}
|
|
1781
2197
|
* Path
|
|
1782
2198
|
*/
|
|
1783
|
-
function
|
|
2199
|
+
function Symbols_arc(cx, cy, w, h, options) {
|
|
1784
2200
|
const arc = [];
|
|
1785
2201
|
if (options) {
|
|
1786
2202
|
let start = options.start || 0, end = options.end || 0;
|
|
1787
|
-
const rx = (
|
|
2203
|
+
const rx = (options.r ?? w), ry = (options.r ?? (h || w)),
|
|
1788
2204
|
// Subtract a small number to prevent cos and sin of start and end
|
|
1789
2205
|
// from becoming equal on 360 arcs (#1561). See "Arc proximity"
|
|
1790
2206
|
// tests at samples/unit-tests/svgrenderer/symbol/demo.js
|
|
@@ -1794,16 +2210,17 @@ function arc(cx, cy, w, h, options) {
|
|
|
1794
2210
|
start = Math.PI / 2;
|
|
1795
2211
|
end = Math.PI * 2.5 - proximity;
|
|
1796
2212
|
}
|
|
1797
|
-
const innerRadius = options.innerR, open = (
|
|
2213
|
+
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),
|
|
1798
2214
|
// Proximity takes care of rounding errors around PI (#6971)
|
|
1799
|
-
longArc =
|
|
2215
|
+
longArc = options.longArc ??
|
|
2216
|
+
(end - start - Math.PI < proximity ? 0 : 1);
|
|
1800
2217
|
let arcSegment = [
|
|
1801
2218
|
'A', // ArcTo
|
|
1802
2219
|
rx, // X radius
|
|
1803
2220
|
ry, // Y radius
|
|
1804
2221
|
0, // Slanting
|
|
1805
2222
|
longArc, // Long or short arc
|
|
1806
|
-
(
|
|
2223
|
+
(options.clockwise ?? 1), // Clockwise
|
|
1807
2224
|
// Use a static pixel offset for full circle (#21701)
|
|
1808
2225
|
cx + (fullCircle ? 0.001 : rx * cosEnd),
|
|
1809
2226
|
cy + ry * sinEnd
|
|
@@ -1868,7 +2285,7 @@ function arc(cx, cy, w, h, options) {
|
|
|
1868
2285
|
*/
|
|
1869
2286
|
function callout(x, y, w, h, options) {
|
|
1870
2287
|
const arrowLength = 6, halfDistance = 6, r = Math.min((options?.r) || 0, w, h), safeDistance = r + halfDistance, anchorX = options?.anchorX, anchorY = options?.anchorY || 0;
|
|
1871
|
-
const path =
|
|
2288
|
+
const path = Symbols_roundedRect(x, y, w, h, { r });
|
|
1872
2289
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(anchorX)) {
|
|
1873
2290
|
return path;
|
|
1874
2291
|
}
|
|
@@ -1940,7 +2357,7 @@ function callout(x, y, w, h, options) {
|
|
|
1940
2357
|
*/
|
|
1941
2358
|
function circle(x, y, w, h) {
|
|
1942
2359
|
// Return a full arc
|
|
1943
|
-
return
|
|
2360
|
+
return Symbols_arc(x + w / 2, y + h / 2, w / 2, h / 2, {
|
|
1944
2361
|
start: Math.PI * 0.5,
|
|
1945
2362
|
end: Math.PI * 2.5,
|
|
1946
2363
|
open: false
|
|
@@ -1988,7 +2405,7 @@ function diamond(x, y, w, h) {
|
|
|
1988
2405
|
*/
|
|
1989
2406
|
function rect(x, y, w, h, options) {
|
|
1990
2407
|
if (options?.r) {
|
|
1991
|
-
return
|
|
2408
|
+
return Symbols_roundedRect(x, y, w, h, options);
|
|
1992
2409
|
}
|
|
1993
2410
|
return [
|
|
1994
2411
|
['M', x, y],
|
|
@@ -2014,7 +2431,7 @@ function rect(x, y, w, h, options) {
|
|
|
2014
2431
|
* @return {Highcharts.SVGPathArray}
|
|
2015
2432
|
* Path
|
|
2016
2433
|
*/
|
|
2017
|
-
function
|
|
2434
|
+
function Symbols_roundedRect(x, y, w, h, options) {
|
|
2018
2435
|
const r = options?.r || 0;
|
|
2019
2436
|
return [
|
|
2020
2437
|
['M', x + r, y],
|
|
@@ -2090,7 +2507,7 @@ const Symbols = {
|
|
|
2090
2507
|
* @return {Highcharts.SVGPathArray}
|
|
2091
2508
|
* Path
|
|
2092
2509
|
*/
|
|
2093
|
-
arc,
|
|
2510
|
+
arc: Symbols_arc,
|
|
2094
2511
|
/**
|
|
2095
2512
|
* Callout shape used for default tooltips.
|
|
2096
2513
|
*
|
|
@@ -2171,7 +2588,7 @@ const Symbols = {
|
|
|
2171
2588
|
* @return {Highcharts.SVGPathArray}
|
|
2172
2589
|
* Path
|
|
2173
2590
|
*/
|
|
2174
|
-
roundedRect,
|
|
2591
|
+
roundedRect: Symbols_roundedRect,
|
|
2175
2592
|
/**
|
|
2176
2593
|
* Rect symbol path.
|
|
2177
2594
|
*
|
|
@@ -2296,6 +2713,7 @@ const Symbols = {
|
|
|
2296
2713
|
|
|
2297
2714
|
|
|
2298
2715
|
|
|
2716
|
+
|
|
2299
2717
|
/* *
|
|
2300
2718
|
*
|
|
2301
2719
|
* Constants
|
|
@@ -2306,7 +2724,7 @@ const Symbols = {
|
|
|
2306
2724
|
* @internal
|
|
2307
2725
|
*/
|
|
2308
2726
|
function navigatorHandle(_x, _y, width, height, options = {}) {
|
|
2309
|
-
const halfWidth = options.width ? options.width / 2 : width, markerPosition = 1.5, r = (0,external_highcharts_src_js_default_namespaceObject.relativeLength)(options.borderRadius
|
|
2727
|
+
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));
|
|
2310
2728
|
height = options.height || height;
|
|
2311
2729
|
return [
|
|
2312
2730
|
['M', -markerPosition, height / 2 - 3.5],
|
|
@@ -2499,8 +2917,8 @@ var ScrollbarAxis;
|
|
|
2499
2917
|
ScrollbarAxis.compose = compose;
|
|
2500
2918
|
/** @internal */
|
|
2501
2919
|
function getExtremes(axis) {
|
|
2502
|
-
const axisMin = (
|
|
2503
|
-
const axisMax = (
|
|
2920
|
+
const axisMin = (axis.options?.min ?? axis.min);
|
|
2921
|
+
const axisMax = (axis.options?.max ?? axis.max);
|
|
2504
2922
|
return {
|
|
2505
2923
|
axisMin,
|
|
2506
2924
|
axisMax,
|
|
@@ -3039,7 +3457,7 @@ class Scrollbar {
|
|
|
3039
3457
|
buttonToMaxClick(e) {
|
|
3040
3458
|
const scroller = this;
|
|
3041
3459
|
const range = ((scroller.to - scroller.from) *
|
|
3042
|
-
(
|
|
3460
|
+
(scroller.options.step ?? 0.2));
|
|
3043
3461
|
scroller.updatePosition(scroller.from + range, scroller.to + range);
|
|
3044
3462
|
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(scroller, 'changed', {
|
|
3045
3463
|
from: scroller.from,
|
|
@@ -3051,7 +3469,7 @@ class Scrollbar {
|
|
|
3051
3469
|
buttonToMinClick(e) {
|
|
3052
3470
|
const scroller = this;
|
|
3053
3471
|
const range = (0,external_highcharts_src_js_default_namespaceObject.correctFloat)(scroller.to - scroller.from) *
|
|
3054
|
-
(
|
|
3472
|
+
(scroller.options.step ?? 0.2);
|
|
3055
3473
|
scroller.updatePosition((0,external_highcharts_src_js_default_namespaceObject.correctFloat)(scroller.from - range), (0,external_highcharts_src_js_default_namespaceObject.correctFloat)(scroller.to - range));
|
|
3056
3474
|
(0,external_highcharts_src_js_default_namespaceObject.fireEvent)(scroller, 'changed', {
|
|
3057
3475
|
from: scroller.from,
|
|
@@ -3183,10 +3601,11 @@ class Scrollbar {
|
|
|
3183
3601
|
scroller.renderer = renderer;
|
|
3184
3602
|
scroller.userOptions = options;
|
|
3185
3603
|
scroller.options = (0,external_highcharts_src_js_default_namespaceObject.merge)(Scrollbar_ScrollbarDefaults, Scrollbar_defaultOptions.scrollbar, options);
|
|
3186
|
-
scroller.options.margin = (
|
|
3604
|
+
scroller.options.margin = (scroller.options.margin ?? 10);
|
|
3187
3605
|
scroller.chart = chart;
|
|
3188
3606
|
// Backward compatibility
|
|
3189
|
-
scroller.size =
|
|
3607
|
+
scroller.size = scroller.options.size ??
|
|
3608
|
+
scroller.options.height;
|
|
3190
3609
|
// Init
|
|
3191
3610
|
if (options.enabled) {
|
|
3192
3611
|
scroller.render();
|
|
@@ -3476,9 +3895,9 @@ class Scrollbar {
|
|
|
3476
3895
|
* @function Highcharts.Scrollbar#shouldUpdateExtremes
|
|
3477
3896
|
*/
|
|
3478
3897
|
shouldUpdateExtremes(eventType) {
|
|
3479
|
-
return ((
|
|
3898
|
+
return ((this.options.liveRedraw ?? ((external_highcharts_src_js_default_default()).svg &&
|
|
3480
3899
|
!(external_highcharts_src_js_default_default()).isTouchDevice &&
|
|
3481
|
-
!this.chart.boosted) ||
|
|
3900
|
+
!this.chart.boosted)) ||
|
|
3482
3901
|
// Mouseup always should change extremes
|
|
3483
3902
|
eventType === 'mouseup' ||
|
|
3484
3903
|
eventType === 'touchend' ||
|
|
@@ -3998,18 +4417,18 @@ class Navigator {
|
|
|
3998
4417
|
// it. For example hidden series, but visible navigator (#6022).
|
|
3999
4418
|
if (rendered) {
|
|
4000
4419
|
pxMin = 0;
|
|
4001
|
-
pxMax = (
|
|
4420
|
+
pxMax = (xAxis.width ?? scrollbarXAxis.width);
|
|
4002
4421
|
}
|
|
4003
4422
|
else {
|
|
4004
4423
|
return;
|
|
4005
4424
|
}
|
|
4006
4425
|
}
|
|
4007
|
-
navigator.left = (
|
|
4008
|
-
// In case of scrollbar only, without navigator
|
|
4009
|
-
chart.plotLeft + scrollButtonSize +
|
|
4426
|
+
navigator.left = (xAxis.left ?? chart.plotLeft + scrollButtonSize +
|
|
4010
4427
|
(inverted ? chart.plotWidth : 0));
|
|
4011
|
-
let zoomedMax = navigator.size = navigatorSize =
|
|
4012
|
-
|
|
4428
|
+
let zoomedMax = navigator.size = navigatorSize =
|
|
4429
|
+
xAxis.len ??
|
|
4430
|
+
(inverted ? chart.plotHeight : chart.plotWidth) -
|
|
4431
|
+
2 * scrollButtonSize;
|
|
4013
4432
|
if (inverted) {
|
|
4014
4433
|
navigatorWidth = scrollbarHeight;
|
|
4015
4434
|
}
|
|
@@ -4017,8 +4436,8 @@ class Navigator {
|
|
|
4017
4436
|
navigatorWidth = navigatorSize + 2 * scrollButtonSize;
|
|
4018
4437
|
}
|
|
4019
4438
|
// Get the pixel position of the handles
|
|
4020
|
-
pxMin = (
|
|
4021
|
-
pxMax = (
|
|
4439
|
+
pxMin = (pxMin ?? xAxis.toPixels(min, true));
|
|
4440
|
+
pxMax = (pxMax ?? xAxis.toPixels(max, true));
|
|
4022
4441
|
// Verify (#1851, #2238)
|
|
4023
4442
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(pxMin) || Math.abs(pxMin) === Infinity) {
|
|
4024
4443
|
pxMin = 0;
|
|
@@ -4297,11 +4716,10 @@ class Navigator {
|
|
|
4297
4716
|
navigator.render(0, 0, chartX - dragOffset, chartX - dragOffset + range);
|
|
4298
4717
|
}
|
|
4299
4718
|
if (navigator.hasDragged &&
|
|
4300
|
-
(
|
|
4719
|
+
(navigator.scrollbarOptions?.liveRedraw ?? (
|
|
4301
4720
|
// By default, don't run live redraw on touch
|
|
4302
4721
|
// devices or if the chart is in boost.
|
|
4303
|
-
!Navigator_isTouchDevice &&
|
|
4304
|
-
!this.chart.boosted)) {
|
|
4722
|
+
!Navigator_isTouchDevice && !this.chart.boosted))) {
|
|
4305
4723
|
e.DOMType = e.type;
|
|
4306
4724
|
setTimeout(function () {
|
|
4307
4725
|
navigator.onMouseUp(e);
|
|
@@ -4490,8 +4908,10 @@ class Navigator {
|
|
|
4490
4908
|
offset: 0,
|
|
4491
4909
|
index: yAxisIndex,
|
|
4492
4910
|
isInternal: true,
|
|
4493
|
-
reversed: (
|
|
4494
|
-
navigatorOptions.yAxis.reversed)
|
|
4911
|
+
reversed: ((navigatorOptions.yAxis &&
|
|
4912
|
+
navigatorOptions.yAxis.reversed) ??
|
|
4913
|
+
(chart.yAxis[0] && chart.yAxis[0].reversed) ??
|
|
4914
|
+
false), // #14060
|
|
4495
4915
|
zoomEnabled: false
|
|
4496
4916
|
}, chart.inverted ? {
|
|
4497
4917
|
width: height
|
|
@@ -4577,7 +4997,9 @@ class Navigator {
|
|
|
4577
4997
|
*/
|
|
4578
4998
|
setOpposite() {
|
|
4579
4999
|
const navigatorOptions = this.navigatorOptions, navigatorEnabled = this.navigatorEnabled, chart = this.chart;
|
|
4580
|
-
this.opposite =
|
|
5000
|
+
this.opposite =
|
|
5001
|
+
navigatorOptions.opposite ??
|
|
5002
|
+
Boolean(!navigatorEnabled && chart.inverted); // #6262
|
|
4581
5003
|
}
|
|
4582
5004
|
/**
|
|
4583
5005
|
* Get the union data extremes of the chart - the outer data extremes of the
|
|
@@ -4591,9 +5013,8 @@ class Navigator {
|
|
|
4591
5013
|
let ret;
|
|
4592
5014
|
if (!returnFalseOnNoBaseSeries || baseAxis.dataMin !== null) {
|
|
4593
5015
|
ret = {
|
|
4594
|
-
dataMin: (
|
|
4595
|
-
time.parse(navAxisOptions?.
|
|
4596
|
-
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))
|
|
5016
|
+
dataMin: (time.parse(navAxisOptions?.min) ?? numExt('min', time.parse(baseAxisOptions.min), baseAxis.dataMin, navAxis.dataMin, navAxis.min)),
|
|
5017
|
+
dataMax: (time.parse(navAxisOptions?.max) ?? numExt('max', time.parse(baseAxisOptions.max), baseAxis.dataMax, navAxis.dataMax, navAxis.max))
|
|
4597
5018
|
};
|
|
4598
5019
|
}
|
|
4599
5020
|
return ret;
|
|
@@ -4708,11 +5129,9 @@ class Navigator {
|
|
|
4708
5129
|
userNavOptions.dataLabels = (0,external_highcharts_src_js_default_namespaceObject.splat)(userNavOptions.dataLabels);
|
|
4709
5130
|
mergedNavSeriesOptions = (0,external_highcharts_src_js_default_namespaceObject.merge)(baseOptions, navSeriesMixin, userNavOptions, baseNavigatorOptions);
|
|
4710
5131
|
// Once nav series type is resolved, pick correct pointRange
|
|
4711
|
-
mergedNavSeriesOptions.pointRange = (
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
// Fallback to default values, e.g. `null` for column
|
|
4715
|
-
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
5132
|
+
mergedNavSeriesOptions.pointRange = (userNavOptions.pointRange ??
|
|
5133
|
+
baseNavigatorOptions.pointRange ??
|
|
5134
|
+
Navigator_defaultOptions.plotOptions[mergedNavSeriesOptions.type || 'line']?.pointRange);
|
|
4716
5135
|
// Merge data separately. Do a slice to avoid mutating the
|
|
4717
5136
|
// navigator options from base series (#4923).
|
|
4718
5137
|
const navigatorSeriesData = baseNavigatorOptions.data || userNavOptions.data, navigatorSeriesDataTable = baseNavigatorOptions.dataTable ||
|
|
@@ -4872,7 +5291,7 @@ class Navigator {
|
|
|
4872
5291
|
* @function Highcharts.Navigator#modifyBaseAxisExtremes
|
|
4873
5292
|
*/
|
|
4874
5293
|
modifyBaseAxisExtremes() {
|
|
4875
|
-
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 = (
|
|
5294
|
+
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,
|
|
4876
5295
|
// When the extremes have been set by range selector button, don't
|
|
4877
5296
|
// stick to min or max. The range selector buttons will handle the
|
|
4878
5297
|
// extremes. (#5489)
|
|
@@ -4924,8 +5343,8 @@ class Navigator {
|
|
|
4924
5343
|
Math.round(navigator.zoomedMax) >= Math.round(navigator.size);
|
|
4925
5344
|
// If the scrollbar is scrolled all the way to the right, keep right as
|
|
4926
5345
|
// new data comes in, unless user set navigator.stickToMax to false.
|
|
4927
|
-
navigator.stickToMax = (
|
|
4928
|
-
this.chart.options.navigator.stickToMax
|
|
5346
|
+
navigator.stickToMax = (this.chart.options.navigator &&
|
|
5347
|
+
this.chart.options.navigator.stickToMax) ?? shouldStickToMax;
|
|
4929
5348
|
navigator.stickToMin = navigator.shouldStickToMin(baseSeries, navigator);
|
|
4930
5349
|
// Set the navigator series data to the new data of the base series
|
|
4931
5350
|
if (navigatorSeries && !navigator.hasNavigatorData) {
|
|
@@ -5700,7 +6119,7 @@ function axisMinFromRange() {
|
|
|
5700
6119
|
this.chart.setFixedRange(max - min);
|
|
5701
6120
|
}
|
|
5702
6121
|
}
|
|
5703
|
-
const dataMin = (
|
|
6122
|
+
const dataMin = (this.dataMin ?? Number.MIN_VALUE);
|
|
5704
6123
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(min)) {
|
|
5705
6124
|
min = dataMin;
|
|
5706
6125
|
}
|
|
@@ -5709,7 +6128,7 @@ function axisMinFromRange() {
|
|
|
5709
6128
|
if (typeof range === 'undefined') { // #4501
|
|
5710
6129
|
range = getTrueRange(min, rangeOptions.count);
|
|
5711
6130
|
}
|
|
5712
|
-
this.newMax = Math.min(min + range, (
|
|
6131
|
+
this.newMax = Math.min(min + range, (this.dataMax ?? Number.MAX_VALUE));
|
|
5713
6132
|
}
|
|
5714
6133
|
if (!(0,external_highcharts_src_js_default_namespaceObject.isNumber)(max)) {
|
|
5715
6134
|
min = void 0;
|
|
@@ -6136,7 +6555,7 @@ class RangeSelector {
|
|
|
6136
6555
|
}
|
|
6137
6556
|
else if ((0,external_highcharts_src_js_default_namespaceObject.isNumber)(newMin) || (0,external_highcharts_src_js_default_namespaceObject.isNumber)(newMax)) {
|
|
6138
6557
|
// Existing axis object. Set extremes after render time.
|
|
6139
|
-
baseAxis.setExtremes(newMin, newMax, (
|
|
6558
|
+
baseAxis.setExtremes(newMin, newMax, (redraw ?? true), void 0, // Auto animation
|
|
6140
6559
|
{
|
|
6141
6560
|
trigger: 'rangeSelectorButton',
|
|
6142
6561
|
rangeSelectorButton: rangeOptions
|
|
@@ -6371,8 +6790,8 @@ class RangeSelector {
|
|
|
6371
6790
|
year: 365
|
|
6372
6791
|
}[type] * 24 * 36e5 * count;
|
|
6373
6792
|
}
|
|
6374
|
-
rangeOptions._offsetMin = (
|
|
6375
|
-
rangeOptions._offsetMax = (
|
|
6793
|
+
rangeOptions._offsetMin = (rangeOptions.offsetMin ?? 0);
|
|
6794
|
+
rangeOptions._offsetMax = (rangeOptions.offsetMax ?? 0);
|
|
6376
6795
|
rangeOptions._range +=
|
|
6377
6796
|
rangeOptions._offsetMax - rangeOptions._offsetMin;
|
|
6378
6797
|
}
|
|
@@ -6683,7 +7102,7 @@ class RangeSelector {
|
|
|
6683
7102
|
};
|
|
6684
7103
|
}
|
|
6685
7104
|
createElements() {
|
|
6686
|
-
const chart = this.chart, renderer = chart.renderer, container = chart.container, chartOptions = chart.options, options = chartOptions.rangeSelector, inputEnabled = options.inputEnabled, inputsZIndex = (
|
|
7105
|
+
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;
|
|
6687
7106
|
if (options.enabled === false) {
|
|
6688
7107
|
return;
|
|
6689
7108
|
}
|
|
@@ -6824,10 +7243,14 @@ class RangeSelector {
|
|
|
6824
7243
|
// Create a label for dropdown select element
|
|
6825
7244
|
const userButtonTheme = chart.userOptions.rangeSelector?.buttonTheme;
|
|
6826
7245
|
this.dropdownLabel = renderer.button('', 0, 0, () => { }, (0,external_highcharts_src_js_default_namespaceObject.merge)(buttonTheme, {
|
|
6827
|
-
'stroke-width': (
|
|
7246
|
+
'stroke-width': (buttonTheme['stroke-width'] ?? 0),
|
|
6828
7247
|
width: 'auto',
|
|
6829
|
-
paddingLeft:
|
|
6830
|
-
|
|
7248
|
+
paddingLeft: options.buttonTheme.paddingLeft ??
|
|
7249
|
+
userButtonTheme?.padding ??
|
|
7250
|
+
8,
|
|
7251
|
+
paddingRight: options.buttonTheme.paddingRight ??
|
|
7252
|
+
userButtonTheme?.padding ??
|
|
7253
|
+
8
|
|
6831
7254
|
}), states && states.hover, states && states.select, states && states.disabled)
|
|
6832
7255
|
.hide()
|
|
6833
7256
|
.add(this.group);
|
|
@@ -7008,7 +7431,7 @@ class RangeSelector {
|
|
|
7008
7431
|
legendOptions.enabled &&
|
|
7009
7432
|
!legendOptions.floating ?
|
|
7010
7433
|
(chart.legend.legendHeight +
|
|
7011
|
-
(
|
|
7434
|
+
(legendOptions.margin ?? 10)) :
|
|
7012
7435
|
0);
|
|
7013
7436
|
groupHeight = groupHeight + legendHeight - 20;
|
|
7014
7437
|
translateY = (alignTranslateY -
|
|
@@ -7154,7 +7577,7 @@ class RangeSelector {
|
|
|
7154
7577
|
// Align button group
|
|
7155
7578
|
buttonGroup.align({
|
|
7156
7579
|
y: buttonPosition.y,
|
|
7157
|
-
width: (
|
|
7580
|
+
width: (width ?? this.initialButtonGroupWidth),
|
|
7158
7581
|
align: buttonPosition.align,
|
|
7159
7582
|
x: translateX
|
|
7160
7583
|
}, true, chart.spacingBox);
|
|
@@ -7173,7 +7596,7 @@ class RangeSelector {
|
|
|
7173
7596
|
if (zoomText && zoomText.visibility !== 'hidden') {
|
|
7174
7597
|
// #8769, allow dynamically updating margins
|
|
7175
7598
|
zoomText[verb]({
|
|
7176
|
-
x:
|
|
7599
|
+
x: plotLeft + (buttonPosition.x ?? 0)
|
|
7177
7600
|
});
|
|
7178
7601
|
// Button start position
|
|
7179
7602
|
buttonLeft += buttonPosition.x +
|
|
@@ -7951,7 +8374,6 @@ const PathUtilities = {
|
|
|
7951
8374
|
* */
|
|
7952
8375
|
|
|
7953
8376
|
|
|
7954
|
-
|
|
7955
8377
|
/* *
|
|
7956
8378
|
*
|
|
7957
8379
|
* Constants
|
|
@@ -8148,7 +8570,8 @@ function straight(start, end) {
|
|
|
8148
8570
|
*/
|
|
8149
8571
|
const simpleConnect = function (start, end, options) {
|
|
8150
8572
|
const segments = [], chartObstacles = options.chartObstacles, startObstacleIx = findObstacleFromPoint(chartObstacles, start), endObstacleIx = findObstacleFromPoint(chartObstacles, end);
|
|
8151
|
-
let endSegment, dir = (
|
|
8573
|
+
let endSegment, dir = (options.startDirectionX ??
|
|
8574
|
+
(abs(end.x - start.x) > abs(end.y - start.y))) ? 'x' : 'y', startObstacle, endObstacle, waypoint, useMax, endPoint;
|
|
8152
8575
|
// eslint-disable-next-line valid-jsdoc
|
|
8153
8576
|
/**
|
|
8154
8577
|
* Return a clone of a point with a property set from a target object,
|
|
@@ -8290,7 +8713,8 @@ function fastAvoid(start, end, options) {
|
|
|
8290
8713
|
- When going around the end obstacle we should not always go the
|
|
8291
8714
|
shortest route, rather pick the one closer to the end point
|
|
8292
8715
|
*/
|
|
8293
|
-
const dirIsX =
|
|
8716
|
+
const dirIsX = options.startDirectionX ??
|
|
8717
|
+
(abs(end.x - start.x) > abs(end.y - start.y)), dir = dirIsX ? 'x' : 'y', endSegments = [],
|
|
8294
8718
|
// Boundaries to stay within. If beyond soft boundary, prefer to
|
|
8295
8719
|
// change direction ASAP. If at hard max, always change immediately.
|
|
8296
8720
|
metrics = options.obstacleMetrics, softMinX = PathfinderAlgorithms_min(start.x, end.x) - metrics.maxWidth - 10, softMaxX = PathfinderAlgorithms_max(start.x, end.x) + metrics.maxWidth + 10, softMinY = PathfinderAlgorithms_min(start.y, end.y) - metrics.maxHeight - 10, softMaxY = PathfinderAlgorithms_max(start.y, end.y) + metrics.maxHeight + 10;
|
|
@@ -9247,7 +9671,7 @@ function Pathfinder_getPointBB(point) {
|
|
|
9247
9671
|
*/
|
|
9248
9672
|
function calculateObstacleDistance(a, b, bbMargin) {
|
|
9249
9673
|
// Count the distance even if we are slightly off
|
|
9250
|
-
const margin = (
|
|
9674
|
+
const margin = (bbMargin ?? 10), yOverlap = a.yMax + margin > b.yMin - margin &&
|
|
9251
9675
|
a.yMin - margin < b.yMax + margin, xOverlap = a.xMax + margin > b.xMin - margin &&
|
|
9252
9676
|
a.xMin - margin < b.xMax + margin, xDistance = yOverlap ? (a.xMin > b.xMax ? a.xMin - b.xMax : b.xMin - a.xMax) : Infinity, yDistance = xOverlap ? (a.yMin > b.yMax ? a.yMin - b.yMax : b.yMin - a.yMax) : Infinity;
|
|
9253
9677
|
// If the rectangles collide, try recomputing with smaller margin.
|
|
@@ -9492,7 +9916,7 @@ class Pathfinder {
|
|
|
9492
9916
|
* with xMin, xMax, yMin and yMax properties.
|
|
9493
9917
|
*/
|
|
9494
9918
|
getChartObstacles(options) {
|
|
9495
|
-
const series = this.chart.series, margin = (
|
|
9919
|
+
const series = this.chart.series, margin = (options.algorithmMargin ?? 0);
|
|
9496
9920
|
let obstacles = [], calculatedMargin;
|
|
9497
9921
|
for (let i = 0, sLen = series.length; i < sLen; ++i) {
|
|
9498
9922
|
if (series[i].visible && !series[i].options.isInternal) {
|
|
@@ -9850,7 +10274,7 @@ var BrokenAxis;
|
|
|
9850
10274
|
/** @internal */
|
|
9851
10275
|
function onSeriesAfterRender() {
|
|
9852
10276
|
this.drawBreaks(this.xAxis, ['x']);
|
|
9853
|
-
this.drawBreaks(this.yAxis, (
|
|
10277
|
+
this.drawBreaks(this.yAxis, (this.pointArrayMap ?? ['y']));
|
|
9854
10278
|
}
|
|
9855
10279
|
/** @internal */
|
|
9856
10280
|
function seriesDrawBreaks(axis, keys) {
|
|
@@ -9862,7 +10286,7 @@ var BrokenAxis;
|
|
|
9862
10286
|
breaks = brokenAxis?.breakArray || [];
|
|
9863
10287
|
threshold = axis.isXAxis ?
|
|
9864
10288
|
axis.min :
|
|
9865
|
-
(
|
|
10289
|
+
(series.options.threshold ?? axis.min);
|
|
9866
10290
|
points.forEach(function (point) {
|
|
9867
10291
|
y = point['stack' + key.toUpperCase()] ??
|
|
9868
10292
|
point[key];
|
|
@@ -10155,7 +10579,8 @@ var BrokenAxis;
|
|
|
10155
10579
|
if (Additions.isInBreak(breaks[i], val)) {
|
|
10156
10580
|
inbrk = true;
|
|
10157
10581
|
if (!keep) {
|
|
10158
|
-
keep =
|
|
10582
|
+
keep =
|
|
10583
|
+
breaks[i].showPoints ?? !axis.isXAxis;
|
|
10159
10584
|
}
|
|
10160
10585
|
}
|
|
10161
10586
|
}
|
|
@@ -10338,7 +10763,7 @@ var BrokenAxis;
|
|
|
10338
10763
|
}
|
|
10339
10764
|
};
|
|
10340
10765
|
}
|
|
10341
|
-
if (
|
|
10766
|
+
if (redraw ?? true) {
|
|
10342
10767
|
axis.chart.redraw();
|
|
10343
10768
|
}
|
|
10344
10769
|
}
|
|
@@ -10397,7 +10822,7 @@ function argsToArray(args) {
|
|
|
10397
10822
|
return Array.prototype.slice.call(args, 1);
|
|
10398
10823
|
}
|
|
10399
10824
|
/** @internal */
|
|
10400
|
-
function
|
|
10825
|
+
function GridAxis_isObject(x) {
|
|
10401
10826
|
// Always use strict mode
|
|
10402
10827
|
return (0,external_highcharts_src_js_default_namespaceObject.isObject)(x, true);
|
|
10403
10828
|
}
|
|
@@ -10410,7 +10835,7 @@ function applyGridOptions(axis) {
|
|
|
10410
10835
|
options.labels = {};
|
|
10411
10836
|
}
|
|
10412
10837
|
*/
|
|
10413
|
-
options.labels.align = (
|
|
10838
|
+
options.labels.align = (options.labels.align ?? 'center');
|
|
10414
10839
|
// @todo: Check against tickLabelPlacement between/on etc
|
|
10415
10840
|
/* Prevents adding the last tick label if the axis is not a category
|
|
10416
10841
|
axis.
|
|
@@ -10480,8 +10905,8 @@ function getMaxLabelDimensions(ticks, tickPositions) {
|
|
|
10480
10905
|
tickPositions.forEach(function (pos) {
|
|
10481
10906
|
const tick = ticks[pos];
|
|
10482
10907
|
let labelHeight = 0, labelWidth = 0, label;
|
|
10483
|
-
if (
|
|
10484
|
-
label =
|
|
10908
|
+
if (GridAxis_isObject(tick)) {
|
|
10909
|
+
label = GridAxis_isObject(tick.label) ? tick.label : {};
|
|
10485
10910
|
// Find width and height of label
|
|
10486
10911
|
labelHeight = label.getBBox ? label.getBBox().height : 0;
|
|
10487
10912
|
if (label.textStr && !(0,external_highcharts_src_js_default_namespaceObject.isNumber)(label.textPxLength)) {
|
|
@@ -10826,7 +11251,7 @@ function onAfterSetAxisTranslation() {
|
|
|
10826
11251
|
* @internal
|
|
10827
11252
|
*/
|
|
10828
11253
|
function onAfterSetOptions(e) {
|
|
10829
|
-
const options = this.options, userOptions = e.userOptions, gridOptions = ((options &&
|
|
11254
|
+
const options = this.options, userOptions = e.userOptions, gridOptions = ((options && GridAxis_isObject(options.grid)) ? options.grid : {});
|
|
10830
11255
|
let gridAxisOptions;
|
|
10831
11256
|
if (gridOptions.enabled === true) {
|
|
10832
11257
|
// Merge the user options into default grid axis options so
|
|
@@ -10954,8 +11379,8 @@ function onAfterSetOptions(e) {
|
|
|
10954
11379
|
_________________________
|
|
10955
11380
|
Into this: |_____|_____|_____|_____|
|
|
10956
11381
|
^ ^ */
|
|
10957
|
-
options.minPadding = (
|
|
10958
|
-
options.maxPadding = (
|
|
11382
|
+
options.minPadding = (userOptions.minPadding ?? 0);
|
|
11383
|
+
options.maxPadding = (userOptions.maxPadding ?? 0);
|
|
10959
11384
|
}
|
|
10960
11385
|
// If borderWidth is set, then use its value for tick and
|
|
10961
11386
|
// line width.
|
|
@@ -11018,6 +11443,11 @@ function GridAxis_onChartAfterSetChartSize() {
|
|
|
11018
11443
|
/** @internal */
|
|
11019
11444
|
function onDestroy(e) {
|
|
11020
11445
|
const { grid } = this;
|
|
11446
|
+
// Axes created before the Gantt module was loaded have no grid
|
|
11447
|
+
// additions to be destroyed (#24644).
|
|
11448
|
+
if (!grid) {
|
|
11449
|
+
return;
|
|
11450
|
+
}
|
|
11021
11451
|
(grid.columns || []).forEach((column) => column.destroy(e.keepEvents));
|
|
11022
11452
|
grid.columns = void 0;
|
|
11023
11453
|
}
|
|
@@ -11037,7 +11467,9 @@ function onInit(e) {
|
|
|
11037
11467
|
}
|
|
11038
11468
|
axis.hiddenLabels = [];
|
|
11039
11469
|
axis.hiddenMarks = [];
|
|
11040
|
-
|
|
11470
|
+
if (gridOptions.enabled) {
|
|
11471
|
+
axis.clippable = false;
|
|
11472
|
+
}
|
|
11041
11473
|
}
|
|
11042
11474
|
/**
|
|
11043
11475
|
* Center tick labels in cells.
|
|
@@ -11467,7 +11899,7 @@ function getNode(id, parent, level, data, mapOfIdToChildren, options) {
|
|
|
11467
11899
|
}
|
|
11468
11900
|
// Call getNode recursively on the children. Calculate the height of the
|
|
11469
11901
|
// node, and the number of descendants.
|
|
11470
|
-
const children = (
|
|
11902
|
+
const children = (mapOfIdToChildren[id] || []).map((child) => {
|
|
11471
11903
|
const node = getNode(child.id, id, (level + 1), child, mapOfIdToChildren, options), childStart = child.start || NaN, childEnd = (child.milestone === true ?
|
|
11472
11904
|
childStart :
|
|
11473
11905
|
child.end ||
|
|
@@ -11596,7 +12028,7 @@ function renderLabelIcon(tick, params) {
|
|
|
11596
12028
|
}
|
|
11597
12029
|
/** @internal */
|
|
11598
12030
|
function wrapGetLabelPosition(proceed, x, y, label, horiz, labelOptions, tickmarkOffset, index, step) {
|
|
11599
|
-
const tick = this, lbOptions = (
|
|
12031
|
+
const tick = this, lbOptions = (tick.options?.labels ?? labelOptions), pos = tick.pos, axis = tick.axis, isTreeGrid = axis.type === 'treegrid', result = proceed.apply(tick, [x, y, label, horiz, lbOptions, tickmarkOffset, index, step]);
|
|
11600
12032
|
let mapOfPosToGridNode, node, level;
|
|
11601
12033
|
if (isTreeGrid) {
|
|
11602
12034
|
const { width = 0, padding = axis.linkedParent ? 0 : 5 } = (lbOptions && (0,external_highcharts_src_js_default_namespaceObject.isObject)(lbOptions.symbol, true) ?
|
|
@@ -11617,7 +12049,7 @@ function wrapGetLabelPosition(proceed, x, y, label, horiz, labelOptions, tickmar
|
|
|
11617
12049
|
}
|
|
11618
12050
|
/** @internal */
|
|
11619
12051
|
function wrapRenderLabel(proceed) {
|
|
11620
|
-
const tick = this, { pos, axis, label, treeGrid: tickGrid, options: tickOptions } = tick, icon = tickGrid?.labelIcon, labelElement = label?.element, { treeGrid: axisGrid, options: axisOptions, chart, tickPositions } = axis, mapOfPosToGridNode = axisGrid.mapOfPosToGridNode, labelOptions = (
|
|
12052
|
+
const tick = this, { pos, axis, label, treeGrid: tickGrid, options: tickOptions } = tick, icon = tickGrid?.labelIcon, labelElement = label?.element, { treeGrid: axisGrid, options: axisOptions, chart, tickPositions } = axis, mapOfPosToGridNode = axisGrid.mapOfPosToGridNode, labelOptions = (tickOptions?.labels ?? axisOptions?.labels), symbolOptions = (labelOptions && (0,external_highcharts_src_js_default_namespaceObject.isObject)(labelOptions.symbol, true) ?
|
|
11621
12053
|
labelOptions.symbol :
|
|
11622
12054
|
{}), node = mapOfPosToGridNode?.[pos], { descendants, depth } = node || {}, hasDescendants = node && descendants && descendants > 0, level = depth, isTreeGridElement = (axis.type === 'treegrid') && labelElement, shouldRender = tickPositions.indexOf(pos) > -1, prefixClassName = 'highcharts-treegrid-node-', prefixLevelClass = prefixClassName + 'level-', styledMode = chart.styledMode;
|
|
11623
12055
|
let collapsed, addClassName, removeClassName;
|
|
@@ -11883,9 +12315,17 @@ function getColor(node, options) {
|
|
|
11883
12315
|
}
|
|
11884
12316
|
// Select either point color, level color or inherited color.
|
|
11885
12317
|
if (!series.chart.styledMode) {
|
|
11886
|
-
color = (
|
|
11887
|
-
|
|
11888
|
-
|
|
12318
|
+
color = ((point && point.options.color) ??
|
|
12319
|
+
(level && level.color) ??
|
|
12320
|
+
colorByPoint ??
|
|
12321
|
+
(parentColor && variateColor(parentColor)) ??
|
|
12322
|
+
series.color);
|
|
12323
|
+
}
|
|
12324
|
+
colorIndex = ((point && point.options.colorIndex) ??
|
|
12325
|
+
(level && level.colorIndex) ??
|
|
12326
|
+
colorIndexByPoint ??
|
|
12327
|
+
parentColorIndex ??
|
|
12328
|
+
options.colorIndex);
|
|
11889
12329
|
}
|
|
11890
12330
|
return {
|
|
11891
12331
|
color: color,
|
|
@@ -11922,7 +12362,8 @@ function getLevelOptions(params) {
|
|
|
11922
12362
|
let level, levelIsConstant, options;
|
|
11923
12363
|
if ((0,external_highcharts_src_js_default_namespaceObject.isObject)(item) && (0,external_highcharts_src_js_default_namespaceObject.isNumber)(item.level)) {
|
|
11924
12364
|
options = (0,external_highcharts_src_js_default_namespaceObject.merge)({}, item);
|
|
11925
|
-
levelIsConstant =
|
|
12365
|
+
levelIsConstant =
|
|
12366
|
+
options.levelIsConstant ?? defaults.levelIsConstant;
|
|
11926
12367
|
// Delete redundant properties.
|
|
11927
12368
|
delete options.levelIsConstant;
|
|
11928
12369
|
delete options.level;
|
|
@@ -11954,7 +12395,7 @@ function setTreeValues(tree, options) {
|
|
|
11954
12395
|
const before = options.before, idRoot = options.idRoot, mapIdToNode = options.mapIdToNode, nodeRoot = mapIdToNode[idRoot], levelIsConstant = (options.levelIsConstant !== false), points = options.points, point = points[tree.i], optionsPoint = point && point.options || {}, children = [];
|
|
11955
12396
|
let childrenTotal = 0;
|
|
11956
12397
|
tree.levelDynamic = tree.level - (levelIsConstant ? 0 : nodeRoot.level);
|
|
11957
|
-
tree.name = (
|
|
12398
|
+
tree.name = ((point && point.name) ?? '');
|
|
11958
12399
|
tree.visible = (idRoot === tree.id ||
|
|
11959
12400
|
options.visible === true);
|
|
11960
12401
|
if (typeof before === 'function') {
|
|
@@ -11975,7 +12416,7 @@ function setTreeValues(tree, options) {
|
|
|
11975
12416
|
}
|
|
11976
12417
|
});
|
|
11977
12418
|
// Set the values
|
|
11978
|
-
const value = (
|
|
12419
|
+
const value = (optionsPoint.value ?? childrenTotal);
|
|
11979
12420
|
tree.visible = value >= 0 && (childrenTotal > 0 || tree.visible);
|
|
11980
12421
|
tree.children = children;
|
|
11981
12422
|
tree.childrenTotal = childrenTotal;
|
|
@@ -12001,7 +12442,7 @@ function updateRootId(series) {
|
|
|
12001
12442
|
// Get the series options.
|
|
12002
12443
|
options = (0,external_highcharts_src_js_default_namespaceObject.isObject)(series.options) ? series.options : {};
|
|
12003
12444
|
// Calculate the rootId.
|
|
12004
|
-
rootId = (
|
|
12445
|
+
rootId = (series.rootNode ?? options.rootId ?? '');
|
|
12005
12446
|
// Set rootId on series.userOptions to pick it up in exporting.
|
|
12006
12447
|
if ((0,external_highcharts_src_js_default_namespaceObject.isObject)(series.userOptions)) {
|
|
12007
12448
|
series.userOptions.rootId = rootId;
|
|
@@ -12393,7 +12834,7 @@ function wrapInit(proceed, chart, userOptions, coll) {
|
|
|
12393
12834
|
if (isTreeGrid) {
|
|
12394
12835
|
// Add event for updating the categories of a treegrid.
|
|
12395
12836
|
// NOTE Preferably these events should be set on the axis.
|
|
12396
|
-
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(chart, 'beforeRender', onBeforeRender);
|
|
12837
|
+
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(chart, 'beforeRender', onBeforeRender, { order: 0 });
|
|
12397
12838
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(chart, 'beforeRedraw', onBeforeRender);
|
|
12398
12839
|
// Add new collapsed nodes on addSeries
|
|
12399
12840
|
(0,external_highcharts_src_js_default_namespaceObject.addEvent)(chart, 'addSeries', function (e) {
|
|
@@ -12811,7 +13252,8 @@ class GanttSeries extends XRangeSeries {
|
|
|
12811
13252
|
if (columnName === 'x') {
|
|
12812
13253
|
const startColumn = super.getColumn('start');
|
|
12813
13254
|
if (startColumn.length) {
|
|
12814
|
-
return startColumn.map((val) => time.parse(val)
|
|
13255
|
+
return startColumn.map((val) => time.parse(val) ?? NaN // #24849
|
|
13256
|
+
);
|
|
12815
13257
|
}
|
|
12816
13258
|
}
|
|
12817
13259
|
return super.getColumn.apply(this, arguments);
|