# C1.WPF.Pivot.FlexPivotChart

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Pivot_FlexPivotChart" data-uid="C1.WPF.Pivot.FlexPivotChart" class="text-break">FlexPivotChart Class
</h1>
  <div class="markdown level0 summary"><p>Custom chart control for visualizing FlexPivot data.</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="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level5"><span class="xref">FlexPivotChart</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Pivot.html">C1.WPF.Pivot</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Pivot.dll</h6>
  <h5 id="C1_WPF_Pivot_FlexPivotChart_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TemplatePart(Name = &quot;Root&quot;, Type = typeof(Grid))]
[TemplatePart(Name = &quot;Chart&quot;, Type = typeof(FlexChart))]
[TemplatePart(Name = &quot;Title&quot;, Type = typeof(TextBlock))]
public class FlexPivotChart : Control, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TemplatePart(Name:=&quot;Root&quot;, Type:=GetType(Grid))&gt;
&lt;TemplatePart(Name:=&quot;Chart&quot;, Type:=GetType(FlexChart))&gt;
&lt;TemplatePart(Name:=&quot;Title&quot;, Type:=GetType(TextBlock))&gt;
Public Class FlexPivotChart
    Inherits Control
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable</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_WPF_Pivot_FlexPivotChart__ctor" data-uid="C1.WPF.Pivot.FlexPivotChart.#ctor">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.-ctor.html#C1_WPF_Pivot_FlexPivotChart__ctor">FlexPivotChart()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.html">FlexPivotChart</a> class.</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_WPF_Pivot_FlexPivotChart_ChartTotalsProperty" data-uid="C1.WPF.Pivot.FlexPivotChart.ChartTotalsProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ChartTotalsProperty.html">ChartTotalsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ChartTotals.html#C1_WPF_Pivot_FlexPivotChart_ChartTotals">ChartTotals</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ChartTypeProperty" data-uid="C1.WPF.Pivot.FlexPivotChart.ChartTypeProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ChartTypeProperty.html">ChartTypeProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ChartType.html#C1_WPF_Pivot_FlexPivotChart_ChartType">ChartType</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_DataSourceProperty" data-uid="C1.WPF.Pivot.FlexPivotChart.DataSourceProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.DataSourceProperty.html">DataSourceProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.DataSource.html#C1_WPF_Pivot_FlexPivotChart_DataSource">DataSource</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_MaxPointsProperty" data-uid="C1.WPF.Pivot.FlexPivotChart.MaxPointsProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.MaxPointsProperty.html">MaxPointsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.MaxPoints.html#C1_WPF_Pivot_FlexPivotChart_MaxPoints">MaxPoints</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_MaxSeriesProperty" data-uid="C1.WPF.Pivot.FlexPivotChart.MaxSeriesProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.MaxSeriesProperty.html">MaxSeriesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.MaxSeries.html#C1_WPF_Pivot_FlexPivotChart_MaxSeries">MaxSeries</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_PaletteProperty" data-uid="C1.WPF.Pivot.FlexPivotChart.PaletteProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.PaletteProperty.html">PaletteProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.Palette.html#C1_WPF_Pivot_FlexPivotChart_Palette">Palette</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ScrollPointsProperty" data-uid="C1.WPF.Pivot.FlexPivotChart.ScrollPointsProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ScrollPointsProperty.html">ScrollPointsProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ScrollPoints.html#C1_WPF_Pivot_FlexPivotChart_ScrollPoints">ScrollPoints</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ShowGridLinesProperty" data-uid="C1.WPF.Pivot.FlexPivotChart.ShowGridLinesProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ShowGridLinesProperty.html">ShowGridLinesProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ShowGridLines.html#C1_WPF_Pivot_FlexPivotChart_ShowGridLines">ShowGridLines</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ShowLegendProperty" data-uid="C1.WPF.Pivot.FlexPivotChart.ShowLegendProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ShowLegendProperty.html">ShowLegendProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ShowLegend.html#C1_WPF_Pivot_FlexPivotChart_ShowLegend">ShowLegend</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ShowTitleProperty" data-uid="C1.WPF.Pivot.FlexPivotChart.ShowTitleProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ShowTitleProperty.html">ShowTitleProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ShowTitle.html#C1_WPF_Pivot_FlexPivotChart_ShowTitle">ShowTitle</a> dependency property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_StackedProperty" data-uid="C1.WPF.Pivot.FlexPivotChart.StackedProperty">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.StackedProperty.html">StackedProperty</a>
        </td>
        <td class="markdown level1 summary"><p>Identifies the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.Stacked.html#C1_WPF_Pivot_FlexPivotChart_Stacked">Stacked</a> dependency property.</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_WPF_Pivot_FlexPivotChart_ChartControl" data-uid="C1.WPF.Pivot.FlexPivotChart.ChartControl">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ChartControl.html#C1_WPF_Pivot_FlexPivotChart_ChartControl">ChartControl</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a reference to the inner <b>C1Chart</b> control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ChartTitle" data-uid="C1.WPF.Pivot.FlexPivotChart.ChartTitle">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ChartTitle.html#C1_WPF_Pivot_FlexPivotChart_ChartTitle">ChartTitle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the title of the FlexPivotChart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ChartTotals" data-uid="C1.WPF.Pivot.FlexPivotChart.ChartTotals">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ChartTotals.html#C1_WPF_Pivot_FlexPivotChart_ChartTotals">ChartTotals</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the chart should include only totals.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ChartType" data-uid="C1.WPF.Pivot.FlexPivotChart.ChartType">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ChartType.html#C1_WPF_Pivot_FlexPivotChart_ChartType">ChartType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the type of chart to create.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_DataSource" data-uid="C1.WPF.Pivot.FlexPivotChart.DataSource">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.DataSource.html#C1_WPF_Pivot_FlexPivotChart_DataSource">DataSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.WPF.Pivot.FlexPivotPanel.html">FlexPivotPanel</a> that provides the data for this <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.html">FlexPivotChart</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_IsDisposed" data-uid="C1.WPF.Pivot.FlexPivotChart.IsDisposed">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.IsDisposed.html#C1_WPF_Pivot_FlexPivotChart_IsDisposed">IsDisposed</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether this instance is disposed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_MaxPoints" data-uid="C1.WPF.Pivot.FlexPivotChart.MaxPoints">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.MaxPoints.html#C1_WPF_Pivot_FlexPivotChart_MaxPoints">MaxPoints</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum number of points that will be shown in each series.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_MaxSeries" data-uid="C1.WPF.Pivot.FlexPivotChart.MaxSeries">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.MaxSeries.html#C1_WPF_Pivot_FlexPivotChart_MaxSeries">MaxSeries</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum number of data series that will be shown in the chart.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_Palette" data-uid="C1.WPF.Pivot.FlexPivotChart.Palette">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.Palette.html#C1_WPF_Pivot_FlexPivotChart_Palette">Palette</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <span class="xref">C1.Chart.Palette</span> that defines the colors used for the chart series.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ScrollPoints" data-uid="C1.WPF.Pivot.FlexPivotChart.ScrollPoints">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ScrollPoints.html#C1_WPF_Pivot_FlexPivotChart_ScrollPoints">ScrollPoints</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the chart should display an axis scroll bar when the number of data points is greater than MaxPoints.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ShowGridLines" data-uid="C1.WPF.Pivot.FlexPivotChart.ShowGridLines">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ShowGridLines.html#C1_WPF_Pivot_FlexPivotChart_ShowGridLines">ShowGridLines</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the chart should include gridlines along the X axis.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ShowLegend" data-uid="C1.WPF.Pivot.FlexPivotChart.ShowLegend">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ShowLegend.html#C1_WPF_Pivot_FlexPivotChart_ShowLegend">ShowLegend</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the chart should include a legend.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ShowTitle" data-uid="C1.WPF.Pivot.FlexPivotChart.ShowTitle">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ShowTitle.html#C1_WPF_Pivot_FlexPivotChart_ShowTitle">ShowTitle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the chart should include a title.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_Stacked" data-uid="C1.WPF.Pivot.FlexPivotChart.Stacked">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.Stacked.html#C1_WPF_Pivot_FlexPivotChart_Stacked">Stacked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the series should be stacked or placed side-by-side.</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_WPF_Pivot_FlexPivotChart_ChartToCanvas_C1_WPF_Pivot_FlexPivotChart_System_Windows_Rect_" data-uid="C1.WPF.Pivot.FlexPivotChart.ChartToCanvas(C1.WPF.Pivot.FlexPivotChart,System.Windows.Rect)">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ChartToCanvas.html#C1_WPF_Pivot_FlexPivotChart_ChartToCanvas_C1_WPF_Pivot_FlexPivotChart_System_Windows_Rect_">ChartToCanvas(FlexPivotChart, Rect)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_Dispose" data-uid="C1.WPF.Pivot.FlexPivotChart.Dispose">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.Dispose.html#C1_WPF_Pivot_FlexPivotChart_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_Dispose_System_Boolean_" data-uid="C1.WPF.Pivot.FlexPivotChart.Dispose(System.Boolean)">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.Dispose.html#C1_WPF_Pivot_FlexPivotChart_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_Finalize" data-uid="C1.WPF.Pivot.FlexPivotChart.Finalize">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.Finalize.html#C1_WPF_Pivot_FlexPivotChart_Finalize">Finalize()</a>
        </td>
        <td class="markdown level1 summary"><p>Finalizes this instance of the <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.html">FlexPivotChart</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_OnApplyTemplate" data-uid="C1.WPF.Pivot.FlexPivotChart.OnApplyTemplate">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.OnApplyTemplate.html#C1_WPF_Pivot_FlexPivotChart_OnApplyTemplate">OnApplyTemplate()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ReadXml_System_String_" data-uid="C1.WPF.Pivot.FlexPivotChart.ReadXml(System.String)">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ReadXml.html#C1_WPF_Pivot_FlexPivotChart_ReadXml_System_String_">ReadXml(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads the control settings from a file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_ReadXml_System_Xml_XmlReader_" data-uid="C1.WPF.Pivot.FlexPivotChart.ReadXml(System.Xml.XmlReader)">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.ReadXml.html#C1_WPF_Pivot_FlexPivotChart_ReadXml_System_Xml_XmlReader_">ReadXml(XmlReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads the control settings from an <span class="xref">System.Xml.XmlReader</span>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_UpdateChart" data-uid="C1.WPF.Pivot.FlexPivotChart.UpdateChart">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.UpdateChart.html#C1_WPF_Pivot_FlexPivotChart_UpdateChart">UpdateChart()</a>
        </td>
        <td class="markdown level1 summary"><p>Regenerates the chart using the current data.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_WriteXml_System_String_" data-uid="C1.WPF.Pivot.FlexPivotChart.WriteXml(System.String)">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.WriteXml.html#C1_WPF_Pivot_FlexPivotChart_WriteXml_System_String_">WriteXml(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the control settings into an Xml file.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Pivot_FlexPivotChart_WriteXml_System_Xml_XmlWriter_" data-uid="C1.WPF.Pivot.FlexPivotChart.WriteXml(System.Xml.XmlWriter)">
          <a class="xref" href="C1.WPF.Pivot.FlexPivotChart.WriteXml.html#C1_WPF_Pivot_FlexPivotChart_WriteXml_System_Xml_XmlWriter_">WriteXml(XmlWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the control settings into an <span class="xref">System.Xml.XmlWriter</span>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
