fixed the linegraph so that it can use clojure calculated equation