making editor work with any chart +  ui changes