# C1.Win.FlexReport.ChartField

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_FlexReport_ChartField" data-uid="C1.Win.FlexReport.ChartField" class="text-break">ChartField Class
</h1>
  <div class="markdown level0 summary"><p>Represents a report field with a chart.</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"><span class="xref">ChartField</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.FlexReport.html">C1.Win.FlexReport</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.FlexReport.4.8.dll</h6>
  <h5 id="C1_Win_FlexReport_ChartField_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ChartFieldTypeConverter))]
public class ChartField : FieldBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ChartFieldTypeConverter))&gt;
Public Class ChartField
    Inherits FieldBase</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_Win_FlexReport_ChartField__ctor" data-uid="C1.Win.FlexReport.ChartField.#ctor">
          <a class="xref" href="C1.Win.FlexReport.ChartField.-ctor.html#C1_Win_FlexReport_ChartField__ctor">ChartField()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of ChartField object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</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_ChartField_s_PropsTable" data-uid="C1.Win.FlexReport.ChartField.s_PropsTable">
          <a class="xref" href="C1.Win.FlexReport.ChartField.s_PropsTable.html">s_PropsTable</a>
        </td>
        <td class="markdown level1 summary"></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_Win_FlexReport_ChartField_ChartArea2D" data-uid="C1.Win.FlexReport.ChartField.ChartArea2D">
          <a class="xref" href="C1.Win.FlexReport.ChartField.ChartArea2D.html#C1_Win_FlexReport_ChartField_ChartArea2D">ChartArea2D</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the chart area of a 2D chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_ChartArea3D" data-uid="C1.Win.FlexReport.ChartField.ChartArea3D">
          <a class="xref" href="C1.Win.FlexReport.ChartField.ChartArea3D.html#C1_Win_FlexReport_ChartField_ChartArea3D">ChartArea3D</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the chart area of a 3D chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_ChartGroups2D" data-uid="C1.Win.FlexReport.ChartField.ChartGroups2D">
          <a class="xref" href="C1.Win.FlexReport.ChartField.ChartGroups2D.html#C1_Win_FlexReport_ChartField_ChartGroups2D">ChartGroups2D</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the chart groups of a 2D chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_ChartGroups3D" data-uid="C1.Win.FlexReport.ChartField.ChartGroups3D">
          <a class="xref" href="C1.Win.FlexReport.ChartField.ChartGroups3D.html#C1_Win_FlexReport_ChartField_ChartGroups3D">ChartGroups3D</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the chart groups of a 3D chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_ChartLabels" data-uid="C1.Win.FlexReport.ChartField.ChartLabels">
          <a class="xref" href="C1.Win.FlexReport.ChartField.ChartLabels.html#C1_Win_FlexReport_ChartField_ChartLabels">ChartLabels</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ChartLabels object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_ColorGeneration" data-uid="C1.Win.FlexReport.ChartField.ColorGeneration">
          <a class="xref" href="C1.Win.FlexReport.ChartField.ColorGeneration.html#C1_Win_FlexReport_ChartField_ColorGeneration">ColorGeneration</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the theme for automatic color generation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_DataColor" data-uid="C1.Win.FlexReport.ChartField.DataColor">
          <a class="xref" href="C1.Win.FlexReport.ChartField.DataColor.html#C1_Win_FlexReport_ChartField_DataColor">DataColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color for the chart bars, lines, symbols, or pie slices.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_DataSource" data-uid="C1.Win.FlexReport.ChartField.DataSource">
          <a class="xref" href="C1.Win.FlexReport.ChartField.DataSource.html#C1_Win_FlexReport_ChartField_DataSource">DataSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the data source for the chart.
