highcharts 11.3.0 → 11.4.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/README.md +1 -1
- package/bower.json +1 -1
- package/css/annotations/popup.css +27 -19
- package/css/stocktools/gui.css +19 -7
- package/es-modules/Accessibility/A11yI18n.js +4 -6
- package/es-modules/Accessibility/Accessibility.js +8 -6
- package/es-modules/Accessibility/Components/InfoRegionsComponent.js +11 -6
- package/es-modules/Accessibility/Components/LegendComponent.js +4 -4
- package/es-modules/Accessibility/Components/MenuComponent.js +3 -6
- package/es-modules/Accessibility/Components/NavigatorComponent.js +6 -3
- package/es-modules/Accessibility/Components/RangeSelectorComponent.js +4 -7
- package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +18 -3
- package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +5 -3
- package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +4 -4
- package/es-modules/Accessibility/FocusBorder.js +5 -5
- package/es-modules/Accessibility/HighContrastMode.js +22 -13
- package/es-modules/Accessibility/HighContrastTheme.js +2 -6
- package/es-modules/Accessibility/KeyboardNavigation.js +17 -8
- package/es-modules/Accessibility/Options/A11yDefaults.js +11 -1
- package/es-modules/Accessibility/ProxyElement.js +4 -4
- package/es-modules/Accessibility/ProxyProvider.js +8 -2
- package/es-modules/Accessibility/Utils/DOMElementProvider.js +8 -0
- package/es-modules/Accessibility/Utils/EventProvider.js +9 -0
- package/es-modules/Core/Animation/Fx.js +3 -3
- package/es-modules/Core/Axis/Axis.js +43 -97
- package/es-modules/Core/Axis/Axis3DComposition.js +5 -5
- package/es-modules/Core/Axis/Axis3DDefaults.js +1 -1
- package/es-modules/Core/Axis/AxisDefaults.js +18 -7
- package/es-modules/Core/Axis/BrokenAxis.js +4 -6
- package/es-modules/Core/Axis/Color/ColorAxis.js +2 -1
- package/es-modules/Core/Axis/Color/ColorAxisComposition.js +3 -5
- package/es-modules/Core/Axis/DateTimeAxis.js +3 -5
- package/es-modules/Core/Axis/GridAxis.js +7 -7
- package/es-modules/Core/Axis/LogarithmicAxis.js +2 -4
- package/es-modules/Core/Axis/NavigatorAxisComposition.js +26 -22
- package/es-modules/Core/Axis/OrdinalAxis.js +97 -53
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +3 -3
- package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js +4 -5
- package/es-modules/Core/Axis/RadialAxis.js +5 -5
- package/es-modules/Core/Axis/ScrollbarAxis.js +2 -2
- package/es-modules/Core/Axis/Stacking/StackItem.js +8 -4
- package/es-modules/Core/Axis/Stacking/StackingAxis.js +3 -5
- package/es-modules/Core/Axis/Tick.js +16 -7
- package/es-modules/Core/Axis/Tick3DComposition.js +2 -2
- package/es-modules/Core/Axis/TreeGrid/TreeGridAxis.js +4 -8
- package/es-modules/Core/Axis/TreeGrid/TreeGridTick.js +3 -6
- package/es-modules/Core/Axis/WaterfallAxis.js +3 -3
- package/es-modules/Core/Axis/ZAxis.js +6 -11
- package/es-modules/Core/Chart/Chart.js +201 -176
- package/es-modules/Core/Chart/Chart3D.js +1 -1
- package/es-modules/Core/Chart/ChartDefaults.js +7 -0
- package/es-modules/Core/Chart/GanttChart.js +2 -2
- package/es-modules/Core/Chart/MapChart.js +12 -2
- package/es-modules/Core/Chart/StockChart.js +12 -11
- package/es-modules/Core/Color/Color.js +3 -3
- package/es-modules/Core/Color/Palettes.js +2 -2
- package/es-modules/Core/Defaults.js +18 -15
- package/es-modules/Core/Geometry/CircleUtilities.js +3 -3
- package/es-modules/Core/Globals.js +2 -2
- package/es-modules/Core/HttpUtilities.js +4 -4
- package/es-modules/Core/Legend/Legend.js +6 -6
- package/es-modules/Core/MSPointer.js +7 -7
- package/es-modules/Core/Pointer.js +230 -245
- package/es-modules/Core/Renderer/HTML/AST.js +1 -1
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +213 -26
- package/es-modules/Core/Renderer/RendererUtilities.js +1 -1
- package/es-modules/Core/Renderer/SVG/SVGElement.js +85 -52
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +14 -11
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +17 -14
- package/es-modules/Core/Renderer/SVG/SVGRenderer3D.js +8 -7
- package/es-modules/Core/Renderer/SVG/Symbols.js +1 -1
- package/es-modules/Core/Renderer/SVG/TextBuilder.js +2 -2
- package/es-modules/Core/Responsive.js +5 -6
- package/es-modules/Core/Series/DataLabel.js +70 -90
- package/es-modules/Core/Series/DataSeriesComposition.js +1 -1
- package/es-modules/Core/Series/DataSeriesConverter.js +2 -2
- package/es-modules/Core/Series/Point.js +48 -40
- package/es-modules/Core/Series/Series.js +61 -51
- package/es-modules/Core/Series/Series3D.js +2 -2
- package/es-modules/Core/Series/SeriesRegistry.js +10 -2
- package/es-modules/Core/Templating.js +1 -1
- package/es-modules/Core/Time.js +12 -7
- package/es-modules/Core/Tooltip.js +19 -17
- package/es-modules/Core/Utilities.js +54 -26
- package/es-modules/Data/Connectors/CSVConnector.js +2 -2
- package/es-modules/Data/Connectors/DataConnector.js +4 -2
- package/es-modules/Data/Connectors/GoogleSheetsConnector.js +2 -2
- package/es-modules/Data/Connectors/HTMLTableConnector.js +2 -2
- package/es-modules/Data/Connectors/JSONConnector.js +3 -5
- package/es-modules/Data/Converters/CSVConverter.js +1 -3
- package/es-modules/Data/Converters/DataConverter.js +8 -2
- package/es-modules/Data/Converters/HTMLTableConverter.js +1 -3
- package/es-modules/Data/Converters/JSONConverter.js +1 -0
- package/es-modules/Data/DataTable.js +1 -2
- package/es-modules/Data/Formula/FormulaProcessor.js +4 -2
- package/es-modules/Data/Modifiers/DataModifier.js +15 -3
- package/es-modules/Extensions/Annotations/Annotation.js +6 -7
- package/es-modules/Extensions/Annotations/AnnotationChart.js +4 -5
- package/es-modules/Extensions/Annotations/AnnotationDefaults.js +4 -4
- package/es-modules/Extensions/Annotations/ControlPoint.js +2 -2
- package/es-modules/Extensions/Annotations/ControlTarget.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/Controllable.js +7 -3
- package/es-modules/Extensions/Annotations/Controllables/ControllableEllipse.js +3 -3
- package/es-modules/Extensions/Annotations/Controllables/ControllableLabel.js +8 -9
- package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +3 -4
- package/es-modules/Extensions/Annotations/EventEmitter.js +6 -6
- package/es-modules/Extensions/Annotations/NavigationBindings.js +29 -18
- package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +6 -6
- package/es-modules/Extensions/Annotations/Popup/Popup.js +1 -1
- package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +10 -6
- package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +2 -2
- package/es-modules/Extensions/Annotations/Popup/PopupIndicators.js +31 -31
- package/es-modules/Extensions/Annotations/Popup/PopupTabs.js +1 -1
- package/es-modules/Extensions/Annotations/Types/BasicAnnotation.js +14 -11
- package/es-modules/Extensions/Annotations/Types/FibonacciTimeZones.js +1 -1
- package/es-modules/Extensions/Annotations/Types/Measure.js +1 -1
- package/es-modules/Extensions/ArrowSymbols.js +7 -13
- package/es-modules/Extensions/Boost/Boost.js +39 -7
- package/es-modules/Extensions/Boost/BoostChart.js +4 -4
- package/es-modules/Extensions/Boost/BoostSeries.js +58 -13
- package/es-modules/Extensions/Boost/WGLRenderer.js +3 -3
- package/es-modules/Extensions/Boost/WGLVertexBuffer.js +1 -1
- package/es-modules/Extensions/BoostCanvas.js +5 -4
- package/es-modules/Extensions/BorderRadius.js +5 -4
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +9 -9
- package/es-modules/Extensions/CurrentDateIndication.js +1 -1
- package/es-modules/Extensions/Data.js +11 -11
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +1 -1
- package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +8 -9
- package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +1 -1
- package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +6 -7
- package/es-modules/Extensions/Debugger/Debugger.js +1 -1
- package/es-modules/Extensions/Debugger/ErrorMessages.js +2 -2
- package/es-modules/Extensions/DragPanes/AxisResizer.js +13 -16
- package/es-modules/Extensions/DragPanes/DragPanes.js +2 -4
- package/es-modules/Extensions/DraggablePoints/DragDropDefaults.js +2 -1
- package/es-modules/Extensions/DraggablePoints/DragDropUtilities.js +1 -1
- package/es-modules/Extensions/DraggablePoints/DraggableChart.js +4 -4
- package/es-modules/Extensions/DraggablePoints/DraggablePoints.js +8 -9
- package/es-modules/Extensions/Drilldown/Drilldown.js +11 -9
- package/es-modules/Extensions/Drilldown/DrilldownSeries.js +5 -6
- package/es-modules/Extensions/ExportData/ExportData.js +27 -18
- package/es-modules/Extensions/Exporting/Exporting.js +25 -20
- package/es-modules/Extensions/Exporting/ExportingDefaults.js +1 -1
- package/es-modules/Extensions/Exporting/Fullscreen.js +5 -10
- package/es-modules/Extensions/MarkerClusters/MarkerClusterScatter.js +26 -21
- package/es-modules/Extensions/MarkerClusters/MarkerClusterSymbols.js +2 -12
- package/es-modules/Extensions/MarkerClusters/MarkerClusters.js +3 -3
- package/es-modules/Extensions/MouseWheelZoom/MouseWheelZoom.js +51 -161
- package/es-modules/Extensions/NoDataToDisplay/NoDataToDisplay.js +3 -5
- package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +5 -6
- package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
- package/es-modules/Extensions/OverlappingDataLabels.js +21 -49
- package/es-modules/Extensions/Pane/PaneComposition.js +3 -5
- package/es-modules/Extensions/ParallelCoordinates/ParallelAxis.js +2 -4
- package/es-modules/Extensions/ParallelCoordinates/ParallelCoordinates.js +5 -6
- package/es-modules/Extensions/ParallelCoordinates/ParallelSeries.js +1 -1
- package/es-modules/Extensions/PatternFill.js +19 -22
- package/es-modules/Extensions/PriceIndication.js +1 -1
- package/es-modules/Extensions/ScrollablePlotArea.js +218 -292
- package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +26 -18
- package/es-modules/Extensions/Sonification/Options.js +1 -0
- package/es-modules/Extensions/Sonification/SonificationSpeaker.js +2 -2
- package/es-modules/Extensions/Sonification/SynthPatch.js +3 -3
- package/es-modules/Extensions/StaticScale.js +3 -5
- package/es-modules/Gantt/Legacy.js +1 -1
- package/es-modules/Gantt/Pathfinder.js +2 -2
- package/es-modules/Gantt/PathfinderComposition.js +3 -5
- package/es-modules/Gantt/Tree.js +3 -3
- package/es-modules/Maps/GeoJSONComposition.js +20 -13
- package/es-modules/Maps/MapNavigation.js +2 -2
- package/es-modules/Maps/MapPointer.js +3 -19
- package/es-modules/Maps/MapSymbols.js +3 -9
- package/es-modules/Maps/MapView.js +134 -74
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +5 -4
- package/es-modules/Series/Area/AreaSeries.js +2 -4
- package/es-modules/Series/Area3D/Area3DSeries.js +1 -1
- package/es-modules/Series/AreaRange/AreaRangePoint.js +2 -2
- package/es-modules/Series/AreaRange/AreaRangeSeries.js +2 -3
- package/es-modules/Series/AreaSpline/AreaSplineSeries.js +1 -1
- package/es-modules/Series/Bar/BarSeries.js +1 -1
- package/es-modules/Series/Bellcurve/BellcurveSeries.js +1 -1
- package/es-modules/Series/BoxPlot/BoxPlotSeriesDefaults.js +4 -0
- package/es-modules/Series/Bubble/BubbleLegendComposition.js +1 -1
- package/es-modules/Series/Bubble/BubbleLegendDefaults.js +2 -2
- package/es-modules/Series/Bubble/BubbleLegendItem.js +3 -3
- package/es-modules/Series/Bubble/BubbleSeries.js +1 -1
- package/es-modules/Series/Bullet/BulletSeriesDefaults.js +2 -2
- package/es-modules/Series/Candlestick/CandlestickSeries.js +2 -2
- package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +1 -5
- package/es-modules/Series/ColorMapComposition.js +1 -1
- package/es-modules/Series/Column/ColumnDataLabel.js +2 -2
- package/es-modules/Series/Column/ColumnSeries.js +20 -22
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +1 -1
- package/es-modules/Series/Column3D/Column3DComposition.js +1 -1
- package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +2 -1
- package/es-modules/Series/Cylinder/CylinderComposition.js +9 -9
- package/es-modules/Series/DataModifyComposition.js +5 -5
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +3 -2
- package/es-modules/Series/DependencyWheel/DependencyWheelSeriesDefaults.js +1 -1
- package/es-modules/Series/DragNodesComposition.js +7 -7
- package/es-modules/Series/DrawPointUtilities.js +0 -2
- package/es-modules/Series/Dumbbell/DumbbellSeriesDefaults.js +1 -1
- package/es-modules/Series/Funnel/FunnelSeries.js +1 -1
- package/es-modules/Series/Funnel3D/Funnel3DComposition.js +6 -6
- package/es-modules/Series/Funnel3D/Funnel3DSeriesDefaults.js +2 -2
- package/es-modules/Series/Funnel3D/SVGElement3DFunnel.js +1 -1
- package/es-modules/Series/Gantt/GanttSeries.js +0 -1
- package/es-modules/Series/GeoHeatmap/GeoHeatmapSeries.js +5 -5
- package/es-modules/Series/GraphLayoutComposition.js +1 -1
- package/es-modules/Series/Heatmap/HeatmapSeries.js +2 -2
- package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +1 -1
- package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -1
- package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +3 -3
- package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +1 -1
- package/es-modules/Series/HollowCandlestick/HollowCandlestickSeries.js +2 -2
- package/es-modules/Series/Item/ItemSeries.js +1 -1
- package/es-modules/Series/Line/LineSeries.js +1 -1
- package/es-modules/Series/Lollipop/LollipopSeries.js +3 -1
- package/es-modules/Series/Map/MapPoint.js +5 -1
- package/es-modules/Series/Map/MapSeries.js +32 -7
- package/es-modules/Series/Map/MapSeriesDefaults.js +5 -3
- package/es-modules/Series/Networkgraph/EulerIntegration.js +5 -5
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +4 -4
- package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +5 -5
- package/es-modules/Series/Networkgraph/QuadTree.js +1 -1
- package/es-modules/Series/Networkgraph/QuadTreeNode.js +1 -1
- package/es-modules/Series/Networkgraph/VerletIntegration.js +9 -9
- package/es-modules/Series/NodesComposition.js +1 -1
- package/es-modules/Series/OHLC/OHLCSeries.js +1 -1
- package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +1 -1
- package/es-modules/Series/OnSeriesComposition.js +1 -1
- package/es-modules/Series/Organization/OrganizationPoint.js +1 -1
- package/es-modules/Series/Organization/OrganizationSeries.js +22 -10
- package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +15 -2
- package/es-modules/Series/PackedBubble/PackedBubbleLayout.js +3 -5
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +6 -10
- package/es-modules/Series/Pictorial/PictorialSeries.js +2 -2
- package/es-modules/Series/Pie/PieDataLabel.js +2 -2
- package/es-modules/Series/Pie/PiePoint.js +1 -1
- package/es-modules/Series/Pie/PieSeries.js +10 -1
- package/es-modules/Series/Pie/PieSeriesDefaults.js +1 -1
- package/es-modules/Series/Pie3D/Pie3DSeries.js +2 -2
- package/es-modules/Series/PolarComposition.js +22 -20
- package/es-modules/Series/Sankey/SankeyColumnComposition.js +1 -1
- package/es-modules/Series/Sankey/SankeySeries.js +8 -8
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +57 -13
- package/es-modules/Series/SeriesOnPointComposition.js +3 -3
- package/es-modules/Series/Spline/SplineSeries.js +1 -1
- package/es-modules/Series/Sunburst/SunburstPoint.js +1 -1
- package/es-modules/Series/Sunburst/SunburstSeries.js +2 -7
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +3 -3
- package/es-modules/Series/Sunburst/SunburstUtilities.js +1 -1
- package/es-modules/Series/TiledWebMap/TiledWebMapSeries.js +23 -25
- package/es-modules/Series/Tilemap/TilemapSeries.js +2 -2
- package/es-modules/Series/Timeline/TimelineSeries.js +2 -2
- package/es-modules/Series/TreeUtilities.js +23 -1
- package/es-modules/Series/Treegraph/TreegraphLayout.js +7 -11
- package/es-modules/Series/Treegraph/TreegraphPoint.js +1 -0
- package/es-modules/Series/Treegraph/TreegraphSeries.js +8 -8
- package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +39 -2
- package/es-modules/Series/Treemap/TreemapSeries.js +4 -2
- package/es-modules/Series/Treemap/TreemapUtilities.js +0 -7
- package/es-modules/Series/Variwide/VariwideComposition.js +6 -2
- package/es-modules/Series/Variwide/VariwideSeries.js +1 -1
- package/es-modules/Series/Venn/VennSeries.js +4 -4
- package/es-modules/Series/Venn/VennUtils.js +5 -6
- package/es-modules/Series/Waterfall/WaterfallSeriesDefaults.js +1 -1
- package/es-modules/Series/Windbarb/WindbarbSeries.js +1 -1
- package/es-modules/Series/Wordcloud/WordcloudUtils.js +6 -4
- package/es-modules/Series/XRange/XRangePoint.js +2 -2
- package/es-modules/Series/XRange/XRangeSeries.js +1 -1
- package/es-modules/Shared/BaseForm.js +1 -1
- package/es-modules/Stock/Indicators/AD/ADIndicator.js +3 -1
- package/es-modules/Stock/Indicators/APO/APOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Aroon/AroonIndicator.js +1 -1
- package/es-modules/Stock/Indicators/CMF/CMFIndicator.js +1 -1
- package/es-modules/Stock/Indicators/CMO/CMOIndicator.js +2 -2
- package/es-modules/Stock/Indicators/Chaikin/ChaikinIndicator.js +1 -1
- package/es-modules/Stock/Indicators/DPO/DPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +1 -1
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +7 -7
- package/es-modules/Stock/Indicators/MultipleLinesComposition.js +9 -9
- package/es-modules/Stock/Indicators/OBV/OBVIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +2 -2
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +16 -17
- package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +4 -5
- package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
- package/es-modules/Stock/Indicators/Zigzag/ZigzagIndicator.js +5 -5
- package/es-modules/Stock/Navigator/ChartNavigatorComposition.js +188 -0
- package/es-modules/Stock/Navigator/Navigator.js +42 -27
- package/es-modules/Stock/Navigator/NavigatorComposition.js +10 -149
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +16 -2
- package/es-modules/Stock/Navigator/StandaloneNavigator.js +334 -0
- package/es-modules/Stock/Navigator/StandaloneNavigatorDefaults.js +64 -0
- package/es-modules/Stock/RangeSelector/RangeSelector.js +28 -16
- package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +2 -2
- package/es-modules/Stock/Scrollbar/Scrollbar.js +10 -10
- package/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -3
- package/es-modules/Stock/StockTools/StockToolbar.js +6 -5
- package/es-modules/Stock/StockTools/StockTools.js +10 -13
- package/es-modules/Stock/StockTools/StockToolsBindings.js +35 -35
- package/es-modules/Stock/StockTools/StockToolsDefaults.js +2 -1
- package/es-modules/Stock/StockTools/StockToolsGui.js +7 -8
- package/es-modules/Stock/StockTools/StockToolsUtilities.js +8 -9
- package/es-modules/Stock/Utilities/StockUtilities.js +41 -0
- package/es-modules/masters/highcharts-3d.src.js +2 -1
- package/es-modules/masters/highcharts-gantt.src.js +1 -1
- package/es-modules/masters/highcharts-more.src.js +2 -1
- package/es-modules/masters/highcharts.src.js +41 -40
- 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 +3 -1
- package/es-modules/masters/indicators/accumulation-distribution.src.js +3 -1
- package/es-modules/masters/indicators/ao.src.js +3 -1
- package/es-modules/masters/indicators/apo.src.js +3 -1
- package/es-modules/masters/indicators/aroon-oscillator.src.js +3 -1
- package/es-modules/masters/indicators/aroon.src.js +3 -1
- package/es-modules/masters/indicators/atr.src.js +3 -1
- package/es-modules/masters/indicators/bollinger-bands.src.js +3 -1
- package/es-modules/masters/indicators/cci.src.js +3 -1
- package/es-modules/masters/indicators/chaikin.src.js +3 -1
- package/es-modules/masters/indicators/cmf.src.js +3 -1
- package/es-modules/masters/indicators/cmo.src.js +3 -1
- package/es-modules/masters/indicators/dema.src.js +3 -1
- package/es-modules/masters/indicators/disparity-index.src.js +3 -1
- package/es-modules/masters/indicators/dmi.src.js +3 -1
- package/es-modules/masters/indicators/dpo.src.js +3 -1
- package/es-modules/masters/indicators/ema.src.js +2 -0
- package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +3 -1
- package/es-modules/masters/indicators/indicators-all.src.js +3 -1
- package/es-modules/masters/indicators/indicators.src.js +7 -1
- package/es-modules/masters/indicators/keltner-channels.src.js +3 -1
- package/es-modules/masters/indicators/klinger.src.js +3 -1
- package/es-modules/masters/indicators/macd.src.js +3 -1
- package/es-modules/masters/indicators/mfi.src.js +3 -1
- package/es-modules/masters/indicators/momentum.src.js +3 -1
- package/es-modules/masters/indicators/natr.src.js +3 -1
- package/es-modules/masters/indicators/obv.src.js +3 -1
- package/es-modules/masters/indicators/pivot-points.src.js +3 -1
- package/es-modules/masters/indicators/ppo.src.js +3 -1
- package/es-modules/masters/indicators/price-channel.src.js +3 -1
- package/es-modules/masters/indicators/price-envelopes.src.js +3 -1
- package/es-modules/masters/indicators/psar.src.js +3 -1
- package/es-modules/masters/indicators/regressions.src.js +3 -1
- package/es-modules/masters/indicators/roc.src.js +3 -1
- package/es-modules/masters/indicators/rsi.src.js +3 -1
- package/es-modules/masters/indicators/slow-stochastic.src.js +3 -1
- package/es-modules/masters/indicators/stochastic.src.js +3 -1
- package/es-modules/masters/indicators/supertrend.src.js +3 -1
- package/es-modules/masters/indicators/tema.src.js +3 -1
- package/es-modules/masters/indicators/trendline.src.js +3 -1
- package/es-modules/masters/indicators/trix.src.js +3 -1
- package/es-modules/masters/indicators/volume-by-price.src.js +3 -1
- package/es-modules/masters/indicators/vwap.src.js +3 -1
- package/es-modules/masters/indicators/williams-r.src.js +3 -1
- package/es-modules/masters/indicators/wma.src.js +3 -1
- package/es-modules/masters/indicators/zigzag.src.js +3 -1
- package/es-modules/masters/modules/accessibility.src.js +4 -1
- package/es-modules/masters/modules/annotations-advanced.src.js +3 -5
- package/es-modules/masters/modules/annotations.src.js +6 -3
- package/es-modules/masters/modules/arc-diagram.src.js +3 -1
- package/es-modules/masters/modules/arrow-symbols.src.js +2 -1
- package/es-modules/masters/modules/boost-canvas.src.js +2 -1
- package/es-modules/masters/modules/boost.src.js +3 -2
- package/es-modules/masters/modules/broken-axis.src.js +4 -3
- package/es-modules/masters/modules/bullet.src.js +3 -1
- package/es-modules/masters/modules/coloraxis.src.js +4 -3
- package/es-modules/masters/modules/current-date-indicator.src.js +2 -1
- package/es-modules/masters/modules/cylinder.src.js +3 -1
- package/es-modules/masters/modules/data-tools.src.js +9 -8
- package/es-modules/masters/modules/data.src.js +9 -8
- package/es-modules/masters/modules/datagrouping.src.js +7 -5
- package/es-modules/masters/modules/debugger.src.js +3 -2
- package/es-modules/masters/modules/dependency-wheel.src.js +3 -1
- package/es-modules/masters/modules/dotplot.src.js +3 -1
- package/es-modules/masters/modules/drag-panes.src.js +2 -1
- package/es-modules/masters/modules/draggable-points.src.js +2 -1
- package/es-modules/masters/modules/drilldown.src.js +3 -2
- package/es-modules/masters/modules/dumbbell.src.js +3 -1
- package/es-modules/masters/modules/export-data.src.js +5 -4
- package/es-modules/masters/modules/exporting.src.js +6 -5
- package/es-modules/masters/modules/flowmap.src.js +3 -1
- package/es-modules/masters/modules/full-screen.src.js +4 -3
- package/es-modules/masters/modules/funnel.src.js +2 -1
- package/es-modules/masters/modules/funnel3d.src.js +4 -3
- package/es-modules/masters/modules/gantt.src.js +15 -17
- package/es-modules/masters/modules/geoheatmap.src.js +3 -1
- package/es-modules/masters/modules/grid-axis.src.js +2 -1
- package/es-modules/masters/modules/heatmap.src.js +3 -5
- package/es-modules/masters/modules/heikinashi.src.js +2 -1
- package/es-modules/masters/modules/histogram-bellcurve.src.js +3 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +3 -1
- package/es-modules/masters/modules/item-series.src.js +3 -1
- package/es-modules/masters/modules/lollipop.src.js +3 -1
- package/es-modules/masters/modules/map.src.js +15 -10
- package/es-modules/masters/modules/marker-clusters.src.js +2 -1
- package/es-modules/masters/modules/mouse-wheel-zoom.src.js +4 -2
- package/es-modules/masters/modules/navigator.src.d.ts +1 -0
- package/es-modules/masters/modules/navigator.src.js +19 -0
- package/es-modules/masters/modules/networkgraph.src.js +2 -1
- package/es-modules/masters/modules/no-data-to-display.src.js +2 -1
- package/es-modules/masters/modules/offline-exporting.src.js +4 -3
- package/es-modules/masters/modules/organization.src.js +3 -1
- package/es-modules/masters/modules/overlapping-datalabels.src.js +4 -2
- package/es-modules/masters/modules/parallel-coordinates.src.js +2 -1
- package/es-modules/masters/modules/pareto.src.js +3 -1
- package/es-modules/masters/modules/pathfinder.src.js +4 -3
- package/es-modules/masters/modules/pattern-fill.src.js +2 -1
- package/es-modules/masters/modules/pictorial.src.js +3 -1
- package/es-modules/masters/modules/price-indicator.src.js +2 -1
- package/es-modules/masters/modules/pyramid3d.src.js +3 -1
- package/es-modules/masters/modules/sankey.src.js +3 -1
- package/es-modules/masters/modules/series-label.src.js +2 -1
- package/es-modules/masters/modules/series-on-point.src.js +2 -1
- package/es-modules/masters/modules/solid-gauge.src.js +3 -1
- package/es-modules/masters/modules/sonification.src.js +2 -1
- package/es-modules/masters/modules/static-scale.src.js +2 -1
- package/es-modules/masters/modules/stock-tools.src.js +5 -3
- package/es-modules/masters/modules/stock.src.js +20 -15
- package/es-modules/masters/modules/streamgraph.src.js +3 -1
- package/es-modules/masters/modules/sunburst.src.js +4 -3
- package/es-modules/masters/modules/tiledwebmap.src.js +5 -4
- package/es-modules/masters/modules/tilemap.src.js +2 -1
- package/es-modules/masters/modules/timeline.src.js +3 -1
- package/es-modules/masters/modules/treegraph.src.js +3 -1
- package/es-modules/masters/modules/treegrid.src.js +2 -2
- package/es-modules/masters/modules/treemap.src.js +5 -4
- package/es-modules/masters/modules/variable-pie.src.js +3 -1
- package/es-modules/masters/modules/variwide.src.js +2 -1
- package/es-modules/masters/modules/vector.src.js +3 -1
- package/es-modules/masters/modules/venn.src.js +3 -1
- package/es-modules/masters/modules/windbarb.src.js +3 -1
- package/es-modules/masters/modules/wordcloud.src.js +3 -1
- package/es-modules/masters/modules/xrange.src.js +2 -1
- package/es-modules/masters/standalone-navigator.src.js +13 -0
- package/es-modules/masters/themes/avocado.src.js +2 -1
- package/es-modules/masters/themes/brand-dark.src.js +2 -1
- package/es-modules/masters/themes/brand-light.src.js +2 -1
- package/es-modules/masters/themes/dark-blue.src.js +2 -1
- package/es-modules/masters/themes/dark-green.src.js +2 -1
- package/es-modules/masters/themes/dark-unica.src.js +2 -1
- package/es-modules/masters/themes/gray.src.js +2 -1
- package/es-modules/masters/themes/grid-light.src.js +2 -1
- package/es-modules/masters/themes/grid.src.js +2 -1
- package/es-modules/masters/themes/high-contrast-dark.src.js +2 -1
- package/es-modules/masters/themes/high-contrast-light.src.js +2 -1
- package/es-modules/masters/themes/sand-signika.src.js +2 -1
- package/es-modules/masters/themes/skies.src.js +2 -1
- package/es-modules/masters/themes/sunset.src.js +2 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -0
- package/globals.d.ts +9 -0
- package/globals.src.d.ts +9 -0
- package/highcharts-3d.js +3 -3
- package/highcharts-3d.src.js +32 -33
- package/highcharts-gantt.js +4 -4
- package/highcharts-gantt.src.js +5703 -5639
- package/highcharts-more.d.ts +4 -0
- package/highcharts-more.js +3 -3
- package/highcharts-more.src.d.ts +4 -0
- package/highcharts-more.src.js +88 -87
- package/highcharts.d.ts +834 -5365
- package/highcharts.js +4 -4
- package/highcharts.src.d.ts +834 -5365
- package/highcharts.src.js +1583 -1682
- package/highmaps.js +4 -4
- package/highmaps.src.js +1837 -1835
- package/highstock.js +4 -4
- package/highstock.src.js +12488 -12510
- package/indicators/acceleration-bands.js +3 -3
- package/indicators/acceleration-bands.src.js +12 -11
- package/indicators/accumulation-distribution.js +3 -3
- package/indicators/accumulation-distribution.src.js +6 -3
- package/indicators/ao.js +3 -3
- package/indicators/ao.src.js +3 -2
- package/indicators/apo.js +3 -3
- package/indicators/apo.src.js +4 -3
- package/indicators/aroon-oscillator.js +3 -3
- package/indicators/aroon-oscillator.src.js +12 -11
- package/indicators/aroon.js +3 -3
- package/indicators/aroon.src.js +13 -12
- package/indicators/atr.js +3 -3
- package/indicators/atr.src.js +3 -2
- package/indicators/bollinger-bands.js +3 -3
- package/indicators/bollinger-bands.src.js +12 -11
- package/indicators/cci.js +3 -3
- package/indicators/cci.src.js +3 -2
- package/indicators/chaikin.js +3 -3
- package/indicators/chaikin.src.js +7 -4
- package/indicators/cmf.js +3 -3
- package/indicators/cmf.src.js +4 -3
- package/indicators/cmo.js +3 -3
- package/indicators/cmo.src.js +5 -4
- package/indicators/dema.js +3 -3
- package/indicators/dema.src.js +3 -2
- package/indicators/disparity-index.js +3 -3
- package/indicators/disparity-index.src.js +3 -2
- package/indicators/dmi.js +3 -3
- package/indicators/dmi.src.js +12 -11
- package/indicators/dpo.js +3 -3
- package/indicators/dpo.src.js +4 -3
- package/indicators/ema.js +1 -1
- package/indicators/ema.src.js +2 -1
- package/indicators/ichimoku-kinko-hyo.js +3 -3
- package/indicators/ichimoku-kinko-hyo.src.js +3 -2
- package/indicators/indicators-all.js +3 -3
- package/indicators/indicators-all.src.js +63 -60
- package/indicators/indicators.js +3 -3
- package/indicators/indicators.src.js +286 -3
- package/indicators/keltner-channels.js +3 -3
- package/indicators/keltner-channels.src.js +12 -11
- package/indicators/klinger.js +3 -3
- package/indicators/klinger.src.js +13 -12
- package/indicators/macd.js +3 -3
- package/indicators/macd.src.js +3 -2
- package/indicators/mfi.js +3 -3
- package/indicators/mfi.src.js +3 -2
- package/indicators/momentum.js +3 -3
- package/indicators/momentum.src.js +3 -2
- package/indicators/natr.js +3 -3
- package/indicators/natr.src.js +3 -2
- package/indicators/obv.js +3 -3
- package/indicators/obv.src.js +4 -3
- package/indicators/pivot-points.js +3 -3
- package/indicators/pivot-points.src.js +5 -4
- package/indicators/ppo.js +3 -3
- package/indicators/ppo.src.js +4 -3
- package/indicators/price-channel.js +3 -3
- package/indicators/price-channel.src.js +12 -11
- package/indicators/price-envelopes.js +3 -3
- package/indicators/price-envelopes.src.js +12 -11
- package/indicators/psar.js +3 -3
- package/indicators/psar.src.js +3 -2
- package/indicators/regressions.js +3 -3
- package/indicators/regressions.src.js +10 -9
- package/indicators/roc.js +3 -3
- package/indicators/roc.src.js +3 -2
- package/indicators/rsi.js +3 -3
- package/indicators/rsi.src.js +3 -2
- package/indicators/slow-stochastic.js +3 -3
- package/indicators/slow-stochastic.src.js +3 -2
- package/indicators/stochastic.js +3 -3
- package/indicators/stochastic.src.js +12 -11
- package/indicators/supertrend.js +3 -3
- package/indicators/supertrend.src.js +20 -19
- package/indicators/tema.js +3 -3
- package/indicators/tema.src.js +3 -2
- package/indicators/trendline.js +3 -3
- package/indicators/trendline.src.js +3 -2
- package/indicators/trix.js +3 -3
- package/indicators/trix.src.js +3 -2
- package/indicators/volume-by-price.js +3 -3
- package/indicators/volume-by-price.src.js +8 -7
- package/indicators/vwap.js +3 -3
- package/indicators/vwap.src.js +3 -2
- package/indicators/williams-r.js +3 -3
- package/indicators/williams-r.src.js +4 -3
- package/indicators/wma.js +3 -3
- package/indicators/wma.src.js +3 -2
- package/indicators/zigzag.js +3 -3
- package/indicators/zigzag.src.js +8 -7
- package/lib/svg2pdf.js +7 -7
- package/lib/svg2pdf.src.js +185 -150
- package/modules/accessibility.js +3 -3
- package/modules/accessibility.src.js +664 -2793
- package/modules/annotations-advanced.d.ts +3 -0
- package/modules/annotations-advanced.js +3 -3
- package/modules/annotations-advanced.src.d.ts +3 -0
- package/modules/annotations-advanced.src.js +2949 -2920
- package/modules/annotations.d.ts +0 -3
- package/modules/annotations.js +3 -3
- package/modules/annotations.src.d.ts +0 -3
- package/modules/annotations.src.js +2926 -2905
- package/modules/arc-diagram.js +3 -3
- package/modules/arc-diagram.src.js +8 -6
- package/modules/arrow-symbols.js +3 -3
- package/modules/arrow-symbols.src.js +10 -13
- package/modules/boost-canvas.js +3 -3
- package/modules/boost-canvas.src.js +73 -26
- package/modules/boost.js +3 -3
- package/modules/boost.src.js +108 -30
- package/modules/broken-axis.js +3 -3
- package/modules/broken-axis.src.js +9 -9
- package/modules/bullet.js +3 -3
- package/modules/bullet.src.js +5 -4
- package/modules/coloraxis.js +3 -3
- package/modules/coloraxis.src.js +10 -9
- package/modules/current-date-indicator.js +3 -3
- package/modules/current-date-indicator.src.js +3 -2
- package/modules/cylinder.js +3 -3
- package/modules/cylinder.src.js +12 -11
- package/modules/data-tools.js +3 -3
- package/modules/data-tools.src.js +53 -36
- package/modules/data.d.ts +2 -2
- package/modules/data.js +3 -3
- package/modules/data.src.d.ts +2 -2
- package/modules/data.src.js +24 -23
- package/modules/datagrouping.js +3 -3
- package/modules/datagrouping.src.js +25 -23
- package/modules/debugger.js +3 -3
- package/modules/debugger.src.js +6 -5
- package/modules/dependency-wheel.js +3 -3
- package/modules/dependency-wheel.src.js +7 -5
- package/modules/dotplot.js +3 -3
- package/modules/dotplot.src.js +3 -2
- package/modules/drag-panes.js +3 -3
- package/modules/drag-panes.src.js +19 -21
- package/modules/draggable-points.js +3 -3
- package/modules/draggable-points.src.js +18 -16
- package/modules/drilldown.js +3 -3
- package/modules/drilldown.src.js +29 -26
- package/modules/dumbbell.js +3 -3
- package/modules/dumbbell.src.js +5 -4
- package/modules/export-data.js +3 -3
- package/modules/export-data.src.js +33 -22
- package/modules/exporting.d.ts +1 -1
- package/modules/exporting.js +3 -3
- package/modules/exporting.src.d.ts +1 -1
- package/modules/exporting.src.js +40 -39
- package/modules/flowmap.js +3 -3
- package/modules/flowmap.src.js +3 -2
- package/modules/full-screen.js +3 -3
- package/modules/full-screen.src.js +9 -13
- package/modules/funnel.js +3 -3
- package/modules/funnel.src.js +3 -2
- package/modules/funnel3d.js +3 -3
- package/modules/funnel3d.src.js +12 -12
- package/modules/gantt.d.ts +3 -4
- package/modules/gantt.js +3 -3
- package/modules/gantt.src.d.ts +3 -4
- package/modules/gantt.src.js +4165 -4002
- package/modules/geoheatmap.js +3 -3
- package/modules/geoheatmap.src.js +8 -7
- package/modules/grid-axis.js +3 -3
- package/modules/grid-axis.src.js +9 -8
- package/modules/heatmap.d.ts +2 -2
- package/modules/heatmap.js +3 -3
- package/modules/heatmap.src.d.ts +2 -2
- package/modules/heatmap.src.js +21 -15
- package/modules/heikinashi.js +3 -3
- package/modules/heikinashi.src.js +9 -6
- package/modules/histogram-bellcurve.js +3 -3
- package/modules/histogram-bellcurve.src.js +4 -3
- package/modules/hollowcandlestick.js +3 -3
- package/modules/hollowcandlestick.src.js +5 -4
- package/modules/item-series.js +3 -3
- package/modules/item-series.src.js +4 -3
- package/modules/lollipop.js +3 -3
- package/modules/lollipop.src.js +6 -3
- package/modules/map.d.ts +22 -1
- package/modules/map.js +3 -3
- package/modules/map.src.d.ts +22 -1
- package/modules/map.src.js +256 -155
- package/modules/marker-clusters.js +3 -3
- package/modules/marker-clusters.src.js +35 -37
- package/modules/mouse-wheel-zoom.js +3 -3
- package/modules/mouse-wheel-zoom.src.js +55 -163
- package/modules/navigator.d.ts +148 -0
- package/modules/navigator.js +9 -0
- package/modules/navigator.src.d.ts +148 -0
- package/modules/navigator.src.js +3921 -0
- package/modules/networkgraph.d.ts +2 -2
- package/modules/networkgraph.js +3 -3
- package/modules/networkgraph.src.d.ts +2 -2
- package/modules/networkgraph.src.js +36 -35
- package/modules/no-data-to-display.js +3 -3
- package/modules/no-data-to-display.src.js +6 -6
- package/modules/offline-exporting.js +3 -3
- package/modules/offline-exporting.src.js +10 -10
- package/modules/organization.js +3 -3
- package/modules/organization.src.js +41 -15
- package/modules/overlapping-datalabels.js +3 -3
- package/modules/overlapping-datalabels.src.js +4 -2
- package/modules/parallel-coordinates.js +3 -3
- package/modules/parallel-coordinates.src.js +12 -12
- package/modules/pareto.js +3 -3
- package/modules/pareto.src.js +3 -2
- package/modules/pathfinder.js +3 -3
- package/modules/pathfinder.src.js +18 -22
- package/modules/pattern-fill.js +3 -3
- package/modules/pattern-fill.src.js +22 -23
- package/modules/pictorial.js +3 -3
- package/modules/pictorial.src.js +25 -26
- package/modules/price-indicator.js +3 -3
- package/modules/price-indicator.src.js +3 -2
- package/modules/pyramid3d.js +3 -3
- package/modules/pyramid3d.src.js +3 -2
- package/modules/sankey.js +3 -3
- package/modules/sankey.src.js +93 -26
- package/modules/series-label.js +3 -3
- package/modules/series-label.src.js +28 -19
- package/modules/series-on-point.js +3 -3
- package/modules/series-on-point.src.js +5 -4
- package/modules/solid-gauge.js +3 -3
- package/modules/solid-gauge.src.js +3 -2
- package/modules/sonification.d.ts +2 -2
- package/modules/sonification.js +3 -3
- package/modules/sonification.src.d.ts +2 -2
- package/modules/sonification.src.js +8 -6
- package/modules/static-scale.js +3 -3
- package/modules/static-scale.src.js +6 -6
- package/modules/stock-tools.js +3 -3
- package/modules/stock-tools.src.js +109 -96
- package/modules/stock.d.ts +1 -1
- package/modules/stock.js +3 -3
- package/modules/stock.src.d.ts +1 -1
- package/modules/stock.src.js +10762 -10685
- package/modules/streamgraph.js +3 -3
- package/modules/streamgraph.src.js +3 -2
- package/modules/sunburst.js +3 -3
- package/modules/sunburst.src.js +50 -37
- package/modules/tiledwebmap.js +4 -4
- package/modules/tiledwebmap.src.js +28 -29
- package/modules/tilemap.js +3 -3
- package/modules/tilemap.src.js +4 -3
- package/modules/timeline.js +3 -3
- package/modules/timeline.src.js +5 -4
- package/modules/treegraph.js +3 -3
- package/modules/treegraph.src.js +58 -23
- package/modules/treegrid.js +3 -3
- package/modules/treegrid.src.js +49 -33
- package/modules/treemap.js +3 -3
- package/modules/treemap.src.js +44 -26
- package/modules/variable-pie.js +3 -3
- package/modules/variable-pie.src.js +3 -2
- package/modules/variwide.js +3 -3
- package/modules/variwide.src.js +9 -4
- package/modules/vector.js +3 -3
- package/modules/vector.src.js +3 -2
- package/modules/venn.js +3 -3
- package/modules/venn.src.js +16 -17
- package/modules/windbarb.js +3 -3
- package/modules/windbarb.src.js +5 -4
- package/modules/wordcloud.js +3 -3
- package/modules/wordcloud.src.js +10 -8
- package/modules/xrange.js +3 -3
- package/modules/xrange.src.js +5 -4
- package/package.json +1 -1
- package/standalone-navigator.js +2 -0
- package/standalone-navigator.src.js +49402 -0
- package/themes/avocado.js +3 -3
- package/themes/avocado.src.js +2 -1
- package/themes/brand-dark.js +3 -3
- package/themes/brand-dark.src.js +2 -1
- package/themes/brand-light.js +3 -3
- package/themes/brand-light.src.js +2 -1
- package/themes/dark-blue.js +3 -3
- package/themes/dark-blue.src.js +2 -1
- package/themes/dark-green.js +3 -3
- package/themes/dark-green.src.js +2 -1
- package/themes/dark-unica.js +3 -3
- package/themes/dark-unica.src.js +2 -1
- package/themes/gray.js +3 -3
- package/themes/gray.src.js +2 -1
- package/themes/grid-light.js +3 -3
- package/themes/grid-light.src.js +2 -1
- package/themes/grid.js +3 -3
- package/themes/grid.src.js +2 -1
- package/themes/high-contrast-dark.js +3 -3
- package/themes/high-contrast-dark.src.js +2 -1
- package/themes/high-contrast-light.js +3 -3
- package/themes/high-contrast-light.src.js +2 -1
- package/themes/sand-signika.js +3 -3
- package/themes/sand-signika.src.js +2 -1
- package/themes/skies.js +3 -3
- package/themes/skies.src.js +2 -1
- package/themes/sunset.js +3 -3
- package/themes/sunset.src.js +2 -1
- package/es-modules/Core/Renderer/HTML/HTMLRenderer.js +0 -259
- package/lib/canvg.js +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v11.
|
|
2
|
+
* @license Highstock JS v11.4.0 (2024-03-05)
|
|
3
3
|
*
|
|
4
4
|
* All technical indicators for Highcharts Stock
|
|
5
5
|
*
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
*/
|
|
337
337
|
compareToMain: false,
|
|
338
338
|
/**
|
|
339
|
-
*
|
|
339
|
+
* Parameters used in calculation of regression series' points.
|
|
340
340
|
*/
|
|
341
341
|
params: {
|
|
342
342
|
/**
|
|
@@ -554,7 +554,9 @@
|
|
|
554
554
|
* Static Functions
|
|
555
555
|
*
|
|
556
556
|
* */
|
|
557
|
-
static populateAverage(xVal, yVal, yValVolume, i,
|
|
557
|
+
static populateAverage(xVal, yVal, yValVolume, i,
|
|
558
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
559
|
+
_period) {
|
|
558
560
|
const high = yVal[i][1], low = yVal[i][2], close = yVal[i][3], volume = yValVolume[i], adY = close === high && close === low || high === low ?
|
|
559
561
|
0 :
|
|
560
562
|
((2 * close - low - high) / (high - low)) * volume, adX = xVal[i];
|
|
@@ -885,10 +887,10 @@
|
|
|
885
887
|
*
|
|
886
888
|
* */
|
|
887
889
|
/* *
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
890
|
+
*
|
|
891
|
+
* Constants
|
|
892
|
+
*
|
|
893
|
+
* */
|
|
892
894
|
/**
|
|
893
895
|
* Additional lines DOCS names. Elements of linesApiNames array should
|
|
894
896
|
* be consistent with DOCS line names defined in your implementation.
|
|
@@ -911,7 +913,7 @@
|
|
|
911
913
|
*/
|
|
912
914
|
const pointArrayMap = ['top', 'bottom'];
|
|
913
915
|
/**
|
|
914
|
-
* Names of the lines,
|
|
916
|
+
* Names of the lines, between which the area should be plotted.
|
|
915
917
|
* If the drawing of the area should
|
|
916
918
|
* be disabled for some indicators, leave this option as an empty array.
|
|
917
919
|
* Names should be the same as the names in the pointArrayMap.
|
|
@@ -928,10 +930,10 @@
|
|
|
928
930
|
*/
|
|
929
931
|
const pointValKey = 'top';
|
|
930
932
|
/* *
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
933
|
+
*
|
|
934
|
+
* Functions
|
|
935
|
+
*
|
|
936
|
+
* */
|
|
935
937
|
/**
|
|
936
938
|
* Composition useful for all indicators that have more than one line.
|
|
937
939
|
* Compose it with your implementation where you will provide the
|
|
@@ -1246,7 +1248,7 @@
|
|
|
1246
1248
|
*/
|
|
1247
1249
|
AroonIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
|
|
1248
1250
|
/**
|
|
1249
|
-
*
|
|
1251
|
+
* Parameters used in calculation of aroon series points.
|
|
1250
1252
|
*
|
|
1251
1253
|
* @excluding index
|
|
1252
1254
|
*/
|
|
@@ -2163,7 +2165,7 @@
|
|
|
2163
2165
|
index: void 0,
|
|
2164
2166
|
/**
|
|
2165
2167
|
* The id of another series to use its data as volume data for the
|
|
2166
|
-
*
|
|
2168
|
+
* indicator calculation.
|
|
2167
2169
|
*/
|
|
2168
2170
|
volumeSeriesID: 'volume'
|
|
2169
2171
|
}
|
|
@@ -2517,7 +2519,7 @@
|
|
|
2517
2519
|
sum = accumulatePoints(sum, yVal, periodIndex, index);
|
|
2518
2520
|
price = pick(yVal[rangeIndex][index], yVal[rangeIndex]);
|
|
2519
2521
|
oscillator = price - sum / period;
|
|
2520
|
-
//
|
|
2522
|
+
// subtracting the first period point
|
|
2521
2523
|
sum = accumulatePoints(sum, yVal, j, index, true);
|
|
2522
2524
|
DPO.push([xVal[rangeIndex], oscillator]);
|
|
2523
2525
|
xData.push(xVal[rangeIndex]);
|
|
@@ -2699,7 +2701,7 @@
|
|
|
2699
2701
|
*/
|
|
2700
2702
|
ChaikinIndicator.defaultOptions = merge(EMAIndicator.defaultOptions, {
|
|
2701
2703
|
/**
|
|
2702
|
-
*
|
|
2704
|
+
* Parameters used in calculation of Chaikin Oscillator
|
|
2703
2705
|
* series points.
|
|
2704
2706
|
*
|
|
2705
2707
|
* @excluding index
|
|
@@ -2817,7 +2819,7 @@
|
|
|
2817
2819
|
sumOfLowerValues += values[j - 1] - values[j];
|
|
2818
2820
|
}
|
|
2819
2821
|
}
|
|
2820
|
-
// You might
|
|
2822
|
+
// You might divide by 0 if all values are equal,
|
|
2821
2823
|
// so return 0 in this case.
|
|
2822
2824
|
y =
|
|
2823
2825
|
sumOfHigherValues + sumOfLowerValues > 0 ?
|
|
@@ -2836,7 +2838,7 @@
|
|
|
2836
2838
|
sumOfLowerValues += values[i - 1] - values[i];
|
|
2837
2839
|
}
|
|
2838
2840
|
// Check, to which sum was the first value added to,
|
|
2839
|
-
// and
|
|
2841
|
+
// and subtract this value from given sum.
|
|
2840
2842
|
if (values[i - period] > values[i - period - 1]) {
|
|
2841
2843
|
sumOfHigherValues -= firstAddedSum;
|
|
2842
2844
|
}
|
|
@@ -3430,7 +3432,7 @@
|
|
|
3430
3432
|
*/
|
|
3431
3433
|
APOIndicator.defaultOptions = merge(EMAIndicator.defaultOptions, {
|
|
3432
3434
|
/**
|
|
3433
|
-
*
|
|
3435
|
+
* Parameters used in calculation of Absolute Price Oscillator
|
|
3434
3436
|
* series points.
|
|
3435
3437
|
*
|
|
3436
3438
|
* @excluding period
|
|
@@ -4541,7 +4543,7 @@
|
|
|
4541
4543
|
*/
|
|
4542
4544
|
KlingerIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
|
|
4543
4545
|
/**
|
|
4544
|
-
*
|
|
4546
|
+
* Parameters used in calculation of Klinger Oscillator.
|
|
4545
4547
|
*
|
|
4546
4548
|
* @excluding index, period
|
|
4547
4549
|
*/
|
|
@@ -5524,7 +5526,7 @@
|
|
|
5524
5526
|
period: void 0,
|
|
5525
5527
|
/**
|
|
5526
5528
|
* The id of another series to use its data as volume data for the
|
|
5527
|
-
*
|
|
5529
|
+
* indicator calculation.
|
|
5528
5530
|
*/
|
|
5529
5531
|
volumeSeriesID: 'volume'
|
|
5530
5532
|
},
|
|
@@ -5706,7 +5708,7 @@
|
|
|
5706
5708
|
let currentLabel, pointsLength, point, i;
|
|
5707
5709
|
if (indicator.options.dataLabels.enabled) {
|
|
5708
5710
|
pointsLength = indicator.points.length;
|
|
5709
|
-
// For every
|
|
5711
|
+
// For every Resistance/Support group we need to render labels.
|
|
5710
5712
|
// Add one more item, which will just store dataLabels from
|
|
5711
5713
|
// previous iteration
|
|
5712
5714
|
pointMapping.concat([false]).forEach((position, k) => {
|
|
@@ -5857,7 +5859,7 @@
|
|
|
5857
5859
|
index: void 0,
|
|
5858
5860
|
period: 28,
|
|
5859
5861
|
/**
|
|
5860
|
-
* Algorithm used to calculate
|
|
5862
|
+
* Algorithm used to calculate resistance and support lines based
|
|
5861
5863
|
* on pivot points. Implemented algorithms: `'standard'`,
|
|
5862
5864
|
* `'fibonacci'` and `'camarilla'`
|
|
5863
5865
|
*/
|
|
@@ -6010,7 +6012,7 @@
|
|
|
6010
6012
|
*/
|
|
6011
6013
|
PPOIndicator.defaultOptions = merge(EMAIndicator.defaultOptions, {
|
|
6012
6014
|
/**
|
|
6013
|
-
*
|
|
6015
|
+
* Parameters used in calculation of Percentage Price Oscillator series
|
|
6014
6016
|
* points.
|
|
6015
6017
|
*
|
|
6016
6018
|
* @excluding period
|
|
@@ -7423,7 +7425,7 @@
|
|
|
7423
7425
|
|
|
7424
7426
|
return SlowStochasticIndicator;
|
|
7425
7427
|
});
|
|
7426
|
-
_registerModule(_modules, 'Stock/Indicators/Supertrend/SupertrendIndicator.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']
|
|
7428
|
+
_registerModule(_modules, 'Stock/Indicators/Supertrend/SupertrendIndicator.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (SeriesRegistry, U) {
|
|
7427
7429
|
/* *
|
|
7428
7430
|
*
|
|
7429
7431
|
* License: www.highcharts.com/license
|
|
@@ -7473,7 +7475,7 @@
|
|
|
7473
7475
|
const indicator = this;
|
|
7474
7476
|
super.init.apply(indicator, arguments);
|
|
7475
7477
|
// Only after series are linked add some additional logic/properties.
|
|
7476
|
-
const unbinder = addEvent(
|
|
7478
|
+
const unbinder = addEvent(this.chart.constructor, 'afterLinkSeries', () => {
|
|
7477
7479
|
// Protection for a case where the indicator is being updated,
|
|
7478
7480
|
// for a brief moment the indicator is deleted.
|
|
7479
7481
|
if (indicator.options) {
|
|
@@ -7502,7 +7504,7 @@
|
|
|
7502
7504
|
}
|
|
7503
7505
|
},
|
|
7504
7506
|
// Sorted supertrend points array
|
|
7505
|
-
|
|
7507
|
+
groupedPoints = {
|
|
7506
7508
|
top: [],
|
|
7507
7509
|
bottom: [],
|
|
7508
7510
|
intersect: [] // Change trend line points
|
|
@@ -7538,7 +7540,7 @@
|
|
|
7538
7540
|
prevMainPoint, prevPrevMainPoint,
|
|
7539
7541
|
// Used when particular point color is set
|
|
7540
7542
|
pointColor,
|
|
7541
|
-
// Temporary points that fill
|
|
7543
|
+
// Temporary points that fill groupedPoints array
|
|
7542
7544
|
newPoint, newNextPoint, indicPointsLen = indicPoints.length;
|
|
7543
7545
|
// Loop which sort supertrend points
|
|
7544
7546
|
while (indicPointsLen--) {
|
|
@@ -7609,19 +7611,19 @@
|
|
|
7609
7611
|
nextPoint.y >= nextMainPoint.close) {
|
|
7610
7612
|
point.color = (pointColor || indicOptions.fallingTrendColor ||
|
|
7611
7613
|
indicOptions.color);
|
|
7612
|
-
|
|
7614
|
+
groupedPoints.top.push(newPoint);
|
|
7613
7615
|
}
|
|
7614
7616
|
else if (point.y < mainPoint.close &&
|
|
7615
7617
|
nextPoint.y < nextMainPoint.close) {
|
|
7616
7618
|
point.color = (pointColor || indicOptions.risingTrendColor ||
|
|
7617
7619
|
indicOptions.color);
|
|
7618
|
-
|
|
7620
|
+
groupedPoints.bottom.push(newPoint);
|
|
7619
7621
|
}
|
|
7620
7622
|
else {
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
+
groupedPoints.intersect.push(newPoint);
|
|
7624
|
+
groupedPoints.intersect.push(newNextPoint);
|
|
7623
7625
|
// Additional null point to make a gap in line
|
|
7624
|
-
|
|
7626
|
+
groupedPoints.intersect.push(merge(newNextPoint, {
|
|
7625
7627
|
isNull: true
|
|
7626
7628
|
}));
|
|
7627
7629
|
if (point.y >= mainPoint.close &&
|
|
@@ -7630,8 +7632,8 @@
|
|
|
7630
7632
|
indicOptions.color);
|
|
7631
7633
|
nextPoint.color = (pointColor || indicOptions.risingTrendColor ||
|
|
7632
7634
|
indicOptions.color);
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
+
groupedPoints.top.push(newPoint);
|
|
7636
|
+
groupedPoints.top.push(merge(newNextPoint, {
|
|
7635
7637
|
isNull: true
|
|
7636
7638
|
}));
|
|
7637
7639
|
}
|
|
@@ -7641,8 +7643,8 @@
|
|
|
7641
7643
|
indicOptions.color);
|
|
7642
7644
|
nextPoint.color = (pointColor || indicOptions.fallingTrendColor ||
|
|
7643
7645
|
indicOptions.color);
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
+
groupedPoints.bottom.push(newPoint);
|
|
7647
|
+
groupedPoints.bottom.push(merge(newNextPoint, {
|
|
7646
7648
|
isNull: true
|
|
7647
7649
|
}));
|
|
7648
7650
|
}
|
|
@@ -7652,17 +7654,17 @@
|
|
|
7652
7654
|
if (point.y >= mainPoint.close) {
|
|
7653
7655
|
point.color = (pointColor || indicOptions.fallingTrendColor ||
|
|
7654
7656
|
indicOptions.color);
|
|
7655
|
-
|
|
7657
|
+
groupedPoints.top.push(newPoint);
|
|
7656
7658
|
}
|
|
7657
7659
|
else {
|
|
7658
7660
|
point.color = (pointColor || indicOptions.risingTrendColor ||
|
|
7659
7661
|
indicOptions.color);
|
|
7660
|
-
|
|
7662
|
+
groupedPoints.bottom.push(newPoint);
|
|
7661
7663
|
}
|
|
7662
7664
|
}
|
|
7663
7665
|
}
|
|
7664
7666
|
// Generate lines:
|
|
7665
|
-
objectEach(
|
|
7667
|
+
objectEach(groupedPoints, function (values, lineName) {
|
|
7666
7668
|
indicator.points = values;
|
|
7667
7669
|
indicator.options = merge(supertrendLineOptions[lineName].styles, gappedExtend);
|
|
7668
7670
|
indicator.graph = indicator['graph' + lineName + 'Line'];
|
|
@@ -7790,7 +7792,7 @@
|
|
|
7790
7792
|
*/
|
|
7791
7793
|
SupertrendIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
|
|
7792
7794
|
/**
|
|
7793
|
-
*
|
|
7795
|
+
* Parameters used in calculation of Supertrend indicator series points.
|
|
7794
7796
|
*
|
|
7795
7797
|
* @excluding index
|
|
7796
7798
|
*/
|
|
@@ -7931,7 +7933,7 @@
|
|
|
7931
7933
|
|
|
7932
7934
|
return VBPPoint;
|
|
7933
7935
|
});
|
|
7934
|
-
_registerModule(_modules, 'Stock/Indicators/VBP/VBPIndicator.js', [_modules['Stock/Indicators/VBP/VBPPoint.js'], _modules['Core/Animation/AnimationUtilities.js'], _modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']
|
|
7936
|
+
_registerModule(_modules, 'Stock/Indicators/VBP/VBPIndicator.js', [_modules['Stock/Indicators/VBP/VBPPoint.js'], _modules['Core/Animation/AnimationUtilities.js'], _modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (VBPPoint, A, H, SeriesRegistry, U) {
|
|
7935
7937
|
/* *
|
|
7936
7938
|
*
|
|
7937
7939
|
* (c) 2010-2024 Paweł Dalek
|
|
@@ -8006,7 +8008,7 @@
|
|
|
8006
8008
|
delete options.data;
|
|
8007
8009
|
super.init.apply(indicator, arguments);
|
|
8008
8010
|
// Only after series are linked add some additional logic/properties.
|
|
8009
|
-
const unbinder = addEvent(
|
|
8011
|
+
const unbinder = addEvent(this.chart.constructor, 'afterLinkSeries', function () {
|
|
8010
8012
|
// Protection for a case where the indicator is being updated,
|
|
8011
8013
|
// for a brief moment the indicator is deleted.
|
|
8012
8014
|
if (indicator.options) {
|
|
@@ -8220,7 +8222,7 @@
|
|
|
8220
8222
|
yData: yData
|
|
8221
8223
|
};
|
|
8222
8224
|
}
|
|
8223
|
-
//
|
|
8225
|
+
// Specifying where each zone should start ans end
|
|
8224
8226
|
specifyZones(isOHLC, xValues, yValues, ranges, volumeSeries) {
|
|
8225
8227
|
const indicator = this, rangeExtremes = (isOHLC ? arrayExtremesOHLC(yValues) : false), zoneStarts = indicator.zoneStarts = [], priceZones = [];
|
|
8226
8228
|
let lowRange = rangeExtremes ?
|
|
@@ -8272,7 +8274,7 @@
|
|
|
8272
8274
|
// Checks if each point has a corresponding volume value
|
|
8273
8275
|
if (abs(baseSeriesLength - volumeSeriesLength)) {
|
|
8274
8276
|
// If the first point don't have volume, add 0 value at the
|
|
8275
|
-
//
|
|
8277
|
+
// beginning of the volume array
|
|
8276
8278
|
if (xValues[0] !== volumeXData[0]) {
|
|
8277
8279
|
volumeYData.unshift(0);
|
|
8278
8280
|
}
|
|
@@ -8331,7 +8333,7 @@
|
|
|
8331
8333
|
});
|
|
8332
8334
|
return priceZones;
|
|
8333
8335
|
}
|
|
8334
|
-
// Function
|
|
8336
|
+
// Function responsible for drawing additional lines indicating zones
|
|
8335
8337
|
drawZones(chart, yAxis, zonesValues, zonesStyles) {
|
|
8336
8338
|
const indicator = this, renderer = chart.renderer, leftLinePos = 0, rightLinePos = chart.plotWidth, verticalOffset = chart.plotTop;
|
|
8337
8339
|
let zoneLinesSVG = indicator.zoneLinesSVG, zoneLinesPath = [], verticalLinePos;
|
|
@@ -8781,7 +8783,7 @@
|
|
|
8781
8783
|
*/
|
|
8782
8784
|
WilliamsRIndicator.defaultOptions = merge(SMAIndicator.defaultOptions, {
|
|
8783
8785
|
/**
|
|
8784
|
-
*
|
|
8786
|
+
* Parameters used in calculation of Williams %R series points.
|
|
8785
8787
|
* @excluding index
|
|
8786
8788
|
*/
|
|
8787
8789
|
params: {
|
|
@@ -9017,7 +9019,7 @@
|
|
|
9017
9019
|
'high': 1 - deviation
|
|
9018
9020
|
}, xVal = series.xData, yVal = series.yData, yValLen = yVal ? yVal.length : 0, zigzag = [], xData = [], yData = [];
|
|
9019
9021
|
let i, j, zigzagPoint, directionUp, exitLoop = false, yIndex = false;
|
|
9020
|
-
// Exit if not
|
|
9022
|
+
// Exit if not enough points or no low or high values
|
|
9021
9023
|
if (!xVal || xVal.length <= 1 ||
|
|
9022
9024
|
(yValLen &&
|
|
9023
9025
|
(typeof yVal[0][lowIndex] === 'undefined' ||
|
|
@@ -9029,7 +9031,7 @@
|
|
|
9029
9031
|
// Search for a second zigzag point candidate,
|
|
9030
9032
|
// this will also set first zigzag point
|
|
9031
9033
|
for (i = 1; i < yValLen; i++) {
|
|
9032
|
-
//
|
|
9034
|
+
// required change to go down
|
|
9033
9035
|
if (yVal[i][lowIndex] <= firstZigzagHigh * deviations.high) {
|
|
9034
9036
|
zigzag.push([xVal[0], firstZigzagHigh]);
|
|
9035
9037
|
// second zigzag point candidate
|
|
@@ -9037,7 +9039,7 @@
|
|
|
9037
9039
|
// next line will be going up
|
|
9038
9040
|
directionUp = true;
|
|
9039
9041
|
exitLoop = true;
|
|
9040
|
-
//
|
|
9042
|
+
// required change to go up
|
|
9041
9043
|
}
|
|
9042
9044
|
else if (yVal[i][highIndex] >= firstZigzagLow * deviations.low) {
|
|
9043
9045
|
zigzag.push([xVal[0], firstZigzagLow]);
|
|
@@ -9061,7 +9063,7 @@
|
|
|
9061
9063
|
if (yVal[i][lowIndex] <= zigzagPoint[1]) {
|
|
9062
9064
|
zigzagPoint = [xVal[i], yVal[i][lowIndex]];
|
|
9063
9065
|
}
|
|
9064
|
-
//
|
|
9066
|
+
// required change to go down -> new zigzagpoint and
|
|
9065
9067
|
// direction change
|
|
9066
9068
|
if (yVal[i][highIndex] >=
|
|
9067
9069
|
zigzagPoint[1] * deviations.low) {
|
|
@@ -9073,7 +9075,7 @@
|
|
|
9073
9075
|
if (yVal[i][highIndex] >= zigzagPoint[1]) {
|
|
9074
9076
|
zigzagPoint = [xVal[i], yVal[i][highIndex]];
|
|
9075
9077
|
}
|
|
9076
|
-
//
|
|
9078
|
+
// required change to go down -> new zigzagpoint and
|
|
9077
9079
|
// direction change
|
|
9078
9080
|
if (yVal[i][lowIndex] <=
|
|
9079
9081
|
zigzagPoint[1] * deviations.high) {
|
|
@@ -9375,10 +9377,10 @@
|
|
|
9375
9377
|
params: {
|
|
9376
9378
|
/**
|
|
9377
9379
|
* Unit (in milliseconds) for the x axis distances used to
|
|
9378
|
-
* compute the regression line
|
|
9379
|
-
* every range. In Highcharts Stock the x axis values are
|
|
9380
|
-
* represented in milliseconds which may cause that
|
|
9381
|
-
* between points are "big" integer numbers.
|
|
9380
|
+
* compute the regression line parameters (slope & intercept)
|
|
9381
|
+
* for every range. In Highcharts Stock the x axis values are
|
|
9382
|
+
* always represented in milliseconds which may cause that
|
|
9383
|
+
* distances between points are "big" integer numbers.
|
|
9382
9384
|
*
|
|
9383
9385
|
* Highcharts Stock's linear regression algorithm (least squares
|
|
9384
9386
|
* method) will utilize these "big" integers for finding the
|
|
@@ -9386,10 +9388,10 @@
|
|
|
9386
9388
|
* period. In consequence, this value may be a very "small"
|
|
9387
9389
|
* decimal number that's hard to interpret by a human.
|
|
9388
9390
|
*
|
|
9389
|
-
* For instance: `xAxisUnit`
|
|
9391
|
+
* For instance: `xAxisUnit` equaled to `86400000` ms (1 day)
|
|
9390
9392
|
* forces the algorithm to treat `86400000` as `1` while
|
|
9391
|
-
* computing the slope and the intercept. This may
|
|
9392
|
-
*
|
|
9393
|
+
* computing the slope and the intercept. This may enhance the
|
|
9394
|
+
* legibility of the indicator's values.
|
|
9393
9395
|
*
|
|
9394
9396
|
* Default value is the closest distance between two data
|
|
9395
9397
|
* points.
|
|
@@ -10241,8 +10243,9 @@
|
|
|
10241
10243
|
|
|
10242
10244
|
return DisparityIndexIndicator;
|
|
10243
10245
|
});
|
|
10244
|
-
_registerModule(_modules, 'masters/indicators/indicators-all.src.js', [], function () {
|
|
10246
|
+
_registerModule(_modules, 'masters/indicators/indicators-all.src.js', [_modules['Core/Globals.js']], function (Highcharts) {
|
|
10245
10247
|
|
|
10246
10248
|
|
|
10249
|
+
return Highcharts;
|
|
10247
10250
|
});
|
|
10248
10251
|
}));
|
package/indicators/indicators.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
* Highstock JS v11.
|
|
1
|
+
!/**
|
|
2
|
+
* Highstock JS v11.4.0 (2024-03-04)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
6
6
|
* (c) 2010-2024 Pawel Fus, Sebastian Bochan
|
|
7
7
|
*
|
|
8
8
|
* License: www.highcharts.com/license
|
|
9
|
-
|
|
9
|
+
*/function(t){"object"==typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/indicators/indicators",["highcharts","highcharts/modules/stock"],function(e){return t(e),t.Highcharts=e,t}):t("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(t){"use strict";var e=t?t._modules:{};function a(t,e,a,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,a),"function"==typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}a(e,"Stock/Indicators/SMA/SMAIndicator.js",[e["Core/Chart/Chart.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,a){let{line:i}=e.seriesTypes,{addEvent:s,fireEvent:n,error:o,extend:r,isArray:l,merge:p,pick:h,splat:u}=a;class c extends i{destroy(){this.dataEventsToUnbind.forEach(function(t){t()}),super.destroy.apply(this,arguments)}getName(){let t=[],e=this.name;return e||((this.nameComponents||[]).forEach(function(e,a){t.push(this.options.params[e]+h(this.nameSuffixes[a],""))},this),e=(this.nameBase||this.type.toUpperCase())+(this.nameComponents?" ("+t.join(", ")+")":"")),e}getValues(t,e){let a=e.period,i=t.xData,s=t.yData,n=s.length,o=[],r=[],p=[],h,u=-1,c=0,d,f=0;if(!(i.length<a)){for(l(s[0])&&(u=e.index?e.index:0);c<a-1;)f+=u<0?s[c]:s[c][u],c++;for(h=c;h<n;h++)f+=u<0?s[h]:s[h][u],d=[i[h],f/a],o.push(d),r.push(d[0]),p.push(d[1]),f-=u<0?s[h-c]:s[h-c][u];return{values:o,xData:r,yData:p}}}init(e,a){let i=this;super.init.call(i,e,a);let n=s(t,"afterLinkSeries",function({isUpdating:t}){if(t)return;let a=!!i.dataEventsToUnbind.length;if(!i.linkedParent)return o("Series "+i.options.linkedTo+" not found! Check `linkedTo`.",!1,e);if(!a&&(i.dataEventsToUnbind.push(s(i.linkedParent,"updatedData",function(){i.recalculateValues()})),i.calculateOn.xAxis&&i.dataEventsToUnbind.push(s(i.linkedParent.xAxis,i.calculateOn.xAxis,function(){i.recalculateValues()}))),"init"===i.calculateOn.chart)i.processedYData||i.recalculateValues();else if(!a){let t=s(i.chart,i.calculateOn.chart,function(){i.recalculateValues(),t()})}},{order:0});i.dataEventsToUnbind=[],i.eventsToUnbind.push(n)}recalculateValues(){let t=[],e=this.points||[],a=(this.xData||[]).length,i=!0,s,o,r,l,p,h,c=this.linkedParent.options&&this.linkedParent.yData&&this.linkedParent.yData.length&&this.getValues(this.linkedParent,this.options.params)||{values:[],xData:[],yData:[]};if(a&&!this.hasGroupedData&&this.visible&&this.points){if(this.cropped){for(this.xAxis&&(l=this.xAxis.min,p=this.xAxis.max),r=this.cropData(c.xData,c.yData,l,p),h=0;h<r.xData.length;h++)t.push([r.xData[h]].concat(u(r.yData[h])));s=c.xData.indexOf(this.xData[0]),o=c.xData.indexOf(this.xData[this.xData.length-1]),-1===s&&o===c.xData.length-2&&t[0][0]===e[0].x&&t.shift(),this.updateData(t)}else(this.updateAllPoints||c.xData.length!==a-1&&c.xData.length!==a+1)&&(i=!1,this.updateData(c.values))}i&&(this.xData=c.xData,this.yData=c.yData,this.options.data=c.values),this.calculateOn.xAxis&&this.processedXData&&(delete this.processedXData,this.isDirty=!0,this.redraw()),this.isDirtyData=!!this.linkedSeries.length,n(this,"updatedData")}processData(){let t=this.options.compareToMain,e=this.linkedParent;super.processData.apply(this,arguments),this.dataModify&&e&&e.dataModify&&e.dataModify.compareValue&&t&&(this.dataModify.compareValue=e.dataModify.compareValue)}}return c.defaultOptions=p(i.defaultOptions,{name:void 0,tooltip:{valueDecimals:4},linkedTo:void 0,compareToMain:!1,params:{index:3,period:14}}),r(c.prototype,{calculateOn:{chart:"init"},hasDerivedData:!0,nameComponents:["period"],nameSuffixes:[],useCommonDataGrouping:!0}),e.registerSeriesType("sma",c),c}),a(e,"Stock/Indicators/EMA/EMAIndicator.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){let{sma:a}=t.seriesTypes,{correctFloat:i,isArray:s,merge:n}=e;class o extends a{accumulatePeriodPoints(t,e,a){let i=0,s=0;for(;s<t;)i+=e<0?a[s]:a[s][e],s++;return i}calculateEma(t,e,a,s,n,o,r){let l=t[a-1],p=o<0?e[a-1]:e[a-1][o];return[l,void 0===n?r:i(p*s+n*(1-s))]}getValues(t,e){let a=e.period,i=t.xData,n=t.yData,o=n?n.length:0,r=2/(a+1),l=[],p=[],h=[],u,c,d,f=-1,m=0;if(!(o<a)){for(s(n[0])&&(f=e.index?e.index:0),m=this.accumulatePeriodPoints(a,f,n)/a,d=a;d<o+1;d++)c=this.calculateEma(i,n,d,r,u,f,m),l.push(c),p.push(c[0]),h.push(c[1]),u=c[1];return{values:l,xData:p,yData:h}}}}return o.defaultOptions=n(a.defaultOptions,{params:{index:3,period:9}}),t.registerSeriesType("ema",o),o}),a(e,"Stock/Indicators/MultipleLinesComposition.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){var a;let{sma:{prototype:i}}=t.seriesTypes,{defined:s,error:n,merge:o}=e;return function(t){let e=["bottomLine"],a=["top","bottom"],r=["top"];function l(t){return"plot"+t.charAt(0).toUpperCase()+t.slice(1)}function p(t,e){let a=[];return(t.pointArrayMap||[]).forEach(t=>{t!==e&&a.push(l(t))}),a}function h(){let t=this,e=t.pointValKey,a=t.linesApiNames,r=t.areaLinesNames,h=t.points,u=t.options,c=t.graph,d={options:{gapSize:u.gapSize}},f=[],m=p(t,e),x=h.length,y;if(m.forEach((t,e)=>{for(f[e]=[];x--;)y=h[x],f[e].push({x:y.x,plotX:y.plotX,plotY:y[t],isNull:!s(y[t])});x=h.length}),t.userOptions.fillColor&&r.length){let e=f[m.indexOf(l(r[0]))],a=1===r.length?h:f[m.indexOf(l(r[1]))],s=t.color;t.points=a,t.nextPoints=e,t.color=t.userOptions.fillColor,t.options=o(h,d),t.graph=t.area,t.fillGraph=!0,i.drawGraph.call(t),t.area=t.graph,delete t.nextPoints,delete t.fillGraph,t.color=s}a.forEach((e,a)=>{f[a]?(t.points=f[a],u[e]?t.options=o(u[e].styles,d):n('Error: "There is no '+e+' in DOCS options declared. Check if linesApiNames are consistent with your DOCS line names."'),t.graph=t["graph"+e],i.drawGraph.call(t),t["graph"+e]=t.graph):n('Error: "'+e+" doesn't have equivalent in pointArrayMap. To many elements in linesApiNames relative to pointArrayMap.\"")}),t.points=h,t.options=u,t.graph=c,i.drawGraph.call(t)}function u(t){let e,a=[],s=[];if(t=t||this.points,this.fillGraph&&this.nextPoints){if((e=i.getGraphPath.call(this,this.nextPoints))&&e.length){e[0][0]="L",a=i.getGraphPath.call(this,t),s=e.slice(0,a.length);for(let t=s.length-1;t>=0;t--)a.push(s[t])}}else a=i.getGraphPath.apply(this,arguments);return a}function c(t){let e=[];return(this.pointArrayMap||[]).forEach(a=>{e.push(t[a])}),e}function d(){let t=this.pointArrayMap,e=[],a;e=p(this),i.translate.apply(this,arguments),this.points.forEach(i=>{t.forEach((t,s)=>{a=i[t],this.dataModify&&(a=this.dataModify.modifyValue(a)),null!==a&&(i[e[s]]=this.yAxis.toPixels(a,!0))})})}t.compose=function(t){let i=t.prototype;return i.linesApiNames=i.linesApiNames||e.slice(),i.pointArrayMap=i.pointArrayMap||a.slice(),i.pointValKey=i.pointValKey||"top",i.areaLinesNames=i.areaLinesNames||r.slice(),i.drawGraph=h,i.getGraphPath=u,i.toYData=c,i.translate=d,t}}(a||(a={})),a}),a(e,"masters/indicators/indicators.src.js",[e["Core/Globals.js"],e["Stock/Indicators/MultipleLinesComposition.js"]],function(t,e){return t.MultipleLinesComposition=t.MultipleLinesComposition||e,t})});
|