candleview 1.0.5 → 1.0.7

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 (231) hide show
  1. package/dist/index.d.ts +758 -4
  2. package/package.json +14 -6
  3. package/dist/components/CandleView/Camera.d.ts +0 -16
  4. package/dist/components/CandleView/CandleView.d.ts +0 -149
  5. package/dist/components/CandleView/ChartLayer/ChartEventManager.d.ts +0 -47
  6. package/dist/components/CandleView/ChartLayer/ChartInfo.d.ts +0 -62
  7. package/dist/components/CandleView/ChartLayer/ChartLayerMarkState.d.ts +0 -281
  8. package/dist/components/CandleView/ChartLayer/ChartManager.d.ts +0 -11
  9. package/dist/components/CandleView/ChartLayer/ChartMarkManager.d.ts +0 -203
  10. package/dist/components/CandleView/ChartLayer/ChartMarkTextEditManager.d.ts +0 -16
  11. package/dist/components/CandleView/ChartLayer/ChartTypeManager.d.ts +0 -17
  12. package/dist/components/CandleView/ChartLayer/MainChart/Area.d.ts +0 -13
  13. package/dist/components/CandleView/ChartLayer/MainChart/Bar.d.ts +0 -13
  14. package/dist/components/CandleView/ChartLayer/MainChart/BaseLine.d.ts +0 -12
  15. package/dist/components/CandleView/ChartLayer/MainChart/BaselineArea.d.ts +0 -12
  16. package/dist/components/CandleView/ChartLayer/MainChart/Candlestick.d.ts +0 -12
  17. package/dist/components/CandleView/ChartLayer/MainChart/HLCArea.d.ts +0 -35
  18. package/dist/components/CandleView/ChartLayer/MainChart/HeikinAshi.d.ts +0 -12
  19. package/dist/components/CandleView/ChartLayer/MainChart/HighLow.d.ts +0 -12
  20. package/dist/components/CandleView/ChartLayer/MainChart/Histogram.d.ts +0 -13
  21. package/dist/components/CandleView/ChartLayer/MainChart/HollowCandle.d.ts +0 -13
  22. package/dist/components/CandleView/ChartLayer/MainChart/IMainChart.d.ts +0 -7
  23. package/dist/components/CandleView/ChartLayer/MainChart/Line.d.ts +0 -13
  24. package/dist/components/CandleView/ChartLayer/MainChart/LineBreak.d.ts +0 -15
  25. package/dist/components/CandleView/ChartLayer/MainChart/MainChartManager.d.ts +0 -17
  26. package/dist/components/CandleView/ChartLayer/MainChart/MarketProfile.d.ts +0 -52
  27. package/dist/components/CandleView/ChartLayer/MainChart/Mountain.d.ts +0 -12
  28. package/dist/components/CandleView/ChartLayer/MainChart/StepLine.d.ts +0 -12
  29. package/dist/components/CandleView/ChartLayer/MainChart/Volume.d.ts +0 -6
  30. package/dist/components/CandleView/ChartLayer/MainChart/VolumeHeatMap.d.ts +0 -41
  31. package/dist/components/CandleView/ChartLayer/Modal/ImageUploadModal.d.ts +0 -10
  32. package/dist/components/CandleView/ChartLayer/Modal/MainChartIndicatorsSettingModal.d.ts +0 -17
  33. package/dist/components/CandleView/ChartLayer/Modal/SubChartIndicatorsSettingModal.d.ts +0 -17
  34. package/dist/components/CandleView/ChartLayer/Modal/TextMarkEditorModal.d.ts +0 -21
  35. package/dist/components/CandleView/ChartLayer/Panes/BaseChartPane.d.ts +0 -41
  36. package/dist/components/CandleView/ChartLayer/Panes/ChartPaneFactory.d.ts +0 -6
  37. package/dist/components/CandleView/ChartLayer/Panes/ChartPanesManager.d.ts +0 -31
  38. package/dist/components/CandleView/ChartLayer/Panes/IChartPanes.d.ts +0 -42
  39. package/dist/components/CandleView/ChartLayer/SubChart/ADX.d.ts +0 -25
  40. package/dist/components/CandleView/ChartLayer/SubChart/ATR.d.ts +0 -25
  41. package/dist/components/CandleView/ChartLayer/SubChart/BBWidth.d.ts +0 -26
  42. package/dist/components/CandleView/ChartLayer/SubChart/CCI.d.ts +0 -25
  43. package/dist/components/CandleView/ChartLayer/SubChart/KDJ.d.ts +0 -23
  44. package/dist/components/CandleView/ChartLayer/SubChart/MACD.d.ts +0 -23
  45. package/dist/components/CandleView/ChartLayer/SubChart/OBV.d.ts +0 -24
  46. package/dist/components/CandleView/ChartLayer/SubChart/RSI.d.ts +0 -25
  47. package/dist/components/CandleView/ChartLayer/SubChart/SAR.d.ts +0 -23
  48. package/dist/components/CandleView/ChartLayer/SubChart/Stochastic.d.ts +0 -23
  49. package/dist/components/CandleView/ChartLayer/SubChart/Volume.d.ts +0 -24
  50. package/dist/components/CandleView/ChartLayer/ToolBar/GraphMarkToolBar.d.ts +0 -51
  51. package/dist/components/CandleView/ChartLayer/ToolBar/TextMarkToolBar.d.ts +0 -65
  52. package/dist/components/CandleView/ChartLayer/index.d.ts +0 -290
  53. package/dist/components/CandleView/DataAdapter.d.ts +0 -28
  54. package/dist/components/CandleView/DataLoader.d.ts +0 -15
  55. package/dist/components/CandleView/DataManager.d.ts +0 -23
  56. package/dist/components/CandleView/DataPointManager.d.ts +0 -45
  57. package/dist/components/CandleView/I18n.d.ts +0 -418
  58. package/dist/components/CandleView/Icons.d.ts +0 -161
  59. package/dist/components/CandleView/Indicators/MainChart/BaseIndicator.d.ts +0 -26
  60. package/dist/components/CandleView/Indicators/MainChart/BollingerBandsIndicator.d.ts +0 -51
  61. package/dist/components/CandleView/Indicators/MainChart/DonchianChannelIndicator.d.ts +0 -24
  62. package/dist/components/CandleView/Indicators/MainChart/EMAIndicator.d.ts +0 -24
  63. package/dist/components/CandleView/Indicators/MainChart/EnvelopeIndicator.d.ts +0 -52
  64. package/dist/components/CandleView/Indicators/MainChart/IchimokuIndicator.d.ts +0 -58
  65. package/dist/components/CandleView/Indicators/MainChart/MAIndicator.d.ts +0 -24
  66. package/dist/components/CandleView/Indicators/MainChart/MainChartIndicatorInfo.d.ts +0 -24
  67. package/dist/components/CandleView/Indicators/MainChart/MainChartIndicatorManager.d.ts +0 -28
  68. package/dist/components/CandleView/Indicators/MainChart/VWAPIndicator.d.ts +0 -26
  69. package/dist/components/CandleView/Indicators/SubChart/ADXIndicator.d.ts +0 -6
  70. package/dist/components/CandleView/Indicators/SubChart/ATRIndicator.d.ts +0 -6
  71. package/dist/components/CandleView/Indicators/SubChart/BBWidthIndicator.d.ts +0 -6
  72. package/dist/components/CandleView/Indicators/SubChart/CCIIndicator.d.ts +0 -6
  73. package/dist/components/CandleView/Indicators/SubChart/IIndicator.d.ts +0 -15
  74. package/dist/components/CandleView/Indicators/SubChart/KDJIndicator.d.ts +0 -6
  75. package/dist/components/CandleView/Indicators/SubChart/MACDIndicator.d.ts +0 -6
  76. package/dist/components/CandleView/Indicators/SubChart/OBVIndicator.d.ts +0 -6
  77. package/dist/components/CandleView/Indicators/SubChart/RSIIndicator.d.ts +0 -6
  78. package/dist/components/CandleView/Indicators/SubChart/SARIndicator.d.ts +0 -6
  79. package/dist/components/CandleView/Indicators/SubChart/StochasticIndicator.d.ts +0 -25
  80. package/dist/components/CandleView/Indicators/SubChart/VolumeIndicator.d.ts +0 -11
  81. package/dist/components/CandleView/LeftPanel/Config.d.ts +0 -64
  82. package/dist/components/CandleView/LeftPanel/EmojiConfig.d.ts +0 -21
  83. package/dist/components/CandleView/LeftPanel/ToolManager.d.ts +0 -5
  84. package/dist/components/CandleView/LeftPanel/index.d.ts +0 -95
  85. package/dist/components/CandleView/Mark/Arrow/ArrowLineMark.d.ts +0 -67
  86. package/dist/components/CandleView/Mark/Arrow/ThickArrowLineMark.d.ts +0 -73
  87. package/dist/components/CandleView/Mark/Channel/DisjointChannelMark.d.ts +0 -74
  88. package/dist/components/CandleView/Mark/Channel/EquidistantChannelMark.d.ts +0 -67
  89. package/dist/components/CandleView/Mark/Channel/LinearRegressionChannelMark.d.ts +0 -70
  90. package/dist/components/CandleView/Mark/Channel/ParallelChannelMark.d.ts +0 -67
  91. package/dist/components/CandleView/Mark/Content/ImageMark.d.ts +0 -75
  92. package/dist/components/CandleView/Mark/Fibonacci/FibonacciArcMark.d.ts +0 -88
  93. package/dist/components/CandleView/Mark/Fibonacci/FibonacciChannelMark.d.ts +0 -80
  94. package/dist/components/CandleView/Mark/Fibonacci/FibonacciCircleMark.d.ts +0 -81
  95. package/dist/components/CandleView/Mark/Fibonacci/FibonacciExtensionBasePriceMark.d.ts +0 -89
  96. package/dist/components/CandleView/Mark/Fibonacci/FibonacciExtensionBaseTimeMark.d.ts +0 -89
  97. package/dist/components/CandleView/Mark/Fibonacci/FibonacciFanMark.d.ts +0 -91
  98. package/dist/components/CandleView/Mark/Fibonacci/FibonacciRetracementMark.d.ts +0 -81
  99. package/dist/components/CandleView/Mark/Fibonacci/FibonacciSpiralMark.d.ts +0 -95
  100. package/dist/components/CandleView/Mark/Fibonacci/FibonacciTimeZoonMark.d.ts +0 -71
  101. package/dist/components/CandleView/Mark/Fibonacci/FibonacciWedgeMark.d.ts +0 -97
  102. package/dist/components/CandleView/Mark/Fork/AndrewPitchforkMark.d.ts +0 -77
  103. package/dist/components/CandleView/Mark/Fork/EnhancedAndrewPitchforkMark.d.ts +0 -78
  104. package/dist/components/CandleView/Mark/Fork/SchiffPitchforkMark.d.ts +0 -86
  105. package/dist/components/CandleView/Mark/Gann/GannBoxMark.d.ts +0 -100
  106. package/dist/components/CandleView/Mark/Gann/GannFanMark.d.ts +0 -90
  107. package/dist/components/CandleView/Mark/Gann/GannRectangleMark.d.ts +0 -106
  108. package/dist/components/CandleView/Mark/IDeletableMark.d.ts +0 -5
  109. package/dist/components/CandleView/Mark/IGraph.d.ts +0 -7
  110. package/dist/components/CandleView/Mark/IMarkManager.d.ts +0 -11
  111. package/dist/components/CandleView/Mark/IMarkStyle.d.ts +0 -6
  112. package/dist/components/CandleView/Mark/Line/HorizontalLineMark.d.ts +0 -51
  113. package/dist/components/CandleView/Mark/Line/LineSegmentMark.d.ts +0 -62
  114. package/dist/components/CandleView/Mark/Line/VerticalLineMark.d.ts +0 -51
  115. package/dist/components/CandleView/Mark/Map/HeatMapMark.d.ts +0 -75
  116. package/dist/components/CandleView/Mark/Mock/MockKLineMark.d.ts +0 -70
  117. package/dist/components/CandleView/Mark/Pattern/ABCDMark.d.ts +0 -57
  118. package/dist/components/CandleView/Mark/Pattern/ElliottCorrectiveMark.d.ts +0 -59
  119. package/dist/components/CandleView/Mark/Pattern/ElliottDoubleCombinationMark.d.ts +0 -59
  120. package/dist/components/CandleView/Mark/Pattern/ElliottImpulseMark.d.ts +0 -59
  121. package/dist/components/CandleView/Mark/Pattern/ElliottTriangleMark.d.ts +0 -59
  122. package/dist/components/CandleView/Mark/Pattern/ElliottTripleCombinationMark.d.ts +0 -59
  123. package/dist/components/CandleView/Mark/Pattern/HeadAndShouldersMark.d.ts +0 -63
  124. package/dist/components/CandleView/Mark/Pattern/TriangleABCDMark.d.ts +0 -66
  125. package/dist/components/CandleView/Mark/Pattern/XABCDMark.d.ts +0 -58
  126. package/dist/components/CandleView/Mark/Pen/BrushMark.d.ts +0 -67
  127. package/dist/components/CandleView/Mark/Pen/EraserMark.d.ts +0 -51
  128. package/dist/components/CandleView/Mark/Pen/MarkerPenMark.d.ts +0 -62
  129. package/dist/components/CandleView/Mark/Pen/PenMark.d.ts +0 -62
  130. package/dist/components/CandleView/Mark/Pen/PencilMark.d.ts +0 -62
  131. package/dist/components/CandleView/Mark/Range/LongPositionMark.d.ts +0 -79
  132. package/dist/components/CandleView/Mark/Range/PriceRangeMark.d.ts +0 -71
  133. package/dist/components/CandleView/Mark/Range/ShortPositionMark.d.ts +0 -79
  134. package/dist/components/CandleView/Mark/Range/TimePriceRangeMark.d.ts +0 -74
  135. package/dist/components/CandleView/Mark/Range/TimeRangeMark.d.ts +0 -71
  136. package/dist/components/CandleView/Mark/Shape/CircleMark.d.ts +0 -78
  137. package/dist/components/CandleView/Mark/Shape/CurveMark.d.ts +0 -70
  138. package/dist/components/CandleView/Mark/Shape/DoubleCurveMark.d.ts +0 -75
  139. package/dist/components/CandleView/Mark/Shape/EllipseMark.d.ts +0 -85
  140. package/dist/components/CandleView/Mark/Shape/RectangleMark.ts.d.ts +0 -65
  141. package/dist/components/CandleView/Mark/Shape/SectorMark.d.ts +0 -83
  142. package/dist/components/CandleView/Mark/Shape/TriangleMark.d.ts +0 -91
  143. package/dist/components/CandleView/Mark/Static/BottomArrowMark.d.ts +0 -13
  144. package/dist/components/CandleView/Mark/Static/BottomTextMark.d.ts +0 -22
  145. package/dist/components/CandleView/Mark/Static/MultiBottomArrowMark.d.ts +0 -14
  146. package/dist/components/CandleView/Mark/Static/MultiBottomTextMark.d.ts +0 -36
  147. package/dist/components/CandleView/Mark/Static/MultiTopArrowMark.d.ts +0 -14
  148. package/dist/components/CandleView/Mark/Static/MultiTopTextMark.d.ts +0 -36
  149. package/dist/components/CandleView/Mark/Static/TopArrowMark.d.ts +0 -13
  150. package/dist/components/CandleView/Mark/Static/TopTextMark.d.ts +0 -22
  151. package/dist/components/CandleView/Mark/Text/BubbleBoxMark.d.ts +0 -126
  152. package/dist/components/CandleView/Mark/Text/EmojiMark.d.ts +0 -72
  153. package/dist/components/CandleView/Mark/Text/FlagMark.d.ts +0 -63
  154. package/dist/components/CandleView/Mark/Text/PinMark.d.ts +0 -110
  155. package/dist/components/CandleView/Mark/Text/PriceLabelMark.d.ts +0 -70
  156. package/dist/components/CandleView/Mark/Text/PriceNoteMark.d.ts +0 -87
  157. package/dist/components/CandleView/Mark/Text/SignPostMark.d.ts +0 -110
  158. package/dist/components/CandleView/Mark/Text/TextEditMark.d.ts +0 -105
  159. package/dist/components/CandleView/MarkManager/Channel/DisjointChannelMarkManager.d.ts +0 -67
  160. package/dist/components/CandleView/MarkManager/Channel/EquidistantChannelMarkManager.d.ts +0 -66
  161. package/dist/components/CandleView/MarkManager/Channel/LinearRegressionChannelMarkManager.d.ts +0 -63
  162. package/dist/components/CandleView/MarkManager/Channel/ParallelChannelMarkManager.d.ts +0 -66
  163. package/dist/components/CandleView/MarkManager/Content/ImageMarkManager.d.ts +0 -57
  164. package/dist/components/CandleView/MarkManager/Elliott/ElliottCorrectiveMarkManager.d.ts +0 -53
  165. package/dist/components/CandleView/MarkManager/Elliott/ElliottDoubleCombinationMarkManager.d.ts +0 -53
  166. package/dist/components/CandleView/MarkManager/Elliott/ElliottImpulseMarkManager.d.ts +0 -53
  167. package/dist/components/CandleView/MarkManager/Elliott/ElliottTriangleMarkManager.d.ts +0 -53
  168. package/dist/components/CandleView/MarkManager/Elliott/ElliottTripleCombinationMarkManager.d.ts +0 -53
  169. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciArcMarkManager.d.ts +0 -53
  170. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciChannelMarkManager.d.ts +0 -64
  171. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciCircleMarkManager.d.ts +0 -53
  172. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciExtensionBasePriceMarkManager.d.ts +0 -54
  173. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciExtensionBaseTimeMarkManager.d.ts +0 -54
  174. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciFanMarkManager.d.ts +0 -53
  175. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciRetracementMarkManager.d.ts +0 -54
  176. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciSpiralMarkManager.d.ts +0 -53
  177. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciTimeZoonMarkManager.d.ts +0 -53
  178. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciWedgeMarkManager.d.ts +0 -56
  179. package/dist/components/CandleView/MarkManager/Fork/AndrewPitchforkMarkManager.d.ts +0 -71
  180. package/dist/components/CandleView/MarkManager/Fork/EnhancedAndrewPitchforkMarkManager.d.ts +0 -71
  181. package/dist/components/CandleView/MarkManager/Fork/SchiffPitchforkMarkManager.d.ts +0 -76
  182. package/dist/components/CandleView/MarkManager/Gann/GannBoxMarkManager.d.ts +0 -53
  183. package/dist/components/CandleView/MarkManager/Gann/GannFanMarkManager.d.ts +0 -53
  184. package/dist/components/CandleView/MarkManager/Gann/GannRectangleManager.d.ts +0 -56
  185. package/dist/components/CandleView/MarkManager/Line/ArrowLineMarkManager.d.ts +0 -52
  186. package/dist/components/CandleView/MarkManager/Line/AxisLineMarkManager.d.ts +0 -56
  187. package/dist/components/CandleView/MarkManager/Line/LineSegmentMarkManager.d.ts +0 -52
  188. package/dist/components/CandleView/MarkManager/Line/ThickArrowLineMarkManager.d.ts +0 -52
  189. package/dist/components/CandleView/MarkManager/Map/HeatMapMarkManager.d.ts +0 -64
  190. package/dist/components/CandleView/MarkManager/Mock/MockKLineMarkManager.d.ts +0 -52
  191. package/dist/components/CandleView/MarkManager/Pattern/ABCDMarkManager.d.ts +0 -53
  192. package/dist/components/CandleView/MarkManager/Pattern/HeadAndShouldersMarkManager.d.ts +0 -53
  193. package/dist/components/CandleView/MarkManager/Pattern/TriangleABCDMarkManager.d.ts +0 -54
  194. package/dist/components/CandleView/MarkManager/Pattern/XABCDMarkManager.d.ts +0 -53
  195. package/dist/components/CandleView/MarkManager/Pen/BrushMarkManager.d.ts +0 -55
  196. package/dist/components/CandleView/MarkManager/Pen/EraserMarkManager.d.ts +0 -51
  197. package/dist/components/CandleView/MarkManager/Pen/MarkerPenMarkManager.d.ts +0 -55
  198. package/dist/components/CandleView/MarkManager/Pen/PenMarkManager.d.ts +0 -55
  199. package/dist/components/CandleView/MarkManager/Pen/PencilMarkManager.d.ts +0 -54
  200. package/dist/components/CandleView/MarkManager/Range/LongPositionMarkManager.d.ts +0 -63
  201. package/dist/components/CandleView/MarkManager/Range/PriceRangeMarkManager.d.ts +0 -63
  202. package/dist/components/CandleView/MarkManager/Range/ShortPositionMarkManager.d.ts +0 -63
  203. package/dist/components/CandleView/MarkManager/Range/TimePriceRangeMarkManager.d.ts +0 -63
  204. package/dist/components/CandleView/MarkManager/Range/TimeRangeMarkManager.d.ts +0 -63
  205. package/dist/components/CandleView/MarkManager/Shape/CircleMarkManager.d.ts +0 -53
  206. package/dist/components/CandleView/MarkManager/Shape/CurveMarkManager.d.ts +0 -53
  207. package/dist/components/CandleView/MarkManager/Shape/DoubleCurveMarkManager.d.ts +0 -54
  208. package/dist/components/CandleView/MarkManager/Shape/EllipseMarkManager.d.ts +0 -55
  209. package/dist/components/CandleView/MarkManager/Shape/RectangleMarkManager.d.ts +0 -51
  210. package/dist/components/CandleView/MarkManager/Shape/SectorMarkManager.d.ts +0 -53
  211. package/dist/components/CandleView/MarkManager/Shape/TriangleMarkManager.d.ts +0 -53
  212. package/dist/components/CandleView/MarkManager/StaticMarkManager.d.ts +0 -46
  213. package/dist/components/CandleView/MarkManager/Text/BubbleBoxMarkManager.d.ts +0 -61
  214. package/dist/components/CandleView/MarkManager/Text/EmojiMarkManager.d.ts +0 -52
  215. package/dist/components/CandleView/MarkManager/Text/FlagMarkManager.d.ts +0 -51
  216. package/dist/components/CandleView/MarkManager/Text/PinMarkManager.d.ts +0 -56
  217. package/dist/components/CandleView/MarkManager/Text/PriceLabelMarkManager.d.ts +0 -51
  218. package/dist/components/CandleView/MarkManager/Text/PriceNoteMarkManager.d.ts +0 -53
  219. package/dist/components/CandleView/MarkManager/Text/SignPostMarkManager.d.ts +0 -55
  220. package/dist/components/CandleView/MarkManager/Text/TextEditMarkManager.d.ts +0 -61
  221. package/dist/components/CandleView/Theme.d.ts +0 -59
  222. package/dist/components/CandleView/TopPanel/Config.d.ts +0 -23
  223. package/dist/components/CandleView/TopPanel/IndicatorProcessing.d.ts +0 -4
  224. package/dist/components/CandleView/TopPanel/index.d.ts +0 -104
  225. package/dist/components/CandleView/ViewportManager.d.ts +0 -53
  226. package/dist/components/CandleView/index.d.ts +0 -2
  227. package/dist/components/CandleView/tools.d.ts +0 -7
  228. package/dist/components/CandleView/types.d.ts +0 -200
  229. package/dist/index.test.d.ts +0 -1
  230. /package/dist/{candleview.js → index.js} +0 -0
  231. /package/dist/{candleview.mjs → index.mjs} +0 -0
@@ -1,24 +0,0 @@
1
- import { IChartApi } from 'lightweight-charts';
2
- import { ICandleViewDataPoint } from '../../types';
3
- import { BaseIndicator } from './BaseIndicator';
4
- import { MainChartIndicatorInfo } from './MainChartIndicatorInfo';
5
- export declare class EMAIndicator extends BaseIndicator {
6
- private config;
7
- static calculate(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): any[];
8
- calculate(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): any[];
9
- addSeries(chart: IChartApi, data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
10
- updateSeriesStyle(seriesId: string, style: {
11
- color?: string;
12
- lineWidth?: number;
13
- visible?: boolean;
14
- }): boolean;
15
- updateParams(mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
16
- getYAxisValuesAtMouseX(mouseX: number, chart: IChartApi): {
17
- [key: string]: number;
18
- } | null;
19
- private getLastValidEMAValue;
20
- getConfig(): {
21
- periods: number[];
22
- };
23
- updateData(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
24
- }
@@ -1,52 +0,0 @@
1
- import { IChartApi } from 'lightweight-charts';
2
- import { ICandleViewDataPoint } from '../../types';
3
- import { BaseIndicator } from './BaseIndicator';
4
- import { MainChartIndicatorInfo } from './MainChartIndicatorInfo';
5
- export declare class EnvelopeIndicator extends BaseIndicator {
6
- private config;
7
- private _chart;
8
- private _renderer;
9
- private _indicatorData;
10
- private _isAttached;
11
- private _upperSeries;
12
- private _middleSeries;
13
- private _lowerSeries;
14
- private _lineWidth;
15
- private _timeScale;
16
- private _mainChartIndicatorInfoMap;
17
- hideSeries(): void;
18
- showSeries(): void;
19
- isVisible(): boolean;
20
- removeSeries(chart: IChartApi, seriesId: string): boolean;
21
- removeAllSeries(chart: IChartApi): void;
22
- static calculate(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): any[];
23
- calculate(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): any[];
24
- addSeries(chart: IChartApi, data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
25
- private attachEnvelopeRenderer;
26
- attached(param: any): void;
27
- updateAllViews(): void;
28
- time(): any;
29
- priceValue(): any;
30
- paneViews(): {
31
- renderer: () => any;
32
- }[];
33
- private drawEnvelopeFill;
34
- private getParamColor;
35
- private hexToRgba;
36
- updateSeriesStyle(seriesId: string, style: {
37
- color?: string;
38
- lineWidth?: number;
39
- visible?: boolean;
40
- }): boolean;
41
- updateParams(mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
42
- updateData(data: ICandleViewDataPoint[], mainChartIndicatorInfo: MainChartIndicatorInfo): boolean;
43
- getYAxisValuesAtMouseX(mouseX: number, chart: IChartApi): {
44
- [key: string]: number;
45
- } | null;
46
- getConfig(): {
47
- period: number;
48
- percentage: number;
49
- };
50
- private requestUpdate;
51
- destroy(): void;
52
- }
@@ -1,58 +0,0 @@
1
- import { IChartApi } from 'lightweight-charts';
2
- import { ICandleViewDataPoint } from '../../types';
3
- import { BaseIndicator } from './BaseIndicator';
4
- import { MainChartIndicatorInfo } from './MainChartIndicatorInfo';
5
- export declare class IchimokuIndicator extends BaseIndicator {
6
- private config;
7
- private _chart;
8
- private _renderer;
9
- private _indicatorData;
10
- private _isAttached;
11
- private _timeScale;
12
- private _mainChartIndicatorInfoMap;
13
- private _tenkanSeries;
14
- private _kijunSeries;
15
- private _chikouSeries;
16
- private _senkouASeries;
17
- private _senkouBSeries;
18
- private _lineWidth;
19
- hideSeries(): void;
20
- showSeries(): void;
21
- isVisible(): boolean;
22
- removeSeries(chart: IChartApi, seriesId: string): boolean;
23
- static calculate(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): any[];
24
- calculate(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): any[];
25
- addSeries(chart: IChartApi, data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
26
- private createSeries;
27
- private updateSeriesData;
28
- private attachCloudRenderer;
29
- attached(param: any): void;
30
- updateAllViews(): void;
31
- time(): any;
32
- priceValue(): any;
33
- paneViews(): {
34
- renderer: () => any;
35
- }[];
36
- private drawCloudFill;
37
- private getParamColor;
38
- private hexToRgba;
39
- updateSeriesStyle(seriesId: string, style: {
40
- color?: string;
41
- lineWidth?: number;
42
- visible?: boolean;
43
- }): boolean;
44
- updateParams(mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
45
- updateData(data: ICandleViewDataPoint[], mainChartIndicatorInfo: MainChartIndicatorInfo): boolean;
46
- getYAxisValuesAtMouseX(mouseX: number, chart: IChartApi): {
47
- [key: string]: number;
48
- } | null;
49
- private getLineTitle;
50
- getConfig(): {
51
- conversionPeriod: number;
52
- basePeriod: number;
53
- leadingSpanPeriod: number;
54
- laggingSpanPeriod: number;
55
- };
56
- private requestUpdate;
57
- destroy(): void;
58
- }
@@ -1,24 +0,0 @@
1
- import { IChartApi } from 'lightweight-charts';
2
- import { ICandleViewDataPoint } from '../../types';
3
- import { BaseIndicator } from './BaseIndicator';
4
- import { MainChartIndicatorInfo } from './MainChartIndicatorInfo';
5
- export declare class MAIndicator extends BaseIndicator {
6
- private config;
7
- static calculate(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): any[];
8
- calculate(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): any[];
9
- addSeries(chart: IChartApi, data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
10
- updateSeriesStyle(seriesId: string, style: {
11
- color?: string;
12
- lineWidth?: number;
13
- visible?: boolean;
14
- }): boolean;
15
- updateParams(mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
16
- getYAxisValuesAtMouseX(mouseX: number, chart: IChartApi): {
17
- [key: string]: number;
18
- } | null;
19
- private getLastValidMAValue;
20
- getConfig(): {
21
- periods: number[];
22
- };
23
- updateData(data: ICandleViewDataPoint[], mainChartIndicatorInfo: MainChartIndicatorInfo): boolean;
24
- }
@@ -1,24 +0,0 @@
1
- import { MainChartIndicatorType } from '../../types';
2
- export interface MainChartIndicatorInfo {
3
- id: string;
4
- type: MainChartIndicatorType | null;
5
- params: MainChartIndicatorParam[] | null;
6
- nonce: number | null;
7
- }
8
- export interface MainChartIndicatorParam {
9
- lineColor: string;
10
- lineWidth: number;
11
- paramName: string;
12
- paramValue: number;
13
- }
14
- export declare function getMainChartIndicatorInfoParamValue(mainChartIndicatorInfo: MainChartIndicatorInfo, paramName: string): number;
15
- export declare const DEFAULT_MA: MainChartIndicatorInfo;
16
- export declare const DEFAULT_EMA: MainChartIndicatorInfo;
17
- export declare const DEFAULT_BOLLINGER: MainChartIndicatorInfo;
18
- export declare const DEFAULT_ICHIMOKU: MainChartIndicatorInfo;
19
- export declare const DEFAULT_DONCHIAN: MainChartIndicatorInfo;
20
- export declare const DEFAULT_ENVELOPE: MainChartIndicatorInfo;
21
- export declare const DEFAULT_VWAP: MainChartIndicatorInfo;
22
- export declare const DEFAULT_HEATMAP: MainChartIndicatorInfo;
23
- export declare const DEFAULT_MARKETPROFILE: MainChartIndicatorInfo;
24
- export declare function getDefaultMainChartIndicators(): MainChartIndicatorInfo[];
@@ -1,28 +0,0 @@
1
- import { IChartApi, ISeriesApi } from 'lightweight-charts';
2
- import { ICandleViewDataPoint, MainChartIndicatorType } from '../../types';
3
- import { ChartLayer } from '../../ChartLayer';
4
- import { MainChartIndicatorInfo } from './MainChartIndicatorInfo';
5
- export declare class MainChartTechnicalIndicatorManager {
6
- private theme;
7
- private indicators;
8
- constructor(theme: any);
9
- private initializeIndicators;
10
- addIndicator(chart: IChartApi, mainChartIndicatorType: MainChartIndicatorType, data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
11
- removeIndicator(chart: IChartApi, mainChartIndicatorType: MainChartIndicatorType): boolean;
12
- removeAllIndicators(chart: IChartApi): void;
13
- updateAllMainChartIndicatorData(chartLayer: ChartLayer, mainChartIndicatorInfo: MainChartIndicatorInfo): boolean;
14
- updateMainChartIndicatorData(mainChartIndicatorType: MainChartIndicatorType, data: ICandleViewDataPoint[], mainChartIndicatorInfo: MainChartIndicatorInfo): boolean;
15
- updateMainChartIndicator: (chartLayer: ChartLayer, updatedIndicator: MainChartIndicatorInfo) => void;
16
- updateIndicatorStyle(mainChartIndicatorType: MainChartIndicatorType, seriesId: string, style: {
17
- color?: string;
18
- lineWidth?: number;
19
- visible?: boolean;
20
- }): boolean;
21
- updateIndicatorParams(mainChartIndicatorType: MainChartIndicatorType, mainChartIndicatorInfo: MainChartIndicatorInfo): boolean;
22
- hideIndicator(mainChartIndicatorType: MainChartIndicatorType): boolean;
23
- showIndicator(mainChartIndicatorType: MainChartIndicatorType): boolean;
24
- getIndicatorSeries(mainChartIndicatorType: MainChartIndicatorType): ISeriesApi<any>[];
25
- getActiveIndicators(): string[];
26
- getYAxisValuesAtMouseX(mainChartIndicatorType: MainChartIndicatorType, mouseX: number, chart: IChartApi): any;
27
- isVisible(mainChartIndicatorType: MainChartIndicatorType): boolean;
28
- }
@@ -1,26 +0,0 @@
1
- import { IChartApi } from 'lightweight-charts';
2
- import { ICandleViewDataPoint } from '../../types';
3
- import { BaseIndicator } from './BaseIndicator';
4
- import { MainChartIndicatorInfo } from './MainChartIndicatorInfo';
5
- export declare class VWAPIndicator extends BaseIndicator {
6
- private config;
7
- static calculate(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): any[];
8
- calculate(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): any[];
9
- addSeries(chart: IChartApi, data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
10
- updateSeriesStyle(seriesId: string, style: {
11
- color?: string;
12
- lineWidth?: number;
13
- visible?: boolean;
14
- }): boolean;
15
- updateParams(mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
16
- getYAxisValuesAtMouseX(mouseX: number, chart: IChartApi): {
17
- [key: string]: number;
18
- } | null;
19
- private getLastValidValue;
20
- getConfig(): {
21
- color: string;
22
- lineWidth: number;
23
- };
24
- updateData(data: ICandleViewDataPoint[], mainChartIndicatorInfo?: MainChartIndicatorInfo): boolean;
25
- getFormattedValue(value: number, decimals?: number): string;
26
- }
@@ -1,6 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- import { IIndicator, IIndicatorInfo } from './IIndicator';
3
- export declare class ADXIndicator implements IIndicator {
4
- private calculateADX;
5
- calculate(iIIndicatorInfos: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
6
- }
@@ -1,6 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- import { IIndicator, IIndicatorInfo } from './IIndicator';
3
- export declare class ATRIndicator implements IIndicator {
4
- private calculateATR;
5
- calculate(iIIndicatorInfos: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
6
- }
@@ -1,6 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- import { IIndicator, IIndicatorInfo } from './IIndicator';
3
- export declare class BBWidthIndicator implements IIndicator {
4
- private calculateBBWidth;
5
- calculate(iIIndicatorInfos: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
6
- }
@@ -1,6 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- import { IIndicator, IIndicatorInfo } from './IIndicator';
3
- export declare class CCIIndicator implements IIndicator {
4
- private calculateCCI;
5
- calculate(iIIndicatorInfos: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
6
- }
@@ -1,15 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- export interface IIndicatorInfo {
3
- paramName: string;
4
- paramValue: number;
5
- lineColor: string;
6
- lineWidth: number;
7
- data: IIndicatorData[];
8
- }
9
- export interface IIndicatorData {
10
- time: any;
11
- value: number;
12
- }
13
- export interface IIndicator {
14
- calculate(iIIndicatorInfo: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
15
- }
@@ -1,6 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- import { IIndicator, IIndicatorInfo } from './IIndicator';
3
- export declare class KDJIndicator implements IIndicator {
4
- private calculateKDJ;
5
- calculate(iIIndicatorInfos: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
6
- }
@@ -1,6 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- import { IIndicator, IIndicatorInfo } from './IIndicator';
3
- export declare class MACDIndicator implements IIndicator {
4
- private calculateMACD;
5
- calculate(iIIndicatorInfos: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
6
- }
@@ -1,6 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- import { IIndicator, IIndicatorInfo } from './IIndicator';
3
- export declare class OBVIndicator implements IIndicator {
4
- private calculateOBV;
5
- calculate(iIIndicatorInfos: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
6
- }
@@ -1,6 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- import { IIndicator, IIndicatorInfo } from './IIndicator';
3
- export declare class RSIIndicator implements IIndicator {
4
- private calculateRSI;
5
- calculate(iIIndicatorInfos: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
6
- }
@@ -1,6 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- import { IIndicator, IIndicatorInfo } from './IIndicator';
3
- export declare class SARIndicator implements IIndicator {
4
- private calculateSAR;
5
- calculate(iIIndicatorInfos: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
6
- }
@@ -1,25 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- import { IIndicator, IIndicatorInfo, IIndicatorData } from './IIndicator';
3
- export interface StochasticDataPoint extends IIndicatorData {
4
- color?: string;
5
- }
6
- export interface StochasticIndicatorParam {
7
- paramName: string;
8
- kPeriod: number;
9
- dPeriod: number;
10
- smooth: number;
11
- kLineColor: string;
12
- dLineColor: string;
13
- lineWidth: number;
14
- }
15
- export interface StochasticResult {
16
- k: StochasticDataPoint[];
17
- d: StochasticDataPoint[];
18
- }
19
- export declare class StochasticIndicator implements IIndicator {
20
- private calculateStochastic;
21
- calculate(indicatorInfos: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
22
- calculateMultiple(params: StochasticIndicatorParam[], ohlcData: ICandleViewDataPoint[]): {
23
- [key: string]: StochasticResult;
24
- };
25
- }
@@ -1,11 +0,0 @@
1
- import { ICandleViewDataPoint } from '../../types';
2
- import { IIndicator, IIndicatorInfo } from './IIndicator';
3
- export interface VolumeData {
4
- time: any;
5
- value: number;
6
- color: string;
7
- }
8
- export declare class VolumeIndicator implements IIndicator {
9
- private calculateVolume;
10
- calculate(iIIndicatorInfos: IIndicatorInfo[], ohlcData: ICandleViewDataPoint[]): IIndicatorInfo[];
11
- }
@@ -1,64 +0,0 @@
1
- import { I18n } from '../I18n';
2
- export interface ToolConfig {
3
- cursorStyles: Array<{
4
- id: string;
5
- name: string;
6
- description: string;
7
- icon: React.ComponentType<any>;
8
- }>;
9
- penTools: Array<{
10
- title: string;
11
- tools: Array<{
12
- id: string;
13
- name: string;
14
- description: string;
15
- icon: React.ComponentType<any>;
16
- }>;
17
- }>;
18
- drawingTools: Array<{
19
- title: string;
20
- tools: Array<{
21
- id: string;
22
- name: string;
23
- description: string;
24
- icon: React.ComponentType<any>;
25
- }>;
26
- }>;
27
- gannAndFibonacciTools: Array<{
28
- title: string;
29
- tools: Array<{
30
- id: string;
31
- name: string;
32
- description: string;
33
- icon: React.ComponentType<any>;
34
- }>;
35
- }>;
36
- irregularShapeTools: Array<{
37
- title: string;
38
- tools: Array<{
39
- id: string;
40
- name: string;
41
- description: string;
42
- icon: React.ComponentType<any>;
43
- }>;
44
- }>;
45
- projectInfoTools: Array<{
46
- title: string;
47
- tools: Array<{
48
- id: string;
49
- name: string;
50
- description: string;
51
- icon: React.ComponentType<any>;
52
- }>;
53
- }>;
54
- textTools: Array<{
55
- title: string;
56
- tools: Array<{
57
- id: string;
58
- name: string;
59
- description: string;
60
- icon: React.ComponentType<any>;
61
- }>;
62
- }>;
63
- }
64
- export declare const getToolConfig: (i18n: I18n) => ToolConfig;
@@ -1,21 +0,0 @@
1
- export interface EmojiCategory {
2
- id: string;
3
- name: string;
4
- getName?: (i18n: any) => string;
5
- }
6
- export interface EmojiItem {
7
- character: string;
8
- name: string;
9
- category: string;
10
- getName?: (i18n: any) => string;
11
- }
12
- export declare const getEmojiCategories: (i18n?: any) => EmojiCategory[];
13
- export declare const getLocalizedEmojiList: (i18n?: any) => EmojiItem[];
14
- export declare const EMOJI_CATEGORIES: EmojiCategory[];
15
- export declare const EMOJI_LIST: EmojiItem[];
16
- export interface EmojiProperties {
17
- emoji: string;
18
- fontSize: number;
19
- id: string;
20
- }
21
- export declare const createDefaultEmojiProperties: () => EmojiProperties;
@@ -1,5 +0,0 @@
1
- import { default as CandleViewLeftPanel } from '.';
2
- export declare class ToolManager {
3
- constructor();
4
- handleDrawingToolSelect: (candleViewLeftPanel: CandleViewLeftPanel, toolId: string) => void;
5
- }
@@ -1,95 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ThemeConfig } from '../Theme';
3
- import { I18n } from '../I18n';
4
- interface CandleViewLeftPanelProps {
5
- currentTheme: ThemeConfig;
6
- activeTool: string | null;
7
- onToolSelect: (tool: string) => void;
8
- onTradeClick: () => void;
9
- showToolbar?: boolean;
10
- drawingLayerRef?: React.RefObject<any>;
11
- selectedEmoji?: string;
12
- onEmojiSelect?: (emoji: string) => void;
13
- i18n: I18n;
14
- candleViewContainerRef?: React.RefObject<HTMLDivElement | null>;
15
- }
16
- interface CandleViewLeftPanelState {
17
- isDrawingModalOpen: boolean;
18
- isEmojiSelectPopUpOpen: boolean;
19
- isBrushModalOpen: boolean;
20
- isRulerModalOpen: boolean;
21
- isCursorModalOpen: boolean;
22
- selectedEmoji: string;
23
- selectedEmojiCategory: string;
24
- selectedCursor: string;
25
- isFibonacciModalOpen: boolean;
26
- isGannModalOpen: boolean;
27
- isProjectInfoModalOpen: boolean;
28
- isIrregularShapeModalOpen: boolean;
29
- isTextToolModalOpen: boolean;
30
- lastSelectedTools: {
31
- drawing: string;
32
- brush: string;
33
- ruler: string;
34
- cursor: string;
35
- fibonacci: string;
36
- projectInfo: string;
37
- irregularShape: string;
38
- textTool: string;
39
- };
40
- arrowButtonStates: {
41
- [key: string]: boolean;
42
- };
43
- toolHoverStates: {
44
- [key: string]: boolean;
45
- };
46
- isSystemSettingsModalOpen: boolean;
47
- systemSettings: any;
48
- isMarkLocked: boolean;
49
- isMarkVisibility: boolean;
50
- }
51
- declare class CandleViewLeftPanel extends React.Component<CandleViewLeftPanelProps, CandleViewLeftPanelState> {
52
- private drawingModalRef;
53
- private emojiPickerRef;
54
- private cursorModalRef;
55
- private brushModalRef;
56
- private rulerModalRef;
57
- private fibonacciModalRef;
58
- private gannModalRef;
59
- private projectInfoModalRef;
60
- private irregularShapeModalRef;
61
- private toolManager;
62
- private functionPopUpWidth;
63
- private emojiSelectPopUpWidth;
64
- constructor(props: CandleViewLeftPanelProps);
65
- componentDidMount(): void;
66
- componentWillUnmount(): void;
67
- componentDidUpdate(prevProps: CandleViewLeftPanelProps): void;
68
- private getToolConfig;
69
- private handleToolAction;
70
- private handleDirectToolActivation;
71
- private handleClickOutside;
72
- private handleCursorStyleSelect;
73
- private handleEmojiSelect;
74
- private handleCategorySelect;
75
- private renderCursorModal;
76
- private renderCursorTools;
77
- private renderBrushModal;
78
- private renderTextToolModal;
79
- private renderEmojiSelectPopUp;
80
- private renderDrawingModal;
81
- private renderToolButton;
82
- private renderLineTools;
83
- private findToolInGroups;
84
- private renderFibonacciModal;
85
- private renderProjectInfoModal;
86
- private renderIrregularShapeModal;
87
- private renderTecGraphTools;
88
- private renderTrash;
89
- private renderMarkTools;
90
- private handleSystemSettingsClose;
91
- private handleSystemSettingsConfirm;
92
- private renderOtherTools;
93
- render(): import("react/jsx-runtime").JSX.Element | null;
94
- }
95
- export default CandleViewLeftPanel;
@@ -1,67 +0,0 @@
1
- import { MarkType } from '../../types';
2
- import { IGraph } from '../IGraph';
3
- import { IMarkStyle } from '../IMarkStyle';
4
- export declare class ArrowLineMark implements IGraph, IMarkStyle {
5
- private _chart;
6
- private _series;
7
- private _startTime;
8
- private _startPrice;
9
- private _endTime;
10
- private _endPrice;
11
- private _renderer;
12
- private _color;
13
- private _lineWidth;
14
- private _lineStyle;
15
- private _isPreview;
16
- private _isDragging;
17
- private _dragPoint;
18
- private _showHandles;
19
- private _arrowSize;
20
- private markType;
21
- constructor(startTime: number, startPrice: number, endTime: number, endPrice: number, color?: string, lineWidth?: number, isPreview?: boolean);
22
- updateFontSize(fontSize: unknown): void;
23
- getMarkType(): MarkType;
24
- attached(param: any): void;
25
- updateAllViews(): void;
26
- updateEndPoint(endTime: number, endPrice: number): void;
27
- updateStartPoint(startTime: number, startPrice: number): void;
28
- setPreviewMode(isPreview: boolean): void;
29
- setDragging(isDragging: boolean, dragPoint?: 'start' | 'end' | 'line' | null): void;
30
- setShowHandles(show: boolean): void;
31
- dragLineByPixels(deltaX: number, deltaY: number): void;
32
- dragLine(deltaTime: number, deltaPrice: number): void;
33
- isPointNearHandle(x: number, y: number, threshold?: number): 'start' | 'end' | null;
34
- private requestUpdate;
35
- time(): number;
36
- priceValue(): number;
37
- private drawArrowHead;
38
- paneViews(): {
39
- renderer: () => any;
40
- }[];
41
- getStartTime(): number;
42
- getStartPrice(): number;
43
- getEndTime(): number;
44
- getEndPrice(): number;
45
- updateColor(color: string): void;
46
- updateLineWidth(lineWidth: number): void;
47
- updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
48
- updateArrowSize(size: number): void;
49
- updateStyles(styles: {
50
- color?: string;
51
- lineWidth?: number;
52
- lineStyle?: 'solid' | 'dashed' | 'dotted';
53
- arrowSize?: number;
54
- [key: string]: any;
55
- }): void;
56
- getCurrentStyles(): Record<string, any>;
57
- getBounds(): {
58
- startX: any;
59
- startY: any;
60
- endX: any;
61
- endY: any;
62
- minX: number;
63
- maxX: number;
64
- minY: number;
65
- maxY: number;
66
- } | null;
67
- }