BackColor Property

Microsoft Graph Visual Basic

Returns a ChartColorFormat object that represents the fill background 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