T O P I C R E V I E W |
soundar |
Posted - 14 Feb 2013 : 15:09:05 Is there a way to get a list of transform objects in a graph without making them global or static variables...i.e something like 'GetCurrentTransform()'
If there is more than one transform attached to a graph, then maybe a function such as GetTransform(0). |
1 L A T E S T R E P L I E S (Newest First) |
quinncurtis |
Posted - 14 Feb 2013 : 17:01:26 No, there isn't really a function like that. Because as you describe, it is simple to save one or more coordinate systems as member variables of the encompassing class. You can retrieve the coordinate system for a given plot object (axes, axes labels, line plots, ect.) using the class ChartObjScale property (PhysicalCoordinates transform1 = thePlot1.ChartObjScale;). So, then you only need to save a reference to the plot objects, and not necessarily the coordinate system, though I would think saving them both would be the most useful. |
|
|