以 RGB 值返回或設(shè)置數(shù)據(jù)標志的前景顏色。僅適用于折線圖、散點圖和雷達圖。Long 類型,可讀寫。
示例
本示例設(shè)置第一個數(shù)據(jù)系列中第二個數(shù)據(jù)點的數(shù)據(jù)標志的背景色和前景色。
With myChart.SeriesCollection(1).Points(2)
.MarkerBackgroundColor = RGB(0,255,0) ' green
.MarkerForegroundColor = RGB(255,0,0) ' red
End With