[]
        
(Showing Draft Content)

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

SpreadChartUndoAction Constructor

SpreadChartUndoAction(SpreadChart, ChartModel)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(SpreadChart chart, ChartModel targetModel)
Public Sub New(chart As SpreadChart, targetModel As ChartModel)
Parameters
Type Name Description
SpreadChart chart

The chart.

ChartModel targetModel

New type of the chart.

SpreadChartUndoAction(SpreadChart, ChartModel, ChartViewType)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(SpreadChart chart, ChartModel targetModel, ChartViewType viewType)
Public Sub New(chart As SpreadChart, targetModel As ChartModel, viewType As ChartViewType)
Parameters
Type Name Description
SpreadChart chart

The chart.

ChartModel targetModel

The target model.

ChartViewType viewType

Type of the view.

SpreadChartUndoAction(SpreadChart, Series, ChartModel, ChartViewType)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(SpreadChart chart, Series sourceSeries, ChartModel targetSeriesModel, ChartViewType viewType)
Public Sub New(chart As SpreadChart, sourceSeries As Series, targetSeriesModel As ChartModel, viewType As ChartViewType)
Parameters
Type Name Description
SpreadChart chart

The chart.

Series sourceSeries

The source series.

ChartModel targetSeriesModel
ChartViewType viewType

Type of the view.

SpreadChartUndoAction(SpreadChart, SheetCellRange, SheetCellRange, SheetCellRange)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(SpreadChart chart, SheetCellRange category, SheetCellRange seriesName, SheetCellRange data)
Public Sub New(chart As SpreadChart, category As SheetCellRange, seriesName As SheetCellRange, data As SheetCellRange)
Parameters
Type Name Description
SpreadChart chart

The chart.

SheetCellRange category

The category.

SheetCellRange seriesName

Name of the series.

SheetCellRange data

The data.

SpreadChartUndoAction(SpreadChart, ChartModel, ActionType)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(SpreadChart chart, ChartModel newModel, SpreadChartUndoAction.ActionType actionType)
Public Sub New(chart As SpreadChart, newModel As ChartModel, actionType As SpreadChartUndoAction.ActionType)
Parameters
Type Name Description
SpreadChart chart

The chart.

ChartModel newModel

The new model.

SpreadChartUndoAction.ActionType actionType

Type of the action.

SpreadChartUndoAction(SpreadChart, ChartModel, ChartViewType, ActionType)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(SpreadChart chart, ChartModel newModel, ChartViewType viewType, SpreadChartUndoAction.ActionType actionType)
Public Sub New(chart As SpreadChart, newModel As ChartModel, viewType As ChartViewType, actionType As SpreadChartUndoAction.ActionType)
Parameters
Type Name Description
SpreadChart chart

The chart.

ChartModel newModel

The new model.

ChartViewType viewType

Type of the view.

SpreadChartUndoAction.ActionType actionType

Type of the action.

SpreadChartUndoAction(SpreadChart, ChartModel, ChartDataSetting, ActionType)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(SpreadChart chart, ChartModel newModel, ChartDataSetting newDataSetting, SpreadChartUndoAction.ActionType actionType)
Public Sub New(chart As SpreadChart, newModel As ChartModel, newDataSetting As ChartDataSetting, actionType As SpreadChartUndoAction.ActionType)
Parameters
Type Name Description
SpreadChart chart

The chart.

ChartModel newModel

The new model.

ChartDataSetting newDataSetting

The data setting.

SpreadChartUndoAction.ActionType actionType

Type of the action.

SpreadChartUndoAction(SpreadChart, ChartViewType)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(SpreadChart chart, ChartViewType chartViewType)
Public Sub New(chart As SpreadChart, chartViewType As ChartViewType)
Parameters
Type Name Description
SpreadChart chart

The chart.

ChartViewType chartViewType

Type of the chart view.

SpreadChartUndoAction(SpreadChart, ActionType)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(SpreadChart chart, SpreadChartUndoAction.ActionType actionType)
Public Sub New(chart As SpreadChart, actionType As SpreadChartUndoAction.ActionType)
Parameters
Type Name Description
SpreadChart chart

The chart.

SpreadChartUndoAction.ActionType actionType

Type of the action.

SpreadChartUndoAction(SpreadChart, string, int, bool)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(SpreadChart chart, string newSheetName, int newSheetIndex, bool createNew)
Public Sub New(chart As SpreadChart, newSheetName As String, newSheetIndex As Integer, createNew As Boolean)
Parameters
Type Name Description
SpreadChart chart

The chart.

string newSheetName

New name of the sheet.

int newSheetIndex
bool createNew

if set to true [create new].

SpreadChartUndoAction(ChartShape, Rectangle)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(ChartShape chart, Rectangle newBounds)
Public Sub New(chart As ChartShape, newBounds As Rectangle)
Parameters
Type Name Description
ChartShape chart

The chart.

Rectangle newBounds

The new bounds.

SpreadChartUndoAction(SheetView, SpreadChart, Rectangle)

Initializes a new instance of the SpreadChartUndoAction class.

Declaration
public SpreadChartUndoAction(SheetView sheetView, SpreadChart chart, Rectangle newBounds)
Public Sub New(sheetView As SheetView, chart As SpreadChart, newBounds As Rectangle)
Parameters
Type Name Description
SheetView sheetView
SpreadChart chart

The chart.

Rectangle newBounds

The new bounds.