0 Replies Latest reply on Jan 6, 2010 4:00 PM by tehxike1

    Do chart axes have upper limits on calculating ranges?

    tehxike1 Level 1

      I'm trying to map a rather massive number of items on a chart, and Flex doesn't seem to be trying to figure out the min/max.  My x axis is date, all of which are in the past two days.  DateTimeAxis starts at Epoch, and ends at the end of this year.  LinearAxis starts at 0, and ends somewhere after my last item.  Setting baseAtZero and autoAdjust seem to have no effect.


      My data set is massive- nearly 40k items, so I can't exactly post an example.  The chart is rendering the data impressively fast though...I just wish it could figure out the bounds automatically.  My y-axis seems to be working fine.


      Here's the code for my chart though:


      <mx:LineChart id="lineChart" width="100%" height="100%">
              <mx:DateTimeAxis id="dateAxis" baseAtZero="false" autoAdjust="true"/>
              <mx:LinearAxis baseAtZero="false" />


      My line series are being generated programmatically.