highcharts 11.4.3 → 11.4.4
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 +1 -1
- package/es-modules/Accessibility/AccessibilityComponent.js +1 -1
- package/es-modules/Accessibility/Components/NavigatorComponent.js +2 -2
- package/es-modules/Accessibility/KeyboardNavigation.js +1 -1
- package/es-modules/Accessibility/KeyboardNavigationHandler.js +5 -5
- package/es-modules/Accessibility/Options/A11yDefaults.js +1 -1
- package/es-modules/Accessibility/Options/LangDefaults.js +3 -3
- package/es-modules/Accessibility/Utils/EventProvider.js +1 -1
- package/es-modules/Accessibility/Utils/HTMLUtilities.js +1 -1
- package/es-modules/Core/Animation/Fx.js +4 -2
- package/es-modules/Core/Axis/Axis.js +3 -3
- package/es-modules/Core/Axis/AxisDefaults.js +1 -0
- package/es-modules/Core/Axis/Color/ColorAxisDefaults.js +7 -3
- package/es-modules/Core/Axis/GridAxis.js +1 -1
- package/es-modules/Core/Axis/OrdinalAxis.js +5 -2
- package/es-modules/Core/Axis/RadialAxisDefaults.js +3 -3
- package/es-modules/Core/Axis/Stacking/StackItem.js +1 -1
- package/es-modules/Core/Chart/Chart.js +16 -7
- package/es-modules/Core/Chart/MapChart.js +3 -3
- package/es-modules/Core/Chart/StockChart.js +1 -1
- package/es-modules/Core/Color/Color.js +2 -2
- package/es-modules/Core/Defaults.js +27 -1
- package/es-modules/Core/Geometry/GeometryUtilities.js +22 -0
- package/es-modules/Core/Globals.js +1 -1
- package/es-modules/Core/Legend/Legend.js +82 -14
- package/es-modules/Core/MSPointer.js +42 -1
- package/es-modules/Core/Pointer.js +10 -6
- package/es-modules/Core/Renderer/HTML/AST.js +6 -0
- package/es-modules/Core/Renderer/HTML/HTMLElement.js +2 -2
- package/es-modules/Core/Renderer/SVG/SVGElement.js +31 -98
- package/es-modules/Core/Renderer/SVG/SVGLabel.js +20 -0
- package/es-modules/Core/Renderer/SVG/SVGRenderer.js +29 -14
- package/es-modules/Core/Renderer/SVG/Symbols.js +18 -18
- package/es-modules/Core/Responsive.js +6 -1
- package/es-modules/Core/Series/DataLabel.js +1 -10
- package/es-modules/Core/Series/DataSeriesComposition.js +0 -2
- package/es-modules/Core/Series/Point.js +7 -10
- package/es-modules/Core/Series/Series.js +40 -24
- package/es-modules/Core/Series/SeriesDefaults.js +18 -12
- package/es-modules/Core/Templating.js +2 -2
- package/es-modules/Core/Tooltip.js +6 -3
- package/es-modules/Data/Connectors/JSONConnector.js +1 -0
- package/es-modules/Data/Converters/CSVConverter.js +1 -1
- package/es-modules/Data/Converters/DataConverter.js +7 -7
- package/es-modules/Data/DataTable.js +106 -5
- package/es-modules/Data/Formula/FormulaParser.js +2 -2
- package/es-modules/Extensions/Annotations/Controllables/ControllableDefaults.js +1 -1
- package/es-modules/Extensions/Annotations/Controllables/ControllablePath.js +1 -1
- package/es-modules/Extensions/Annotations/NavigationBindings.js +1 -2
- package/es-modules/Extensions/Boost/Boost.js +1 -1
- package/es-modules/Extensions/Boost/BoostChart.js +8 -2
- package/es-modules/Extensions/Boost/BoostSeries.js +41 -10
- package/es-modules/Extensions/Boost/WGLShader.js +1 -1
- package/es-modules/Extensions/BorderRadius.js +3 -3
- package/es-modules/Extensions/Breadcrumbs/Breadcrumbs.js +0 -38
- package/es-modules/Extensions/Data.js +11 -11
- package/es-modules/Extensions/DataGrouping/DataGrouping.js +1 -2
- package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +1 -1
- package/es-modules/Extensions/DownloadURL.js +1 -1
- package/es-modules/Extensions/Drilldown/Drilldown.js +0 -2
- package/es-modules/Extensions/Exporting/Exporting.js +14 -14
- package/es-modules/Extensions/OverlappingDataLabels.js +36 -5
- package/es-modules/Extensions/Pane/PaneDefaults.js +3 -2
- package/es-modules/Extensions/ParallelCoordinates/ParallelCoordinates.js +1 -1
- package/es-modules/Extensions/Sonification/MIDI.js +7 -7
- package/es-modules/Extensions/Sonification/SonificationInstrument.js +0 -1
- package/es-modules/Extensions/Sonification/TimelineFromChart.js +1 -3
- package/es-modules/Extensions/TextPath.js +225 -0
- package/es-modules/Maps/MapUtilities.js +1 -20
- package/es-modules/Maps/MapView.js +3 -1
- package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -0
- package/es-modules/Series/Area/AreaSeries.js +5 -0
- package/es-modules/Series/Area/AreaSeriesDefaults.js +1 -1
- package/es-modules/Series/Bar/BarSeries.js +1 -1
- package/es-modules/Series/Bellcurve/BellcurveSeriesDefaults.js +2 -2
- package/es-modules/Series/BoxPlot/BoxPlotSeries.js +2 -1
- package/es-modules/Series/Bubble/BubbleLegendComposition.js +4 -7
- package/es-modules/Series/Bubble/BubbleLegendDefaults.js +3 -3
- package/es-modules/Series/Bubble/BubbleSeries.js +4 -4
- package/es-modules/Series/Column/ColumnSeriesDefaults.js +1 -1
- package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +5 -2
- package/es-modules/Series/Dumbbell/DumbbellSeriesDefaults.js +2 -2
- package/es-modules/Series/ErrorBar/ErrorBarSeries.js +2 -2
- package/es-modules/Series/Flags/FlagsSeries.js +2 -2
- package/es-modules/Series/Flags/FlagsSeriesDefaults.js +1 -1
- package/es-modules/Series/Gantt/GanttSeriesDefaults.js +1 -1
- package/es-modules/Series/Gauge/GaugeSeries.js +1 -1
- package/es-modules/Series/HLC/HLCSeries.js +1 -1
- package/es-modules/Series/Heatmap/HeatmapSeriesDefaults.js +2 -2
- package/es-modules/Series/Item/ItemSeries.js +1 -1
- package/es-modules/Series/Map/MapSeries.js +1 -1
- package/es-modules/Series/Map/MapSeriesDefaults.js +2 -2
- package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +4 -1
- package/es-modules/Series/Organization/OrganizationSeries.js +3 -0
- package/es-modules/Series/PackedBubble/PackedBubblePoint.js +1 -1
- package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +8 -5
- package/es-modules/Series/Pie/PieDataLabel.js +7 -6
- package/es-modules/Series/Pie/PiePoint.js +6 -6
- package/es-modules/Series/Pie/PieSeriesDefaults.js +11 -10
- package/es-modules/Series/Pie3D/Pie3DSeries.js +1 -1
- package/es-modules/Series/Sankey/SankeySeries.js +7 -4
- package/es-modules/Series/Sankey/SankeySeriesDefaults.js +1 -1
- package/es-modules/Series/Sunburst/SunburstSeries.js +8 -5
- package/es-modules/Series/Sunburst/SunburstSeriesDefaults.js +2 -2
- package/es-modules/Series/Tilemap/TilemapSeriesDefaults.js +2 -2
- package/es-modules/Series/Treegraph/TreegraphSeries.js +23 -2
- package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +2 -2
- package/es-modules/Series/Treemap/TreemapPoint.js +2 -1
- package/es-modules/Series/Treemap/TreemapSeries.js +15 -7
- package/es-modules/Series/Treemap/TreemapSeriesDefaults.js +15 -1
- package/es-modules/Series/VariablePie/VariablePieSeriesDefaults.js +2 -2
- package/es-modules/Series/Variwide/VariwideComposition.js +1 -1
- package/es-modules/Series/Vector/VectorSeries.js +1 -1
- package/es-modules/Series/Windbarb/WindbarbSeries.js +2 -2
- package/es-modules/Series/Wordcloud/WordcloudSeries.js +2 -2
- package/es-modules/Series/Wordcloud/WordcloudSeriesDefaults.js +1 -1
- package/es-modules/Stock/Indicators/AD/ADIndicator.js +1 -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/Chaikin/ChaikinIndicator.js +1 -1
- package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +3 -3
- package/es-modules/Stock/Indicators/LinearRegression/LinearRegressionIndicator.js +1 -1
- package/es-modules/Stock/Indicators/MFI/MFIIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PC/PCIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PPO/PPOIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PSAR/PSARIndicator.js +1 -1
- package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +3 -3
- package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +1 -1
- package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +2 -2
- package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +3 -3
- package/es-modules/Stock/Indicators/TrendLine/TrendLineIndicator.js +1 -1
- package/es-modules/Stock/Indicators/VWAP/VWAPIndicator.js +1 -1
- package/es-modules/Stock/Indicators/WilliamsR/WilliamsRIndicator.js +1 -1
- package/es-modules/Stock/Navigator/Navigator.js +141 -55
- package/es-modules/Stock/Navigator/NavigatorDefaults.js +1 -1
- package/es-modules/Stock/RangeSelector/RangeSelector.js +1 -1
- package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +1 -1
- package/es-modules/Stock/Scrollbar/ScrollbarDefaults.js +1 -1
- package/es-modules/Stock/StockTools/StockToolbar.js +115 -37
- package/es-modules/Stock/StockTools/StockToolsDefaults.js +7 -1
- package/es-modules/Stock/StockTools/StockToolsGui.js +24 -23
- package/es-modules/Stock/StockTools/StockToolsUtilities.js +26 -0
- package/es-modules/masters/highcharts-more.src.js +2 -2
- 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/arc-diagram.src.js +2 -3
- package/es-modules/masters/modules/cylinder.src.js +1 -1
- package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
- package/es-modules/masters/modules/drag-panes.src.js +1 -1
- package/es-modules/masters/modules/export-data.src.js +1 -1
- package/es-modules/masters/modules/funnel3d.src.js +2 -2
- package/es-modules/masters/modules/heikinashi.src.js +1 -1
- package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
- package/es-modules/masters/modules/map.src.js +1 -1
- package/es-modules/masters/modules/offline-exporting.src.js +1 -1
- package/es-modules/masters/modules/organization.src.js +1 -1
- package/es-modules/masters/modules/price-indicator.src.js +1 -1
- package/es-modules/masters/modules/pyramid3d.src.js +3 -3
- package/es-modules/masters/modules/solid-gauge.src.js +1 -1
- package/es-modules/masters/modules/stock-tools.src.js +1 -1
- package/es-modules/masters/modules/textpath.src.d.ts +1 -0
- package/es-modules/masters/modules/textpath.src.js +16 -0
- package/es-modules/masters/modules/tilemap.src.js +1 -1
- package/es-modules/masters/modules/treegraph.src.js +1 -1
- package/es-modules/tsconfig.tsbuildinfo +1 -1
- package/highcharts-3d.js +2 -2
- package/highcharts-3d.src.js +4 -4
- package/highcharts-gantt.js +3 -3
- package/highcharts-gantt.src.js +3374 -3042
- package/highcharts-more.d.ts +42 -2
- package/highcharts-more.js +2 -2
- package/highcharts-more.src.d.ts +42 -2
- package/highcharts-more.src.js +260 -35
- package/highcharts.d.ts +828 -428
- package/highcharts.js +3 -3
- package/highcharts.src.d.ts +828 -428
- package/highcharts.src.js +5844 -5600
- package/highmaps.js +3 -3
- package/highmaps.src.js +3270 -3043
- package/highstock.js +3 -3
- package/highstock.src.js +3379 -3048
- package/indicators/acceleration-bands.js +2 -2
- package/indicators/acceleration-bands.src.js +4 -4
- package/indicators/accumulation-distribution.js +2 -2
- package/indicators/accumulation-distribution.src.js +5 -5
- package/indicators/ao.js +2 -2
- package/indicators/ao.src.js +4 -4
- package/indicators/apo.js +2 -2
- package/indicators/apo.src.js +5 -5
- package/indicators/aroon-oscillator.js +2 -2
- package/indicators/aroon-oscillator.src.js +4 -4
- package/indicators/aroon.js +2 -2
- package/indicators/aroon.src.js +5 -5
- package/indicators/atr.js +2 -2
- package/indicators/atr.src.js +4 -4
- package/indicators/bollinger-bands.js +2 -2
- package/indicators/bollinger-bands.src.js +4 -4
- package/indicators/cci.js +2 -2
- package/indicators/cci.src.js +4 -4
- package/indicators/chaikin.js +2 -2
- package/indicators/chaikin.src.js +6 -6
- package/indicators/cmf.js +2 -2
- package/indicators/cmf.src.js +5 -5
- package/indicators/cmo.js +2 -2
- package/indicators/cmo.src.js +4 -4
- package/indicators/dema.js +2 -2
- package/indicators/dema.src.js +4 -4
- package/indicators/disparity-index.js +2 -2
- package/indicators/disparity-index.src.js +4 -4
- package/indicators/dmi.js +2 -2
- package/indicators/dmi.src.js +4 -4
- package/indicators/dpo.js +2 -2
- package/indicators/dpo.src.js +4 -4
- package/indicators/ema.js +1 -1
- package/indicators/ema.src.js +2 -2
- package/indicators/ichimoku-kinko-hyo.js +2 -2
- package/indicators/ichimoku-kinko-hyo.src.js +7 -7
- package/indicators/indicators-all.js +2 -2
- package/indicators/indicators-all.src.js +29 -29
- package/indicators/indicators.js +2 -2
- package/indicators/indicators.src.js +5 -5
- package/indicators/keltner-channels.js +2 -2
- package/indicators/keltner-channels.src.js +4 -4
- package/indicators/klinger.js +2 -2
- package/indicators/klinger.src.js +4 -4
- package/indicators/macd.js +2 -2
- package/indicators/macd.src.js +4 -4
- package/indicators/mfi.js +2 -2
- package/indicators/mfi.src.js +5 -5
- package/indicators/momentum.js +2 -2
- package/indicators/momentum.src.js +4 -4
- package/indicators/natr.js +2 -2
- package/indicators/natr.src.js +4 -4
- package/indicators/obv.js +2 -2
- package/indicators/obv.src.js +4 -4
- package/indicators/pivot-points.js +2 -2
- package/indicators/pivot-points.src.js +7 -7
- package/indicators/ppo.js +2 -2
- package/indicators/ppo.src.js +5 -5
- package/indicators/price-channel.js +2 -2
- package/indicators/price-channel.src.js +5 -5
- package/indicators/price-envelopes.js +2 -2
- package/indicators/price-envelopes.src.js +4 -4
- package/indicators/psar.js +2 -2
- package/indicators/psar.src.js +5 -5
- package/indicators/regressions.js +2 -2
- package/indicators/regressions.src.js +5 -5
- package/indicators/roc.js +2 -2
- package/indicators/roc.src.js +4 -4
- package/indicators/rsi.js +2 -2
- package/indicators/rsi.src.js +4 -4
- package/indicators/slow-stochastic.js +2 -2
- package/indicators/slow-stochastic.src.js +6 -6
- package/indicators/stochastic.js +2 -2
- package/indicators/stochastic.src.js +4 -4
- package/indicators/supertrend.js +2 -2
- package/indicators/supertrend.src.js +7 -7
- package/indicators/tema.js +2 -2
- package/indicators/tema.src.js +4 -4
- package/indicators/trendline.js +2 -2
- package/indicators/trendline.src.js +5 -5
- package/indicators/trix.js +2 -2
- package/indicators/trix.src.js +4 -4
- package/indicators/volume-by-price.js +2 -2
- package/indicators/volume-by-price.src.js +4 -4
- package/indicators/vwap.js +2 -2
- package/indicators/vwap.src.js +5 -5
- package/indicators/williams-r.js +2 -2
- package/indicators/williams-r.src.js +5 -5
- package/indicators/wma.js +2 -2
- package/indicators/wma.src.js +4 -4
- package/indicators/zigzag.js +2 -2
- package/indicators/zigzag.src.js +4 -4
- package/modules/accessibility.js +2 -2
- package/modules/accessibility.src.js +162 -77
- package/modules/annotations-advanced.js +2 -2
- package/modules/annotations-advanced.src.js +8 -9
- package/modules/annotations.js +2 -2
- package/modules/annotations.src.js +8 -9
- package/modules/arc-diagram.d.ts +120 -1
- package/modules/arc-diagram.js +2 -2
- package/modules/arc-diagram.src.d.ts +120 -1
- package/modules/arc-diagram.src.js +9363 -5
- package/modules/arrow-symbols.js +2 -2
- package/modules/arrow-symbols.src.js +3 -3
- package/modules/boost-canvas.js +2 -2
- package/modules/boost-canvas.src.js +53 -16
- package/modules/boost.js +2 -2
- package/modules/boost.src.js +54 -17
- package/modules/broken-axis.js +2 -2
- package/modules/broken-axis.src.js +3 -3
- package/modules/bullet.js +2 -2
- package/modules/bullet.src.js +3 -3
- package/modules/coloraxis.js +2 -2
- package/modules/coloraxis.src.js +10 -6
- package/modules/current-date-indicator.js +2 -2
- package/modules/current-date-indicator.src.js +3 -3
- package/modules/cylinder.js +2 -2
- package/modules/cylinder.src.js +4 -4
- package/modules/data-tools.js +2 -2
- package/modules/data-tools.src.js +120 -18
- package/modules/data.js +2 -2
- package/modules/data.src.js +14 -14
- package/modules/datagrouping.js +2 -2
- package/modules/datagrouping.src.js +5 -6
- package/modules/debugger.js +2 -2
- package/modules/debugger.src.js +3 -3
- package/modules/dependency-wheel.js +2 -2
- package/modules/dependency-wheel.src.js +8 -7
- package/modules/dotplot.js +2 -2
- package/modules/dotplot.src.js +3 -3
- package/modules/drag-panes.js +2 -2
- package/modules/drag-panes.src.js +4 -4
- package/modules/draggable-points.js +2 -2
- package/modules/draggable-points.src.js +3 -3
- package/modules/drilldown.js +2 -2
- package/modules/drilldown.src.js +3 -43
- package/modules/dumbbell.js +2 -2
- package/modules/dumbbell.src.js +5 -5
- package/modules/export-data.js +2 -2
- package/modules/export-data.src.js +5 -5
- package/modules/exporting.js +2 -2
- package/modules/exporting.src.js +17 -17
- package/modules/flowmap.js +2 -2
- package/modules/flowmap.src.js +3 -3
- package/modules/full-screen.js +2 -2
- package/modules/full-screen.src.js +3 -3
- package/modules/funnel.js +2 -2
- package/modules/funnel.src.js +3 -3
- package/modules/funnel3d.js +2 -2
- package/modules/funnel3d.src.js +4 -4
- package/modules/gantt.js +2 -2
- package/modules/gantt.src.js +155 -67
- package/modules/geoheatmap.js +2 -2
- package/modules/geoheatmap.src.js +3 -3
- package/modules/grid-axis.js +2 -2
- package/modules/grid-axis.src.js +4 -4
- package/modules/heatmap.js +2 -2
- package/modules/heatmap.src.js +12 -8
- package/modules/heikinashi.js +2 -2
- package/modules/heikinashi.src.js +4 -4
- package/modules/histogram-bellcurve.js +2 -2
- package/modules/histogram-bellcurve.src.js +5 -5
- package/modules/hollowcandlestick.js +2 -2
- package/modules/hollowcandlestick.src.js +4 -4
- package/modules/item-series.js +2 -2
- package/modules/item-series.src.js +4 -4
- package/modules/lollipop.js +2 -2
- package/modules/lollipop.src.js +3 -3
- package/modules/map.d.ts +1 -1
- package/modules/map.js +2 -2
- package/modules/map.src.d.ts +1 -1
- package/modules/map.src.js +34 -51
- package/modules/marker-clusters.js +2 -2
- package/modules/marker-clusters.src.js +3 -3
- package/modules/mouse-wheel-zoom.js +2 -2
- package/modules/mouse-wheel-zoom.src.js +3 -3
- package/modules/navigator.js +2 -2
- package/modules/navigator.src.js +146 -61
- package/modules/networkgraph.d.ts +40 -0
- package/modules/networkgraph.js +2 -2
- package/modules/networkgraph.src.d.ts +40 -0
- package/modules/networkgraph.src.js +231 -5
- package/modules/no-data-to-display.js +2 -2
- package/modules/no-data-to-display.src.js +3 -3
- package/modules/offline-exporting.js +2 -2
- package/modules/offline-exporting.src.js +6 -6
- package/modules/organization.js +2 -2
- package/modules/organization.src.js +6 -5
- package/modules/overlapping-datalabels.js +2 -2
- package/modules/overlapping-datalabels.src.js +3 -3
- package/modules/parallel-coordinates.js +2 -2
- package/modules/parallel-coordinates.src.js +4 -4
- package/modules/pareto.js +2 -2
- package/modules/pareto.src.js +3 -3
- package/modules/pathfinder.js +2 -2
- package/modules/pathfinder.src.js +3 -3
- package/modules/pattern-fill.js +2 -2
- package/modules/pattern-fill.src.js +3 -3
- package/modules/pictorial.js +2 -2
- package/modules/pictorial.src.js +3 -3
- package/modules/price-indicator.js +2 -2
- package/modules/price-indicator.src.js +4 -4
- package/modules/pyramid3d.js +2 -2
- package/modules/pyramid3d.src.js +4 -4
- package/modules/sankey.d.ts +42 -1
- package/modules/sankey.js +2 -2
- package/modules/sankey.src.d.ts +42 -1
- package/modules/sankey.src.js +235 -9
- package/modules/series-label.js +2 -2
- package/modules/series-label.src.js +3 -3
- package/modules/series-on-point.js +2 -2
- package/modules/series-on-point.src.js +3 -3
- package/modules/solid-gauge.js +2 -2
- package/modules/solid-gauge.src.js +4 -4
- package/modules/sonification.js +2 -2
- package/modules/sonification.src.js +12 -15
- package/modules/static-scale.js +2 -2
- package/modules/static-scale.src.js +3 -3
- package/modules/stock-tools.d.ts +15 -1
- package/modules/stock-tools.js +2 -2
- package/modules/stock-tools.src.d.ts +15 -1
- package/modules/stock-tools.src.js +178 -70
- package/modules/stock.js +2 -2
- package/modules/stock.src.js +160 -73
- package/modules/streamgraph.js +2 -2
- package/modules/streamgraph.src.js +3 -3
- package/modules/sunburst.d.ts +40 -0
- package/modules/sunburst.js +2 -2
- package/modules/sunburst.src.d.ts +40 -0
- package/modules/sunburst.src.js +269 -58
- package/modules/textpath.d.ts +58 -0
- package/modules/textpath.js +7 -0
- package/modules/textpath.src.d.ts +58 -0
- package/modules/textpath.src.js +269 -0
- package/modules/tiledwebmap.js +3 -3
- package/modules/tiledwebmap.src.js +3 -3
- package/modules/tilemap.js +2 -2
- package/modules/tilemap.src.js +6 -6
- package/modules/timeline.js +2 -2
- package/modules/timeline.src.js +3 -3
- package/modules/treegraph.d.ts +40 -0
- package/modules/treegraph.js +2 -2
- package/modules/treegraph.src.d.ts +40 -0
- package/modules/treegraph.src.js +253 -9
- package/modules/treegrid.js +2 -2
- package/modules/treegrid.src.js +4 -4
- package/modules/treemap.js +2 -2
- package/modules/treemap.src.js +35 -50
- package/modules/variable-pie.js +2 -2
- package/modules/variable-pie.src.js +5 -5
- package/modules/variwide.js +2 -2
- package/modules/variwide.src.js +4 -4
- package/modules/vector.js +2 -2
- package/modules/vector.src.js +4 -4
- package/modules/venn.js +2 -2
- package/modules/venn.src.js +3 -88
- package/modules/windbarb.js +2 -2
- package/modules/windbarb.src.js +5 -5
- package/modules/wordcloud.js +2 -2
- package/modules/wordcloud.src.js +6 -6
- package/modules/xrange.js +2 -2
- package/modules/xrange.src.js +3 -3
- package/options/ad.d.ts +17 -9
- package/options/ad.src.d.ts +17 -9
- package/options/apo.d.ts +17 -9
- package/options/apo.src.d.ts +17 -9
- package/options/arearange.d.ts +17 -9
- package/options/arearange.src.d.ts +17 -9
- package/options/areaspline.d.ts +17 -9
- package/options/areaspline.src.d.ts +17 -9
- package/options/bar.d.ts +17 -9
- package/options/bar.src.d.ts +17 -9
- package/options/bb.d.ts +17 -9
- package/options/bb.src.d.ts +17 -9
- package/options/bubble.d.ts +17 -9
- package/options/bubble.src.d.ts +17 -9
- package/options/candlestick.d.ts +17 -9
- package/options/candlestick.src.d.ts +17 -9
- package/options/cci.d.ts +17 -9
- package/options/cci.src.d.ts +17 -9
- package/options/cmf.d.ts +17 -9
- package/options/cmf.src.d.ts +17 -9
- package/options/column.d.ts +17 -9
- package/options/column.src.d.ts +17 -9
- package/options/columnpyramid.d.ts +17 -9
- package/options/columnpyramid.src.d.ts +17 -9
- package/options/columnrange.d.ts +17 -9
- package/options/columnrange.src.d.ts +17 -9
- package/options/cylinder.d.ts +17 -9
- package/options/cylinder.src.d.ts +17 -9
- package/options/dema.d.ts +17 -9
- package/options/dema.src.d.ts +17 -9
- package/options/dependencywheel.d.ts +17 -9
- package/options/dependencywheel.src.d.ts +17 -9
- package/options/disparityindex.d.ts +17 -9
- package/options/disparityindex.src.d.ts +17 -9
- package/options/dpo.d.ts +17 -9
- package/options/dpo.src.d.ts +17 -9
- package/options/dumbbell.d.ts +17 -9
- package/options/dumbbell.src.d.ts +17 -9
- package/options/ema.d.ts +17 -9
- package/options/ema.src.d.ts +17 -9
- package/options/funnel.d.ts +17 -9
- package/options/funnel.src.d.ts +17 -9
- package/options/gantt.d.ts +16 -8
- package/options/gantt.src.d.ts +16 -8
- package/options/klinger.d.ts +17 -9
- package/options/klinger.src.d.ts +17 -9
- package/options/linearregression.d.ts +17 -9
- package/options/linearregression.src.d.ts +17 -9
- package/options/lollipop.d.ts +17 -9
- package/options/lollipop.src.d.ts +17 -9
- package/options/macd.d.ts +17 -9
- package/options/macd.src.d.ts +17 -9
- package/options/momentum.d.ts +17 -9
- package/options/momentum.src.d.ts +17 -9
- package/options/ohlc.d.ts +17 -9
- package/options/ohlc.src.d.ts +17 -9
- package/options/organization.d.ts +17 -9
- package/options/organization.src.d.ts +17 -9
- package/options/pareto.d.ts +16 -8
- package/options/pareto.src.d.ts +16 -8
- package/options/pc.d.ts +17 -9
- package/options/pc.src.d.ts +17 -9
- package/options/polygon.d.ts +17 -9
- package/options/polygon.src.d.ts +17 -9
- package/options/ppo.d.ts +17 -9
- package/options/ppo.src.d.ts +17 -9
- package/options/psar.d.ts +17 -9
- package/options/psar.src.d.ts +17 -9
- package/options/pyramid.d.ts +17 -9
- package/options/pyramid.src.d.ts +17 -9
- package/options/roc.d.ts +17 -9
- package/options/roc.src.d.ts +17 -9
- package/options/sankey.d.ts +17 -9
- package/options/sankey.src.d.ts +17 -9
- package/options/scatter.d.ts +17 -9
- package/options/scatter.src.d.ts +17 -9
- package/options/series.d.ts +17 -9
- package/options/series.src.d.ts +17 -9
- package/options/sma.d.ts +17 -9
- package/options/sma.src.d.ts +17 -9
- package/options/spline.d.ts +17 -9
- package/options/spline.src.d.ts +17 -9
- package/options/stochastic.d.ts +17 -9
- package/options/stochastic.src.d.ts +17 -9
- package/options/supertrend.d.ts +17 -9
- package/options/supertrend.src.d.ts +17 -9
- package/options/tilemap.d.ts +17 -9
- package/options/tilemap.src.d.ts +17 -9
- package/options/treegraph.d.ts +24 -9
- package/options/treegraph.src.d.ts +24 -9
- package/options/treemap.d.ts +23 -8
- package/options/treemap.src.d.ts +23 -8
- package/options/trendline.d.ts +17 -9
- package/options/trendline.src.d.ts +17 -9
- package/options/variwide.d.ts +17 -9
- package/options/variwide.src.d.ts +17 -9
- package/options/vbp.d.ts +17 -9
- package/options/vbp.src.d.ts +17 -9
- package/options/vector.d.ts +17 -9
- package/options/vector.src.d.ts +17 -9
- package/options/waterfall.d.ts +17 -9
- package/options/waterfall.src.d.ts +17 -9
- package/options/williamsr.d.ts +17 -9
- package/options/williamsr.src.d.ts +17 -9
- package/options/xrange.d.ts +17 -9
- package/options/xrange.src.d.ts +17 -9
- package/package.json +1 -1
- package/standalone-navigator.js +2 -2
- package/standalone-navigator.src.js +3363 -3034
- package/themes/avocado.js +2 -2
- package/themes/avocado.src.js +3 -3
- package/themes/brand-dark.js +2 -2
- package/themes/brand-dark.src.js +3 -3
- package/themes/brand-light.js +2 -2
- package/themes/brand-light.src.js +3 -3
- package/themes/dark-blue.js +2 -2
- package/themes/dark-blue.src.js +3 -3
- package/themes/dark-green.js +2 -2
- package/themes/dark-green.src.js +3 -3
- package/themes/dark-unica.js +2 -2
- package/themes/dark-unica.src.js +3 -3
- package/themes/gray.js +2 -2
- package/themes/gray.src.js +3 -3
- package/themes/grid-light.js +2 -2
- package/themes/grid-light.src.js +3 -3
- package/themes/grid.js +2 -2
- package/themes/grid.src.js +3 -3
- package/themes/high-contrast-dark.js +2 -2
- package/themes/high-contrast-dark.src.js +3 -3
- package/themes/high-contrast-light.js +2 -2
- package/themes/high-contrast-light.src.js +3 -3
- package/themes/sand-signika.js +2 -2
- package/themes/sand-signika.src.js +3 -3
- package/themes/skies.js +2 -2
- package/themes/skies.src.js +3 -3
- package/themes/sunset.js +2 -2
- package/themes/sunset.src.js +3 -3
package/indicators/cmf.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highstock JS v11.4.
|
|
2
|
+
* Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* (c) 2010-2024 Highsoft AS
|
|
5
5
|
* Author: Sebastian Domas
|
|
6
6
|
*
|
|
7
7
|
* License: www.highcharts.com/license
|
|
8
|
-
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/indicators/cmf",["highcharts","
|
|
8
|
+
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/indicators/cmf",["highcharts","modules/stock"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t=e?e._modules:{};function s(t,s,i,n){t.hasOwnProperty(s)||(t[s]=n.apply(null,i),"function"==typeof CustomEvent&&e.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:s,module:t[s]}})))}s(t,"Stock/Indicators/CMF/CMFIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t){let{sma:s}=e.seriesTypes,{merge:i}=t;class n extends s{constructor(){super(...arguments),this.nameBase="Chaikin Money Flow"}isValid(){let e=this.chart,t=this.options,s=this.linkedParent,i=this.volumeSeries||(this.volumeSeries=e.get(t.params.volumeSeriesID)),n=s&&s.yData&&4===s.yData[0].length;function o(e){return e.xData&&e.xData.length>=t.params.period}return!!(s&&i&&o(s)&&o(i)&&n)}getValues(e,t){if(this.isValid())return this.getMoneyFlow(e.xData,e.yData,this.volumeSeries.yData,t.period)}getMoneyFlow(e,t,s,i){let n=t.length,o=[],r=[],a=[],u=[],l,h,c=-1,d=0,f=0;function p(e,t){let s=e[1],i=e[2],n=e[3];return null!==t&&null!==s&&null!==i&&null!==n&&s!==i?(n-i-(s-n))/(s-i)*t:(c=l,null)}if(i>0&&i<=n){for(l=0;l<i;l++)o[l]=p(t[l],s[l]),d+=s[l],f+=o[l];for(r.push(e[l-1]),a.push(l-c>=i&&0!==d?f/d:null),u.push([r[0],a[0]]);l<n;l++)o[l]=p(t[l],s[l]),d-=s[l-i],d+=s[l],f-=o[l-i],f+=o[l],h=[e[l],l-c>=i?f/d:null],r.push(h[0]),a.push(h[1]),u.push([h[0],h[1]])}return{values:u,xData:r,yData:a}}}return n.defaultOptions=i(s.defaultOptions,{params:{index:void 0,volumeSeriesID:"volume"}}),e.registerSeriesType("cmf",n),n}),s(t,"masters/indicators/cmf.src.js",[t["Core/Globals.js"]],function(e){return e})});
|
package/indicators/cmf.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v11.4.
|
|
2
|
+
* @license Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* (c) 2010-2024 Highsoft AS
|
|
5
5
|
* Author: Sebastian Domas
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
factory['default'] = factory;
|
|
12
12
|
module.exports = factory;
|
|
13
13
|
} else if (typeof define === 'function' && define.amd) {
|
|
14
|
-
define('highcharts/indicators/cmf', ['highcharts', '
|
|
14
|
+
define('highcharts/indicators/cmf', ['highcharts', 'modules/stock'], function (Highcharts) {
|
|
15
15
|
factory(Highcharts);
|
|
16
16
|
factory.Highcharts = Highcharts;
|
|
17
17
|
return factory;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
obj[path] = fn.apply(null, args);
|
|
28
28
|
|
|
29
29
|
if (typeof CustomEvent === 'function') {
|
|
30
|
-
|
|
30
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
31
31
|
'HighchartsModuleLoaded',
|
|
32
32
|
{ detail: { path: path, module: obj[path] } }
|
|
33
33
|
));
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
* @excluding index
|
|
237
237
|
*/
|
|
238
238
|
params: {
|
|
239
|
-
index: void 0,
|
|
239
|
+
index: void 0, // Unused index, do not inherit (#15362)
|
|
240
240
|
/**
|
|
241
241
|
* The id of another series to use its data as volume data for the
|
|
242
242
|
* indicator calculation.
|
|
@@ -276,4 +276,4 @@
|
|
|
276
276
|
|
|
277
277
|
return Highcharts;
|
|
278
278
|
});
|
|
279
|
-
}));
|
|
279
|
+
}));
|
package/indicators/cmo.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highstock JS v11.4.
|
|
2
|
+
* Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
6
6
|
* (c) 2010-2024 Pawel Lysy
|
|
7
7
|
*
|
|
8
8
|
* License: www.highcharts.com/license
|
|
9
|
-
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/indicators/cmo",["highcharts","
|
|
9
|
+
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/indicators/cmo",["highcharts","modules/stock"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t=e?e._modules:{};function s(t,s,i,n){t.hasOwnProperty(s)||(t[s]=n.apply(null,i),"function"==typeof CustomEvent&&e.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:s,module:t[s]}})))}s(t,"Stock/Indicators/CMO/CMOIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t){let{sma:s}=e.seriesTypes,{isNumber:i,merge:n}=t;class o extends s{getValues(e,t){let s=t.period,n=e.xData,o=e.yData,r=o?o.length:0,a=[],u=[],d=[],c,h=t.index,l;if(n.length<s)return;i(o[0])?l=o:(h=Math.min(h,o[0].length-1),l=o.map(e=>e[h]));let p=0,f=0,m=0,g;for(let e=s;e>0;e--)l[e]>l[e-1]?f+=l[e]-l[e-1]:l[e]<l[e-1]&&(m+=l[e-1]-l[e]);for(g=f+m>0?100*(f-m)/(f+m):0,u.push(n[s]),d.push(g),a.push([n[s],g]),c=s+1;c<r;c++)p=Math.abs(l[c-s-1]-l[c-s]),l[c]>l[c-1]?f+=l[c]-l[c-1]:l[c]<l[c-1]&&(m+=l[c-1]-l[c]),l[c-s]>l[c-s-1]?f-=p:m-=p,g=f+m>0?100*(f-m)/(f+m):0,u.push(n[c]),d.push(g),a.push([n[c],g]);return{values:a,xData:u,yData:d}}}return o.defaultOptions=n(s.defaultOptions,{params:{period:20,index:3}}),e.registerSeriesType("cmo",o),o}),s(t,"masters/indicators/cmo.src.js",[t["Core/Globals.js"]],function(e){return e})});
|
package/indicators/cmo.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v11.4.
|
|
2
|
+
* @license Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
factory['default'] = factory;
|
|
13
13
|
module.exports = factory;
|
|
14
14
|
} else if (typeof define === 'function' && define.amd) {
|
|
15
|
-
define('highcharts/indicators/cmo', ['highcharts', '
|
|
15
|
+
define('highcharts/indicators/cmo', ['highcharts', 'modules/stock'], function (Highcharts) {
|
|
16
16
|
factory(Highcharts);
|
|
17
17
|
factory.Highcharts = Highcharts;
|
|
18
18
|
return factory;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
obj[path] = fn.apply(null, args);
|
|
29
29
|
|
|
30
30
|
if (typeof CustomEvent === 'function') {
|
|
31
|
-
|
|
31
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
32
32
|
'HighchartsModuleLoaded',
|
|
33
33
|
{ detail: { path: path, module: obj[path] } }
|
|
34
34
|
));
|
|
@@ -193,4 +193,4 @@
|
|
|
193
193
|
|
|
194
194
|
return Highcharts;
|
|
195
195
|
});
|
|
196
|
-
}));
|
|
196
|
+
}));
|
package/indicators/dema.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highstock JS v11.4.
|
|
2
|
+
* Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
6
6
|
* (c) 2010-2024 Rafał Sebestjański
|
|
7
7
|
*
|
|
8
8
|
* License: www.highcharts.com/license
|
|
9
|
-
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/indicators/dema",["highcharts","
|
|
9
|
+
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/indicators/dema",["highcharts","modules/stock"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t=e?e._modules:{};function s(t,s,i,n){t.hasOwnProperty(s)||(t[s]=n.apply(null,i),"function"==typeof CustomEvent&&e.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:s,module:t[s]}})))}s(t,"Stock/Indicators/DEMA/DEMAIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t){let{ema:s}=e.seriesTypes,{correctFloat:i,isArray:n,merge:o}=t;class r extends s{getEMA(e,t,s,i,n,o){return super.calculateEma(o||[],e,void 0===n?1:n,this.EMApercent,t,void 0===i?-1:i,s)}getValues(e,t){let s=t.period,o=[],r=2*s,a=e.xData,u=e.yData,d=u?u.length:0,c=[],h=[],l=[],p=0,f=0,m,g,y,E,v=-1,M,x=0;if(this.EMApercent=2/(s+1),!(d<2*s-1)){for(n(u[0])&&(v=t.index?t.index:0),x=(p=super.accumulatePeriodPoints(s,v,u))/s,p=0,E=s;E<d+2;E++)E<d+1&&(f=this.getEMA(u,g,x,v,E)[1],o.push(f)),g=f,E<r?p+=f:(E===r&&(x=p/s),f=o[E-s-1],m=this.getEMA([f],y,x)[1],M=[a[E-2],i(2*f-m)],c.push(M),h.push(M[0]),l.push(M[1]),y=m);return{values:c,xData:h,yData:l}}}}return r.defaultOptions=o(s.defaultOptions),e.registerSeriesType("dema",r),r}),s(t,"masters/indicators/dema.src.js",[t["Core/Globals.js"]],function(e){return e})});
|
package/indicators/dema.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v11.4.
|
|
2
|
+
* @license Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
factory['default'] = factory;
|
|
13
13
|
module.exports = factory;
|
|
14
14
|
} else if (typeof define === 'function' && define.amd) {
|
|
15
|
-
define('highcharts/indicators/dema', ['highcharts', '
|
|
15
|
+
define('highcharts/indicators/dema', ['highcharts', 'modules/stock'], function (Highcharts) {
|
|
16
16
|
factory(Highcharts);
|
|
17
17
|
factory.Highcharts = Highcharts;
|
|
18
18
|
return factory;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
obj[path] = fn.apply(null, args);
|
|
29
29
|
|
|
30
30
|
if (typeof CustomEvent === 'function') {
|
|
31
|
-
|
|
31
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
32
32
|
'HighchartsModuleLoaded',
|
|
33
33
|
{ detail: { path: path, module: obj[path] } }
|
|
34
34
|
));
|
|
@@ -187,4 +187,4 @@
|
|
|
187
187
|
|
|
188
188
|
return Highcharts;
|
|
189
189
|
});
|
|
190
|
-
}));
|
|
190
|
+
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highstock JS v11.4.
|
|
2
|
+
* Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highstock
|
|
5
5
|
*
|
|
6
6
|
* (c) 2010-2024 Rafal Sebestjanski
|
|
7
7
|
*
|
|
8
8
|
* License: www.highcharts.com/license
|
|
9
|
-
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/indicators/disparity-index",["highcharts","
|
|
9
|
+
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/indicators/disparity-index",["highcharts","modules/stock"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t=e?e._modules:{};function a(t,a,i,s){t.hasOwnProperty(a)||(t[a]=s.apply(null,i),"function"==typeof CustomEvent&&e.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:a,module:t[a]}})))}a(t,"Stock/Indicators/DisparityIndex/DisparityIndexIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t){let{sma:a}=e.seriesTypes,{correctFloat:i,defined:s,extend:r,isArray:n,merge:o}=t;class d extends a{init(){let t=arguments,i=t[1].params,s=i&&i.average?i.average:void 0;this.averageIndicator=e.seriesTypes[s]||a,this.averageIndicator.prototype.init.apply(this,t)}calculateDisparityIndex(e,t){return i(e-t)/t*100}getValues(e,t){let a=t.index,i=e.xData,r=e.yData,o=r?r.length:0,d=[],p=[],u=[],l=this.averageIndicator,c=n(r[0]),h=l.prototype.getValues(e,t),y=h.yData,f=i.indexOf(h.xData[0]);if(y&&0!==y.length&&s(a)&&!(r.length<=f)){for(let e=f;e<o;e++){let t=this.calculateDisparityIndex(c?r[e][a]:r[e],y[e-f]);d.push([i[e],t]),p.push(i[e]),u.push(t)}return{values:d,xData:p,yData:u}}}}return d.defaultOptions=o(a.defaultOptions,{params:{average:"sma",index:3},marker:{enabled:!1},dataGrouping:{approximation:"averages"}}),r(d.prototype,{nameBase:"Disparity Index",nameComponents:["period","average"]}),e.registerSeriesType("disparityindex",d),d}),a(t,"masters/indicators/disparity-index.src.js",[t["Core/Globals.js"]],function(e){return e})});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v11.4.
|
|
2
|
+
* @license Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highstock
|
|
5
5
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
factory['default'] = factory;
|
|
13
13
|
module.exports = factory;
|
|
14
14
|
} else if (typeof define === 'function' && define.amd) {
|
|
15
|
-
define('highcharts/indicators/disparity-index', ['highcharts', '
|
|
15
|
+
define('highcharts/indicators/disparity-index', ['highcharts', 'modules/stock'], function (Highcharts) {
|
|
16
16
|
factory(Highcharts);
|
|
17
17
|
factory.Highcharts = Highcharts;
|
|
18
18
|
return factory;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
obj[path] = fn.apply(null, args);
|
|
29
29
|
|
|
30
30
|
if (typeof CustomEvent === 'function') {
|
|
31
|
-
|
|
31
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
32
32
|
'HighchartsModuleLoaded',
|
|
33
33
|
{ detail: { path: path, module: obj[path] } }
|
|
34
34
|
));
|
|
@@ -191,4 +191,4 @@
|
|
|
191
191
|
|
|
192
192
|
return Highcharts;
|
|
193
193
|
});
|
|
194
|
-
}));
|
|
194
|
+
}));
|
package/indicators/dmi.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highstock JS v11.4.
|
|
2
|
+
* Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
6
6
|
* (c) 2010-2024 Rafal Sebestjanski
|
|
7
7
|
*
|
|
8
8
|
* License: www.highcharts.com/license
|
|
9
|
-
*/function(t){"object"==typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/indicators/dmi",["highcharts","
|
|
9
|
+
*/function(t){"object"==typeof module&&module.exports?(t.default=t,module.exports=t):"function"==typeof define&&define.amd?define("highcharts/indicators/dmi",["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 s(e,s,i,a){e.hasOwnProperty(s)||(e[s]=a.apply(null,i),"function"==typeof CustomEvent&&t.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:s,module:e[s]}})))}s(e,"Stock/Indicators/MultipleLinesComposition.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e){var s;let{sma:{prototype:i}}=t.seriesTypes,{defined:a,error:o,merge:n}=e;return function(t){let e=["bottomLine"],s=["top","bottom"],l=["top"];function r(t){return"plot"+t.charAt(0).toUpperCase()+t.slice(1)}function p(t,e){let s=[];return(t.pointArrayMap||[]).forEach(t=>{t!==e&&s.push(r(t))}),s}function h(){let t=this,e=t.pointValKey,s=t.linesApiNames,l=t.areaLinesNames,h=t.points,u=t.options,c=t.graph,d={options:{gapSize:u.gapSize}},m=[],f=p(t,e),y=h.length,g;if(f.forEach((t,e)=>{for(m[e]=[];y--;)g=h[y],m[e].push({x:g.x,plotX:g.plotX,plotY:g[t],isNull:!a(g[t])});y=h.length}),t.userOptions.fillColor&&l.length){let e=m[f.indexOf(r(l[0]))],s=1===l.length?h:m[f.indexOf(r(l[1]))],a=t.color;t.points=s,t.nextPoints=e,t.color=t.userOptions.fillColor,t.options=n(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=a}s.forEach((e,s)=>{m[s]?(t.points=m[s],u[e]?t.options=n(u[e].styles,d):o('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):o('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,s=[],a=[];if(t=t||this.points,this.fillGraph&&this.nextPoints){if((e=i.getGraphPath.call(this,this.nextPoints))&&e.length){e[0][0]="L",s=i.getGraphPath.call(this,t),a=e.slice(0,s.length);for(let t=a.length-1;t>=0;t--)s.push(a[t])}}else s=i.getGraphPath.apply(this,arguments);return s}function c(t){let e=[];return(this.pointArrayMap||[]).forEach(s=>{e.push(t[s])}),e}function d(){let t=this.pointArrayMap,e=[],s;e=p(this),i.translate.apply(this,arguments),this.points.forEach(i=>{t.forEach((t,a)=>{s=i[t],this.dataModify&&(s=this.dataModify.modifyValue(s)),null!==s&&(i[e[a]]=this.yAxis.toPixels(s,!0))})})}t.compose=function(t){let i=t.prototype;return i.linesApiNames=i.linesApiNames||e.slice(),i.pointArrayMap=i.pointArrayMap||s.slice(),i.pointValKey=i.pointValKey||"top",i.areaLinesNames=i.areaLinesNames||l.slice(),i.drawGraph=h,i.getGraphPath=u,i.toYData=c,i.translate=d,t}}(s||(s={})),s}),s(e,"Stock/Indicators/DMI/DMIIndicator.js",[e["Stock/Indicators/MultipleLinesComposition.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(t,e,s){let{sma:i}=e.seriesTypes,{correctFloat:a,extend:o,isArray:n,merge:l}=s;class r extends i{calculateDM(t,e,s){let i=t[e][1],o=t[e][2],n=t[e-1][1],l=t[e-1][2];return a(i-n>l-o?s?Math.max(i-n,0):0:s?0:Math.max(l-o,0))}calculateDI(t,e){return t/e*100}calculateDX(t,e){return a(Math.abs(t-e)/Math.abs(t+e)*100)}smoothValues(t,e,s){return a(t-t/s+e)}getTR(t,e){return a(Math.max(t[1]-t[2],e?Math.abs(t[1]-e[3]):0,e?Math.abs(t[2]-e[3]):0))}getValues(t,e){let s=e.period,i=t.xData,a=t.yData,o=a?a.length:0,l=[],r=[],p=[];if(i.length<=s||!n(a[0])||4!==a[0].length)return;let h=0,u=0,c=0,d;for(d=1;d<o;d++){let t,e,o,n,m,f,y,g,D;d<=s?(n=this.calculateDM(a,d,!0),m=this.calculateDM(a,d),f=this.getTR(a[d],a[d-1]),h+=n,u+=m,c+=f,d===s&&(y=this.calculateDI(h,c),g=this.calculateDI(u,c),D=this.calculateDX(h,u),l.push([i[d],D,y,g]),r.push(i[d]),p.push([D,y,g]))):(n=this.calculateDM(a,d,!0),m=this.calculateDM(a,d),f=this.getTR(a[d],a[d-1]),t=this.smoothValues(h,n,s),e=this.smoothValues(u,m,s),o=this.smoothValues(c,f,s),h=t,u=e,c=o,y=this.calculateDI(h,c),g=this.calculateDI(u,c),D=this.calculateDX(h,u),l.push([i[d],D,y,g]),r.push(i[d]),p.push([D,y,g]))}return{values:l,xData:r,yData:p}}}return r.defaultOptions=l(i.defaultOptions,{params:{index:void 0},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color: {point.color}">●</span><b> {series.name}</b><br/><span style="color: {point.color}">DX</span>: {point.y}<br/><span style="color: {point.series.options.plusDILine.styles.lineColor}">+DI</span>: {point.plusDI}<br/><span style="color: {point.series.options.minusDILine.styles.lineColor}">-DI</span>: {point.minusDI}<br/>'},plusDILine:{styles:{lineWidth:1,lineColor:"#06b535"}},minusDILine:{styles:{lineWidth:1,lineColor:"#f21313"}},dataGrouping:{approximation:"averages"}}),o(r.prototype,{areaLinesNames:[],nameBase:"DMI",linesApiNames:["plusDILine","minusDILine"],pointArrayMap:["y","plusDI","minusDI"],parallelArrays:["x","y","plusDI","minusDI"],pointValKey:"y"}),t.compose(r),e.registerSeriesType("dmi",r),r}),s(e,"masters/indicators/dmi.src.js",[e["Core/Globals.js"]],function(t){return t})});
|
package/indicators/dmi.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v11.4.
|
|
2
|
+
* @license Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
factory['default'] = factory;
|
|
13
13
|
module.exports = factory;
|
|
14
14
|
} else if (typeof define === 'function' && define.amd) {
|
|
15
|
-
define('highcharts/indicators/dmi', ['highcharts', '
|
|
15
|
+
define('highcharts/indicators/dmi', ['highcharts', 'modules/stock'], function (Highcharts) {
|
|
16
16
|
factory(Highcharts);
|
|
17
17
|
factory.Highcharts = Highcharts;
|
|
18
18
|
return factory;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
obj[path] = fn.apply(null, args);
|
|
29
29
|
|
|
30
30
|
if (typeof CustomEvent === 'function') {
|
|
31
|
-
|
|
31
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
32
32
|
'HighchartsModuleLoaded',
|
|
33
33
|
{ detail: { path: path, module: obj[path] } }
|
|
34
34
|
));
|
|
@@ -574,4 +574,4 @@
|
|
|
574
574
|
|
|
575
575
|
return Highcharts;
|
|
576
576
|
});
|
|
577
|
-
}));
|
|
577
|
+
}));
|
package/indicators/dpo.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highstock JS v11.4.
|
|
2
|
+
* Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
6
6
|
* (c) 2010-2024 Wojciech Chmiel
|
|
7
7
|
*
|
|
8
8
|
* License: www.highcharts.com/license
|
|
9
|
-
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/indicators/dpo",["highcharts","
|
|
9
|
+
*/function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define("highcharts/indicators/dpo",["highcharts","modules/stock"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t=e?e._modules:{};function o(t,o,s,n){t.hasOwnProperty(o)||(t[o]=n.apply(null,s),"function"==typeof CustomEvent&&e.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:o,module:t[o]}})))}o(t,"Stock/Indicators/DPO/DPOIndicator.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(e,t){let{sma:o}=e.seriesTypes,{extend:s,merge:n,correctFloat:i,pick:r}=t;function a(e,t,o,s,n){let a=r(t[o][s],t[o]);return n?i(e-a):i(e+a)}class u extends o{getValues(e,t){let o=t.period,s=t.index,n=Math.floor(o/2+1),i=o+n,u=e.xData||[],d=e.yData||[],c=d.length,l=[],p=[],f=[],h,m,y,g,x,D=0;if(!(u.length<=i)){for(g=0;g<o-1;g++)D=a(D,d,g,s);for(x=0;x<=c-i;x++)m=x+o-1,y=x+i-1,D=a(D,d,m,s),h=r(d[y][s],d[y])-D/o,D=a(D,d,x,s,!0),l.push([u[y],h]),p.push(u[y]),f.push(h);return{values:l,xData:p,yData:f}}}}return u.defaultOptions=n(o.defaultOptions,{params:{index:0,period:21}}),s(u.prototype,{nameBase:"DPO"}),e.registerSeriesType("dpo",u),u}),o(t,"masters/indicators/dpo.src.js",[t["Core/Globals.js"]],function(e){return e})});
|
package/indicators/dpo.src.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v11.4.
|
|
2
|
+
* @license Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
factory['default'] = factory;
|
|
13
13
|
module.exports = factory;
|
|
14
14
|
} else if (typeof define === 'function' && define.amd) {
|
|
15
|
-
define('highcharts/indicators/dpo', ['highcharts', '
|
|
15
|
+
define('highcharts/indicators/dpo', ['highcharts', 'modules/stock'], function (Highcharts) {
|
|
16
16
|
factory(Highcharts);
|
|
17
17
|
factory.Highcharts = Highcharts;
|
|
18
18
|
return factory;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
obj[path] = fn.apply(null, args);
|
|
29
29
|
|
|
30
30
|
if (typeof CustomEvent === 'function') {
|
|
31
|
-
|
|
31
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
32
32
|
'HighchartsModuleLoaded',
|
|
33
33
|
{ detail: { path: path, module: obj[path] } }
|
|
34
34
|
));
|
|
@@ -188,4 +188,4 @@
|
|
|
188
188
|
|
|
189
189
|
return Highcharts;
|
|
190
190
|
});
|
|
191
|
-
}));
|
|
191
|
+
}));
|
package/indicators/ema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define(["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t,o,
|
|
1
|
+
!function(e){"object"==typeof module&&module.exports?(e.default=e,module.exports=e):"function"==typeof define&&define.amd?define(["highcharts"],function(t){return e(t),e.Highcharts=t,e}):e("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(e){"use strict";var t,n,o,i=e?e._modules:{};t="masters/indicators/ema.src.js",n=[i["Core/Globals.js"]],o=function(e){return e},i.hasOwnProperty(t)||(i[t]=o.apply(null,n),"function"==typeof CustomEvent&&e.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:t,module:i[t]}})))});
|
package/indicators/ema.src.js
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
obj[path] = fn.apply(null, args);
|
|
21
21
|
|
|
22
22
|
if (typeof CustomEvent === 'function') {
|
|
23
|
-
|
|
23
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
24
24
|
'HighchartsModuleLoaded',
|
|
25
25
|
{ detail: { path: path, module: obj[path] } }
|
|
26
26
|
));
|
|
@@ -38,4 +38,4 @@
|
|
|
38
38
|
|
|
39
39
|
return Highcharts;
|
|
40
40
|
});
|
|
41
|
-
}));
|
|
41
|
+
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
!/**
|
|
2
|
-
* Highstock JS v11.4.
|
|
2
|
+
* Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
6
6
|
* (c) 2010-2024 Sebastian Bochan
|
|
7
7
|
*
|
|
8
8
|
* License: www.highcharts.com/license
|
|
9
|
-
*/function(o){"object"==typeof module&&module.exports?(o.default=o,module.exports=o):"function"==typeof define&&define.amd?define("highcharts/indicators/ichimoku-kinko-hyo",["highcharts","
|
|
9
|
+
*/function(o){"object"==typeof module&&module.exports?(o.default=o,module.exports=o):"function"==typeof define&&define.amd?define("highcharts/indicators/ichimoku-kinko-hyo",["highcharts","modules/stock"],function(t){return o(t),o.Highcharts=t,o}):o("undefined"!=typeof Highcharts?Highcharts:void 0)}(function(o){"use strict";var t=o?o._modules:{};function e(t,e,n,i){t.hasOwnProperty(e)||(t[e]=i.apply(null,n),"function"==typeof CustomEvent&&o.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t,"Stock/Indicators/IKH/IKHIndicator.js",[t["Extensions/DataGrouping/ApproximationRegistry.js"],t["Core/Color/Color.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],function(o,t,e,n){let{parse:i}=t,{sma:s}=e.seriesTypes,{defined:p,extend:l,isArray:a,isNumber:r,getClosestDistance:h,merge:u,objectEach:c}=n;function k(o){return{high:o.reduce(function(o,t){return Math.max(o,t[1])},-1/0),low:o.reduce(function(o,t){return Math.min(o,t[2])},1/0)}}function g(o){let t=o.indicator;t.points=o.points,t.nextPoints=o.nextPoints,t.color=o.color,t.options=u(o.options.senkouSpan.styles,o.gap),t.graph=o.graph,t.fillGraph=!0,e.seriesTypes.sma.prototype.drawGraph.call(t)}class d extends s{constructor(){super(...arguments),this.data=[],this.options={},this.points=[],this.graphCollection=[]}init(){super.init.apply(this,arguments),this.options=u({tenkanLine:{styles:{lineColor:this.color}},kijunLine:{styles:{lineColor:this.color}},chikouLine:{styles:{lineColor:this.color}},senkouSpanA:{styles:{lineColor:this.color,fill:i(this.color).setOpacity(.5).get()}},senkouSpanB:{styles:{lineColor:this.color,fill:i(this.color).setOpacity(.5).get()}},senkouSpan:{styles:{fill:i(this.color).setOpacity(.2).get()}}},this.options)}toYData(o){return[o.tenkanSen,o.kijunSen,o.chikouSpan,o.senkouSpanA,o.senkouSpanB]}translate(){for(let o of(e.seriesTypes.sma.prototype.translate.apply(this),this.points))for(let t of this.pointArrayMap){let e=o[t];r(e)&&(o["plot"+t]=this.yAxis.toPixels(e,!0),o.plotY=o["plot"+t],o.tooltipPos=[o.plotX,o["plot"+t]],o.isNull=!1)}}drawGraph(){let o=this,t=o.points,n=o.options,i=o.graph,s=o.color,l={options:{gapSize:n.gapSize}},a=o.pointArrayMap.length,r=[[],[],[],[],[],[]],h={tenkanLine:r[0],kijunLine:r[1],chikouLine:r[2],senkouSpanA:r[3],senkouSpanB:r[4],senkouSpan:r[5]},k=[],d=o.options.senkouSpan,f=d.color||d.styles.fill,S=d.negativeColor,y=[[],[]],m=[[],[]],C=t.length,v=0,A,x,Y,P,B,j,G,N,X,b,T,E,L;for(o.ikhMap=h;C--;){for(Y=0,x=t[C];Y<a;Y++)p(x[A=o.pointArrayMap[Y]])&&r[Y].push({plotX:x.plotX,plotY:x["plot"+A],isNull:!1});if(S&&C!==t.length-1){let o=h.senkouSpanB.length-1,t=function(o,t,e,n){if(o&&t&&e&&n){let i=t.plotX-o.plotX,s=t.plotY-o.plotY,p=n.plotX-e.plotX,l=n.plotY-e.plotY,a=o.plotX-e.plotX,r=o.plotY-e.plotY,h=(-s*a+i*r)/(-p*s+i*l),u=(p*r-l*a)/(-p*s+i*l);if(h>=0&&h<=1&&u>=0&&u<=1)return{plotX:o.plotX+u*i,plotY:o.plotY+u*s}}}(h.senkouSpanA[o-1],h.senkouSpanA[o],h.senkouSpanB[o-1],h.senkouSpanB[o]);if(t){let e={plotX:t.plotX,plotY:t.plotY,isNull:!1,intersectPoint:!0};h.senkouSpanA.splice(o,0,e),h.senkouSpanB.splice(o,0,e),k.push(o)}}}if(c(h,(t,i)=>{n[i]&&"senkouSpan"!==i&&(o.points=r[v],o.options=u(n[i].styles,l),o.graph=o["graph"+i],o.fillGraph=!1,o.color=s,e.seriesTypes.sma.prototype.drawGraph.call(o),o["graph"+i]=o.graph),v++}),o.graphCollection)for(let t of o.graphCollection)o[t].destroy(),delete o[t];if(o.graphCollection=[],S&&h.senkouSpanA[0]&&h.senkouSpanB[0]){for(k.unshift(0),k.push(h.senkouSpanA.length-1),E=0;E<k.length-1;E++)if(P=k[E],B=k[E+1],j=h.senkouSpanB.slice(P,B+1),G=h.senkouSpanA.slice(P,B+1),Math.floor(j.length/2)>=1){let o=Math.floor(j.length/2);if(j[o].plotY===G[o].plotY){for(L=0,N=0,X=0;L<j.length;L++)N+=j[L].plotY,X+=G[L].plotY;y[T=N>X?0:1]=y[T].concat(j),m[T]=m[T].concat(G)}else y[T=j[o].plotY>G[o].plotY?0:1]=y[T].concat(j),m[T]=m[T].concat(G)}else y[T=j[0].plotY>G[0].plotY?0:1]=y[T].concat(j),m[T]=m[T].concat(G);["graphsenkouSpanColor","graphsenkouSpanNegativeColor"].forEach(function(t,e){y[e].length&&m[e].length&&(b=0===e?f:S,g({indicator:o,points:y[e],nextPoints:m[e],color:b,options:n,gap:l,graph:o[t]}),o[t]=o.graph,o.graphCollection.push(t))})}else g({indicator:o,points:h.senkouSpanB,nextPoints:h.senkouSpanA,color:f,options:n,gap:l,graph:o.graphsenkouSpan}),o.graphsenkouSpan=o.graph;delete o.nextPoints,delete o.fillGraph,o.points=t,o.options=n,o.graph=i,o.color=s}getGraphPath(o){let t=[],n,i=[];if(o=o||this.points,this.fillGraph&&this.nextPoints){if((n=e.seriesTypes.sma.prototype.getGraphPath.call(this,this.nextPoints))&&n.length){n[0][0]="L",t=e.seriesTypes.sma.prototype.getGraphPath.call(this,o),i=n.slice(0,t.length);for(let o=i.length-1;o>=0;o--)t.push(i[o])}}else t=e.seriesTypes.sma.prototype.getGraphPath.apply(this,arguments);return t}getValues(o,t){let e,n,i,s,p,l,r,u,c,g;let d=t.period,f=t.periodTenkan,S=t.periodSenkouSpanB,y=o.xData,m=o.yData,C=o.xAxis,v=m&&m.length||0,A=h(C.series.map(o=>o.xData||[])),x=[],Y=[];if(y.length<=d||!a(m[0])||4!==m[0].length)return;let P=y[0]-d*A;for(p=0;p<d;p++)Y.push(P+p*A);for(p=0;p<v;p++)p>=f&&(l=((n=k(m.slice(p-f,p))).high+n.low)/2),p>=d&&(c=(l+(r=((i=k(m.slice(p-d,p))).high+i.low)/2))/2),p>=S&&(g=((s=k(m.slice(p-S,p))).high+s.low)/2),u=m[p][3],e=y[p],void 0===x[p]&&(x[p]=[]),void 0===x[p+d-1]&&(x[p+d-1]=[]),x[p+d-1][0]=l,x[p+d-1][1]=r,x[p+d-1][2]=void 0,void 0===x[p+1]&&(x[p+1]=[]),x[p+1][2]=u,p<=d&&(x[p+d-1][3]=void 0,x[p+d-1][4]=void 0),void 0===x[p+2*d-2]&&(x[p+2*d-2]=[]),x[p+2*d-2][3]=c,x[p+2*d-2][4]=g,Y.push(e);for(p=1;p<=d;p++)Y.push(e+p*A);return{values:x,xData:Y,yData:x}}}return d.defaultOptions=u(s.defaultOptions,{params:{index:void 0,period:26,periodTenkan:9,periodSenkouSpanB:52},marker:{enabled:!1},tooltip:{pointFormat:'<span style="color:{point.color}">●</span> <b> {series.name}</b><br/>TENKAN SEN: {point.tenkanSen:.3f}<br/>KIJUN SEN: {point.kijunSen:.3f}<br/>CHIKOU SPAN: {point.chikouSpan:.3f}<br/>SENKOU SPAN A: {point.senkouSpanA:.3f}<br/>SENKOU SPAN B: {point.senkouSpanB:.3f}<br/>'},tenkanLine:{styles:{lineWidth:1,lineColor:void 0}},kijunLine:{styles:{lineWidth:1,lineColor:void 0}},chikouLine:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanA:{styles:{lineWidth:1,lineColor:void 0}},senkouSpanB:{styles:{lineWidth:1,lineColor:void 0}},senkouSpan:{styles:{fill:"rgba(255, 0, 0, 0.5)"}},dataGrouping:{approximation:"ichimoku-averages"}}),l(d.prototype,{pointArrayMap:["tenkanSen","kijunSen","chikouSpan","senkouSpanA","senkouSpanB"],pointValKey:"tenkanSen",nameComponents:["periodSenkouSpanB","period","periodTenkan"]}),o["ichimoku-averages"]=function(){let t;let e=[];return[].forEach.call(arguments,function(n,i){e.push(o.average(n)),t=!t&&void 0===e[i]}),t?void 0:e},e.registerSeriesType("ikh",d),d}),e(t,"masters/indicators/ichimoku-kinko-hyo.src.js",[t["Core/Globals.js"]],function(o){return o})});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Highstock JS v11.4.
|
|
2
|
+
* @license Highstock JS v11.4.4 (2024-07-02)
|
|
3
3
|
*
|
|
4
4
|
* Indicator series type for Highcharts Stock
|
|
5
5
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
factory['default'] = factory;
|
|
13
13
|
module.exports = factory;
|
|
14
14
|
} else if (typeof define === 'function' && define.amd) {
|
|
15
|
-
define('highcharts/indicators/ichimoku-kinko-hyo', ['highcharts', '
|
|
15
|
+
define('highcharts/indicators/ichimoku-kinko-hyo', ['highcharts', 'modules/stock'], function (Highcharts) {
|
|
16
16
|
factory(Highcharts);
|
|
17
17
|
factory.Highcharts = Highcharts;
|
|
18
18
|
return factory;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
obj[path] = fn.apply(null, args);
|
|
29
29
|
|
|
30
30
|
if (typeof CustomEvent === 'function') {
|
|
31
|
-
|
|
31
|
+
Highcharts.win.dispatchEvent(new CustomEvent(
|
|
32
32
|
'HighchartsModuleLoaded',
|
|
33
33
|
{ detail: { path: path, module: obj[path] } }
|
|
34
34
|
));
|
|
@@ -259,13 +259,13 @@
|
|
|
259
259
|
senkouSpanOptions.styles.fill, negativeColor = senkouSpanOptions.negativeColor,
|
|
260
260
|
// Points to create color and negativeColor senkouSpan
|
|
261
261
|
points = [
|
|
262
|
-
[],
|
|
262
|
+
[], // Points color
|
|
263
263
|
[] // Points negative color
|
|
264
264
|
],
|
|
265
265
|
// For span, we need an access to the next points, used in
|
|
266
266
|
// getGraphPath()
|
|
267
267
|
nextPoints = [
|
|
268
|
-
[],
|
|
268
|
+
[], // Next points color
|
|
269
269
|
[] // Next points negative color
|
|
270
270
|
];
|
|
271
271
|
let pointsLength = mainLinePoints.length, lineIndex = 0, position, point, i, startIntersect, endIntersect, sectionPoints, sectionNextPoints, pointsPlotYSum, nextPointsPlotYSum, senkouSpanTempColor, concatArrIndex, j, k;
|
|
@@ -530,7 +530,7 @@
|
|
|
530
530
|
* @excluding index
|
|
531
531
|
*/
|
|
532
532
|
params: {
|
|
533
|
-
index: void 0,
|
|
533
|
+
index: void 0, // Unused index, do not inherit (#15362)
|
|
534
534
|
period: 26,
|
|
535
535
|
/**
|
|
536
536
|
* The base period for Tenkan calculations.
|
|
@@ -730,4 +730,4 @@
|
|
|
730
730
|
|
|
731
731
|
return Highcharts;
|
|
732
732
|
});
|
|
733
|
-
}));
|
|
733
|
+
}));
|