move chart function