Don't connect dots when there's no data, close #2242