ChartEvents_SelectEventHandler 代理人

定義

イベントのイベント ハンドラーSelectを追加するために使用されるデリゲート型。 Select イベントは、グラフ要素が選択されたときに発生します。

public delegate void ChartEvents_SelectEventHandler(int ElementID, int Arg1, int Arg2);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void ChartEvents_SelectEventHandler(int ElementID, int Arg1, int Arg2);
Public Delegate Sub ChartEvents_SelectEventHandler(ElementID As Integer, Arg1 As Integer, Arg2 As Integer)

パラメーター

ElementID
Int32

必須です。 ダブルクリックされたオブジェクト。

Arg1
Int32

によって異なります ElementID

Arg2
Int32

によって異なります ElementID

属性

注釈

次の表は、各 ElementIDに関連付けられている引数を示しています。

xlAxisAxisIndexAxisType
xlAxisTitleAxisIndexAxisType
xlDisplayUnitLabelAxisIndexAxisType
xlMajorGridlinesAxisIndexAxisType
xlMinorGridlinesAxisIndexAxisType
xlPivotChartDropZoneDropZoneTypeなし
xlPivotChartFieldButtonDropZoneTypePivotFieldIndex
xlDownBarsGroupIndexなし
xlDropLinesGroupIndexなし
xlHiLoLinesGroupIndexなし
xlRadarAxisLabelsGroupIndexなし
xlSeriesLinesGroupIndexなし
xlUpBarsGroupIndexなし
xlChartAreaなしなし
xlChartTitleなしなし
xlCornersなしなし
xlDataTableなしなし
xlFloorなしなし
xlLegendなしなし
xlNothingなしなし
xlPlotAreaなしなし
xlWallsなしなし
xlDataLabelSeriesIndexPointIndex
xlErrorBarsSeriesIndexなし
xlLegendEntrySeriesIndexなし
xlLegendKeySeriesIndexなし
xlSeriesSeriesIndexPointIndex
xlTrendlineSeriesIndexTrendLineIndex
xlXErrorBarsSeriesIndexなし
xlYErrorBarsSeriesIndexなし
xlShapeShapeIndexなし

次に引数の内容を示します。

AxisIndex軸が主軸または第 2 軸かどうかの値です。 XlAxisGroupxlPrimary または xlSecondary のいずれかの定数を指定できます。
AxisType軸の種類を指定します。 XlAxisTypexlCategoryxlSeriesAxis、または xlValue のいずれかの定数を指定できます。
DropZoneType列、データ、ページ、または行フィールドのドロップ ゾーンの種類です。 XlPivotFieldOrientationxlColumnField、xlDataFieldxlPageField、または xlRowField のいずれかの定数を指定できます。 列フィールドおよび行フィールドは、それぞれ系列フィールドおよび項目のフィールドに対応します。
GroupIndex特定のグラフ グループのコレクション内の ChartGroups オフセットを指定します。
PivotFieldIndex特定の列 (系列)、データ、ページ、または行 (カテゴリ) フィールドのコレクション内 PivotFields のオフセットを指定します。
PointIndex系列内の特定のポイントの Points コレクション内のオフセットを指定します。 値 –1 は、すべてのデータ ポイントが選択されていることを示します。
SeriesIndex特定の系列のコレクション内の Series オフセットを指定します。
ShapeIndex特定の図形のコレクション内の Shapes オフセットを指定します。
TrendlineIndex系列内の特定の近似曲線の Trendlines コレクション内のオフセットを指定します。

適用対象