I'm working on a project in C# using XNA. It would be useful to have a way to graph the value of certain variables in real time as the game is running. (Just for debugging, I don't want the graphs in the final project.)

This seems like something that has probably been done before, but I can't find anything other than this:

<http://devmag.org.za/2011/02/09/using-graphs-to-debug-physics-ai-and-animation-effectively/>

I'm willing to write my own system or use someone else's. If there is an existing released project, I'd like to find it so I don't have to reinvent the wheel. If not, what;s the best way to handle this?

Thanks!