fixed bug where too many data points were loading for graphs