JK Patel

Members
  • Content count

    9
  • Joined

  • Last visited

Everything posted by JK Patel

  1. i try to use this code but i get label named "Loading chart. Please wait." <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:components="com.fusioncharts.components.*"> <components:FusionCharts x="10" y="10" FCChartType="Column3D"> <components:FCChartData FCData="{chartData}" FCParams="{chartParams}"/> </components:FusionCharts> <fx:Script> <![CDATA[ import mx.collections.ArrayCollection; //Create an ArrayCollection object as a data source for chart [bindable] private var chartData:ArrayCollection=new ArrayCollection([ { label:'Jan', value:'17400' }, { label:'Feb', value:'19800' }, { label:'Mar', value:'21800' }, { label:'Apr', value:'23000' }, { label:'May', value:'29000' }, { label:'Jun', value:'27600' } ]); [bindable] private var chartParams:ArrayCollection=new ArrayCollection([ { caption:'Half Yearly Sales Summary' }, { subcaption:'For the year 2008 - First Half' }, { xAxisName:'Month' }, { yAxisName:'Sales' }, { numberPrefix:'$' } ]); ]]> </fx:Script> </s:Application> So what to do with this ? if you have any idea then tell me ... Thanks in advance...