Chart for WinRT
DataIndexFromPoint メソッド

コントロール座標のポイント。
系列のインデックス。
測定オプション。
データポイントから指定されたポイントまでの距離。
指定されたポイントに対応する最も近いデータポイントのインデックスを取得します。
構文
'宣言
 
Public Function DataIndexFromPoint( _
   ByVal pt As Windows.Foundation.Point, _
   ByVal seriesIndex As System.Integer, _
   ByVal option As MeasureOption, _
   ByRef distance As System.Double _
) As System.Integer
public System.int DataIndexFromPoint( 
   Windows.Foundation.Point pt,
   System.int seriesIndex,
   MeasureOption option,
   out System.double distance
)

パラメータ

pt
コントロール座標のポイント。
seriesIndex
系列のインデックス。
option
測定オプション。
distance
データポイントから指定されたポイントまでの距離。

戻り値の型

指定されたポイントに最も近いデータポイントのインデックス。
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

関連項目

ChartView クラス
ChartView メンバ

Send Feedback