返回 Legend 对象,该对象代表指定图表的图例。只读。
本示例打开图表的图例,然后将图例的字体颜色设置为蓝色。
myChart.HasLegend = True myChart.Legend.Font.ColorIndex = 5