highcharts 10.2.1 → 10.3.1

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.
Files changed (732) hide show
  1. package/bower.json +1 -1
  2. package/es-modules/Accessibility/Accessibility.js +1 -1
  3. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +9 -6
  4. package/es-modules/Accessibility/Components/LegendComponent.js +36 -32
  5. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +1 -1
  6. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +16 -16
  7. package/es-modules/Accessibility/Options/LangDefaults.js +4 -0
  8. package/es-modules/Core/Axis/Axis.js +42 -32
  9. package/es-modules/Core/Axis/Axis3DComposition.js +501 -0
  10. package/es-modules/Core/Axis/Axis3DDefaults.js +130 -0
  11. package/es-modules/Core/Axis/AxisDefaults.js +20 -7
  12. package/es-modules/Core/Axis/Color/ColorAxis.js +46 -52
  13. package/es-modules/Core/Axis/Color/ColorAxisComposition.js +4 -2
  14. package/es-modules/Core/Axis/NavigatorAxisComposition.js +161 -0
  15. package/es-modules/Core/Axis/OrdinalAxis.js +2 -1
  16. package/es-modules/Core/Axis/PlotLineOrBand/PlotLineOrBand.js +1 -1
  17. package/es-modules/Core/Axis/RadialAxis.js +19 -5
  18. package/es-modules/Core/Axis/Tick.js +1 -1
  19. package/es-modules/Core/Axis/Tick3DComposition.js +71 -0
  20. package/es-modules/Core/Chart/Chart.js +16 -20
  21. package/es-modules/Core/Chart/Chart3D.js +4 -4
  22. package/es-modules/Core/Chart/ChartDefaults.js +33 -43
  23. package/es-modules/Core/Chart/GanttChart.js +1 -1
  24. package/es-modules/Core/Chart/MapChart.js +1 -1
  25. package/es-modules/Core/Chart/StockChart.js +11 -28
  26. package/es-modules/Core/{DefaultOptions.js → Defaults.js} +21 -37
  27. package/es-modules/Core/FormatUtilities.js +1 -1
  28. package/es-modules/Core/Globals.js +1 -1
  29. package/es-modules/Core/Legend/Legend.js +114 -110
  30. package/es-modules/Core/Legend/LegendSymbol.js +9 -6
  31. package/es-modules/Core/MSPointer.js +4 -2
  32. package/es-modules/Core/Pointer.js +125 -75
  33. package/es-modules/Core/Renderer/SVG/SVGElement.js +0 -3
  34. package/es-modules/Core/Renderer/SVG/SVGRenderer.js +28 -14
  35. package/es-modules/Core/Series/DataLabel.js +8 -5
  36. package/es-modules/Core/Series/Point.js +38 -22
  37. package/es-modules/Core/Series/Series.js +12 -9
  38. package/es-modules/Core/Series/SeriesDefaults.js +36 -24
  39. package/es-modules/Core/Series/SeriesRegistry.js +2 -2
  40. package/es-modules/Core/Time.js +6 -5
  41. package/es-modules/Core/Tooltip.js +6 -28
  42. package/es-modules/Core/Utilities.js +6 -8
  43. package/es-modules/Extensions/Annotations/Annotation.js +1 -1
  44. package/es-modules/Extensions/Annotations/AnnotationDefaults.js +13 -8
  45. package/es-modules/Extensions/Annotations/MockPoint.js +2 -1
  46. package/es-modules/Extensions/Annotations/NavigationBindings.js +4 -5
  47. package/es-modules/Extensions/Annotations/NavigationBindingsDefaults.js +1 -1
  48. package/es-modules/Extensions/Annotations/Popup/Popup.js +2 -2
  49. package/es-modules/Extensions/Annotations/Popup/PopupAnnotations.js +4 -4
  50. package/es-modules/Extensions/Annotations/Popup/PopupComposition.js +1 -1
  51. package/es-modules/Extensions/Boost/BoostSeries.js +11 -8
  52. package/es-modules/Extensions/Breadcrumbs.js +2 -2
  53. package/es-modules/Extensions/Data.js +2 -2
  54. package/es-modules/Extensions/DataGrouping/ApproximationDefaults.js +157 -0
  55. package/es-modules/Extensions/DataGrouping/ApproximationRegistry.js +35 -0
  56. package/es-modules/Extensions/DataGrouping/DataGrouping.js +469 -0
  57. package/es-modules/Extensions/DataGrouping/DataGroupingAxisComposition.js +174 -0
  58. package/es-modules/Extensions/DataGrouping/DataGroupingDefaults.js +143 -0
  59. package/es-modules/Extensions/DataGrouping/DataGroupingSeriesComposition.js +479 -0
  60. package/es-modules/Extensions/Debugger/Debugger.js +1 -1
  61. package/es-modules/Extensions/DraggablePoints.js +6 -2
  62. package/es-modules/Extensions/Drilldown.js +3 -5
  63. package/es-modules/Extensions/ExportData/ExportData.js +31 -5
  64. package/es-modules/Extensions/Exporting/Exporting.js +47 -60
  65. package/es-modules/Extensions/Exporting/ExportingDefaults.js +22 -24
  66. package/es-modules/Extensions/GeoJSON.js +3 -1
  67. package/es-modules/Extensions/MarkerClusters.js +1 -1
  68. package/es-modules/Extensions/NoDataToDisplay.js +1 -1
  69. package/es-modules/Extensions/OfflineExporting/OfflineExporting.js +5 -5
  70. package/es-modules/Extensions/OfflineExporting/OfflineExportingDefaults.js +1 -1
  71. package/es-modules/Extensions/Oldie/Oldie.js +3 -3
  72. package/es-modules/Extensions/Oldie/VMLRenderer3D.js +1 -1
  73. package/es-modules/Extensions/OldiePolyfills.js +3 -1
  74. package/es-modules/Extensions/Pane.js +42 -5
  75. package/es-modules/Extensions/ParallelCoordinates.js +5 -1
  76. package/es-modules/Extensions/PatternFill.js +10 -10
  77. package/es-modules/Extensions/SeriesLabel/SeriesLabel.js +2 -2
  78. package/es-modules/Extensions/SeriesLabel/SeriesLabelDefaults.js +4 -0
  79. package/es-modules/Extensions/Sonification/Sonification.js +1 -1
  80. package/es-modules/Extensions/Themes/Avocado.js +1 -1
  81. package/es-modules/Extensions/Themes/BrandDark.js +1 -1
  82. package/es-modules/Extensions/Themes/BrandLight.js +1 -1
  83. package/es-modules/Extensions/Themes/DarkBlue.js +1 -1
  84. package/es-modules/Extensions/Themes/DarkGreen.js +1 -1
  85. package/es-modules/Extensions/Themes/DarkUnica.js +1 -1
  86. package/es-modules/Extensions/Themes/Gray.js +1 -1
  87. package/es-modules/Extensions/Themes/Grid.js +1 -1
  88. package/es-modules/Extensions/Themes/GridLight.js +1 -1
  89. package/es-modules/Extensions/Themes/HighContrastDark.js +1 -1
  90. package/es-modules/Extensions/Themes/HighContrastLight.js +1 -1
  91. package/es-modules/Extensions/Themes/SandSignika.js +1 -1
  92. package/es-modules/Extensions/Themes/Skies.js +1 -1
  93. package/es-modules/Extensions/Themes/Sunset.js +1 -1
  94. package/es-modules/Gantt/Connection.js +5 -5
  95. package/es-modules/Gantt/Pathfinder.js +6 -6
  96. package/es-modules/Maps/MapNavigation.js +1 -1
  97. package/es-modules/Maps/{MapNavigationOptionsDefault.js → MapNavigationDefaults.js} +4 -4
  98. package/es-modules/Maps/MapViewOptionsDefault.js +4 -4
  99. package/es-modules/Series/ArcDiagram/ArcDiagramSeries.js +3 -5
  100. package/es-modules/Series/AreaRange/AreaRangePoint.js +6 -10
  101. package/es-modules/Series/AreaRange/AreaRangeSeries.js +59 -48
  102. package/es-modules/Series/BoxPlot/BoxPlotSeries.js +4 -1
  103. package/es-modules/Series/Bubble/BubbleLegendComposition.js +22 -16
  104. package/es-modules/Series/Bubble/BubbleLegendItem.js +17 -21
  105. package/es-modules/Series/Candlestick/CandlestickSeries.js +15 -175
  106. package/es-modules/Series/Candlestick/CandlestickSeriesDefaults.js +179 -0
  107. package/es-modules/Series/Column/ColumnSeries.js +25 -506
  108. package/es-modules/Series/Column/ColumnSeriesDefaults.js +487 -0
  109. package/es-modules/Series/ColumnRange/ColumnRangeSeries.js +40 -36
  110. package/es-modules/Series/DependencyWheel/DependencyWheelSeries.js +2 -106
  111. package/es-modules/Series/DependencyWheel/DependencyWheelSeriesDefaults.js +183 -0
  112. package/es-modules/Series/DotPlot/DotPlotSeries.js +11 -12
  113. package/es-modules/Series/DrawPointUtilities.js +2 -14
  114. package/es-modules/Series/Dumbbell/DumbbellPoint.js +5 -4
  115. package/es-modules/Series/Dumbbell/DumbbellSeries.js +11 -7
  116. package/es-modules/Series/ErrorBar/ErrorBarSeries.js +19 -136
  117. package/es-modules/Series/ErrorBar/ErrorBarSeriesDefaults.js +147 -0
  118. package/es-modules/Series/Flags/FlagsPoint.js +2 -3
  119. package/es-modules/Series/Flags/FlagsSeries.js +31 -298
  120. package/es-modules/Series/Flags/FlagsSeriesDefaults.js +295 -0
  121. package/es-modules/Series/Flags/FlagsSymbols.js +96 -71
  122. package/es-modules/Series/HLC/HLCPoint.js +2 -2
  123. package/es-modules/Series/HLC/HLCSeries.js +7 -172
  124. package/es-modules/Series/HLC/HLCSeriesDefaults.js +184 -0
  125. package/es-modules/Series/Heatmap/HeatmapSeries.js +3 -0
  126. package/es-modules/Series/HeikinAshi/HeikinAshiPoint.js +3 -20
  127. package/es-modules/Series/HeikinAshi/HeikinAshiSeries.js +78 -139
  128. package/es-modules/Series/HeikinAshi/HeikinAshiSeriesDefaults.js +102 -0
  129. package/es-modules/Series/Item/ItemPoint.js +0 -1
  130. package/es-modules/Series/Item/ItemSeries.js +13 -8
  131. package/es-modules/Series/Line/LineSeries.js +8 -4
  132. package/es-modules/Series/Map/MapPoint.js +19 -1
  133. package/es-modules/Series/Map/MapSeries.js +7 -3
  134. package/es-modules/Series/MapBubble/MapBubbleSeries.js +4 -0
  135. package/es-modules/Series/MapPoint/MapPointPoint.js +0 -5
  136. package/es-modules/Series/MapPoint/MapPointSeries.js +24 -9
  137. package/es-modules/Series/Networkgraph/NetworkgraphSeries.js +2 -5
  138. package/es-modules/Series/Networkgraph/NetworkgraphSeriesDefaults.js +2 -0
  139. package/es-modules/Series/OHLC/OHLCPoint.js +0 -2
  140. package/es-modules/Series/OHLC/OHLCSeries.js +64 -160
  141. package/es-modules/Series/OHLC/OHLCSeriesDefaults.js +151 -0
  142. package/es-modules/Series/Organization/OrganizationPoint.js +0 -2
  143. package/es-modules/Series/Organization/OrganizationSeries.js +96 -469
  144. package/es-modules/Series/Organization/OrganizationSeriesDefaults.js +415 -0
  145. package/es-modules/Series/PackedBubble/PackedBubbleSeries.js +3 -10
  146. package/es-modules/Series/PackedBubble/PackedBubbleSeriesDefaults.js +2 -0
  147. package/es-modules/Series/PathUtilities.js +74 -0
  148. package/es-modules/Series/Pie/PieSeries.js +2 -644
  149. package/es-modules/Series/Pie/PieSeriesDefaults.js +660 -0
  150. package/es-modules/Series/PolarComposition.js +233 -15
  151. package/es-modules/Series/Sankey/SankeySeries.js +27 -530
  152. package/es-modules/Series/Sankey/SankeySeriesDefaults.js +522 -0
  153. package/es-modules/Series/Scatter/ScatterSeries.js +2 -172
  154. package/es-modules/Series/Scatter/ScatterSeriesDefaults.js +188 -0
  155. package/es-modules/Series/SolidGauge/SolidGaugeSeries.js +12 -182
  156. package/es-modules/Series/SolidGauge/SolidGaugeSeriesDefaults.js +199 -0
  157. package/es-modules/Series/Sunburst/SunburstNode.js +34 -0
  158. package/es-modules/Series/Sunburst/SunburstPoint.js +2 -1
  159. package/es-modules/Series/Sunburst/SunburstSeries.js +3 -1
  160. package/es-modules/Series/Timeline/TimelineSeries.js +2 -231
  161. package/es-modules/Series/Timeline/TimelineSeriesDefaults.js +248 -0
  162. package/es-modules/Series/TreeUtilities.js +1 -2
  163. package/es-modules/Series/Treegraph/TreegraphLayout.js +338 -0
  164. package/es-modules/Series/Treegraph/TreegraphLink.js +92 -0
  165. package/es-modules/Series/Treegraph/TreegraphNode.js +206 -0
  166. package/es-modules/Series/Treegraph/TreegraphPoint.js +175 -0
  167. package/es-modules/Series/Treegraph/TreegraphSeries.js +510 -0
  168. package/es-modules/Series/Treegraph/TreegraphSeriesDefaults.js +231 -0
  169. package/es-modules/Series/Treemap/TreemapNode.js +48 -0
  170. package/es-modules/Series/Treemap/TreemapPoint.js +2 -1
  171. package/es-modules/Series/Treemap/TreemapSeries.js +29 -27
  172. package/es-modules/Series/Variwide/VariwideComposition.js +70 -26
  173. package/es-modules/Series/Variwide/VariwidePoint.js +8 -7
  174. package/es-modules/Series/Variwide/VariwideSeries.js +19 -14
  175. package/es-modules/Series/Vector/VectorSeries.js +2 -2
  176. package/es-modules/Series/Venn/VennSeries.js +14 -0
  177. package/es-modules/Series/Waterfall/WaterfallSeries.js +0 -1
  178. package/es-modules/Series/Windbarb/WindbarbSeries.js +3 -2
  179. package/es-modules/Series/Wordcloud/WordcloudSeries.js +3 -0
  180. package/es-modules/Stock/Indicators/AO/AOIndicator.js +1 -2
  181. package/es-modules/Stock/Indicators/BB/BBIndicator.js +15 -4
  182. package/es-modules/Stock/Indicators/IKH/IKHIndicator.js +21 -18
  183. package/es-modules/Stock/Indicators/Klinger/KlingerIndicator.js +1 -2
  184. package/es-modules/Stock/Indicators/MACD/MACDIndicator.js +1 -2
  185. package/es-modules/Stock/Indicators/PivotPoints/PivotPointsIndicator.js +1 -1
  186. package/es-modules/Stock/Indicators/SMA/SMAIndicator.js +0 -1
  187. package/es-modules/Stock/Indicators/SlowStochastic/SlowStochasticIndicator.js +3 -4
  188. package/es-modules/Stock/Indicators/Supertrend/SupertrendIndicator.js +1 -2
  189. package/es-modules/Stock/Indicators/VBP/VBPIndicator.js +6 -7
  190. package/es-modules/{Core → Stock/Navigator}/Navigator.js +112 -686
  191. package/es-modules/Stock/Navigator/NavigatorComposition.js +218 -0
  192. package/es-modules/Stock/Navigator/NavigatorDefaults.js +490 -0
  193. package/es-modules/Stock/Navigator/NavigatorSymbols.js +44 -0
  194. package/es-modules/{Extensions → Stock/RangeSelector}/RangeSelector.js +154 -818
  195. package/es-modules/Stock/RangeSelector/RangeSelectorComposition.js +286 -0
  196. package/es-modules/Stock/RangeSelector/RangeSelectorDefaults.js +521 -0
  197. package/es-modules/{Core → Stock/Scrollbar}/Scrollbar.js +4 -4
  198. package/es-modules/{Core → Stock/Scrollbar}/ScrollbarDefaults.js +1 -1
  199. package/es-modules/Stock/{StockToolbar.js → StockTools/StockToolbar.js} +2 -2
  200. package/es-modules/Stock/{StockTools.js → StockTools/StockTools.js} +3 -3
  201. package/es-modules/Stock/{StockToolsBindings.js → StockTools/StockToolsBindings.js} +3 -3
  202. package/es-modules/Stock/{StockToolsDefaults.js → StockTools/StockToolsDefaults.js} +4 -4
  203. package/es-modules/Stock/{StockToolsGui.js → StockTools/StockToolsGui.js} +4 -4
  204. package/es-modules/Stock/{StockToolsUtilities.js → StockTools/StockToolsUtilities.js} +4 -4
  205. package/es-modules/masters/highcharts-3d.src.js +3 -5
  206. package/es-modules/masters/highcharts-gantt.src.js +1 -1
  207. package/es-modules/masters/highcharts-more.src.js +1 -1
  208. package/es-modules/masters/highcharts.src.js +6 -6
  209. package/es-modules/masters/highmaps.src.js +1 -1
  210. package/es-modules/masters/highstock.src.js +1 -1
  211. package/es-modules/masters/indicators/acceleration-bands.src.js +1 -1
  212. package/es-modules/masters/indicators/accumulation-distribution.src.js +1 -1
  213. package/es-modules/masters/indicators/ao.src.js +1 -1
  214. package/es-modules/masters/indicators/apo.src.js +1 -1
  215. package/es-modules/masters/indicators/aroon-oscillator.src.js +1 -1
  216. package/es-modules/masters/indicators/aroon.src.js +1 -1
  217. package/es-modules/masters/indicators/atr.src.js +1 -1
  218. package/es-modules/masters/indicators/bollinger-bands.src.js +1 -1
  219. package/es-modules/masters/indicators/cci.src.js +1 -1
  220. package/es-modules/masters/indicators/chaikin.src.js +1 -1
  221. package/es-modules/masters/indicators/cmf.src.js +1 -1
  222. package/es-modules/masters/indicators/cmo.src.js +1 -1
  223. package/es-modules/masters/indicators/dema.src.js +1 -1
  224. package/es-modules/masters/indicators/disparity-index.src.js +1 -1
  225. package/es-modules/masters/indicators/dmi.src.js +1 -1
  226. package/es-modules/masters/indicators/dpo.src.js +1 -1
  227. package/es-modules/masters/indicators/ichimoku-kinko-hyo.src.js +1 -1
  228. package/es-modules/masters/indicators/indicators-all.src.js +1 -1
  229. package/es-modules/masters/indicators/indicators.src.js +1 -1
  230. package/es-modules/masters/indicators/keltner-channels.src.js +1 -1
  231. package/es-modules/masters/indicators/klinger.src.js +1 -1
  232. package/es-modules/masters/indicators/macd.src.js +1 -1
  233. package/es-modules/masters/indicators/mfi.src.js +1 -1
  234. package/es-modules/masters/indicators/momentum.src.js +1 -1
  235. package/es-modules/masters/indicators/natr.src.js +1 -1
  236. package/es-modules/masters/indicators/obv.src.js +1 -1
  237. package/es-modules/masters/indicators/pivot-points.src.js +1 -1
  238. package/es-modules/masters/indicators/ppo.src.js +1 -1
  239. package/es-modules/masters/indicators/price-channel.src.js +1 -1
  240. package/es-modules/masters/indicators/price-envelopes.src.js +1 -1
  241. package/es-modules/masters/indicators/psar.src.js +1 -1
  242. package/es-modules/masters/indicators/regressions.src.js +1 -1
  243. package/es-modules/masters/indicators/roc.src.js +1 -1
  244. package/es-modules/masters/indicators/rsi.src.js +1 -1
  245. package/es-modules/masters/indicators/slow-stochastic.src.js +1 -1
  246. package/es-modules/masters/indicators/stochastic.src.js +1 -1
  247. package/es-modules/masters/indicators/supertrend.src.js +1 -1
  248. package/es-modules/masters/indicators/tema.src.js +1 -1
  249. package/es-modules/masters/indicators/trendline.src.js +1 -1
  250. package/es-modules/masters/indicators/trix.src.js +1 -1
  251. package/es-modules/masters/indicators/volume-by-price.src.js +1 -1
  252. package/es-modules/masters/indicators/vwap.src.js +1 -1
  253. package/es-modules/masters/indicators/williams-r.src.js +1 -1
  254. package/es-modules/masters/indicators/wma.src.js +1 -1
  255. package/es-modules/masters/indicators/zigzag.src.js +1 -1
  256. package/es-modules/masters/modules/accessibility.src.js +1 -1
  257. package/es-modules/masters/modules/annotations-advanced.src.js +1 -1
  258. package/es-modules/masters/modules/annotations.src.js +1 -1
  259. package/es-modules/masters/modules/arc-diagram.src.js +1 -1
  260. package/es-modules/masters/modules/arrow-symbols.src.js +1 -1
  261. package/es-modules/masters/modules/boost-canvas.src.js +1 -1
  262. package/es-modules/masters/modules/boost.src.js +1 -1
  263. package/es-modules/masters/modules/broken-axis.src.js +1 -1
  264. package/es-modules/masters/modules/bullet.src.js +1 -1
  265. package/es-modules/masters/modules/coloraxis.src.js +1 -1
  266. package/es-modules/masters/modules/current-date-indicator.src.js +1 -1
  267. package/es-modules/masters/modules/cylinder.src.js +1 -1
  268. package/es-modules/masters/modules/data.src.js +1 -1
  269. package/es-modules/masters/modules/datagrouping.src.js +11 -3
  270. package/es-modules/masters/modules/debugger.src.js +1 -1
  271. package/es-modules/masters/modules/dependency-wheel.src.js +1 -1
  272. package/es-modules/masters/modules/dotplot.src.js +1 -1
  273. package/es-modules/masters/modules/drag-panes.src.js +1 -1
  274. package/es-modules/masters/modules/draggable-points.src.js +1 -1
  275. package/es-modules/masters/modules/drilldown.src.js +1 -1
  276. package/es-modules/masters/modules/dumbbell.src.js +1 -1
  277. package/es-modules/masters/modules/export-data.src.js +1 -1
  278. package/es-modules/masters/modules/exporting.src.js +1 -1
  279. package/es-modules/masters/modules/full-screen.src.js +1 -1
  280. package/es-modules/masters/modules/funnel.src.js +1 -1
  281. package/es-modules/masters/modules/funnel3d.src.js +1 -1
  282. package/es-modules/masters/modules/gantt.src.js +9 -5
  283. package/es-modules/masters/modules/grid-axis.src.js +1 -1
  284. package/es-modules/masters/modules/heatmap.src.js +1 -1
  285. package/es-modules/masters/modules/heikinashi.src.js +5 -2
  286. package/es-modules/masters/modules/histogram-bellcurve.src.js +1 -1
  287. package/es-modules/masters/modules/hollowcandlestick.src.js +1 -1
  288. package/es-modules/masters/modules/item-series.src.js +1 -1
  289. package/es-modules/masters/modules/lollipop.src.js +1 -1
  290. package/es-modules/masters/modules/map.src.js +1 -1
  291. package/es-modules/masters/modules/marker-clusters.src.js +1 -1
  292. package/es-modules/masters/modules/networkgraph.src.js +1 -1
  293. package/es-modules/masters/modules/no-data-to-display.src.js +1 -1
  294. package/es-modules/masters/modules/offline-exporting.src.js +1 -1
  295. package/es-modules/masters/modules/oldie-polyfills.src.js +1 -1
  296. package/es-modules/masters/modules/oldie.src.js +1 -1
  297. package/es-modules/masters/modules/organization.src.js +1 -1
  298. package/es-modules/masters/modules/overlapping-datalabels.src.js +1 -1
  299. package/es-modules/masters/modules/parallel-coordinates.src.js +1 -1
  300. package/es-modules/masters/modules/pareto.src.js +1 -1
  301. package/es-modules/masters/modules/pathfinder.src.js +1 -1
  302. package/es-modules/masters/modules/pattern-fill.src.js +1 -1
  303. package/es-modules/masters/modules/price-indicator.src.js +1 -1
  304. package/es-modules/masters/modules/pyramid3d.src.js +1 -1
  305. package/es-modules/masters/modules/sankey.src.js +1 -1
  306. package/es-modules/masters/modules/series-label.src.js +1 -1
  307. package/es-modules/masters/modules/series-on-point.src.js +1 -1
  308. package/es-modules/masters/modules/solid-gauge.src.js +1 -1
  309. package/es-modules/masters/modules/sonification.src.js +1 -1
  310. package/es-modules/masters/modules/static-scale.src.js +1 -1
  311. package/es-modules/masters/modules/stock-tools.src.js +4 -4
  312. package/es-modules/masters/modules/stock.src.js +17 -11
  313. package/es-modules/masters/modules/streamgraph.src.js +1 -1
  314. package/es-modules/masters/modules/sunburst.src.js +1 -1
  315. package/es-modules/masters/modules/tilemap.src.js +1 -1
  316. package/es-modules/masters/modules/timeline.src.js +1 -1
  317. package/es-modules/masters/modules/treegraph.src.js +13 -0
  318. package/es-modules/masters/modules/treegrid.src.js +1 -1
  319. package/es-modules/masters/modules/treemap.src.js +1 -1
  320. package/es-modules/masters/modules/variable-pie.src.js +1 -1
  321. package/es-modules/masters/modules/variwide.src.js +5 -2
  322. package/es-modules/masters/modules/vector.src.js +1 -1
  323. package/es-modules/masters/modules/venn.src.js +1 -1
  324. package/es-modules/masters/modules/windbarb.src.js +1 -1
  325. package/es-modules/masters/modules/wordcloud.src.js +1 -1
  326. package/es-modules/masters/modules/xrange.src.js +1 -1
  327. package/es-modules/masters/themes/avocado.src.js +1 -1
  328. package/es-modules/masters/themes/brand-dark.src.js +1 -1
  329. package/es-modules/masters/themes/brand-light.src.js +1 -1
  330. package/es-modules/masters/themes/dark-blue.src.js +1 -1
  331. package/es-modules/masters/themes/dark-green.src.js +1 -1
  332. package/es-modules/masters/themes/dark-unica.src.js +1 -1
  333. package/es-modules/masters/themes/gray.src.js +1 -1
  334. package/es-modules/masters/themes/grid-light.src.js +1 -1
  335. package/es-modules/masters/themes/grid.src.js +1 -1
  336. package/es-modules/masters/themes/high-contrast-dark.src.js +1 -1
  337. package/es-modules/masters/themes/high-contrast-light.src.js +1 -1
  338. package/es-modules/masters/themes/sand-signika.src.js +1 -1
  339. package/es-modules/masters/themes/skies.src.js +1 -1
  340. package/es-modules/masters/themes/sunset.src.js +1 -1
  341. package/highcharts-3d.js +97 -98
  342. package/highcharts-3d.js.map +1 -1
  343. package/highcharts-3d.src.js +476 -449
  344. package/highcharts-gantt.js +811 -808
  345. package/highcharts-gantt.js.map +1 -1
  346. package/highcharts-gantt.src.js +14619 -14112
  347. package/highcharts-more.d.ts +0 -8
  348. package/highcharts-more.js +208 -201
  349. package/highcharts-more.js.map +1 -1
  350. package/highcharts-more.src.d.ts +0 -8
  351. package/highcharts-more.src.js +679 -289
  352. package/highcharts.d.ts +30739 -6156
  353. package/highcharts.js +590 -589
  354. package/highcharts.js.map +1 -1
  355. package/highcharts.src.d.ts +30739 -6156
  356. package/highcharts.src.js +1988 -1799
  357. package/highmaps.js +759 -757
  358. package/highmaps.js.map +1 -1
  359. package/highmaps.src.js +2339 -2077
  360. package/highstock.js +802 -794
  361. package/highstock.js.map +1 -1
  362. package/highstock.src.js +12349 -11416
  363. package/indicators/acceleration-bands.js +1 -1
  364. package/indicators/acceleration-bands.src.js +1 -1
  365. package/indicators/accumulation-distribution.js +1 -1
  366. package/indicators/accumulation-distribution.src.js +1 -1
  367. package/indicators/ao.js +6 -6
  368. package/indicators/ao.js.map +1 -1
  369. package/indicators/ao.src.js +4 -3
  370. package/indicators/apo.js +1 -1
  371. package/indicators/apo.src.js +1 -1
  372. package/indicators/aroon-oscillator.js +1 -1
  373. package/indicators/aroon-oscillator.src.js +1 -1
  374. package/indicators/aroon.js +1 -1
  375. package/indicators/aroon.src.js +1 -1
  376. package/indicators/atr.js +1 -1
  377. package/indicators/atr.src.js +1 -1
  378. package/indicators/bollinger-bands.js +1 -1
  379. package/indicators/bollinger-bands.js.map +1 -1
  380. package/indicators/bollinger-bands.src.js +16 -5
  381. package/indicators/cci.js +1 -1
  382. package/indicators/cci.src.js +1 -1
  383. package/indicators/chaikin.js +1 -1
  384. package/indicators/chaikin.src.js +1 -1
  385. package/indicators/cmf.js +1 -1
  386. package/indicators/cmf.src.js +1 -1
  387. package/indicators/cmo.d.ts +17 -0
  388. package/indicators/cmo.js +1 -1
  389. package/indicators/cmo.src.d.ts +17 -0
  390. package/indicators/cmo.src.js +1 -1
  391. package/indicators/dema.js +1 -1
  392. package/indicators/dema.src.js +1 -1
  393. package/indicators/disparity-index.d.ts +17 -0
  394. package/indicators/disparity-index.js +1 -1
  395. package/indicators/disparity-index.src.d.ts +17 -0
  396. package/indicators/disparity-index.src.js +1 -1
  397. package/indicators/dmi.d.ts +17 -0
  398. package/indicators/dmi.js +1 -1
  399. package/indicators/dmi.src.d.ts +17 -0
  400. package/indicators/dmi.src.js +1 -1
  401. package/indicators/dpo.js +1 -1
  402. package/indicators/dpo.src.js +1 -1
  403. package/indicators/ichimoku-kinko-hyo.js +14 -14
  404. package/indicators/ichimoku-kinko-hyo.js.map +1 -1
  405. package/indicators/ichimoku-kinko-hyo.src.js +22 -19
  406. package/indicators/indicators-all.js +198 -199
  407. package/indicators/indicators-all.js.map +1 -1
  408. package/indicators/indicators-all.src.js +63 -57
  409. package/indicators/indicators.js +13 -13
  410. package/indicators/indicators.js.map +1 -1
  411. package/indicators/indicators.src.js +1 -15
  412. package/indicators/keltner-channels.js +1 -1
  413. package/indicators/keltner-channels.src.js +1 -1
  414. package/indicators/klinger.d.ts +17 -0
  415. package/indicators/klinger.js +12 -12
  416. package/indicators/klinger.js.map +1 -1
  417. package/indicators/klinger.src.d.ts +17 -0
  418. package/indicators/klinger.src.js +4 -3
  419. package/indicators/macd.js +1 -1
  420. package/indicators/macd.js.map +1 -1
  421. package/indicators/macd.src.js +4 -3
  422. package/indicators/mfi.js +1 -1
  423. package/indicators/mfi.src.js +1 -1
  424. package/indicators/momentum.js +1 -1
  425. package/indicators/momentum.src.js +1 -1
  426. package/indicators/natr.js +1 -1
  427. package/indicators/natr.src.js +1 -1
  428. package/indicators/obv.d.ts +17 -0
  429. package/indicators/obv.js +1 -1
  430. package/indicators/obv.src.d.ts +17 -0
  431. package/indicators/obv.src.js +1 -1
  432. package/indicators/pivot-points.js +2 -2
  433. package/indicators/pivot-points.js.map +1 -1
  434. package/indicators/pivot-points.src.js +2 -2
  435. package/indicators/ppo.js +1 -1
  436. package/indicators/ppo.src.js +1 -1
  437. package/indicators/price-channel.js +1 -1
  438. package/indicators/price-channel.src.js +1 -1
  439. package/indicators/price-envelopes.js +1 -1
  440. package/indicators/price-envelopes.src.js +1 -1
  441. package/indicators/psar.js +1 -1
  442. package/indicators/psar.src.js +1 -1
  443. package/indicators/regressions.js +1 -1
  444. package/indicators/regressions.src.js +1 -1
  445. package/indicators/roc.js +1 -1
  446. package/indicators/roc.src.js +1 -1
  447. package/indicators/rsi.js +1 -1
  448. package/indicators/rsi.src.js +1 -1
  449. package/indicators/slow-stochastic.js +5 -5
  450. package/indicators/slow-stochastic.js.map +1 -1
  451. package/indicators/slow-stochastic.src.js +6 -5
  452. package/indicators/stochastic.js +1 -1
  453. package/indicators/stochastic.src.js +1 -1
  454. package/indicators/supertrend.js +7 -7
  455. package/indicators/supertrend.js.map +1 -1
  456. package/indicators/supertrend.src.js +4 -3
  457. package/indicators/tema.js +1 -1
  458. package/indicators/tema.src.js +1 -1
  459. package/indicators/trendline.js +1 -1
  460. package/indicators/trendline.src.js +1 -1
  461. package/indicators/trix.js +1 -1
  462. package/indicators/trix.src.js +1 -1
  463. package/indicators/volume-by-price.js +17 -17
  464. package/indicators/volume-by-price.js.map +1 -1
  465. package/indicators/volume-by-price.src.js +9 -8
  466. package/indicators/vwap.js +1 -1
  467. package/indicators/vwap.src.js +1 -1
  468. package/indicators/williams-r.js +1 -1
  469. package/indicators/williams-r.src.js +1 -1
  470. package/indicators/wma.js +1 -1
  471. package/indicators/wma.src.js +1 -1
  472. package/indicators/zigzag.js +1 -1
  473. package/indicators/zigzag.src.js +1 -1
  474. package/modules/accessibility.js +214 -213
  475. package/modules/accessibility.js.map +1 -1
  476. package/modules/accessibility.src.js +991 -835
  477. package/modules/annotations-advanced.js +16 -16
  478. package/modules/annotations-advanced.js.map +1 -1
  479. package/modules/annotations-advanced.src.js +29 -24
  480. package/modules/annotations.js +91 -91
  481. package/modules/annotations.js.map +1 -1
  482. package/modules/annotations.src.js +29 -24
  483. package/modules/arc-diagram.d.ts +17 -0
  484. package/modules/arc-diagram.js +15 -15
  485. package/modules/arc-diagram.js.map +1 -1
  486. package/modules/arc-diagram.src.d.ts +17 -0
  487. package/modules/arc-diagram.src.js +6 -6
  488. package/modules/arrow-symbols.js +1 -1
  489. package/modules/arrow-symbols.src.js +1 -1
  490. package/modules/boost-canvas.js +19 -19
  491. package/modules/boost-canvas.js.map +1 -1
  492. package/modules/boost-canvas.src.js +13 -8
  493. package/modules/boost.js +37 -37
  494. package/modules/boost.js.map +1 -1
  495. package/modules/boost.src.js +13 -8
  496. package/modules/broken-axis.js +1 -1
  497. package/modules/broken-axis.src.js +1 -1
  498. package/modules/bullet.js +1 -1
  499. package/modules/bullet.src.js +1 -1
  500. package/modules/coloraxis.js +25 -24
  501. package/modules/coloraxis.js.map +1 -1
  502. package/modules/coloraxis.src.js +77 -58
  503. package/modules/current-date-indicator.js +1 -1
  504. package/modules/current-date-indicator.src.js +1 -1
  505. package/modules/cylinder.js +1 -1
  506. package/modules/cylinder.src.js +1 -1
  507. package/modules/data.js +27 -27
  508. package/modules/data.js.map +1 -1
  509. package/modules/data.src.js +3 -3
  510. package/modules/datagrouping.d.ts +31 -0
  511. package/modules/datagrouping.js +23 -21
  512. package/modules/datagrouping.js.map +1 -1
  513. package/modules/datagrouping.src.d.ts +31 -0
  514. package/modules/datagrouping.src.js +921 -640
  515. package/modules/debugger.js +3 -3
  516. package/modules/debugger.js.map +1 -1
  517. package/modules/debugger.src.js +2 -2
  518. package/modules/dependency-wheel.js +12 -12
  519. package/modules/dependency-wheel.js.map +1 -1
  520. package/modules/dependency-wheel.src.js +191 -108
  521. package/modules/dotplot.js +6 -6
  522. package/modules/dotplot.js.map +1 -1
  523. package/modules/dotplot.src.js +10 -13
  524. package/modules/drag-panes.js +1 -1
  525. package/modules/drag-panes.src.js +1 -1
  526. package/modules/draggable-points.js +5 -5
  527. package/modules/draggable-points.js.map +1 -1
  528. package/modules/draggable-points.src.js +7 -3
  529. package/modules/drilldown.js +37 -37
  530. package/modules/drilldown.js.map +1 -1
  531. package/modules/drilldown.src.js +5 -6
  532. package/modules/dumbbell.js +17 -17
  533. package/modules/dumbbell.js.map +1 -1
  534. package/modules/dumbbell.src.js +27 -22
  535. package/modules/export-data.js +26 -25
  536. package/modules/export-data.js.map +1 -1
  537. package/modules/export-data.src.js +33 -6
  538. package/modules/exporting.js +36 -35
  539. package/modules/exporting.js.map +1 -1
  540. package/modules/exporting.src.js +81 -88
  541. package/modules/full-screen.js +1 -1
  542. package/modules/full-screen.src.js +1 -1
  543. package/modules/funnel.js +1 -1
  544. package/modules/funnel.src.js +1 -1
  545. package/modules/funnel3d.js +1 -1
  546. package/modules/funnel3d.src.js +1 -1
  547. package/modules/gantt.js +221 -219
  548. package/modules/gantt.js.map +1 -1
  549. package/modules/gantt.src.js +12842 -12524
  550. package/modules/grid-axis.js +1 -1
  551. package/modules/grid-axis.src.js +1 -1
  552. package/modules/heatmap.js +40 -40
  553. package/modules/heatmap.js.map +1 -1
  554. package/modules/heatmap.src.js +80 -58
  555. package/modules/heikinashi.d.ts +17 -0
  556. package/modules/heikinashi.js +9 -8
  557. package/modules/heikinashi.js.map +1 -1
  558. package/modules/heikinashi.src.d.ts +17 -0
  559. package/modules/heikinashi.src.js +192 -165
  560. package/modules/histogram-bellcurve.js +1 -1
  561. package/modules/histogram-bellcurve.src.js +1 -1
  562. package/modules/hollowcandlestick.d.ts +17 -0
  563. package/modules/hollowcandlestick.js +1 -1
  564. package/modules/hollowcandlestick.src.d.ts +17 -0
  565. package/modules/hollowcandlestick.src.js +1 -1
  566. package/modules/item-series.js +12 -12
  567. package/modules/item-series.js.map +1 -1
  568. package/modules/item-series.src.js +14 -10
  569. package/modules/lollipop.js +1 -1
  570. package/modules/lollipop.src.js +1 -1
  571. package/modules/map.js +172 -171
  572. package/modules/map.js.map +1 -1
  573. package/modules/map.src.js +194 -121
  574. package/modules/marker-clusters.js +2 -2
  575. package/modules/marker-clusters.js.map +1 -1
  576. package/modules/marker-clusters.src.js +2 -2
  577. package/modules/networkgraph.js +8 -8
  578. package/modules/networkgraph.js.map +1 -1
  579. package/modules/networkgraph.src.js +5 -6
  580. package/modules/no-data-to-display.js +4 -4
  581. package/modules/no-data-to-display.js.map +1 -1
  582. package/modules/no-data-to-display.src.js +2 -2
  583. package/modules/offline-exporting.js +4 -4
  584. package/modules/offline-exporting.js.map +1 -1
  585. package/modules/offline-exporting.src.js +7 -7
  586. package/modules/oldie-polyfills.js +7 -7
  587. package/modules/oldie-polyfills.js.map +1 -1
  588. package/modules/oldie-polyfills.src.js +9 -7
  589. package/modules/oldie.js +30 -30
  590. package/modules/oldie.js.map +1 -1
  591. package/modules/oldie.src.js +5 -5
  592. package/modules/organization.js +18 -16
  593. package/modules/organization.js.map +1 -1
  594. package/modules/organization.src.js +659 -495
  595. package/modules/overlapping-datalabels.js +1 -1
  596. package/modules/overlapping-datalabels.src.js +1 -1
  597. package/modules/parallel-coordinates.js +10 -10
  598. package/modules/parallel-coordinates.js.map +1 -1
  599. package/modules/parallel-coordinates.src.js +6 -2
  600. package/modules/pareto.js +1 -1
  601. package/modules/pareto.src.js +1 -1
  602. package/modules/pathfinder.js +31 -31
  603. package/modules/pathfinder.js.map +1 -1
  604. package/modules/pathfinder.src.js +19 -23
  605. package/modules/pattern-fill.js +2 -2
  606. package/modules/pattern-fill.js.map +1 -1
  607. package/modules/pattern-fill.src.js +11 -11
  608. package/modules/price-indicator.js +1 -1
  609. package/modules/price-indicator.src.js +1 -1
  610. package/modules/pyramid3d.js +1 -1
  611. package/modules/pyramid3d.src.js +1 -1
  612. package/modules/sankey.js +33 -32
  613. package/modules/sankey.js.map +1 -1
  614. package/modules/sankey.src.js +571 -550
  615. package/modules/series-label.js +17 -17
  616. package/modules/series-label.js.map +1 -1
  617. package/modules/series-label.src.js +7 -3
  618. package/modules/series-on-point.d.ts +17 -0
  619. package/modules/series-on-point.js +1 -1
  620. package/modules/series-on-point.src.d.ts +17 -0
  621. package/modules/series-on-point.src.js +1 -1
  622. package/modules/solid-gauge.js +11 -10
  623. package/modules/solid-gauge.js.map +1 -1
  624. package/modules/solid-gauge.src.js +220 -192
  625. package/modules/sonification.js +2 -2
  626. package/modules/sonification.js.map +1 -1
  627. package/modules/sonification.src.js +2 -2
  628. package/modules/static-scale.js +1 -1
  629. package/modules/static-scale.src.js +1 -1
  630. package/modules/stock-tools.js +59 -59
  631. package/modules/stock-tools.js.map +1 -1
  632. package/modules/stock-tools.src.js +19 -21
  633. package/modules/stock.d.ts +26 -6
  634. package/modules/stock.js +212 -205
  635. package/modules/stock.js.map +1 -1
  636. package/modules/stock.src.d.ts +26 -6
  637. package/modules/stock.src.js +11361 -10617
  638. package/modules/streamgraph.js +1 -1
  639. package/modules/streamgraph.src.js +1 -1
  640. package/modules/sunburst.js +75 -73
  641. package/modules/sunburst.js.map +1 -1
  642. package/modules/sunburst.src.js +133 -57
  643. package/modules/tilemap.js +1 -1
  644. package/modules/tilemap.src.js +1 -1
  645. package/modules/timeline.js +18 -18
  646. package/modules/timeline.js.map +1 -1
  647. package/modules/timeline.src.js +257 -233
  648. package/modules/treegraph.d.ts +17 -0
  649. package/modules/treegraph.js +44 -0
  650. package/modules/treegraph.js.map +1 -0
  651. package/modules/treegraph.src.d.ts +17 -0
  652. package/modules/treegraph.src.js +1829 -0
  653. package/modules/treegrid.js +2 -2
  654. package/modules/treegrid.js.map +1 -1
  655. package/modules/treegrid.src.js +2 -3
  656. package/modules/treemap.js +54 -53
  657. package/modules/treemap.js.map +1 -1
  658. package/modules/treemap.src.js +90 -52
  659. package/modules/variable-pie.js +1 -1
  660. package/modules/variable-pie.src.js +1 -1
  661. package/modules/variwide.js +12 -12
  662. package/modules/variwide.js.map +1 -1
  663. package/modules/variwide.src.js +158 -106
  664. package/modules/vector.js +1 -1
  665. package/modules/vector.src.js +3 -3
  666. package/modules/venn.js +31 -31
  667. package/modules/venn.js.map +1 -1
  668. package/modules/venn.src.js +17 -16
  669. package/modules/windbarb.js +15 -15
  670. package/modules/windbarb.js.map +1 -1
  671. package/modules/windbarb.src.js +41 -4
  672. package/modules/wordcloud.js +23 -23
  673. package/modules/wordcloud.js.map +1 -1
  674. package/modules/wordcloud.src.js +6 -15
  675. package/modules/xrange.js +1 -1
  676. package/modules/xrange.src.js +1 -1
  677. package/package.json +1 -1
  678. package/themes/avocado.js +2 -3
  679. package/themes/avocado.js.map +1 -1
  680. package/themes/avocado.src.js +2 -2
  681. package/themes/brand-dark.d.ts +22 -0
  682. package/themes/brand-dark.js +3 -3
  683. package/themes/brand-dark.js.map +1 -1
  684. package/themes/brand-dark.src.d.ts +22 -0
  685. package/themes/brand-dark.src.js +2 -2
  686. package/themes/brand-light.d.ts +22 -0
  687. package/themes/brand-light.js +2 -2
  688. package/themes/brand-light.js.map +1 -1
  689. package/themes/brand-light.src.d.ts +22 -0
  690. package/themes/brand-light.src.js +2 -2
  691. package/themes/dark-blue.js +2 -2
  692. package/themes/dark-blue.js.map +1 -1
  693. package/themes/dark-blue.src.js +2 -2
  694. package/themes/dark-green.js +2 -2
  695. package/themes/dark-green.js.map +1 -1
  696. package/themes/dark-green.src.js +2 -2
  697. package/themes/dark-unica.js +2 -2
  698. package/themes/dark-unica.js.map +1 -1
  699. package/themes/dark-unica.src.js +2 -2
  700. package/themes/gray.js +2 -2
  701. package/themes/gray.js.map +1 -1
  702. package/themes/gray.src.js +2 -2
  703. package/themes/grid-light.js +2 -2
  704. package/themes/grid-light.js.map +1 -1
  705. package/themes/grid-light.src.js +2 -2
  706. package/themes/grid.js +2 -2
  707. package/themes/grid.js.map +1 -1
  708. package/themes/grid.src.js +2 -2
  709. package/themes/high-contrast-dark.d.ts +22 -0
  710. package/themes/high-contrast-dark.js +2 -2
  711. package/themes/high-contrast-dark.js.map +1 -1
  712. package/themes/high-contrast-dark.src.d.ts +22 -0
  713. package/themes/high-contrast-dark.src.js +2 -2
  714. package/themes/high-contrast-light.d.ts +22 -0
  715. package/themes/high-contrast-light.js +2 -2
  716. package/themes/high-contrast-light.js.map +1 -1
  717. package/themes/high-contrast-light.src.d.ts +22 -0
  718. package/themes/high-contrast-light.src.js +2 -2
  719. package/themes/sand-signika.js +2 -2
  720. package/themes/sand-signika.js.map +1 -1
  721. package/themes/sand-signika.src.js +2 -2
  722. package/themes/skies.js +2 -2
  723. package/themes/skies.js.map +1 -1
  724. package/themes/skies.src.js +2 -2
  725. package/themes/sunset.js +2 -2
  726. package/themes/sunset.js.map +1 -1
  727. package/themes/sunset.src.js +2 -2
  728. package/es-modules/Core/Axis/Axis3D.js +0 -612
  729. package/es-modules/Core/Axis/NavigatorAxis.js +0 -159
  730. package/es-modules/Core/Axis/Tick3D.js +0 -68
  731. package/es-modules/Extensions/DataGrouping.js +0 -1177
  732. package/es-modules/Stock/Indicators/SMA/SMAComposition.js +0 -12
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v10.2.1 (2022-08-29)
2
+ * @license Highstock JS v10.3.1 (2022-10-31)
3
3
  *
