# GrapeCity.ActiveReports.Chart.DataPoint.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor*">DataPoint Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_DataPoint__ctor" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor">DataPoint()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPoint.html">DataPoint</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataPoint()</code></pre>
</div>


<a id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_System_Int32_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor(System.Int32)">DataPoint(int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPoint.html">DataPoint</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataPoint(int yValuesCount)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">yValuesCount</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_System_Object_GrapeCity_ActiveReports_Chart_DoubleArray_System_Boolean_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor(System.Object,GrapeCity.ActiveReports.Chart.DoubleArray,System.Boolean)">DataPoint(object, DoubleArray, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPoint.html">DataPoint</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataPoint(object xValue, DoubleArray yValues, bool isEmpty)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">xValue</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.DoubleArray.html">DoubleArray</a></td>
      <td><span class="parametername">yValues</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isEmpty</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_System_Object_GrapeCity_ActiveReports_Chart_DoubleArray_System_Boolean_System_Boolean_System_String_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor(System.Object,GrapeCity.ActiveReports.Chart.DoubleArray,System.Boolean,System.Boolean,System.String)">DataPoint(object, DoubleArray, bool, bool, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPoint.html">DataPoint</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataPoint(object xValue, DoubleArray yValues, bool isEmpty, bool displayInLegend, string legendText)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">xValue</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.DoubleArray.html">DoubleArray</a></td>
      <td><span class="parametername">yValues</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isEmpty</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">displayInLegend</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">legendText</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_System_Object_GrapeCity_ActiveReports_Chart_DoubleArray_System_Boolean_GrapeCity_ActiveReports_Chart_CustomProperties_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor(System.Object,GrapeCity.ActiveReports.Chart.DoubleArray,System.Boolean,GrapeCity.ActiveReports.Chart.CustomProperties)">DataPoint(object, DoubleArray, bool, CustomProperties)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPoint.html">DataPoint</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataPoint(object xValue, DoubleArray yValues, bool isEmpty, CustomProperties properties)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">xValue</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.DoubleArray.html">DoubleArray</a></td>
      <td><span class="parametername">yValues</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isEmpty</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.CustomProperties.html">CustomProperties</a></td>
      <td><span class="parametername">properties</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_System_Object_GrapeCity_ActiveReports_Chart_DoubleArray_System_Boolean_GrapeCity_ActiveReports_Chart_CustomProperties_System_Boolean_System_String_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor(System.Object,GrapeCity.ActiveReports.Chart.DoubleArray,System.Boolean,GrapeCity.ActiveReports.Chart.CustomProperties,System.Boolean,System.String)">DataPoint(object, DoubleArray, bool, CustomProperties, bool, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Chart.DataPoint.html">DataPoint</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataPoint(object xValue, DoubleArray yValues, bool isEmpty, CustomProperties properties, bool displayInLegend, string legendText)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">xValue</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.DoubleArray.html">DoubleArray</a></td>
      <td><span class="parametername">yValues</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">isEmpty</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.CustomProperties.html">CustomProperties</a></td>
      <td><span class="parametername">properties</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">displayInLegend</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">legendText</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_System_String_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor(System.String)">DataPoint(string)</h4>
<div class="markdown level1 summary"><p>For internal use only.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataPoint(string xml)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">xml</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Chart_DataPoint__ctor_System_String_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_" data-uid="GrapeCity.ActiveReports.Chart.DataPoint.#ctor(System.String,GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext)">DataPoint(string, GraphXmlSerializationContext)</h4>
<div class="markdown level1 summary"><p>For internal use only.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DataPoint(string xml, GraphXmlSerializationContext context)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">xml</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext.html">GraphXmlSerializationContext</a></td>
      <td><span class="parametername">context</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
