fixed up line graph with colors and legend