candleview 1.0.4 → 1.0.5

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 (229) hide show
  1. package/dist/components/CandleView/Camera.d.ts +16 -0
  2. package/dist/components/CandleView/CandleView.d.ts +149 -0
  3. package/dist/components/CandleView/ChartLayer/ChartEventManager.d.ts +47 -0
  4. package/dist/components/CandleView/ChartLayer/ChartInfo.d.ts +62 -0
  5. package/dist/components/CandleView/ChartLayer/ChartLayerMarkState.d.ts +281 -0
  6. package/dist/components/CandleView/ChartLayer/ChartManager.d.ts +11 -0
  7. package/dist/components/CandleView/ChartLayer/ChartMarkManager.d.ts +203 -0
  8. package/dist/components/CandleView/ChartLayer/ChartMarkTextEditManager.d.ts +16 -0
  9. package/dist/components/CandleView/ChartLayer/ChartTypeManager.d.ts +17 -0
  10. package/dist/components/CandleView/ChartLayer/MainChart/Area.d.ts +13 -0
  11. package/dist/components/CandleView/ChartLayer/MainChart/Bar.d.ts +13 -0
  12. package/dist/components/CandleView/ChartLayer/MainChart/BaseLine.d.ts +12 -0
  13. package/dist/components/CandleView/ChartLayer/MainChart/BaselineArea.d.ts +12 -0
  14. package/dist/components/CandleView/ChartLayer/MainChart/Candlestick.d.ts +12 -0
  15. package/dist/components/CandleView/ChartLayer/MainChart/HLCArea.d.ts +35 -0
  16. package/dist/components/CandleView/ChartLayer/MainChart/HeikinAshi.d.ts +12 -0
  17. package/dist/components/CandleView/ChartLayer/MainChart/HighLow.d.ts +12 -0
  18. package/dist/components/CandleView/ChartLayer/MainChart/Histogram.d.ts +13 -0
  19. package/dist/components/CandleView/ChartLayer/MainChart/HollowCandle.d.ts +13 -0
  20. package/dist/components/CandleView/ChartLayer/MainChart/IMainChart.d.ts +7 -0
  21. package/dist/components/CandleView/ChartLayer/MainChart/Line.d.ts +13 -0
  22. package/dist/components/CandleView/ChartLayer/MainChart/LineBreak.d.ts +15 -0
  23. package/dist/components/CandleView/ChartLayer/MainChart/MainChartManager.d.ts +17 -0
  24. package/dist/components/CandleView/ChartLayer/MainChart/MarketProfile.d.ts +52 -0
  25. package/dist/components/CandleView/ChartLayer/MainChart/Mountain.d.ts +12 -0
  26. package/dist/components/CandleView/ChartLayer/MainChart/StepLine.d.ts +12 -0
  27. package/dist/components/CandleView/ChartLayer/MainChart/Volume.d.ts +6 -0
  28. package/dist/components/CandleView/ChartLayer/MainChart/VolumeHeatMap.d.ts +41 -0
  29. package/dist/components/CandleView/ChartLayer/Modal/ImageUploadModal.d.ts +10 -0
  30. package/dist/components/CandleView/ChartLayer/Modal/MainChartIndicatorsSettingModal.d.ts +17 -0
  31. package/dist/components/CandleView/ChartLayer/Modal/SubChartIndicatorsSettingModal.d.ts +17 -0
  32. package/dist/components/CandleView/ChartLayer/Modal/TextMarkEditorModal.d.ts +21 -0
  33. package/dist/components/CandleView/ChartLayer/Panes/BaseChartPane.d.ts +41 -0
  34. package/dist/components/CandleView/ChartLayer/Panes/ChartPaneFactory.d.ts +6 -0
  35. package/dist/components/CandleView/ChartLayer/Panes/ChartPanesManager.d.ts +31 -0
  36. package/dist/components/CandleView/ChartLayer/Panes/IChartPanes.d.ts +42 -0
  37. package/dist/components/CandleView/ChartLayer/SubChart/ADX.d.ts +25 -0
  38. package/dist/components/CandleView/ChartLayer/SubChart/ATR.d.ts +25 -0
  39. package/dist/components/CandleView/ChartLayer/SubChart/BBWidth.d.ts +26 -0
  40. package/dist/components/CandleView/ChartLayer/SubChart/CCI.d.ts +25 -0
  41. package/dist/components/CandleView/ChartLayer/SubChart/KDJ.d.ts +23 -0
  42. package/dist/components/CandleView/ChartLayer/SubChart/MACD.d.ts +23 -0
  43. package/dist/components/CandleView/ChartLayer/SubChart/OBV.d.ts +24 -0
  44. package/dist/components/CandleView/ChartLayer/SubChart/RSI.d.ts +25 -0
  45. package/dist/components/CandleView/ChartLayer/SubChart/SAR.d.ts +23 -0
  46. package/dist/components/CandleView/ChartLayer/SubChart/Stochastic.d.ts +23 -0
  47. package/dist/components/CandleView/ChartLayer/SubChart/Volume.d.ts +24 -0
  48. package/dist/components/CandleView/ChartLayer/ToolBar/GraphMarkToolBar.d.ts +51 -0
  49. package/dist/components/CandleView/ChartLayer/ToolBar/TextMarkToolBar.d.ts +65 -0
  50. package/dist/components/CandleView/ChartLayer/index.d.ts +290 -0
  51. package/dist/components/CandleView/DataAdapter.d.ts +28 -0
  52. package/dist/components/CandleView/DataLoader.d.ts +15 -0
  53. package/dist/components/CandleView/DataManager.d.ts +23 -0
  54. package/dist/components/CandleView/DataPointManager.d.ts +45 -0
  55. package/dist/components/CandleView/I18n.d.ts +418 -0
  56. package/dist/components/CandleView/Icons.d.ts +161 -0
  57. package/dist/components/CandleView/Indicators/MainChart/BaseIndicator.d.ts +26 -0
  58. package/dist/components/CandleView/Indicators/MainChart/BollingerBandsIndicator.d.ts +51 -0
  59. package/dist/components/CandleView/Indicators/MainChart/DonchianChannelIndicator.d.ts +24 -0
  60. package/dist/components/CandleView/Indicators/MainChart/EMAIndicator.d.ts +24 -0
  61. package/dist/components/CandleView/Indicators/MainChart/EnvelopeIndicator.d.ts +52 -0
  62. package/dist/components/CandleView/Indicators/MainChart/IchimokuIndicator.d.ts +58 -0
  63. package/dist/components/CandleView/Indicators/MainChart/MAIndicator.d.ts +24 -0
  64. package/dist/components/CandleView/Indicators/MainChart/MainChartIndicatorInfo.d.ts +24 -0
  65. package/dist/components/CandleView/Indicators/MainChart/MainChartIndicatorManager.d.ts +28 -0
  66. package/dist/components/CandleView/Indicators/MainChart/VWAPIndicator.d.ts +26 -0
  67. package/dist/components/CandleView/Indicators/SubChart/ADXIndicator.d.ts +6 -0
  68. package/dist/components/CandleView/Indicators/SubChart/ATRIndicator.d.ts +6 -0
  69. package/dist/components/CandleView/Indicators/SubChart/BBWidthIndicator.d.ts +6 -0
  70. package/dist/components/CandleView/Indicators/SubChart/CCIIndicator.d.ts +6 -0
  71. package/dist/components/CandleView/Indicators/SubChart/IIndicator.d.ts +15 -0
  72. package/dist/components/CandleView/Indicators/SubChart/KDJIndicator.d.ts +6 -0
  73. package/dist/components/CandleView/Indicators/SubChart/MACDIndicator.d.ts +6 -0
  74. package/dist/components/CandleView/Indicators/SubChart/OBVIndicator.d.ts +6 -0
  75. package/dist/components/CandleView/Indicators/SubChart/RSIIndicator.d.ts +6 -0
  76. package/dist/components/CandleView/Indicators/SubChart/SARIndicator.d.ts +6 -0
  77. package/dist/components/CandleView/Indicators/SubChart/StochasticIndicator.d.ts +25 -0
  78. package/dist/components/CandleView/Indicators/SubChart/VolumeIndicator.d.ts +11 -0
  79. package/dist/components/CandleView/LeftPanel/Config.d.ts +64 -0
  80. package/dist/components/CandleView/LeftPanel/EmojiConfig.d.ts +21 -0
  81. package/dist/components/CandleView/LeftPanel/ToolManager.d.ts +5 -0
  82. package/dist/components/CandleView/LeftPanel/index.d.ts +95 -0
  83. package/dist/components/CandleView/Mark/Arrow/ArrowLineMark.d.ts +67 -0
  84. package/dist/components/CandleView/Mark/Arrow/ThickArrowLineMark.d.ts +73 -0
  85. package/dist/components/CandleView/Mark/Channel/DisjointChannelMark.d.ts +74 -0
  86. package/dist/components/CandleView/Mark/Channel/EquidistantChannelMark.d.ts +67 -0
  87. package/dist/components/CandleView/Mark/Channel/LinearRegressionChannelMark.d.ts +70 -0
  88. package/dist/components/CandleView/Mark/Channel/ParallelChannelMark.d.ts +67 -0
  89. package/dist/components/CandleView/Mark/Content/ImageMark.d.ts +75 -0
  90. package/dist/components/CandleView/Mark/Fibonacci/FibonacciArcMark.d.ts +88 -0
  91. package/dist/components/CandleView/Mark/Fibonacci/FibonacciChannelMark.d.ts +80 -0
  92. package/dist/components/CandleView/Mark/Fibonacci/FibonacciCircleMark.d.ts +81 -0
  93. package/dist/components/CandleView/Mark/Fibonacci/FibonacciExtensionBasePriceMark.d.ts +89 -0
  94. package/dist/components/CandleView/Mark/Fibonacci/FibonacciExtensionBaseTimeMark.d.ts +89 -0
  95. package/dist/components/CandleView/Mark/Fibonacci/FibonacciFanMark.d.ts +91 -0
  96. package/dist/components/CandleView/Mark/Fibonacci/FibonacciRetracementMark.d.ts +81 -0
  97. package/dist/components/CandleView/Mark/Fibonacci/FibonacciSpiralMark.d.ts +95 -0
  98. package/dist/components/CandleView/Mark/Fibonacci/FibonacciTimeZoonMark.d.ts +71 -0
  99. package/dist/components/CandleView/Mark/Fibonacci/FibonacciWedgeMark.d.ts +97 -0
  100. package/dist/components/CandleView/Mark/Fork/AndrewPitchforkMark.d.ts +77 -0
  101. package/dist/components/CandleView/Mark/Fork/EnhancedAndrewPitchforkMark.d.ts +78 -0
  102. package/dist/components/CandleView/Mark/Fork/SchiffPitchforkMark.d.ts +86 -0
  103. package/dist/components/CandleView/Mark/Gann/GannBoxMark.d.ts +100 -0
  104. package/dist/components/CandleView/Mark/Gann/GannFanMark.d.ts +90 -0
  105. package/dist/components/CandleView/Mark/Gann/GannRectangleMark.d.ts +106 -0
  106. package/dist/components/CandleView/Mark/IDeletableMark.d.ts +5 -0
  107. package/dist/components/CandleView/Mark/IGraph.d.ts +7 -0
  108. package/dist/components/CandleView/Mark/IMarkManager.d.ts +11 -0
  109. package/dist/components/CandleView/Mark/IMarkStyle.d.ts +6 -0
  110. package/dist/components/CandleView/Mark/Line/HorizontalLineMark.d.ts +51 -0
  111. package/dist/components/CandleView/Mark/Line/LineSegmentMark.d.ts +62 -0
  112. package/dist/components/CandleView/Mark/Line/VerticalLineMark.d.ts +51 -0
  113. package/dist/components/CandleView/Mark/Map/HeatMapMark.d.ts +75 -0
  114. package/dist/components/CandleView/Mark/Mock/MockKLineMark.d.ts +70 -0
  115. package/dist/components/CandleView/Mark/Pattern/ABCDMark.d.ts +57 -0
  116. package/dist/components/CandleView/Mark/Pattern/ElliottCorrectiveMark.d.ts +59 -0
  117. package/dist/components/CandleView/Mark/Pattern/ElliottDoubleCombinationMark.d.ts +59 -0
  118. package/dist/components/CandleView/Mark/Pattern/ElliottImpulseMark.d.ts +59 -0
  119. package/dist/components/CandleView/Mark/Pattern/ElliottTriangleMark.d.ts +59 -0
  120. package/dist/components/CandleView/Mark/Pattern/ElliottTripleCombinationMark.d.ts +59 -0
  121. package/dist/components/CandleView/Mark/Pattern/HeadAndShouldersMark.d.ts +63 -0
  122. package/dist/components/CandleView/Mark/Pattern/TriangleABCDMark.d.ts +66 -0
  123. package/dist/components/CandleView/Mark/Pattern/XABCDMark.d.ts +58 -0
  124. package/dist/components/CandleView/Mark/Pen/BrushMark.d.ts +67 -0
  125. package/dist/components/CandleView/Mark/Pen/EraserMark.d.ts +51 -0
  126. package/dist/components/CandleView/Mark/Pen/MarkerPenMark.d.ts +62 -0
  127. package/dist/components/CandleView/Mark/Pen/PenMark.d.ts +62 -0
  128. package/dist/components/CandleView/Mark/Pen/PencilMark.d.ts +62 -0
  129. package/dist/components/CandleView/Mark/Range/LongPositionMark.d.ts +79 -0
  130. package/dist/components/CandleView/Mark/Range/PriceRangeMark.d.ts +71 -0
  131. package/dist/components/CandleView/Mark/Range/ShortPositionMark.d.ts +79 -0
  132. package/dist/components/CandleView/Mark/Range/TimePriceRangeMark.d.ts +74 -0
  133. package/dist/components/CandleView/Mark/Range/TimeRangeMark.d.ts +71 -0
  134. package/dist/components/CandleView/Mark/Shape/CircleMark.d.ts +78 -0
  135. package/dist/components/CandleView/Mark/Shape/CurveMark.d.ts +70 -0
  136. package/dist/components/CandleView/Mark/Shape/DoubleCurveMark.d.ts +75 -0
  137. package/dist/components/CandleView/Mark/Shape/EllipseMark.d.ts +85 -0
  138. package/dist/components/CandleView/Mark/Shape/RectangleMark.ts.d.ts +65 -0
  139. package/dist/components/CandleView/Mark/Shape/SectorMark.d.ts +83 -0
  140. package/dist/components/CandleView/Mark/Shape/TriangleMark.d.ts +91 -0
  141. package/dist/components/CandleView/Mark/Static/BottomArrowMark.d.ts +13 -0
  142. package/dist/components/CandleView/Mark/Static/BottomTextMark.d.ts +22 -0
  143. package/dist/components/CandleView/Mark/Static/MultiBottomArrowMark.d.ts +14 -0
  144. package/dist/components/CandleView/Mark/Static/MultiBottomTextMark.d.ts +36 -0
  145. package/dist/components/CandleView/Mark/Static/MultiTopArrowMark.d.ts +14 -0
  146. package/dist/components/CandleView/Mark/Static/MultiTopTextMark.d.ts +36 -0
  147. package/dist/components/CandleView/Mark/Static/TopArrowMark.d.ts +13 -0
  148. package/dist/components/CandleView/Mark/Static/TopTextMark.d.ts +22 -0
  149. package/dist/components/CandleView/Mark/Text/BubbleBoxMark.d.ts +126 -0
  150. package/dist/components/CandleView/Mark/Text/EmojiMark.d.ts +72 -0
  151. package/dist/components/CandleView/Mark/Text/FlagMark.d.ts +63 -0
  152. package/dist/components/CandleView/Mark/Text/PinMark.d.ts +110 -0
  153. package/dist/components/CandleView/Mark/Text/PriceLabelMark.d.ts +70 -0
  154. package/dist/components/CandleView/Mark/Text/PriceNoteMark.d.ts +87 -0
  155. package/dist/components/CandleView/Mark/Text/SignPostMark.d.ts +110 -0
  156. package/dist/components/CandleView/Mark/Text/TextEditMark.d.ts +105 -0
  157. package/dist/components/CandleView/MarkManager/Channel/DisjointChannelMarkManager.d.ts +67 -0
  158. package/dist/components/CandleView/MarkManager/Channel/EquidistantChannelMarkManager.d.ts +66 -0
  159. package/dist/components/CandleView/MarkManager/Channel/LinearRegressionChannelMarkManager.d.ts +63 -0
  160. package/dist/components/CandleView/MarkManager/Channel/ParallelChannelMarkManager.d.ts +66 -0
  161. package/dist/components/CandleView/MarkManager/Content/ImageMarkManager.d.ts +57 -0
  162. package/dist/components/CandleView/MarkManager/Elliott/ElliottCorrectiveMarkManager.d.ts +53 -0
  163. package/dist/components/CandleView/MarkManager/Elliott/ElliottDoubleCombinationMarkManager.d.ts +53 -0
  164. package/dist/components/CandleView/MarkManager/Elliott/ElliottImpulseMarkManager.d.ts +53 -0
  165. package/dist/components/CandleView/MarkManager/Elliott/ElliottTriangleMarkManager.d.ts +53 -0
  166. package/dist/components/CandleView/MarkManager/Elliott/ElliottTripleCombinationMarkManager.d.ts +53 -0
  167. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciArcMarkManager.d.ts +53 -0
  168. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciChannelMarkManager.d.ts +64 -0
  169. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciCircleMarkManager.d.ts +53 -0
  170. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciExtensionBasePriceMarkManager.d.ts +54 -0
  171. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciExtensionBaseTimeMarkManager.d.ts +54 -0
  172. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciFanMarkManager.d.ts +53 -0
  173. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciRetracementMarkManager.d.ts +54 -0
  174. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciSpiralMarkManager.d.ts +53 -0
  175. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciTimeZoonMarkManager.d.ts +53 -0
  176. package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciWedgeMarkManager.d.ts +56 -0
  177. package/dist/components/CandleView/MarkManager/Fork/AndrewPitchforkMarkManager.d.ts +71 -0
  178. package/dist/components/CandleView/MarkManager/Fork/EnhancedAndrewPitchforkMarkManager.d.ts +71 -0
  179. package/dist/components/CandleView/MarkManager/Fork/SchiffPitchforkMarkManager.d.ts +76 -0
  180. package/dist/components/CandleView/MarkManager/Gann/GannBoxMarkManager.d.ts +53 -0
  181. package/dist/components/CandleView/MarkManager/Gann/GannFanMarkManager.d.ts +53 -0
  182. package/dist/components/CandleView/MarkManager/Gann/GannRectangleManager.d.ts +56 -0
  183. package/dist/components/CandleView/MarkManager/Line/ArrowLineMarkManager.d.ts +52 -0
  184. package/dist/components/CandleView/MarkManager/Line/AxisLineMarkManager.d.ts +56 -0
  185. package/dist/components/CandleView/MarkManager/Line/LineSegmentMarkManager.d.ts +52 -0
  186. package/dist/components/CandleView/MarkManager/Line/ThickArrowLineMarkManager.d.ts +52 -0
  187. package/dist/components/CandleView/MarkManager/Map/HeatMapMarkManager.d.ts +64 -0
  188. package/dist/components/CandleView/MarkManager/Mock/MockKLineMarkManager.d.ts +52 -0
  189. package/dist/components/CandleView/MarkManager/Pattern/ABCDMarkManager.d.ts +53 -0
  190. package/dist/components/CandleView/MarkManager/Pattern/HeadAndShouldersMarkManager.d.ts +53 -0
  191. package/dist/components/CandleView/MarkManager/Pattern/TriangleABCDMarkManager.d.ts +54 -0
  192. package/dist/components/CandleView/MarkManager/Pattern/XABCDMarkManager.d.ts +53 -0
  193. package/dist/components/CandleView/MarkManager/Pen/BrushMarkManager.d.ts +55 -0
  194. package/dist/components/CandleView/MarkManager/Pen/EraserMarkManager.d.ts +51 -0
  195. package/dist/components/CandleView/MarkManager/Pen/MarkerPenMarkManager.d.ts +55 -0
  196. package/dist/components/CandleView/MarkManager/Pen/PenMarkManager.d.ts +55 -0
  197. package/dist/components/CandleView/MarkManager/Pen/PencilMarkManager.d.ts +54 -0
  198. package/dist/components/CandleView/MarkManager/Range/LongPositionMarkManager.d.ts +63 -0
  199. package/dist/components/CandleView/MarkManager/Range/PriceRangeMarkManager.d.ts +63 -0
  200. package/dist/components/CandleView/MarkManager/Range/ShortPositionMarkManager.d.ts +63 -0
  201. package/dist/components/CandleView/MarkManager/Range/TimePriceRangeMarkManager.d.ts +63 -0
  202. package/dist/components/CandleView/MarkManager/Range/TimeRangeMarkManager.d.ts +63 -0
  203. package/dist/components/CandleView/MarkManager/Shape/CircleMarkManager.d.ts +53 -0
  204. package/dist/components/CandleView/MarkManager/Shape/CurveMarkManager.d.ts +53 -0
  205. package/dist/components/CandleView/MarkManager/Shape/DoubleCurveMarkManager.d.ts +54 -0
  206. package/dist/components/CandleView/MarkManager/Shape/EllipseMarkManager.d.ts +55 -0
  207. package/dist/components/CandleView/MarkManager/Shape/RectangleMarkManager.d.ts +51 -0
  208. package/dist/components/CandleView/MarkManager/Shape/SectorMarkManager.d.ts +53 -0
  209. package/dist/components/CandleView/MarkManager/Shape/TriangleMarkManager.d.ts +53 -0
  210. package/dist/components/CandleView/MarkManager/StaticMarkManager.d.ts +46 -0
  211. package/dist/components/CandleView/MarkManager/Text/BubbleBoxMarkManager.d.ts +61 -0
  212. package/dist/components/CandleView/MarkManager/Text/EmojiMarkManager.d.ts +52 -0
  213. package/dist/components/CandleView/MarkManager/Text/FlagMarkManager.d.ts +51 -0
  214. package/dist/components/CandleView/MarkManager/Text/PinMarkManager.d.ts +56 -0
  215. package/dist/components/CandleView/MarkManager/Text/PriceLabelMarkManager.d.ts +51 -0
  216. package/dist/components/CandleView/MarkManager/Text/PriceNoteMarkManager.d.ts +53 -0
  217. package/dist/components/CandleView/MarkManager/Text/SignPostMarkManager.d.ts +55 -0
  218. package/dist/components/CandleView/MarkManager/Text/TextEditMarkManager.d.ts +61 -0
  219. package/dist/components/CandleView/Theme.d.ts +59 -0
  220. package/dist/components/CandleView/TopPanel/Config.d.ts +23 -0
  221. package/dist/components/CandleView/TopPanel/IndicatorProcessing.d.ts +4 -0
  222. package/dist/components/CandleView/TopPanel/index.d.ts +104 -0
  223. package/dist/components/CandleView/ViewportManager.d.ts +53 -0
  224. package/dist/components/CandleView/index.d.ts +2 -0
  225. package/dist/components/CandleView/tools.d.ts +7 -0
  226. package/dist/components/CandleView/types.d.ts +200 -0
  227. package/dist/index.d.ts +4 -0
  228. package/dist/index.test.d.ts +1 -0
  229. package/package.json +3 -2
