ForeColor Property

Applies To

ChartFillFormat object.

Description

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