Excel.ChartActivatedEventArgs interface

提供有关引发了激活事件的图表的信息。Provides information about the chart that raised the Activated event.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

属性

chartId

获取已启用图表的 ID。Gets the id of the chart that is activated.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

type

获取事件的类型。Gets the type of the event. 有关详细信息,请参阅 Excel.EventType。See Excel.EventType for details.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

worksheetId

获取其中的图表已启用的工作表的 ID。Gets the id of the worksheet in which the chart is activated.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

属性详细信息

chartId

获取已启用图表的 ID。Gets the id of the chart that is activated.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

chartId: string;

属性值

string

type

获取事件的类型。Gets the type of the event. 有关详细信息,请参阅 Excel.EventType。See Excel.EventType for details.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

type: "ChartActivated";

属性值

"ChartActivated"

worksheetId

获取其中的图表已启用的工作表的 ID。Gets the id of the worksheet in which the chart is activated.

[API 集: ExcelApi 1.8][ API set: ExcelApi 1.8 ]

worksheetId: string;

属性值

string