Udostępnij za pośrednictwem


Chart Class (2007 System)

Represents an embedded chart in Visual Studio Tools for Office projects for Microsoft Office Excel.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class Chart _
    Inherits RemoteBindableComponent _
    Implements ISupportInitializeControl, ISupportInitialize
'Usage
Dim instance As Chart
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class Chart : RemoteBindableComponent, 
    ISupportInitializeControl, ISupportInitialize
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class Chart sealed : public RemoteBindableComponent, 
    ISupportInitializeControl, ISupportInitialize
public final class Chart extends RemoteBindableComponent implements ISupportInitializeControl, ISupportInitialize

Remarks

Chart controls provide all the features of native Chart objects in the Excel object model. However, Chart controls also expose events. For more information, see Chart Control.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Tools.Office.RemoteComponent
    Microsoft.VisualStudio.Tools.Office.RemoteBindableComponent
      Microsoft.Office.Tools.Excel.Chart

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Chart Members

Microsoft.Office.Tools.Excel Namespace

Other Resources

Chart Control

How to: Add Chart Controls to Worksheets

Host Items and Host Controls Overview