asmi

Members
  • Content count

    6
  • Joined

  • Last visited

Posts posted by asmi


  1. Hi All,

     

     

     

    I am working on a application to design reports through Fusion Charts. My additional requirement is to export the charts to powerpoint. I know Fusion Charts does not support this. But has anyone tried this and found any workaround for it? I do not want to do it manually into powerpoint by creating a slide show with shockwave object embedded into it. Is there any programmatic way to do this?

     

    Any help would be appreciated.


  2. Got the difference!

     

     

     

    About the RegisterWithJS property, I tried setting it to 1, but not sure what the constructor for "FusionChartsExportObject" looks like. I tried setting it in the order I set for FusionCharts like:

     

     

     

    new FusionChartsExportObject("fcExporter1", "/FusionChartTest/Charts/FCExporter.swf", "10", "10", "0", "1");

     

    But here it gives me an error of "Flash player not installed."

     

    Can you please tell me the parameters for this constructor. Also is there any API guide for using the Fusion Charts API?

     

     

     

    Now my next step is exporting these charts to powerpoint. I know Fusion Charts does not support this so I was looking for a workaround. Can you tell me if the .swf file with the data loaded gets saved in the same location from where it was being referred to? I am a little confused about the behavior since I tried opening the file on my machine and it opens properly- but if I try to open the same file from another machine it gives an error. Can you please briefly explain me what exactly happens when the chart is generated and how can I access the same .swf object again?


  3. Thanks a lot Saptarshi- I realised that now. I was earlier using the Column3D.swf which I have now changed to Column2D.swf- the UI changed- it was much pleasing earlier- but wow.... it works!! I tried to find out the difference between single series and multiseries. Apart from the xml format and UI, is there no other difference in them? If that is the case- I would rather prefer using the Column3D.swf. But then is there no way to export it to pdf or save as an image? Please let me know if I am missing out on anything.

     

     

     

    Another question-The rendered chart works well on IE- I am able to save the file. But there seems to be an issue with Firefox. The "FCExporter.swf" does not show properly. I only get to see a flickering image of "Loading". While finding a solution to this, a forum suggested that the target div id should be unique. I have reconfirmed the same. Also there are not comments in the Error Console. The code looks like this:

     

     

     

    < embed id="fcExporter1" width="400" height="60" flashvars="chartWidth=0&chartHeight=0&debugMode=0&DOMId=fcExporter1&registerWithJS=0&scaleMode=noScale〈=EN&width=400&height=60&bgColor=cccccc&modalExport=0&strictTrigger=0&borderThickness=2&borderColor=0372AB&generator=FusionChartsExportComponent" bgcolor="cccccc" allowscriptaccess="always" quality="high" name="fcExporter1" src="/FusionChartTest/Charts/FCExporter.swf" type="application/x-shockwave-flash"/>

     

     

     

    Can you please help me out with:

     

    1: Export of multiseries xml data

     

    2: Firefox issue.

     

     

     

     

     

    dom


  4. Thanks for that Saptarshi- now I know what exactly I need to do :)

     

     

     

    Now regarding the implementation of "export" feature of fusion charts- as I mentioned earlier. I monitored the generated html through Firebug- the data xml string gets generated and it looks like this:

     

     

     

    dataXML=

     

    < chart exportEnabled='1' exportHandler='fcExporter1' exportAtClient='1' bgcolor='FF0000'>

     

    < categories>

     

    < category label='Alex'/>

     

    < category label='Mark'/>

     

    < /categories>

     

    < dataset seriesName='Bar Graph' color='FFFFFF' renderAs='BAR'>

     

    < set value='25000'/>

     

    < set value='35000'/>

     

    < /dataset>

     

    < styles>< definition/>< application/>< /styles>< /chart>

     

     

     

    whereas if I give a data URL, it looks like this:

     

    dataURL=SimpleExample.xml"

     

     

     

    and SimpleExample.xml is like this:

     

     

     

    < chart yAxisName='Sales Figure' caption='Top 5 Sales Person' numberPrefix='$' useRoundEdges='1' bgColor='FFFFFF,FFFFFF' showBorder='0' exportEnabled='1' exportAtClient='1' exportHandler='fcExporter1'>

     

    < set label='Alex' value='25000' />

     

    < set label='Mark' value='35000' />

     

    < /chart>

     

     

     

     

     

    I tried modifying the SimpleExample.xml file as the data xml as in the first case- which gets generated- but in this case no chart is displayed- It says no data available :)

     

     

     

    Please help me out with this as my application needs a dynamic xml to be generated and not a static file.


  5. Thankyou Srividya! This really helped me to get going. I have downloaded the FusionCharts V3 package.

     

    I have generated a chart and trying to Export it to pdf. I went through the documentation and followed all steps mentioned there. But there the code uses xml files- SimpleExample.xml- and uses it as a parameter for generating the chart.

     

    From what I had downloaded previously, there was an example to generate the xml string on the fly- I did not have to create the xml file. The xml string was generated depending on the parameters set and the chart was displayed accordingly. So it is the same chart that I am using here. Now the problem is that the chart is rendering properly without any trouble. But when I right click on it I do not see the "Save As" options. Also the button which should be displayed down- the ExportControllerButton- is only being diaplayed as "Loading" which continuously flickers. The embed tag in the chart rendered looks like this:

     

     

     

     

     

    < id="columnChart" width="600" height="300" flashvars="chartWidth=600&chartHeight=300&debugMode=0&DOMId=columnChart&registerWithJS=1&scaleMode=noScale〈=EN&dataXML=chart exportEnabled='1' exportHandler='fcExporter1' exportAtClient='1' bgcolor='FF0000'>" allowscriptaccess="always" quality="high" name="columnChart" src="/FusionChartTest/Charts/MSCOLUMN3D.swf" type="application/x-shockwave-flash"/>

     

     

     

     

     

    I am not getting where the problem is. :)

     

    I have one more question- when the chart is displayed, there is a InfoSoft logo displayed. So how can I get rid of this?

     

    Can you please help me out.


  6. Hi all,

     

    I am completely new to Fusion Charts and want to use it for generating interactive reports. I have downloaded a zip from the net called fusioncharts_src.zip from http://www.davidlai101.com/blog/index.php/2009/04/30/fusionchartsjava

     

    This has some examples and classes like ChartFactory.java, ChartType.java, FusionGraph.java and also some script files. Using this, I am able to deploy a simple pieChart. Now my question is that to make use of this in my project, are these the only classes and API Fusion Charts provides and we have to make use of it as needed- or do we need to purchase it so as to get access to the entire Fusion Charts API. Please guide me in this so that I can start exploring this tool. Thanks in advance.