Separation of logic and visual side of charts

up!