ComponentOne Studio for WinRT XAML
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
データポイントから指定されたポイントまでの距離。

戻り値の型

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

ChartView クラス
ChartView メンバ

 

 


Copyright © GrapeCity inc. All rights reserved.