@@ -0,0 +1,78 @@
1
+ import { MarkType } from '../../types';
2
+ import { IGraph } from '../IGraph';
3
+ import { IMarkStyle } from '../IMarkStyle';
4
+ export declare class EnhancedAndrewPitchforkMark implements IGraph, IMarkStyle {
5
+ private _chart;
6
+ private _series;
7
+ private _handleTime;
8
+ private _handlePrice;
9
+ private _baseStartTime;
10
+ private _baseStartPrice;
11
+ private _baseEndTime;
12
+ private _baseEndPrice;
13
+ private _renderer;
14
+ private _lineColor;
15
+ private _handleColor;
16
+ private _lineWidth;
17
+ private _lineStyle;
18
+ private _isPreview;
19
+ private _isDragging;
20
+ private _dragPoint;
21
+ private _showHandles;
22
+ private _backgroundOpacity;
23
+ private markType;
24
+ private _hoverPoint;
25
+ private _numberOfForks;
26
+ constructor(handleTime: number, handlePrice: number, baseStartTime: number, baseStartPrice: number, baseEndTime: number, baseEndPrice: number, lineColor?: string, handleColor?: string, lineWidth?: number, isPreview?: boolean);
27
+ getMarkType(): MarkType;
28
+ attached(param: any): void;
29
+ updateAllViews(): void;
30
+ updateHandlePoint(time: number, price: number): void;
31
+ updateBaseStartPoint(time: number, price: number): void;
32
+ updateBaseEndPoint(time: number, price: number): void;
33
+ setPreviewMode(isPreview: boolean): void;
34
+ setDragging(isDragging: boolean, dragPoint?: 'handle' | 'baseStart' | 'baseEnd' | 'line' | null): void;
35
+ setShowHandles(show: boolean): void;
36
+ setHoverPoint(hoverPoint: 'handle' | 'baseStart' | 'baseEnd' | 'line' | null): void;
37
+ dragLineByPixels(deltaX: number, deltaY: number): void;
38
+ isPointNearHandle(x: number, y: number, threshold?: number): 'handle' | 'baseStart' | 'baseEnd' | null;
39
+ private requestUpdate;
40
+ time(): number;
41
+ priceValue(): number;
42
+ paneViews(): {
43
+ renderer: () => any;
44
+ }[];
45
+ private drawHandles;
46
+ private hexToRgba;
47
+ getHandleTime(): number;
48
+ getHandlePrice(): number;
49
+ getBaseStartTime(): number;
50
+ getBaseStartPrice(): number;
51
+ getBaseEndTime(): number;
52
+ getBaseEndPrice(): number;
53
+ updateColor(color: string): void;
54
+ updateHandleColor(color: string): void;
55
+ updateLineWidth(lineWidth: number): void;
56
+ updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
57
+ updateStyles(styles: {
58
+ color?: string;
59
+ handleColor?: string;
60
+ lineWidth?: number;
61
+ lineStyle?: 'solid' | 'dashed' | 'dotted';
62
+ backgroundOpacity?: number;
63
+ [key: string]: any;
64
+ }): void;
65
+ getCurrentStyles(): Record<string, any>;
66
+ getBounds(): {
67
+ handleX: any;
68
+ handleY: any;
69
+ baseStartX: any;
70
+ baseStartY: any;
71
+ baseEndX: any;
72
+ baseEndY: any;
73
+ minX: number;
74
+ maxX: number;
75
+ minY: number;
76
+ maxY: number;
77
+ } | null;
78
+ }
@@ -0,0 +1,86 @@
1
+ import { MarkType } from '../../types';
2
+ import { IGraph } from '../IGraph';
3
+ import { IMarkStyle } from '../IMarkStyle';
4
+ export declare class SchiffPitchforkMark implements IGraph, IMarkStyle {
5
+ private _chart;
6
+ private _series;
7
+ private _handleTime;
8
+ private _handlePrice;
9
+ private _baseStartTime;
10
+ private _baseStartPrice;
11
+ private _baseEndTime;
12
+ private _baseEndPrice;
13
+ private _extensionTime;
14
+ private _extensionPrice;
15
+ private _renderer;
16
+ private _lineColor;
17
+ private _handleColor;
18
+ private _lineWidth;
19
+ private _lineStyle;
20
+ private _isPreview;
21
+ private _isDragging;
22
+ private _dragPoint;
23
+ private _showHandles;
24
+ private _backgroundOpacity;
25
+ private markType;
26
+ private _hoverPoint;
27
+ private _numberOfForks;
28
+ constructor(handleTime: number, handlePrice: number, baseStartTime: number, baseStartPrice: number, baseEndTime: number, baseEndPrice: number, extensionTime: number, extensionPrice: number, lineColor?: string, handleColor?: string, lineWidth?: number, isPreview?: boolean);
29
+ getMarkType(): MarkType;
30
+ attached(param: any): void;
31
+ updateAllViews(): void;
32
+ updateHandlePoint(time: number, price: number): void;
33
+ updateBaseStartPoint(time: number, price: number): void;
34
+ updateBaseEndPoint(time: number, price: number): void;
35
+ updateExtensionPoint(time: number, price: number): void;
36
+ setPreviewMode(isPreview: boolean): void;
37
+ setDragging(isDragging: boolean, dragPoint?: 'handle' | 'baseStart' | 'baseEnd' | 'extension' | 'line' | null): void;
38
+ setShowHandles(show: boolean): void;
39
+ setHoverPoint(hoverPoint: 'handle' | 'baseStart' | 'baseEnd' | 'extension' | 'line' | null): void;
40
+ dragLineByPixels(deltaX: number, deltaY: number): void;
41
+ isPointNearHandle(x: number, y: number, threshold?: number): 'handle' | 'baseStart' | 'baseEnd' | 'extension' | null;
42
+ private requestUpdate;
43
+ time(): number;
44
+ priceValue(): number;
45
+ paneViews(): {
46
+ renderer: () => any;
47
+ }[];
48
+ private drawHandles;
49
+ getHandleTime(): number;
50
+ getHandlePrice(): number;
51
+ getBaseStartTime(): number;
52
+ getBaseStartPrice(): number;
53
+ getBaseEndTime(): number;
54
+ getBaseEndPrice(): number;
55
+ getExtensionTime(): number;
56
+ getExtensionPrice(): number;
57
+ updateColor(color: string): void;
58
+ updateHandleColor(color: string): void;
59
+ updateLineWidth(lineWidth: number): void;
60
+ updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
61
+ updateStyles(styles: {
62
+ color?: string;
63
+ handleColor?: string;
64
+ lineWidth?: number;
65
+ lineStyle?: 'solid' | 'dashed' | 'dotted';
66
+ backgroundOpacity?: number;
67
+ [key: string]: any;
68
+ }): void;
69
+ getCurrentStyles(): Record<string, any>;
70
+ getBounds(): {
71
+ handleX: any;
72
+ handleY: any;
73
+ baseStartX: any;
74
+ baseStartY: any;
75
+ baseEndX: any;
76
+ baseEndY: any;
77
+ extensionX: any;
78
+ extensionY: any;
79
+ minX: number;
80
+ maxX: number;
81
+ minY: number;
82
+ maxY: number;
83
+ } | null;
84
+ dragExtensionAsLever(deltaX: number, deltaY: number): void;
85
+ dragExtensionToChangeDirection(time: number, price: number): void;
86
+ }
@@ -0,0 +1,100 @@
1
+ import { MarkType } from '../../types';
2
+ import { IGraph } from '../IGraph';
3
+ import { IMarkStyle } from '../IMarkStyle';
4
+ export declare class GannBoxMark 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 markType;
20
+ private _gridLines;
21
+ private _outerMarginRatio;
22
+ private _edgeCellRatio;
23
+ private _lineColors;
24
+ private _fillColors;
25
+ private _showLabels;
26
+ private _labelFont;
27
+ private _labelColor;
28
+ private _labelBackground;
29
+ private _isDarkTheme;
30
+ constructor(startTime: number, startPrice: number, endTime: number, endPrice: number, color?: string, lineWidth?: number, isPreview?: boolean);
31
+ getMarkType(): MarkType;
32
+ attached(param: any): void;
33
+ updateAllViews(): void;
34
+ updateStartPoint(startTime: number, startPrice: number): void;
35
+ updateEndPoint(endTime: number, endPrice: number): void;
36
+ setPreviewMode(isPreview: boolean): void;
37
+ setDragging(isDragging: boolean, dragPoint?: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | null): void;
38
+ setShowHandles(show: boolean): void;
39
+ private getControlPoints;
40
+ private getActualBoxCorners;
41
+ private getCornerHandlePositions;
42
+ private drawGannBox;
43
+ private calculateUnequalCellSizes;
44
+ private drawGridFills;
45
+ private drawGridLines;
46
+ private setLineStyle;
47
+ private drawLabels;
48
+ private drawSingleLabel;
49
+ private drawRoundedRect;
50
+ private drawHandle;
51
+ private requestUpdate;
52
+ isPointNearHandle(x: number, y: number, threshold?: number): 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | null;
53
+ time(): number;
54
+ priceValue(): number;
55
+ paneViews(): {
56
+ renderer: () => any;
57
+ }[];
58
+ setGridLines(count: number): void;
59
+ setOuterMarginRatio(ratio: number): void;
60
+ setEdgeCellRatio(ratio: number): void;
61
+ setLineColors(colors: string[]): void;
62
+ setFillColors(colors: string[]): void;
63
+ setShowLabels(show: boolean): void;
64
+ setTheme(isDark: boolean): void;
65
+ updateColor(color: string): void;
66
+ private generateColorVariations;
67
+ updateLineWidth(lineWidth: number): void;
68
+ updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
69
+ updateStyles(styles: {
70
+ color?: string;
71
+ lineWidth?: number;
72
+ lineStyle?: 'solid' | 'dashed' | 'dotted';
73
+ gridLines?: number;
74
+ outerMarginRatio?: number;
75
+ edgeCellRatio?: number;
76
+ lineColors?: string[];
77
+ fillColors?: string[];
78
+ showLabels?: boolean;
79
+ isDarkTheme?: boolean;
80
+ [key: string]: any;
81
+ }): void;
82
+ getCurrentStyles(): Record<string, any>;
83
+ getBounds(): {
84
+ topLeftX: number;
85
+ topLeftY: number;
86
+ topRightX: number;
87
+ topRightY: number;
88
+ bottomLeftX: number;
89
+ bottomLeftY: number;
90
+ bottomRightX: number;
91
+ bottomRightY: number;
92
+ minX: number;
93
+ maxX: number;
94
+ minY: number;
95
+ maxY: number;
96
+ };
97
+ isPointInBounds(x: number, y: number, threshold?: number): boolean;
98
+ dragGannBoxByPixels(deltaX: number, deltaY: number): void;
99
+ updateByCornerDrag(corner: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight', time: number, price: number): void;
100
+ }
@@ -0,0 +1,90 @@
1
+ import { MarkType } from '../../types';
2
+ import { IGraph } from '../IGraph';
3
+ import { IMarkStyle } from '../IMarkStyle';
4
+ export declare class GannFanMark 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 markType;
20
+ private _angles;
21
+ private _angleColors;
22
+ private _angleOpacities;
23
+ private _glassFillColors;
24
+ private _showAngleLabels;
25
+ private _labelFont;
26
+ private _labelColor;
27
+ private _showGlassEffect;
28
+ private _isDarkTheme;
29
+ constructor(startTime: number, startPrice: number, endTime: number, endPrice: number, color?: string, lineWidth?: number, isPreview?: boolean);
30
+ getMarkType(): MarkType;
31
+ attached(param: any): void;
32
+ updateAllViews(): void;
33
+ updateStartPoint(startTime: number, startPrice: number): void;
34
+ updateEndPoint(endTime: number, endPrice: number): void;
35
+ setPreviewMode(isPreview: boolean): void;
36
+ setDragging(isDragging: boolean, dragPoint?: 'start' | 'center' | null): void;
37
+ setShowHandles(show: boolean): void;
38
+ private drawGlassEffect;
39
+ private getControlPoints;
40
+ private drawGannLine;
41
+ private drawAngleLabel;
42
+ private drawHandle;
43
+ private requestUpdate;
44
+ isPointNearHandle(x: number, y: number, threshold?: number): 'start' | 'center' | null;
45
+ time(): number;
46
+ priceValue(): number;
47
+ paneViews(): {
48
+ renderer: () => any;
49
+ }[];
50
+ private getAdjustedLabelPosition;
51
+ getAngles(): number[];
52
+ setAngles(angles: number[]): void;
53
+ getAngleColors(): string[];
54
+ setAngleColors(colors: string[]): void;
55
+ getAngleOpacities(): number[];
56
+ setAngleOpacities(opacities: number[]): void;
57
+ getGlassFillColors(): string[];
58
+ setGlassFillColors(colors: string[]): void;
59
+ setTheme(isDark: boolean): void;
60
+ setShowGlassEffect(show: boolean): void;
61
+ updateColor(color: string): void;
62
+ updateLineWidth(lineWidth: number): void;
63
+ updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
64
+ updateStyles(styles: {
65
+ color?: string;
66
+ lineWidth?: number;
67
+ lineStyle?: 'solid' | 'dashed' | 'dotted';
68
+ angles?: number[];
69
+ angleColors?: string[];
70
+ angleOpacities?: number[];
71
+ glassFillColors?: string[];
72
+ showAngleLabels?: boolean;
73
+ showGlassEffect?: boolean;
74
+ isDarkTheme?: boolean;
75
+ [key: string]: any;
76
+ }): void;
77
+ getCurrentStyles(): Record<string, any>;
78
+ getBounds(): {
79
+ startX: any;
80
+ startY: any;
81
+ centerX: any;
82
+ centerY: any;
83
+ minX: number;
84
+ maxX: number;
85
+ minY: number;
86
+ maxY: number;
87
+ } | null;
88
+ isPointInBounds(x: number, y: number, threshold?: number): boolean;
89
+ dragGannFanByPixels(deltaX: number, deltaY: number): void;
90
+ }
@@ -0,0 +1,106 @@
1
+ import { MarkType } from '../../types';
2
+ import { IGraph } from '../IGraph';
3
+ import { IMarkStyle } from '../IMarkStyle';
4
+ export declare class GannRectangleMark 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 markType;
20
+ private _gridLines;
21
+ private _outerMarginRatio;
22
+ private _fanLineCount;
23
+ private _fanLineColors;
24
+ private _fanLineWidth;
25
+ private _lineColors;
26
+ private _fillColors;
27
+ private _showLabels;
28
+ private _labelFont;
29
+ private _labelColor;
30
+ private _labelBackground;
31
+ private _isDarkTheme;
32
+ constructor(startTime: number, startPrice: number, endTime: number, endPrice: number, color?: string, lineWidth?: number, isPreview?: boolean);
33
+ getMarkType(): MarkType;
34
+ attached(param: any): void;
35
+ updateAllViews(): void;
36
+ updateStartPoint(startTime: number, startPrice: number): void;
37
+ updateEndPoint(endTime: number, endPrice: number): void;
38
+ setPreviewMode(isPreview: boolean): void;
39
+ setDragging(isDragging: boolean, dragPoint?: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | null): void;
40
+ setShowHandles(show: boolean): void;
41
+ private getControlPoints;
42
+ private getActualBoxCorners;
43
+ private getCornerHandlePositions;
44
+ private drawGannRectangle;
45
+ private drawGridFills;
46
+ private drawGridLines;
47
+ private drawOuterBorder;
48
+ private drawQuarterCircleFan;
49
+ private drawGannFanLines;
50
+ private setLineStyle;
51
+ private drawLabels;
52
+ private drawSingleLabel;
53
+ private drawRoundedRect;
54
+ private drawHandle;
55
+ private requestUpdate;
56
+ isPointNearHandle(x: number, y: number, threshold?: number): 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | null;
57
+ time(): number;
58
+ priceValue(): number;
59
+ paneViews(): {
60
+ renderer: () => any;
61
+ }[];
62
+ setGridLines(count: number): void;
63
+ setOuterMarginRatio(ratio: number): void;
64
+ setLineColors(colors: string[]): void;
65
+ setFillColors(colors: string[]): void;
66
+ setShowLabels(show: boolean): void;
67
+ setTheme(isDark: boolean): void;
68
+ updateColor(color: string): void;
69
+ private generateFanLineColors;
70
+ private hexToRgba;
71
+ private adjustColorBrightness;
72
+ updateLineWidth(lineWidth: number): void;
73
+ updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
74
+ updateStyles(styles: {
75
+ color?: string;
76
+ lineWidth?: number;
77
+ lineStyle?: 'solid' | 'dashed' | 'dotted';
78
+ gridLines?: number;
79
+ outerMarginRatio?: number;
80
+ lineColors?: string[];
81
+ fillColors?: string[];
82
+ showLabels?: boolean;
83
+ isDarkTheme?: boolean;
84
+ fanLineCount?: number;
85
+ fanLineWidth?: number;
86
+ [key: string]: any;
87
+ }): void;
88
+ getCurrentStyles(): Record<string, any>;
89
+ getBounds(): {
90
+ topLeftX: number;
91
+ topLeftY: number;
92
+ topRightX: number;
93
+ topRightY: number;
94
+ bottomLeftX: number;
95
+ bottomLeftY: number;
96
+ bottomRightX: number;
97
+ bottomRightY: number;
98
+ minX: number;
99
+ maxX: number;
100
+ minY: number;
101
+ maxY: number;
102
+ };
103
+ isPointInBounds(x: number, y: number, threshold?: number): boolean;
104
+ dragGannBoxByPixels(deltaX: number, deltaY: number): void;
105
+ updateByCornerDrag(corner: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight', time: number, price: number): void;
106
+ }
@@ -0,0 +1,5 @@
1
+ import { MarkType } from '../types';
2
+ export interface IDeletableMark {
3
+ isPointNearPath(x: number, y: number, threshold?: number): boolean;
4
+ getMarkType(): MarkType;
5
+ }
@@ -0,0 +1,7 @@
1
+ import { MarkType } from '../types';
2
+ export interface IGraph<T = any> {
3
+ /**
4
+ * Get the current graphic marker type
5
+ */
6
+ getMarkType(): MarkType;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { Point } from '../types';
2
+ export interface IMarkManager<T = any> {
3
+ getCurrentDragTarget(): T | null;
4
+ getCurrentDragPoint(): string | null;
5
+ getCurrentOperatingMark(): T | null;
6
+ isOperatingOnChart(): boolean;
7
+ getAllMarks(): T[];
8
+ cancelOperationMode(): any;
9
+ getMarkAtPoint(point: Point): T | null;
10
+ clearState(): void;
11
+ }
@@ -0,0 +1,6 @@
1
+ export interface IMarkStyle {
2
+ updateStyles(styles: {
3
+ [key: string]: any;
4
+ }): void;
5
+ getCurrentStyles(): Record<string, any>;
6
+ }
@@ -0,0 +1,51 @@
1
+ import { MarkType } from '../../types';
2
+ import { IGraph } from '../IGraph';
3
+ import { IMarkStyle } from '../IMarkStyle';
4
+ export declare class HorizontalLineMark implements IGraph, IMarkStyle {
5
+ private _chart;
6
+ private _series;
7
+ private _price;
8
+ private _renderer;
9
+ private _color;
10
+ private _lineWidth;
11
+ private _lineStyle;
12
+ private _isDragging;
13
+ private _showHandles;
14
+ private markType;
15
+ constructor(price: number, color?: string, lineWidth?: number);
16
+ getMarkType(): MarkType;
17
+ attached(param: any): void;
18
+ updateAllViews(): void;
19
+ updatePrice(price: number): void;
20
+ setDragging(isDragging: boolean): void;
21
+ setShowHandles(show: boolean): void;
22
+ dragLineByPixels(deltaY: number): void;
23
+ isPointNearLine(x: number, y: number, threshold?: number): boolean;
24
+ private requestUpdate;
25
+ time(): string;
26
+ priceValue(): number;
27
+ paneViews(): {
28
+ renderer: () => any;
29
+ }[];
30
+ getPrice(): number;
31
+ updateColor(color: string): void;
32
+ updateLineWidth(lineWidth: number): void;
33
+ updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
34
+ updateStyles(styles: {
35
+ color?: string;
36
+ lineWidth?: number;
37
+ lineStyle?: 'solid' | 'dashed' | 'dotted';
38
+ [key: string]: any;
39
+ }): void;
40
+ getCurrentStyles(): Record<string, any>;
41
+ getBounds(): {
42
+ startX: number;
43
+ startY: any;
44
+ endX: any;
45
+ endY: any;
46
+ minX: number;
47
+ maxX: any;
48
+ minY: any;
49
+ maxY: any;
50
+ } | null;
51
+ }
@@ -0,0 +1,62 @@
1
+ import { MarkType } from '../../types';
2
+ import { IGraph } from '../IGraph';
3
+ import { IMarkStyle } from '../IMarkStyle';
4
+ export declare class LineSegmentMark 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 markType;
20
+ constructor(startTime: number, startPrice: number, endTime: number, endPrice: number, color?: string, lineWidth?: number, isPreview?: boolean);
21
+ getMarkType(): MarkType;
22
+ attached(param: any): void;
23
+ updateAllViews(): void;
24
+ updateEndPoint(endTime: number, endPrice: number): void;
25
+ updateStartPoint(startTime: number, startPrice: number): void;
26
+ setPreviewMode(isPreview: boolean): void;
27
+ setDragging(isDragging: boolean, dragPoint?: 'start' | 'end' | 'line' | null): void;
28
+ setShowHandles(show: boolean): void;
29
+ dragLineByPixels(deltaX: number, deltaY: number): void;
30
+ dragLine(deltaTime: number, deltaPrice: number): void;
31
+ isPointNearHandle(x: number, y: number, threshold?: number): 'start' | 'end' | null;
32
+ private requestUpdate;
33
+ time(): number;
34
+ priceValue(): number;
35
+ paneViews(): {
36
+ renderer: () => any;
37
+ }[];
38
+ getStartTime(): number;
39
+ getStartPrice(): number;
40
+ getEndTime(): number;
41
+ getEndPrice(): number;
42
+ updateColor(color: string): void;
43
+ updateLineWidth(lineWidth: number): void;
44
+ updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
45
+ updateStyles(styles: {
46
+ color?: string;
47
+ lineWidth?: number;
48
+ lineStyle?: 'solid' | 'dashed' | 'dotted';
49
+ [key: string]: any;
50
+ }): void;
51
+ getCurrentStyles(): Record<string, any>;
52
+ getBounds(): {
53
+ startX: any;
54
+ startY: any;
55
+ endX: any;
56
+ endY: any;
57
+ minX: number;
58
+ maxX: number;
59
+ minY: number;
60
+ maxY: number;
61
+ } | null;
62
+ }
@@ -0,0 +1,51 @@
1
+ import { MarkType } from '../../types';
2
+ import { IGraph } from '../IGraph';
3
+ import { IMarkStyle } from '../IMarkStyle';
4
+ export declare class VerticalLineMark implements IGraph, IMarkStyle {
5
+ private _chart;
6
+ private _series;
7
+ private _time;
8
+ private _renderer;
9
+ private _color;
10
+ private _lineWidth;
11
+ private _lineStyle;
12
+ private _isDragging;
13
+ private _showHandles;
14
+ private markType;
15
+ constructor(time: number, color?: string, lineWidth?: number);
16
+ getMarkType(): MarkType;
17
+ attached(param: any): void;
18
+ updateAllViews(): void;
19
+ updateTime(time: number): void;
20
+ setDragging(isDragging: boolean): void;
21
+ setShowHandles(show: boolean): void;
22
+ dragLineByPixels(deltaX: number): void;
23
+ isPointNearLine(x: number, y: number, threshold?: number): boolean;
24
+ private requestUpdate;
25
+ time(): number;
26
+ priceValue(): number;
27
+ paneViews(): {
28
+ renderer: () => any;
29
+ }[];
30
+ getTime(): number;
31
+ updateColor(color: string): void;
32
+ updateLineWidth(lineWidth: number): void;
33
+ updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
34
+ updateStyles(styles: {
35
+ color?: string;
36
+ lineWidth?: number;
37
+ lineStyle?: 'solid' | 'dashed' | 'dotted';
38
+ [key: string]: any;
39
+ }): void;
40
+ getCurrentStyles(): Record<string, any>;
41
+ getBounds(): {
42
+ startX: any;
43
+ startY: number;
44
+ endX: any;
45
+ endY: any;
46
+ minX: any;
47
+ maxX: any;
48
+ minY: number;
49
+ maxY: any;
50
+ } | null;
51
+ }