4
4
  * All technical indicators for Highcharts Stock
5
5
  *
@@ -37,20 +37,6 @@
37
37
  }
38
38
  }
39
39
  }
40
- _registerModule(_modules, 'Stock/Indicators/SMA/SMAComposition.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (SeriesRegistry, U) {
41
- /* *
42
- *
43
- * License: www.highcharts.com/license
44
- *
45
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
46
- *
47
- * */
48
- var Series = SeriesRegistry.series,
49
- ohlcProto = SeriesRegistry.seriesTypes.ohlc.prototype;
50
- var addEvent = U.addEvent,
51
- extend = U.extend;
52
-
53
- });
54
40
  _registerModule(_modules, 'Stock/Indicators/SMA/SMAIndicator.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (Chart, SeriesRegistry, U) {
55
41
  /* *
56
42
  *
@@ -862,8 +848,9 @@
862
848
  };
863
849
  })();
864
850
  var noop = H.noop;
865
- var SMAIndicator = SeriesRegistry.seriesTypes.sma;
866
- var columnProto = SeriesRegistry.seriesTypes.column.prototype;
851
+ var _a = SeriesRegistry.seriesTypes,
852
+ columnProto = _a.column.prototype,
853
+ SMAIndicator = _a.sma;
867
854
  var extend = U.extend,
868
855
  merge = U.merge,
869
856
  correctFloat = U.correctFloat,
@@ -2149,10 +2136,12 @@
2149
2136
  * @sample {highstock} stock/indicators/indicator-area-fill
2150
2137
  * Background fill between lines.
2151
2138
  *
2152
- * @type {Highcharts.Color}
2153
- * @since 9.3.2
2139
+ * @type {Highcharts.ColorType}
2140
+ * @since 9.3.2
2154
2141
  * @apioption plotOptions.bb.fillColor
2155
- *
2142
+ */
2143
+ /**
2144
+ * Parameters used in calculation of the regression points.
2156
2145
  */
2157
2146
  params: {
2158
2147
  period: 20,
@@ -2167,7 +2156,7 @@
2167
2156
  */
2168
2157
  bottomLine: {
2169
2158
  /**
2170
- * Styles for a bottom line.
2159
+ * Styles for the bottom line.
2171
2160
  */
2172
2161
  styles: {
2173
2162
  /**
@@ -2189,9 +2178,18 @@
2189
2178
  * @extends plotOptions.bb.bottomLine
2190
2179
  */
2191
2180
  topLine: {
2181
+ /**
2182
+ * Styles for the top line.
2183
+ */
2192
2184
  styles: {
2185
+ /**
2186
+ * Pixel width of the line.
2187
+ */
2193
2188
  lineWidth: 1,
2194
2189
  /**
2190
+ * Color of the line. If not set, it's inherited from
2191
+ * [plotOptions.bb.color](#plotOptions.bb.color).
2192
+ *
2195
2193
  * @type {Highcharts.ColorString}
2196
2194
  */
2197
2195
  lineColor: void 0
@@ -4356,7 +4354,7 @@
4356
4354
 
4357
4355
  return APOIndicator;
4358
4356
  });
4359
- _registerModule(_modules, 'Stock/Indicators/IKH/IKHIndicator.js', [_modules['Core/Color/Color.js'], _modules['Core/Globals.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (Color, H, SeriesRegistry, U) {
4357
+ _registerModule(_modules, 'Stock/Indicators/IKH/IKHIndicator.js', [_modules['Extensions/DataGrouping/ApproximationRegistry.js'], _modules['Core/Color/Color.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (ApproximationRegistry, Color, SeriesRegistry, U) {
4360
4358
  /* *
4361
4359
  *
4362
4360
  * License: www.highcharts.com/license
@@ -4471,11 +4469,11 @@
4471
4469
  // Point: [undefined, value, value, ...] is correct
4472
4470
  // Point: [undefined, undefined, undefined, ...] is incorrect
4473
4471
  // @todo compose
4474
- H.approximations['ichimoku-averages'] = function () {
4472
+ ApproximationRegistry['ichimoku-averages'] = function () {
4475
4473
  var ret = [],
4476
4474
  isEmptyRange;
4477
4475
  [].forEach.call(arguments, function (arr, i) {
4478
- ret.push(H.approximations.average(arr));
4476
+ ret.push(ApproximationRegistry.average(arr));
4479
4477
  isEmptyRange = !isEmptyRange && typeof ret[i] === 'undefined';
4480
4478
  });
4481
4479
  // Return undefined when first elem. is undefined and let
@@ -4705,7 +4703,7 @@
4705
4703
  lineIndex++;
4706
4704
  });
4707
4705
  // Generate senkouSpan area:
4708
- // If graphColection exist then remove svg
4706
+ // If graphCollection exist then remove svg
4709
4707
  // element and indicator property
4710
4708
  if (indicator.graphCollection) {
4711
4709
  indicator.graphCollection.forEach(function (graphName) {
@@ -4713,7 +4711,7 @@
4713
4711
  delete indicator[graphName];
4714
4712
  });
4715
4713
  }
4716
- // Clean grapCollection or initialize it
4714
+ // Clean graphCollection or initialize it
4717
4715
  indicator.graphCollection = [];
4718
4716
  // When user set negativeColor property
4719
4717
  if (negativeColor && ikhMap.senkouSpanA[0] && ikhMap.senkouSpanB[0]) {
@@ -4731,7 +4729,7 @@
4731
4729
  if (Math.floor(sectionPoints.length / 2) >= 1) {
4732
4730
  var x = Math.floor(sectionPoints.length / 2);
4733
4731
  // When middle points has equal values
4734
- // Compare all ponints plotY value sum
4732
+ // Compare all points plotY value sum
4735
4733
  if (sectionPoints[x].plotY === sectionNextPoints[x].plotY) {
4736
4734
  pointsPlotYSum = 0;
4737
4735
  nextPointsPlotYSum = 0;
@@ -4886,22 +4884,25 @@
4886
4884
  if (typeof IKH[i] === 'undefined') {
4887
4885
  IKH[i] = [];
4888
4886
  }
4889
- if (typeof IKH[i + period] === 'undefined') {
4890
- IKH[i + period] = [];
4887
+ if (typeof IKH[i + period - 1] === 'undefined') {
4888
+ IKH[i + period - 1] = [];
4891
4889
  }
4892
- IKH[i + period][0] = TS;
4893
- IKH[i + period][1] = KS;
4894
- IKH[i + period][2] = void 0;
4895
- IKH[i][2] = CS;
4890
+ IKH[i + period - 1][0] = TS;
4891
+ IKH[i + period - 1][1] = KS;
4892
+ IKH[i + period - 1][2] = void 0;
4893
+ if (typeof IKH[i + 1] === 'undefined') {
4894
+ IKH[i + 1] = [];
4895
+ }
4896
+ IKH[i + 1][2] = CS;
4896
4897
  if (i <= period) {
4897
- IKH[i + period][3] = void 0;
4898
- IKH[i + period][4] = void 0;
4898
+ IKH[i + period - 1][3] = void 0;
4899
+ IKH[i + period - 1][4] = void 0;
4899
4900
  }
4900
- if (typeof IKH[i + 2 * period] === 'undefined') {
4901
- IKH[i + 2 * period] = [];
4901
+ if (typeof IKH[i + 2 * period - 2] === 'undefined') {
4902
+ IKH[i + 2 * period - 2] = [];
4902
4903
  }
4903
- IKH[i + 2 * period][3] = SSA;
4904
- IKH[i + 2 * period][4] = SSB;
4904
+ IKH[i + 2 * period - 2][3] = SSA;
4905
+ IKH[i + 2 * period - 2][4] = SSB;
4905
4906
  xData.push(date);
4906
4907
  }
4907
4908
  // Add timestamps for further points
@@ -5414,8 +5415,9 @@
5414
5415
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
5415
5416
  };
5416
5417
  })();
5417
- var EMAIndicator = SeriesRegistry.seriesTypes.ema;
5418
- var SMAIndicator = SeriesRegistry.seriesTypes.sma;
5418
+ var _a = SeriesRegistry.seriesTypes,
5419
+ EMAIndicator = _a.ema,
5420
+ SMAIndicator = _a.sma;
5419
5421
  var correctFloat = U.correctFloat,
5420
5422
  error = U.error,
5421
5423
  extend = U.extend,
@@ -5725,8 +5727,9 @@
5725
5727
  };
5726
5728
  })();
5727
5729
  var noop = H.noop;
5728
- var ColumnSeries = SeriesRegistry.seriesTypes.column;
5729
- var SMAIndicator = SeriesRegistry.seriesTypes.sma;
5730
+ var _a = SeriesRegistry.seriesTypes,
5731
+ ColumnSeries = _a.column,
5732
+ SMAIndicator = _a.sma;
5730
5733
  var extend = U.extend,
5731
5734
  correctFloat = U.correctFloat,
5732
5735
  defined = U.defined,
@@ -7153,7 +7156,7 @@
7153
7156
  }
7154
7157
  }
7155
7158
  SeriesRegistry.seriesTypes.sma.prototype.drawDataLabels
7156
- .apply(indicator, arguments);
7159
+ .call(indicator);
7157
7160
  });
7158
7161
  }
7159
7162
  };
@@ -9092,8 +9095,9 @@
9092
9095
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9093
9096
  };
9094
9097
  })();
9095
- var StochasticIndicator = SeriesRegistry.seriesTypes.stochastic;
9096
- var seriesTypes = SeriesRegistry.seriesTypes;
9098
+ var _a = SeriesRegistry.seriesTypes,
9099
+ smaProto = _a.sma.prototype,
9100
+ StochasticIndicator = _a.stochastic;
9097
9101
  var extend = U.extend,
9098
9102
  merge = U.merge;
9099
9103
  /* *
@@ -9137,7 +9141,7 @@
9137
9141
  * */
9138
9142
  SlowStochasticIndicator.prototype.getValues = function (series, params) {
9139
9143
  var periods = params.periods,
9140
- fastValues = seriesTypes.stochastic.prototype.getValues.call(this,
9144
+ fastValues = _super.prototype.getValues.call(this,
9141
9145
  series,
9142
9146
  params),
9143
9147
  slowValues = {
@@ -9152,7 +9156,7 @@
9152
9156
  slowValues.xData = fastValues.xData.slice(periods[1] - 1);
9153
9157
  var fastYData = fastValues.yData.slice(periods[1] - 1);
9154
9158
  // Get SMA(%D)
9155
- var smoothedValues = seriesTypes.sma.prototype.getValues.call(this, {
9159
+ var smoothedValues = smaProto.getValues.call(this, {
9156
9160
  xData: slowValues.xData,
9157
9161
  yData: fastYData
9158
9162
  }, {
@@ -9260,8 +9264,9 @@
9260
9264
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9261
9265
  };
9262
9266
  })();
9263
- var ATRIndicator = SeriesRegistry.seriesTypes.atr;
9264
- var SMAIndicator = SeriesRegistry.seriesTypes.sma;
9267
+ var _a = SeriesRegistry.seriesTypes,
9268
+ ATRIndicator = _a.atr,
9269
+ SMAIndicator = _a.sma;
9265
9270
  var addEvent = U.addEvent,
9266
9271
  correctFloat = U.correctFloat,
9267
9272
  isArray = U.isArray,
@@ -9858,8 +9863,9 @@
9858
9863
  })();
9859
9864
  var animObject = A.animObject;
9860
9865
  var noop = H.noop;
9861
- var SMAIndicator = SeriesRegistry.seriesTypes.sma;
9862
- var columnPrototype = SeriesRegistry.seriesTypes.column.prototype;
9866
+ var _a = SeriesRegistry.seriesTypes,
9867
+ columnProto = _a.column.prototype,
9868
+ SMAIndicator = _a.sma;
9863
9869
  var addEvent = U.addEvent,
9864
9870
  arrayMax = U.arrayMax,
9865
9871
  arrayMin = U.arrayMin,
@@ -10022,10 +10028,10 @@
10022
10028
  var indicator = this;
10023
10029
  if (indicator.options.volumeDivision.enabled) {
10024
10030
  indicator.posNegVolume(true, true);
10025
- columnPrototype.drawPoints.apply(indicator, arguments);
10031
+ columnProto.drawPoints.apply(indicator, arguments);
10026
10032
  indicator.posNegVolume(false, false);
10027
10033
  }
10028
- columnPrototype.drawPoints.apply(indicator, arguments);
10034
+ columnProto.drawPoints.apply(indicator, arguments);
10029
10035
  };
10030
10036
  // Function responsible for dividing volume into positive and negative
10031
10037
  VBPIndicator.prototype.posNegVolume = function (initVol, pos) {
@@ -10089,7 +10095,7 @@
10089
10095
  chartPlotTop,
10090
10096
  barX,
10091
10097
  barY;
10092
- columnPrototype.translate.apply(indicator);
10098
+ columnProto.translate.apply(indicator);
10093
10099
  indicatorPoints = indicator.points;
10094
10100
  // Do translate operation when points exist
10095
10101
  if (indicatorPoints.length) {
@@ -10458,8 +10464,8 @@
10458
10464
  pointClass: VBPPoint,
10459
10465
  markerAttribs: noop,
10460
10466
  drawGraph: noop,
10461
- getColumnMetrics: columnPrototype.getColumnMetrics,
10462
- crispCol: columnPrototype.crispCol
10467
+ getColumnMetrics: columnProto.getColumnMetrics,
10468
+ crispCol: columnProto.crispCol
10463
10469
  });
10464
10470
  SeriesRegistry.registerSeriesType('vbp', VBPIndicator);
10465
10471
  /* *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highstock JS v10.2.1 (2022-08-29)
2
+ Highstock JS v10.3.1 (2022-10-31)
3
3
 
4
4
  Indicator series type for Highcharts Stock
5
5
 
@@ -7,16 +7,16 @@
7
7
 
8
8
  License: www.highcharts.com/license
9
9
  */
10
- (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/indicators",["highcharts","highcharts/modules/stock"],function(k){a(k);a.Highcharts=k;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function k(a,g,e,k){a.hasOwnProperty(g)||(a[g]=k.apply(null,e),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:g,module:a[g]}})))}
11
- a=a?a._modules:{};k(a,"Stock/Indicators/SMA/SMAComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,g){});k(a,"Stock/Indicators/SMA/SMAIndicator.js",[a["Core/Chart/Chart.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,g,e){var k=this&&this.__extends||function(){var a=function(h,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,d){b.__proto__=d}||function(b,d){for(var c in d)d.hasOwnProperty(c)&&(b[c]=d[c])};return a(h,
12
- b)};return function(h,b){function c(){this.constructor=h}a(h,b);h.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)}}(),n=g.seriesTypes.line,p=e.addEvent,t=e.error,u=e.extend,v=e.isArray,h=e.merge,f=e.pick,q=e.splat;e=function(m){function l(){var b=null!==m&&m.apply(this,arguments)||this;b.data=void 0;b.dataEventsToUnbind=void 0;b.linkedParent=void 0;b.options=void 0;b.points=void 0;return b}k(l,m);l.prototype.destroy=function(){this.dataEventsToUnbind.forEach(function(b){b()});
13
- m.prototype.destroy.apply(this,arguments)};l.prototype.getName=function(){var b=this.name,c=[];b||((this.nameComponents||[]).forEach(function(b,a){c.push(this.options.params[b]+f(this.nameSuffixes[a],""))},this),b=(this.nameBase||this.type.toUpperCase())+(this.nameComponents?" ("+c.join(", ")+")":""));return b};l.prototype.getValues=function(b,c){var d=c.period,a=b.xData;b=b.yData;var h=b.length,f=0,q=0,l=[],m=[],g=[],e=-1;if(!(a.length<d)){for(v(b[0])&&(e=c.index?c.index:0);f<d-1;)q+=0>e?b[f]:b[f][e],
14
- f++;for(c=f;c<h;c++){q+=0>e?b[c]:b[c][e];var k=[a[c],q/d];l.push(k);m.push(k[0]);g.push(k[1]);q-=0>e?b[c-f]:b[c-f][e]}return{values:l,xData:m,yData:g}}};l.prototype.init=function(b,c){var d=this;m.prototype.init.call(d,b,c);c=p(a,"afterLinkSeries",function(){var c=!!d.dataEventsToUnbind.length;if(d.linkedParent)if(c||(d.dataEventsToUnbind.push(p(d.linkedParent,"updatedData",function(){d.recalculateValues()})),d.calculateOn.xAxis&&d.dataEventsToUnbind.push(p(d.linkedParent.xAxis,d.calculateOn.xAxis,
15
- function(){d.recalculateValues()}))),"init"===d.calculateOn.chart)d.processedYData||d.recalculateValues();else{if(!c)var a=p(d.chart,d.calculateOn.chart,function(){d.recalculateValues();a()})}else return t("Series "+d.options.linkedTo+" not found! Check `linkedTo`.",!1,b)},{order:0});d.dataEventsToUnbind=[];d.eventsToUnbind.push(c)};l.prototype.recalculateValues=function(){var b=this.points||[],c=(this.xData||[]).length,d={values:[],xData:[],yData:[]},a=[],h=!0;d=this.linkedParent.options?this.getValues(this.linkedParent,
16
- this.options.params)||d:d;if(c&&!this.hasGroupedData&&this.visible&&this.points)if(this.cropped){if(this.xAxis){var f=this.xAxis.min;var e=this.xAxis.max}c=this.cropData(d.xData,d.yData,f,e);for(f=0;f<c.xData.length;f++)a.push([c.xData[f]].concat(q(c.yData[f])));c=d.xData.indexOf(this.xData[0]);f=d.xData.indexOf(this.xData[this.xData.length-1]);-1===c&&f===d.xData.length-2&&a[0][0]===b[0].x&&a.shift();this.updateData(a)}else d.xData.length!==c-1&&d.xData.length!==c+1&&(h=!1,this.updateData(d.values));
17
- h&&(this.xData=d.xData,this.yData=d.yData,this.options.data=d.values);this.calculateOn.xAxis&&this.processedXData&&(delete this.processedXData,this.isDirty=!0,this.redraw());this.isDirtyData=!1};l.prototype.processData=function(){var b=this.options.compareToMain,c=this.linkedParent;m.prototype.processData.apply(this,arguments);this.dataModify&&c&&c.dataModify&&c.dataModify.compareValue&&b&&(this.dataModify.compareValue=c.dataModify.compareValue)};l.defaultOptions=h(n.defaultOptions,{name:void 0,tooltip:{valueDecimals:4},
18
- linkedTo:void 0,compareToMain:!1,params:{index:3,period:14}});return l}(n);u(e.prototype,{calculateOn:{chart:"init"},hasDerivedData:!0,nameComponents:["period"],nameSuffixes:[],useCommonDataGrouping:!0});g.registerSeriesType("sma",e);"";return e});k(a,"Stock/Indicators/EMA/EMAIndicator.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,g){var e=this&&this.__extends||function(){var a=function(e,h){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,h){a.__proto__=
19
- h}||function(a,h){for(var f in h)h.hasOwnProperty(f)&&(a[f]=h[f])};return a(e,h)};return function(e,h){function f(){this.constructor=e}a(e,h);e.prototype=null===h?Object.create(h):(f.prototype=h.prototype,new f)}}(),k=a.seriesTypes.sma,n=g.correctFloat,p=g.isArray,t=g.merge;g=function(a){function g(){var h=null!==a&&a.apply(this,arguments)||this;h.data=void 0;h.options=void 0;h.points=void 0;return h}e(g,a);g.prototype.accumulatePeriodPoints=function(a,f,e){for(var h=0,g=0,b;g<a;)b=0>f?e[g]:e[g][f],
20
- h+=b,g++;return h};g.prototype.calculateEma=function(a,f,e,g,k,b,c){a=a[e-1];f=0>b?f[e-1]:f[e-1][b];g="undefined"===typeof k?c:n(f*g+k*(1-g));return[a,g]};g.prototype.getValues=function(a,f){var e=f.period,g=a.xData,h=(a=a.yData)?a.length:0,b=2/(e+1),c=[],d=[],k=[],n=-1;if(!(h<e)){p(a[0])&&(n=f.index?f.index:0);f=this.accumulatePeriodPoints(e,n,a);for(f/=e;e<h+1;e++){var r=this.calculateEma(g,a,e,b,r,n,f);c.push(r);d.push(r[0]);k.push(r[1]);r=r[1]}return{values:c,xData:d,yData:k}}};g.defaultOptions=
21
- t(k.defaultOptions,{params:{index:3,period:9}});return g}(k);a.registerSeriesType("ema",g);"";return g});k(a,"masters/indicators/indicators.src.js",[],function(){})});
10
+ (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/indicators",["highcharts","highcharts/modules/stock"],function(k){a(k);a.Highcharts=k;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function k(a,c,h,k){a.hasOwnProperty(c)||(a[c]=k.apply(null,h),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:c,module:a[c]}})))}
11
+ a=a?a._modules:{};k(a,"Stock/Indicators/SMA/SMAIndicator.js",[a["Core/Chart/Chart.js"],a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,c,h){var k=this&&this.__extends||function(){var f=function(g,b){f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,e){b.__proto__=e}||function(b,e){for(var d in e)e.hasOwnProperty(d)&&(b[d]=e[d])};return f(g,b)};return function(g,b){function d(){this.constructor=g}f(g,b);g.prototype=null===b?Object.create(b):(d.prototype=b.prototype,
12
+ new d)}}(),r=c.seriesTypes.line,p=h.addEvent,t=h.error,u=h.extend,v=h.isArray,f=h.merge,l=h.pick,m=h.splat;h=function(n){function g(){var b=null!==n&&n.apply(this,arguments)||this;b.data=void 0;b.dataEventsToUnbind=void 0;b.linkedParent=void 0;b.options=void 0;b.points=void 0;return b}k(g,n);g.prototype.destroy=function(){this.dataEventsToUnbind.forEach(function(b){b()});n.prototype.destroy.apply(this,arguments)};g.prototype.getName=function(){var b=this.name,d=[];b||((this.nameComponents||[]).forEach(function(b,
13
+ f){d.push(this.options.params[b]+l(this.nameSuffixes[f],""))},this),b=(this.nameBase||this.type.toUpperCase())+(this.nameComponents?" ("+d.join(", ")+")":""));return b};g.prototype.getValues=function(b,d){var e=d.period,f=b.xData;b=b.yData;var g=b.length,a=0,l=0,m=[],n=[],h=[],c=-1;if(!(f.length<e)){for(v(b[0])&&(c=d.index?d.index:0);a<e-1;)l+=0>c?b[a]:b[a][c],a++;for(d=a;d<g;d++){l+=0>c?b[d]:b[d][c];var k=[f[d],l/e];m.push(k);n.push(k[0]);h.push(k[1]);l-=0>c?b[d-a]:b[d-a][c]}return{values:m,xData:n,
14
+ yData:h}}};g.prototype.init=function(b,d){var e=this;n.prototype.init.call(e,b,d);d=p(a,"afterLinkSeries",function(){var d=!!e.dataEventsToUnbind.length;if(e.linkedParent)if(d||(e.dataEventsToUnbind.push(p(e.linkedParent,"updatedData",function(){e.recalculateValues()})),e.calculateOn.xAxis&&e.dataEventsToUnbind.push(p(e.linkedParent.xAxis,e.calculateOn.xAxis,function(){e.recalculateValues()}))),"init"===e.calculateOn.chart)e.processedYData||e.recalculateValues();else{if(!d)var f=p(e.chart,e.calculateOn.chart,
15
+ function(){e.recalculateValues();f()})}else return t("Series "+e.options.linkedTo+" not found! Check `linkedTo`.",!1,b)},{order:0});e.dataEventsToUnbind=[];e.eventsToUnbind.push(d)};g.prototype.recalculateValues=function(){var b=this.points||[],d=(this.xData||[]).length,e={values:[],xData:[],yData:[]},f=[],a=!0;e=this.linkedParent.options?this.getValues(this.linkedParent,this.options.params)||e:e;if(d&&!this.hasGroupedData&&this.visible&&this.points)if(this.cropped){if(this.xAxis){var g=this.xAxis.min;
16
+ var l=this.xAxis.max}d=this.cropData(e.xData,e.yData,g,l);for(g=0;g<d.xData.length;g++)f.push([d.xData[g]].concat(m(d.yData[g])));d=e.xData.indexOf(this.xData[0]);g=e.xData.indexOf(this.xData[this.xData.length-1]);-1===d&&g===e.xData.length-2&&f[0][0]===b[0].x&&f.shift();this.updateData(f)}else e.xData.length!==d-1&&e.xData.length!==d+1&&(a=!1,this.updateData(e.values));a&&(this.xData=e.xData,this.yData=e.yData,this.options.data=e.values);this.calculateOn.xAxis&&this.processedXData&&(delete this.processedXData,
17
+ this.isDirty=!0,this.redraw());this.isDirtyData=!1};g.prototype.processData=function(){var b=this.options.compareToMain,d=this.linkedParent;n.prototype.processData.apply(this,arguments);this.dataModify&&d&&d.dataModify&&d.dataModify.compareValue&&b&&(this.dataModify.compareValue=d.dataModify.compareValue)};g.defaultOptions=f(r.defaultOptions,{name:void 0,tooltip:{valueDecimals:4},linkedTo:void 0,compareToMain:!1,params:{index:3,period:14}});return g}(r);u(h.prototype,{calculateOn:{chart:"init"},hasDerivedData:!0,
18
+ nameComponents:["period"],nameSuffixes:[],useCommonDataGrouping:!0});c.registerSeriesType("sma",h);"";return h});k(a,"Stock/Indicators/EMA/EMAIndicator.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,c){var h=this&&this.__extends||function(){var a=function(c,f){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,f){a.__proto__=f}||function(a,f){for(var l in f)f.hasOwnProperty(l)&&(a[l]=f[l])};return a(c,f)};return function(c,f){function l(){this.constructor=
19
+ c}a(c,f);c.prototype=null===f?Object.create(f):(l.prototype=f.prototype,new l)}}(),k=a.seriesTypes.sma,r=c.correctFloat,p=c.isArray,t=c.merge;c=function(a){function c(){var f=null!==a&&a.apply(this,arguments)||this;f.data=void 0;f.options=void 0;f.points=void 0;return f}h(c,a);c.prototype.accumulatePeriodPoints=function(a,c,m){for(var f=0,g=0,b;g<a;)b=0>c?m[g]:m[g][c],f+=b,g++;return f};c.prototype.calculateEma=function(a,c,m,h,g,b,d){a=a[m-1];c=0>b?c[m-1]:c[m-1][b];h="undefined"===typeof g?d:r(c*
20
+ h+g*(1-h));return[a,h]};c.prototype.getValues=function(a,c){var f=c.period,h=a.xData,g=(a=a.yData)?a.length:0,b=2/(f+1),d=[],e=[],k=[],l=-1;if(!(g<f)){p(a[0])&&(l=c.index?c.index:0);c=this.accumulatePeriodPoints(f,l,a);for(c/=f;f<g+1;f++){var q=this.calculateEma(h,a,f,b,q,l,c);d.push(q);e.push(q[0]);k.push(q[1]);q=q[1]}return{values:d,xData:e,yData:k}}};c.defaultOptions=t(k.defaultOptions,{params:{index:3,period:9}});return c}(k);a.registerSeriesType("ema",c);"";return c});k(a,"masters/indicators/indicators.src.js",
21
+ [],function(){})});
22
22
  //# sourceMappingURL=indicators.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"indicators.js.map","lineCount":21,"mappings":"A;;;;;;;;;AASC,SAAS,CAACA,CAAD,CAAU,CACM,QAAtB,GAAI,MAAOC,OAAX,EAAkCA,MAAAC,QAAlC,EACIF,CAAA,CAAQ,SAAR,CACA,CADqBA,CACrB,CAAAC,MAAAC,QAAA,CAAiBF,CAFrB,EAG6B,UAAtB,GAAI,MAAOG,OAAX,EAAoCA,MAAAC,IAApC,CACHD,MAAA,CAAO,kCAAP,CAA2C,CAAC,YAAD,CAAe,0BAAf,CAA3C,CAAuF,QAAS,CAACE,CAAD,CAAa,CACzGL,CAAA,CAAQK,CAAR,CACAL,EAAAK,WAAA,CAAqBA,CACrB,OAAOL,EAHkG,CAA7G,CADG,CAOHA,CAAA,CAA8B,WAAtB,GAAA,MAAOK,WAAP,CAAoCA,UAAp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CAA8BO,CAA9B,CAAiC8D,CAAjC,CAA6CC,CAA7C,CAAqDnF,CAArD,CAA4DmB,CAA5D,CACXmE,EAAArF,KAAA,CAASsF,CAAT,CACA3E,EAAAX,KAAA,CAAWsF,CAAA,CAAS,CAAT,CAAX,CACAzE,EAAAb,KAAA,CAAWsF,CAAA,CAAS,CAAT,CAAX,CACAJ,EAAA,CAASI,CAAA,CAAS,CAAT,CAL0B,CAOvC,MAAO,CACHjE,OAAQgE,CADL,CAEH1E,MAAOA,CAFJ,CAGHE,MAAOA,CAHJ,CAnBP,CAhByD,CAsD7D8D,EAAAR,eAAA;AAA8B1F,CAAA,CAAMG,CAAAuF,eAAN,CAAmC,CAC7DvE,OAAQ,CAWJG,MAAO,CAXH,CAYJU,OAAQ,CAZJ,CADqD,CAAnC,CAgB9B,OAAOkE,EArHyC,CAAlB,CAsHhC/F,CAtHgC,CAuHlC1B,EAAAsH,mBAAA,CAAkC,KAAlC,CAAyCG,CAAzC,CAsBA,GAEA,OAAOA,EAzLgK,CAA3K,CA2LArI,EAAA,CAAgBW,CAAhB,CAA0B,sCAA1B,CAAkE,EAAlE,CAAsE,QAAS,EAAG,EAAlF,CArnBoB,CAbvB;","sources":["indicators.src.js"],"names":["factory","module","exports","define","amd","Highcharts","undefined","_registerModule","obj","path","args","fn","hasOwnProperty","apply","CustomEvent","window","dispatchEvent","detail","_modules","SeriesRegistry","U","Chart","__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","__","constructor","prototype","create","LineSeries","seriesTypes","line","addEvent","error","extend","isArray","merge","pick","splat","SMAIndicator","_super","_this","arguments","data","dataEventsToUnbind","linkedParent","options","points","destroy","SMAIndicator.prototype.destroy","forEach","unbinder","getName","SMAIndicator.prototype.getName","name","params","nameComponents","component","index","push","nameSuffixes","nameBase","type","toUpperCase","join","getValues","SMAIndicator.prototype.getValues","series","period","xVal","xData","yVal","yData","yValLen","length","range","sum","SMA","i","SMAPoint","values","init","SMAIndicator.prototype.init","chart","indicator","call","linkedSeriesUnbiner","hasEvents","recalculateValues","calculateOn","xAxis","processedYData","unbinder_1","linkedTo","order","eventsToUnbind","SMAIndicator.prototype.recalculateValues","oldData","oldDataLength","emptySet","croppedDataValues","overwriteData","processedData","hasGroupedData","visible","cropped","min","max","croppedData","cropData","concat","oldFirstPointIndex","indexOf","oldLastPointIndex","x","shift","updateData","processedXData","isDirty","redraw","isDirtyData","processData","SMAIndicator.prototype.processData","compareToMain","dataModify","compareValue","defaultOptions","tooltip","valueDecimals","hasDerivedData","useCommonDataGrouping","registerSeriesType","sma","correctFloat","EMAIndicator","accumulatePeriodPoints","EMAIndicator.prototype.accumulatePeriodPoints","y","calculateEma","EMAIndicator.prototype.calculateEma","EMApercent","calEMA","yValue","EMAIndicator.prototype.getValues","EMA","EMAPoint"]}
