LegendEntryCollection

LegendEntryCollection class

Represents legends collection.

getCount

NameDescription
getCount ()Gets the number of legend entries. Read-only int.

Returns: int


get_Item

NameDescription
get_Item (int)Gets properties of the legend entry corresponding to Chart.ChartData.Series[0].DataPoints[index] in case of chart type from this list: ChartType.BarOfPie, ChartType.ExplodedPie, ChartType.ExplodedPie3D, ChartType.Pie, ChartType.Pie3D, ChartType.PieOfPie; or corresponding to Chart.ChartData.Series[index] for other chart types.

Returns: LegendEntryProperties