Added chart plotting

It loses #7 issue.