[]
        
(Showing Draft Content)

C1.Win.C1Chart.Axis.ForeColor

ForeColor Property

ForeColor

Gets or sets the foreground color.

Declaration
public Color ForeColor { get; set; }
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