Packagekor.elements
Classpublic class ChartGridLines

ChartGridLines 는 차트의 데이터 영역 안쪽에 격자 모양의 선을 그리는 클래스입니다. 차트 안쪽에 그릴 수 있는 선은 both, horizontal, vertical 형태입니다.

차트 축의 모든 tick을 기준으로 그리게 됩니다. 추가로 차트 데이터 영역 안쪽 중앙에 각각 세로, 가로선을 그을 수 있습니다.

차트 컨트롤의 backgroundElements속성 또는 annotationElements 속성 값으로 이 클래스의 인스턴스를 할당하십시오.

<Axis2DRenderer> 는 기본적으로 parent classes 의 모든 properties 를 상속받으며 아래의 properties 를 추가로 갖습니다.

레이아웃은 아래와 같이 작성하십시오.

  <rMateChart backgroundColor="0xFFFFFF"  cornerRadius="12" borderStyle="solid">
  <Bar3DChart>
   <verticalAxis>
            <CategoryAxis categoryField="Month"/>
         </verticalAxis>
   <series>
    <Bar3DSeries xField="Profit">
     <showDataEffect>
        <SeriesInterpolate/> 
       </showDataEffect>
    </Bar3DSeries>
   </series>
   <backgroundElements>
    <GridLines direction="both" verticalChangeCount="1" horizontalChangeCount="1">
        <horizontalStroke>
      <Stroke color="0x999999" alpha="0.5" weight="1"/>
      <!-- color:색깔 alpha:투명도 weight:굵기 -->
     </horizontalStroke> 
     <horizontalFill>
      <SolidColor color="0xEEEEEE" alpha="0.5"/>
      <!-- color:색깔 alpha:투명도 -->
     </horizontalFill> 
     <horizontalAlternateFill>
      <SolidColor color="0xFFFFFF" alpha="0.5"/>
      <!-- color:색깔 alpha:투명도 -->
     </horizontalAlternateFill>
     <verticalStroke>
      <Stroke color="0x999999" alpha="0.5" weight="1"/>
     </verticalStroke>
     <verticalFill>
      <SolidColor color="0xFFFFFF" alpha="0.5"/>
     </verticalFill> 
     <verticalAlternateFill>
      <SolidColor color="0xEEEEEE" alpha="0.5"/>
     </verticalAlternateFill> 
     <horizontalOriginStroke>
      <Stroke color="0x999999" alpha="0" weight="1"/>
     </horizontalOriginStroke>
    </GridLines>
   </backgroundElements>
  </Bar3DChart>
  </rMateChart>
   



Styles
 StyleDescriptionDefined by
  
direction
Type: String
gridLine의 수직,수평,수직&수평 을 결정합니다.
ChartGridLines
  
horizontalAlternateFill
Type: uint   Format: color
horizontalFill의 상대적인 채우기 색상 입니다.
ChartGridLines
  
horizontalCenterStroke
Type: Object
차트 중앙에 그을 가로선의 선 스타일입니다.
ChartGridLines
  
horizontalChangeCount
Type: Number   Format: Length
설정하는 값 만큼 horizontalFill과 horizontalAlternateFill이 번갈아가며 색상을 번갈아 출력합니다.
ChartGridLines
  
horizontalFill
Type: uint   Format: color
direction==horizontal 일 때 최초 시작하는 채우기 색상입니다.
ChartGridLines
  
horizontalOriginStroke
Type: Object
direction==horizontal일 때 수평축의 original선의 색상입니다.
ChartGridLines
  
horizontalShowCenterLine
Type: Boolean
차트 배경 중앙에 가로선을 그을지를 나타내는 플래그입니다. The default value is false.
ChartGridLines
  
horizontalShowOrigin
Type: Boolean
수평축의 original선의 보이기 안보이기 입니다.
ChartGridLines
  
horizontalStroke
Type: Object
수평선의 색상입니다.
ChartGridLines
  
horizontalTickAligned
Type: Boolean
수평축을 tickMark와 동일선상에 그릴지 결정합니다.
ChartGridLines
  
verticalAlternateFill
Type: uint   Format: color
verticalFill의 상대적인 채우기 색상 입니다.
ChartGridLines
  
verticalCenterStroke
Type: Object
차트 중앙에 그을 세로선의 선 스타일입니다.
ChartGridLines
  
verticalChangeCount
Type: Number   Format: Length
설정하는 값 만큼 verticalFill과 verticalAlternateFill이 번갈아가며 색상을 번갈아 출력합니다.
ChartGridLines
  
verticalFill
Type: uint   Format: color
direction==vertical일 때 최초 시작하는 채우기 색상입니다.
ChartGridLines
  
verticalOriginStroke
Type: Object
direction==vertical일 때 수직축의 original선의 색상입니다.
ChartGridLines
  
verticalShowCenterLine
Type: Boolean
차트 배경 중앙에 세로선을 그을지를 나타내는 플래그입니다.
ChartGridLines
  
verticalShowOrigin
Type: Boolean
수직축의 original선의 보이기 안보이기 입니다.
ChartGridLines
  
verticalStroke
Type: Object
수직선의 색상입니다.
ChartGridLines
  
verticalTickAligned
Type: Boolean
수직축을 tickMark와 동일선상에 그릴지 결정합니다.
ChartGridLines