Series.InvertColor Property

Definition

Gets or sets the fill color for negative data points in a series.

public:
 property int InvertColor { int get(); void set(int value); };
public int InvertColor { get; set; }
Public Property InvertColor As Integer

Property Value

The fill color for negative data points in a series.

Remarks

Read/write.

The InvertColor property enables you to set the fill color for negative data points as a specific numeric, hexadecimal, octal, or RGB color value. To set the value as an RBG value, use the Visual Basic RGB function. Instead of using the InvertColor property, you can use the InvertColorIndex property, which uses a simpler set of integer values from the current color palette.

For the InvertColorproperty to have an effect, the InvertIfNegative property of the Series object must also be set to true.

Applies to