chart.widget.legend
Hierarchy
chart.drawchart.widget.corechart.widget.legendRequires
Files
implements legend widget
Config options
the location where the label is displayed (top, bottom).
the location where the label is displayed (top, bottom).
Specifies a brush index for which a widget is used.
Defaults to: 0
Applies all brushes equally when using a filter function.
Defaults to: false
Moves the x coordinate by a set value from the location where the chart is drawn.
Defaults to: 0
Moves the y coordinate by a set value from the location where the chart is drawn.
Defaults to: 0
Performs filtering so that only label(s) selected by the brush can be shown.
Defaults to: false
Sets the format of the key that is displayed on the legend.
Defaults to: null
Determines whether a widget is to be rendered.
Defaults to: false
Specifies the type of a widget/brush/grid to be added.
Defaults to: null
Properties
[Read Only] Index which shows the sequence how a widget is drawn.
[Read Only] Index which shows the sequence how a widget is drawn.
Methods
말풍선 그리그 메소드
Parameters
- type : String
- w : Number
- h : Number
- anchor : Number
Returns
- String
implements animate code after draw object
Get a default format callback of draw object.
Returns
- Function
chart.on() 을 쉽게 사용 할 수 있게 해주는 유틸리티 함수
Parameters
- type : String
event name
- callback : Function
Returns
- *
Events
Event that occurs when the filter function of the legend widget is activated. (real name legend.filter
)
Parameters
- target : String
The selected data field.