# C1.Win.C1Chart.Axis.Max

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Chart_Axis_Max_" data-uid="C1.Win.C1Chart.Axis.Max*">Max Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Chart_Axis_Max_" data-uid="C1.Win.C1Chart.Axis.Max*"></a>
<h4 id="C1_Win_C1Chart_Axis_Max" data-uid="C1.Win.C1Chart.Axis.Max">Max</h4>
<div class="markdown level1 summary"><p>Gets or sets the maximum value of the axis.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public double Max { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Max As Double</code></pre>
</div>
<h5 id="C1_Win_C1Chart_Axis_Max_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Setting the Max property automatically changes <a class="xref" href="C1.Win.C1Chart.Axis.AutoMax.html#C1_Win_C1Chart_Axis_AutoMax">AutoMax</a> to false.
If the Max value is set to a new value, which is less than the current
value of the <a class="xref" href="C1.Win.C1Chart.Axis.Min.html#C1_Win_C1Chart_Axis_Min">Min</a> property,
then the <a class="xref" href="C1.Win.C1Chart.Axis.Min.html#C1_Win_C1Chart_Axis_Min">Min</a> property is also reset to a new value,
which maintains the same difference between the current Max and Min values.</p>
</div>
<h5 id="C1_Win_C1Chart_Axis_Max_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.Win.C1Chart.Axis.html">Axis</a></div>
</div>
</div>
