fixed problem with line graph (at least parts of it)