Class SparklineGroupCollection
Represents a collection of sparkline groups in a worksheet.
Inherited Members
Namespace: DRIT.Spreadsheet.Chart
Assembly: DRIT.Spreadsheet.dll
Syntax
public class SparklineGroupCollection : IEnumerable<SparklineGroup>, IEnumerable
Properties
Count
Gets the count of sparkline groups in the collection.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Add(SparklineGroup)
Adds an existing sparkline group to the collection.
Declaration
public void Add(SparklineGroup item)
Parameters
| Type | Name | Description |
|---|---|---|
| SparklineGroup | item | The sparkline group to add. |
Add(string, string, SparkLineType)
Adds a new sparkline group to the collection.
Declaration
public void Add(string dataRangeLabel, string location, SparkLineType type)
Parameters
| Type | Name | Description |
|---|---|---|
| string | dataRangeLabel | The data range formula. |
| string | location | The target cell location. |
| SparkLineType | type | The sparkline type. |
GetEnumerator()
Returns an enumerator that iterates through the sparkline groups.
Declaration
public IEnumerator<SparklineGroup> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<SparklineGroup> | An enumerator for the sparkline groups. |