made LineGraph dots and lines optional