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.
- package/dist/index.d.ts +758 -4
- package/package.json +14 -6
- package/dist/components/CandleView/Camera.d.ts +0 -16
- package/dist/components/CandleView/CandleView.d.ts +0 -149
- package/dist/components/CandleView/ChartLayer/ChartEventManager.d.ts +0 -47
- package/dist/components/CandleView/ChartLayer/ChartInfo.d.ts +0 -62
- package/dist/components/CandleView/ChartLayer/ChartLayerMarkState.d.ts +0 -281
- package/dist/components/CandleView/ChartLayer/ChartManager.d.ts +0 -11
- package/dist/components/CandleView/ChartLayer/ChartMarkManager.d.ts +0 -203
- package/dist/components/CandleView/ChartLayer/ChartMarkTextEditManager.d.ts +0 -16
- package/dist/components/CandleView/ChartLayer/ChartTypeManager.d.ts +0 -17
- package/dist/components/CandleView/ChartLayer/MainChart/Area.d.ts +0 -13
- package/dist/components/CandleView/ChartLayer/MainChart/Bar.d.ts +0 -13
- package/dist/components/CandleView/ChartLayer/MainChart/BaseLine.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/BaselineArea.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/Candlestick.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/HLCArea.d.ts +0 -35
- package/dist/components/CandleView/ChartLayer/MainChart/HeikinAshi.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/HighLow.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/Histogram.d.ts +0 -13
- package/dist/components/CandleView/ChartLayer/MainChart/HollowCandle.d.ts +0 -13
- package/dist/components/CandleView/ChartLayer/MainChart/IMainChart.d.ts +0 -7
- package/dist/components/CandleView/ChartLayer/MainChart/Line.d.ts +0 -13
- package/dist/components/CandleView/ChartLayer/MainChart/LineBreak.d.ts +0 -15
- package/dist/components/CandleView/ChartLayer/MainChart/MainChartManager.d.ts +0 -17
- package/dist/components/CandleView/ChartLayer/MainChart/MarketProfile.d.ts +0 -52
- package/dist/components/CandleView/ChartLayer/MainChart/Mountain.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/StepLine.d.ts +0 -12
- package/dist/components/CandleView/ChartLayer/MainChart/Volume.d.ts +0 -6
- package/dist/components/CandleView/ChartLayer/MainChart/VolumeHeatMap.d.ts +0 -41
- package/dist/components/CandleView/ChartLayer/Modal/ImageUploadModal.d.ts +0 -10
- package/dist/components/CandleView/ChartLayer/Modal/MainChartIndicatorsSettingModal.d.ts +0 -17
- package/dist/components/CandleView/ChartLayer/Modal/SubChartIndicatorsSettingModal.d.ts +0 -17
- package/dist/components/CandleView/ChartLayer/Modal/TextMarkEditorModal.d.ts +0 -21
- package/dist/components/CandleView/ChartLayer/Panes/BaseChartPane.d.ts +0 -41
- package/dist/components/CandleView/ChartLayer/Panes/ChartPaneFactory.d.ts +0 -6
- package/dist/components/CandleView/ChartLayer/Panes/ChartPanesManager.d.ts +0 -31
- package/dist/components/CandleView/ChartLayer/Panes/IChartPanes.d.ts +0 -42
- package/dist/components/CandleView/ChartLayer/SubChart/ADX.d.ts +0 -25
- package/dist/components/CandleView/ChartLayer/SubChart/ATR.d.ts +0 -25
- package/dist/components/CandleView/ChartLayer/SubChart/BBWidth.d.ts +0 -26
- package/dist/components/CandleView/ChartLayer/SubChart/CCI.d.ts +0 -25
- package/dist/components/CandleView/ChartLayer/SubChart/KDJ.d.ts +0 -23
- package/dist/components/CandleView/ChartLayer/SubChart/MACD.d.ts +0 -23
- package/dist/components/CandleView/ChartLayer/SubChart/OBV.d.ts +0 -24
- package/dist/components/CandleView/ChartLayer/SubChart/RSI.d.ts +0 -25
- package/dist/components/CandleView/ChartLayer/SubChart/SAR.d.ts +0 -23
- package/dist/components/CandleView/ChartLayer/SubChart/Stochastic.d.ts +0 -23
- package/dist/components/CandleView/ChartLayer/SubChart/Volume.d.ts +0 -24
- package/dist/components/CandleView/ChartLayer/ToolBar/GraphMarkToolBar.d.ts +0 -51
- package/dist/components/CandleView/ChartLayer/ToolBar/TextMarkToolBar.d.ts +0 -65
- package/dist/components/CandleView/ChartLayer/index.d.ts +0 -290
- package/dist/components/CandleView/DataAdapter.d.ts +0 -28
- package/dist/components/CandleView/DataLoader.d.ts +0 -15
- package/dist/components/CandleView/DataManager.d.ts +0 -23
- package/dist/components/CandleView/DataPointManager.d.ts +0 -45
- package/dist/components/CandleView/I18n.d.ts +0 -418
- package/dist/components/CandleView/Icons.d.ts +0 -161
- package/dist/components/CandleView/Indicators/MainChart/BaseIndicator.d.ts +0 -26
- package/dist/components/CandleView/Indicators/MainChart/BollingerBandsIndicator.d.ts +0 -51
- package/dist/components/CandleView/Indicators/MainChart/DonchianChannelIndicator.d.ts +0 -24
- package/dist/components/CandleView/Indicators/MainChart/EMAIndicator.d.ts +0 -24
- package/dist/components/CandleView/Indicators/MainChart/EnvelopeIndicator.d.ts +0 -52
- package/dist/components/CandleView/Indicators/MainChart/IchimokuIndicator.d.ts +0 -58
- package/dist/components/CandleView/Indicators/MainChart/MAIndicator.d.ts +0 -24
- package/dist/components/CandleView/Indicators/MainChart/MainChartIndicatorInfo.d.ts +0 -24
- package/dist/components/CandleView/Indicators/MainChart/MainChartIndicatorManager.d.ts +0 -28
- package/dist/components/CandleView/Indicators/MainChart/VWAPIndicator.d.ts +0 -26
- package/dist/components/CandleView/Indicators/SubChart/ADXIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/ATRIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/BBWidthIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/CCIIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/IIndicator.d.ts +0 -15
- package/dist/components/CandleView/Indicators/SubChart/KDJIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/MACDIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/OBVIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/RSIIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/SARIndicator.d.ts +0 -6
- package/dist/components/CandleView/Indicators/SubChart/StochasticIndicator.d.ts +0 -25
- package/dist/components/CandleView/Indicators/SubChart/VolumeIndicator.d.ts +0 -11
- package/dist/components/CandleView/LeftPanel/Config.d.ts +0 -64
- package/dist/components/CandleView/LeftPanel/EmojiConfig.d.ts +0 -21
- package/dist/components/CandleView/LeftPanel/ToolManager.d.ts +0 -5
- package/dist/components/CandleView/LeftPanel/index.d.ts +0 -95
- package/dist/components/CandleView/Mark/Arrow/ArrowLineMark.d.ts +0 -67
- package/dist/components/CandleView/Mark/Arrow/ThickArrowLineMark.d.ts +0 -73
- package/dist/components/CandleView/Mark/Channel/DisjointChannelMark.d.ts +0 -74
- package/dist/components/CandleView/Mark/Channel/EquidistantChannelMark.d.ts +0 -67
- package/dist/components/CandleView/Mark/Channel/LinearRegressionChannelMark.d.ts +0 -70
- package/dist/components/CandleView/Mark/Channel/ParallelChannelMark.d.ts +0 -67
- package/dist/components/CandleView/Mark/Content/ImageMark.d.ts +0 -75
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciArcMark.d.ts +0 -88
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciChannelMark.d.ts +0 -80
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciCircleMark.d.ts +0 -81
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciExtensionBasePriceMark.d.ts +0 -89
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciExtensionBaseTimeMark.d.ts +0 -89
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciFanMark.d.ts +0 -91
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciRetracementMark.d.ts +0 -81
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciSpiralMark.d.ts +0 -95
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciTimeZoonMark.d.ts +0 -71
- package/dist/components/CandleView/Mark/Fibonacci/FibonacciWedgeMark.d.ts +0 -97
- package/dist/components/CandleView/Mark/Fork/AndrewPitchforkMark.d.ts +0 -77
- package/dist/components/CandleView/Mark/Fork/EnhancedAndrewPitchforkMark.d.ts +0 -78
- package/dist/components/CandleView/Mark/Fork/SchiffPitchforkMark.d.ts +0 -86
- package/dist/components/CandleView/Mark/Gann/GannBoxMark.d.ts +0 -100
- package/dist/components/CandleView/Mark/Gann/GannFanMark.d.ts +0 -90
- package/dist/components/CandleView/Mark/Gann/GannRectangleMark.d.ts +0 -106
- package/dist/components/CandleView/Mark/IDeletableMark.d.ts +0 -5
- package/dist/components/CandleView/Mark/IGraph.d.ts +0 -7
- package/dist/components/CandleView/Mark/IMarkManager.d.ts +0 -11
- package/dist/components/CandleView/Mark/IMarkStyle.d.ts +0 -6
- package/dist/components/CandleView/Mark/Line/HorizontalLineMark.d.ts +0 -51
- package/dist/components/CandleView/Mark/Line/LineSegmentMark.d.ts +0 -62
- package/dist/components/CandleView/Mark/Line/VerticalLineMark.d.ts +0 -51
- package/dist/components/CandleView/Mark/Map/HeatMapMark.d.ts +0 -75
- package/dist/components/CandleView/Mark/Mock/MockKLineMark.d.ts +0 -70
- package/dist/components/CandleView/Mark/Pattern/ABCDMark.d.ts +0 -57
- package/dist/components/CandleView/Mark/Pattern/ElliottCorrectiveMark.d.ts +0 -59
- package/dist/components/CandleView/Mark/Pattern/ElliottDoubleCombinationMark.d.ts +0 -59
- package/dist/components/CandleView/Mark/Pattern/ElliottImpulseMark.d.ts +0 -59
- package/dist/components/CandleView/Mark/Pattern/ElliottTriangleMark.d.ts +0 -59
- package/dist/components/CandleView/Mark/Pattern/ElliottTripleCombinationMark.d.ts +0 -59
- package/dist/components/CandleView/Mark/Pattern/HeadAndShouldersMark.d.ts +0 -63
- package/dist/components/CandleView/Mark/Pattern/TriangleABCDMark.d.ts +0 -66
- package/dist/components/CandleView/Mark/Pattern/XABCDMark.d.ts +0 -58
- package/dist/components/CandleView/Mark/Pen/BrushMark.d.ts +0 -67
- package/dist/components/CandleView/Mark/Pen/EraserMark.d.ts +0 -51
- package/dist/components/CandleView/Mark/Pen/MarkerPenMark.d.ts +0 -62
- package/dist/components/CandleView/Mark/Pen/PenMark.d.ts +0 -62
- package/dist/components/CandleView/Mark/Pen/PencilMark.d.ts +0 -62
- package/dist/components/CandleView/Mark/Range/LongPositionMark.d.ts +0 -79
- package/dist/components/CandleView/Mark/Range/PriceRangeMark.d.ts +0 -71
- package/dist/components/CandleView/Mark/Range/ShortPositionMark.d.ts +0 -79
- package/dist/components/CandleView/Mark/Range/TimePriceRangeMark.d.ts +0 -74
- package/dist/components/CandleView/Mark/Range/TimeRangeMark.d.ts +0 -71
- package/dist/components/CandleView/Mark/Shape/CircleMark.d.ts +0 -78
- package/dist/components/CandleView/Mark/Shape/CurveMark.d.ts +0 -70
- package/dist/components/CandleView/Mark/Shape/DoubleCurveMark.d.ts +0 -75
- package/dist/components/CandleView/Mark/Shape/EllipseMark.d.ts +0 -85
- package/dist/components/CandleView/Mark/Shape/RectangleMark.ts.d.ts +0 -65
- package/dist/components/CandleView/Mark/Shape/SectorMark.d.ts +0 -83
- package/dist/components/CandleView/Mark/Shape/TriangleMark.d.ts +0 -91
- package/dist/components/CandleView/Mark/Static/BottomArrowMark.d.ts +0 -13
- package/dist/components/CandleView/Mark/Static/BottomTextMark.d.ts +0 -22
- package/dist/components/CandleView/Mark/Static/MultiBottomArrowMark.d.ts +0 -14
- package/dist/components/CandleView/Mark/Static/MultiBottomTextMark.d.ts +0 -36
- package/dist/components/CandleView/Mark/Static/MultiTopArrowMark.d.ts +0 -14
- package/dist/components/CandleView/Mark/Static/MultiTopTextMark.d.ts +0 -36
- package/dist/components/CandleView/Mark/Static/TopArrowMark.d.ts +0 -13
- package/dist/components/CandleView/Mark/Static/TopTextMark.d.ts +0 -22
- package/dist/components/CandleView/Mark/Text/BubbleBoxMark.d.ts +0 -126
- package/dist/components/CandleView/Mark/Text/EmojiMark.d.ts +0 -72
- package/dist/components/CandleView/Mark/Text/FlagMark.d.ts +0 -63
- package/dist/components/CandleView/Mark/Text/PinMark.d.ts +0 -110
- package/dist/components/CandleView/Mark/Text/PriceLabelMark.d.ts +0 -70
- package/dist/components/CandleView/Mark/Text/PriceNoteMark.d.ts +0 -87
- package/dist/components/CandleView/Mark/Text/SignPostMark.d.ts +0 -110
- package/dist/components/CandleView/Mark/Text/TextEditMark.d.ts +0 -105
- package/dist/components/CandleView/MarkManager/Channel/DisjointChannelMarkManager.d.ts +0 -67
- package/dist/components/CandleView/MarkManager/Channel/EquidistantChannelMarkManager.d.ts +0 -66
- package/dist/components/CandleView/MarkManager/Channel/LinearRegressionChannelMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Channel/ParallelChannelMarkManager.d.ts +0 -66
- package/dist/components/CandleView/MarkManager/Content/ImageMarkManager.d.ts +0 -57
- package/dist/components/CandleView/MarkManager/Elliott/ElliottCorrectiveMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Elliott/ElliottDoubleCombinationMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Elliott/ElliottImpulseMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Elliott/ElliottTriangleMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Elliott/ElliottTripleCombinationMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciArcMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciChannelMarkManager.d.ts +0 -64
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciCircleMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciExtensionBasePriceMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciExtensionBaseTimeMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciFanMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciRetracementMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciSpiralMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciTimeZoonMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Fibonacci/FibonacciWedgeMarkManager.d.ts +0 -56
- package/dist/components/CandleView/MarkManager/Fork/AndrewPitchforkMarkManager.d.ts +0 -71
- package/dist/components/CandleView/MarkManager/Fork/EnhancedAndrewPitchforkMarkManager.d.ts +0 -71
- package/dist/components/CandleView/MarkManager/Fork/SchiffPitchforkMarkManager.d.ts +0 -76
- package/dist/components/CandleView/MarkManager/Gann/GannBoxMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Gann/GannFanMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Gann/GannRectangleManager.d.ts +0 -56
- package/dist/components/CandleView/MarkManager/Line/ArrowLineMarkManager.d.ts +0 -52
- package/dist/components/CandleView/MarkManager/Line/AxisLineMarkManager.d.ts +0 -56
- package/dist/components/CandleView/MarkManager/Line/LineSegmentMarkManager.d.ts +0 -52
- package/dist/components/CandleView/MarkManager/Line/ThickArrowLineMarkManager.d.ts +0 -52
- package/dist/components/CandleView/MarkManager/Map/HeatMapMarkManager.d.ts +0 -64
- package/dist/components/CandleView/MarkManager/Mock/MockKLineMarkManager.d.ts +0 -52
- package/dist/components/CandleView/MarkManager/Pattern/ABCDMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Pattern/HeadAndShouldersMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Pattern/TriangleABCDMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Pattern/XABCDMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Pen/BrushMarkManager.d.ts +0 -55
- package/dist/components/CandleView/MarkManager/Pen/EraserMarkManager.d.ts +0 -51
- package/dist/components/CandleView/MarkManager/Pen/MarkerPenMarkManager.d.ts +0 -55
- package/dist/components/CandleView/MarkManager/Pen/PenMarkManager.d.ts +0 -55
- package/dist/components/CandleView/MarkManager/Pen/PencilMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Range/LongPositionMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Range/PriceRangeMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Range/ShortPositionMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Range/TimePriceRangeMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Range/TimeRangeMarkManager.d.ts +0 -63
- package/dist/components/CandleView/MarkManager/Shape/CircleMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Shape/CurveMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Shape/DoubleCurveMarkManager.d.ts +0 -54
- package/dist/components/CandleView/MarkManager/Shape/EllipseMarkManager.d.ts +0 -55
- package/dist/components/CandleView/MarkManager/Shape/RectangleMarkManager.d.ts +0 -51
- package/dist/components/CandleView/MarkManager/Shape/SectorMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Shape/TriangleMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/StaticMarkManager.d.ts +0 -46
- package/dist/components/CandleView/MarkManager/Text/BubbleBoxMarkManager.d.ts +0 -61
- package/dist/components/CandleView/MarkManager/Text/EmojiMarkManager.d.ts +0 -52
- package/dist/components/CandleView/MarkManager/Text/FlagMarkManager.d.ts +0 -51
- package/dist/components/CandleView/MarkManager/Text/PinMarkManager.d.ts +0 -56
- package/dist/components/CandleView/MarkManager/Text/PriceLabelMarkManager.d.ts +0 -51
- package/dist/components/CandleView/MarkManager/Text/PriceNoteMarkManager.d.ts +0 -53
- package/dist/components/CandleView/MarkManager/Text/SignPostMarkManager.d.ts +0 -55
- package/dist/components/CandleView/MarkManager/Text/TextEditMarkManager.d.ts +0 -61
- package/dist/components/CandleView/Theme.d.ts +0 -59
- package/dist/components/CandleView/TopPanel/Config.d.ts +0 -23
- package/dist/components/CandleView/TopPanel/IndicatorProcessing.d.ts +0 -4
- package/dist/components/CandleView/TopPanel/index.d.ts +0 -104
- package/dist/components/CandleView/ViewportManager.d.ts +0 -53
- package/dist/components/CandleView/index.d.ts +0 -2
- package/dist/components/CandleView/tools.d.ts +0 -7
- package/dist/components/CandleView/types.d.ts +0 -200
- package/dist/index.test.d.ts +0 -1
- /package/dist/{candleview.js → index.js} +0 -0
- /package/dist/{candleview.mjs → index.mjs} +0 -0
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '../../types';
|
|
2
|
-
import { IGraph } from '../IGraph';
|
|
3
|
-
import { IMarkStyle } from '../IMarkStyle';
|
|
4
|
-
export declare class HeatMapMark 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 _opacity;
|
|
20
|
-
private markType;
|
|
21
|
-
private _hoverPoint;
|
|
22
|
-
private _chartData;
|
|
23
|
-
private _volumeData;
|
|
24
|
-
private _maxVolume;
|
|
25
|
-
constructor(startTime: number, startPrice: number, endTime: number, endPrice: number, color?: string, lineWidth?: number, isPreview?: boolean);
|
|
26
|
-
getMarkType(): MarkType;
|
|
27
|
-
attached(param: any): void;
|
|
28
|
-
private _processVolumeData;
|
|
29
|
-
updateAllViews(): void;
|
|
30
|
-
updateEndPoint(endTime: number, endPrice: number): void;
|
|
31
|
-
updateStartPoint(startTime: number, startPrice: number): void;
|
|
32
|
-
updateOpacity(opacity: number): void;
|
|
33
|
-
setPreviewMode(isPreview: boolean): void;
|
|
34
|
-
setDragging(isDragging: boolean, dragPoint?: 'start' | 'end' | 'body' | null): void;
|
|
35
|
-
setShowHandles(show: boolean): void;
|
|
36
|
-
setHoverPoint(hoverPoint: 'start' | 'end' | 'body' | null): void;
|
|
37
|
-
dragLineByPixels(deltaX: number, deltaY: number): void;
|
|
38
|
-
isPointNearHandle(x: number, y: number, threshold?: number): 'start' | 'end' | 'body' | null;
|
|
39
|
-
private requestUpdate;
|
|
40
|
-
time(): number;
|
|
41
|
-
priceValue(): number;
|
|
42
|
-
paneViews(): {
|
|
43
|
-
renderer: () => any;
|
|
44
|
-
}[];
|
|
45
|
-
private _drawHeatMap;
|
|
46
|
-
private _getHeatColor;
|
|
47
|
-
private _drawHandles;
|
|
48
|
-
getStartTime(): number;
|
|
49
|
-
getStartPrice(): number;
|
|
50
|
-
getEndTime(): number;
|
|
51
|
-
getEndPrice(): number;
|
|
52
|
-
getOpacity(): number;
|
|
53
|
-
updateColor(color: string): void;
|
|
54
|
-
updateLineWidth(lineWidth: number): void;
|
|
55
|
-
updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
|
|
56
|
-
updateStyles(styles: {
|
|
57
|
-
color?: string;
|
|
58
|
-
lineWidth?: number;
|
|
59
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
60
|
-
opacity?: number;
|
|
61
|
-
[key: string]: any;
|
|
62
|
-
}): void;
|
|
63
|
-
getCurrentStyles(): Record<string, any>;
|
|
64
|
-
getBounds(): {
|
|
65
|
-
startX: any;
|
|
66
|
-
startY: any;
|
|
67
|
-
endX: any;
|
|
68
|
-
endY: any;
|
|
69
|
-
minX: number;
|
|
70
|
-
maxX: number;
|
|
71
|
-
minY: number;
|
|
72
|
-
maxY: number;
|
|
73
|
-
} | null;
|
|
74
|
-
private getDataPointsInRange;
|
|
75
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '../../types';
|
|
2
|
-
import { IGraph } from '../IGraph';
|
|
3
|
-
import { IMarkStyle } from '../IMarkStyle';
|
|
4
|
-
export declare class MockKLineMark 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 _candleCount;
|
|
20
|
-
private _candleWidth;
|
|
21
|
-
private markType;
|
|
22
|
-
private _cachedCandles;
|
|
23
|
-
constructor(startTime: number, startPrice: number, endTime: number, endPrice: number, color?: string, lineWidth?: number, isPreview?: boolean);
|
|
24
|
-
private _generateCachedCandles;
|
|
25
|
-
getMarkType(): MarkType;
|
|
26
|
-
attached(param: any): void;
|
|
27
|
-
updateAllViews(): void;
|
|
28
|
-
updateEndPoint(endTime: number, endPrice: number): void;
|
|
29
|
-
updateStartPoint(startTime: number, startPrice: number): void;
|
|
30
|
-
setPreviewMode(isPreview: boolean): void;
|
|
31
|
-
setDragging(isDragging: boolean, dragPoint?: 'start' | 'end' | 'line' | null): void;
|
|
32
|
-
setShowHandles(show: boolean): void;
|
|
33
|
-
dragLineByPixels(deltaX: number, deltaY: number): void;
|
|
34
|
-
dragLine(deltaTime: number, deltaPrice: number): void;
|
|
35
|
-
isPointNearHandle(x: number, y: number, threshold?: number): 'start' | 'end' | null;
|
|
36
|
-
private requestUpdate;
|
|
37
|
-
time(): number;
|
|
38
|
-
priceValue(): number;
|
|
39
|
-
paneViews(): {
|
|
40
|
-
renderer: () => any;
|
|
41
|
-
}[];
|
|
42
|
-
getStartTime(): number;
|
|
43
|
-
getStartPrice(): number;
|
|
44
|
-
getEndTime(): number;
|
|
45
|
-
getEndPrice(): number;
|
|
46
|
-
updateColor(color: string): void;
|
|
47
|
-
updateLineWidth(lineWidth: number): void;
|
|
48
|
-
updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
|
|
49
|
-
updateCandleCount(count: number): void;
|
|
50
|
-
updateCandleWidth(width: number): void;
|
|
51
|
-
updateStyles(styles: {
|
|
52
|
-
color?: string;
|
|
53
|
-
lineWidth?: number;
|
|
54
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
55
|
-
candleCount?: number;
|
|
56
|
-
candleWidth?: number;
|
|
57
|
-
[key: string]: any;
|
|
58
|
-
}): void;
|
|
59
|
-
getCurrentStyles(): Record<string, any>;
|
|
60
|
-
getBounds(): {
|
|
61
|
-
startX: any;
|
|
62
|
-
startY: any;
|
|
63
|
-
endX: any;
|
|
64
|
-
endY: any;
|
|
65
|
-
minX: number;
|
|
66
|
-
maxX: number;
|
|
67
|
-
minY: number;
|
|
68
|
-
maxY: number;
|
|
69
|
-
} | null;
|
|
70
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '../../types';
|
|
2
|
-
import { IGraph } from '../IGraph';
|
|
3
|
-
import { IMarkStyle } from '../IMarkStyle';
|
|
4
|
-
export declare class ABCDMark implements IGraph, IMarkStyle {
|
|
5
|
-
private _chart;
|
|
6
|
-
private _series;
|
|
7
|
-
private _points;
|
|
8
|
-
private _renderer;
|
|
9
|
-
private _color;
|
|
10
|
-
private _lineWidth;
|
|
11
|
-
private _lineStyle;
|
|
12
|
-
private _isDragging;
|
|
13
|
-
private _dragPoint;
|
|
14
|
-
private _showHandles;
|
|
15
|
-
private markType;
|
|
16
|
-
constructor(points: {
|
|
17
|
-
time: number;
|
|
18
|
-
price: number;
|
|
19
|
-
}[], color?: string, lineWidth?: number);
|
|
20
|
-
getMarkType(): MarkType;
|
|
21
|
-
attached(param: any): void;
|
|
22
|
-
updateAllViews(): void;
|
|
23
|
-
updatePoint(index: number, time: number, price: number): void;
|
|
24
|
-
setDragging(isDragging: boolean, dragPoint?: number | null): void;
|
|
25
|
-
setShowHandles(show: boolean): void;
|
|
26
|
-
isPointNearHandle(x: number, y: number, threshold?: number): number | null;
|
|
27
|
-
private requestUpdate;
|
|
28
|
-
time(): number;
|
|
29
|
-
priceValue(): number;
|
|
30
|
-
paneViews(): {
|
|
31
|
-
renderer: () => any;
|
|
32
|
-
}[];
|
|
33
|
-
private drawLineValue;
|
|
34
|
-
getPoints(): {
|
|
35
|
-
time: number;
|
|
36
|
-
price: number;
|
|
37
|
-
}[];
|
|
38
|
-
updateColor(color: string): void;
|
|
39
|
-
updateLineWidth(lineWidth: number): void;
|
|
40
|
-
updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
|
|
41
|
-
updateStyles(styles: {
|
|
42
|
-
color?: string;
|
|
43
|
-
lineWidth?: number;
|
|
44
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
}): void;
|
|
47
|
-
getCurrentStyles(): Record<string, any>;
|
|
48
|
-
getBounds(): {
|
|
49
|
-
minX: number;
|
|
50
|
-
maxX: number;
|
|
51
|
-
minY: number;
|
|
52
|
-
maxY: number;
|
|
53
|
-
} | null;
|
|
54
|
-
isPointNearGraph(x: number, y: number, threshold?: number): boolean;
|
|
55
|
-
private isPointNearLine;
|
|
56
|
-
moveAllPoints(deltaTime: number, deltaPrice: number): void;
|
|
57
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '../../types';
|
|
2
|
-
import { IGraph } from '../IGraph';
|
|
3
|
-
import { IMarkStyle } from '../IMarkStyle';
|
|
4
|
-
export declare class ElliottCorrectiveMark implements IGraph, IMarkStyle {
|
|
5
|
-
private _chart;
|
|
6
|
-
private _series;
|
|
7
|
-
private _points;
|
|
8
|
-
private _renderer;
|
|
9
|
-
private _color;
|
|
10
|
-
private _lineWidth;
|
|
11
|
-
private _lineStyle;
|
|
12
|
-
private _isDragging;
|
|
13
|
-
private _dragPoint;
|
|
14
|
-
private _showHandles;
|
|
15
|
-
private markType;
|
|
16
|
-
constructor(points: {
|
|
17
|
-
time: number;
|
|
18
|
-
price: number;
|
|
19
|
-
}[], color?: string, lineWidth?: number);
|
|
20
|
-
getMarkType(): MarkType;
|
|
21
|
-
attached(param: any): void;
|
|
22
|
-
updateAllViews(): void;
|
|
23
|
-
updatePoint(index: number, time: number, price: number): void;
|
|
24
|
-
setDragging(isDragging: boolean, dragPoint?: number | null): void;
|
|
25
|
-
setShowHandles(show: boolean): void;
|
|
26
|
-
isPointNearHandle(x: number, y: number, threshold?: number): number | null;
|
|
27
|
-
private requestUpdate;
|
|
28
|
-
time(): number;
|
|
29
|
-
priceValue(): number;
|
|
30
|
-
paneViews(): {
|
|
31
|
-
renderer: () => any;
|
|
32
|
-
}[];
|
|
33
|
-
private drawPointLabel;
|
|
34
|
-
private drawFibonacciLevels;
|
|
35
|
-
private drawLineValue;
|
|
36
|
-
getPoints(): {
|
|
37
|
-
time: number;
|
|
38
|
-
price: number;
|
|
39
|
-
}[];
|
|
40
|
-
updateColor(color: string): void;
|
|
41
|
-
updateLineWidth(lineWidth: number): void;
|
|
42
|
-
updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
|
|
43
|
-
updateStyles(styles: {
|
|
44
|
-
color?: string;
|
|
45
|
-
lineWidth?: number;
|
|
46
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
}): void;
|
|
49
|
-
getCurrentStyles(): Record<string, any>;
|
|
50
|
-
getBounds(): {
|
|
51
|
-
minX: number;
|
|
52
|
-
maxX: number;
|
|
53
|
-
minY: number;
|
|
54
|
-
maxY: number;
|
|
55
|
-
} | null;
|
|
56
|
-
isPointNearGraph(x: number, y: number, threshold?: number): boolean;
|
|
57
|
-
private isPointNearLine;
|
|
58
|
-
moveAllPoints(deltaTime: number, deltaPrice: number): void;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '../../types';
|
|
2
|
-
import { IGraph } from '../IGraph';
|
|
3
|
-
import { IMarkStyle } from '../IMarkStyle';
|
|
4
|
-
export declare class ElliottDoubleCombinationMark implements IGraph, IMarkStyle {
|
|
5
|
-
private _chart;
|
|
6
|
-
private _series;
|
|
7
|
-
private _points;
|
|
8
|
-
private _renderer;
|
|
9
|
-
private _color;
|
|
10
|
-
private _lineWidth;
|
|
11
|
-
private _lineStyle;
|
|
12
|
-
private _isDragging;
|
|
13
|
-
private _dragPoint;
|
|
14
|
-
private _showHandles;
|
|
15
|
-
private markType;
|
|
16
|
-
constructor(points: {
|
|
17
|
-
time: number;
|
|
18
|
-
price: number;
|
|
19
|
-
}[], color?: string, lineWidth?: number);
|
|
20
|
-
getMarkType(): MarkType;
|
|
21
|
-
attached(param: any): void;
|
|
22
|
-
updateAllViews(): void;
|
|
23
|
-
updatePoint(index: number, time: number, price: number): void;
|
|
24
|
-
setDragging(isDragging: boolean, dragPoint?: number | null): void;
|
|
25
|
-
setShowHandles(show: boolean): void;
|
|
26
|
-
isPointNearHandle(x: number, y: number, threshold?: number): number | null;
|
|
27
|
-
private requestUpdate;
|
|
28
|
-
time(): number;
|
|
29
|
-
priceValue(): number;
|
|
30
|
-
paneViews(): {
|
|
31
|
-
renderer: () => any;
|
|
32
|
-
}[];
|
|
33
|
-
private drawPointLabel;
|
|
34
|
-
private drawFibonacciLevels;
|
|
35
|
-
private drawLineValue;
|
|
36
|
-
getPoints(): {
|
|
37
|
-
time: number;
|
|
38
|
-
price: number;
|
|
39
|
-
}[];
|
|
40
|
-
updateColor(color: string): void;
|
|
41
|
-
updateLineWidth(lineWidth: number): void;
|
|
42
|
-
updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
|
|
43
|
-
updateStyles(styles: {
|
|
44
|
-
color?: string;
|
|
45
|
-
lineWidth?: number;
|
|
46
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
}): void;
|
|
49
|
-
getCurrentStyles(): Record<string, any>;
|
|
50
|
-
getBounds(): {
|
|
51
|
-
minX: number;
|
|
52
|
-
maxX: number;
|
|
53
|
-
minY: number;
|
|
54
|
-
maxY: number;
|
|
55
|
-
} | null;
|
|
56
|
-
isPointNearGraph(x: number, y: number, threshold?: number): boolean;
|
|
57
|
-
private isPointNearLine;
|
|
58
|
-
moveAllPoints(deltaTime: number, deltaPrice: number): void;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '../../types';
|
|
2
|
-
import { IGraph } from '../IGraph';
|
|
3
|
-
import { IMarkStyle } from '../IMarkStyle';
|
|
4
|
-
export declare class ElliottImpulseMark implements IGraph, IMarkStyle {
|
|
5
|
-
private _chart;
|
|
6
|
-
private _series;
|
|
7
|
-
private _points;
|
|
8
|
-
private _renderer;
|
|
9
|
-
private _color;
|
|
10
|
-
private _lineWidth;
|
|
11
|
-
private _lineStyle;
|
|
12
|
-
private _isDragging;
|
|
13
|
-
private _dragPoint;
|
|
14
|
-
private _showHandles;
|
|
15
|
-
private markType;
|
|
16
|
-
constructor(points: {
|
|
17
|
-
time: number;
|
|
18
|
-
price: number;
|
|
19
|
-
}[], color?: string, lineWidth?: number);
|
|
20
|
-
getMarkType(): MarkType;
|
|
21
|
-
attached(param: any): void;
|
|
22
|
-
updateAllViews(): void;
|
|
23
|
-
updatePoint(index: number, time: number, price: number): void;
|
|
24
|
-
setDragging(isDragging: boolean, dragPoint?: number | null): void;
|
|
25
|
-
setShowHandles(show: boolean): void;
|
|
26
|
-
isPointNearHandle(x: number, y: number, threshold?: number): number | null;
|
|
27
|
-
private requestUpdate;
|
|
28
|
-
time(): number;
|
|
29
|
-
priceValue(): number;
|
|
30
|
-
paneViews(): {
|
|
31
|
-
renderer: () => any;
|
|
32
|
-
}[];
|
|
33
|
-
private drawPointLabel;
|
|
34
|
-
private drawFibonacciLevels;
|
|
35
|
-
private drawLineValue;
|
|
36
|
-
getPoints(): {
|
|
37
|
-
time: number;
|
|
38
|
-
price: number;
|
|
39
|
-
}[];
|
|
40
|
-
updateColor(color: string): void;
|
|
41
|
-
updateLineWidth(lineWidth: number): void;
|
|
42
|
-
updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
|
|
43
|
-
updateStyles(styles: {
|
|
44
|
-
color?: string;
|
|
45
|
-
lineWidth?: number;
|
|
46
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
}): void;
|
|
49
|
-
getCurrentStyles(): Record<string, any>;
|
|
50
|
-
getBounds(): {
|
|
51
|
-
minX: number;
|
|
52
|
-
maxX: number;
|
|
53
|
-
minY: number;
|
|
54
|
-
maxY: number;
|
|
55
|
-
} | null;
|
|
56
|
-
isPointNearGraph(x: number, y: number, threshold?: number): boolean;
|
|
57
|
-
private isPointNearLine;
|
|
58
|
-
moveAllPoints(deltaTime: number, deltaPrice: number): void;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '../../types';
|
|
2
|
-
import { IGraph } from '../IGraph';
|
|
3
|
-
import { IMarkStyle } from '../IMarkStyle';
|
|
4
|
-
export declare class ElliottTriangleMark implements IGraph, IMarkStyle {
|
|
5
|
-
private _chart;
|
|
6
|
-
private _series;
|
|
7
|
-
private _points;
|
|
8
|
-
private _renderer;
|
|
9
|
-
private _color;
|
|
10
|
-
private _lineWidth;
|
|
11
|
-
private _lineStyle;
|
|
12
|
-
private _isDragging;
|
|
13
|
-
private _dragPoint;
|
|
14
|
-
private _showHandles;
|
|
15
|
-
private markType;
|
|
16
|
-
constructor(points: {
|
|
17
|
-
time: number;
|
|
18
|
-
price: number;
|
|
19
|
-
}[], color?: string, lineWidth?: number);
|
|
20
|
-
getMarkType(): MarkType;
|
|
21
|
-
attached(param: any): void;
|
|
22
|
-
updateAllViews(): void;
|
|
23
|
-
updatePoint(index: number, time: number, price: number): void;
|
|
24
|
-
setDragging(isDragging: boolean, dragPoint?: number | null): void;
|
|
25
|
-
setShowHandles(show: boolean): void;
|
|
26
|
-
isPointNearHandle(x: number, y: number, threshold?: number): number | null;
|
|
27
|
-
private requestUpdate;
|
|
28
|
-
time(): number;
|
|
29
|
-
priceValue(): number;
|
|
30
|
-
paneViews(): {
|
|
31
|
-
renderer: () => any;
|
|
32
|
-
}[];
|
|
33
|
-
private drawPointLabel;
|
|
34
|
-
private drawFibonacciLevels;
|
|
35
|
-
private drawLineValue;
|
|
36
|
-
getPoints(): {
|
|
37
|
-
time: number;
|
|
38
|
-
price: number;
|
|
39
|
-
}[];
|
|
40
|
-
updateColor(color: string): void;
|
|
41
|
-
updateLineWidth(lineWidth: number): void;
|
|
42
|
-
updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
|
|
43
|
-
updateStyles(styles: {
|
|
44
|
-
color?: string;
|
|
45
|
-
lineWidth?: number;
|
|
46
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
}): void;
|
|
49
|
-
getCurrentStyles(): Record<string, any>;
|
|
50
|
-
getBounds(): {
|
|
51
|
-
minX: number;
|
|
52
|
-
maxX: number;
|
|
53
|
-
minY: number;
|
|
54
|
-
maxY: number;
|
|
55
|
-
} | null;
|
|
56
|
-
isPointNearGraph(x: number, y: number, threshold?: number): boolean;
|
|
57
|
-
private isPointNearLine;
|
|
58
|
-
moveAllPoints(deltaTime: number, deltaPrice: number): void;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '../../types';
|
|
2
|
-
import { IGraph } from '../IGraph';
|
|
3
|
-
import { IMarkStyle } from '../IMarkStyle';
|
|
4
|
-
export declare class ElliottTripleCombinationMark implements IGraph, IMarkStyle {
|
|
5
|
-
private _chart;
|
|
6
|
-
private _series;
|
|
7
|
-
private _points;
|
|
8
|
-
private _renderer;
|
|
9
|
-
private _color;
|
|
10
|
-
private _lineWidth;
|
|
11
|
-
private _lineStyle;
|
|
12
|
-
private _isDragging;
|
|
13
|
-
private _dragPoint;
|
|
14
|
-
private _showHandles;
|
|
15
|
-
private markType;
|
|
16
|
-
constructor(points: {
|
|
17
|
-
time: number;
|
|
18
|
-
price: number;
|
|
19
|
-
}[], color?: string, lineWidth?: number);
|
|
20
|
-
getMarkType(): MarkType;
|
|
21
|
-
attached(param: any): void;
|
|
22
|
-
updateAllViews(): void;
|
|
23
|
-
updatePoint(index: number, time: number, price: number): void;
|
|
24
|
-
setDragging(isDragging: boolean, dragPoint?: number | null): void;
|
|
25
|
-
setShowHandles(show: boolean): void;
|
|
26
|
-
isPointNearHandle(x: number, y: number, threshold?: number): number | null;
|
|
27
|
-
private requestUpdate;
|
|
28
|
-
time(): number;
|
|
29
|
-
priceValue(): number;
|
|
30
|
-
paneViews(): {
|
|
31
|
-
renderer: () => any;
|
|
32
|
-
}[];
|
|
33
|
-
private drawPointLabel;
|
|
34
|
-
private drawFibonacciLevels;
|
|
35
|
-
private drawLineValue;
|
|
36
|
-
getPoints(): {
|
|
37
|
-
time: number;
|
|
38
|
-
price: number;
|
|
39
|
-
}[];
|
|
40
|
-
updateColor(color: string): void;
|
|
41
|
-
updateLineWidth(lineWidth: number): void;
|
|
42
|
-
updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
|
|
43
|
-
updateStyles(styles: {
|
|
44
|
-
color?: string;
|
|
45
|
-
lineWidth?: number;
|
|
46
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
47
|
-
[key: string]: any;
|
|
48
|
-
}): void;
|
|
49
|
-
getCurrentStyles(): Record<string, any>;
|
|
50
|
-
getBounds(): {
|
|
51
|
-
minX: number;
|
|
52
|
-
maxX: number;
|
|
53
|
-
minY: number;
|
|
54
|
-
maxY: number;
|
|
55
|
-
} | null;
|
|
56
|
-
isPointNearGraph(x: number, y: number, threshold?: number): boolean;
|
|
57
|
-
private isPointNearLine;
|
|
58
|
-
moveAllPoints(deltaTime: number, deltaPrice: number): void;
|
|
59
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '../../types';
|
|
2
|
-
import { IGraph } from '../IGraph';
|
|
3
|
-
import { IMarkStyle } from '../IMarkStyle';
|
|
4
|
-
export declare class HeadAndShouldersMark implements IGraph, IMarkStyle {
|
|
5
|
-
private _chart;
|
|
6
|
-
private _series;
|
|
7
|
-
private _points;
|
|
8
|
-
private _renderer;
|
|
9
|
-
private _color;
|
|
10
|
-
private _lineWidth;
|
|
11
|
-
private _lineStyle;
|
|
12
|
-
private _isDragging;
|
|
13
|
-
private _dragPoint;
|
|
14
|
-
private _showHandles;
|
|
15
|
-
private markType;
|
|
16
|
-
private _drawingProgress;
|
|
17
|
-
constructor(points: {
|
|
18
|
-
time: number;
|
|
19
|
-
price: number;
|
|
20
|
-
}[], color?: string, lineWidth?: number, drawingProgress?: number);
|
|
21
|
-
getMarkType(): MarkType;
|
|
22
|
-
attached(param: any): void;
|
|
23
|
-
updateAllViews(): void;
|
|
24
|
-
updatePoint(index: number, time: number, price: number): void;
|
|
25
|
-
setDragging(isDragging: boolean, dragPoint?: number | null): void;
|
|
26
|
-
setShowHandles(show: boolean): void;
|
|
27
|
-
setDrawingProgress(progress: number): void;
|
|
28
|
-
isPointNearHandle(x: number, y: number, threshold?: number): number | null;
|
|
29
|
-
private requestUpdate;
|
|
30
|
-
time(): number;
|
|
31
|
-
priceValue(): number;
|
|
32
|
-
paneViews(): {
|
|
33
|
-
renderer: () => any;
|
|
34
|
-
}[];
|
|
35
|
-
private drawGlassAreas;
|
|
36
|
-
private drawGlassTriangle;
|
|
37
|
-
private drawHeadAndShouldersPattern;
|
|
38
|
-
private drawLineSegment;
|
|
39
|
-
private drawHandlesAndLabels;
|
|
40
|
-
getPoints(): {
|
|
41
|
-
time: number;
|
|
42
|
-
price: number;
|
|
43
|
-
}[];
|
|
44
|
-
updateColor(color: string): void;
|
|
45
|
-
updateLineWidth(lineWidth: number): void;
|
|
46
|
-
updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
|
|
47
|
-
updateStyles(styles: {
|
|
48
|
-
color?: string;
|
|
49
|
-
lineWidth?: number;
|
|
50
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
51
|
-
[key: string]: any;
|
|
52
|
-
}): void;
|
|
53
|
-
getCurrentStyles(): Record<string, any>;
|
|
54
|
-
getBounds(): {
|
|
55
|
-
minX: number;
|
|
56
|
-
maxX: number;
|
|
57
|
-
minY: number;
|
|
58
|
-
maxY: number;
|
|
59
|
-
} | null;
|
|
60
|
-
isPointNearGraph(x: number, y: number, threshold?: number): boolean;
|
|
61
|
-
private isPointNearLine;
|
|
62
|
-
moveAllPoints(deltaTime: number, deltaPrice: number): void;
|
|
63
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '../../types';
|
|
2
|
-
import { IGraph } from '../IGraph';
|
|
3
|
-
import { IMarkStyle } from '../IMarkStyle';
|
|
4
|
-
export declare class TriangleABCDMark implements IGraph, IMarkStyle {
|
|
5
|
-
private _chart;
|
|
6
|
-
private _series;
|
|
7
|
-
private _points;
|
|
8
|
-
private _renderer;
|
|
9
|
-
private _color;
|
|
10
|
-
private _lineWidth;
|
|
11
|
-
private _lineStyle;
|
|
12
|
-
private _isDragging;
|
|
13
|
-
private _dragPoint;
|
|
14
|
-
private _showHandles;
|
|
15
|
-
private markType;
|
|
16
|
-
private _triangleFillColor;
|
|
17
|
-
private _triangleStrokeColor;
|
|
18
|
-
private _triangleStrokeWidth;
|
|
19
|
-
constructor(points: {
|
|
20
|
-
time: number;
|
|
21
|
-
price: number;
|
|
22
|
-
}[], color?: string, lineWidth?: number);
|
|
23
|
-
getMarkType(): MarkType;
|
|
24
|
-
attached(param: any): void;
|
|
25
|
-
updateAllViews(): void;
|
|
26
|
-
updatePoint(index: number, time: number, price: number): void;
|
|
27
|
-
setDragging(isDragging: boolean, dragPoint?: number | null): void;
|
|
28
|
-
setShowHandles(show: boolean): void;
|
|
29
|
-
isPointNearHandle(x: number, y: number, threshold?: number): number | null;
|
|
30
|
-
private requestUpdate;
|
|
31
|
-
time(): number;
|
|
32
|
-
priceValue(): number;
|
|
33
|
-
paneViews(): {
|
|
34
|
-
renderer: () => any;
|
|
35
|
-
}[];
|
|
36
|
-
private getLineDash;
|
|
37
|
-
private calculateTriangleTop;
|
|
38
|
-
private drawLineValue;
|
|
39
|
-
getPoints(): {
|
|
40
|
-
time: number;
|
|
41
|
-
price: number;
|
|
42
|
-
}[];
|
|
43
|
-
updateColor(color: string): void;
|
|
44
|
-
updateLineWidth(lineWidth: number): void;
|
|
45
|
-
updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
|
|
46
|
-
updateTriangleStyle(fillColor?: string, strokeColor?: string, strokeWidth?: number): void;
|
|
47
|
-
updateStyles(styles: {
|
|
48
|
-
color?: string;
|
|
49
|
-
lineWidth?: number;
|
|
50
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
51
|
-
triangleFillColor?: string;
|
|
52
|
-
triangleStrokeColor?: string;
|
|
53
|
-
triangleStrokeWidth?: number;
|
|
54
|
-
[key: string]: any;
|
|
55
|
-
}): void;
|
|
56
|
-
getCurrentStyles(): Record<string, any>;
|
|
57
|
-
getBounds(): {
|
|
58
|
-
minX: number;
|
|
59
|
-
maxX: number;
|
|
60
|
-
minY: number;
|
|
61
|
-
maxY: number;
|
|
62
|
-
} | null;
|
|
63
|
-
isPointNearGraph(x: number, y: number, threshold?: number): boolean;
|
|
64
|
-
private isPointNearLine;
|
|
65
|
-
moveAllPoints(deltaX: number, deltaY: number): void;
|
|
66
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { MarkType } from '../../types';
|
|
2
|
-
import { IGraph } from '../IGraph';
|
|
3
|
-
import { IMarkStyle } from '../IMarkStyle';
|
|
4
|
-
export declare class XABCDMark implements IGraph, IMarkStyle {
|
|
5
|
-
private _chart;
|
|
6
|
-
private _series;
|
|
7
|
-
private _points;
|
|
8
|
-
private _renderer;
|
|
9
|
-
private _color;
|
|
10
|
-
private _lineWidth;
|
|
11
|
-
private _lineStyle;
|
|
12
|
-
private _isDragging;
|
|
13
|
-
private _dragPoint;
|
|
14
|
-
private _showHandles;
|
|
15
|
-
private markType;
|
|
16
|
-
constructor(points: {
|
|
17
|
-
time: number;
|
|
18
|
-
price: number;
|
|
19
|
-
}[], color?: string, lineWidth?: number);
|
|
20
|
-
getMarkType(): MarkType;
|
|
21
|
-
attached(param: any): void;
|
|
22
|
-
updateAllViews(): void;
|
|
23
|
-
updatePoint(index: number, time: number, price: number): void;
|
|
24
|
-
setDragging(isDragging: boolean, dragPoint?: number | null): void;
|
|
25
|
-
setShowHandles(show: boolean): void;
|
|
26
|
-
isPointNearHandle(x: number, y: number, threshold?: number): number | null;
|
|
27
|
-
private requestUpdate;
|
|
28
|
-
time(): number;
|
|
29
|
-
priceValue(): number;
|
|
30
|
-
paneViews(): {
|
|
31
|
-
renderer: () => any;
|
|
32
|
-
}[];
|
|
33
|
-
private drawLineValue;
|
|
34
|
-
getPoints(): {
|
|
35
|
-
time: number;
|
|
36
|
-
price: number;
|
|
37
|
-
}[];
|
|
38
|
-
updateColor(color: string): void;
|
|
39
|
-
updateLineWidth(lineWidth: number): void;
|
|
40
|
-
updateLineStyle(lineStyle: "solid" | "dashed" | "dotted"): void;
|
|
41
|
-
updateStyles(styles: {
|
|
42
|
-
color?: string;
|
|
43
|
-
lineWidth?: number;
|
|
44
|
-
lineStyle?: 'solid' | 'dashed' | 'dotted';
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
}): void;
|
|
47
|
-
getCurrentStyles(): Record<string, any>;
|
|
48
|
-
getBounds(): {
|
|
49
|
-
minX: number;
|
|
50
|
-
maxX: number;
|
|
51
|
-
minY: number;
|
|
52
|
-
maxY: number;
|
|
53
|
-
} | null;
|
|
54
|
-
isPointNearGraph(x: number, y: number, threshold?: number): boolean;
|
|
55
|
-
private isPointNearLine;
|
|
56
|
-
private isPointInTriangle;
|
|
57
|
-
moveAllPoints(deltaTime: number, deltaPrice: number): void;
|
|
58
|
-
}
|