# GrapeCity.ActiveReports.SectionReportModel.ChartControl

## Content

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



  <h1 id="GrapeCity_ActiveReports_SectionReportModel_ChartControl" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl" class="text-break">ChartControl Class
</h1>
  <div class="markdown level0 summary"><p>Wraps the SharpGraph as a ChartControl.</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="GrapeCity.ActiveReports.SectionReportModel.ARControl.html">ARControl</a></div>
    <div class="level2"><span class="xref">ChartControl</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Controls.Design.IPersistControl.html">IPersistControl</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.html">GrapeCity.ActiveReports.SectionReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[DefaultSize(3, 1.75)]
public sealed class ChartControl : ARControl, IComponent, IPersistControl, IDisposable, ISupportInitialize</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="GrapeCity_ActiveReports_SectionReportModel_ChartControl__ctor" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.-ctor.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl__ctor">ChartControl()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.html">ChartControl</a> 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="GrapeCity_ActiveReports_SectionReportModel_ChartControl_AutoRefresh" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.AutoRefresh">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.AutoRefresh.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_AutoRefresh">AutoRefresh</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the chart will be automatically refreshed (redrawn) for every property change.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_Backdrop" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Backdrop">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Backdrop.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_Backdrop">Backdrop</a>
        </td>
        <td class="markdown level1 summary"><p>Main chart's backdrop, spans all chart control area</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_BlackAndWhiteMode" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.BlackAndWhiteMode">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.BlackAndWhiteMode.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_BlackAndWhiteMode">BlackAndWhiteMode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the chart will be drawn in black and white using hatch patterns and line dashing to designate colors.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_ChartAreas" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ChartAreas">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ChartAreas.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_ChartAreas">ChartAreas</a>
        </td>
        <td class="markdown level1 summary"><p>A collection of ChartArea objects drawn in the chart control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_ChartBorder" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ChartBorder">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ChartBorder.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_ChartBorder">ChartBorder</a>
        </td>
        <td class="markdown level1 summary"><p>Main chart's border, spans all chart control area</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_ColorPalette" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ColorPalette">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ColorPalette.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_ColorPalette">ColorPalette</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color palette enumeration used for the series.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_ControlType" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ControlType">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ControlType.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_ControlType">ControlType</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_Culture" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Culture">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Culture.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_Culture">Culture</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the culture for the chart control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_DataSource" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.DataSource">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.DataSource.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_DataSource">DataSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the global data source for the chart.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_GridLayout" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.GridLayout">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.GridLayout.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_GridLayout">GridLayout</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the GridLayout object for the chart.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_ImageType" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ImageType">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ImageType.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_ImageType">ImageType</a>
        </td>
        <td class="markdown level1 summary"><p>Sets or returns the type of image to which the chart will be rendered on the report.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_Legends" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Legends">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Legends.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_Legends">Legends</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the legend object for the chart control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_Series" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Series">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Series.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_Series">Series</a>
        </td>
        <td class="markdown level1 summary"><p>Where chart gets it's data to display</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_Titles" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Titles">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Titles.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_Titles">Titles</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the titles collection for the SharpGraph object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_UIOptions" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.UIOptions">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.UIOptions.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_UIOptions">UIOptions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets specific user interface features for the chart.</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="GrapeCity_ActiveReports_SectionReportModel_ChartControl_Dispose" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Dispose.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_Dispose_System_Boolean_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Dispose(System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Dispose.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Releases unmanaged and - optionally - managed resources.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_Load_System_String_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Load(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Load.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_Load_System_String_">Load(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the chart from an xml file</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_QuickLoad_System_IO_BinaryReader_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.QuickLoad(System.IO.BinaryReader)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.QuickLoad.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_QuickLoad_System_IO_BinaryReader_">QuickLoad(BinaryReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Quick load</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_QuickSave_System_IO_BinaryWriter_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.QuickSave(System.IO.BinaryWriter)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.QuickSave.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_QuickSave_System_IO_BinaryWriter_">QuickSave(BinaryWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Quick Save</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_ReadXml_System_Xml_XmlNode_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ReadXml(System.Xml.XmlNode)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.ReadXml.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_ReadXml_System_Xml_XmlNode_">ReadXml(XmlNode)</a>
        </td>
        <td class="markdown level1 summary"><p>Read the graph layout from rpx</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_RenderCrossPlatform_GrapeCity_ActiveReports_Document_Section_DrawCanvas_System_Drawing_Rectangle_System_Drawing_PointF_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.RenderCrossPlatform(GrapeCity.ActiveReports.Document.Section.DrawCanvas,System.Drawing.Rectangle,System.Drawing.PointF)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.RenderCrossPlatform.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_RenderCrossPlatform_GrapeCity_ActiveReports_Document_Section_DrawCanvas_System_Drawing_Rectangle_System_Drawing_PointF_">RenderCrossPlatform(DrawCanvas, Rectangle, PointF)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_Restart" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Restart">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Restart.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_Restart">Restart()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the chart data source and restarts chart processing.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_Save_System_String_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Save(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.Save.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_Save_System_String_">Save(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the graph layout to a xml file.
The layout is inserted between &quot;Sharpgrah&quot; nodes.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_ChartControl_WriteXml_System_Xml_XmlElement_" data-uid="GrapeCity.ActiveReports.SectionReportModel.ChartControl.WriteXml(System.Xml.XmlElement)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.ChartControl.WriteXml.html#GrapeCity_ActiveReports_SectionReportModel_ChartControl_WriteXml_System_Xml_XmlElement_">WriteXml(XmlElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes graph layout to rpx</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
