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 each item in the itemrenderer, so this uses a local coordinate space. g.moveTo(unscaledHeight/2,unscaledHeight/2); g.lineTo(unscaledHeight/2,-unscaledHeight/16); I am actually trying to implement this type of custom chart http://www.enterprise-dashboard.com/2008/06/19/the-horizon-graph/ Which is like a area chart but having 3 coordinates like the bubble chart. So I am planning to use a bubble chart and draw a line instead of the bubble with the bubble radius, and than connect all and fill the area. I would appreciate if you could throw some light on this. Thanks Pratik --- In [email protected], "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 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 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 > > > > --- In [email protected] <flexcoders%40yahoogroups.com>, "Fotis > > Chatzinikos" > > > > <fotis.chatzinikos@> wrote: > > > > > > as far as i can remember the coordinate is the coordinate you used > > to your > > > last call of lineTo... > > > > > > On Thu, Nov 6, 2008 at 9:17 PM, pratikshah83 <pratikshah83@> wrote: > > > > > > > Hi Guys, > > > > > > > > I would like to know how to get the coordinates of current location > > > > after drawing graphics.lineto(). > > > > > > > > Thanks > > > > Pratik > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Fotis Chatzinikos, Ph.D. > > > Founder, > > > Phinnovation > > > Fotis.Chatzinikos@, > > > > > > > > > > > > > -- > Fotis Chatzinikos, Ph.D. > Founder, > Phinnovation > [EMAIL PROTECTED], >

