HasLegend 屬性

此頁沒有內(nèi)容條目
內(nèi)容

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

示例

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

With myChart

    .HasLegend = True

    .Legend.Font.ColorIndex = 5

End With