Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 389 Bytes

1c1eb700-672e-095d-826c-28cdb7e9de40.md

File metadata and controls

20 lines (12 loc) · 389 Bytes

ForeColor Property

Returns a ChartColorFormat object that represents the foreground fill color.

Example

This example sets the gradient, background color, and foreground color for the chart area fill.

With myChart.ChartArea.Fill 
 .Visible = True 
 .ForeColor.SchemeColor = 15 
 .BackColor.SchemeColor = 17 
 .TwoColorGradient msoGradientHorizontal, 1 
End With