A simple demo using an XYSeries to represent the data. Notice how a null value causes a break in the line that is drawn to represent the data.
XYSeries
null