# C1.Win.FlexReport.Chart.ChartData

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexReport_Chart_ChartData" data-uid="C1.Win.FlexReport.Chart.ChartData" class="text-break">ChartData Class
</h1>
  <div class="markdown level0 summary"><p>Represents the chart data definition of one chart group.</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.Win.FlexReport.Chart.ChartObject.html">ChartObject</a></div>
    <div class="level2"><span class="xref">ChartData</span></div>
      <div class="level3"><a class="xref" href="C1.Win.FlexReport.Chart.Chart2DData.html">Chart2DData</a></div>
      <div class="level3"><a class="xref" href="C1.Win.FlexReport.Chart.Chart3DData.html">Chart3DData</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><span class="xref">IC1Serializable</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexReport.Chart.html">C1.Win.FlexReport.Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexReport.4.8.dll</h6>
  <h5 id="C1_Win_FlexReport_Chart_ChartData_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ChartData : ChartObject, INotifyPropertyChanged, IC1Serializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ChartData
    Inherits ChartObject
    Implements INotifyPropertyChanged, IC1Serializable</code></pre>
  </div>
  <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_Win_FlexReport_Chart_ChartData_CategoryGroups" data-uid="C1.Win.FlexReport.Chart.ChartData.CategoryGroups">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartData.CategoryGroups.html#C1_Win_FlexReport_Chart_ChartData_CategoryGroups">CategoryGroups</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of category groups which provide labels for X-Axis.
Empty collection means group all records in one group.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartData_ColorMode" data-uid="C1.Win.FlexReport.Chart.ChartData.ColorMode">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartData.ColorMode.html#C1_Win_FlexReport_Chart_ChartData_ColorMode">ColorMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the mode for setting the color of each category and series.</p>
<p>
Available for 2D Bar, Pie, Candle, Gantt, HiLo, HiLoOpenClose, Line, Radar, and Step chart types 
and 3D Bar chart type.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartData_Hole" data-uid="C1.Win.FlexReport.Chart.ChartData.Hole">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartData.Hole.html#C1_Win_FlexReport_Chart_ChartData_Hole">Hole</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data hole value.
Data holes are used as placeholders for data points that indicate data is normally present
but not in this case.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartData_IsForEachRecord" data-uid="C1.Win.FlexReport.Chart.ChartData.IsForEachRecord">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartData.IsForEachRecord.html#C1_Win_FlexReport_Chart_ChartData_IsForEachRecord">IsForEachRecord</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the data is selected by each record.
By default, the data is grouped by CategoryGroups.
If this is true, the data is not grouped and the first category group provides labels in X-Axis.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartData_SeriesGroups" data-uid="C1.Win.FlexReport.Chart.ChartData.SeriesGroups">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartData.SeriesGroups.html#C1_Win_FlexReport_Chart_ChartData_SeriesGroups">SeriesGroups</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of optional series group for extra levels of data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_Chart_ChartData_SeriesValues" data-uid="C1.Win.FlexReport.Chart.ChartData.SeriesValues">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartData.SeriesValues.html#C1_Win_FlexReport_Chart_ChartData_SeriesValues">SeriesValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of series values which define the template of each series.</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_Win_FlexReport_Chart_ChartData_AssignFrom_C1_Win_FlexReport_Chart_ChartObject_" data-uid="C1.Win.FlexReport.Chart.ChartData.AssignFrom(C1.Win.FlexReport.Chart.ChartObject)">
          <a class="xref" href="C1.Win.FlexReport.Chart.ChartData.AssignFrom.html#C1_Win_FlexReport_Chart_ChartData_AssignFrom_C1_Win_FlexReport_Chart_ChartObject_">AssignFrom(ChartObject)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.
Assigns (copies) properties from another <a class="xref" href="C1.Win.FlexReport.Chart.ChartObject.html">ChartObject</a> to the current object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
