JUI(Simple UI & Chart Component)

chart.widget.legend

Hierarchy

chart.draw
chart.widget.core
chart.widget.legend

Requires

Files

implements legend widget

Defined By

Config options

chart.widget.legend
view source
: "start"/"center"/"end"

the label (center, start, end).

the label (center, start, end).

chart.widget.legend
view source
: "bottom"/"top"/"left"/"right"

the location where the label is displayed (top, bottom).

the location where the label is displayed (top, bottom).

Run the animation effect. ...

Run the animation effect.

Defaults to: false

chart.widget.legend
view source
: Number/Array
Specifies a brush index for which a widget is used. ...

Specifies a brush index for which a widget is used.

Defaults to: 0

chart.widget.legend
view source
: Boolean
Applies all brushes equally when using a filter function. ...

Applies all brushes equally when using a filter function.

Defaults to: false

chart.widget.legend
view source
: Array
...

Defaults to: null

chart.widget.legend
view source
: Number
Moves the x coordinate by a set value from the location where the chart is drawn. ...

Moves the x coordinate by a set value from the location where the chart is drawn.

Defaults to: 0

chart.widget.legend
view source
: Number
Moves the y coordinate by a set value from the location where the chart is drawn. ...

Moves the y coordinate by a set value from the location where the chart is drawn.

Defaults to: 0

chart.widget.legend
view source
: Boolean
Performs filtering so that only label(s) selected by the brush can be shown. ...

Performs filtering so that only label(s) selected by the brush can be shown.

Defaults to: false

chart.widget.legend
view source
: Function
Sets the format of the key that is displayed on the legend. ...

Sets the format of the key that is displayed on the legend.

Defaults to: null

chart.widget.legend
view source
: Function/String
...

Defaults to: null

current widget index ...

current widget index

Defaults to: 0

Determines whether a widget is to be rendered. ...

Determines whether a widget is to be rendered.

Defaults to: false

Specifies the type of a widget/brush/grid to be added. ...

Specifies the type of a widget/brush/grid to be added.

Defaults to: null

Defined By

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.

Defined By

Methods

( type, w, h, anchor ) : String
말풍선 그리그 메소드 ...

말풍선 그리그 메소드

Parameters

  • type : String
  • w : Number
  • h : Number
  • anchor : Number

Returns

  • String
draw object ...

draw object

Returns

  • Object
run after draw object ...

run after draw object

implements animate code after draw object ...

implements animate code after draw object

run before draw object ...

run before draw object

Get a default format callback of draw object. ...

Get a default format callback of draw object.

Returns

  • Function
( type, callback ) : *
chart.on() 을 쉽게 사용 할 수 있게 해주는 유틸리티 함수 ...

chart.on() 을 쉽게 사용 할 수 있게 해주는 유틸리티 함수

Parameters

  • type : String

    event name

  • callback : Function

Returns

  • *
모든 Draw 객체는 render 함수를 통해서 그려진다. ...

모든 Draw 객체는 render 함수를 통해서 그려진다.

Defined By

Events

chart.widget.legend
view source
( target )
Event that occurs when the filter function of the legend widget is activated. ...

Event that occurs when the filter function of the legend widget is activated. (real name legend.filter)

Parameters

  • target : String

    The selected data field.