You can use a waveform chart to 'real-time' update the display one point at a time. Or, if you still desire to use the XY Graph, you can use shift registers to save the x and y arrays, add the next point to the end of the arrays, and then display them back on the graph. This will be a bit more time and memory intensive. What is your torque sampling rate?