Need help to make a graph (logic)

That doesn't really show what values you want to show....

Could I also suggest that you use the ChartMakerPlus extension, it is meant to be easier to use, and offers more features/customisation.