1
+ {"version":3,"file":"indicators.js.map","lineCount":21,"mappings":"A;;;;;;;;;AASC,SAAS,CAACA,CAAD,CAAU,CACM,QAAtB,GAAI,MAAOC,OAAX,EAAkCA,MAAAC,QAAlC,EACIF,CAAA,CAAQ,SAAR,CACA,CADqBA,CACrB,CAAAC,MAAAC,QAAA,CAAiBF,CAFrB,EAG6B,UAAtB,GAAI,MAAOG,OAAX,EAAoCA,MAAAC,IAApC,CACHD,MAAA,CAAO,kCAAP,CAA2C,CAAC,YAAD,CAAe,0BAAf,CAA3C,CAAuF,QAAS,CAACE,CAAD,CAAa,CACzGL,CAAA,CAAQK,CAAR,CACAL,EAAAK,WAAA,CAAqBA,CACrB,OAAOL,EAHkG,CAA7G,CADG,CAOHA,CAAA,CAA8B,WAAtB,GAAA,MAAOK,WAAP,CAAoCA,UAApC,CAAiDC,IAAAA,EAAzD,CAXY,CAAnB,CAAA,CAaC,QAAS,CAACD,CAAD,CAAa,CAGpBE,QAASA,EAAe,CAACC,CAAD,CAAMC,CAAN,CAAYC,CAAZ,CAAkBC,CAAlB,CAAsB,CACrCH,CAAAI,eAAA,CAAmBH,CAAnB,CAAL,GACID,CAAA,CAAIC,C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MG,CAAAuF,eAAN,CAAmC,CAC7DvE,OAAQ,CAWJG,MAAO,CAXH,CAYJU,OAAQ,CAZJ,CADqD,CAAnC,CAgB9B,OAAOkE,EArHyC,CAAlB,CAsHhC/F,CAtHgC,CAuHlCzB,EAAAqH,mBAAA,CAAkC,KAAlC,CAAyCG,CAAzC,CAsBA,GAEA,OAAOA,EAzLgK,CAA3K,CA2LArI,EAAA,CAAgBW,CAAhB,CAA0B,sCAA1B;AAAkE,EAAlE,CAAsE,QAAS,EAAG,EAAlF,CAvmBoB,CAbvB;","sources":["indicators.src.js"],"names":["factory","module","exports","define","amd","Highcharts","undefined","_registerModule","obj","path","args","fn","hasOwnProperty","apply","CustomEvent","window","dispatchEvent","detail","_modules","Chart","SeriesRegistry","U","__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","__","constructor","prototype","create","LineSeries","seriesTypes","line","addEvent","error","extend","isArray","merge","pick","splat","SMAIndicator","_super","_this","arguments","data","dataEventsToUnbind","linkedParent","options","points","destroy","SMAIndicator.prototype.destroy","forEach","unbinder","getName","SMAIndicator.prototype.getName","name","params","nameComponents","component","index","push","nameSuffixes","nameBase","type","toUpperCase","join","getValues","SMAIndicator.prototype.getValues","series","period","xVal","xData","yVal","yData","yValLen","length","range","sum","SMA","i","SMAPoint","values","init","SMAIndicator.prototype.init","chart","indicator","call","linkedSeriesUnbiner","hasEvents","recalculateValues","calculateOn","xAxis","processedYData","unbinder_1","linkedTo","order","eventsToUnbind","SMAIndicator.prototype.recalculateValues","oldData","oldDataLength","emptySet","croppedDataValues","overwriteData","processedData","hasGroupedData","visible","cropped","min","max","croppedData","cropData","concat","oldFirstPointIndex","indexOf","oldLastPointIndex","x","shift","updateData","processedXData","isDirty","redraw","isDirtyData","processData","SMAIndicator.prototype.processData","compareToMain","dataModify","compareValue","defaultOptions","tooltip","valueDecimals","hasDerivedData","useCommonDataGrouping","registerSeriesType","sma","correctFloat","EMAIndicator","accumulatePeriodPoints","EMAIndicator.prototype.accumulatePeriodPoints","y","calculateEma","EMAIndicator.prototype.calculateEma","EMApercent","calEMA","yValue","EMAIndicator.prototype.getValues","EMA","EMAPoint"]}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v10.2.1 (2022-08-29)
2
+ * @license Highstock JS v10.3.1 (2022-10-31)
3
3
  *
