Packagekor.series
Classpublic class Matrix2DSeries

Matrix2DSeries입니다.
  <rMateChart backgroundColor="0xFFFFFF" cornerRadius="12" borderStyle="solid">
  <Options>
   <Caption text="Matrix Chart"/>
   <Legend/>
  </Options>
  <SeriesSlide id="ss"/>
  <Matrix2DChart showDataTips="true" type="renderer" drawType="radius" selectionMode="single" dataTipJsFunction="tipFunc">
   <backgroundElements>
    <GridLines direction="horizontal" horizontalChangeCount="2">
     <horizontalStroke>
      <Stroke color="0x000000"/>
     </horizontalStroke>
    </GridLines>
   </backgroundElements>
   <verticalAxis>
    <LinearAxis id="vAxis" interval="0.5" maximum="6" labelJsFunction="vertiJsFunc"/>
   </verticalAxis>
   <horizontalAxis>
    <LinearAxis id="hAxis" interval="0.5" maximum="12" labelJsFunction="horiJsFunc"/>
   </horizontalAxis>
   <series>
    <Matrix2DSeries  xField="Data1_x" yField="Data1_y" zField="Data1" renderer="rectangle" showDataEffect="{ss}" labelPosition="inside" displayName="A 시" insideLabelJsFunction="labelJsFunc" fontSize="11"/>
    <Matrix2DSeries xField="Data2_x" yField="Data2_y" zField="Data2" renderer="rectangle" showDataEffect="{ss}" labelPosition="inside" displayName="B 시" insideLabelJsFunction="labelJsFunc" fontSize="11"/>
    <Matrix2DSeries  xField="Data3_x" yField="Data3_y" zField="Data3" renderer="rectangle" showDataEffect="{ss}" labelPosition="inside" displayName="C 시" insideLabelJsFunction="labelJsFunc" fontSize="11"/>
   </series>
   <verticalAxisRenderers>
    <Axis2DRenderer axis="{vAxis}" tickPlacement="none" styleName="font" minorTickPlacement="none"/>
   </verticalAxisRenderers>
   <horizontalAxisRenderers>
    <Axis2DRenderer axis="{hAxis}" tickPlacement="none" styleName="font" minorTickPlacement="none"/>
   </horizontalAxisRenderers>
  </Matrix2DChart>
  <Style>
   .font{
    fontSize:11;
   }
  </Style>
  </rMateChart>
  



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

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

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

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

The default value is 0x0B333C.
Matrix2DSeries
  
displayName
Type: String

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

Matrix2DSeries
  
fillJsFunction
Type: Object
시리즈에서 현재 차트아이템의 fill 컬러를 리턴하는 함수를 정의 합니다.
만약 이 함수가 정의 되었다면, fillfills 는 fillJsFunction 에서 리턴되는 값 때문에 무시됩니다.
그러나 null 값이 리턴 되었을 경우, fills 또는 fill 이 적용됩니다.
  예) <Line2DSeries 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축 값
Matrix2DSeries
  
fills
Type: Array
시리즈에서 각각의 아이템의 fill 컬러를 지정하는 fill 객체 배열을 정의합니다.
만약 시리즈의 모든 아이템에 충분한 fill 컬러를 지정하지 않았다면 지정된 색깔이 반복됩니다. 예를 들어, 시리즈의 아이템이 10개 인 경우 5개의 fill 컬러를 지정하였다면 5개를 칠한 후 다시 5개를 칠하게 됩니다.

CSS에서 fills 설정 한 경우:

     Matirx2DSeries {
       fills:#CC66FF, #9966CC, #9999CC;
     }
    

MXML에서 fills 설정 한 경우:

     <Matirx2DSeries ... >
      <fills>
       <mx:SolidColor color="0xCC66FF"/>
       <mx:SolidColor color="0x9966CC"/>
       <mx:SolidColor color="0x9999CC"/>
      </fills>
     </Matirx2DSeries>
    

Matrix2DSeries
  
fontFamily
Type: String

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

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

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

The default value is 12.
Matrix2DSeries
  
fontStyle
Type: String

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

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

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

The default value is "bold".
Matrix2DSeries
  
formatter
Type: Obejct
inside 수치필드의 포맷터입니다.
Matrix2DSeries
  
