If you are binding data from a DataSet (or directly from the table) ChartFX sets the AllocHidden flag by default, which will set any missing data to the Chart.Hidden enumeration. But, if you are using the API to pass data by assigning the Value and XValue properties you will need to set the AllocHidden flag manually when you open the data communication channel, as follows:
With Chart1
.OpenData(COD.Values Or COD.AllocHidden, 2, 5)
.OpenData(COD.XValues Or COD.AllocHidden, 2, 5)
'the first series is missing some data in the middle
.XValue(0, 0) = 0.86
.Value(0, 0) = 0.41
.XValue(0, 1) = 0.77
.Value(0, 1) = 0.24
.XValue(0, 3) = 0.55
.Value(0, 3) = 0.16
.XValue(0, 4) = 0.49
.Value(0, 4) = 0.08
'the second series only has 3 points
.XValue(1, 0) = 0.12
.Value(1, 0) = 0.08
.XValue(1, 1) = 0.23
.Value(1, 1) = 0.05
.XValue(1, 2) = 0.34
.Value(1, 2) = 0.02
.CloseData(SoftwareFX.ChartFX.COD.XValues)
.CloseData(SoftwareFX.ChartFX.COD.Values)
End With