This chart illustrates how much your portfolio needs to gain to recover from a loss.