Two changes
  -Made y-axis plot automatically so that it can handle both normalised and unormalised data
  -Force legend to display metrics in order they are requested so that they don't randomly change order when you request different data