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

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,

*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

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

## 4 matches

##
Mail list logo