anyone?
On Nov 18, 2:40 pm, K10 <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am trying dynamic plot lineseries coming from different
> dataproviders (fetching it using httpservice) on the same line chart.
> I can get to plot single lineseries if I assign the linecharts
> dataprovider with the data collection (array collection). But there is
> no luck with multi series. Below I am pasting a function which is
> trying to handle the multi series plotting. Please advice me on how to
> go about it.
>
> function drawSeries(data:Array){
> var series:LineSeries = new LineSeries();
> series.yField = 'x';
> series.xField = 'y';
> series.dataProvider = data;
>
> var tmp:Array = this.linechart.series;
>
> tmp.push(series);
> this.linechart.series = tmp;
> this.linechart.invalidateSeriesStyles();
>
> }
>
> Here linechart is an instance of the LineChart chart control,'data' is
> an array containing the 'x'-'y' series.
>
> Thanks for any help in advance.
> -K10.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---