To create a line graph, you can use the User Field graph. Simply create a Task User Field in the Navigator->User Fields panel, and assign these fields to your selected tasks; assigning specific values and colour coding as necessary: