Packagekor.options
Classpublic class Legend

차트의 범례(Legend)를 표현합니다.

기본적으로 차트 하단에 출력되며 차트를 기준으로 상,하,좌,우에 표시할 수 있습니다.



Styles
 StyleDescriptionDefined by
  
backgroundAlpha
Type: Number

배경의 투명도를 지정합니다. 유효 범위는 0~1입니다.

The default value is 1.
Legend
  
backgroundColor
Type: uint   Format: Color

배경색을 RGB로 지정합니다.

The default value is 0xFFFFFF.
Legend
  
borderColor
Type: uint   Format: Color

범례 외형 테두리색을 RGB로 지정합니다.

The default value is 0xB7BABC.
Legend
  
borderStyle
Type: String

범례 외형 테두리 스타일을 지정합니다. 유효값은 "none", "solid", "inset", 그리고 "outset" 입니다.

The default value is "none".
Legend
  
borderThickness
Type: Number   Format: Length

범례 외형 테두리 선의 두께를 지정합니다. borderStyle 이 solid 로 설정된 경우에만 유효합니다.

The default value is 1.
Legend
  
changeItemOrder
Type: Boolean

범례 아이템의 순서를 반대로 변경합니다.

The default value is false.
Legend
  
color
Type: uint   Format: Color

글자색을 RGB로 지정합니다.

The default value is 0x0B333C.
Legend
  
cornerRadius
Type: Number   Format: Length

범례 외형 프레임의 코너 부분을 둥그스름하게 만듭니다.

The default value is 0.
Legend
  
defaultCheckBoxAction
Type: Boolean

useVisibleCheck 속성을 활성화 한 경우 디폴트 범례 체크 박스 아이템 클릭 액션을 취합니다.

디폴트 범례 체크 박스 아이템 클릭 액션은 해당 시리즈의 범례 체크 박스 selected 상태와 해당 시리즈의 visible 을 일치시킵니다. The default value is false.
Legend
  
defaultMouseOverAction
Type: Boolean

디폴트 범례 아이템 마우스 오버(Mouse Over) 액션을 취할지 여부를 나타냅니다.

디폴트 범례 마우스 오버(Mouse Over) 액션은 시리즈의 범례에 마우스 오버 시 해당 시리즈만 표시합니다. The default value is true.
Legend
  
direction
Type: String

범례 아이템들을 세로로 출력할지, 가로로 출력할지를 결정합니다. 유효값은 "horizontal", "vertical" 입니다.

The default value is "horizontal".
Legend
  
fontFamily
Type: String

사용할 폰트명을 지정합니다. 기본적으로 시스템 폰트를 사용합니다.

The default value is "Verdana".
Legend
  
fontSize
Type: Number   Format: Length

글자의 크기를 픽셀단위로 지정합니다.

The default value is 10.
Legend
  
fontStyle
Type: String

이텔릭체로 글자를 표현할지를 나타냅니다. 유효값은 "normal", "italic" 입니다..

The default value is "normal".
Legend
  
fontWeight
Type: String

볼드체로 글자를 표현할지를 나타냅니다. 유효값은 "normal", "bold" 입니다..

The default value is "bold".
Legend
  
hAlign
Type: String

범례 이이템의 가로 정렬 방식을 결정합니다. 유효값은 "left", "center", "right" 입니다.

The default value is "center".
Legend
  
height
Type: Number   Format: Length

범례의 세로 사이즈를 명시적으로 지정합니다.

Legend
  
horizontalGap
Type: Number   Format: Length

체크박스, 마커, 텍스트 사이의 가로 여백을 픽셀단위로 지정합니다.

The default value is 8.
Legend
  
labelPlacement
Type: String

범례 텍스트의 위치를 마커와 체크박스를 기준으로 위치시킬 곳을 지정합니다. 유효값은 "right", "left", "top", "bottom" 입니다.

The default value is "right".
Legend
  
markerHeight
Type: Number   Format: Length

범례 아이템의 마커(marker) 세로 사이즈를 지정합니다.

The default value is 15.

Legend
  
markerWidth
Type: Number   Format: Length

범례 아이템의 마커(marker) 가로 사이즈를 지정합니다.

The default value is 10.
Legend
  
paddingBottom
Type: Number   Format: Length

하단 여백을 픽셀단위로 지정합니다.

The default value is 0.
Legend
  
paddingLeft
Type: Number   Format: Length

왼쪽 여백을 픽셀단위로 지정합니다.

The default value is 0.
Legend
  
paddingRight
Type: Number   Format: Length

오른쪽 여백을 픽셀단위로 지정합니다.

The default value is 0.
Legend
  
paddingTop
Type: Number   Format: Length

상단 여백을 픽셀단위로 지정합니다.

The default value is 0.
Legend
  
position
Type: String

차트를 기준으로 범례를 어디에 위치시킬지를 지정합니다. 유효값은 "left", "right", "top" 그리고 "bottom" 입니다.

The default value is "bottom".
Legend
  
styleName
Type: String

Style 노드에서 정의한 스타일 이름을 지정합니다.

Legend
  
textAlign
Type: String

텍스트 정렬을 어떻게 할지 결정합니다. 유효값은 "left", "right", "center" 입니다.

The default value is "left".
Legend
  
textDecoration
Type: String

텍스트에 밑줄을 표시할지 결정합니다. 유효값은 "none", "underline" 입니다.

The default value is "none".
Legend
  
textIndent
Type: Number   Format: Length

텍스트에 들어쓰기를 픽셀단위로 결정합니다.

The default value is 0.
Legend
  
useVisibleCheck
Type: Boolean

범례에서 체크박스를 사용할지 여부를 지정합니다. 파이, 도넛 차트에서는 체크박스를 사용할 수 없습니다.

The default value is false.
Legend
  
vAlign
Type: String

범례 이이템의 세로 정렬 방식을 결정합니다. 유효값은 "top", "middle", "bottom" 입니다.

The default value is "middle".
Legend
  
verticalGap
Type: Number   Format: Length

범례 아이템들 간의 세로 여백을 픽셀단위로 지정합니다.

The default value is 6.
Legend
  
width
Type: Number   Format: Length

범례의 가로 사이즈를 명시적으로 지정합니다.

Legend