remove edit button, fix bug for line chart