Packagekor.series
Classpublic class VTarget3DResultSeries

VTarget3DResultSeries 클래스는 목표 대비 실적 차트 즉, Combination3DChart 컨트롤의 실적에 해당되는 데이터 시리즈를 정의합니다.

이 클래스를 Combination3DChart 컨트롤의 series 속성의 배열로 할당함으로써 목표 대비 실적 차트를 생성 할 수 있습니다.
정상적인 목표 대비 실적 차트를 생성하기 위해서는 시리즈 배열을 정의 할 때 실적에 해당되는 클래스(VTarget3DResultSeries) 인스턴스를 먼저 정의하고,
다음으로 목표에 해당되는 클래스(VTarget3DGoalSeries) 인스턴스를 정의하여야 합니다.
디폴트 아이템렌더러는 CylinderItemRenderer 클래스입니다.
columnWidthRatio 속성의 디폴트 값은 0.67 입니다.

구체적인 정의 방법은 아래와 같습니다.

   <Combination3DChart>
     <series>
    실적
    <VTarget3DResultSeries />
  
    목표 
    <VTarget3DGoalSeries />
     </series>
   </Combination3DChart>
   

<Combination3DChart> 는 기본적으로 parent classes 의 모든 properties 를 상속받습니다.



Styles
 StyleDescriptionDefined by
  
alwayShowLabels
Type: Boolean

시리즈 출력 영역보다 insideLabel 과 outsideLabel 이 작아진 경우 라벨들의 처리 방법을 결정합니다.
alwayShowLabels = true 라면 항상 라벨들을 표시하지만 false 인 경우 공간이 부족하면 출력하지 않습니다.

The default value is true.
VTarget3DResultSeries
  
alwayShowLines
Type: Boolean

lineToEachItems가 true일 경우 다음 데이터가 0인 값은 라인을 그리지 않습니다.

The default value is false.
VTarget3DResultSeries
  
buttonMode
Type: Boolean

buttonMode 가 true 로 설정되면 해당 시리즈에 마우스 오버 시 커서가 손모양으로 나타납니다.

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

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

The default value is 0x0B333C.
VTarget3DResultSeries
  
columnWidthRatio
Type: String
표시하는 칼럼(column)의 width 를 카테고리의 width에 대한 비율(범위는 0~1)로 지정합니다.
값이 1인 경우는 영역 전체가 사용되며, 0.6인 경우 칼럼의 사용 가능 영역은 60%입니다.

실제 칼럼(column)의 width 는 columnWidthRatio property 와 maxColumnWidth property 를 계산하여 작은 값이 적용됩니다

The default value is 0.65.
VTarget3DResultSeries
  
cubeAngleRatio
Type: Number

그리려는 정육면체의 각도 비율입니다. 정육면체 구현시 cubeDepth에 대해 세로비율을 나타냅니다. 1이면 45도를 의미합니다.

The default value is 0.6.
VTarget3DResultSeries
  
cubeDepth
Type: Number

그리려는 큐브의 깊이입니다.

The default value is 10.
VTarget3DResultSeries
  
displayName
Type: String

시리즈의 이름을 지정합니다. 설정된 값은 기본적으로 데이터팁(툴팁)에서 보여지게 되며 범례(Legend) 설정 시 Legend에 표시됩니다.

VTarget3DResultSeries
  
fillJsFunction
Type: String
차트의 채우기 색을 특정 조건에 따라 지정하는 사용자 정의 함수입니다. layout XML 에서 Series 속성을 넣을 때 fillJsFunction 을 주고, 만든 javascript 함수명을 넣어줍니다.
  예) <Column3DSeries field="Profit" fillJsFunction="fillJsFunc">
  

fillJsFunction 의 signature 는 아래와 같습니다.

  function_name(seriesId, index, values) { ... }
  
index : 해당 아이템의 인덱스
values : 해당 item의 값입니다. 배열로 전달되며 차트의 종류에 따라 아래와 같습니다.
  • 바시리즈(Bar2DSeries, Bar3DSeries) 0:x축 값, 1:y축 값
  • 칼럼시리즈(Column2DSeries, Column3DSeries) 0:x축 값, 1:y축 값
  • 영역시리즈(Area2DSeries) 0:x축 값, 1:y축 값
  • 버블시리즈(Bubble3DSeries) 0:x축 값, 1:y축 값, 2:radius 값
  • 라인시리즈(Line2DSeries) 0:x축 값, 1:y축 값
  • 파이시리즈(Pie2DSeries, Pie3DSeries) 0:값, 1:퍼센티지, 2:nameField
  • From-To Chart 에서 minField 를 지정했다면 values 의 마지막 인덱스 값에 minField 값이 들어옵니다.
  • 매트릭스시리즈 (Matrix2DSeries) 0:x축 값, 1:y축 값, 2:z축 값
VTarget3DResultSeries
  
fontFamily
Type: String

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

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

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

The default value is 12.
VTarget3DResultSeries
  
fontStyle
Type: String

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

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

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

The default value is "bold".
VTarget3DResultSeries
  
formatter
Type: Object

