switch datasets from piechart and remember y-scale