4
4
  * Indicator series type for Highcharts Stock
5
5
  *
@@ -37,20 +37,6 @@
37
37
  }
38
38
  }
39
39
  }
40
- _registerModule(_modules, 'Stock/Indicators/SMA/SMAComposition.js', [_modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (SeriesRegistry, U) {
41
- /* *
42
- *
43
- * License: www.highcharts.com/license
44
- *
45
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
46
- *
47
- * */
48
- var Series = SeriesRegistry.series,
49
- ohlcProto = SeriesRegistry.seriesTypes.ohlc.prototype;
50
- var addEvent = U.addEvent,
51
- extend = U.extend;
52
-
53
- });
54
40
  _registerModule(_modules, 'Stock/Indicators/SMA/SMAIndicator.js', [_modules['Core/Chart/Chart.js'], _modules['Core/Series/SeriesRegistry.js'], _modules['Core/Utilities.js']], function (Chart, SeriesRegistry, U) {
55
41
  /* *
56
42
  *
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highstock JS v10.2.1 (2022-08-29)
2
+ Highstock JS v10.3.1 (2022-10-31)
3
3
 
4
4
  Indicator series type for Highcharts Stock
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Highstock JS v10.2.1 (2022-08-29)
2
+ * @license Highstock JS v10.3.1 (2022-10-31)
3
3
  *
4
4
  * Indicator series type for Highcharts Stock
5
5
  *
@@ -0,0 +1,17 @@
1
+ /*!*
2
+ *
3
+ * Copyright (c) Highsoft AS. All rights reserved.
4
+ *
5
+ *!*/
6
+ import * as globals from "../globals";
7
+ import * as _Highcharts from "../highcharts";
8
+ /**
9
+ * Adds the module to the imported Highcharts namespace.
10
+ *
11
+ * @param highcharts
12
+ * The imported Highcharts namespace to extend.
13
+ */
14
+ export function factory(highcharts: typeof Highcharts): void;
15
+ declare module "../highcharts" {}
16
+ export default factory;
17
+ export let Highcharts: typeof _Highcharts;
@@ -1,5 +1,5 @@
1
1
  /*
2
- Highcharts Stock JS v10.2.1 (2022-08-29)
2
+ Highcharts Stock JS v10.3.1 (2022-10-31)
3
3
 
4
4
  Indicator series type for Highcharts Stock
5
5
 
@@ -8,16 +8,16 @@
8
8
  License: www.highcharts.com/license
9
9
  */
10
10
  (function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/indicators/klinger",["highcharts","highcharts/modules/stock"],function(k){a(k);a.Highcharts=k;return a}):a("undefined"!==typeof Highcharts?Highcharts:void 0)})(function(a){function k(a,h,g,k){a.hasOwnProperty(h)||(a[h]=k.apply(null,g),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:h,module:a[h]}})))}
11
- a=a?a._modules:{};k(a,"Stock/Indicators/MultipleLinesComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,h){var g=a.seriesTypes.sma.prototype,k=h.defined,p=h.error,q=h.merge,l;(function(a){function h(c){return"plot"+c.charAt(0).toUpperCase()+c.slice(1)}function l(c,b){var d=[];(c.pointArrayMap||[]).forEach(function(c){c!==b&&d.push(h(c))});return d}function u(){var c=this,b=c.linesApiNames,d=c.areaLinesNames,f=c.points,a=c.options,x=c.graph,e={options:{gapSize:a.gapSize}},
12
- t=[],m=l(c,c.pointValKey),r=f.length,v;m.forEach(function(c,b){for(t[b]=[];r--;)v=f[r],t[b].push({x:v.x,plotX:v.plotX,plotY:v[c],isNull:!k(v[c])});r=f.length});if(c.userOptions.fillColor&&d.length){var w=m.indexOf(h(d[0]));w=t[w];d=1===d.length?f:t[m.indexOf(h(d[1]))];m=c.color;c.points=d;c.nextPoints=w;c.color=c.userOptions.fillColor;c.options=q(f,e);c.graph=c.area;c.fillGraph=!0;g.drawGraph.call(c);c.area=c.graph;delete c.nextPoints;delete c.fillGraph;c.color=m}b.forEach(function(b,d){t[d]?(c.points=
13
- t[d],a[b]?c.options=q(a[b].styles,e):p('Error: "There is no '+b+' in DOCS options declared. Check if linesApiNames are consistent with your DOCS line names."'),c.graph=c["graph"+b],g.drawGraph.call(c),c["graph"+b]=c.graph):p('Error: "'+b+" doesn't have equivalent in pointArrayMap. To many elements in linesApiNames relative to pointArrayMap.\"")});c.points=f;c.options=a;c.graph=x;g.drawGraph.call(c)}function r(c){var b,d=[];c=c||this.points;if(this.fillGraph&&this.nextPoints){if((b=g.getGraphPath.call(this,
14
- this.nextPoints))&&b.length){b[0][0]="L";d=g.getGraphPath.call(this,c);b=b.slice(0,d.length);for(var f=b.length-1;0<=f;f--)d.push(b[f])}}else d=g.getGraphPath.apply(this,arguments);return d}function e(b){var c=[];(this.pointArrayMap||[]).forEach(function(d){c.push(b[d])});return c}function b(){var b=this,d=this.pointArrayMap,f=[],a;f=l(this);g.translate.apply(this,arguments);this.points.forEach(function(c){d.forEach(function(d,x){a=c[d];b.dataModify&&(a=b.dataModify.modifyValue(a));null!==a&&(c[f[x]]=
15
- b.yAxis.toPixels(a,!0))})})}var d=[],f=["bottomLine"],x=["top","bottom"],t=["top"];a.compose=function(c){if(-1===d.indexOf(c)){d.push(c);var a=c.prototype;a.linesApiNames=a.linesApiNames||f.slice();a.pointArrayMap=a.pointArrayMap||x.slice();a.pointValKey=a.pointValKey||"top";a.areaLinesNames=a.areaLinesNames||t.slice();a.drawGraph=u;a.getGraphPath=r;a.toYData=e;a.translate=b}return c}})(l||(l={}));return l});k(a,"Stock/Indicators/Klinger/KlingerIndicator.js",[a["Stock/Indicators/MultipleLinesComposition.js"],
16
- a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,h,g){var k=this&&this.__extends||function(){var a=function(e,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var d in a)a.hasOwnProperty(d)&&(b[d]=a[d])};return a(e,b)};return function(e,b){function d(){this.constructor=e}a(e,b);e.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),p=h.seriesTypes.ema,q=h.seriesTypes.sma,l=g.correctFloat,y=g.error,z=
17
- g.extend,A=g.isArray,u=g.merge;g=function(a){function e(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.points=void 0;b.options=void 0;b.volumeSeries=void 0;return b}k(e,a);e.prototype.calculateTrend=function(b,a){return b[a][1]+b[a][2]+b[a][3]>b[a-1][1]+b[a-1][2]+b[a-1][3]?1:-1};e.prototype.isValidData=function(b){var a=this.chart,f=this.options,e=this.linkedParent;b=A(b)&&4===b.length;(a=this.volumeSeries||(this.volumeSeries=a.get(f.params.volumeSeriesID)))||y("Series "+f.params.volumeSeriesID+
18
- " not found! Check `volumeSeriesID`.",!0,e.chart);return!(![e,a].every(function(b){return b&&b.xData&&b.xData.length>=f.params.slowAvgPeriod})||!b)};e.prototype.getCM=function(b,a,f,e,g){return l(a+(f===e?b:g))};e.prototype.getDM=function(b,a){return l(b-a)};e.prototype.getVolumeForce=function(b){var a=[],f=1;var e=0;var g=b[0][1]-b[0][2];var c=0;for(f;f<b.length;f++){var h=this.calculateTrend(b,f);var k=this.getDM(b[f][1],b[f][2]);e=this.getCM(e,k,h,c,g);c=this.volumeSeries.yData[f]*h*Math.abs(2*
19
- (k/e-1))*100;a.push([c]);c=h;g=k}return a};e.prototype.getEMA=function(a,d,f,e,g,c,h){return p.prototype.calculateEma(h||[],a,"undefined"===typeof c?1:c,e,d,"undefined"===typeof g?-1:g,f)};e.prototype.getSMA=function(a,d,f){return p.prototype.accumulatePeriodPoints(a,d,f)/a};e.prototype.getValues=function(a,d){var b=[],e=a.xData;a=a.yData;var g=[],c=[],h=[],k,n=0,p=0,q=void 0,r=void 0,u=null;if(this.isValidData(a[0])){var m=this.getVolumeForce(a),y=this.getSMA(d.fastAvgPeriod,0,m),v=this.getSMA(d.slowAvgPeriod,
20
- 0,m),w=2/(d.fastAvgPeriod+1),z=2/(d.slowAvgPeriod+1);for(n;n<a.length;n++)n>=d.fastAvgPeriod&&(q=p=this.getEMA(m,q,y,w,0,n,e)[1]),n>=d.slowAvgPeriod&&(r=k=this.getEMA(m,r,v,z,0,n,e)[1],k=l(p-k),h.push(k),h.length>=d.signalPeriod&&(u=h.slice(-d.signalPeriod).reduce(function(a,b){return a+b})/d.signalPeriod),b.push([e[n],k,u]),g.push(e[n]),c.push([k,u]));return{values:b,xData:g,yData:c}}};e.defaultOptions=u(q.defaultOptions,{params:{fastAvgPeriod:34,slowAvgPeriod:55,signalPeriod:13,volumeSeriesID:"volume"},
21
- signalLine:{styles:{lineWidth:1,lineColor:"#ff0000"}},dataGrouping:{approximation:"averages"},tooltip:{pointFormat:'<span style="color: {point.color}">\u25cf</span><b> {series.name}</b><br/><span style="color: {point.color}">Klinger</span>: {point.y}<br/><span style="color: {point.series.options.signalLine.styles.lineColor}">Signal</span>: {point.signal}<br/>'}});return e}(q);z(g.prototype,{areaLinesNames:[],linesApiNames:["signalLine"],nameBase:"Klinger",nameComponents:["fastAvgPeriod","slowAvgPeriod"],
11
+ a=a?a._modules:{};k(a,"Stock/Indicators/MultipleLinesComposition.js",[a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,h){var g=a.seriesTypes.sma.prototype,k=h.defined,m=h.error,q=h.merge,l;(function(a){function h(c){return"plot"+c.charAt(0).toUpperCase()+c.slice(1)}function l(c,b){var d=[];(c.pointArrayMap||[]).forEach(function(c){c!==b&&d.push(h(c))});return d}function p(){var c=this,b=c.linesApiNames,d=c.areaLinesNames,f=c.points,a=c.options,v=c.graph,e={options:{gapSize:a.gapSize}},
12
+ t=[],n=l(c,c.pointValKey),r=f.length,u;n.forEach(function(c,b){for(t[b]=[];r--;)u=f[r],t[b].push({x:u.x,plotX:u.plotX,plotY:u[c],isNull:!k(u[c])});r=f.length});if(c.userOptions.fillColor&&d.length){var p=n.indexOf(h(d[0]));p=t[p];d=1===d.length?f:t[n.indexOf(h(d[1]))];n=c.color;c.points=d;c.nextPoints=p;c.color=c.userOptions.fillColor;c.options=q(f,e);c.graph=c.area;c.fillGraph=!0;g.drawGraph.call(c);c.area=c.graph;delete c.nextPoints;delete c.fillGraph;c.color=n}b.forEach(function(b,d){t[d]?(c.points=
13
+ t[d],a[b]?c.options=q(a[b].styles,e):m('Error: "There is no '+b+' in DOCS options declared. Check if linesApiNames are consistent with your DOCS line names."'),c.graph=c["graph"+b],g.drawGraph.call(c),c["graph"+b]=c.graph):m('Error: "'+b+" doesn't have equivalent in pointArrayMap. To many elements in linesApiNames relative to pointArrayMap.\"")});c.points=f;c.options=a;c.graph=v;g.drawGraph.call(c)}function r(c){var b,d=[];c=c||this.points;if(this.fillGraph&&this.nextPoints){if((b=g.getGraphPath.call(this,
14
+ this.nextPoints))&&b.length){b[0][0]="L";d=g.getGraphPath.call(this,c);b=b.slice(0,d.length);for(var f=b.length-1;0<=f;f--)d.push(b[f])}}else d=g.getGraphPath.apply(this,arguments);return d}function e(b){var c=[];(this.pointArrayMap||[]).forEach(function(d){c.push(b[d])});return c}function b(){var b=this,d=this.pointArrayMap,f=[],a;f=l(this);g.translate.apply(this,arguments);this.points.forEach(function(c){d.forEach(function(d,v){a=c[d];b.dataModify&&(a=b.dataModify.modifyValue(a));null!==a&&(c[f[v]]=
15
+ b.yAxis.toPixels(a,!0))})})}var d=[],f=["bottomLine"],v=["top","bottom"],t=["top"];a.compose=function(c){if(-1===d.indexOf(c)){d.push(c);var a=c.prototype;a.linesApiNames=a.linesApiNames||f.slice();a.pointArrayMap=a.pointArrayMap||v.slice();a.pointValKey=a.pointValKey||"top";a.areaLinesNames=a.areaLinesNames||t.slice();a.drawGraph=p;a.getGraphPath=r;a.toYData=e;a.translate=b}return c}})(l||(l={}));return l});k(a,"Stock/Indicators/Klinger/KlingerIndicator.js",[a["Stock/Indicators/MultipleLinesComposition.js"],
16
+ a["Core/Series/SeriesRegistry.js"],a["Core/Utilities.js"]],function(a,h,g){var k=this&&this.__extends||function(){var a=function(e,b){a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,a){b.__proto__=a}||function(b,a){for(var d in a)a.hasOwnProperty(d)&&(b[d]=a[d])};return a(e,b)};return function(e,b){function d(){this.constructor=e}a(e,b);e.prototype=null===b?Object.create(b):(d.prototype=b.prototype,new d)}}(),m=h.seriesTypes,q=m.ema,l=m.sma,p=g.correctFloat,w=g.error;m=g.extend;
17
+ var x=g.isArray,y=g.merge;g=function(a){function e(){var b=null!==a&&a.apply(this,arguments)||this;b.data=void 0;b.points=void 0;b.options=void 0;b.volumeSeries=void 0;return b}k(e,a);e.prototype.calculateTrend=function(b,a){return b[a][1]+b[a][2]+b[a][3]>b[a-1][1]+b[a-1][2]+b[a-1][3]?1:-1};e.prototype.isValidData=function(b){var a=this.chart,f=this.options,e=this.linkedParent;b=x(b)&&4===b.length;(a=this.volumeSeries||(this.volumeSeries=a.get(f.params.volumeSeriesID)))||w("Series "+f.params.volumeSeriesID+
18
+ " not found! Check `volumeSeriesID`.",!0,e.chart);return!(![e,a].every(function(b){return b&&b.xData&&b.xData.length>=f.params.slowAvgPeriod})||!b)};e.prototype.getCM=function(b,a,f,e,g){return p(a+(f===e?b:g))};e.prototype.getDM=function(b,a){return p(b-a)};e.prototype.getVolumeForce=function(b){var a=[],f=1;var e=0;var g=b[0][1]-b[0][2];var c=0;for(f;f<b.length;f++){var h=this.calculateTrend(b,f);var k=this.getDM(b[f][1],b[f][2]);e=this.getCM(e,k,h,c,g);c=this.volumeSeries.yData[f]*h*Math.abs(2*
19
+ (k/e-1))*100;a.push([c]);c=h;g=k}return a};e.prototype.getEMA=function(a,d,f,e,g,c,h){return q.prototype.calculateEma(h||[],a,"undefined"===typeof c?1:c,e,d,"undefined"===typeof g?-1:g,f)};e.prototype.getSMA=function(a,d,f){return q.prototype.accumulatePeriodPoints(a,d,f)/a};e.prototype.getValues=function(a,d){var b=[],e=a.xData;a=a.yData;var g=[],c=[],h=[],k,l=0,m=0,q=void 0,r=void 0,z=null;if(this.isValidData(a[0])){var n=this.getVolumeForce(a),w=this.getSMA(d.fastAvgPeriod,0,n),u=this.getSMA(d.slowAvgPeriod,
20
+ 0,n),x=2/(d.fastAvgPeriod+1),y=2/(d.slowAvgPeriod+1);for(l;l<a.length;l++)l>=d.fastAvgPeriod&&(q=m=this.getEMA(n,q,w,x,0,l,e)[1]),l>=d.slowAvgPeriod&&(r=k=this.getEMA(n,r,u,y,0,l,e)[1],k=p(m-k),h.push(k),h.length>=d.signalPeriod&&(z=h.slice(-d.signalPeriod).reduce(function(a,b){return a+b})/d.signalPeriod),b.push([e[l],k,z]),g.push(e[l]),c.push([k,z]));return{values:b,xData:g,yData:c}}};e.defaultOptions=y(l.defaultOptions,{params:{fastAvgPeriod:34,slowAvgPeriod:55,signalPeriod:13,volumeSeriesID:"volume"},
21
+ signalLine:{styles:{lineWidth:1,lineColor:"#ff0000"}},dataGrouping:{approximation:"averages"},tooltip:{pointFormat:'<span style="color: {point.color}">\u25cf</span><b> {series.name}</b><br/><span style="color: {point.color}">Klinger</span>: {point.y}<br/><span style="color: {point.series.options.signalLine.styles.lineColor}">Signal</span>: {point.signal}<br/>'}});return e}(l);m(g.prototype,{areaLinesNames:[],linesApiNames:["signalLine"],nameBase:"Klinger",nameComponents:["fastAvgPeriod","slowAvgPeriod"],
22
22
  pointArrayMap:["y","signal"],parallelArrays:["x","y","signal"],pointValKey:"y"});a.compose(g);h.registerSeriesType("klinger",g);"";return g});k(a,"masters/indicators/klinger.src.js",[],function(){})});
23
23
  //# sourceMappingURL=klinger.js.map