[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISparklineGroup.Item

this Property

this[int]

Gets the ISparkline object at the specified index in the sparkline group.

Use this method to access an individual sparkline contained in the group.

Declaration
ISparkline this[int index] { get; }
ReadOnly Default Property Item(index As Integer) As ISparkline
Parameters
Type Name Description
int index

Index value of the sparkline.

Examples
worksheet.Range["A1:C1"].Value = new object[] {1, 3, 2};
ISparklineGroup group = worksheet.Range["D1"].SparklineGroups.Add(SparkType.Line, "A1:C1");
ISparkline sparkline = group[0];
Exceptions
Type Condition
IndexOutOfRangeException

if index is less than 0 or greater than or equal to Count.