removing unused chartDirective