working on getting error  linegraph