[flexcoders] Re: Line Chart, I have a X value, how can I find the Y value?

2010-09-07 Thread Mike
I did something like this for EBay. I defined a hierarchy of Equation classes, including linear, nth order polynomials, power law. The base Equation class provided common functionality such as data initialization and solving for the unknown gien a variable. Applications could then be written

[flexcoders] Re: Line Chart, I have a X value, how can I find the Y value?

2010-09-07 Thread napearson99
I mean, you would think you could just give the line series the X value and it could tell you the current Y value. Couldn't be that simple, right? --- In flexcoders@yahoogroups.com, Mike msl...@... wrote: I did something like this for EBay. I defined a hierarchy of Equation classes,

[flexcoders] Re: Line Chart, I have a X value, how can I find the Y value?

2010-09-07 Thread napearson99
*wshh* That's the sound your post just made going by my noggin :). I was hoping there was something built into flex for this. Does anyone have a simple way of figuring this out? Thanks for responding though mike, I appreciate even if I'm not smart enough to

Re: [flexcoders] Re: Line Chart, I have a X value, how can I find the Y value?

2010-09-07 Thread Brendan Meutzner
Lol... yeah there's an easier way ;-) It's been a long time, so I can't explain fully off the top of my head, but check out the dataTransform object and specifically invertTransform(x,y) which takes screen coordinates and returns the axis values at that point. You can look into a blog post I did