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

Let us now build a stacked chart using the multi-series data that we used in the previous example. All we need to do now is change the value of FCChartType to 'StackedColumn3D'. We have saved a copy of the existing Data_multi.xml as Data_stacked.xml. This file name will be provided to the FCDataURL property.

Following is the modified 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>

Following chart will be rendered upon execution of the code: