Flex LineChart with Multiple Data Providers
- by Jeremy Mitchell
Can I create a LineChart with multiple data providers? Since LineSeries has a dataprovider property, I'm assuming the answer is Yes.
I would expect something like this to work:
<LineChart>
<series>
<LineSeries dataprovider="{dp1}"/>
<LineSeries dataprovider="{dp2}"/>
<LineSeries dataprovider="{dp3}"/>
</series>
</LineChart>
But, the LineChart only appears to work for me when the dataprovider is assigned to the LineChart.
Thanks.