Show time line chart using custom directive