Methods
(static) checkConfig()
- Source:
check config
(static) checkMin(min) → {Number}
- Source:
check min
Parameters:
Name | Type | Description |
---|---|---|
min |
Number |
Returns:
- Type
- Number
(static) drawClear()
- Source:
clear chart
(static) drawGridline()
- Source:
draw grid line
(static) findMouseIndex(xpos) → {Number}
- Source:
find mouse index
Parameters:
Name | Type | Description |
---|---|---|
xpos |
Number |
Returns:
index
- Type
- Number
(static) init(cfg, callback)
- Source:
init
Parameters:
Name | Type | Description |
---|---|---|
cfg |
Object | |
callback |
any | initialized callback |
(static) onChange(info)
- Source:
handle change info
Parameters:
Name | Type | Description |
---|---|---|
info |
Object |
(static) onInit()
- Source:
on init
(static) onMouseDown(event)
- Source:
hanlde mouse down
Parameters:
Name | Type | Description |
---|---|---|
event |
Object |
(static) onMouseMove(event)
- Source:
handle mouse move
Parameters:
Name | Type | Description |
---|---|---|
event |
Object |
(static) onMouseOut()
- Source:
handle mouse out
(static) onMouseUp(event)
- Source:
handle mouse up
Parameters:
Name | Type | Description |
---|---|---|
event |
Object |
(static) onPaint()
- Source:
paint scroll chart
(static) setPublicRect()
- Source:
Calculate all rectangular areas