line graph fully working