Show / Hide Table of Contents

Class WorksheetChartsCollection

Represents a collection of charts on a Worksheet.

Inheritance
System.Object
SheetChartsCollection
WorksheetChartsCollection
Namespace: DRIT.Spreadsheet.Chart
Assembly: DRIT.Spreadsheet.dll
Syntax
public class WorksheetChartsCollection : SheetChartsCollection

Constructors

WorksheetChartsCollection(Worksheet)

Declaration
public WorksheetChartsCollection(Worksheet worksheet)
Parameters
Type Name Description
Worksheet worksheet

Properties

ChartsByName

Declaration
public Dictionary<string, SheetChart> ChartsByName { get; }
Property Value
Type Description
Dictionary<System.String, SheetChart>

Item[Int32]

Declaration
public SheetChart this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
SheetChart

Methods

Add<TC>(Int32, String, String, PointDoubleUnit)

Declaration
public TC Add<TC>(int id, string name, string cellLabel, PointDoubleUnit cellOffset)
    where TC : SheetChart
Parameters
Type Name Description
System.Int32 id
System.String name
System.String cellLabel
PointDoubleUnit cellOffset
Returns
Type Description
TC
Type Parameters
Name Description
TC

Add<TC>(String)

Declaration
public TC Add<TC>(string cellLabel)
    where TC : SheetChart
Parameters
Type Name Description
System.String cellLabel
Returns
Type Description
TC
Type Parameters
Name Description
TC

Get<TC>(String)

Declaration
public TC Get<TC>(string name)
    where TC : SheetChart
Parameters
Type Name Description
System.String name
Returns
Type Description
TC
Type Parameters
Name Description
TC
Back to top Generated by DocFX