:bug: fixed chart editor crash when changing the type from table to a chart