only display graph when >= 2 data points