--- In flexcoders@yahoogroups.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.