FusionCharts for Flex > Chart Creation > Stacked Charts > Data from URL

Let us now build a stacked chart  from the same Multi-series data that we used in the previous example. All we need here is to set the value for FCChartType as StackedColumn3D. We made a copy of the existing Data_multi.xml to Data_stacked.xml to use as FCDataURL in this example.

The modified source code:

 

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="com.fusioncharts.components.*">
    <ns1:FusionCharts x="10" y="10" FCDataURL="Data_stacked.xml" FCChartType="StackedColumn3D"/>
</mx:Application>

As you can see above, we have only set the chart type and provided appropriate chart data. That's it. Now, if you run the code, you will get a chart as the image below shows.