add chart directive: