[]
Gets the ISparkline object at the specified index in the sparkline group.
Use this method to access an individual sparkline contained in the group.
ISparkline this[int index] { get; }
ReadOnly Default Property Item(index As Integer) As ISparkline
| Type | Name | Description |
|---|---|---|
| int | index | Index value of the sparkline. |
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];
| Type | Condition |
|---|---|
| IndexOutOfRangeException | if |