converted functions into class methods, chart settings editor in modal