Class ExcelSparklineGroupCollection¶
Namespace: OfficeOpenXml.Sparkline
Assembly: EPPlus.dll
A collection of sparkline groups
Inheritance¶
object ← ExcelSparklineGroupCollection
Implements¶
IEnumerable
IEnumerable<ExcelSparklineGroup>
Inherited Members¶
object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
Properties¶
Count¶
Number of items in the collection
Property Value¶
this[int]¶
Returns the sparklinegroup at the specified position.
Property Value¶
Methods¶
Add(eSparklineType, ExcelAddressBase, ExcelAddressBase)¶
Adds a new sparklinegroup to the collection
public ExcelSparklineGroup Add(eSparklineType type, ExcelAddressBase locationRange, ExcelAddressBase dataRange)
Parameters¶
type eSparklineType
Type of sparkline
locationRange ExcelAddressBase
The location of the sparkline group. The range must have one row or column and must match the number of rows/columns in the datarange
dataRange ExcelAddressBase
The data for the sparkline group
Returns¶
GetEnumerator()¶
The enumerator for the collection
Returns¶
IEnumerator<ExcelSparklineGroup>
The enumerator
Remove(ExcelSparklineGroup)¶
Removes the sparkline.
Parameters¶
sparklineGroup ExcelSparklineGroup
The sparklinegroup to be removed
RemoveAt(int)¶
Removes the sparkline.
Parameters¶
index int
The index of the item to be removed