Am I the first to ever have this problem with muliple series charts?

My dates are read from an SQL timestamp and are too precise so even though they 
are on 
the same day, they don't show up if one is taken at May 5-2006 10:15:20 and 
another is 
at May 5-2006 10:15:21.

So unless you match up your data exactly from two independent sources, flex 
seems 
forced to choose only one and ignore the other.  Is there a way to draw both 
when the data 
does not match?



--- In flexcoders@yahoogroups.com, "netdeep" <[EMAIL PROTECTED]> wrote:
>
> 
> Well, actually I've discovered that the problem is that it is a multi-series 
> plot.  So 
> whichever series I set the horizontal (CategoryAxis) axis dataprovider to is 
> the one that 
> gets drawn because the dates don't match up exactly (they are precise down to 
hundredths 
> of seconds so not much chance of hitting the same values.
> 
> Not sure if there is a solution to this.  Anyone have any ideas?  Maybe I 
> will have to 
merge 
> the two date arrays and use that for the horizontal axis dataprovider...
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "netdeep" <deepnet@> wrote:
> >
> > I am pulling in data for drwaing on a chart.  My data formerly displayed 
> > properly, but 
> when 
> > the data set changed, it no longer displays properly.  I can see the data 
> > in a dataGrid 
so 
> I 
> > know its there:
> > 
> > <mx:DataGrid dataProvider="{axis2.data}" width="400">
> >       <mx:columns>
> >          <mx:DataGridColumn dataField="point1" width="300" />
> >          <mx:DataGridColumn dataField="point2" />
> >       </mx:columns> 
> >     </mx:DataGrid>
> > 
> > axis2.data is an ArrayCollection
> > point1 is a Date
> > point2 is a Number
> > 
> > But with charts, the display gets flaky.  I can get it to show up in an 
> > Line chart, but not 
in 
> a 
> > Plot chart.  I'm wondering if it is failing to see the Date object. But 
> > then why does it 
work 
> in 
> > the Line chart?  What in the data would cause the entire chart to choke?
> >
>



Reply via email to