Packagekor.series
Classpublic class VTarget2DGoalSeries

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

이 클래스를 Combination3DChart 컨트롤의 series 속성의 배열로 할당함으로써 목표 대비 실적 차트를 생성 할 수 있습니다.
정상적인 목표 대비 실적 차트를 생성하기 위해서는 시리즈 배열을 정의 할 때 실적에 해당되는 클래스(VTarget2DResultSeries) 인스턴스를 먼저 정의하고,
다음으로 목표에 해당되는 클래스(VTarget2DGoalSeries) 인스턴스를 정의하여야 합니다.
디폴트 아이템렌더러는 LineTargetItemRenderer 클래스입니다.
columnWidthRatio 속성의 디폴트 값은 0.6 입니다.
fill 스타일의 디폴트 값은 0xFF0000 색깔을 갖는 SolidColor 인스턴스입니다.
stroke 스타일의 디폴트 값은 Stroke(0x000000, 1, 1) 인스턴스입니다.

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

   <Combination2DChart>
     <series>
    실적
    <VTarget2DResultSeries />
  
    목표 
    <VTarget2DGoalSeries />
     </series>
   </Combination2DChart>
   

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



Styles
 StyleDescriptionDefined by
  
alwayShowLabels
Type: Boolean

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

The default value is true.
VTarget2DGoalSeries
  
alwayShowLines
Type: Boolean

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

The default value is false.
VTarget2DGoalSeries
  
buttonMode
Type: Boolean

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

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

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

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

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

The default value is 0.65.
VTarget2DGoalSeries
  
displayName
Type: String

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

VTarget2DGoalSeries
  
fillJsFunction
Type: String
차트의 채우기 색을 특정 조건에 따라 지정하는 사용자 정의 함수입니다. layout XML 에서 Series 속성을 넣을 때 fillJsFunction 을 주고, 만든 javascript 함수명을 넣어줍니다.
  예) <Column2DSeries 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축 값
VTarget2DGoalSeries
  
fontFamily
Type: String

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

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

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

The default value is 12.
VTarget2DGoalSeries
  
fontStyle
Type: String

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

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

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

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

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

VTarget2DGoalSeries
  
id
Type: String

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

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

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

VTarget2DGoalSeries
  
insideLabelXOffset
Type: Number
labelPosition 을 inside 또는 both 로 설정한 경우 라벨의 X 위치를 추가적으로 지정합니다.(픽셀단위)
VTarget2DGoalSeries
  
insideLabelYOffset
Type: Number
labelPosition 을 inside 또는 both 로 설정한 경우 라벨의 Y 위치를 추가적으로 지정합니다.(픽셀단위)
VTarget2DGoalSeries
  
itemRenderer
Type: Object

차트에서 개개의 아이템을 표현하기 위해 시리즈가 사용하게 될 클래스가 되는 팩토리입니다.

유효값으로는 "BoxItemRenderer", "GradientColumnItemRenderer", "SemiCircleColumnItemRenderer" 입니다.

The default value is "GradientColumnItemRenderer".
VTarget2DGoalSeries
  
labelAlign
Type: String
컬럼의 높이에서 상단,중단,하단에 라벨을 표시합니다. top,middle,bottom 이 있습니다.
VTarget2DGoalSeries
  
labelPosition
Type: String

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

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

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

VTarget2DGoalSeries
  
minField
Type: String

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

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

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

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

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

VTarget2DGoalSeries
  
textDecoration
Type: String

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

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

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

The default value is 0.
VTarget2DGoalSeries
  
visible
Type: Boolean

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

The default value is true.
VTarget2DGoalSeries
  
xField
Type: String

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

VTarget2DGoalSeries
  
yField
Type: String

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

VTarget2DGoalSeries