fix up controller mixin
 move chart rendering code out of helper in to new class