XY Chart NET 3 Control Reference > Properties > 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 |
For Lite versions, the maximum number of samples each profile can store is 10,000. |
An error is generated when reading/writing the Data value if the Row value is not valid for the specified profile. |
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form. 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
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form. 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
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form. 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