Click or drag to resize

ChartLegendEntriesColl Remove Method

Removes the legend entry at the specified index from the chart.

Namespace: Spire.Xls.Core.Spreadsheet.Charts
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void Remove(
	int iIndex
)

Parameters

iIndex
Type: System Int32
The zero-based index of the legend entry to remove.
Exceptions
Exception Condition
ArgumentOutOfRangeException Thrown when the index is less than 0 or greater than or equal to the count of legend entries.
See Also