Column Property

Use this property along with the Row and Data properties to return/set a data point value for a specific Profile.  Column indicates which type of data (X or Y) is to be returned/set for the Profile.

[Visual Basic]
Property Column() As Integer
[C#]
int XYChartNETCtl.Column
[C++]
__property int XYChartNet::XYChartNETCtl::Column

Remarks

Value is an integer between 0 and (2 * NumProfiles - 1).

Default Value

0

Example

XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

[Visual Basic]
Dim dValue As Double

XYChartNETCtl1.NumProfiles = 5  'Set the number of profiles to plot to 5

XYChartNETCtl1.Column = 6       'Set the column to 6, i.e. X-data for Profile 3
XYChartNETCtl1.Row = 3          'Set the row to 3, i.e. 4th sample X-data for Profile 3
dValue = XYChartNETCtl1.Data    'Return the data at (Row, Column) cell location

XYChartNETCtl1.Column = 7       'Set the column to 7, i.e. Y-data for Profile 3
XYChartNETCtl1.Row = 3          'Set the row to 3, i.e. 4th sample Y-data for Profile 3
XYChartNETCtl1.Data = 43.5      'Set the data at (Row, Column) cell location to 43.5

XYChartNETCtl1.Refresh          'Refresh required to update chart with changes made

[C#]
double dValue;

XYChartNETCtl1.NumProfiles = 5;  //Set the number of profiles to plot to 5

XYChartNETCtl1.Column = 6;       //Set the column to 6, i.e. X-data for Profile 3
XYChartNETCtl1.Row = 3;          //Set the row to 3, i.e. 4th sample X-data for Profile 3
dValue = XYChartNETCtl1.Data;    //Return the data at (Row, Column) cell location

XYChartNETCtl1.Column = 7;       //Set the column to 7, i.e. Y-data for Profile 3
XYChartNETCtl1.Row = 3;          //Set the row to 3, i.e. 4th sample Y-data for Profile 3
XYChartNETCtl1.Data = 43.5;      //Set the data at (Row, Column) cell location to 43.5

XYChartNETCtl1.Refresh();        //Refresh required to update chart with changes made

[C++]
double dValue;

XYChartNETCtl1->NumProfiles = 5;  //Set the number of profiles to plot to 5

XYChartNETCtl1->Column = 6;       //Set the column to 6, i.e. X-data for Profile 3
XYChartNETCtl1->Row = 3;          //Set the row to 3, i.e. 4th sample X-data for Profile 3
dValue = XYChartNETCtl1->Data;    //Return the data at (Row, Column) cell location

XYChartNETCtl1->Column = 7;       //Set the column to 7, i.e. Y-data for Profile 3
XYChartNETCtl1->Row = 3;          //Set the row to 3, i.e. 4th sample Y-data for Profile 3
XYChartNETCtl1->Data = 43.5;      //Set the data at (Row, Column) cell location to 43.5

XYChartNETCtl1->Refresh();        //Refresh required to update chart with changes made

See Also

Properties | Row | Data | ChartData | Profile | ProfileData