MarkerBackgroundColor 属性

       

以 RGB 值返回或设置数据标志的背景颜色。仅应用于折线图、散点图和雷达图。Long 类型,可读写。

示例

本示例为 Chart1 中第一个数据系列的第二个数据点的标记设置背景颜色和前景颜色。

With Charts("Chart1").SeriesCollection(1).Points(2)
    .MarkerBackgroundColor = RGB(0,255,0)    ' green
    .MarkerForegroundColor = RGB(255,0,0)    ' red
End With