Packagekor.elements
Classpublic class CrossRangeZoomer

CrossRangeZoomer 클래스는 Chart에 마우스 이동에 따른 십자가 표시와 차트의 특정 영역을 선택하여 줌 인/아웃을 할 수 있게 합니다.

레이아웃은 아래와 같이 작성합니다.

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

   <rMateChart backgroundColor="0xFFFFFF" borderStyle="solid" cornerRadius="12">
  ...
  <Line2DChart showDataTips="true" selectionMode="single">
   ...
   <annotationElements>
    <CrossRangeZoomer enableZooming="false" horizontalLabelFormatter="{numFmt}"/>
   </annotationElements>
  </Line2DChart>
  lt;/rMateChart>
   </pre>
  



Styles
 StyleDescriptionDefined by
  
enableCrossHair
Type: Boolena
마우스 포인터를 기준으로 크로스 라인 사용 여부를 나타냅니다. The default value is true.
CrossRangeZoomer
  
enableZooming
Type: Boolean
Chart의 Zoom 기능 사용 여부를 나타냅니다. The default value is true.
CrossRangeZoomer
  
horizontalLabelFormatter
Type: Object
좌표 수평라인 값에 적용할 포맷터입니다. The default value is null.
CrossRangeZoomer
  
horizontalLabelOppFormatter
Type: Object
좌표 수평라인 값에 적용할 반대쪽 포맷터입니다. useDualCrossXLabel 속성이 true 인 경우만 유효합니다. The default value is null.
CrossRangeZoomer
  
horizontalLabelPlacement
Type: String
좌표 수평라인 라벨의 위치. left, right가 가능하며, left일 경우 Chart 왼쪽에 right일 경우 오른쪽에 좌표값이 표시된다. The default value is left.
CrossRangeZoomer
  
horizontalStroke
Type: mx.graphics.IStroke
십자가의 가로 선을 지정합니다. 이 스타일은 Stroke 클래스의 인스턴스일 필요가 있습니다.
CrossRangeZoomer
  
resetMode
Type: String
Restore 실행 방식을 결정합니다. initial 인 경우 사용자에 의해 결정된 최초의 minimum, maximum 값을 유지하고, auto 인 경우 차트에 의해 minimum, maximum 이 정해집니다. 유효값은 initial, auto 입니다. The default value is "auto".
CrossRangeZoomer
  
showValueLabels
Type: Boolean
좌표 값 표시 여부. 현재 마우스가 위치한 좌표의 값 표시여부. The default value is true.
CrossRangeZoomer
  
useDualCrossXLabel
Type: Boolean
수직축을 2개 이상 설정한 경우 2개의 축에 대하여 CrossHairLabel 을 표시할지 여부를 나타냅니다. 즉, useDualCrossYLabel 를 true 로 설정한 경우, 수직축에 해당되는 CrossHairLabel 를 축 위치에 맞게 라벨이 표시됩니다. (horizontalLabelPlacement 속성은 무시됨) 예를 들어 수평축을 3개 설정하였다면 앞에서 2개의 축에 대한 CrossHairLabel 만 표시됩니다. The default value is false.
CrossRangeZoomer
  
useDualCrossYLabel
Type: Boolean
수평축을 2개 이상 설정한 경우 2개의 축에 대하여 CrossHairLabel 을 표시할지 여부를 나타냅니다. 즉, useDualCrossYLabel 를 true 로 설정한 경우, 수평축에 해당되는 CrossHairLabel 를 축 위치에 맞게 라벨이 표시됩니다. (verticalLabelPlacement 속성은 무시됨) 예를 들어 수평축을 3개 설정하였다면 앞에서 2개의 축에 대한 CrossHairLabel 만 표시됩니다. The default value is false.
CrossRangeZoomer
  
verticalLabelFormatter
Type: Object
좌표 수직라인 값에 적용할 포맷터입니다. The default value is null.
CrossRangeZoomer
  
verticalLabelOppFormatter
Type: Object
좌표 수직라인 값에 적용할 반대쪽 포맷터입니다. useDualCrossYLabel 속성이 true 인 경우만 유효합니다. The default value is null.
CrossRangeZoomer
  
verticalLabelPlacement
Type: String
좌표 수직라인 라벨의 위치. bottom, top이 가능하며, bottom일 경우 Chart 아랫쪽에 top일 경우 윗쪽에 좌표값이 표시된다. The default value is bottom.
CrossRangeZoomer
  
verticalStroke
Type: mx.graphics.IStroke
십자가의 세로 선을 지정합니다. 이 스타일은 Stroke 클래스의 인스턴스일 필요가 있습니다.
CrossRangeZoomer
  
zoomRangeFill
Type: mx.graphics.IFill
줌 영역의 채우기 색을 지정합니다.
CrossRangeZoomer
  
zoomRangeStroke
Type: mx.graphics.IStroke
줌 영역의 선 스타일을 지정합니다.
CrossRangeZoomer
  
zoomType
Type: Boolean
Chart의 Zoom 기능 사용 시 zoom 기능을 수직축, 수평축, 모두에 적용할지를 지정합니다. 예를 들어 zoomType 을 "horizontal" 로 지정하고 zoom in 을 수행했다면 수직축에 대해서는 zoom in 을 적용하지 않고 수평축에 대해서만 기능을 수행합니다. 유효 값으로는 "horizontal", "vertical", "both" 입니다. The default value is "both".
CrossRangeZoomer