Moved plotting functionality from data interface into the data view to setup plotting independence of the data interface.