constrain selection of svg in chart directive to directive's element