The name must match a name of a data source in the report's DataSources collection.
Empty string indicates that the main data source will be used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_DefaultLabelStyle" data-uid="C1.Win.FlexReport.ChartField.DefaultLabelStyle">
          <a class="xref" href="C1.Win.FlexReport.ChartField.DefaultLabelStyle.html#C1_Win_FlexReport_ChartField_DefaultLabelStyle">DefaultLabelStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ChartLabels default style. (This is a shortcut to ChartLabels.DefaultLabelStyle.)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_DefaultStyle" data-uid="C1.Win.FlexReport.ChartField.DefaultStyle">
          <a class="xref" href="C1.Win.FlexReport.ChartField.DefaultStyle.html#C1_Win_FlexReport_ChartField_DefaultStyle">DefaultStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the chart style.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_FilterExpression" data-uid="C1.Win.FlexReport.ChartField.FilterExpression">
          <a class="xref" href="C1.Win.FlexReport.ChartField.FilterExpression.html#C1_Win_FlexReport_ChartField_FilterExpression">FilterExpression</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the data source filter expression (only available when a non-default data source is used).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_Footer" data-uid="C1.Win.FlexReport.ChartField.Footer">
          <a class="xref" href="C1.Win.FlexReport.ChartField.Footer.html#C1_Win_FlexReport_ChartField_Footer">Footer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the footer object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_FooterStyle" data-uid="C1.Win.FlexReport.ChartField.FooterStyle">
          <a class="xref" href="C1.Win.FlexReport.ChartField.FooterStyle.html#C1_Win_FlexReport_ChartField_FooterStyle">FooterStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Footer style. (This is a shortcut to Footer.Style.)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_Header" data-uid="C1.Win.FlexReport.ChartField.Header">
          <a class="xref" href="C1.Win.FlexReport.ChartField.Header.html#C1_Win_FlexReport_ChartField_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the header object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_HeaderStyle" data-uid="C1.Win.FlexReport.ChartField.HeaderStyle">
          <a class="xref" href="C1.Win.FlexReport.ChartField.HeaderStyle.html#C1_Win_FlexReport_ChartField_HeaderStyle">HeaderStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Header style. (This is a shortcut to Header.Style.)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_ImageType" data-uid="C1.Win.FlexReport.ChartField.ImageType">
          <a class="xref" href="C1.Win.FlexReport.ChartField.ImageType.html#C1_Win_FlexReport_ChartField_ImageType">ImageType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of image generated by the chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_Legend" data-uid="C1.Win.FlexReport.ChartField.Legend">
          <a class="xref" href="C1.Win.FlexReport.ChartField.Legend.html#C1_Win_FlexReport_ChartField_Legend">Legend</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the legend object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_LegendStyle" data-uid="C1.Win.FlexReport.ChartField.LegendStyle">
          <a class="xref" href="C1.Win.FlexReport.ChartField.LegendStyle.html#C1_Win_FlexReport_ChartField_LegendStyle">LegendStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the Legend style. (This is a shortcut to Legend.Style.)</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_Palette" data-uid="C1.Win.FlexReport.ChartField.Palette">
          <a class="xref" href="C1.Win.FlexReport.ChartField.Palette.html#C1_Win_FlexReport_ChartField_Palette">Palette</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the collection of colors to be used for each series (or pie slices).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_UseAntiAliasedGraphics" data-uid="C1.Win.FlexReport.ChartField.UseAntiAliasedGraphics">
          <a class="xref" href="C1.Win.FlexReport.ChartField.UseAntiAliasedGraphics.html#C1_Win_FlexReport_ChartField_UseAntiAliasedGraphics">UseAntiAliasedGraphics</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to use anti-aliasing while rendering chart graphics (only).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_UseAntiAliasedText" data-uid="C1.Win.FlexReport.ChartField.UseAntiAliasedText">
          <a class="xref" href="C1.Win.FlexReport.ChartField.UseAntiAliasedText.html#C1_Win_FlexReport_ChartField_UseAntiAliasedText">UseAntiAliasedText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to use anti-aliasing while rendering chart text (only).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_UseGrayscale" data-uid="C1.Win.FlexReport.ChartField.UseGrayscale">
          <a class="xref" href="C1.Win.FlexReport.ChartField.UseGrayscale.html#C1_Win_FlexReport_ChartField_UseGrayscale">UseGrayscale</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to render the chart in grayscale instead of in color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_VisualEffects" data-uid="C1.Win.FlexReport.ChartField.VisualEffects">
          <a class="xref" href="C1.Win.FlexReport.ChartField.VisualEffects.html#C1_Win_FlexReport_ChartField_VisualEffects">VisualEffects</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ChartVisualEffects object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_VisualizationType" data-uid="C1.Win.FlexReport.ChartField.VisualizationType">
          <a class="xref" href="C1.Win.FlexReport.ChartField.VisualizationType.html#C1_Win_FlexReport_ChartField_VisualizationType">VisualizationType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the chart visualization type (2D or 3D).</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_ChartField_AfterRender" data-uid="C1.Win.FlexReport.ChartField.AfterRender">
          <a class="xref" href="C1.Win.FlexReport.ChartField.AfterRender.html#C1_Win_FlexReport_ChartField_AfterRender">AfterRender()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when report rendering finished.
Can be used to finalize object after rendering, release all resources using during rendering.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_AssignFrom_C1_Report_ReportObject_System_Boolean_" data-uid="C1.Win.FlexReport.ChartField.AssignFrom(C1.Report.ReportObject,System.Boolean)">
          <a class="xref" href="C1.Win.FlexReport.ChartField.AssignFrom.html#C1_Win_FlexReport_ChartField_AssignFrom_C1_Report_ReportObject_System_Boolean_">AssignFrom(ReportObject, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.Win.FlexReport.ChartField.html">ChartField</a> to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_BeforeRender" data-uid="C1.Win.FlexReport.ChartField.BeforeRender">
          <a class="xref" href="C1.Win.FlexReport.ChartField.BeforeRender.html#C1_Win_FlexReport_ChartField_BeforeRender">BeforeRender()</a>
        </td>
        <td class="markdown level1 summary"><p>Called where report rendering starts.
Can be used to initialize object before rendering.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_GetContentAutoHeight_System_Double_" data-uid="C1.Win.FlexReport.ChartField.GetContentAutoHeight(System.Double)">
          <a class="xref" href="C1.Win.FlexReport.ChartField.GetContentAutoHeight.html#C1_Win_FlexReport_ChartField_GetContentAutoHeight_System_Double_">GetContentAutoHeight(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Override this method to calculate the height of object on basis of its content,
this method is called when field can grow or shrink vertically.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_GetContentAutoSize_System_Double__System_Double__" data-uid="C1.Win.FlexReport.ChartField.GetContentAutoSize(System.Double@,System.Double@)">
          <a class="xref" href="C1.Win.FlexReport.ChartField.GetContentAutoSize.html#C1_Win_FlexReport_ChartField_GetContentAutoSize_System_Double__System_Double__">GetContentAutoSize(out double, out double)</a>
        </td>
        <td class="markdown level1 summary"><p>Override this method to calculate sizes of object on basis of its content,
this method is called when field can grow or shrink vertically and horizontally.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_GetContentAutoWidth_System_Double_" data-uid="C1.Win.FlexReport.ChartField.GetContentAutoWidth(System.Double)">
          <a class="xref" href="C1.Win.FlexReport.ChartField.GetContentAutoWidth.html#C1_Win_FlexReport_ChartField_GetContentAutoWidth_System_Double_">GetContentAutoWidth(double)</a>
        </td>
        <td class="markdown level1 summary"><p>Override this method to calculate the width of object on basis of its content,
this method is called when field can grow or shrink horizontally.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_GetPropsTable" data-uid="C1.Win.FlexReport.ChartField.GetPropsTable">
          <a class="xref" href="C1.Win.FlexReport.ChartField.GetPropsTable.html#C1_Win_FlexReport_ChartField_GetPropsTable">GetPropsTable()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_Import_C1_Document_Serialization_XmlNodeWrapperBase_" data-uid="C1.Win.FlexReport.ChartField.Import(C1.Document.Serialization.XmlNodeWrapperBase)">
          <a class="xref" href="C1.Win.FlexReport.ChartField.Import.html#C1_Win_FlexReport_ChartField_Import_C1_Document_Serialization_XmlNodeWrapperBase_">Import(XmlNodeWrapperBase)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_InternalBuildBrick_C1_Report_Rendering_SubSectionBrick_" data-uid="C1.Win.FlexReport.ChartField.InternalBuildBrick(C1.Report.Rendering.SubSectionBrick)">
          <a class="xref" href="C1.Win.FlexReport.ChartField.InternalBuildBrick.html#C1_Win_FlexReport_ChartField_InternalBuildBrick_C1_Report_Rendering_SubSectionBrick_">InternalBuildBrick(SubSectionBrick)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates <span class="xref">C1.Report.Rendering.BrickBase</span> descendant which passed to the C1FlexReport rendering engine to put on the pages.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_InternalRefreshBrick_C1_Report_Rendering_FieldBrickBase_" data-uid="C1.Win.FlexReport.ChartField.InternalRefreshBrick(C1.Report.Rendering.FieldBrickBase)">
          <a class="xref" href="C1.Win.FlexReport.ChartField.InternalRefreshBrick.html#C1_Win_FlexReport_ChartField_InternalRefreshBrick_C1_Report_Rendering_FieldBrickBase_">InternalRefreshBrick(FieldBrickBase)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_FlexReport_ChartField_ResetState" data-uid="C1.Win.FlexReport.ChartField.ResetState">
          <a class="xref" href="C1.Win.FlexReport.ChartField.ResetState.html#C1_Win_FlexReport_ChartField_ResetState">ResetState()</a>
        </td>
        <td class="markdown level1 summary"><p>Called when C1FlexReport starts calculation of the section containing this FieldBase.
Resets internal state of the field.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
