highcharts 10.1.0 → 10.2.0
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/es-modules/Accessibility/Accessibility.js +2 -3
- package/es-modules/Accessibility/Components/AnnotationsA11y.js +3 -3
- package/es-modules/Accessibility/Components/ContainerComponent.js +3 -1
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +5 -3
- package/es-modules/Accessibility/Components/LegendComponent.js +3 -3
- package/es-modules/Accessibility/Components/MenuComponent.js +3 -1
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +3 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +3 -1
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +12 -6
- package/es-modules/Accessibility/Components/ZoomComponent.js +30 -70
- package/es-modules/Accessibility/HighContrastMode.js +1 -1
- package/es-modules/Accessibility/KeyboardNavigation.js +2 -2
- package/es-modules/Accessibility/Options/{Options.js → A11yDefaults.js} +6 -1
- package/es-modules/Accessibility/Options/DeprecatedOptions.js +12 -2
- package/es-modules/Accessibility/Options/{LangOptions.js → LangDefaults.js} +10 -0
- package/es-modules/Accessibility/Utils/ChartUtilities.js +1 -1
- package/es-modules/Core/Animation/Fx.js +1 -1
- package/es-modules/Core/Axis/Axis.js +18 -19
- package/es-modules/Core/Axis/AxisDefaults.js +8 -8
- package/es-modules/Core/Axis/Color/ColorAxis.js +4 -2
- package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +3 -3
- package/es-modules/Core/Axis/DateTimeAxis.js +5 -3
- package/es-modules/Core/Axis/GridAxis.js +817 -821
- package/es-modules/Core/Axis/OrdinalAxis.js +23 -1
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +2 -2
- package/es-modules/Core/Axis/Tick.js +20 -16
- package/es-modules/Core/Axis/TreeGridTick.js +2 -2
- package/es-modules/Core/Axis/ZAxis.js +3 -1
- package/es-modules/Core/Chart/Chart.js +13 -12
- package/es-modules/Core/Chart/ChartDefaults.js +3 -3
- package/es-modules/Core/Chart/GanttChart.js +3 -1
- package/es-modules/Core/Chart/MapChart.js +3 -1
- package/es-modules/Core/Chart/StockChart.js +6 -4
- package/es-modules/Core/Color/Color.js +1 -1
- package/es-modules/Core/DefaultOptions.js +11 -11
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/HttpUtilities.js +39 -37
- package/es-modules/Core/Legend/Legend.js +3 -3
- package/es-modules/Core/MSPointer.js +3 -1
- package/es-modules/Core/Navigator.js +6 -6
- package/es-modules/Core/Pointer.js +1 -1
- package/es-modules/Core/Renderer/HTML/AST.js +1 -1
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +3 -1
- package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +3 -1
- package/es-modules/Core/Renderer/SVG/SVGElement.js +7 -7
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +3 -1
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +37 -35
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +3 -1
- package/es-modules/Core/ScrollbarDefaults.js +8 -8
- package/es-modules/Core/Series/DataLabel.js +2 -2
- package/es-modules/Core/Series/Point.js +9 -0
- package/es-modules/Core/Series/Series.js +5 -5
- package/es-modules/Core/Series/Series3D.js +3 -1
- package/es-modules/Core/Series/SeriesDefaults.js +3 -3
- package/es-modules/Core/Time.js +6 -7
- package/es-modules/Core/Tooltip.js +3 -3
- package/es-modules/Core/Utilities.js +5 -5
- package/es-modules/Data/DataConverter.js +1 -1
- package/es-modules/Data/DataTable.js +12 -10
- package/es-modules/Data/Modifiers/ChainModifier.js +3 -1
- package/es-modules/Data/Modifiers/GroupModifier.js +3 -1
- package/es-modules/Data/Modifiers/InvertModifier.js +9 -7
- package/es-modules/Data/Modifiers/RangeModifier.js +3 -1
- package/es-modules/Data/Modifiers/SeriesPointsModifier.js +3 -1
- package/es-modules/Data/Modifiers/SortModifier.js +3 -1
- package/es-modules/Data/Parsers/CSVParser.js +3 -1
- package/es-modules/Data/Parsers/DataParser.js +1 -1
- package/es-modules/Data/Parsers/GoogleSheetsParser.js +3 -2
- package/es-modules/Data/Parsers/HTMLTableParser.js +3 -1
- package/es-modules/Data/Stores/CSVStore.js +8 -5
- package/es-modules/Data/Stores/GoogleSheetsStore.js +3 -1
- package/es-modules/Data/Stores/HTMLTableStore.js +3 -1
- package/es-modules/Extensions/Annotations/{Annotations.js → Annotation.js} +21 -9
- package/es-modules/Extensions/Annotations/AnnotationsDefaults.js +0 -0
- package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +5 -2
- package/es-modules/Extensions/Annotations/NavigationBindings.js +8 -5
- package/es-modules/Extensions/Annotations/Popup.js +2 -2
- package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +13 -9
- package/es-modules/Extensions/Annotations/Types/CrookedLine.js +4 -2
- package/es-modules/Extensions/Annotations/Types/ElliottWave.js +4 -2
- package/es-modules/Extensions/Annotations/Types/Fibonacci.js +5 -3
- package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +4 -2
- package/es-modules/Extensions/Annotations/Types/InfinityLine.js +4 -2
- package/es-modules/Extensions/Annotations/Types/Measure.js +4 -2
- package/es-modules/Extensions/Annotations/Types/Pitchfork.js +4 -2
- package/es-modules/Extensions/Annotations/Types/TimeCycles.js +4 -2
- package/es-modules/Extensions/Annotations/Types/Tunnel.js +5 -2
- package/es-modules/Extensions/Annotations/Types/VerticalLine.js +4 -2
- package/es-modules/Extensions/Boost/BoostAttach.js +5 -1
- package/es-modules/Extensions/Boost/BoostInit.js +3 -2
- package/es-modules/Extensions/BoostCanvas.js +11 -5
- package/es-modules/Extensions/Breadcrumbs.js +31 -6
- package/es-modules/Extensions/CurrentDateIndication.js +1 -1
- package/es-modules/Extensions/Data.js +638 -602
- package/es-modules/Extensions/DownloadURL.js +3 -3
- package/es-modules/Extensions/DragPanes.js +1 -1
- package/es-modules/Extensions/Drilldown.js +2 -2
- package/es-modules/Extensions/ExportData.js +57 -7
- package/es-modules/Extensions/Exporting/Exporting.js +3 -3
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +7 -7
- package/es-modules/Extensions/GeoJSON.js +0 -2
- package/es-modules/Extensions/MarkerClusters.js +3 -3
- package/es-modules/Extensions/NoDataToDisplay.js +1 -1
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/Oldie/Oldie.js +2 -2
- package/es-modules/Extensions/Pane.js +3 -3
- package/es-modules/Extensions/ParallelCoordinates.js +1 -1
- package/es-modules/Extensions/PatternFill.js +14 -2
- package/es-modules/Extensions/RangeSelector.js +29 -18
- package/es-modules/Extensions/ScrollablePlotArea.js +3 -3
- package/es-modules/Extensions/{SeriesLabel.js → SeriesLabel/SeriesLabel.js} +262 -384
- package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +124 -0
- package/es-modules/Extensions/SeriesLabel/SeriesLabelUtilities.js +67 -0
- package/es-modules/Extensions/Sonification/Earcon.js +1 -1
- package/es-modules/Extensions/Stacking.js +1 -1
- package/es-modules/Maps/MapNavigation.js +2 -2
- package/es-modules/Maps/MapView.js +23 -16
- package/es-modules/Maps/MapViewInsetsOptionsDefault.js +1 -1
- package/es-modules/Maps/Projection.js +13 -11
- package/es-modules/Series/ArcDiagram/ArcDiagramPoint.js +3 -1
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -1
- package/es-modules/Series/Area/AreaSeries.js +21 -14
- package/es-modules/Series/AreaRange/AreaRangePoint.js +24 -11
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +154 -147
- package/es-modules/Series/AreaSpline/AreaSplineSeries.js +45 -41
- package/es-modules/Series/AreaSplineRange/AreaSplineRangeSeries.js +43 -43
- package/es-modules/Series/Bar/BarSeries.js +3 -1
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +3 -1
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +4 -2
- package/es-modules/Series/Bubble/BubbleLegendDefaults.js +1 -1
- package/es-modules/Series/Bubble/BubblePoint.js +3 -1
- package/es-modules/Series/Bubble/BubbleSeries.js +15 -6
- package/es-modules/Series/Bullet/BulletPoint.js +3 -1
- package/es-modules/Series/Bullet/BulletSeries.js +4 -3
- package/es-modules/Series/Candlestick/CandlestickSeries.js +5 -3
- package/es-modules/Series/CenteredUtilities.js +2 -1
- package/es-modules/Series/ColorMapComposition.js +111 -0
- package/es-modules/Series/Column/ColumnSeries.js +6 -4
- package/es-modules/Series/ColumnPyramid/ColumnPyramidSeries.js +3 -1
- package/es-modules/Series/ColumnRange/ColumnRangePoint.js +17 -13
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +60 -57
- package/es-modules/Series/Cylinder/CylinderPoint.js +3 -1
- package/es-modules/Series/Cylinder/CylinderSeries.js +3 -1
- package/es-modules/Series/DependencyWheel/DependencyWheelPoint.js +3 -1
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +3 -1
- package/es-modules/Series/DotPlot/DotPlotSeries.js +3 -1
- package/es-modules/Series/DrawPointUtilities.js +87 -0
- package/es-modules/Series/Dumbbell/DumbbellPoint.js +3 -1
- package/es-modules/Series/Dumbbell/DumbbellSeries.js +4 -2
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +4 -2
- package/es-modules/Series/Flags/FlagsPoint.js +4 -1
- package/es-modules/Series/Flags/FlagsSeries.js +6 -4
- package/es-modules/Series/Funnel/FunnelSeries.js +5 -3
- package/es-modules/Series/Funnel3D/Funnel3DPoint.js +3 -1
- package/es-modules/Series/Funnel3D/Funnel3DSeries.js +3 -1
- package/es-modules/Series/Gantt/GanttPoint.js +3 -1
- package/es-modules/Series/Gantt/GanttSeries.js +3 -1
- package/es-modules/Series/Gauge/GaugePoint.js +3 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +195 -173
- package/es-modules/Series/HLC/HLCPoint.js +3 -1
- package/es-modules/Series/HLC/HLCSeries.js +4 -2
- package/es-modules/Series/Heatmap/HeatmapPoint.js +7 -5
- package/es-modules/Series/Heatmap/HeatmapSeries.js +16 -13
- package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -1
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +3 -1
- package/es-modules/Series/Histogram/HistogramSeries.js +3 -1
- package/es-modules/Series/HollowCandlestick/HollowCandlestickPoint.js +3 -1
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +11 -9
- package/es-modules/Series/Item/ItemPoint.js +3 -1
- package/es-modules/Series/Item/ItemSeries.js +3 -1
- package/es-modules/Series/Line/LineSeries.js +4 -2
- package/es-modules/Series/Lollipop/LollipopPoint.js +3 -1
- package/es-modules/Series/Lollipop/LollipopSeries.js +3 -1
- package/es-modules/Series/Map/MapPoint.js +8 -6
- package/es-modules/Series/Map/MapSeries.js +98 -26
- package/es-modules/Series/MapBubble/MapBubblePoint.js +3 -1
- package/es-modules/Series/MapBubble/MapBubbleSeries.js +3 -1
- package/es-modules/Series/MapLine/MapLineSeries.js +18 -1
- package/es-modules/Series/MapPoint/MapPointPoint.js +4 -2
- package/es-modules/Series/MapPoint/MapPointSeries.js +10 -2
- package/es-modules/Series/Networkgraph/Networkgraph.js +3 -1
- package/es-modules/Series/NodesComposition.js +45 -40
- package/es-modules/Series/OHLC/OHLCPoint.js +3 -1
- package/es-modules/Series/OHLC/OHLCSeries.js +3 -1
- package/es-modules/Series/Organization/OrganizationPoint.js +3 -1
- package/es-modules/Series/Organization/OrganizationSeries.js +5 -3
- package/es-modules/Series/PackedBubble/PackedBubbleComposition.js +0 -2
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +3 -1
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +3 -1
- package/es-modules/Series/ParetoSeries/ParetoSeries.js +3 -1
- package/es-modules/Series/Pie/PieDataLabel.js +1 -1
- package/es-modules/Series/Pie/PiePoint.js +3 -1
- package/es-modules/Series/Pie/PieSeries.js +39 -36
- package/es-modules/Series/Pie3D/Pie3DPoint.js +3 -1
- package/es-modules/Series/Pie3D/Pie3DSeries.js +3 -1
- package/es-modules/Series/PolarComposition.js +819 -0
- package/es-modules/Series/Polygon/PolygonSeries.js +3 -1
- package/es-modules/Series/Pyramid/PyramidSeries.js +3 -1
- package/es-modules/Series/Pyramid3D/Pyramid3DSeries.js +3 -1
- package/es-modules/Series/Sankey/SankeyPoint.js +3 -1
- package/es-modules/Series/Sankey/SankeySeries.js +22 -8
- package/es-modules/Series/Scatter/ScatterSeries.js +10 -5
- package/es-modules/Series/Scatter3D/Scatter3DPoint.js +3 -1
- package/es-modules/Series/Scatter3D/Scatter3DSeries.js +3 -1
- package/es-modules/Series/SeriesOnPointComposition.js +391 -0
- package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +5 -3
- package/es-modules/Series/Spline/SplineSeries.js +13 -4
- package/es-modules/Series/Streamgraph/StreamgraphSeries.js +3 -1
- package/es-modules/Series/Sunburst/SunburstPoint.js +3 -3
- package/es-modules/Series/Sunburst/SunburstSeries.js +7 -2
- package/es-modules/Series/Tilemap/TilemapPoint.js +3 -1
- package/es-modules/Series/Tilemap/TilemapSeries.js +3 -1
- package/es-modules/Series/Timeline/TimelinePoint.js +3 -1
- package/es-modules/Series/Timeline/TimelineSeries.js +6 -4
- package/es-modules/Series/Treemap/TreemapPoint.js +8 -4
- package/es-modules/Series/Treemap/TreemapSeries.js +9 -7
- package/es-modules/Series/VariablePie/VariablePieSeries.js +3 -1
- package/es-modules/Series/Variwide/VariwidePoint.js +3 -1
- package/es-modules/Series/Variwide/VariwideSeries.js +3 -1
- package/es-modules/Series/Vector/VectorSeries.js +3 -1
- package/es-modules/Series/Venn/VennPoint.js +5 -5
- package/es-modules/Series/Venn/VennSeries.js +9 -6
- package/es-modules/Series/Waterfall/WaterfallPoint.js +3 -1
- package/es-modules/Series/Waterfall/WaterfallSeries.js +14 -12
- package/es-modules/Series/Windbarb/WindbarbPoint.js +3 -1
- package/es-modules/Series/Windbarb/WindbarbSeries.js +3 -1
- package/es-modules/Series/Wordcloud/WordcloudPoint.js +6 -6
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +7 -4
- package/es-modules/Series/XRange/XRangePoint.js +3 -1
- package/es-modules/Series/XRange/XRangeSeries.js +3 -1
- package/es-modules/Stock/Indicators/ABands/ABandsIndicator.js +3 -1
- package/es-modules/Stock/Indicators/AD/ADIndicator.js +3 -1
- package/es-modules/Stock/Indicators/AO/AOIndicator.js +5 -3
- package/es-modules/Stock/Indicators/APO/APOIndicator.js +3 -1
- package/es-modules/Stock/Indicators/ATR/ATRIndicator.js +3 -1
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +3 -1
- package/es-modules/Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js +3 -1
- package/es-modules/Stock/Indicators/BB/BBIndicator.js +6 -4
- package/es-modules/Stock/Indicators/CCI/CCIIndicator.js +3 -1
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +3 -1
- package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +3 -1
- package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +3 -1
- package/es-modules/Stock/Indicators/DEMA/DEMAIndicator.js +3 -1
- package/es-modules/Stock/Indicators/DMI/DMIIndicator.js +13 -7
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +3 -1
- package/es-modules/Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js +3 -1
- package/es-modules/Stock/Indicators/EMA/EMAIndicator.js +3 -1
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +3 -1
- package/es-modules/Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js +3 -1
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +3 -1
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegression.js +3 -1
- package/es-modules/Stock/Indicators/LinearRegressionAngle/LinearRegressionAngle.js +3 -1
- package/es-modules/Stock/Indicators/LinearRegressionIntercept/LinearRegressionIntercept.js +3 -1
- package/es-modules/Stock/Indicators/LinearRegressionSlopes/LinearRegressionSlopes.js +3 -1
- package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +26 -13
- package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +3 -1
- package/es-modules/Stock/Indicators/Momentum/MomentumIndicator.js +3 -1
- package/es-modules/Stock/Indicators/MultipleLinesComposition.js +85 -95
- package/es-modules/Stock/Indicators/NATR/NATRIndicator.js +3 -1
- package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +3 -1
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +3 -1
- package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +3 -1
- package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +3 -1
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +3 -1
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsPoint.js +3 -1
- package/es-modules/Stock/Indicators/PriceEnvelopes/PriceEnvelopesIndicator.js +3 -1
- package/es-modules/Stock/Indicators/ROC/ROCIndicator.js +3 -1
- package/es-modules/Stock/Indicators/RSI/RSIIndicator.js +3 -1
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +3 -1
- package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +3 -1
- package/es-modules/Stock/Indicators/Stochastic/StochasticIndicator.js +3 -1
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +6 -4
- package/es-modules/Stock/Indicators/TEMA/TEMAIndicator.js +3 -1
- package/es-modules/Stock/Indicators/TRIX/TRIXIndicator.js +3 -1
- package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +3 -1
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +3 -1
- package/es-modules/Stock/Indicators/VBP/VBPPoint.js +3 -1
- package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +3 -1
- package/es-modules/Stock/Indicators/WMA/WMAIndicator.js +3 -1
- package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +3 -1
- package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +3 -1
- package/es-modules/Stock/StockToolsBindings.js +20 -19
- package/es-modules/Stock/StockToolsGui.js +1 -1
- package/es-modules/masters/highcharts-3d.src.js +1 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +4 -4
- package/es-modules/masters/highcharts.src.js +1 -1
- package/es-modules/masters/highmaps.src.js +1 -1
- package/es-modules/masters/highstock.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 +2 -2
- package/es-modules/masters/modules/annotations.src.js +2 -2
- 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/current-date-indicator.src.js +1 -1
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/data.src.js +2 -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/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/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/networkgraph.src.js +1 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
- package/es-modules/masters/modules/oldie.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/overlapping-datalabels.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/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +1 -1
- package/es-modules/masters/modules/sankey.src.js +1 -1
- package/es-modules/masters/modules/series-label.src.js +5 -2
- package/es-modules/masters/modules/series-on-point.src.js +16 -0
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/sonification.src.js +2 -6
- 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 +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/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/themes/avocado.src.js +1 -1
- package/es-modules/masters/themes/brand-dark.src.js +1 -1
- package/es-modules/masters/themes/brand-light.src.js +1 -1
- package/es-modules/masters/themes/dark-blue.src.js +1 -1
- package/es-modules/masters/themes/dark-green.src.js +1 -1
- package/es-modules/masters/themes/dark-unica.src.js +1 -1
- package/es-modules/masters/themes/gray.src.js +1 -1
- package/es-modules/masters/themes/grid-light.src.js +1 -1
- package/es-modules/masters/themes/grid.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
- package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
- package/es-modules/masters/themes/sand-signika.src.js +1 -1
- package/es-modules/masters/themes/skies.src.js +1 -1
- package/es-modules/masters/themes/sunset.src.js +1 -1
- package/highcharts-3d.js +1 -1
- package/highcharts-3d.src.js +1 -1
- package/highcharts-gantt.js +811 -809
- package/highcharts-gantt.js.map +1 -1
- package/highcharts-gantt.src.js +1271 -1213
- package/highcharts-more.d.ts +10 -0
- package/highcharts-more.js +194 -195
- package/highcharts-more.js.map +1 -1
- package/highcharts-more.src.d.ts +10 -0
- package/highcharts-more.src.js +5649 -5515
- package/highcharts.d.ts +9118 -429
- package/highcharts.js +595 -594
- package/highcharts.js.map +1 -1
- package/highcharts.src.d.ts +9118 -429
- package/highcharts.src.js +335 -285
- package/highmaps.js +763 -760
- package/highmaps.js.map +1 -1
- package/highmaps.src.js +640 -448
- package/highstock.js +797 -794
- package/highstock.js.map +1 -1
- package/highstock.src.js +414 -327
- package/indicators/acceleration-bands.d.ts +1 -17
- package/indicators/acceleration-bands.js +11 -12
- package/indicators/acceleration-bands.js.map +1 -1
- package/indicators/acceleration-bands.src.d.ts +1 -17
- package/indicators/acceleration-bands.src.js +89 -99
- package/indicators/accumulation-distribution.js +1 -1
- package/indicators/accumulation-distribution.src.js +1 -1
- package/indicators/ao.js +1 -1
- package/indicators/ao.src.js +3 -3
- package/indicators/apo.js +1 -1
- package/indicators/apo.src.js +1 -1
- package/indicators/aroon-oscillator.d.ts +1 -17
- package/indicators/aroon-oscillator.js +10 -10
- package/indicators/aroon-oscillator.js.map +1 -1
- package/indicators/aroon-oscillator.src.d.ts +1 -17
- package/indicators/aroon-oscillator.src.js +89 -99
- package/indicators/aroon.d.ts +1 -17
- package/indicators/aroon.js +11 -11
- package/indicators/aroon.js.map +1 -1
- package/indicators/aroon.src.d.ts +1 -17
- package/indicators/aroon.src.js +89 -99
- package/indicators/atr.js +1 -1
- package/indicators/atr.src.js +1 -1
- package/indicators/bollinger-bands.d.ts +1 -17
- package/indicators/bollinger-bands.js +11 -12
- package/indicators/bollinger-bands.js.map +1 -1
- package/indicators/bollinger-bands.src.d.ts +1 -17
- package/indicators/bollinger-bands.src.js +92 -102
- package/indicators/cci.js +1 -1
- package/indicators/cci.src.js +1 -1
- package/indicators/chaikin.js +1 -1
- package/indicators/chaikin.src.js +1 -1
- package/indicators/cmf.js +1 -1
- package/indicators/cmf.src.js +1 -1
- package/indicators/cmo.js +1 -1
- package/indicators/cmo.src.js +1 -1
- package/indicators/dema.js +1 -1
- package/indicators/dema.src.js +1 -1
- package/indicators/disparity-index.js +1 -1
- package/indicators/disparity-index.src.js +1 -1
- package/indicators/dmi.js +12 -12
- package/indicators/dmi.js.map +1 -1
- package/indicators/dmi.src.js +99 -105
- package/indicators/dpo.js +1 -1
- package/indicators/dpo.src.js +1 -1
- package/indicators/ichimoku-kinko-hyo.js +1 -1
- package/indicators/ichimoku-kinko-hyo.src.js +1 -1
- package/indicators/indicators-all.d.ts +1 -17
- package/indicators/indicators-all.js +195 -194
- package/indicators/indicators-all.js.map +1 -1
- package/indicators/indicators-all.src.d.ts +1 -17
- package/indicators/indicators-all.src.js +131 -125
- package/indicators/indicators.js +1 -1
- package/indicators/indicators.src.js +1 -1
- package/indicators/keltner-channels.d.ts +1 -17
- package/indicators/keltner-channels.js +11 -12
- package/indicators/keltner-channels.js.map +1 -1
- package/indicators/keltner-channels.src.d.ts +1 -17
- package/indicators/keltner-channels.src.js +89 -99
- package/indicators/klinger.js +14 -14
- package/indicators/klinger.js.map +1 -1
- package/indicators/klinger.src.js +89 -99
- package/indicators/macd.js +10 -9
- package/indicators/macd.js.map +1 -1
- package/indicators/macd.src.js +25 -13
- package/indicators/mfi.js +1 -1
- package/indicators/mfi.src.js +1 -1
- package/indicators/momentum.js +1 -1
- package/indicators/momentum.src.js +1 -1
- package/indicators/natr.js +1 -1
- package/indicators/natr.src.js +1 -1
- package/indicators/obv.js +1 -1
- package/indicators/obv.src.js +1 -1
- package/indicators/pivot-points.js +1 -1
- package/indicators/pivot-points.src.js +1 -1
- package/indicators/ppo.js +1 -1
- package/indicators/ppo.src.js +1 -1
- package/indicators/price-channel.d.ts +1 -17
- package/indicators/price-channel.js +11 -11
- package/indicators/price-channel.js.map +1 -1
- package/indicators/price-channel.src.d.ts +1 -17
- package/indicators/price-channel.src.js +89 -99
- package/indicators/price-envelopes.js +1 -1
- package/indicators/price-envelopes.src.js +1 -1
- package/indicators/psar.js +1 -1
- package/indicators/psar.src.js +1 -1
- package/indicators/regressions.js +1 -1
- package/indicators/regressions.src.js +1 -1
- package/indicators/roc.js +1 -1
- package/indicators/roc.src.js +1 -1
- package/indicators/rsi.js +1 -1
- package/indicators/rsi.src.js +1 -1
- package/indicators/slow-stochastic.js +1 -1
- package/indicators/slow-stochastic.src.js +1 -1
- package/indicators/stochastic.d.ts +1 -17
- package/indicators/stochastic.js +12 -12
- package/indicators/stochastic.js.map +1 -1
- package/indicators/stochastic.src.d.ts +1 -17
- package/indicators/stochastic.src.js +89 -99
- package/indicators/supertrend.js +1 -1
- package/indicators/supertrend.src.js +4 -4
- package/indicators/tema.js +1 -1
- package/indicators/tema.src.js +1 -1
- package/indicators/trendline.js +1 -1
- package/indicators/trendline.src.js +1 -1
- package/indicators/trix.js +1 -1
- package/indicators/trix.src.js +1 -1
- package/indicators/volume-by-price.js +1 -1
- package/indicators/volume-by-price.src.js +1 -1
- package/indicators/vwap.js +1 -1
- package/indicators/vwap.src.js +1 -1
- package/indicators/williams-r.js +1 -1
- package/indicators/williams-r.src.js +1 -1
- package/indicators/wma.js +1 -1
- package/indicators/wma.src.js +1 -1
- package/indicators/zigzag.js +1 -1
- package/indicators/zigzag.src.js +1 -1
- package/modules/accessibility.js +230 -229
- package/modules/accessibility.js.map +1 -1
- package/modules/accessibility.src.js +110 -115
- package/modules/annotations-advanced.js +187 -187
- package/modules/annotations-advanced.js.map +1 -1
- package/modules/annotations-advanced.src.js +62 -39
- package/modules/annotations.js +61 -61
- package/modules/annotations.js.map +1 -1
- package/modules/annotations.src.js +38 -20
- package/modules/arc-diagram.js +1 -1
- package/modules/arc-diagram.src.js +1 -1
- package/modules/arrow-symbols.js +1 -1
- package/modules/arrow-symbols.src.js +1 -1
- package/modules/boost-canvas.js +12 -11
- package/modules/boost-canvas.js.map +1 -1
- package/modules/boost-canvas.src.js +12 -6
- package/modules/boost.js +81 -80
- package/modules/boost.js.map +1 -1
- package/modules/boost.src.js +20 -9
- package/modules/broken-axis.js +1 -1
- package/modules/broken-axis.src.js +1 -1
- package/modules/bullet.js +1 -1
- package/modules/bullet.js.map +1 -1
- package/modules/bullet.src.js +2 -5
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.js.map +1 -1
- package/modules/coloraxis.src.js +5 -5
- package/modules/current-date-indicator.js +1 -1
- package/modules/current-date-indicator.src.js +2 -2
- package/modules/cylinder.js +1 -1
- package/modules/cylinder.src.js +1 -1
- package/modules/data.d.ts +12 -12
- package/modules/data.js +33 -34
- package/modules/data.js.map +1 -1
- package/modules/data.src.d.ts +12 -12
- package/modules/data.src.js +862 -829
- package/modules/datagrouping.js +1 -1
- package/modules/datagrouping.src.js +1 -1
- package/modules/debugger.js +1 -1
- package/modules/debugger.src.js +1 -1
- package/modules/dependency-wheel.js +1 -1
- package/modules/dependency-wheel.src.js +1 -1
- package/modules/dotplot.js +1 -1
- package/modules/dotplot.src.js +1 -1
- package/modules/drag-panes.js +1 -1
- package/modules/drag-panes.src.js +2 -2
- package/modules/draggable-points.js +1 -1
- package/modules/draggable-points.src.js +1 -1
- package/modules/drilldown.js +37 -36
- package/modules/drilldown.js.map +1 -1
- package/modules/drilldown.src.js +40 -9
- package/modules/dumbbell.d.ts +4 -0
- package/modules/dumbbell.js +17 -17
- package/modules/dumbbell.js.map +1 -1
- package/modules/dumbbell.src.d.ts +4 -0
- package/modules/dumbbell.src.js +24 -12
- package/modules/export-data.js +24 -22
- package/modules/export-data.js.map +1 -1
- package/modules/export-data.src.js +76 -11
- package/modules/exporting.d.ts +8 -8
- package/modules/exporting.js +36 -36
- package/modules/exporting.js.map +1 -1
- package/modules/exporting.src.d.ts +8 -8
- package/modules/exporting.src.js +50 -50
- package/modules/full-screen.js +1 -1
- package/modules/full-screen.src.js +1 -1
- package/modules/funnel.js +1 -1
- package/modules/funnel.src.js +3 -3
- package/modules/funnel3d.js +1 -1
- package/modules/funnel3d.src.js +1 -1
- package/modules/gantt.js +218 -218
- package/modules/gantt.js.map +1 -1
- package/modules/gantt.src.js +935 -927
- package/modules/grid-axis.js +23 -23
- package/modules/grid-axis.js.map +1 -1
- package/modules/grid-axis.src.js +886 -890
- package/modules/heatmap.js +40 -40
- package/modules/heatmap.js.map +1 -1
- package/modules/heatmap.src.js +115 -87
- package/modules/heikinashi.js +1 -1
- package/modules/heikinashi.src.js +1 -1
- package/modules/histogram-bellcurve.js +1 -1
- package/modules/histogram-bellcurve.src.js +1 -1
- package/modules/hollowcandlestick.js +1 -1
- package/modules/hollowcandlestick.src.js +9 -9
- package/modules/item-series.js +1 -1
- package/modules/item-series.src.js +1 -1
- package/modules/lollipop.js +1 -1
- package/modules/lollipop.src.js +1 -1
- package/modules/map.js +171 -169
- package/modules/map.js.map +1 -1
- package/modules/map.src.js +306 -164
- package/modules/marker-clusters.js +1 -1
- package/modules/marker-clusters.js.map +1 -1
- package/modules/marker-clusters.src.js +2 -6
- package/modules/networkgraph.d.ts +1 -17
- package/modules/networkgraph.js +49 -49
- package/modules/networkgraph.js.map +1 -1
- package/modules/networkgraph.src.d.ts +1 -17
- package/modules/networkgraph.src.js +55 -45
- package/modules/no-data-to-display.js +1 -1
- package/modules/no-data-to-display.src.js +2 -2
- package/modules/offline-exporting.js +3 -3
- package/modules/offline-exporting.js.map +1 -1
- package/modules/offline-exporting.src.js +5 -5
- package/modules/oldie-polyfills.js +1 -1
- package/modules/oldie-polyfills.src.js +1 -1
- package/modules/oldie.js +2 -2
- package/modules/oldie.src.js +3 -3
- package/modules/organization.js +1 -1
- package/modules/organization.src.js +3 -3
- package/modules/overlapping-datalabels.js +1 -1
- package/modules/overlapping-datalabels.src.js +1 -1
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.js.map +1 -1
- package/modules/parallel-coordinates.src.js +2 -2
- package/modules/pareto.js +1 -1
- package/modules/pareto.src.js +1 -1
- package/modules/pathfinder.js +1 -1
- package/modules/pathfinder.src.js +1 -1
- package/modules/pattern-fill.js +15 -14
- package/modules/pattern-fill.js.map +1 -1
- package/modules/pattern-fill.src.js +15 -2
- package/modules/price-indicator.js +1 -1
- package/modules/price-indicator.src.js +1 -1
- package/modules/pyramid3d.js +1 -1
- package/modules/pyramid3d.src.js +1 -1
- package/modules/sankey.d.ts +1 -17
- package/modules/sankey.js +32 -32
- package/modules/sankey.js.map +1 -1
- package/modules/sankey.src.d.ts +1 -17
- package/modules/sankey.src.js +86 -55
- package/modules/series-label.js +18 -18
- package/modules/series-label.js.map +1 -1
- package/modules/series-label.src.js +472 -385
- package/modules/series-on-point.js +18 -0
- package/modules/series-on-point.js.map +1 -0
- package/modules/series-on-point.src.js +464 -0
- package/modules/solid-gauge.js +4 -4
- package/modules/solid-gauge.js.map +1 -1
- package/modules/solid-gauge.src.js +5 -5
- package/modules/sonification.js +1 -1
- package/modules/sonification.js.map +1 -1
- package/modules/sonification.src.js +3 -7
- package/modules/static-scale.js +1 -1
- package/modules/static-scale.src.js +1 -1
- package/modules/stock-tools.js +142 -142
- package/modules/stock-tools.js.map +1 -1
- package/modules/stock-tools.src.js +57 -38
- package/modules/stock.js +205 -204
- package/modules/stock.js.map +1 -1
- package/modules/stock.src.js +80 -43
- package/modules/streamgraph.js +1 -1
- package/modules/streamgraph.src.js +1 -1
- package/modules/sunburst.js +73 -73
- package/modules/sunburst.js.map +1 -1
- package/modules/sunburst.src.js +211 -177
- package/modules/tilemap.js +1 -1
- package/modules/tilemap.src.js +1 -1
- package/modules/timeline.js +1 -1
- package/modules/timeline.src.js +4 -4
- package/modules/treegrid.js +56 -56
- package/modules/treegrid.js.map +1 -1
- package/modules/treegrid.src.js +888 -892
- package/modules/treemap.js +54 -53
- package/modules/treemap.js.map +1 -1
- package/modules/treemap.src.js +208 -176
- package/modules/variable-pie.js +1 -1
- package/modules/variable-pie.src.js +1 -1
- package/modules/variwide.js +1 -1
- package/modules/variwide.src.js +1 -1
- package/modules/vector.js +1 -1
- package/modules/vector.src.js +1 -1
- package/modules/venn.js +31 -31
- package/modules/venn.js.map +1 -1
- package/modules/venn.src.js +78 -107
- package/modules/windbarb.js +1 -1
- package/modules/windbarb.src.js +1 -1
- package/modules/wordcloud.js +23 -24
- package/modules/wordcloud.js.map +1 -1
- package/modules/wordcloud.src.js +78 -107
- package/modules/xrange.js +1 -1
- package/modules/xrange.src.js +1 -1
- package/package.json +1 -1
- package/themes/avocado.js +1 -1
- package/themes/avocado.src.js +1 -1
- package/themes/brand-dark.js +1 -1
- package/themes/brand-dark.src.js +1 -1
- package/themes/brand-light.js +1 -1
- package/themes/brand-light.src.js +1 -1
- package/themes/dark-blue.js +1 -1
- package/themes/dark-blue.src.js +1 -1
- package/themes/dark-green.js +1 -1
- package/themes/dark-green.src.js +1 -1
- package/themes/dark-unica.js +1 -1
- package/themes/dark-unica.src.js +1 -1
- package/themes/gray.js +1 -1
- package/themes/gray.src.js +1 -1
- package/themes/grid-light.js +1 -1
- package/themes/grid-light.src.js +1 -1
- package/themes/grid.js +1 -1
- package/themes/grid.src.js +1 -1
- package/themes/high-contrast-dark.js +1 -1
- package/themes/high-contrast-dark.src.js +1 -1
- package/themes/high-contrast-light.js +1 -1
- package/themes/high-contrast-light.src.js +1 -1
- package/themes/sand-signika.js +1 -1
- package/themes/sand-signika.src.js +1 -1
- package/themes/skies.js +1 -1
- package/themes/skies.src.js +1 -1
- package/themes/sunset.js +1 -1
- package/themes/sunset.src.js +1 -1
- package/es-modules/Extensions/Polar.js +0 -743
- package/es-modules/Series/ColorMapMixin.js +0 -84
- package/es-modules/Series/DrawPointComposition.js +0 -114
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/* *
|
|
2
|
+
*
|
|
3
|
+
* (c) 2009-2021 Torstein Honsi
|
|
4
|
+
*
|
|
5
|
+
* License: www.highcharts.com/license
|
|
6
|
+
*
|
|
7
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
+
*
|
|
9
|
+
* */
|
|
10
|
+
'use strict';
|
|
11
|
+
/* *
|
|
12
|
+
*
|
|
13
|
+
* Constants
|
|
14
|
+
*
|
|
15
|
+
* */
|
|
16
|
+
/**
|
|
17
|
+
* Series labels are placed as close to the series as possible in a
|
|
18
|
+
* natural way, seeking to avoid other series. The goal of this
|
|
19
|
+
* feature is to make the chart more easily readable, like if a
|
|
20
|
+
* human designer placed the labels in the optimal position.
|
|
21
|
+
*
|
|
22
|
+
* The series labels currently work with series types having a
|
|
23
|
+
* `graph` or an `area`.
|
|
24
|
+
*
|
|
25
|
+
* @sample highcharts/series-label/line-chart
|
|
26
|
+
* Line chart
|
|
27
|
+
* @sample highcharts/demo/streamgraph
|
|
28
|
+
* Stream graph
|
|
29
|
+
* @sample highcharts/series-label/stock-chart
|
|
30
|
+
* Stock chart
|
|
31
|
+
*
|
|
32
|
+
* @declare Highcharts.SeriesLabelOptionsObject
|
|
33
|
+
* @since 6.0.0
|
|
34
|
+
* @product highcharts highstock gantt
|
|
35
|
+
* @requires modules/series-label
|
|
36
|
+
* @optionparent plotOptions.series.label
|
|
37
|
+
*/
|
|
38
|
+
var SeriesLabelDefaults = {
|
|
39
|
+
/**
|
|
40
|
+
* Enable the series label per series.
|
|
41
|
+
*/
|
|
42
|
+
enabled: true,
|
|
43
|
+
/**
|
|
44
|
+
* Allow labels to be placed distant to the graph if necessary,
|
|
45
|
+
* and draw a connector line to the graph. Setting this option
|
|
46
|
+
* to true may decrease the performance significantly, since the
|
|
47
|
+
* algorithm with systematically search for open spaces in the
|
|
48
|
+
* whole plot area. Visually, it may also result in a more
|
|
49
|
+
* cluttered chart, though more of the series will be labeled.
|
|
50
|
+
*/
|
|
51
|
+
connectorAllowed: false,
|
|
52
|
+
/**
|
|
53
|
+
* If the label is closer than this to a neighbour graph, draw a
|
|
54
|
+
* connector.
|
|
55
|
+
*/
|
|
56
|
+
connectorNeighbourDistance: 24,
|
|
57
|
+
/**
|
|
58
|
+
* A format string for the label, with support for a subset of
|
|
59
|
+
* HTML. Variables are enclosed by curly brackets. Available
|
|
60
|
+
* variables are `name`, `options.xxx`, `color` and other
|
|
61
|
+
* members from the `series` object. Use this option also to set
|
|
62
|
+
* a static text for the label.
|
|
63
|
+
*
|
|
64
|
+
* @type string
|
|
65
|
+
* @since 8.1.0
|
|
66
|
+
*/
|
|
67
|
+
format: void 0,
|
|
68
|
+
/**
|
|
69
|
+
* Callback function to format each of the series' labels. The
|
|
70
|
+
* `this` keyword refers to the series object. By default the
|
|
71
|
+
* `formatter` is undefined and the `series.name` is rendered.
|
|
72
|
+
*
|
|
73
|
+
* @type {Highcharts.FormatterCallbackFunction<Series>}
|
|
74
|
+
* @since 8.1.0
|
|
75
|
+
*/
|
|
76
|
+
formatter: void 0,
|
|
77
|
+
/**
|
|
78
|
+
* For area-like series, allow the font size to vary so that
|
|
79
|
+
* small areas get a smaller font size. The default applies this
|
|
80
|
+
* effect to area-like series but not line-like series.
|
|
81
|
+
*
|
|
82
|
+
* @type {number|null}
|
|
83
|
+
*/
|
|
84
|
+
minFontSize: null,
|
|
85
|
+
/**
|
|
86
|
+
* For area-like series, allow the font size to vary so that
|
|
87
|
+
* small areas get a smaller font size. The default applies this
|
|
88
|
+
* effect to area-like series but not line-like series.
|
|
89
|
+
*
|
|
90
|
+
* @type {number|null}
|
|
91
|
+
*/
|
|
92
|
+
maxFontSize: null,
|
|
93
|
+
/**
|
|
94
|
+
* Draw the label on the area of an area series. By default it
|
|
95
|
+
* is drawn on the area. Set it to `false` to draw it next to
|
|
96
|
+
* the graph instead.
|
|
97
|
+
*
|
|
98
|
+
* @type {boolean|null}
|
|
99
|
+
*/
|
|
100
|
+
onArea: null,
|
|
101
|
+
/**
|
|
102
|
+
* Styles for the series label. The color defaults to the series
|
|
103
|
+
* color, or a contrast color if `onArea`.
|
|
104
|
+
*
|
|
105
|
+
* @type {Highcharts.CSSObject}
|
|
106
|
+
*/
|
|
107
|
+
style: {
|
|
108
|
+
/** @internal */
|
|
109
|
+
fontWeight: 'bold'
|
|
110
|
+
},
|
|
111
|
+
/**
|
|
112
|
+
* An array of boxes to avoid when laying out the labels. Each
|
|
113
|
+
* item has a `left`, `right`, `top` and `bottom` property.
|
|
114
|
+
*
|
|
115
|
+
* @type {Array<Highcharts.LabelIntersectBoxObject>}
|
|
116
|
+
*/
|
|
117
|
+
boxesToAvoid: []
|
|
118
|
+
};
|
|
119
|
+
/* *
|
|
120
|
+
*
|
|
121
|
+
* Default Export
|
|
122
|
+
*
|
|
123
|
+
* */
|
|
124
|
+
export default SeriesLabelDefaults;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* *
|
|
2
|
+
*
|
|
3
|
+
* (c) 2009-2021 Torstein Honsi
|
|
4
|
+
*
|
|
5
|
+
* License: www.highcharts.com/license
|
|
6
|
+
*
|
|
7
|
+
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
|
+
*
|
|
9
|
+
* */
|
|
10
|
+
'use strict';
|
|
11
|
+
/* *
|
|
12
|
+
*
|
|
13
|
+
* Functions
|
|
14
|
+
*
|
|
15
|
+
* */
|
|
16
|
+
/**
|
|
17
|
+
* Counter-clockwise, part of the fast line intersection logic.
|
|
18
|
+
*
|
|
19
|
+
* @private
|
|
20
|
+
* @function ccw
|
|
21
|
+
*/
|
|
22
|
+
function ccw(x1, y1, x2, y2, x3, y3) {
|
|
23
|
+
var cw = ((y3 - y1) * (x2 - x1)) - ((y2 - y1) * (x3 - x1));
|
|
24
|
+
return cw > 0 ? true : !(cw < 0);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Detect if two lines intersect.
|
|
28
|
+
*
|
|
29
|
+
* @private
|
|
30
|
+
* @function intersectLine
|
|
31
|
+
*/
|
|
32
|
+
function intersectLine(x1, y1, x2, y2, x3, y3, x4, y4) {
|
|
33
|
+
return ccw(x1, y1, x3, y3, x4, y4) !== ccw(x2, y2, x3, y3, x4, y4) &&
|
|
34
|
+
ccw(x1, y1, x2, y2, x3, y3) !== ccw(x1, y1, x2, y2, x4, y4);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Detect if a box intersects with a line.
|
|
38
|
+
*
|
|
39
|
+
* @private
|
|
40
|
+
* @function boxIntersectLine
|
|
41
|
+
*/
|
|
42
|
+
function boxIntersectLine(x, y, w, h, x1, y1, x2, y2) {
|
|
43
|
+
return (intersectLine(x, y, x + w, y, x1, y1, x2, y2) || // top of label
|
|
44
|
+
intersectLine(x + w, y, x + w, y + h, x1, y1, x2, y2) || // right
|
|
45
|
+
intersectLine(x, y + h, x + w, y + h, x1, y1, x2, y2) || // bottom
|
|
46
|
+
intersectLine(x, y, x, y + h, x1, y1, x2, y2) // left of label
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @private
|
|
51
|
+
*/
|
|
52
|
+
function intersectRect(r1, r2) {
|
|
53
|
+
return !(r2.left > r1.right ||
|
|
54
|
+
r2.right < r1.left ||
|
|
55
|
+
r2.top > r1.bottom ||
|
|
56
|
+
r2.bottom < r1.top);
|
|
57
|
+
}
|
|
58
|
+
/* *
|
|
59
|
+
*
|
|
60
|
+
* Default Export
|
|
61
|
+
*
|
|
62
|
+
* */
|
|
63
|
+
var SeriesLabelUtilities = {
|
|
64
|
+
boxIntersectLine: boxIntersectLine,
|
|
65
|
+
intersectRect: intersectRect
|
|
66
|
+
};
|
|
67
|
+
export default SeriesLabelUtilities;
|
|
@@ -83,7 +83,7 @@ var Earcon = /** @class */ (function () {
|
|
|
83
83
|
var instrument = typeof opts.instrument === 'string' ?
|
|
84
84
|
Instrument.definitions[opts.instrument] : opts.instrument, instrumentOpts = merge(opts.playOptions);
|
|
85
85
|
var instrOnEnd, instrumentCopy, copyId = '';
|
|
86
|
-
if (instrument && instrument.play) {
|
|
86
|
+
if (instrument && (instrument.play)) {
|
|
87
87
|
if (opts.playOptions) {
|
|
88
88
|
instrumentOpts.pan = pick(masterPan, instrumentOpts.pan);
|
|
89
89
|
// Handle onEnd
|
|
@@ -299,7 +299,7 @@ Series.prototype.setStackedPoints = function (stackingParam) {
|
|
|
299
299
|
this.chart.options.chart.ignoreHiddenSeries !== false)) {
|
|
300
300
|
return;
|
|
301
301
|
}
|
|
302
|
-
var series = this, xData = series.processedXData, yData = series.processedYData, stackedYData = [], yDataLength = yData.length, seriesOptions = series.options, threshold = seriesOptions.threshold, stackThreshold = pick(seriesOptions.startFromThreshold && threshold, 0), stackOption = seriesOptions.stack, stackKey = stackingParam ? series.type
|
|
302
|
+
var series = this, xData = series.processedXData, yData = series.processedYData, stackedYData = [], yDataLength = yData.length, seriesOptions = series.options, threshold = seriesOptions.threshold, stackThreshold = pick(seriesOptions.startFromThreshold && threshold, 0), stackOption = seriesOptions.stack, stackKey = stackingParam ? "".concat(series.type, ",").concat(stacking) : series.stackKey, negKey = '-' + stackKey, negStacks = series.negStacks, yAxis = series.yAxis, stacks = yAxis.stacking.stacks, oldStacks = yAxis.stacking.oldStacks, stackIndicator, isNegative, stack, other, key, pointKey, i, x, y;
|
|
303
303
|
yAxis.stacking.stacksTouched += 1;
|
|
304
304
|
// loop over the non-null y values and read them into a local array
|
|
305
305
|
for (i = 0; i < yDataLength; i++) {
|
|
@@ -12,7 +12,7 @@ import Chart from '../Core/Chart/Chart.js';
|
|
|
12
12
|
import H from '../Core/Globals.js';
|
|
13
13
|
var doc = H.doc;
|
|
14
14
|
import U from '../Core/Utilities.js';
|
|
15
|
-
var addEvent = U.addEvent,
|
|
15
|
+
var addEvent = U.addEvent, extend = U.extend, isNumber = U.isNumber, merge = U.merge, objectEach = U.objectEach, pick = U.pick;
|
|
16
16
|
import './MapNavigationOptionsDefault.js';
|
|
17
17
|
/* eslint-disable no-invalid-this, valid-jsdoc */
|
|
18
18
|
/**
|
|
@@ -69,7 +69,7 @@ MapNavigation.prototype.init = function (chart) {
|
|
|
69
69
|
* @return {void}
|
|
70
70
|
*/
|
|
71
71
|
MapNavigation.prototype.update = function (options) {
|
|
72
|
-
var mapNav = this, chart = this.chart, o = chart.options.mapNavigation, attr,
|
|
72
|
+
var mapNav = this, chart = this.chart, o = chart.options.mapNavigation, attr, outerHandler = function (e) {
|
|
73
73
|
this.handler.call(chart, e);
|
|
74
74
|
stopEvent(e); // Stop default click event (#4444)
|
|
75
75
|
}, navButtons = mapNav.navButtons;
|
|
@@ -12,21 +12,25 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
12
12
|
var extendStatics = function (d, b) {
|
|
13
13
|
extendStatics = Object.setPrototypeOf ||
|
|
14
14
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15
|
-
function (d, b) { for (var p in b) if (
|
|
15
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
16
16
|
return extendStatics(d, b);
|
|
17
17
|
};
|
|
18
18
|
return function (d, b) {
|
|
19
|
+
if (typeof b !== "function" && b !== null)
|
|
20
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
19
21
|
extendStatics(d, b);
|
|
20
22
|
function __() { this.constructor = d; }
|
|
21
23
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22
24
|
};
|
|
23
25
|
})();
|
|
24
|
-
var
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
27
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
28
|
+
if (ar || !(i in from)) {
|
|
29
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
30
|
+
ar[i] = from[i];
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
30
34
|
};
|
|
31
35
|
import defaultOptions from './MapViewOptionsDefault.js';
|
|
32
36
|
import defaultInsetsOptions from './MapViewInsetsOptionsDefault.js';
|
|
@@ -98,9 +102,9 @@ var MapView = /** @class */ (function () {
|
|
|
98
102
|
var recommendedProjection;
|
|
99
103
|
if (!(this instanceof MapViewInset)) {
|
|
100
104
|
// Handle the global map and series-level mapData
|
|
101
|
-
var geoMaps =
|
|
105
|
+
var geoMaps = __spreadArray([
|
|
102
106
|
chart.options.chart.map
|
|
103
|
-
], (chart.options.series || []).map(function (s) { return s.mapData; })).map(function (mapData) { return _this.getGeoMap(mapData); });
|
|
107
|
+
], (chart.options.series || []).map(function (s) { return s.mapData; }), true).map(function (mapData) { return _this.getGeoMap(mapData); });
|
|
104
108
|
var allGeoBounds_1 = [];
|
|
105
109
|
geoMaps.forEach(function (geoMap) {
|
|
106
110
|
if (geoMap) {
|
|
@@ -193,7 +197,7 @@ var MapView = /** @class */ (function () {
|
|
|
193
197
|
var toObject = function (insets) {
|
|
194
198
|
var ob = {};
|
|
195
199
|
insets.forEach(function (inset, i) {
|
|
196
|
-
ob[inset && inset.id || "i"
|
|
200
|
+
ob[inset && inset.id || "i".concat(i)] = inset;
|
|
197
201
|
});
|
|
198
202
|
return ob;
|
|
199
203
|
};
|
|
@@ -459,7 +463,10 @@ var MapView = /** @class */ (function () {
|
|
|
459
463
|
if (typeof this.options.maxZoom === 'number') {
|
|
460
464
|
zoom = Math.min(zoom, this.options.maxZoom);
|
|
461
465
|
}
|
|
462
|
-
|
|
466
|
+
// Use isNumber to prevent Infinity (#17205)
|
|
467
|
+
if (isNumber(zoom)) {
|
|
468
|
+
this.zoom = zoom;
|
|
469
|
+
}
|
|
463
470
|
}
|
|
464
471
|
var bounds = this.getProjectedBounds();
|
|
465
472
|
if (bounds) {
|
|
@@ -576,7 +583,7 @@ var MapView = /** @class */ (function () {
|
|
|
576
583
|
}
|
|
577
584
|
if (typeof mouseDownX === 'number' &&
|
|
578
585
|
typeof mouseDownY === 'number') {
|
|
579
|
-
var key = mouseDownX
|
|
586
|
+
var key = "".concat(mouseDownX, ",").concat(mouseDownY), _a = e.originalEvent, chartX = _a.chartX, chartY = _a.chartY;
|
|
580
587
|
// Reset starting position
|
|
581
588
|
if (key !== mouseDownKey) {
|
|
582
589
|
mouseDownKey = key;
|
|
@@ -840,8 +847,8 @@ var MapViewInset = /** @class */ (function (_super) {
|
|
|
840
847
|
mapView.getMapBBox() ||
|
|
841
848
|
merge(chart.plotBox, { x: 0, y: 0 });
|
|
842
849
|
polygon = polygon.map(function (xy) { return [
|
|
843
|
-
relativeLength(xy[0]
|
|
844
|
-
relativeLength(xy[1]
|
|
850
|
+
relativeLength("".concat(xy[0], "%"), relativeTo_1.width, relativeTo_1.x),
|
|
851
|
+
relativeLength("".concat(xy[1], "%"), relativeTo_1.height, relativeTo_1.y)
|
|
845
852
|
]; });
|
|
846
853
|
}
|
|
847
854
|
return {
|
|
@@ -895,8 +902,8 @@ var MapViewInset = /** @class */ (function (_super) {
|
|
|
895
902
|
return lineString.reduce(function (d, point, i) {
|
|
896
903
|
var x = point[0], y = point[1];
|
|
897
904
|
if (options.units === 'percent') {
|
|
898
|
-
x = chart.plotLeft + relativeLength(x
|
|
899
|
-
y = chart.plotTop + relativeLength(y
|
|
905
|
+
x = chart.plotLeft + relativeLength("".concat(x, "%"), field_1.width, field_1.x);
|
|
906
|
+
y = chart.plotTop + relativeLength("".concat(y, "%"), field_1.height, field_1.y);
|
|
900
907
|
}
|
|
901
908
|
x = Math.floor(x) + crisp_1;
|
|
902
909
|
y = Math.floor(y) + crisp_1;
|
|
@@ -8,12 +8,14 @@
|
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
10
|
'use strict';
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
12
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
13
|
+
if (ar || !(i in from)) {
|
|
14
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
15
|
+
ar[i] = from[i];
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
17
19
|
};
|
|
18
20
|
import PC from '../Core/Geometry/PolygonClip.js';
|
|
19
21
|
var clipLineString = PC.clipLineString, clipPolygon = PC.clipPolygon;
|
|
@@ -131,7 +133,7 @@ var Projection = /** @class */ (function () {
|
|
|
131
133
|
if (roughDistance > 10) {
|
|
132
134
|
var greatCircle = Projection.greatCircle(poly[i], poly[i + 1]);
|
|
133
135
|
if (greatCircle.length) {
|
|
134
|
-
poly.splice.apply(poly,
|
|
136
|
+
poly.splice.apply(poly, __spreadArray([i + 1, 0], greatCircle, false));
|
|
135
137
|
}
|
|
136
138
|
}
|
|
137
139
|
}
|
|
@@ -268,8 +270,8 @@ var Projection = /** @class */ (function () {
|
|
|
268
270
|
intersections[i].direction * floatCorrection);
|
|
269
271
|
var lonMinus = wrapLon(antimeridian -
|
|
270
272
|
intersections[i].direction * floatCorrection);
|
|
271
|
-
var slice = poly.splice.apply(poly,
|
|
272
|
-
intersections[i + 1].i - index], Projection.greatCircle([lonPlus, intersections[i].lat], [lonPlus, intersections[i + 1].lat], true)));
|
|
273
|
+
var slice = poly.splice.apply(poly, __spreadArray([index,
|
|
274
|
+
intersections[i + 1].i - index], Projection.greatCircle([lonPlus, intersections[i].lat], [lonPlus, intersections[i + 1].lat], true), false));
|
|
273
275
|
// Add interpolated points close to the cut
|
|
274
276
|
slice.push.apply(slice, Projection.greatCircle([lonMinus, intersections[i + 1].lat], [lonMinus, intersections[i].lat], true));
|
|
275
277
|
polygons.push(slice);
|
|
@@ -295,8 +297,8 @@ var Projection = /** @class */ (function () {
|
|
|
295
297
|
polarSegment.push([lon, polarLatitude]);
|
|
296
298
|
}
|
|
297
299
|
polarSegment.push.apply(polarSegment, Projection.greatCircle([lon2, polarLatitude], [lon2, polarIntersection.lat], true));
|
|
298
|
-
poly_1.splice.apply(poly_1,
|
|
299
|
-
0], polarSegment));
|
|
300
|
+
poly_1.splice.apply(poly_1, __spreadArray([indexOf,
|
|
301
|
+
0], polarSegment, false));
|
|
300
302
|
break;
|
|
301
303
|
}
|
|
302
304
|
}
|
|
@@ -14,10 +14,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
14
14
|
var extendStatics = function (d, b) {
|
|
15
15
|
extendStatics = Object.setPrototypeOf ||
|
|
16
16
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17
|
-
function (d, b) { for (var p in b) if (
|
|
17
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
18
18
|
return extendStatics(d, b);
|
|
19
19
|
};
|
|
20
20
|
return function (d, b) {
|
|
21
|
+
if (typeof b !== "function" && b !== null)
|
|
22
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
21
23
|
extendStatics(d, b);
|
|
22
24
|
function __() { this.constructor = d; }
|
|
23
25
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -14,10 +14,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
14
14
|
var extendStatics = function (d, b) {
|
|
15
15
|
extendStatics = Object.setPrototypeOf ||
|
|
16
16
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17
|
-
function (d, b) { for (var p in b) if (
|
|
17
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
18
18
|
return extendStatics(d, b);
|
|
19
19
|
};
|
|
20
20
|
return function (d, b) {
|
|
21
|
+
if (typeof b !== "function" && b !== null)
|
|
22
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
21
23
|
extendStatics(d, b);
|
|
22
24
|
function __() { this.constructor = d; }
|
|
23
25
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -12,10 +12,12 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
12
12
|
var extendStatics = function (d, b) {
|
|
13
13
|
extendStatics = Object.setPrototypeOf ||
|
|
14
14
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15
|
-
function (d, b) { for (var p in b) if (
|
|
15
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
16
16
|
return extendStatics(d, b);
|
|
17
17
|
};
|
|
18
18
|
return function (d, b) {
|
|
19
|
+
if (typeof b !== "function" && b !== null)
|
|
20
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
19
21
|
extendStatics(d, b);
|
|
20
22
|
function __() { this.constructor = d; }
|
|
21
23
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
@@ -91,7 +93,9 @@ var AreaSeries = /** @class */ (function (_super) {
|
|
|
91
93
|
]);
|
|
92
94
|
});
|
|
93
95
|
props.forEach(function (prop) {
|
|
94
|
-
var areaKey = prop[0],
|
|
96
|
+
var areaKey = prop[0], attribs = {};
|
|
97
|
+
var area = series[areaKey];
|
|
98
|
+
var verb = area ? 'animate' : 'attr';
|
|
95
99
|
// Create or update the area
|
|
96
100
|
if (area) { // update
|
|
97
101
|
area.endX = series.preventGraphAnimation ?
|
|
@@ -121,15 +125,16 @@ var AreaSeries = /** @class */ (function (_super) {
|
|
|
121
125
|
* @private
|
|
122
126
|
*/
|
|
123
127
|
AreaSeries.prototype.getGraphPath = function (points) {
|
|
124
|
-
var getGraphPath = LineSeries.prototype.getGraphPath,
|
|
125
|
-
yAxis.getThreshold(options.threshold)),
|
|
128
|
+
var getGraphPath = LineSeries.prototype.getGraphPath, options = this.options, stacking = options.stacking, yAxis = this.yAxis, bottomPoints = [], graphPoints = [], seriesIndex = this.index, stacks = yAxis.stacking.stacks[this.stackKey], threshold = options.threshold, translatedThreshold = Math.round(// #10909
|
|
129
|
+
yAxis.getThreshold(options.threshold)), connectNulls = pick(// #10574
|
|
126
130
|
options.connectNulls, stacking === 'percent'),
|
|
127
131
|
// To display null points in underlying stacked series, this
|
|
128
132
|
// series graph must be broken, and the area also fall down to
|
|
129
133
|
// fill the gap left by the null point. #2069
|
|
130
134
|
addDummyPoints = function (i, otherI, side) {
|
|
131
135
|
var point = points[i], stackedValues = stacking &&
|
|
132
|
-
stacks[point.x].points[seriesIndex], nullVal = point[side + 'Null'] || 0, cliffVal = point[side + 'Cliff'] || 0
|
|
136
|
+
stacks[point.x].points[seriesIndex], nullVal = point[side + 'Null'] || 0, cliffVal = point[side + 'Cliff'] || 0;
|
|
137
|
+
var top, bottom, isNull = true;
|
|
133
138
|
if (cliffVal || nullVal) {
|
|
134
139
|
top = (nullVal ?
|
|
135
140
|
stackedValues[0] :
|
|
@@ -161,13 +166,14 @@ var AreaSeries = /** @class */ (function (_super) {
|
|
|
161
166
|
});
|
|
162
167
|
}
|
|
163
168
|
};
|
|
169
|
+
var plotX, isNull, yBottom;
|
|
164
170
|
// Find what points to use
|
|
165
171
|
points = points || this.points;
|
|
166
172
|
// Fill in missing points
|
|
167
173
|
if (stacking) {
|
|
168
174
|
points = this.getStackPoints(points);
|
|
169
175
|
}
|
|
170
|
-
for (i = 0
|
|
176
|
+
for (var i = 0, iEnd = points.length; i < iEnd; ++i) {
|
|
171
177
|
// Reset after series.update of stacking property (#12033)
|
|
172
178
|
if (!stacking) {
|
|
173
179
|
points[i].leftCliff = points[i].rightCliff =
|
|
@@ -197,19 +203,19 @@ var AreaSeries = /** @class */ (function (_super) {
|
|
|
197
203
|
}
|
|
198
204
|
}
|
|
199
205
|
}
|
|
200
|
-
topPath = getGraphPath.call(this, graphPoints, true, true);
|
|
206
|
+
var topPath = getGraphPath.call(this, graphPoints, true, true);
|
|
201
207
|
bottomPoints.reversed = true;
|
|
202
|
-
bottomPath = getGraphPath.call(this, bottomPoints, true, true);
|
|
208
|
+
var bottomPath = getGraphPath.call(this, bottomPoints, true, true);
|
|
203
209
|
var firstBottomPoint = bottomPath[0];
|
|
204
210
|
if (firstBottomPoint && firstBottomPoint[0] === 'M') {
|
|
205
211
|
bottomPath[0] = ['L', firstBottomPoint[1], firstBottomPoint[2]];
|
|
206
212
|
}
|
|
207
|
-
areaPath = topPath.concat(bottomPath);
|
|
213
|
+
var areaPath = topPath.concat(bottomPath);
|
|
208
214
|
if (areaPath.length) {
|
|
209
215
|
areaPath.push(['Z']);
|
|
210
216
|
}
|
|
211
217
|
// TODO: don't set leftCliff and rightCliff when connectNulls?
|
|
212
|
-
graphPath = getGraphPath
|
|
218
|
+
var graphPath = getGraphPath
|
|
213
219
|
.call(this, graphPoints, false, connectNulls);
|
|
214
220
|
areaPath.xMap = topPath.xMap;
|
|
215
221
|
this.areaPath = areaPath;
|
|
@@ -255,7 +261,8 @@ var AreaSeries = /** @class */ (function (_super) {
|
|
|
255
261
|
'rightNull' :
|
|
256
262
|
'leftNull', cliffName = direction === 1 ?
|
|
257
263
|
'rightCliff' :
|
|
258
|
-
'leftCliff',
|
|
264
|
+
'leftCliff', otherStack = stack[keys[idx + direction]];
|
|
265
|
+
var cliff = 0;
|
|
259
266
|
// If there is a stack next to this one,
|
|
260
267
|
// to the left or to the right...
|
|
261
268
|
if (otherStack) {
|
|
@@ -362,7 +369,7 @@ var AreaSeries = /** @class */ (function (_super) {
|
|
|
362
369
|
* @sample {highcharts} highcharts/plotoptions/area-fillcolor-gradient/
|
|
363
370
|
* Gradient
|
|
364
371
|
*
|
|
365
|
-
* @type
|
|
372
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
366
373
|
* @product highcharts highstock
|
|
367
374
|
* @apioption plotOptions.area.fillColor
|
|
368
375
|
*/
|
|
@@ -399,7 +406,7 @@ var AreaSeries = /** @class */ (function (_super) {
|
|
|
399
406
|
* @sample {highcharts} highcharts/plotoptions/area-linecolor/
|
|
400
407
|
* Dark gray line
|
|
401
408
|
*
|
|
402
|
-
* @type
|
|
409
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
403
410
|
* @product highcharts highstock
|
|
404
411
|
* @apioption plotOptions.area.lineColor
|
|
405
412
|
*/
|
|
@@ -414,7 +421,7 @@ var AreaSeries = /** @class */ (function (_super) {
|
|
|
414
421
|
* @sample {highcharts} highcharts/css/series-negative-color/
|
|
415
422
|
* Negative color in styled mode
|
|
416
423
|
*
|
|
417
|
-
* @type
|
|
424
|
+
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
418
425
|
* @since 3.0
|
|
419
426
|
* @product highcharts
|
|
420
427
|
* @apioption plotOptions.area.negativeFillColor
|
|
@@ -7,22 +7,24 @@
|
|
|
7
7
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
8
8
|
*
|
|
9
9
|
* */
|
|
10
|
+
'use strict';
|
|
10
11
|
var __extends = (this && this.__extends) || (function () {
|
|
11
12
|
var extendStatics = function (d, b) {
|
|
12
13
|
extendStatics = Object.setPrototypeOf ||
|
|
13
14
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
14
|
-
function (d, b) { for (var p in b) if (
|
|
15
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
15
16
|
return extendStatics(d, b);
|
|
16
17
|
};
|
|
17
18
|
return function (d, b) {
|
|
19
|
+
if (typeof b !== "function" && b !== null)
|
|
20
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
18
21
|
extendStatics(d, b);
|
|
19
22
|
function __() { this.constructor = d; }
|
|
20
23
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
21
24
|
};
|
|
22
25
|
})();
|
|
23
|
-
import
|
|
24
|
-
|
|
25
|
-
var pointProto = Point.prototype;
|
|
26
|
+
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
|
|
27
|
+
var _a = SeriesRegistry.seriesTypes.area.prototype, AreaPoint = _a.pointClass, areaProto = _a.pointClass.prototype;
|
|
26
28
|
import U from '../../Core/Utilities.js';
|
|
27
29
|
var defined = U.defined, isNumber = U.isNumber;
|
|
28
30
|
/* *
|
|
@@ -39,7 +41,17 @@ var AreaRangePoint = /** @class */ (function (_super) {
|
|
|
39
41
|
*
|
|
40
42
|
* */
|
|
41
43
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
44
|
+
/**
|
|
45
|
+
* Range series only. The high or maximum value for each data point.
|
|
46
|
+
* @name Highcharts.Point#high
|
|
47
|
+
* @type {number|undefined}
|
|
48
|
+
*/
|
|
42
49
|
_this.high = void 0;
|
|
50
|
+
/**
|
|
51
|
+
* Range series only. The low or minimum value for each data point.
|
|
52
|
+
* @name Highcharts.Point#low
|
|
53
|
+
* @type {number|undefined}
|
|
54
|
+
*/
|
|
43
55
|
_this.low = void 0;
|
|
44
56
|
_this.options = void 0;
|
|
45
57
|
_this.plotHigh = void 0;
|
|
@@ -79,7 +91,7 @@ var AreaRangePoint = /** @class */ (function (_super) {
|
|
|
79
91
|
this.plotX = this.plotHighX;
|
|
80
92
|
}
|
|
81
93
|
// Top state:
|
|
82
|
-
|
|
94
|
+
areaProto.setState.apply(this, arguments);
|
|
83
95
|
this.state = prevState;
|
|
84
96
|
// Now restore defaults
|
|
85
97
|
this.plotY = this.plotLow;
|
|
@@ -94,17 +106,18 @@ var AreaRangePoint = /** @class */ (function (_super) {
|
|
|
94
106
|
// to avoid reference duplication (#7021)
|
|
95
107
|
series.lowerStateMarkerGraphic = void 0;
|
|
96
108
|
}
|
|
97
|
-
|
|
109
|
+
areaProto.setState.apply(this, arguments);
|
|
98
110
|
};
|
|
99
111
|
AreaRangePoint.prototype.haloPath = function () {
|
|
100
|
-
var isPolar = this.series.chart.polar
|
|
112
|
+
var isPolar = this.series.chart.polar;
|
|
113
|
+
var path = [];
|
|
101
114
|
// Bottom halo
|
|
102
115
|
this.plotY = this.plotLow;
|
|
103
116
|
if (isPolar) {
|
|
104
117
|
this.plotX = this.plotLowX;
|
|
105
118
|
}
|
|
106
119
|
if (this.isInside) {
|
|
107
|
-
path =
|
|
120
|
+
path = areaProto.haloPath.apply(this, arguments);
|
|
108
121
|
}
|
|
109
122
|
// Top halo
|
|
110
123
|
this.plotY = this.plotHigh;
|
|
@@ -112,7 +125,7 @@ var AreaRangePoint = /** @class */ (function (_super) {
|
|
|
112
125
|
this.plotX = this.plotHighX;
|
|
113
126
|
}
|
|
114
127
|
if (this.isTopInside) {
|
|
115
|
-
path = path.concat(
|
|
128
|
+
path = path.concat(areaProto.haloPath.apply(this, arguments));
|
|
116
129
|
}
|
|
117
130
|
return path;
|
|
118
131
|
};
|
|
@@ -120,10 +133,10 @@ var AreaRangePoint = /** @class */ (function (_super) {
|
|
|
120
133
|
return isNumber(this.low) && isNumber(this.high);
|
|
121
134
|
};
|
|
122
135
|
return AreaRangePoint;
|
|
123
|
-
}(
|
|
136
|
+
}(AreaPoint));
|
|
124
137
|
/* *
|
|
125
138
|
*
|
|
126
|
-
* Default
|
|
139
|
+
* Default Export
|
|
127
140
|
*
|
|
128
141
|
* */
|
|
129
142
|
export default AreaRangePoint;
|