set chart el to position:relative