Thanks! I actually tried the LinearAxis to begin with, but gave up on it after my first attempt since it didn't seem to work right. Since the CategoryAxis worked right away, I didn't explore the issue any further. After playing around with the LinearAxis some more, I got it working the way it should. CartesianDataCanvas now plots like a charm.
Thanks again for the help! ~Aaron On Sun, May 4, 2008 at 8:42 AM, syndicate_ai <[EMAIL PROTECTED]> wrote: > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "Aaron > Miller" <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I've been playing around with the Flex charting components, and I > seem to be > > running into an issue when I try to plot (draw) a line on the graph. > I am > > using the CartesianDataCanvas.moveTo and lineTo functions and it > seems to > > work ok for the Y axis, but not the X. > > > > I posted an example with view-source enabled here: > > http://www.openbaseinteractive.com/testproject/UnitCostLab.html > > > > It should be plotting 3.5,6900 - 12,12000 but as you can see, it's not. > > > > Any ideas what I'm doing wrong? Am I maybe using the wrong kind of > > horizontalAxis? > > > > > > Thanks for any help! > > ~Aaron > > > > Try using a NumericAxis instead of CatagoryAxis, you generally use > catagoryaxis if the data, is in chunks, like months of the year and such. > > >