Are there any good examples or tutorials how to effectively use xOrigin and yOrigin to control display-obj insertion into a parent group?
I’m working on plotting a line graph & I’ve created a newGroup called coordinateSpace (think my x & y axis plus drawing space)
Now I want to insert objects (axis’, lines, points, legends) into this group, but the group has a local origin in it’s middle.
So I’m having to do a ton of difficult (for me) math to get inserted objects to go to the right place in the coordinateSpace.
I’d really like if it I could set the origin of my coordinateSpace to be the X & Y zero points (bottomLeft) so that everything I insert uses the coordinates of the graph, rather than halfWidth - abc + xyz
It’s a pain in the butt doing it the other way and I’m hoping someone can teach me a better way… [import]uid: 6175 topic_id: 21439 reply_id: 321439[/import]