gridRadius
Type: Number
Matrix2DChart의 type이 plot일 때 안에 들어가는 도형의 크기입니다. The default value is 4.
Matrix2DSeries
  
horizontalAxis
Type: Object
아이템들의 labels, tick marks, and data position 을 정의 하는 x-축입니다.
LinearAxis, CategoryAxis, DateTimeAxis, LogAxis 중 하나를 선택하여 할당하십시오.
Matrix2DSeries
  
id
Type: String

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

설정된 id를 통해 해당 객체에 접근이 가능합니다.
Matrix2DSeries
  
imageSource
Type: String
표현할 image의 주소를 저장합니다.
Matrix2DSeries
  
insideLabelField
Type: String
라벨에 나타날 dataProvider 에 있는 필드의 이름입니다.
만약 insideLabelJsFunction property 가 정의 되었다면 이 속성은 무시됩니다.
Matrix2DSeries
  
insideLabelJsFunction
Type: Object
Matrix2DSeries 의 각각의 라벨이 레더링 될 때 호출 될 콜백 함수를 지정합니다.
  예 ) <Matrix2DSeries ... insideLabelJsFunction="labelJsFunc"/> 
  

insideLabelJsFunction의 signatur는 아래와 같습니다.

  function_name(seriesId, index, data, values){...}
  
seriesId : 해당 아이템의 Id index : 해당 아이템의 인덱스 data : 차트에 넘어오는 데이터 객체 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축 값
Matrix2DSeries
  
itemType
Type: Object
개개의 아이템들을 표현하기 위해Plot2DSeries 가 사용할 ChartItem 의 subetype 입니다. 아이템들에 추가적인 정보를 보관할 필요가 있을 경우 override 할 수 있습니다.
Matrix2DSeries
  
labelPosition
Type: String
수치 필드 입니다. The default value is none.
Matrix2DSeries
  
labelXOffset
Type: Number   Format: Length

수치 라벨의 X 위치를 추가로 지정합니다.

Matrix2DSeries
  
labelYOffset
Type: Number   Format: Length

수치 라벨의 Y 위치를 추가로 지정합니다.

Matrix2DSeries
  
radiusAxis
Type: Object
아이템들의 크기를 정의하는 z축입니다.
Matrix2DSeries
  
renderDataType
Type: Object
렌더링되는 모든 데이터를 보관하기 위해 Plot2DSeries 에 의해 사용되는 ChartRenderData 의 subtype 입니다. 렌더링 되는 아이템들에 추가적인 정보를 보관할 필요가 있을 경우 override 할 수 있습니다.
Matrix2DSeries
  
renderer
Type: String
Matrix2DChart의 type이 renderer일 때
도형을 결정하는 스타일입니다. 유효값으로는
- rectangle : 사각형
- circle : 원
- diamond : 마름모
- upTriangle : 위로 뾰족한 삼각형
- downTriangle : 아래로 뾰족한 삼각형
- star : 별
The default value is rectangle.
Matrix2DSeries
  
styleName
Type: String

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

Matrix2DSeries
  
textDecoration
Type: String

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

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

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

The default value is 0.
Matrix2DSeries
  
verticalAxis
Type: Object
아이템들의 labels, tick marks, and data position 을 정의 하는 y-축입니다.
LinearAxis, CategoryAxis, DateTimeAxis, LogAxis 중 하나를 선택하여 할당하십시오.
Matrix2DSeries
  
visible
Type: Boolean

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

The default value is true.
Matrix2DSeries
  
xField
Type: String
수평 축(x-axis)의 위치를 결정하는 dataProvider 의 필드를 지정합니다.
만약 null 로 설정하였다면 Matrix2DSeries 는 dataProvider 가 numbers 배열이라 가정하고 그 numbers를 사용합니다.

dataProvider 가 numbers 배열이 아니라면 차트는 정상적으로 출력되지 않습니다.

Matrix2DSeries
  
yField
Type: String
수직 축(y-axis)의 위치를 결정하는 dataProvider 의 필드를 지정합니다.
매트릭스차트에서 dataProvider 의 특정 필드명을 반드시 지정할 필요가 있습니다.

만약 지정하지 않을 경우 정상적인 차트 출력이 되지 않을 수 있습니다.

Matrix2DSeries
  
zField
Type: String
매트릭스 차트의 크기를 결정하는 zField입니다.
Matrix2DSeries