Packagekor.elements
Classpublic class SubLegend

차트에서 표현하는 범례와 다른 범례를 사용자 정의하기 위한 노드입니다.
서브 범례는 체크 박스가 있는 범례를 생성 할 수 없습니다.
레이아웃 작성 예는 다음과 같습니다.
  <SubLegend markerWidth="25" markerHeight="25" direction="horizontal" borderStyle="solid" borderColor="0x999999" backgroundColor="0xFFFFFF">
    <filters>
     <DropShadowFilter distance="2" angle="45" color="0x000000" alpha="0.75"/>
    </filters>
    <LegendItem label="300">
     <marker>
      <Image maintainAspectRatio="false" source="../Samples/Images/4-4-3.png"/>
     </marker>
    </LegendItem>
    <LegendItem label="200">
     <marker>
      <Image  maintainAspectRatio="false" source="../Samples/Images/3-2-2.png"/>
     </marker>
    </LegendItem>
   </SubLegend>
  



Styles
 StyleDescriptionDefined by
  
backgroundAlpha
Type: Number

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

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

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

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

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

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

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

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

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

The default value is 1.
SubLegend
  
color
Type: uint   Format: Color

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

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

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

The default value is 0.
SubLegend
  
direction
Type: String

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

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

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

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

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

The default value is 10.
SubLegend
  
fontStyle
Type: String

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

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

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

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

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

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

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

SubLegend
  
horizontalGap
Type: Number   Format: Length

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

The default value is 8.
SubLegend
  
labelPlacement
Type: String

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

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

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

The default value is 15.

SubLegend
  
markerWidth
Type: Number   Format: Length

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

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

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

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

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

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

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

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

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

The default value is 0.
SubLegend
  
position
Type: String

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

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

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

SubLegend
  
textAlign
Type: String

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

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

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

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

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

The default value is 0.
SubLegend
  
vAlign
Type: String

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

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

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

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

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

SubLegend