moved chartoptions into datalier.plot, along with final conversion steps to plot data.