| 패키지 | mx.charts | 
| 클래스 | public class HitData | 
| 상속 | HitData    Object | 
| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
You can also get a HitData structure describing the data point
  at a specific location in the chart using the chart control's
  findDataPoints() method.
기타 예제
관련 API 요소
| 속성 | 정의 주체 | ||
|---|---|---|---|
| chartItem : ChartItem 
	  The chart item described by the hit data.  | HitData | ||
![]()  | constructor : Object 
	 지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다.  | Object | |
| contextColor : uint = 0 
	  An RGB value that can be used to associate an on-screen
	  representation of the associated chartItem.  | HitData | ||
| dataTipFunction : Function 
	  A function provided by the HitData creator
	  to generate a user-suitable String for display on screen
	  that describes the referenced item.  | HitData | ||
| displayText : String [읽기 전용] 
	  A description of the associated item for display on screen.  | HitData | ||
| distance : Number 
	  Specifies the distance between the data item on the screen
	  and the location of the mouse pointer, in pixels.  | HitData | ||
| element : IChartElement [읽기 전용] 
	  Specifies the chart element rendering this data item
	  that generated the HitData structure.  | HitData | ||
| id : Number 
	  Specifies a unique identifier representing the data point.  | HitData | ||
| item : Object 
	  Specifies the data item that the HitData structure describes.  | HitData | ||
| x : Number 
	  Specifies the X coordinate of the data item on the screen.  | HitData | ||
| y : Number 
	  Specifies the Y coordinate of the data item on the screen.  | HitData | ||
| 메서드 | 정의 주체 | ||
|---|---|---|---|
	  Constructor.  | HitData | ||
![]()  | 
	 지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.  | Object | |
![]()  | 
	 Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.  | Object | |
![]()  | 
	 지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.  | Object | |
![]()  | 
     루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.  | Object | |
![]()  | 
	 로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다.  | Object | |
![]()  | 
	 지정된 객체의 문자열 표현을 반환합니다.  | Object | |
![]()  | 
	 지정된 객체의 프리미티브 값을 반환합니다.  | Object | |
chartItem | 속성 | 
public var chartItem:ChartItem| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
	  The chart item described by the hit data.
	  A chart item represents the data a series uses
	  to describe an individual item from its dataProvider. 
	  
	  
contextColor | 속성 | 
public var contextColor:uint = 0| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
	  An RGB value that can be used to associate an on-screen
	  representation of the associated chartItem.
	  DataTips use this field to help render their data.
	  
	  
dataTipFunction | 속성 | 
public var dataTipFunction:Function| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
A function provided by the HitData creator to generate a user-suitable String for display on screen that describes the referenced item.
displayText | 속성 | 
distance | 속성 | 
public var distance:Number| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
Specifies the distance between the data item on the screen and the location of the mouse pointer, in pixels.
element | 속성 | 
element:IChartElement  [읽기 전용] | 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
Specifies the chart element rendering this data item that generated the HitData structure.
구현
    public function get element():IChartElementid | 속성 | 
public var id:Number| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
	  Specifies a unique identifier representing the data point.
	  You can use this identifier to test for equality
	  between two HitData objects. 
	  If two different chart elements represent the same dataProvider entry,
	  they will have two different identifiers.
	  
	  
item | 속성 | 
public var item:Object| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
Specifies the data item that the HitData structure describes.
x | 속성 | 
public var x:Number| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
Specifies the X coordinate of the data item on the screen.
y | 속성 | 
public var y:Number| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
Specifies the Y coordinate of the data item on the screen.
HitData | () | 생성자 | 
public function HitData(id:Number, distance:Number, x:Number, y:Number, chartItem:ChartItem)| 언어 버전: | ActionScript 3.0 | 
| 제품 버전: | Flex 3 | 
| 런타임 버전: | Flash Player 9, AIR 1.1 | 
Constructor.
매개 변수id:Number — Specifies a unique identifier representing the data point.
	 
	   | |
distance:Number — Specifies the distance between the data item
	  on the screen and the location of the mouse pointer, in pixels.
	 
	   | |
x:Number — Specifies the x coordinate of the data item on the screen.
	 
	 
	   | |
y:Number — Specifies the y coordinate of the data item on the screen.
	 
	   | |
chartItem:ChartItem — The chart item described by the hit data.
	  
	   | 
Tue Jun 12 2018, 03:17 PM Z
 
 상속되는 공용 속성 숨기기
 상속되는 공용 속성 표시