Class WorksheetChartsCollection
Inheritance
System.Object
CollectionBase<System.Object>
CollectionBaseEx<System.Object>
WorksheetChartsCollection
Implements
System.Collections.Generic.IList<System.Object>
System.Collections.Generic.ICollection<System.Object>
System.Collections.Generic.IEnumerable<System.Object>
System.Collections.IEnumerable
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public class WorksheetChartsCollection : CollectionBaseEx<object>, IList<object>, ICollection<object>, IEnumerable<object>, ICloneParent, IChartShapes, IEnumerable, IParentApplication
Constructors
WorksheetChartsCollection(IApplication, Object)
Declaration
public WorksheetChartsCollection(IApplication application, object parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | |
| System.Object | parent |
Properties
Item[Int32]
Returns a single Chart object from a Charts collection.
Declaration
public IChartShape this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index |
Property Value
| Type |
|---|
| IChartShape |
Item[String]
Returns a single Chart object from a Charts collection.
Declaration
public IChartShape this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Chart name |
Property Value
| Type | Description |
|---|---|
| IChartShape | IChartShape object |
Methods
Add()
Creates a new chart.
Declaration
public IChartShape Add()
Returns
| Type | Description |
|---|---|
| IChartShape | Newly created chart object. |
AddChart()
Adds chart.
Declaration
public IChart AddChart()
Returns
| Type | Description |
|---|---|
| IChart | Added chart. |
AddChart(IChartShape)
Adds new chart to the collection.
Declaration
protected IChartShape AddChart(IChartShape chart)
Parameters
| Type | Name | Description |
|---|---|---|
| IChartShape | chart | Chart to add. |
Returns
| Type | Description |
|---|---|
| IChartShape | Added chart. |
InnerAddChart(IChartShape)
Adds new chart to the collection (doesn't add it to the shapes collection).
Declaration
protected IChartShape InnerAddChart(IChartShape chart)
Parameters
| Type | Name | Description |
|---|---|---|
| IChartShape | chart | Chart to add. |
Returns
| Type | Description |
|---|---|
| IChartShape | Added chart. |
RemoveAt(Int32)
Remove chart with specified index.
Declaration
public void RemoveAt(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | Index of chart to remove. |
Implements
System.Collections.Generic.IList<>
System.Collections.Generic.ICollection<>
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable