Satu --

You can, of course, always write a small routine to combine the datasets
into a single dataprovider. But yes, you should be able to assign
dataproviders to the individual series, rather than the chart:

<LineChart>
  <series>
    <LineSeries dataProvider="{dp1}" />
    <LineSeries dataProvider="{dp2}" />
  </series>
</LineSeries>

Regarding your second question...it would be easier to answer if you posted
some sample data that you'd like to be able to assign to the chart.

Ely.

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of svktiilikainen
Sent: Thursday, May 19, 2005 1:51 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Lineseries and dataproviders?

Hi there,

I've been struggling with line charts containing multiple data
series. 
The data presented is linear so that I'm using LinearAxis for both X 
and Y axis & LineSeries to make the data series.

Is there ANY way to assign different data providers to LineSeries 
objects of one LineChart object?
Moreover, is it possible to use anything else but a named field 
(string) as the "xField" or "yField" assignment of the LineSeries 
object? It would be a whole lot easier & more practical to assign eg. 
a column of an array or even a named field in a multidimensional
array 
as the data source, but this seems to be impossible.

Regards,

Satu  




 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to