I can easily create a handle for a Graph Builder window so that I can create the report layer:
myGraph = dt << Graph Builder(yada, yada, yada);
myRep = myGraph << Report;
Let's say that I want to modify an argument in Graph Builder before creating the graph:
myExpr = expr(Graph Builder(yada, yada, yada);
// Use remove from and insert into to modify myExpr
myExpr1 = expr(myGraph = dtIn << expr(myExpr));
eval expr(myExpr1);
When I use the above commands, the graph gets created, but it does not appear that myGraph is a proper handle, so I can't create a report layer with
myRep = myGraph << Report;
How would I manipulate myExpr to create a handle when the graph is created?
I have a hack work around whuch I reallly don't like:
myList = window() << get window title;
// search myList for the number of items that contain the "Graph Builder" string (call this n)
myRep = Graph Builder[n] << Report;
Thanks,
Bill