(fix) chart directive fixes