主题
Glow (属性)
返回一个包含图表元素发光格式属性的指定图表的 GlowFormat 对象。只读。
说明
发光效果为图形添加了色彩鲜明的彩色边缘。
示例
python
#此示例显示图表工作表 Chart1 图表区发光的透明度
def test():
chartformat = Application.Charts.Item("Chart1").ChartObjects(1).Chart.ChartArea.Format
print(chartformat.Glow.Transparency)
python
#此示例设置工作表 Sheet1 中第一个内嵌图表区的发光效果的半径值为 1 磅
def test():
chartformat = Application.Worksheets.Item("Sheet1").ChartObjects(1).Chart.ChartArea.Format
chartformat.Glow.Radius = 1