chart.brush.hudcolumn
Hierarchy
chart.drawchart.brush.corechart.brush.hudcolumnFiles
Config options
Specifies the index of a grid group which acts as the reference axis of a brush.
Defaults to: 0
If the brush is drawn outside of the chart, cut the area.
Defaults to: true
Able to specify color codes according to the target order (basically, refers to the color codes of a theme)
Defaults to: null
[Read Only] Sequence index on which brush is drawn.
Defaults to: null
Determines the inner margin of a hud column.
Defaults to: 1
Determines the outer margin of a hud column.
Defaults to: 2
Specifies the key value of data displayed on a brush.
Defaults to: null
Specifies the type of a widget/brush/grid to be added.
Defaults to: null
If you do not use a brush events, it gives better performance.
Defaults to: true
Methods
브러쉬 엘리먼트에 대한 공통 이벤트 정의
Parameters
- element : Element
- dataIndex : Integer
- targetIndex : Integer
말풍선 그리그 메소드
Parameters
- type : String
- w : Number
- h : Number
- anchor : Number
Returns
- String
chart.color() 를 쉽게 사용할 수 있게 만든 유틸리티 함수
Parameters
- key1 : Number
브러쉬에서 사용될 컬러 Index
- key2 : Number
브러쉬에서 사용될 컬러 Index
Returns
- *
좌표 배열 'K'에 대한 커브 좌표 'P1', 'P2'를 구하는 함수
TODO: min, max 에 대한 처리도 같이 필요함.
Parameters
- K : Array
Returns
- Object
- p1 : Array
- p2 : Array
- p1 : Array
implements animate code after draw object
Get a default format callback of draw object.
Returns
- Function
get record by index in axis.data
Parameters
- index : Integer
Returns
- Object
record in axis.data
차트 데이터에 대한 좌표 'x', 'y'를 구하는 함수 단, 'y' 좌표는 다음 데이터 보다 높게 구해진다.
Parameters
- isCheckMinMax : Boolean (optional)
Defaults to:
true
Returns
- Array
chart.axis.getValue alias
Parameters
- data : Object
row data
- fieldString : String
필드 이름
- defaultValue : String/Number/Boolean/Object (optional)
기본값
Defaults to:
''
Returns
- Mixed
차트 데이터에 대한 좌표 'x', 'y'를 구하는 함수
Parameters
- isCheckMinMax : Boolean (optional)
Defaults to:
true
Returns
- Array
그리드 타입에 따른 시작 좌표 가져오기 (블럭)
Parameters
- : String
그리드 종류
- : Number
인덱스
Returns
- *
chart.on() 을 쉽게 사용 할 수 있게 해주는 유틸리티 함수
Parameters
- type : String
event name
- callback : Function
Returns
- *
Events
Event that occurs when clicking on the brush.
Parameters
- obj : BrushData
Related brush data.
Event that occurs when double clicking on the brush.
Parameters
- obj : BrushData
Related brush data.
Event that occurs when left clicking on the brush.
Parameters
- obj : BrushData
Related brush data.
Event that occurs when moving the mouse over the brush.
Parameters
- obj : BrushData
Related brush data.
Event that occurs when moving the mouse out of the brush.
Parameters
- obj : BrushData
Related brush data.
Event that occurs when placing the mouse over the brush.
Parameters
- obj : BrushData
Related brush data.
Event that occurs after left clicking on the brush.
Parameters
- obj : BrushData
Related brush data.
Event that occurs when right clicking on the brush.
Parameters
- obj : BrushData
Related brush data.