JUI(Simple UI & Chart Component)

chart.grid.range

Hierarchy

Subclasses

Files

Defined By

Config options

Run the animation effect. ...

Run the animation effect.

Defaults to: false

chart.grid.range
view source
: Boolean
max 나 min 을 넘어가는 값에 대한 체크, true 이면 넘어가는 값도 min, max 에서 조정, false 이면 비율로 계산해서 넘어가는 값 적용 ...

max 나 min 을 넘어가는 값에 대한 체크, true 이면 넘어가는 값도 min, max 에서 조정, false 이면 비율로 계산해서 넘어가는 값 적용

Defaults to: true

: String/Object/Number
Specifies the color of a grid. ...

Specifies the color of a grid.

Defaults to: null

Able to change the locatn of an axis. ...

Able to change the locatn of an axis.

Defaults to: 0

chart.grid.range
view source
: String/Array/Function
Sets the value displayed on an axis. ...

Sets the value displayed on an axis.

Defaults to: null

Determines whether to format the value on an axis. ...

Determines whether to format the value on an axis.

Defaults to: null

Set map's height ...

Set map's height

Defaults to: -1

Determines whether to display an applicable grid. ...

Determines whether to display an applicable grid.

Defaults to: false

chart.grid.range
view source
: Boolean
Determines whether to show text across the grid. ...

Determines whether to show text across the grid.

Defaults to: false

Determines whether to image the value on an axis. ...

Determines whether to image the value on an axis.

Defaults to: null

chart.grid.range
view source
: String
Sets the value on the grid to the value for the specified key. ...

Sets the value on the grid to the value for the specified key.

Defaults to: null

Set a map file's name ...

Set a map file's name

Defaults to: ''

chart.grid.range
view source
: Number
Sets the maximum value of a grid. ...

Sets the maximum value of a grid.

Defaults to: 0

chart.grid.range
view source
: Number
Sets the minimum value of a grid. ...

Sets the minimum value of a grid.

Defaults to: 0

chart.grid.range
view source
: Boolean
Automatically sets the value of a specific section. ...

Automatically sets the value of a specific section.

Defaults to: false

: "top"/"left"/"bottom"/"right"
Specifies the direction in which an axis is shown (top, bottom, left or right). ...

Specifies the direction in which an axis is shown (top, bottom, left or right).

Defaults to: null

chart.grid.range
view source
: Boolean
Reverses the value on domain values ...

Reverses the value on domain values

Defaults to: false

chart.grid.range
view source
: Array
Sets the interval of the scale displayed on a grid. ...

Sets the interval of the scale displayed on a grid.

Defaults to: 10

Specifies the slope of text displayed on a grid. ...

Specifies the slope of text displayed on a grid.

Defaults to: null

Specifies the text shown on a grid. ...

Specifies the text shown on a grid.

Defaults to: null

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

chart.grid.range
view source
: Number
Multiplies the axis value to be displayed. ...

Multiplies the axis value to be displayed.

Defaults to: null

Set map's width ...

Set map's width

Defaults to: -1

Defined By

Methods

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

말풍선 그리그 메소드

Parameters

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

Returns

  • String
grid 에서 color 를 위한 유틸리티 함수 ...

grid 에서 color 를 위한 유틸리티 함수

Parameters

  • theme : Object

Returns

  • Mixed
( index, field )protected
get data for axis ...

get data for axis

Parameters

  • index : Number
  • field : String
draw object ...

draw object

Returns

  • Object
...

Parameters

  • obj : Object

Overrides: chart.draw.drawAfter

implements animate code after draw object ...

implements animate code after draw object

run before draw object ...

run before draw object

( chart, orient, cls, grid )protected
draw base grid structure ...

draw base grid structure

Parameters

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

Get a default format callback of draw object.

Returns

  • Function
( chart, orient, grid ) : Object
get real size of grid ...

get real size of grid

Parameters

  • chart : chart.builder
  • orient : Strng
  • grid : Object

    그리드 옵션

Returns

  • Object
    • start : Number

      시작 지점

    • size : Number

      그리드 넓이 또는 높이

    • end : Number

      마지막 지점

implement text rotate in grid text ...

implement text rotate in grid text

Parameters

  • textElement : SVGElement
( chart, attr )protected
theme 이 적용된 line 리턴 ...

theme 이 적용된 line 리턴

Parameters

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

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

Parameters

  • type : String

    event name

  • callback : Function

Returns

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

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

( g, ticks, values, min, checkActive )
draw top ...

draw top

Parameters

  • g : chart.util.svg
  • ticks : Array
  • values : Array
  • min : Number
  • checkActive : Function
( scale, key )protected
scale wrapper grid 의 x 좌표 값을 같은 형태로 가지고 오기 위한 wrapper 함수 grid 속성에 key 가 있다면 key 의 속성값으로 실제 값을 처리 // 그리드 속성에 키가 없을...

scale wrapper

grid 의 x 좌표 값을 같은 형태로 가지고 오기 위한 wrapper 함수

grid 속성에 key 가 있다면 key 의 속성값으로 실제 값을 처리

// 그리드 속성에 키가 없을 때
 scale(0);      // 0 인덱스에 대한 값  (block, radar)
 // grid 속성에 key 가 있을 때
 grid { key : "field" }
 scale(0)           // field 값으로 scale 설정 (range, date)

Parameters

  • scale : Object
  • key : Object
Defined By

Events

Event that occurs when clicking on the map area. ...

Event that occurs when clicking on the map area. (real name map.click)

Parameters

  • e : jQueryEvent

    The event object.

  • index : Number

    Axis index.

Event that occurs when double clicking on the map area. ...

Event that occurs when double clicking on the map area. (real name map.dblclick)

Parameters

  • e : jQueryEvent

    The event object.

  • index : Number

    Axis index.

Event that occurs when left clicking on the map area. ...

Event that occurs when left clicking on the map area. (real name map.mousedown)

Parameters

  • e : jQueryEvent

    The event object.

  • index : Number

    Axis index.

Event that occurs when moving the mouse over the map area. ...

Event that occurs when moving the mouse over the map area. (real name map.mousemove)

Parameters

  • e : jQueryEvent

    The event object.

  • index : Number

    Axis index.

Event that occurs when moving the mouse out of the map area. ...

Event that occurs when moving the mouse out of the map area. (real name map.mouseout)

Parameters

  • e : jQueryEvent

    The event object.

  • index : Number

    Axis index.

Event that occurs when placing the mouse over the map area. ...

Event that occurs when placing the mouse over the map area. (real name map.mouseover)

Parameters

  • e : jQueryEvent

    The event object.

  • index : Number

    Axis index.

Event that occurs after left clicking on the map area. ...

Event that occurs after left clicking on the map area. (real name map.mouseup)

Parameters

  • e : jQueryEvent

    The event object.

  • index : Number

    Axis index.

Event that occurs when right clicking on the map area. ...

Event that occurs when right clicking on the map area. (real name map.rclick)

Parameters

  • e : jQueryEvent

    The event object.

  • index : Number

    Axis index.