dbasix

Members
  • Content count

    54
  • Joined

  • Last visited

Posts posted by dbasix


  1. Hi,

     

    Check whether you are using the latest FusionCharts SWC or not.

     

    If you want to change the data of the chart use FCSetDataXML. FCSetDataURL or FCData methods.

     

     

     

    e.g.

     

    1. fc.FCSetDataXML(new xml); or,

     

    2. fc.FCSetDataURL(new data file url); or,

     

    3. fc.FCData(new array as data);

     

    fc.FCRender();

     

     

     

    [fc is the chart id].

     

     

     

    Thanks.


  2. Firstly check that you are using the latest FusionCharts for Flex Component (.swc file).

     

    Then check the required chart file (.swf file) are kept in the right place and you are mentioning the path properly in mxml (see 'FCFolder' attribute).

     

    Thanks.


  3. A HTML wrapper or Javascript is needed for the FusionCharts Component to work properly as it is using External Interface to communicate between Flex and FusionCharts.

     

    Although you can use 'FCErrorEvent' to track internal error.

    like-

    <ns1:FusionCharts x="10" y="10" FCChartType="MSColumn3DLineDY" FCDataURL="Data_combi.xml" FCErrorEvent="trackError(event)"/>

    and in script block-

    import com.fusioncharts.components.FCEvent;

    private function trackError(e:FCEvent):void

    {

      trace(e.param);

    }

    Thanks.


  4. Hi,

     

    The latest SWC files resolved these type of problems and its yet to release.

     

    You can use the attached SWC as your solution.

     

    Use 'FCFolder' attribute in mxml to locate your chart folder.

     

    By default keep all charts in 'fusioncharts' folder in 'src' or your project folder.

     

    Change the attribute value to '.' (dot), if charts are kept with main mxml file.

     

    If charts are in some other folder, mention the path in 'FCFolder'.

     

     

     

    Thanks.

    FusionCharts.zip