If it's OK to disable all sub-menus during run-time you could just set the window property of the VI called "Allow run-time shortcut menus" to false...
If it has to be the sub-emnu of just the XY graph you could disable ti without greying it out, or you could put a transparent label over it.