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
|
@@ -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,13 +7,13 @@
|
|
|
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/aroon-oscillator",["highcharts","highcharts/modules/stock"],function(g){a(g);a.Highcharts=g;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function g(a,
|
|
11
|
-
module:a[
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
a
|
|
15
|
-
|
|
16
|
-
a
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/aroon-oscillator",["highcharts","highcharts/modules/stock"],function(g){a(g);a.Highcharts=g;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function g(a,e,f,g){a.hasOwnProperty(e)||(a[e]=g.apply(null,f),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,
|
|
11
|
+
module:a[e]}})))}a=a?a._modules:{};g(a,"Stock/Indicators/MultipleLinesComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,e){var f=a.seriesTypes.sma.prototype,g=e.defined,m=e.error,u=e.merge,h;(function(a){function e(b){return"plot"+b.charAt(0).toUpperCase()+b.slice(1)}function v(b,x){var a=[];(b.pointArrayMap||[]).forEach(function(b){b!==x&&a.push(e(b))});return a}function c(){var b=this,a=b.linesApiNames,c=b.areaLinesNames,d=b.points,p=b.options,h=b.graph,t={options:{gapSize:p.gapSize}},
|
|
12
|
+
n=[],l=v(b,b.pointValKey),k=d.length,q;l.forEach(function(b,a){for(n[a]=[];k--;)q=d[k],n[a].push({x:q.x,plotX:q.plotX,plotY:q[b],isNull:!g(q[b])});k=d.length});if(b.userOptions.fillColor&&c.length){var r=l.indexOf(e(c[0]));r=n[r];c=1===c.length?d:n[l.indexOf(e(c[1]))];l=b.color;b.points=c;b.nextPoints=r;b.color=b.userOptions.fillColor;b.options=u(d,t);b.graph=b.area;b.fillGraph=!0;f.drawGraph.call(b);b.area=b.graph;delete b.nextPoints;delete b.fillGraph;b.color=l}a.forEach(function(a,c){n[c]?(b.points=
|
|
13
|
+
n[c],p[a]?b.options=u(p[a].styles,t):m('Error: "There is no '+a+' in DOCS options declared. Check if linesApiNames are consistent with your DOCS line names."'),b.graph=b["graph"+a],f.drawGraph.call(b),b["graph"+a]=b.graph):m('Error: "'+a+" doesn't have equivalent in pointArrayMap. To many elements in linesApiNames relative to pointArrayMap.\"")});b.points=d;b.options=p;b.graph=h;f.drawGraph.call(b)}function d(b){var a,c=[];b=b||this.points;if(this.fillGraph&&this.nextPoints){if((a=f.getGraphPath.call(this,
|
|
14
|
+
this.nextPoints))&&a.length){a[0][0]="L";c=f.getGraphPath.call(this,b);a=a.slice(0,c.length);for(var d=a.length-1;0<=d;d--)c.push(a[d])}}else c=f.getGraphPath.apply(this,arguments);return c}function p(b){var a=[];(this.pointArrayMap||[]).forEach(function(c){a.push(b[c])});return a}function t(){var b=this,a=this.pointArrayMap,c=[],d;c=v(this);f.translate.apply(this,arguments);this.points.forEach(function(e){a.forEach(function(a,f){d=e[a];b.dataModify&&(d=b.dataModify.modifyValue(d));null!==d&&(e[c[f]]=
|
|
15
|
+
b.yAxis.toPixels(d,!0))})})}var h=[],l=["bottomLine"],r=["top","bottom"],k=["top"];a.compose=function(b){if(-1===h.indexOf(b)){h.push(b);var a=b.prototype;a.linesApiNames=a.linesApiNames||l.slice();a.pointArrayMap=a.pointArrayMap||r.slice();a.pointValKey=a.pointValKey||"top";a.areaLinesNames=a.areaLinesNames||k.slice();a.drawGraph=c;a.getGraphPath=d;a.toYData=p;a.translate=t}return b}})(h||(h={}));return h});g(a,"Stock/Indicators/AroonOscillator/AroonOscillatorIndicator.js",[a["Stock/Indicators/MultipleLinesComposition.js"],
|
|
16
|
+
a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,e,f){var g=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 d in c)c.hasOwnProperty(d)&&(a[d]=c[d])};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)}}(),m=e.seriesTypes.aroon,k=f.extend,h=f.merge,w=e.seriesTypes.aroon;f=function(a){function e(){var c=
|
|
17
|
+
null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}g(e,a);e.prototype.getValues=function(a,d){var c=[],e=[],f=[];a=w.prototype.getValues.call(this,a,d);for(d=0;d<a.yData.length;d++){var g=a.yData[d][0];var h=a.yData[d][1];g-=h;c.push([a.xData[d],g]);e.push(a.xData[d]);f.push(g)}return{values:c,xData:e,yData:f}};e.defaultOptions=h(m.defaultOptions,{tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b>: {point.y}'}});
|
|
18
|
+
return e}(m);k(f.prototype,{nameBase:"Aroon Oscillator",linesApiNames:[],pointArrayMap:["y"],pointValKey:"y"});a.compose(m);e.registerSeriesType("aroonoscillator",f);"";return f});g(a,"masters/indicators/aroon-oscillator.src.js",[],function(){})});
|
|
19
19
|
//# sourceMappingURL=aroon-oscillator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aroon-oscillator.js.map","lineCount":18,"mappings":"A;;;;;;;;;AASC,SAAS,CAACA,CAAD,CAAU,CACM,QAAtB,GAAI,MAAOC,OAAX,EAAkCA,MAAAC,QAAlC,EACIF,CAAA,CAAQ,SAAR,CACA,CADqBA,CACrB,CAAAC,MAAAC,QAAA,CAAiBF,CAFrB,EAG6B,UAAtB,GAAI,MAAOG,OAAX,EAAoCA,MAAAC,IAApC,CACHD,MAAA,CAAO,wCAAP,CAAiD,CAAC,YAAD,CAAe,0BAAf,CAAjD,CAA6F,QAAS,CAACE,CAAD,CAAa,CAC/GL,CAAA,CAAQK,CAAR,CACAL,EAAAK,WAAA,CAAqBA,CACrB,OAAOL,EAHwG,CAAnH,CADG,CAOHA,CAAA,CAA8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CAAWwF,CAAX,CANqC,CAQzC,MAAO,CACHC,OAAQN,CADL,CAEHC,MAAOA,CAFJ,CAGHC,MAAOA,CAHJ,CAnB8D,CA6CzET,EAAAc,eAAA,CAA0CvG,CAAA,CAAMqF,CAAAkB,eAAN,CAAqC,CAC3EC,QAAS,CACLC,YAAa,iFADR,CADkE,CAArC,CAK1C;MAAOhB,EA3EqD,CAAlB,CA4E5CJ,CA5E4C,CA6E9CE,EAAA,CAAOE,CAAA5F,UAAP,CAA2C,CACvC6G,SAAU,kBAD6B,CAEvC3F,cAAe,EAFwB,CAGvCH,cAAe,CAAC,GAAD,CAHwB,CAIvCe,YAAa,GAJ0B,CAA3C,CAMA1B,EAAAoE,QAAA,CAAiCgB,CAAjC,CACA7F,EAAAmH,mBAAA,CAAkC,iBAAlC,CAAqDlB,CAArD,CAsBA,GAEA,OAAOA,EAtJ4Q,CAAvR,CAwJA7G,EAAA,CAAgBW,CAAhB,CAA0B,4CAA1B,CAAwE,EAAxE,CAA4E,QAAS,EAAG,EAAxF,CAvdoB,CAbvB;","sources":["aroon-oscillator.src.js"],"names":["factory","module","exports","define","amd","Highcharts","undefined","_registerModule","obj","path","args","fn","hasOwnProperty","apply","CustomEvent","window","dispatchEvent","detail","_modules","SeriesRegistry","U","smaProto","seriesTypes","sma","prototype","defined","error","merge","MultipleLinesComposition","getLineName","propertyName","charAt","toUpperCase","slice","getTranslatedLinesNames","indicator","excludedValue","translatedLines","forEach","pointArrayMap","push","indicatorDrawGraph","linesApiNames","areaLinesNames","mainLinePoints","points","mainLineOptions","options","mainLinePath","graph","gappedExtend","gapSize","secondaryLines","secondaryLinesNames","pointValKey","pointsLength","length","point","plotLine","index","x","plotX","plotY","isNull","userOptions","fillColor","indexOf","secondLinePoints","firstLinePoints","originalColor","color","nextPoints","area","fillGraph","drawGraph","call","lineName","i","styles","indicatorGetGraphPath","areaPath","getGraphPath","higherAreaPath","arguments","indicatorToYData","pointColl","indicatorTranslate","_this","LinesNames","value","translate","dataModify","modifyValue","yAxis","toPixels","composedClasses","compose","IndicatorClass","proto","toYData","__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","__","constructor","create","AroonIndicator","aroon","extend","AROON","AroonOscillatorIndicator","_super","data","getValues","AroonOscillatorIndicator.prototype.getValues","series","params","ARO","xData","yData","aroonUp","aroonDown","oscillator","values","defaultOptions","tooltip","pointFormat","nameBase","registerSeriesType"]}
|
|
@@ -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
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
48
48
|
*
|
|
49
49
|
* */
|
|
50
|
-
var
|
|
50
|
+
var smaProto = SeriesRegistry.seriesTypes.sma.prototype;
|
|
51
51
|
var defined = U.defined,
|
|
52
52
|
error = U.error,
|
|
53
53
|
merge = U.merge;
|
|
@@ -56,16 +56,6 @@
|
|
|
56
56
|
* Composition
|
|
57
57
|
*
|
|
58
58
|
* */
|
|
59
|
-
/**
|
|
60
|
-
* Composition useful for all indicators that have more than one line. Compose
|
|
61
|
-
* it with your implementation where you will provide the `getValues` method
|
|
62
|
-
* appropriate to your indicator and `pointArrayMap`, `pointValKey`,
|
|
63
|
-
* `linesApiNames` properties. Notice that `pointArrayMap` should be consistent
|
|
64
|
-
* with the amount of lines calculated in the `getValues` method.
|
|
65
|
-
*
|
|
66
|
-
* @private
|
|
67
|
-
* @mixin multipleLinesMixin
|
|
68
|
-
*/
|
|
69
59
|
var MultipleLinesComposition;
|
|
70
60
|
(function (MultipleLinesComposition) {
|
|
71
61
|
/* *
|
|
@@ -74,10 +64,10 @@
|
|
|
74
64
|
*
|
|
75
65
|
* */
|
|
76
66
|
/* *
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
67
|
+
*
|
|
68
|
+
* Constants
|
|
69
|
+
*
|
|
70
|
+
* */
|
|
81
71
|
var composedClasses = [];
|
|
82
72
|
/**
|
|
83
73
|
* Additional lines DOCS names. Elements of linesApiNames array should
|
|
@@ -86,7 +76,6 @@
|
|
|
86
76
|
* relative to pointArrayMap (without pointValKey).
|
|
87
77
|
*
|
|
88
78
|
* @private
|
|
89
|
-
* @name multipleLinesMixin.linesApiNames
|
|
90
79
|
* @type {Array<string>}
|
|
91
80
|
*/
|
|
92
81
|
var linesApiNames = ['bottomLine'];
|
|
@@ -98,7 +87,6 @@
|
|
|
98
87
|
* getValues method from your implementation.
|
|
99
88
|
*
|
|
100
89
|
* @private
|
|
101
|
-
* @name multipleLinesMixin.pointArrayMap
|
|
102
90
|
* @type {Array<string>}
|
|
103
91
|
*/
|
|
104
92
|
var pointArrayMap = ['top', 'bottom'];
|
|
@@ -107,8 +95,8 @@
|
|
|
107
95
|
* If the drawing of the area should
|
|
108
96
|
* be disabled for some indicators, leave this option as an empty array.
|
|
109
97
|
* Names should be the same as the names in the pointArrayMap.
|
|
98
|
+
*
|
|
110
99
|
* @private
|
|
111
|
-
* @name multipleLinesMixin.areaLinesNames
|
|
112
100
|
* @type {Array<string>}
|
|
113
101
|
*/
|
|
114
102
|
var areaLinesNames = ['top'];
|
|
@@ -116,17 +104,22 @@
|
|
|
116
104
|
* Main line id.
|
|
117
105
|
*
|
|
118
106
|
* @private
|
|
119
|
-
* @name multipleLinesMixin.pointValKey
|
|
120
107
|
* @type {string}
|
|
121
108
|
*/
|
|
122
109
|
var pointValKey = 'top';
|
|
123
110
|
/* *
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
/* eslint-disable valid-jsdoc */
|
|
111
|
+
*
|
|
112
|
+
* Functions
|
|
113
|
+
*
|
|
114
|
+
* */
|
|
129
115
|
/**
|
|
116
|
+
* Composition useful for all indicators that have more than one line.
|
|
117
|
+
* Compose it with your implementation where you will provide the
|
|
118
|
+
* `getValues` method appropriate to your indicator and `pointArrayMap`,
|
|
119
|
+
* `pointValKey`, `linesApiNames` properties. Notice that `pointArrayMap`
|
|
120
|
+
* should be consistent with the amount of lines calculated in the
|
|
121
|
+
* `getValues` method.
|
|
122
|
+
*
|
|
130
123
|
* @private
|
|
131
124
|
*/
|
|
132
125
|
function compose(IndicatorClass) {
|
|
@@ -141,52 +134,49 @@
|
|
|
141
134
|
pointValKey);
|
|
142
135
|
proto.areaLinesNames = (proto.areaLinesNames ||
|
|
143
136
|
areaLinesNames.slice());
|
|
144
|
-
proto.drawGraph =
|
|
145
|
-
proto.getGraphPath =
|
|
146
|
-
proto.toYData =
|
|
147
|
-
proto.translate =
|
|
148
|
-
proto.getTranslatedLinesNames = getTranslatedLinesNames;
|
|
137
|
+
proto.drawGraph = indicatorDrawGraph;
|
|
138
|
+
proto.getGraphPath = indicatorGetGraphPath;
|
|
139
|
+
proto.toYData = indicatorToYData;
|
|
140
|
+
proto.translate = indicatorTranslate;
|
|
149
141
|
}
|
|
150
142
|
return IndicatorClass;
|
|
151
143
|
}
|
|
152
144
|
MultipleLinesComposition.compose = compose;
|
|
153
145
|
/**
|
|
154
|
-
*
|
|
155
|
-
* If indicator.nextPoints option is defined, create the areaFill.
|
|
146
|
+
* Generate the API name of the line
|
|
156
147
|
*
|
|
157
|
-
* @
|
|
148
|
+
* @private
|
|
149
|
+
* @param propertyName name of the line
|
|
158
150
|
*/
|
|
159
|
-
function
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
151
|
+
function getLineName(propertyName) {
|
|
152
|
+
return ('plot' +
|
|
153
|
+
propertyName.charAt(0).toUpperCase() +
|
|
154
|
+
propertyName.slice(1));
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Create translatedLines Collection based on pointArrayMap.
|
|
158
|
+
*
|
|
159
|
+
* @private
|
|
160
|
+
* @param {string} [excludedValue]
|
|
161
|
+
* Main line id
|
|
162
|
+
* @return {Array<string>}
|
|
163
|
+
* Returns translated lines names without excluded value.
|
|
164
|
+
*/
|
|
165
|
+
function getTranslatedLinesNames(indicator, excludedValue) {
|
|
166
|
+
var translatedLines = [];
|
|
167
|
+
(indicator.pointArrayMap || []).forEach(function (propertyName) {
|
|
168
|
+
if (propertyName !== excludedValue) {
|
|
169
|
+
translatedLines.push(getLineName(propertyName));
|
|
176
170
|
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
path = SMAIndicator.prototype.getGraphPath.apply(indicator, arguments);
|
|
180
|
-
}
|
|
181
|
-
return path;
|
|
171
|
+
});
|
|
172
|
+
return translatedLines;
|
|
182
173
|
}
|
|
183
174
|
/**
|
|
184
175
|
* Draw main and additional lines.
|
|
185
176
|
*
|
|
186
177
|
* @private
|
|
187
|
-
* @function multipleLinesMixin.drawGraph
|
|
188
178
|
*/
|
|
189
|
-
function
|
|
179
|
+
function indicatorDrawGraph() {
|
|
190
180
|
var indicator = this,
|
|
191
181
|
pointValKey = indicator.pointValKey,
|
|
192
182
|
linesApiNames = indicator.linesApiNames,
|
|
@@ -201,7 +191,8 @@
|
|
|
201
191
|
},
|
|
202
192
|
// additional lines point place holders:
|
|
203
193
|
secondaryLines = [],
|
|
204
|
-
secondaryLinesNames =
|
|
194
|
+
secondaryLinesNames = getTranslatedLinesNames(indicator,
|
|
195
|
+
pointValKey);
|
|
205
196
|
var pointsLength = mainLinePoints.length,
|
|
206
197
|
point;
|
|
207
198
|
// Generate points for additional lines:
|
|
@@ -220,7 +211,7 @@
|
|
|
220
211
|
pointsLength = mainLinePoints.length;
|
|
221
212
|
});
|
|
222
213
|
// Modify options and generate area fill:
|
|
223
|
-
if (
|
|
214
|
+
if (indicator.userOptions.fillColor && areaLinesNames.length) {
|
|
224
215
|
var index = secondaryLinesNames.indexOf(getLineName(areaLinesNames[0])),
|
|
225
216
|
secondLinePoints = secondaryLines[index],
|
|
226
217
|
firstLinePoints = areaLinesNames.length === 1 ?
|
|
@@ -229,11 +220,11 @@
|
|
|
229
220
|
originalColor = indicator.color;
|
|
230
221
|
indicator.points = firstLinePoints;
|
|
231
222
|
indicator.nextPoints = secondLinePoints;
|
|
232
|
-
indicator.color =
|
|
223
|
+
indicator.color = indicator.userOptions.fillColor;
|
|
233
224
|
indicator.options = merge(mainLinePoints, gappedExtend);
|
|
234
225
|
indicator.graph = indicator.area;
|
|
235
226
|
indicator.fillGraph = true;
|
|
236
|
-
|
|
227
|
+
smaProto.drawGraph.call(indicator);
|
|
237
228
|
indicator.area = indicator.graph;
|
|
238
229
|
// Clean temporary properties:
|
|
239
230
|
delete indicator.nextPoints;
|
|
@@ -250,11 +241,10 @@
|
|
|
250
241
|
else {
|
|
251
242
|
error('Error: "There is no ' + lineName +
|
|
252
243
|
' in DOCS options declared. Check if linesApiNames' +
|
|
253
|
-
' are consistent with your DOCS line names."'
|
|
254
|
-
' at mixin/multiple-line.js:34');
|
|
244
|
+
' are consistent with your DOCS line names."');
|
|
255
245
|
}
|
|
256
246
|
indicator.graph = indicator['graph' + lineName];
|
|
257
|
-
|
|
247
|
+
smaProto.drawGraph.call(indicator);
|
|
258
248
|
// Now save lines:
|
|
259
249
|
indicator['graph' + lineName] = indicator.graph;
|
|
260
250
|
}
|
|
@@ -268,45 +258,46 @@
|
|
|
268
258
|
indicator.points = mainLinePoints;
|
|
269
259
|
indicator.options = mainLineOptions;
|
|
270
260
|
indicator.graph = mainLinePath;
|
|
271
|
-
|
|
261
|
+
smaProto.drawGraph.call(indicator);
|
|
272
262
|
}
|
|
273
263
|
/**
|
|
274
|
-
* Create
|
|
264
|
+
* Create the path based on points provided as argument.
|
|
265
|
+
* If indicator.nextPoints option is defined, create the areaFill.
|
|
275
266
|
*
|
|
276
267
|
* @private
|
|
277
|
-
* @
|
|
278
|
-
* @param {string} [excludedValue]
|
|
279
|
-
* Main line id
|
|
280
|
-
* @return {Array<string>}
|
|
281
|
-
* Returns translated lines names without excluded value.
|
|
268
|
+
* @param points Points on which the path should be created
|
|
282
269
|
*/
|
|
283
|
-
function
|
|
284
|
-
var
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
270
|
+
function indicatorGetGraphPath(points) {
|
|
271
|
+
var areaPath,
|
|
272
|
+
path = [],
|
|
273
|
+
higherAreaPath = [];
|
|
274
|
+
points = points || this.points;
|
|
275
|
+
// Render Span
|
|
276
|
+
if (this.fillGraph && this.nextPoints) {
|
|
277
|
+
areaPath = smaProto.getGraphPath.call(this, this.nextPoints);
|
|
278
|
+
if (areaPath && areaPath.length) {
|
|
279
|
+
areaPath[0][0] = 'L';
|
|
280
|
+
path = smaProto.getGraphPath.call(this, points);
|
|
281
|
+
higherAreaPath = areaPath.slice(0, path.length);
|
|
282
|
+
// Reverse points, so that the areaFill will start from the end:
|
|
283
|
+
for (var i = higherAreaPath.length - 1; i >= 0; i--) {
|
|
284
|
+
path.push(higherAreaPath[i]);
|
|
285
|
+
}
|
|
288
286
|
}
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
* @param propertyName name of the line
|
|
295
|
-
*/
|
|
296
|
-
function getLineName(propertyName) {
|
|
297
|
-
return ('plot' +
|
|
298
|
-
propertyName.charAt(0).toUpperCase() +
|
|
299
|
-
propertyName.slice(1));
|
|
287
|
+
}
|
|
288
|
+
else {
|
|
289
|
+
path = smaProto.getGraphPath.apply(this, arguments);
|
|
290
|
+
}
|
|
291
|
+
return path;
|
|
300
292
|
}
|
|
301
293
|
/**
|
|
302
294
|
* @private
|
|
303
|
-
* @function multipleLinesMixin.toYData
|
|
304
295
|
* @param {Highcharts.Point} point
|
|
305
296
|
* Indicator point
|
|
306
297
|
* @return {Array<number>}
|
|
307
298
|
* Returns point Y value for all lines
|
|
308
299
|
*/
|
|
309
|
-
function
|
|
300
|
+
function indicatorToYData(point) {
|
|
310
301
|
var pointColl = [];
|
|
311
302
|
(this.pointArrayMap || []).forEach(function (propertyName) {
|
|
312
303
|
pointColl.push(point[propertyName]);
|
|
@@ -317,25 +308,24 @@
|
|
|
317
308
|
* Add lines plot pixel values.
|
|
318
309
|
*
|
|
319
310
|
* @private
|
|
320
|
-
* @function multipleLinesMixin.translate
|
|
321
311
|
*/
|
|
322
|
-
function
|
|
323
|
-
var
|
|
324
|
-
|
|
312
|
+
function indicatorTranslate() {
|
|
313
|
+
var _this = this;
|
|
314
|
+
var pointArrayMap = this.pointArrayMap;
|
|
325
315
|
var LinesNames = [],
|
|
326
316
|
value;
|
|
327
|
-
LinesNames =
|
|
328
|
-
|
|
329
|
-
|
|
317
|
+
LinesNames = getTranslatedLinesNames(this);
|
|
318
|
+
smaProto.translate.apply(this, arguments);
|
|
319
|
+
this.points.forEach(function (point) {
|
|
330
320
|
pointArrayMap.forEach(function (propertyName, i) {
|
|
331
321
|
value = point[propertyName];
|
|
332
322
|
// If the modifier, like for example compare exists,
|
|
333
323
|
// modified the original value by that method, #15867.
|
|
334
|
-
if (
|
|
335
|
-
value =
|
|
324
|
+
if (_this.dataModify) {
|
|
325
|
+
value = _this.dataModify.modifyValue(value);
|
|
336
326
|
}
|
|
337
327
|
if (value !== null) {
|
|
338
|
-
point[LinesNames[i]] =
|
|
328
|
+
point[LinesNames[i]] = _this.yAxis.toPixels(value, true);
|
|
339
329
|
}
|
|
340
330
|
});
|
|
341
331
|
});
|
package/indicators/aroon.d.ts
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;
|
package/indicators/aroon.js
CHANGED
|
@@ -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,14 +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/aroon",["highcharts","highcharts/modules/stock"],function(l){a(l);a.Highcharts=l;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function l(a,
|
|
11
|
-
a=a?a._modules:{};l(a,"Stock/Indicators/MultipleLinesComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/aroon",["highcharts","highcharts/modules/stock"],function(l){a(l);a.Highcharts=l;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function l(a,f,d,l){a.hasOwnProperty(f)||(a[f]=l.apply(null,d),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:f,module:a[f]}})))}
|
|
11
|
+
a=a?a._modules:{};l(a,"Stock/Indicators/MultipleLinesComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,f){var d=a.seriesTypes.sma.prototype,l=f.defined,t=f.error,m=f.merge,h;(function(a){function f(b){return"plot"+b.charAt(0).toUpperCase()+b.slice(1)}function w(b,g){var a=[];(b.pointArrayMap||[]).forEach(function(b){b!==g&&a.push(f(b))});return a}function u(){var b=this,g=b.linesApiNames,a=b.areaLinesNames,c=b.points,e=b.options,k=b.graph,u={options:{gapSize:e.gapSize}},
|
|
12
|
+
n=[],h=w(b,b.pointValKey),r=c.length,q;h.forEach(function(b,a){for(n[a]=[];r--;)q=c[r],n[a].push({x:q.x,plotX:q.plotX,plotY:q[b],isNull:!l(q[b])});r=c.length});if(b.userOptions.fillColor&&a.length){var p=h.indexOf(f(a[0]));p=n[p];a=1===a.length?c:n[h.indexOf(f(a[1]))];h=b.color;b.points=a;b.nextPoints=p;b.color=b.userOptions.fillColor;b.options=m(c,u);b.graph=b.area;b.fillGraph=!0;d.drawGraph.call(b);b.area=b.graph;delete b.nextPoints;delete b.fillGraph;b.color=h}g.forEach(function(a,g){n[g]?(b.points=
|
|
13
|
+
n[g],e[a]?b.options=m(e[a].styles,u):t('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):t('Error: "'+a+" doesn't have equivalent in pointArrayMap. To many elements in linesApiNames relative to pointArrayMap.\"")});b.points=c;b.options=e;b.graph=k;d.drawGraph.call(b)}function c(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 e=a.length-1;0<=e;e--)c.push(a[e])}}else c=d.getGraphPath.apply(this,arguments);return c}function k(b){var a=[];(this.pointArrayMap||[]).forEach(function(c){a.push(b[c])});return a}function e(){var b=this,a=this.pointArrayMap,c=[],e;c=w(this);d.translate.apply(this,arguments);this.points.forEach(function(g){a.forEach(function(a,k){e=g[a];b.dataModify&&(e=b.dataModify.modifyValue(e));null!==e&&(g[c[k]]=
|
|
15
|
+
b.yAxis.toPixels(e,!0))})})}var n=[],h=["bottomLine"],r=["top","bottom"],p=["top"];a.compose=function(b){if(-1===n.indexOf(b)){n.push(b);var a=b.prototype;a.linesApiNames=a.linesApiNames||h.slice();a.pointArrayMap=a.pointArrayMap||r.slice();a.pointValKey=a.pointValKey||"top";a.areaLinesNames=a.areaLinesNames||p.slice();a.drawGraph=u;a.getGraphPath=c;a.toYData=k;a.translate=e}return b}})(h||(h={}));return h});l(a,"Stock/Indicators/Aroon/AroonIndicator.js",[a["Stock/Indicators/MultipleLinesComposition.js"],
|
|
16
|
+
a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,f,d){function l(a,d){var c=a[0],k=0,e;for(e=1;e<a.length;e++)if("max"===d&&a[e]>=c||"min"===d&&a[e]<=c)c=a[e],k=e;return k}var t=this&&this.__extends||function(){var a=function(d,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(d,c)};return function(d,c){function k(){this.constructor=d}a(d,c);d.prototype=null===c?Object.create(c):
|
|
17
|
+
(k.prototype=c.prototype,new k)}}(),m=f.seriesTypes.sma,h=d.extend,x=d.merge,v=d.pick;d=function(a){function d(){var c=null!==a&&a.apply(this,arguments)||this;c.data=void 0;c.options=void 0;c.points=void 0;return c}t(d,a);d.prototype.getValues=function(a,d){d=d.period;var c=a.xData,f=(a=a.yData)?a.length:0,h=[],k=[],p=[],b;for(b=d-1;b<f;b++){var g=a.slice(b-d+1,b+2);var m=l(g.map(function(a){return v(a[2],a)}),"min");g=l(g.map(function(a){return v(a[1],a)}),"max");g=g/d*100;m=m/d*100;c[b+1]&&(h.push([c[b+
|
|
18
|
+
1],g,m]),k.push(c[b+1]),p.push([g,m]))}return{values:h,xData:k,yData:p}};d.defaultOptions=x(m.defaultOptions,{params:{index:void 0,period:25},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span><b> {series.name}</b><br/>Aroon Up: {point.y}<br/>Aroon Down: {point.aroonDown}<br/>'},aroonDown:{styles:{lineWidth:1,lineColor:void 0}},dataGrouping:{approximation:"averages"}});return d}(m);h(d.prototype,{areaLinesNames:[],linesApiNames:["aroonDown"],nameBase:"Aroon",
|
|
19
|
+
pointArrayMap:["y","aroonDown"],pointValKey:"y"});a.compose(d);f.registerSeriesType("aroon",d);"";return d});l(a,"masters/indicators/aroon.src.js",[],function(){})});
|
|
20
20
|
//# sourceMappingURL=aroon.js.map
|