Methods
(static) checkConfig()
- Source:
check config
(static) drawClear()
- Source:
clear chart
(static) drawGridLine() → {Number}
- Source:
draw grid line
Returns:
- Type
- Number
(static) drawIndex()
- Source:
draw index
(static) drawOrder()
- Source:
draw order
(static) drawReady()
- Source:
set ready for draw
(static) drawTick()
- Source:
draw tick
(static) getColor(close, before) → {String}
- Source:
get color by close and before data
Parameters:
Name | Type | Description |
---|---|---|
close |
Number | |
before |
Number |
Returns:
color
- Type
- String
(static) init(cfg)
- Source:
init order chart
Parameters:
Name | Type | Description |
---|---|---|
cfg |
Object |
(static) onClick()
- Source:
handle click event
(static) onPaint()
- Source:
paint order chart
(static) setPublicRect()
- Source:
Calculate all rectangular areas