# C1.Xamarin.Forms.Chart.HistogramBinning

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Xamarin_Forms_Chart_HistogramBinning" data-uid="C1.Xamarin.Forms.Chart.HistogramBinning" class="text-break">HistogramBinning Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the binning mode to define the bins of a Histogram.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Xamarin.Forms.Chart.html">C1.Xamarin.Forms.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Xamarin.Forms.Chart.dll</h6>
  <h5 id="C1_Xamarin_Forms_Chart_HistogramBinning_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum HistogramBinning</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_HistogramBinning_Automatic">Automatic</td>
        <td><p>The bin width will be calculated automatically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_HistogramBinning_BinWidth">BinWidth</td>
        <td><p>A positive decimal number for the range of a bin.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_HistogramBinning_NumberOfBins">NumberOfBins</td>
        <td><p>The number of bins for the histogram, including the overflow and underflow bins.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
