I've been sitting infront of my PC for 12 hours now, so maybe i am just not seeing the wood for the trees. I can't work out, or find in the help docs how to clear a graph to start over. I've tried calling RTProcessVar.TruncateProcessVarDataset(0) (it's a dynamic graph), but that doesn't work.
I can't see a "clear" method on any of the classes that I am using.
Were still not sure what you are trying to accomplish. On one hand, if clearing the entire graph area by removing the chart objects, the ResetChartObjList method will work. Deleting the ChartView object by calling the ChartView.Dispose method is the better method since it guarantees that all objects attached to the view are removed, not just ones in the ChartObjList.
On the other hand, your experiment with the RTProcessVar.TruncateProcessVarDataset implied that you were trying to clear the plot area of some historical scrolling graph data, while leaving the other objects unaffected. This is acheived using the RTProcessVar.ProcessVarDataset.ResetBuffer() method.