add graphs and datapoints