Skip to main content
All docs
V26.1
  • ChartDataReference Members

    A cell, range, or union of ranges that contain chart data.

    Constructors

    Name Description
    ChartDataReference(CellPosition, CellPosition) Initializes a new instance of the ChartDataReference class with specified settings.
    ChartDataReference(Int32, CellPosition, CellPosition) Initializes a new instance of the ChartDataReference class with specified settings.
    ChartDataReference(Int32, String, String) Initializes a new instance of the ChartDataReference class with specified settings.
    ChartDataReference(Int32, String) Initializes a new instance of the ChartDataReference class with specified settings.
    ChartDataReference(String, String) Initializes a new instance of the ChartDataReference class with specified settings.
    ChartDataReference(String) Initializes a new instance of the ChartDataReference class with specified settings.

    Properties

    Name Description
    BottomRightPosition Returns the bottom-right cell position of the reference bounds.
    CellCount Returns the number of referenced cells.
    ColumnCount Returns the number of columns in the reference bounds.
    IsCell Determines whether the reference points to a single cell.
    IsEmpty Determines whether the reference contains no cells.
    IsRange Determines whether the reference points to a rectangular range.
    IsUnion Determines whether the reference is a union of multiple ranges.
    RowCount Returns the number of rows in the reference bounds.
    SheetIndex Returns the worksheet index used by this reference.
    TopLeftPosition Returns the top-left cell position of the reference bounds.

    Methods

    Name Description
    Contains(ChartDataReference) Determines whether this reference fully contains another reference.
    Contains(Int32, Int32) Determines whether this reference contains a specific cell.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    Exclude(ChartDataReference) Excludes cells from the current reference.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    IntersectsWith(ChartDataReference) Determines whether two references overlap.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns a string that represents the current object. Inherited from Object.
    Union(ChartDataReference) Combines the current reference with another reference.
    See Also