# C1.Win.C1Chart.Axis.ResetForeColor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Chart_Axis_ResetForeColor_" data-uid="C1.Win.C1Chart.Axis.ResetForeColor*">ResetForeColor Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Chart_Axis_ResetForeColor_" data-uid="C1.Win.C1Chart.Axis.ResetForeColor*"></a>
<h4 id="C1_Win_C1Chart_Axis_ResetForeColor" data-uid="C1.Win.C1Chart.Axis.ResetForeColor">ResetForeColor()</h4>
<div class="markdown level1 summary"><p>Resets the inheritance state of the axis forecolor.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void ResetForeColor()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub ResetForeColor()</code></pre>
</div>
<h5 id="C1_Win_C1Chart_Axis_ResetForeColor_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>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.</p>
</div>
<h5 id="C1_Win_C1Chart_Axis_ResetForeColor_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.Win.C1Chart.Axis.html">Axis</a></div>
</div>
</div>
