simple directives to implement morrisjs bar, line and donut charts