Use this method along with the Column and Row properties to set any data point value to NULL. NULL data points are not plotted on the chart.
5 'Set the number of profiles to plot
XYChartCtrl.Column = 6 'Set the column to 6, i.e. Y-data for Profile 3
XYChartCtrl.Row = 3 'Set the row to 3, i.e. 3rd sample Y-data for Profile 3
XYChartCtrl.SetNULLData 'Set the data at (Row, Column) cell location to NULL
XYChartCtrl.Refresh 'Refresh required to update chart with changes made