Hi and welcome to the forum

If the data you are plotting is from a formula, modify the formula to produce #N/A for the blank cells.

Either that or hide the rows with the blank cells