fix bug for chart in edit mode
Merge branch 'master' of github.com:mahmoodramzani/20121228