LegendEntryCollection
LegendEntryCollection class
表示图例集合。
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] 对应的图例条目的属性。 |