SetNULLData Method

Use this method along with the Column and Row properties to set any data point value to NULL.  NULL data points, for x and/or y, are not plotted on the chart.

[Visual Basic]
Sub SetNULLData()
[C#]
void XYChartNETCtl.SetNULLData()
[C++]
void SetNULLData()

Example

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

[Visual Basic]
XYChartNETCtl1.Row = 2       'Set the row to 2, i.e. 3rd data sample
XYChartNETCtl1.Column = 5    'Set the column to 5, i.e. y-data for profile 2
XYChartNETCtl1.SetNULLData   'Set the data at (Row, Column) cell location to NULL
XYChartNETCtl1.Refresh       'Refresh required to update chart with changes made

[C#]

[C++]

See Also

Methods | Properties | NULL Datapoints