LegendEntryCollection

LegendEntryCollection 类

表示图例集合。

public class LegendEntryCollection : ILegendEntryCollection

属性

名称描述
Count { get; }获取图例项的数量。只读 Int32。
Item { get; }获取图例项的属性;当图表类型属于以下列表时,对应于 Chart.ChartData.Series[0].DataPoints[index]:ChartType.BarOfPie、ChartType.ExplodedPie、ChartType.ExplodedPie3D、ChartType.Pie、ChartType.Pie3D、ChartType.PieOfPie;或者对于其他图表类型,对应于 Chart.ChartData.Series[index]。

另请参见