ComponentOne Chart for .NET (2.0) Search HelpCentral 

Axis.ForeColor Property

Gets or sets the foreground color.

[Visual Basic]

Public Property ForeColor As Color

[C#]

public Color ForeColor {get;set;}

[Delphi]

public property ForeColor: Color read get_ForeColor write set_ForeColor;

Remarks

Inherits from the C1.Win.C1Chart.ChartArea. The ForeColor is used to set the color of the axis line and annotations.

Associated with the ForeColor Property, is the ResetForeColor() method. This method restores the inheritance state for the axis forecolor. If a forecolor is explicitly set for an axis, it no longer inherits from the ChartArea, so changing the ChartArea forecolor no longer affects or changes the axis value. Calling ResetForecolor () restores the inherited state so changes to the ChartArea font will once again change the axis forecolor.

See Also

Axis Class | Axis Members | C1.Win.C1Chart Namespace | Axis Class


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.