Probably localToContent() is more appropriate here; to get the point in
relation to the chart.
var x:Number = 5;
var y:Number = 10;
myDisplayObject.graphics.moveTo(0,0);
myDisplayObject.graphics.lineTo(x,y);
var myPoint:Point = new Point(x, y);
myPoint = myDisplayObject.localToContent(myPoint);
no idea on itemrenderers on charts...
I would implement my own chart probably extending UIComponent, or panel or
whatever is nearer your needs...
On Thu, Nov 6, 2008 at 9:51 PM, pratikshah83 <[EMAIL PROTECTED]> wrote:
> Just to add to it I tried localtoglobal() but that too is not giving
> me
Just to add to it I tried localtoglobal() but that too is not giving
me the coordinates I am looking for.
--- In flexcoders@yahoogroups.com, "Fotis Chatzinikos"
<[EMAIL PROTECTED]> wrote:
>
> i do not seem to get your point... quick example:
>
> x = 5 ;
> y = 5 ;
>
> lineTo(x,y) ;
>
> x y is
I am using a itemrenderer for a bubble chart, instead of a bubble I
would like to plot a line and connect all the lines to form a area, so
I have a local coordinate, so x=5,y=5 are the local coordinates, I
would like to know the actual coordinates wrt the complete chart
this is what I am using for
i do not seem to get your point... quick example:
x = 5 ;
y = 5 ;
lineTo(x,y) ;
x y is now your last coordinate...
On Thu, Nov 6, 2008 at 9:29 PM, pratikshah83 <[EMAIL PROTECTED]> wrote:
> Yes you are correct it moves the current position to the last lineto
> coordinates, but I need to get t
Yes you are correct it moves the current position to the last lineto
coordinates, but I need to get the values of that coordinates as i
need to store them and reuse it to draw a line from some other point
to that stored point.
Can you let me know how can i get the coordinates.
Thanks
Pratik
---
6 matches
Mail list logo