I am new to using fcharts. I have installed the charts, create and render them dynamically inside a tab navigator. When I have rendered lets say 3 charts on different tabs , and altinate between the tabs, then I get the following error.
TypeError: Error #2007: Parameter connectionName must be non-null.
at flash.net::LocalConnection/send()
at com.fusioncharts.components::FusionCharts/resizer()[D:\Repository\FusionCharts For Flex 1.3\Development\Flash_Builder_4\source\com\fusioncharts\components\FusionCharts.as:753]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at SetIntervalTimer/onTimer()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
private function createFusionChart(chartXML:XML):FusionCharts{
var fusionChart:FusionCharts = new FusionCharts();
fusionChart.FCChartType = "MSLine";
fusionChart.FCData(chartXML);
fusionChart.FCFolder = "../fusioncharts";
fusionChart.percentWidth = 100;
fusionChart.percentHeight = 100;
fusionChart.x = 5;
fusionChart.y = 5;
fusionChart.FCFlexFunctionsObject = (new MyFunctions(this.gcPersitenceSyncoriniser));
fusionChart.FCParams(getParameters(false));
fusionChart.FCRender();
return fusionChart;
}
I then pass this to a vBox, and and a panel ....etc .
YOur help would be much appreciated.