HasLegend 屬性

此頁沒有內容條目
內容

如果圖表有圖例,則該值為 True。Boolean 類型,可讀寫。

示例

本示例打開圖表的圖例,并將圖例字體顏色設置為藍色。

With myChart

    .HasLegend = True

    .Legend.Font.ColorIndex = 5

End With