# FarPoint.Win.Spread.Chart.SpreadChartUndoAction.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*">SpreadChartUndoAction Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_Chart_SpreadChart_FarPoint_Win_Chart_ChartModel_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.Chart.SpreadChart,FarPoint.Win.Chart.ChartModel)">SpreadChartUndoAction(SpreadChart, ChartModel)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(SpreadChart chart, ChartModel targetModel)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(chart As SpreadChart, targetModel As ChartModel)</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="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartModel.html">ChartModel</a></td>
      <td><span class="parametername">targetModel</span></td>
      <td><p>New type of the chart.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_Chart_SpreadChart_FarPoint_Win_Chart_ChartModel_FarPoint_Win_Chart_ChartViewType_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.Chart.SpreadChart,FarPoint.Win.Chart.ChartModel,FarPoint.Win.Chart.ChartViewType)">SpreadChartUndoAction(SpreadChart, ChartModel, ChartViewType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(SpreadChart chart, ChartModel targetModel, ChartViewType viewType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(chart As SpreadChart, targetModel As ChartModel, viewType As ChartViewType)</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="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartModel.html">ChartModel</a></td>
      <td><span class="parametername">targetModel</span></td>
      <td><p>The target model.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartViewType.html">ChartViewType</a></td>
      <td><span class="parametername">viewType</span></td>
      <td><p>Type of the view.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_Chart_SpreadChart_FarPoint_Win_Chart_Series_FarPoint_Win_Chart_ChartModel_FarPoint_Win_Chart_ChartViewType_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.Chart.SpreadChart,FarPoint.Win.Chart.Series,FarPoint.Win.Chart.ChartModel,FarPoint.Win.Chart.ChartViewType)">SpreadChartUndoAction(SpreadChart, Series, ChartModel, ChartViewType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(SpreadChart chart, Series sourceSeries, ChartModel targetSeriesModel, ChartViewType viewType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(chart As SpreadChart, sourceSeries As Series, targetSeriesModel As ChartModel, viewType As ChartViewType)</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="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.Series.html">Series</a></td>
      <td><span class="parametername">sourceSeries</span></td>
      <td><p>The source series.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartModel.html">ChartModel</a></td>
      <td><span class="parametername">targetSeriesModel</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartViewType.html">ChartViewType</a></td>
      <td><span class="parametername">viewType</span></td>
      <td><p>Type of the view.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_Chart_SpreadChart_FarPoint_Win_Spread_Chart_SheetCellRange_FarPoint_Win_Spread_Chart_SheetCellRange_FarPoint_Win_Spread_Chart_SheetCellRange_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.Chart.SpreadChart,FarPoint.Win.Spread.Chart.SheetCellRange,FarPoint.Win.Spread.Chart.SheetCellRange,FarPoint.Win.Spread.Chart.SheetCellRange)">SpreadChartUndoAction(SpreadChart, SheetCellRange, SheetCellRange, SheetCellRange)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(SpreadChart chart, SheetCellRange category, SheetCellRange seriesName, SheetCellRange data)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(chart As SpreadChart, category As SheetCellRange, seriesName As SheetCellRange, data As SheetCellRange)</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="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.SheetCellRange.html">SheetCellRange</a></td>
      <td><span class="parametername">category</span></td>
      <td><p>The category.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.SheetCellRange.html">SheetCellRange</a></td>
      <td><span class="parametername">seriesName</span></td>
      <td><p>Name of the series.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.SheetCellRange.html">SheetCellRange</a></td>
      <td><span class="parametername">data</span></td>
      <td><p>The data.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_Chart_SpreadChart_FarPoint_Win_Chart_ChartModel_FarPoint_Win_Spread_Chart_SpreadChartUndoAction_ActionType_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.Chart.SpreadChart,FarPoint.Win.Chart.ChartModel,FarPoint.Win.Spread.Chart.SpreadChartUndoAction.ActionType)">SpreadChartUndoAction(SpreadChart, ChartModel, ActionType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(SpreadChart chart, ChartModel newModel, SpreadChartUndoAction.ActionType actionType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(chart As SpreadChart, newModel As ChartModel, actionType As SpreadChartUndoAction.ActionType)</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="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartModel.html">ChartModel</a></td>
      <td><span class="parametername">newModel</span></td>
      <td><p>The new model.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a>.<a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.ActionType.html">ActionType</a></td>
      <td><span class="parametername">actionType</span></td>
      <td><p>Type of the action.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_Chart_SpreadChart_FarPoint_Win_Chart_ChartModel_FarPoint_Win_Chart_ChartViewType_FarPoint_Win_Spread_Chart_SpreadChartUndoAction_ActionType_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.Chart.SpreadChart,FarPoint.Win.Chart.ChartModel,FarPoint.Win.Chart.ChartViewType,FarPoint.Win.Spread.Chart.SpreadChartUndoAction.ActionType)">SpreadChartUndoAction(SpreadChart, ChartModel, ChartViewType, ActionType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(SpreadChart chart, ChartModel newModel, ChartViewType viewType, SpreadChartUndoAction.ActionType actionType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(chart As SpreadChart, newModel As ChartModel, viewType As ChartViewType, actionType As SpreadChartUndoAction.ActionType)</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="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartModel.html">ChartModel</a></td>
      <td><span class="parametername">newModel</span></td>
      <td><p>The new model.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartViewType.html">ChartViewType</a></td>
      <td><span class="parametername">viewType</span></td>
      <td><p>Type of the view.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a>.<a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.ActionType.html">ActionType</a></td>
      <td><span class="parametername">actionType</span></td>
      <td><p>Type of the action.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_Chart_SpreadChart_FarPoint_Win_Chart_ChartModel_FarPoint_Win_Spread_Chart_ChartDataSetting_FarPoint_Win_Spread_Chart_SpreadChartUndoAction_ActionType_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.Chart.SpreadChart,FarPoint.Win.Chart.ChartModel,FarPoint.Win.Spread.Chart.ChartDataSetting,FarPoint.Win.Spread.Chart.SpreadChartUndoAction.ActionType)">SpreadChartUndoAction(SpreadChart, ChartModel, ChartDataSetting, ActionType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(SpreadChart chart, ChartModel newModel, ChartDataSetting newDataSetting, SpreadChartUndoAction.ActionType actionType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(chart As SpreadChart, newModel As ChartModel, newDataSetting As ChartDataSetting, actionType As SpreadChartUndoAction.ActionType)</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="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartModel.html">ChartModel</a></td>
      <td><span class="parametername">newModel</span></td>
      <td><p>The new model.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.ChartDataSetting.html">ChartDataSetting</a></td>
      <td><span class="parametername">newDataSetting</span></td>
      <td><p>The data setting.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a>.<a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.ActionType.html">ActionType</a></td>
      <td><span class="parametername">actionType</span></td>
      <td><p>Type of the action.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_Chart_SpreadChart_FarPoint_Win_Chart_ChartViewType_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.Chart.SpreadChart,FarPoint.Win.Chart.ChartViewType)">SpreadChartUndoAction(SpreadChart, ChartViewType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(SpreadChart chart, ChartViewType chartViewType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(chart As SpreadChart, chartViewType As ChartViewType)</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="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../FarPoint.Win.Chart/FarPoint.Win.Chart.ChartViewType.html">ChartViewType</a></td>
      <td><span class="parametername">chartViewType</span></td>
      <td><p>Type of the chart view.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_Chart_SpreadChart_FarPoint_Win_Spread_Chart_SpreadChartUndoAction_ActionType_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.Chart.SpreadChart,FarPoint.Win.Spread.Chart.SpreadChartUndoAction.ActionType)">SpreadChartUndoAction(SpreadChart, ActionType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(SpreadChart chart, SpreadChartUndoAction.ActionType actionType)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(chart As SpreadChart, actionType As SpreadChartUndoAction.ActionType)</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="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a>.<a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.ActionType.html">ActionType</a></td>
      <td><span class="parametername">actionType</span></td>
      <td><p>Type of the action.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_Chart_SpreadChart_System_String_System_Int32_System_Boolean_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.Chart.SpreadChart,System.String,System.Int32,System.Boolean)">SpreadChartUndoAction(SpreadChart, string, int, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(SpreadChart chart, string newSheetName, int newSheetIndex, bool createNew)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(chart As SpreadChart, newSheetName As String, newSheetIndex As Integer, createNew As Boolean)</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="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">newSheetName</span></td>
      <td><p>New name of the sheet.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">newSheetIndex</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">createNew</span></td>
      <td><p>if set to <code>true</code> [create new].</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_Chart_ChartShape_System_Drawing_Rectangle_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.Chart.ChartShape,System.Drawing.Rectangle)">SpreadChartUndoAction(ChartShape, Rectangle)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(ChartShape chart, Rectangle newBounds)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(chart As ChartShape, newBounds As Rectangle)</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="FarPoint.Win.Spread.Chart.ChartShape.html">ChartShape</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">newBounds</span></td>
      <td><p>The new bounds.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_Chart_SpreadChartUndoAction__ctor_FarPoint_Win_Spread_SheetView_FarPoint_Win_Spread_Chart_SpreadChart_System_Drawing_Rectangle_" data-uid="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.#ctor(FarPoint.Win.Spread.SheetView,FarPoint.Win.Spread.Chart.SpreadChart,System.Drawing.Rectangle)">SpreadChartUndoAction(SheetView, SpreadChart, Rectangle)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChartUndoAction.html">SpreadChartUndoAction</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SpreadChartUndoAction(SheetView sheetView, SpreadChart chart, Rectangle newBounds)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(sheetView As SheetView, chart As SpreadChart, newBounds As Rectangle)</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="FarPoint.Win.Spread.SheetView.html">SheetView</a></td>
      <td><span class="parametername">sheetView</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.Spread.Chart.SpreadChart.html">SpreadChart</a></td>
      <td><span class="parametername">chart</span></td>
      <td><p>The chart.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">newBounds</span></td>
      <td><p>The new bounds.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
