BackColor Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.  

BackColor property as it applies to the ChartFillFormat object.

Returns a ChartColorFormat object that represents the specified fill background color. Read-only ChartColorFormat object.

expression.BackColor

expression   Required. An expression that returns one of the above objects.

 

BackColor property as it applies to the FillFormat and LineFormat objects.

Returns a ColorFormat object that represents the specified fill background color. Read/write ColorFormat object.

expression.BackColor

expression   Required. An expression that returns one of the above objects.

 

Example

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

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