# C1.Xamarin.Forms.Chart.Histogram

## Content

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



  <h1 id="C1_Xamarin_Forms_Chart_Histogram" data-uid="C1.Xamarin.Forms.Chart.Histogram" class="text-break">Histogram Class
</h1>
  <div class="markdown level0 summary"><p>Represents a histogram.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Xamarin.Forms.Chart.ChartSeries.html">ChartSeries</a></div>
    <div class="level2"><span class="xref">Histogram</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="C1.Xamarin.Forms.Chart.IHistogramSeries.html">IHistogramSeries</a></div>
  </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_Histogram_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Histogram : ChartSeries, IDisposable, IHistogramSeries</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_Histogram__ctor" data-uid="C1.Xamarin.Forms.Chart.Histogram.#ctor">
          <a class="xref" href="C1.Xamarin.Forms.Chart.Histogram.-ctor.html#C1_Xamarin_Forms_Chart_Histogram__ctor">Histogram()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an instance of Histogram class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_Histogram_BinWidth" data-uid="C1.Xamarin.Forms.Chart.Histogram.BinWidth">
          <a class="xref" href="C1.Xamarin.Forms.Chart.Histogram.BinWidth.html#C1_Xamarin_Forms_Chart_Histogram_BinWidth">BinWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a positive decimal number for the range of a bin.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_Histogram_GetValues_System_Int32_" data-uid="C1.Xamarin.Forms.Chart.Histogram.GetValues(System.Int32)">
          <a class="xref" href="C1.Xamarin.Forms.Chart.Histogram.GetValues.html#C1_Xamarin_Forms_Chart_Histogram_GetValues_System_Int32_">GetValues(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the array of data values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Xamarin_Forms_Chart_Histogram_OnItemsSourceChanged" data-uid="C1.Xamarin.Forms.Chart.Histogram.OnItemsSourceChanged">
          <a class="xref" href="C1.Xamarin.Forms.Chart.Histogram.OnItemsSourceChanged.html#C1_Xamarin_Forms_Chart_Histogram_OnItemsSourceChanged">OnItemsSourceChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Invoked when items source changes.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
