Resets the inheritance state of the axis font.

Namespace:  C1.Win.C1Chart
Assembly:  C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)

Syntax

C#
public void ResetFont()
Visual Basic
Public Sub ResetFont

Remarks

This method resets the inheritance state of the axis font. By default, the font 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 font. However, if the font for the axis is explicitly changed, changing the ChartArea style font no longer affects the axis style. Calling ResetFont() restores the inherited state, so once again the font used by the axis will be the same as that specified by the ChartArea style.

See Also