svanryckeghem Report post Posted July 13, 2007 Hi. How can I dynamically figure out the X position of the canvas (only the part with the graph)? I've added a layer on top of the chart object with ActionScript, and I need to know the exact size of the gap between the border of the flash movie and the canvas. I started with a fixed value, but sometimes the Y axis value labels size change, and thus cause the canvas to move a little. Another way for me to solve this would be to have the ability to prevent that gap from being resized. Is there a way to do that? Thanks. Sebastien Share this post Link to post Share on other sites
Pallav Report post Posted July 16, 2007 This is a dynamic position which is stored in a private object inside Chart class - it can be referenced as this.elements.canvas.x inside the flash code, where this refers to the instance of chart class. Share this post Link to post Share on other sites