add directive line chart