Row Property

Use this property along with the Column and Data properties to return/set a data point value for a specific Profile.  Row indicates which data sample is to be returned/set for the Profile.

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

Remarks

Value is an integer between 0 and 999,999.  (The maximum number of samples each profile can store is 1,000,000).

Note 1   For Lite versions, the maximum number of samples each profile can store is 10,000.
Note 2   An error is generated when reading/writing the Data value if the Row value is not valid for the specified profile.

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 | Column | Data | ChartData | Profile | ProfileData