refactored directive
providing chart object from c3Factory