changing xyData legendLabel in Abaqus

I am trying to change the legend label for an xyplot without much luck. According to the documentation, the command setValues(legendLabel='some string') should work. It does change the value of legendLabel if you query it, but it doesn't change from the default value when you plot it. This is super frustrating. Does anyone know why this isn't working? Many thanks in advance.