ComponentOne Chart for .NET (2.0) Search HelpCentral 

Axis.ResetForeColor Method

Resets the inheritance state of the axis forecolor.

[Visual Basic]

Public Sub ResetForeColor()

[C#]

public void ResetForeColor()

[Delphi]

public procedure ResetForeColor();

Remarks

This method resets the inheritance state of the axis forecolor. By default, the forecolor used for the axis is that specified by the ChartArea style. In the inherited state, any changes to the ChartArea style are reflected in the axis forecolor. However, if the forecolor for the axis is explicitly changed, changing the ChartArea style forecolor no longer affects the axis style. Calling ResetForecolor() restores the inherited state, so once again the forecolor used by the axis will be the same as that specified by the ChartArea style.

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.