Bagikan melalui


ChartSheet Host Item

The ChartSheet host item is a worksheet in Excel that contains only a chart and exposes events.

Applies to: The information in this topic applies to document-level projects for Excel 2007 and Excel 2010. For more information, see Features Available by Office Application and Project Type.

When you add a chart sheet at design time as a new sheet in your Microsoft Office Excel document-level customization project, Visual Studio automatically creates a ChartSheet host item.

Although a ChartSheet host item is a worksheet in Excel, you cannot add any controls to the chart sheet. If you want to have other controls on a worksheet with a chart, do not use a chart sheet. Instead, you can place a chart as an embedded object on a worksheet by using the Chart host control. For more information, see Chart Control.

See Also

Concepts

Host Items and Host Controls Overview

Worksheet Host Item

Workbook Host Item

Automating Excel by Using Extended Objects

Programmatic Limitations of Host Items and Host Controls