changed chart to use real data