LegendEntryCollection

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.ILegendEntryCollection

public class LegendEntryCollection implements ILegendEntryCollection

Represents legends collection.

Methods

Method Description
get_Item(int index) 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.
getCount() Gets the number of legend entries.

get_Item(int index)

public final ILegendEntryProperties get_Item(int index)

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.

Parameters:

Parameter Type Description
index int

Returns: ILegendEntryProperties

getCount()

public final int getCount()

Gets the number of legend entries. Read-only int.

Returns: int