Click or drag to resize

ColumnPlotDataExchangeColumnsData Class

Model used to exchange common column names in multiple plot items concurrently.
Inheritance Hierarchy
SystemObject
  Altaxo.Graph.Plot.DataColumnPlotDataExchangeDataBase
    Altaxo.Graph.Plot.DataColumnPlotDataExchangeColumnsData

Namespace: Altaxo.Graph.Plot.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class ColumnPlotDataExchangeColumnsData : ColumnPlotDataExchangeDataBase, 
	ICloneable

The ColumnPlotDataExchangeColumnsData type exposes the following members.

Constructors
 NameDescription
Public methodColumnPlotDataExchangeColumnsData(IEnumerableIColumnPlotData) Initializes a new instance of the ColumnPlotDataExchangeColumnsData class.
Public methodColumnPlotDataExchangeColumnsData(IEnumerableIGPlotItem) Initializes a new instance of the ColumnPlotDataExchangeColumnsData class.
Top
Properties
 NameDescription
Public propertyColumns Gets the columns with common column group, column label, and column name for all plot items. After processing the data by a user dialog, the data also contain a field NewColumnName, which designates the new column name that should be used instead of the old.
Public propertyGroupNumber 
Public propertyPlotItemsOrPlotData Gets or sets the plot items or plot data, for which either the underlying data table or data columns should be changed.
(Inherited from ColumnPlotDataExchangeDataBase)
Top
Methods
 NameDescription
Public methodStatic memberCanChangeCommonColumnsForItems Determines whether it is possible to change one or more data columns with names that are common for all specified plot items.
Public methodStatic memberCanChangeCommonColumnsForPlotItems Determines whether it is possible to change one or more data columns with names that are common for all specified plot items.
Public methodClone Creates a new object that is a copy of the current instance.
Public methodCollectCommonColumnNamesAndTablesFromItems Collects the tuples of (ColumnGroupLabel, ColumnLabel, ColumnName) that are common to all plot items. Furthermore, it stores the underlying tables of the plot items in another collection _tables.
Public methodCollectCommonColumnNamesAndTablesFromPlotItems Collects the tuples of (ColumnGroupLabel, ColumnLabel, ColumnName) that are common to all plot items. Furthermore, it stores the underlying tables of the plot items in another collection _tables.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExchangeColumns Exchanges the data columns of the plot items in PlotItemsOrPlotData, using the field NewTableName in each entry of Columns.
Public methodExchangeColumns(IEnumerableIColumnPlotData) Exchanges the data columns of the plot items in the provided plot items, using the field NewTableName in each entry of Columns.
Public methodExchangeColumns(IEnumerableIGPlotItem) Exchanges the data columns of the plot items in the provided plot items, using the field NewTableName in each entry of Columns.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetCommonColumnNames Gets the common column names of all underlying tables of the plot items. This procedure is ignoring the group numbers of the columns. See GetCommonColumnNamesWithGroupNumber(Int32) if common column names with a specific group number should be retrieved.
Public methodGetCommonColumnNamesWithGroupNumber Gets the common column names of all underlying tables of the plot items with a specific group number.
Public methodGetCommonGroupNumbersFromTables Gets a sorted list of group numbers that are common to all underlying tables of the plot items.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetNewColumnName Sets the new name of the column.
Public methodStatic memberShowChangeColumnsForSelectedItemsDialog(IEnumerableIColumnPlotData) Shows a dialog that allows to change the underlying data table for the provided plot items.
Public methodStatic memberShowChangeColumnsForSelectedItemsDialog(IEnumerableIGPlotItem) Shows a dialog that allows to change the underlying data table for the provided plot items.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Protected field_columns 
Protected field_tables 
Top
See Also