Syntax

expression.SchemeColor

expression A variable that represents a ChartColorFormat object.

Example

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

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

See also: