How to let users edit the chart