added switchXY button for scatter plots

new set and get method in DataHolder() to set which plot type is
currently displayed.