Got PnL graph working