Separating editor from chart library