Creating a simple line graph
Creating graph (in -buildObjects)
graph = [Graph createBegin: self];
graph = [graph createEnd];
[graph setTitle: parameterName];
[graph setWidth: 400 Height: 300];
data = [graph createElement];
[data setLabel: "average payoff"];
Adding data to graph (in -run)
[data addX: parameter Y: value];
Displaying graph (in -run)
Basic Graph class creates a widget with title and dimensions
For each dataset we create an "element"
Series of x,y values then fed to "element"