수치 라벨을 NumberFormatter 또는 CurrencyFormatter, DateFormatter 로 재설정 하여 출력시키게끔 포매터를 지정합니다.

VTarget3DResultSeries
  
id
Type: String

id를 설정합니다. id는 사용자에 의해 정의된 임의의 고유값입니다.

설정된 id를 통해 해당 객체에 접근이 가능합니다.
VTarget3DResultSeries
  
insideLabelField
Type: String
inside 라벨에 나타날 dataProvider 에 있는 필드명을 지정합니다.
만약 insideLabelJsFunction 이 정의 되었다면 이 속성은 무시됩니다.
VTarget3DResultSeries
  
insideLabelJsFunction
Type: String

inside 라벨을 사용자 정의하기 위한 콜백함수입니다. 자바스크립트 함수를 설정하십시오.

VTarget3DResultSeries
  
insideLabelXOffset
Type: Number
labelPosition 을 inside 또는 both 로 설정한 경우 라벨의 X 위치를 추가적으로 지정합니다.(픽셀단위)
VTarget3DResultSeries
  
insideLabelYOffset
Type: Number
labelPosition 을 inside 또는 both 로 설정한 경우 라벨의 Y 위치를 추가적으로 지정합니다.(픽셀단위)
VTarget3DResultSeries
  
itemRenderer
Type: Object
차트에서 개개의 아이템을 표현하기 위해 시리즈가 사용하게 될 클래스가 되는 팩토리입니다.

유효값은 다음과 같습니다.

으로는
  • "CubeColumnItemRenderer" - 기본적인 큐브 형태의 칼럼3D 를 표현합니다.
  • "CylinderTargetItemRenderer" - 목표 대비 실적 차트의 목표에 해당되는 3D 실린더 입니다.
  • "CylinderItemRenderer" - 실린더 3D 차트를 표현하기 위한 렌더러입니다.
  • The default value is "CubeColumnItemRenderer".
    VTarget3DResultSeries
      
    labelAlign
    Type: String
    컬럼의 높이에서 상단,중단,하단에 라벨을 표시합니다. top,middle,bottom 이 있습니다.
    VTarget3DResultSeries
      
    labelPosition
    Type: String

    수치 라벨의 위치(position)을 결정합니다. 유효값은 "inside" , "outside", "both" 그리고 "none" 입니다.

    The default value is "none".
    VTarget3DResultSeries
      
    lineToEachItems
    Type: Boolean
    시리즈 아이템들을 서로 잇는 라인을 그릴지 말지를 결정합니다. The default value is false.
    VTarget3DResultSeries
      
    linkLineStroke
    Type: Object
    시리즈 아이템들을 서로 잇는 라인의 스타일을 정의합니다. 유효값은 Stroke 입니다.
    VTarget3DResultSeries
      
    maxColumnWidth
    Type: String
    칼럼(column)의 맥시멈 width를 픽셀 단위로 지정합니다.

    실제 칼럼(column)의 width 는 columnWidthRatio property 와 maxColumnWidth property 를 계산하여 작은 값이 적용됩니다

    VTarget3DResultSeries
      
    minField
    Type: String

    수직 축과 데이터의 매핑에 맞는 값을 추가적으로 지정합니다.
    즉, 최소값(minimum) 값에 해당되는 데이터 필드명을 추가로 설정하여 From-To 차트 생성을 할 수 있도록합니다.

    VTarget3DResultSeries
      
    outsideLabelField
    Type: String
    outside 라벨에 나타날 dataProvider 에 있는 필드명을 지정합니다.
    만약 outsideLabelJsFunction 이 정의 되었다면 이 속성은 무시됩니다.
    VTarget3DResultSeries
      
    outsideLabelJsFunction
    Type: String

    outside 라벨을 사용자 정의하기 위한 콜백함수입니다. 자바스크립트 함수를 설정하십시오

    VTarget3DResultSeries
      
    outsideLabelXOffset
    Type: Number
    labelPosition 을 outside 또는 both 로 설정한 경우 라벨의 Y 위치를 추가적으로 지정합니다.(픽셀단위)
    VTarget3DResultSeries
      
    outsideLabelYOffset
    Type: Number
    labelPosition 을 outside 또는 both 로 설정한 경우 라벨의 Y 위치를 추가적으로 지정합니다.(픽셀단위)
    VTarget3DResultSeries
      
    stroke
    Type: Object
    시리즈 아이템의 테두리 선을 정의합니다. 유효 값은 Stroke 입니다.
    VTarget3DResultSeries
      
    styleName
    Type: String

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

    VTarget3DResultSeries
      
    textDecoration
    Type: String

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

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

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

    The default value is 0.
    VTarget3DResultSeries
      
    visible
    Type: Boolean

    visible 이 false 라면 화면 상에 표시하지 않습니다.

    The default value is true.
    VTarget3DResultSeries
      
    xField
    Type: String

    수평 축(horizontalAxis)의 위치를 결정하는 데이터의 필드명를 지정합니다.

    VTarget3DResultSeries
      
    yField
    Type: String

    수직 축(verticalAxis)의 위치를 결정하는 데이터의 필드명를 지정합니다.

    VTarget3DResultSeries