# C1.Web.Mvc.Fluent.ChartAnimationExtension.ShowAnimation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_Fluent_ChartAnimationExtension_ShowAnimation_" data-uid="C1.Web.Mvc.Fluent.ChartAnimationExtension.ShowAnimation*">ShowAnimation Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_Fluent_ChartAnimationExtension_ShowAnimation_" data-uid="C1.Web.Mvc.Fluent.ChartAnimationExtension.ShowAnimation*"></a>
<h4 id="C1_Web_Mvc_Fluent_ChartAnimationExtension_ShowAnimation__3_C1_Web_Mvc_Fluent_FlexChartBaseBuilder___0___1___2__System_Action_C1_Web_Mvc_Fluent_ChartAnimationBuilder___0___" data-uid="C1.Web.Mvc.Fluent.ChartAnimationExtension.ShowAnimation``3(C1.Web.Mvc.Fluent.FlexChartBaseBuilder{``0,``1,``2},System.Action{C1.Web.Mvc.Fluent.ChartAnimationBuilder{``0}})">ShowAnimation&lt;T, TControl, TChartBuilder&gt;(FlexChartBaseBuilder&lt;T, TControl, TChartBuilder&gt;, Action&lt;ChartAnimationBuilder&lt;T&gt;&gt;)</h4>
<div class="markdown level1 summary"><p>Apply the ChartAnimation extender in the chart.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static TChartBuilder ShowAnimation&lt;T, TControl, TChartBuilder&gt;(this FlexChartBaseBuilder&lt;T, TControl, TChartBuilder&gt; chartBuilder, Action&lt;ChartAnimationBuilder&lt;T&gt;&gt; animationBuilder = null) where TControl : FlexChartBase&lt;T&gt;, IAnimatable where TChartBuilder : FlexChartBaseBuilder&lt;T, TControl, TChartBuilder&gt;</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function ShowAnimation(Of T, TControl As {FlexChartBase(Of T), IAnimatable}, TChartBuilder As FlexChartBaseBuilder(Of T, TControl, TChartBuilder))(chartBuilder As FlexChartBaseBuilder(Of T, TControl, TChartBuilder), Optional animationBuilder As Action(Of ChartAnimationBuilder(Of T)) = Nothing) As TChartBuilder</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="C1.Web.Mvc.Fluent.FlexChartBaseBuilder-3.html">FlexChartBaseBuilder</a>&lt;T, TControl, TChartBuilder&gt;</td>
      <td><span class="parametername">chartBuilder</span></td>
      <td><p>The specified chart builder.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="C1.Web.Mvc.Fluent.ChartAnimationBuilder-1.html">ChartAnimationBuilder</a>&lt;T&gt;&gt;</td>
      <td><span class="parametername">animationBuilder</span></td>
      <td><p>The action to set the ChartAnimation.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">TChartBuilder</span></td>
      <td><p>Current builder.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">T</span></td>
      <td><p>The type of data.</p>
</td>
    </tr>
    <tr>
      <td><span class="parametername">TControl</span></td>
      <td><p>The type of the chart control which inherits from FlexChartBase.</p>
</td>
    </tr>
    <tr>
      <td><span class="parametername">TChartBuilder</span></td>
      <td><p>The type of the chart builder which inherits from FlexChartBaseBuilder.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
