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
|
@@ -12,22 +12,6 @@ import * as _Highcharts from "../highcharts.src";
|
|
|
12
12
|
* The imported Highcharts namespace to extend.
|
|
13
13
|
*/
|
|
14
14
|
export function factory(highcharts: typeof Highcharts): void;
|
|
15
|
-
declare module "../highcharts.src" {
|
|
16
|
-
/**
|
|
17
|
-
* Create the path based on points provided as argument. If
|
|
18
|
-
* indicator.nextPoints option is defined, create the areaFill.
|
|
19
|
-
*
|
|
20
|
-
* @param points
|
|
21
|
-
* Points on which the path should be created
|
|
22
|
-
*/
|
|
23
|
-
function getGraphPath(points: any): void;
|
|
24
|
-
/**
|
|
25
|
-
* Generate the API name of the line
|
|
26
|
-
*
|
|
27
|
-
* @param propertyName
|
|
28
|
-
* name of the line
|
|
29
|
-
*/
|
|
30
|
-
function getLineName(propertyName: any): void;
|
|
31
|
-
}
|
|
15
|
+
declare module "../highcharts.src" {}
|
|
32
16
|
export default factory;
|
|
33
17
|
export let Highcharts: typeof _Highcharts;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v10.
|
|
2
|
+
* @license Highstock JS v10.2.0 (2022-07-05)
|
|
3
3
|
*
|
|
4
4
|
* All technical indicators for Highcharts Stock
|
|
5
5
|
*
|
|
@@ -1004,7 +1004,7 @@
|
|
|
1004
1004
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
1005
1005
|
* @since 7.0.0
|
|
1006
1006
|
*/
|
|
1007
|
-
greaterBarColor: "#06b535" /* positiveColor */,
|
|
1007
|
+
greaterBarColor: "#06b535" /* Palette.positiveColor */,
|
|
1008
1008
|
/**
|
|
1009
1009
|
* Color of the Awesome oscillator series bar that is lower than the
|
|
1010
1010
|
* previous one. Note that if a `color` is defined, the `color`
|
|
@@ -1016,7 +1016,7 @@
|
|
|
1016
1016
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
1017
1017
|
* @since 7.0.0
|
|
1018
1018
|
*/
|
|
1019
|
-
lowerBarColor: "#f21313" /* negativeColor */,
|
|
1019
|
+
lowerBarColor: "#f21313" /* Palette.negativeColor */,
|
|
1020
1020
|
threshold: 0,
|
|
1021
1021
|
groupPadding: 0.2,
|
|
1022
1022
|
pointPadding: 0.2,
|
|
@@ -1075,7 +1075,7 @@
|
|
|
1075
1075
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
1076
1076
|
*
|
|
1077
1077
|
* */
|
|
1078
|
-
var
|
|
1078
|
+
var smaProto = SeriesRegistry.seriesTypes.sma.prototype;
|
|
1079
1079
|
var defined = U.defined,
|
|
1080
1080
|
error = U.error,
|
|
1081
1081
|
merge = U.merge;
|
|
@@ -1084,16 +1084,6 @@
|
|
|
1084
1084
|
* Composition
|
|
1085
1085
|
*
|
|
1086
1086
|
* */
|
|
1087
|
-
/**
|
|
1088
|
-
* Composition useful for all indicators that have more than one line. Compose
|
|
1089
|
-
* it with your implementation where you will provide the `getValues` method
|
|
1090
|
-
* appropriate to your indicator and `pointArrayMap`, `pointValKey`,
|
|
1091
|
-
* `linesApiNames` properties. Notice that `pointArrayMap` should be consistent
|
|
1092
|
-
* with the amount of lines calculated in the `getValues` method.
|
|
1093
|
-
*
|
|
1094
|
-
* @private
|
|
1095
|
-
* @mixin multipleLinesMixin
|
|
1096
|
-
*/
|
|
1097
1087
|
var MultipleLinesComposition;
|
|
1098
1088
|
(function (MultipleLinesComposition) {
|
|
1099
1089
|
/* *
|
|
@@ -1102,10 +1092,10 @@
|
|
|
1102
1092
|
*
|
|
1103
1093
|
* */
|
|
1104
1094
|
/* *
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1095
|
+
*
|
|
1096
|
+
* Constants
|
|
1097
|
+
*
|
|
1098
|
+
* */
|
|
1109
1099
|
var composedClasses = [];
|
|
1110
1100
|
/**
|
|
1111
1101
|
* Additional lines DOCS names. Elements of linesApiNames array should
|
|
@@ -1114,7 +1104,6 @@
|
|
|
1114
1104
|
* relative to pointArrayMap (without pointValKey).
|
|
1115
1105
|
*
|
|
1116
1106
|
* @private
|
|
1117
|
-
* @name multipleLinesMixin.linesApiNames
|
|
1118
1107
|
* @type {Array<string>}
|
|
1119
1108
|
*/
|
|
1120
1109
|
var linesApiNames = ['bottomLine'];
|
|
@@ -1126,7 +1115,6 @@
|
|
|
1126
1115
|
* getValues method from your implementation.
|
|
1127
1116
|
*
|
|
1128
1117
|
* @private
|
|
1129
|
-
* @name multipleLinesMixin.pointArrayMap
|
|
1130
1118
|
* @type {Array<string>}
|
|
1131
1119
|
*/
|
|
1132
1120
|
var pointArrayMap = ['top', 'bottom'];
|
|
@@ -1135,8 +1123,8 @@
|
|
|
1135
1123
|
* If the drawing of the area should
|
|
1136
1124
|
* be disabled for some indicators, leave this option as an empty array.
|
|
1137
1125
|
* Names should be the same as the names in the pointArrayMap.
|
|
1126
|
+
*
|
|
1138
1127
|
* @private
|
|
1139
|
-
* @name multipleLinesMixin.areaLinesNames
|
|
1140
1128
|
* @type {Array<string>}
|
|
1141
1129
|
*/
|
|
1142
1130
|
var areaLinesNames = ['top'];
|
|
@@ -1144,17 +1132,22 @@
|
|
|
1144
1132
|
* Main line id.
|
|
1145
1133
|
*
|
|
1146
1134
|
* @private
|
|
1147
|
-
* @name multipleLinesMixin.pointValKey
|
|
1148
1135
|
* @type {string}
|
|
1149
1136
|
*/
|
|
1150
1137
|
var pointValKey = 'top';
|
|
1151
1138
|
/* *
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
/* eslint-disable valid-jsdoc */
|
|
1139
|
+
*
|
|
1140
|
+
* Functions
|
|
1141
|
+
*
|
|
1142
|
+
* */
|
|
1157
1143
|
/**
|
|
1144
|
+
* Composition useful for all indicators that have more than one line.
|
|
1145
|
+
* Compose it with your implementation where you will provide the
|
|
1146
|
+
* `getValues` method appropriate to your indicator and `pointArrayMap`,
|
|
1147
|
+
* `pointValKey`, `linesApiNames` properties. Notice that `pointArrayMap`
|
|
1148
|
+
* should be consistent with the amount of lines calculated in the
|
|
1149
|
+
* `getValues` method.
|
|
1150
|
+
*
|
|
1158
1151
|
* @private
|
|
1159
1152
|
*/
|
|
1160
1153
|
function compose(IndicatorClass) {
|
|
@@ -1169,52 +1162,49 @@
|
|
|
1169
1162
|
pointValKey);
|
|
1170
1163
|
proto.areaLinesNames = (proto.areaLinesNames ||
|
|
1171
1164
|
areaLinesNames.slice());
|
|
1172
|
-
proto.drawGraph =
|
|
1173
|
-
proto.getGraphPath =
|
|
1174
|
-
proto.toYData =
|
|
1175
|
-
proto.translate =
|
|
1176
|
-
proto.getTranslatedLinesNames = getTranslatedLinesNames;
|
|
1165
|
+
proto.drawGraph = indicatorDrawGraph;
|
|
1166
|
+
proto.getGraphPath = indicatorGetGraphPath;
|
|
1167
|
+
proto.toYData = indicatorToYData;
|
|
1168
|
+
proto.translate = indicatorTranslate;
|
|
1177
1169
|
}
|
|
1178
1170
|
return IndicatorClass;
|
|
1179
1171
|
}
|
|
1180
1172
|
MultipleLinesComposition.compose = compose;
|
|
1181
1173
|
/**
|
|
1182
|
-
*
|
|
1183
|
-
* If indicator.nextPoints option is defined, create the areaFill.
|
|
1174
|
+
* Generate the API name of the line
|
|
1184
1175
|
*
|
|
1185
|
-
* @
|
|
1176
|
+
* @private
|
|
1177
|
+
* @param propertyName name of the line
|
|
1186
1178
|
*/
|
|
1187
|
-
function
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1179
|
+
function getLineName(propertyName) {
|
|
1180
|
+
return ('plot' +
|
|
1181
|
+
propertyName.charAt(0).toUpperCase() +
|
|
1182
|
+
propertyName.slice(1));
|
|
1183
|
+
}
|
|
1184
|
+
/**
|
|
1185
|
+
* Create translatedLines Collection based on pointArrayMap.
|
|
1186
|
+
*
|
|
1187
|
+
* @private
|
|
1188
|
+
* @param {string} [excludedValue]
|
|
1189
|
+
* Main line id
|
|
1190
|
+
* @return {Array<string>}
|
|
1191
|
+
* Returns translated lines names without excluded value.
|
|
1192
|
+
*/
|
|
1193
|
+
function getTranslatedLinesNames(indicator, excludedValue) {
|
|
1194
|
+
var translatedLines = [];
|
|
1195
|
+
(indicator.pointArrayMap || []).forEach(function (propertyName) {
|
|
1196
|
+
if (propertyName !== excludedValue) {
|
|
1197
|
+
translatedLines.push(getLineName(propertyName));
|
|
1204
1198
|
}
|
|
1205
|
-
}
|
|
1206
|
-
|
|
1207
|
-
path = SMAIndicator.prototype.getGraphPath.apply(indicator, arguments);
|
|
1208
|
-
}
|
|
1209
|
-
return path;
|
|
1199
|
+
});
|
|
1200
|
+
return translatedLines;
|
|
1210
1201
|
}
|
|
1211
1202
|
/**
|
|
1212
1203
|
* Draw main and additional lines.
|
|
1213
1204
|
*
|
|
1214
1205
|
* @private
|
|
1215
|
-
* @function multipleLinesMixin.drawGraph
|
|
1216
1206
|
*/
|
|
1217
|
-
function
|
|
1207
|
+
function indicatorDrawGraph() {
|
|
1218
1208
|
var indicator = this,
|
|
1219
1209
|
pointValKey = indicator.pointValKey,
|
|
1220
1210
|
linesApiNames = indicator.linesApiNames,
|
|
@@ -1229,7 +1219,8 @@
|
|
|
1229
1219
|
},
|
|
1230
1220
|
// additional lines point place holders:
|
|
1231
1221
|
secondaryLines = [],
|
|
1232
|
-
secondaryLinesNames =
|
|
1222
|
+
secondaryLinesNames = getTranslatedLinesNames(indicator,
|
|
1223
|
+
pointValKey);
|
|
1233
1224
|
var pointsLength = mainLinePoints.length,
|
|
1234
1225
|
point;
|
|
1235
1226
|
// Generate points for additional lines:
|
|
@@ -1248,7 +1239,7 @@
|
|
|
1248
1239
|
pointsLength = mainLinePoints.length;
|
|
1249
1240
|
});
|
|
1250
1241
|
// Modify options and generate area fill:
|
|
1251
|
-
if (
|
|
1242
|
+
if (indicator.userOptions.fillColor && areaLinesNames.length) {
|
|
1252
1243
|
var index = secondaryLinesNames.indexOf(getLineName(areaLinesNames[0])),
|
|
1253
1244
|
secondLinePoints = secondaryLines[index],
|
|
1254
1245
|
firstLinePoints = areaLinesNames.length === 1 ?
|
|
@@ -1257,11 +1248,11 @@
|
|
|
1257
1248
|
originalColor = indicator.color;
|
|
1258
1249
|
indicator.points = firstLinePoints;
|
|
1259
1250
|
indicator.nextPoints = secondLinePoints;
|
|
1260
|
-
indicator.color =
|
|
1251
|
+
indicator.color = indicator.userOptions.fillColor;
|
|
1261
1252
|
indicator.options = merge(mainLinePoints, gappedExtend);
|
|
1262
1253
|
indicator.graph = indicator.area;
|
|
1263
1254
|
indicator.fillGraph = true;
|
|
1264
|
-
|
|
1255
|
+
smaProto.drawGraph.call(indicator);
|
|
1265
1256
|
indicator.area = indicator.graph;
|
|
1266
1257
|
// Clean temporary properties:
|
|
1267
1258
|
delete indicator.nextPoints;
|
|
@@ -1278,11 +1269,10 @@
|
|
|
1278
1269
|
else {
|
|
1279
1270
|
error('Error: "There is no ' + lineName +
|
|
1280
1271
|
' in DOCS options declared. Check if linesApiNames' +
|
|
1281
|
-
' are consistent with your DOCS line names."'
|
|
1282
|
-
' at mixin/multiple-line.js:34');
|
|
1272
|
+
' are consistent with your DOCS line names."');
|
|
1283
1273
|
}
|
|
1284
1274
|
indicator.graph = indicator['graph' + lineName];
|
|
1285
|
-
|
|
1275
|
+
smaProto.drawGraph.call(indicator);
|
|
1286
1276
|
// Now save lines:
|
|
1287
1277
|
indicator['graph' + lineName] = indicator.graph;
|
|
1288
1278
|
}
|
|
@@ -1296,45 +1286,46 @@
|
|
|
1296
1286
|
indicator.points = mainLinePoints;
|
|
1297
1287
|
indicator.options = mainLineOptions;
|
|
1298
1288
|
indicator.graph = mainLinePath;
|
|
1299
|
-
|
|
1289
|
+
smaProto.drawGraph.call(indicator);
|
|
1300
1290
|
}
|
|
1301
1291
|
/**
|
|
1302
|
-
* Create
|
|
1292
|
+
* Create the path based on points provided as argument.
|
|
1293
|
+
* If indicator.nextPoints option is defined, create the areaFill.
|
|
1303
1294
|
*
|
|
1304
1295
|
* @private
|
|
1305
|
-
* @
|
|
1306
|
-
* @param {string} [excludedValue]
|
|
1307
|
-
* Main line id
|
|
1308
|
-
* @return {Array<string>}
|
|
1309
|
-
* Returns translated lines names without excluded value.
|
|
1296
|
+
* @param points Points on which the path should be created
|
|
1310
1297
|
*/
|
|
1311
|
-
function
|
|
1312
|
-
var
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1298
|
+
function indicatorGetGraphPath(points) {
|
|
1299
|
+
var areaPath,
|
|
1300
|
+
path = [],
|
|
1301
|
+
higherAreaPath = [];
|
|
1302
|
+
points = points || this.points;
|
|
1303
|
+
// Render Span
|
|
1304
|
+
if (this.fillGraph && this.nextPoints) {
|
|
1305
|
+
areaPath = smaProto.getGraphPath.call(this, this.nextPoints);
|
|
1306
|
+
if (areaPath && areaPath.length) {
|
|
1307
|
+
areaPath[0][0] = 'L';
|
|
1308
|
+
path = smaProto.getGraphPath.call(this, points);
|
|
1309
|
+
higherAreaPath = areaPath.slice(0, path.length);
|
|
1310
|
+
// Reverse points, so that the areaFill will start from the end:
|
|
1311
|
+
for (var i = higherAreaPath.length - 1; i >= 0; i--) {
|
|
1312
|
+
path.push(higherAreaPath[i]);
|
|
1313
|
+
}
|
|
1316
1314
|
}
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
* @param propertyName name of the line
|
|
1323
|
-
*/
|
|
1324
|
-
function getLineName(propertyName) {
|
|
1325
|
-
return ('plot' +
|
|
1326
|
-
propertyName.charAt(0).toUpperCase() +
|
|
1327
|
-
propertyName.slice(1));
|
|
1315
|
+
}
|
|
1316
|
+
else {
|
|
1317
|
+
path = smaProto.getGraphPath.apply(this, arguments);
|
|
1318
|
+
}
|
|
1319
|
+
return path;
|
|
1328
1320
|
}
|
|
1329
1321
|
/**
|
|
1330
1322
|
* @private
|
|
1331
|
-
* @function multipleLinesMixin.toYData
|
|
1332
1323
|
* @param {Highcharts.Point} point
|
|
1333
1324
|
* Indicator point
|
|
1334
1325
|
* @return {Array<number>}
|
|
1335
1326
|
* Returns point Y value for all lines
|
|
1336
1327
|
*/
|
|
1337
|
-
function
|
|
1328
|
+
function indicatorToYData(point) {
|
|
1338
1329
|
var pointColl = [];
|
|
1339
1330
|
(this.pointArrayMap || []).forEach(function (propertyName) {
|
|
1340
1331
|
pointColl.push(point[propertyName]);
|
|
@@ -1345,25 +1336,24 @@
|
|
|
1345
1336
|
* Add lines plot pixel values.
|
|
1346
1337
|
*
|
|
1347
1338
|
* @private
|
|
1348
|
-
* @function multipleLinesMixin.translate
|
|
1349
1339
|
*/
|
|
1350
|
-
function
|
|
1351
|
-
var
|
|
1352
|
-
|
|
1340
|
+
function indicatorTranslate() {
|
|
1341
|
+
var _this = this;
|
|
1342
|
+
var pointArrayMap = this.pointArrayMap;
|
|
1353
1343
|
var LinesNames = [],
|
|
1354
1344
|
value;
|
|
1355
|
-
LinesNames =
|
|
1356
|
-
|
|
1357
|
-
|
|
1345
|
+
LinesNames = getTranslatedLinesNames(this);
|
|
1346
|
+
smaProto.translate.apply(this, arguments);
|
|
1347
|
+
this.points.forEach(function (point) {
|
|
1358
1348
|
pointArrayMap.forEach(function (propertyName, i) {
|
|
1359
1349
|
value = point[propertyName];
|
|
1360
1350
|
// If the modifier, like for example compare exists,
|
|
1361
1351
|
// modified the original value by that method, #15867.
|
|
1362
|
-
if (
|
|
1363
|
-
value =
|
|
1352
|
+
if (_this.dataModify) {
|
|
1353
|
+
value = _this.dataModify.modifyValue(value);
|
|
1364
1354
|
}
|
|
1365
1355
|
if (value !== null) {
|
|
1366
|
-
point[LinesNames[i]] =
|
|
1356
|
+
point[LinesNames[i]] = _this.yAxis.toPixels(value, true);
|
|
1367
1357
|
}
|
|
1368
1358
|
});
|
|
1369
1359
|
});
|
|
@@ -2168,10 +2158,10 @@
|
|
|
2168
2158
|
}(SMAIndicator));
|
|
2169
2159
|
extend(BBIndicator.prototype, {
|
|
2170
2160
|
areaLinesNames: ['top', 'bottom'],
|
|
2171
|
-
|
|
2172
|
-
pointValKey: 'middle',
|
|
2161
|
+
linesApiNames: ['topLine', 'bottomLine'],
|
|
2173
2162
|
nameComponents: ['period', 'standardDeviation'],
|
|
2174
|
-
|
|
2163
|
+
pointArrayMap: ['top', 'middle', 'bottom'],
|
|
2164
|
+
pointValKey: 'middle'
|
|
2175
2165
|
});
|
|
2176
2166
|
MultipleLinesComposition.compose(BBIndicator);
|
|
2177
2167
|
SeriesRegistry.registerSeriesType('bb', BBIndicator);
|
|
@@ -2763,11 +2753,15 @@
|
|
|
2763
2753
|
var smoothedPlusDM = void 0,
|
|
2764
2754
|
smoothedMinusDM = void 0,
|
|
2765
2755
|
smoothedTR = void 0,
|
|
2766
|
-
plusDM =
|
|
2767
|
-
|
|
2756
|
+
plusDM = // +DM
|
|
2757
|
+
void 0, // +DM
|
|
2758
|
+
minusDM = // -DM
|
|
2759
|
+
void 0, // -DM
|
|
2768
2760
|
TR = void 0,
|
|
2769
|
-
plusDI =
|
|
2770
|
-
|
|
2761
|
+
plusDI = // +DI
|
|
2762
|
+
void 0, // +DI
|
|
2763
|
+
minusDI = // -DI
|
|
2764
|
+
void 0, // -DI
|
|
2771
2765
|
DX = void 0;
|
|
2772
2766
|
if (i <= period) {
|
|
2773
2767
|
plusDM = this.calculateDM(yVal, i, true);
|
|
@@ -2871,7 +2865,7 @@
|
|
|
2871
2865
|
*
|
|
2872
2866
|
* @type {Highcharts.ColorString}
|
|
2873
2867
|
*/
|
|
2874
|
-
lineColor: "#06b535" /* positiveColor */ // green-ish
|
|
2868
|
+
lineColor: "#06b535" /* Palette.positiveColor */ // green-ish
|
|
2875
2869
|
}
|
|
2876
2870
|
},
|
|
2877
2871
|
/**
|
|
@@ -2891,7 +2885,7 @@
|
|
|
2891
2885
|
*
|
|
2892
2886
|
* @type {Highcharts.ColorString}
|
|
2893
2887
|
*/
|
|
2894
|
-
lineColor: "#f21313" /* negativeColor */ // red-ish
|
|
2888
|
+
lineColor: "#f21313" /* Palette.negativeColor */ // red-ish
|
|
2895
2889
|
}
|
|
2896
2890
|
},
|
|
2897
2891
|
dataGrouping: {
|
|
@@ -5547,22 +5541,31 @@
|
|
|
5547
5541
|
*/
|
|
5548
5542
|
MACDIndicator.prototype.init = function () {
|
|
5549
5543
|
SeriesRegistry.seriesTypes.sma.prototype.init.apply(this, arguments);
|
|
5544
|
+
var originalColor = this.color,
|
|
5545
|
+
originalColorIndex = this.userOptions._colorIndex;
|
|
5550
5546
|
// Check whether series is initialized. It may be not initialized,
|
|
5551
5547
|
// when any of required indicators is missing.
|
|
5552
5548
|
if (this.options) {
|
|
5553
|
-
//
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
styles
|
|
5562
|
-
|
|
5563
|
-
|
|
5549
|
+
// If the default colour doesn't set, get the next available from
|
|
5550
|
+
// the array and apply it #15608.
|
|
5551
|
+
if (defined(this.userOptions._colorIndex)) {
|
|
5552
|
+
if (this.options.signalLine &&
|
|
5553
|
+
this.options.signalLine.styles &&
|
|
5554
|
+
!this.options.signalLine.styles.lineColor) {
|
|
5555
|
+
this.userOptions._colorIndex++;
|
|
5556
|
+
this.getCyclic('color', void 0, this.chart.options.colors);
|
|
5557
|
+
this.options.signalLine.styles.lineColor =
|
|
5558
|
+
this.color;
|
|
5559
|
+
}
|
|
5560
|
+
if (this.options.macdLine &&
|
|
5561
|
+
this.options.macdLine.styles &&
|
|
5562
|
+
!this.options.macdLine.styles.lineColor) {
|
|
5563
|
+
this.userOptions._colorIndex++;
|
|
5564
|
+
this.getCyclic('color', void 0, this.chart.options.colors);
|
|
5565
|
+
this.options.macdLine.styles.lineColor =
|
|
5566
|
+
this.color;
|
|
5564
5567
|
}
|
|
5565
|
-
}
|
|
5568
|
+
}
|
|
5566
5569
|
// Zones have indexes automatically calculated, we need to
|
|
5567
5570
|
// translate them to support multiple lines within one indicator
|
|
5568
5571
|
this.macdZones = {
|
|
@@ -5575,6 +5578,9 @@
|
|
|
5575
5578
|
};
|
|
5576
5579
|
this.resetZones = true;
|
|
5577
5580
|
}
|
|
5581
|
+
// Reset color and index #15608.
|
|
5582
|
+
this.color = originalColor;
|
|
5583
|
+
this.userOptions._colorIndex = originalColorIndex;
|
|
5578
5584
|
};
|
|
5579
5585
|
MACDIndicator.prototype.toYData = function (point) {
|
|
5580
5586
|
return [point.y, point.signal, point.MACD];
|
|
@@ -9238,7 +9244,7 @@
|
|
|
9238
9244
|
*
|
|
9239
9245
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
9240
9246
|
*/
|
|
9241
|
-
risingTrendColor: "#06b535" /* positiveColor */,
|
|
9247
|
+
risingTrendColor: "#06b535" /* Palette.positiveColor */,
|
|
9242
9248
|
/**
|
|
9243
9249
|
* Color of the Supertrend series line that is above the main series.
|
|
9244
9250
|
*
|
|
@@ -9247,7 +9253,7 @@
|
|
|
9247
9253
|
*
|
|
9248
9254
|
* @type {Highcharts.ColorString|Highcharts.GradientColorObject|Highcharts.PatternObject}
|
|
9249
9255
|
*/
|
|
9250
|
-
fallingTrendColor: "#f21313" /* negativeColor */,
|
|
9256
|
+
fallingTrendColor: "#f21313" /* Palette.negativeColor */,
|
|
9251
9257
|
/**
|
|
9252
9258
|
* The styles for the Supertrend line that intersect main series.
|
|
9253
9259
|
*
|
|
@@ -9265,7 +9271,7 @@
|
|
|
9265
9271
|
*
|
|
9266
9272
|
* @type {Highcharts.ColorString}
|
|
9267
9273
|
*/
|
|
9268
|
-
lineColor: "#333333" /* neutralColor80 */,
|
|
9274
|
+
lineColor: "#333333" /* Palette.neutralColor80 */,
|
|
9269
9275
|
/**
|
|
9270
9276
|
* The dash or dot style of the grid lines. For possible
|
|
9271
9277
|
* values, see
|
package/indicators/indicators.js
CHANGED
|
@@ -12,22 +12,6 @@ import * as _Highcharts from "../highcharts";
|
|
|
12
12
|
* The imported Highcharts namespace to extend.
|
|
13
13
|
*/
|
|
14
14
|
export function factory(highcharts: typeof Highcharts): void;
|
|
15
|
-
declare module "../highcharts" {
|
|
16
|
-
/**
|
|
17
|
-
* Create the path based on points provided as argument. If
|
|
18
|
-
* indicator.nextPoints option is defined, create the areaFill.
|
|
19
|
-
*
|
|
20
|
-
* @param points
|
|
21
|
-
* Points on which the path should be created
|
|
22
|
-
*/
|
|
23
|
-
function getGraphPath(points: any): void;
|
|
24
|
-
/**
|
|
25
|
-
* Generate the API name of the line
|
|
26
|
-
*
|
|
27
|
-
* @param propertyName
|
|
28
|
-
* name of the line
|
|
29
|
-
*/
|
|
30
|
-
function getLineName(propertyName: any): void;
|
|
31
|
-
}
|
|
15
|
+
declare module "../highcharts" {}
|
|
32
16
|
export default factory;
|
|
33
17
|
export let Highcharts: typeof _Highcharts;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Highstock JS v10.
|
|
2
|
+
Highstock JS v10.2.0 (2022-07-05)
|
|
3
3
|
|
|
4
4
|
Indicator series type for Highcharts Stock
|
|
5
5
|
|
|
@@ -7,15 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
License: www.highcharts.com/license
|
|
9
9
|
*/
|
|
10
|
-
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/keltner-channels",["highcharts","highcharts/modules/stock"],function(
|
|
11
|
-
module:a[e]}})))}a=a?a._modules:{};
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
areaLinesNames:["top","bottom"],nameComponents:["period","periodATR","multiplierATR"],linesApiNames:["topLine","bottomLine"],pointArrayMap:["top","middle","bottom"],pointValKey:"middle"});a.compose(f);e.registerSeriesType("keltnerchannels",f);"";return f});k(a,"masters/indicators/keltner-channels.src.js",[],function(){})});
|
|
10
|
+
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/keltner-channels",["highcharts","highcharts/modules/stock"],function(h){a(h);a.Highcharts=h;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function h(a,e,d,h){a.hasOwnProperty(e)||(a[e]=h.apply(null,d),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,
|
|
11
|
+
module:a[e]}})))}a=a?a._modules:{};h(a,"Stock/Indicators/MultipleLinesComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,e){var d=a.seriesTypes.sma.prototype,h=e.defined,n=e.error,r=e.merge,g;(function(a){function e(b){return"plot"+b.charAt(0).toUpperCase()+b.slice(1)}function y(b,l){var a=[];(b.pointArrayMap||[]).forEach(function(b){b!==l&&a.push(e(b))});return a}function c(){var b=this,l=b.linesApiNames,a=b.areaLinesNames,f=b.points,c=b.options,w=b.graph,v={options:{gapSize:c.gapSize}},
|
|
12
|
+
g=[],p=y(b,b.pointValKey),q=f.length,k;p.forEach(function(b,a){for(g[a]=[];q--;)k=f[q],g[a].push({x:k.x,plotX:k.plotX,plotY:k[b],isNull:!h(k[b])});q=f.length});if(b.userOptions.fillColor&&a.length){var m=p.indexOf(e(a[0]));m=g[m];a=1===a.length?f:g[p.indexOf(e(a[1]))];p=b.color;b.points=a;b.nextPoints=m;b.color=b.userOptions.fillColor;b.options=r(f,v);b.graph=b.area;b.fillGraph=!0;d.drawGraph.call(b);b.area=b.graph;delete b.nextPoints;delete b.fillGraph;b.color=p}l.forEach(function(a,l){g[l]?(b.points=
|
|
13
|
+
g[l],c[a]?b.options=r(c[a].styles,v):n('Error: "There is no '+a+' in DOCS options declared. Check if linesApiNames are consistent with your DOCS line names."'),b.graph=b["graph"+a],d.drawGraph.call(b),b["graph"+a]=b.graph):n('Error: "'+a+" doesn't have equivalent in pointArrayMap. To many elements in linesApiNames relative to pointArrayMap.\"")});b.points=f;b.options=c;b.graph=w;d.drawGraph.call(b)}function w(b){var a,c=[];b=b||this.points;if(this.fillGraph&&this.nextPoints){if((a=d.getGraphPath.call(this,
|
|
14
|
+
this.nextPoints))&&a.length){a[0][0]="L";c=d.getGraphPath.call(this,b);a=a.slice(0,c.length);for(var f=a.length-1;0<=f;f--)c.push(a[f])}}else c=d.getGraphPath.apply(this,arguments);return c}function v(b){var a=[];(this.pointArrayMap||[]).forEach(function(c){a.push(b[c])});return a}function p(){var b=this,a=this.pointArrayMap,c=[],f;c=y(this);d.translate.apply(this,arguments);this.points.forEach(function(l){a.forEach(function(a,e){f=l[a];b.dataModify&&(f=b.dataModify.modifyValue(f));null!==f&&(l[c[e]]=
|
|
15
|
+
b.yAxis.toPixels(f,!0))})})}var g=[],k=["bottomLine"],m=["top","bottom"],z=["top"];a.compose=function(b){if(-1===g.indexOf(b)){g.push(b);var a=b.prototype;a.linesApiNames=a.linesApiNames||k.slice();a.pointArrayMap=a.pointArrayMap||m.slice();a.pointValKey=a.pointValKey||"top";a.areaLinesNames=a.areaLinesNames||z.slice();a.drawGraph=c;a.getGraphPath=w;a.toYData=v;a.translate=p}return b}})(g||(g={}));return g});h(a,"Stock/Indicators/KeltnerChannels/KeltnerChannelsIndicator.js",[a["Stock/Indicators/MultipleLinesComposition.js"],
|
|
16
|
+
a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,e,d){var h=this&&this.__extends||function(){var a=function(e,c){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,c){a.__proto__=c}||function(a,c){for(var e in c)c.hasOwnProperty(e)&&(a[e]=c[e])};return a(e,c)};return function(e,c){function d(){this.constructor=e}a(e,c);e.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)}}(),n=e.seriesTypes.sma,r=d.correctFloat,g=d.extend,x=d.merge;d=function(a){function d(){var c=
|
|
17
|
+
null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}h(d,a);d.prototype.init=function(){e.seriesTypes.sma.prototype.init.apply(this,arguments);this.options=x({topLine:{styles:{lineColor:this.color}},bottomLine:{styles:{lineColor:this.color}}},this.options)};d.prototype.getValues=function(a,d){var c=d.period,g=d.periodATR,h=d.multiplierATR,k=a.yData;k=k?k.length:0;var m=[];d=e.seriesTypes.ema.prototype.getValues(a,{period:c,index:d.index});var n=e.seriesTypes.atr.prototype.getValues(a,
|
|
18
|
+
{period:g}),b=[],l=[],t;if(!(k<c)){for(t=c;t<=k;t++){var f=d.values[t-c];var u=n.values[t-g];var q=f[0];a=r(f[1]+h*u[1]);u=r(f[1]-h*u[1]);f=f[1];m.push([q,a,f,u]);b.push(q);l.push([a,f,u])}return{values:m,xData:b,yData:l}}};d.defaultOptions=x(n.defaultOptions,{params:{index:0,period:20,periodATR:10,multiplierATR:2},bottomLine:{styles:{lineWidth:1,lineColor:void 0}},topLine:{styles:{lineWidth:1,lineColor:void 0}},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Upper Channel: {point.top}<br/>EMA({series.options.params.period}): {point.middle}<br/>Lower Channel: {point.bottom}<br/>'},
|
|
19
|
+
marker:{enabled:!1},dataGrouping:{approximation:"averages"},lineWidth:1});return d}(n);g(d.prototype,{nameBase:"Keltner Channels",areaLinesNames:["top","bottom"],nameComponents:["period","periodATR","multiplierATR"],linesApiNames:["topLine","bottomLine"],pointArrayMap:["top","middle","bottom"],pointValKey:"middle"});a.compose(d);e.registerSeriesType("keltnerchannels",d);"";return d});h(a,"masters/indicators/keltner-channels.src.js",[],function(){})});
|
|
21
20
|
//# sourceMappingURL=keltner-channels.js.map
|