編輯

共用方式為


Sparkline Interface

Definition

Represents a single sparkline.

public interface class Sparkline
[System.Runtime.InteropServices.Guid("000244B9-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Sparkline
Public Interface Sparkline
Attributes

Remarks

Use the ModifyLocation(Range) method to change the location of a single sparkline, and use the ModifySourceData(String) method to change the range of the source data. To work with a group of sparklines at once, use the members of the SparklineGroup object.

Properties

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object.

Creator

Gets a 32-bit integer that indicates the application in which this object was created.

Location

Gets or sets the location of a single sparkline.

Parent

Gets the parent SparklineGroup object for the specified object.

SourceData

Gets or sets the range that contains the source data for a single sparkline.

Methods

ModifyLocation(Range)

Modifies the location of a single sparkline.

ModifySourceData(String)

Modifies the source data for a single sparkline.

Applies to