JUI(Simple UI & Chart Component)

chart.grid.core

Hierarchy

chart.draw
chart.grid.core

Subclasses

Files

Grid Core 객체

Defined By

Config options

Run the animation effect. ...

Run the animation effect.

Defaults to: false

chart.grid.core
view source
: String/Object/Number
Specifies the color of a grid. ...

Specifies the color of a grid.

Defaults to: null

chart.grid.core
view source
: Number
Able to change the locatn of an axis. ...

Able to change the locatn of an axis.

Defaults to: 0

chart.grid.core
view source
: Function
Determines whether to format the value on an axis. ...

Determines whether to format the value on an axis.

Defaults to: null

chart.grid.core
view source
: Number
Set map's height ...

Set map's height

Defaults to: -1

chart.grid.core
view source
: Boolean
Determines whether to display an applicable grid. ...

Determines whether to display an applicable grid.

Defaults to: false

chart.grid.core
view source
: Function
Determines whether to image the value on an axis. ...

Determines whether to image the value on an axis.

Defaults to: null

chart.grid.core
view source
: String
Set a map file's name ...

Set a map file's name

Defaults to: ''

chart.grid.core
view source
: "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.core
view source
: Number
Specifies the slope of text displayed on a grid. ...

Specifies the slope of text displayed on a grid.

Defaults to: null

chart.grid.core
view source
: String
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.core
view source
: Number
Set map's width ...

Set map's width

Defaults to: -1

Defined By

Properties

chart.grid.core
view source
: chart.axis
chart.grid.core
view source
: Object
chart.grid.core
view source
: Object
Defined By

Methods

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

말풍선 그리그 메소드

Parameters

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

Returns

  • String
chart.grid.core
view source
( theme ) : Mixed
grid 에서 color 를 위한 유틸리티 함수 ...

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

Parameters

  • theme : Object

Returns

  • Mixed
chart.grid.core
view source
( index, field )protected
get data for axis ...

get data for axis

Parameters

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

draw object

Returns

  • Object
chart.grid.core
view source
( obj )protected
...

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.grid.core
view source
( 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.grid.core
view source
( 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

      마지막 지점

chart.grid.core
view source
( textElement )protected
implement text rotate in grid text ...

implement text rotate in grid text

Parameters

  • textElement : SVGElement
chart.grid.core
view source
( 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 함수를 통해서 그려진다.

chart.grid.core
view source
( g, ticks, values, min, checkActive )
draw top ...

draw top

Parameters

  • g : chart.util.svg
  • ticks : Array
  • values : Array
  • min : Number
  • checkActive : Function
chart.grid.core
view source
( 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

chart.grid.core
view source
( e, index )
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.

chart.grid.core
view source
( e, 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.

chart.grid.core
view source
( e, 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.

chart.grid.core
view source
( e, 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.

chart.grid.core
view source
( e, 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.

chart.grid.core
view source
( e, 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.

chart.grid.core
view source
( e, 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.

chart.grid.core
view source
( e, 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.