before graph
before morrisjs
functional graph