Vijaya_FC

Members
  • Content count

    40
  • Joined

  • Last visited

About Vijaya_FC

  • Rank
    Advanced Member
  1. Hi, Is it possible to display the export dialog box on client side export feature in inplace pop-up window? (http://www.fusioncharts.com/demos/ExportChart/Contents/client_export.html) As in (http://demos.theactivegroup.com/?demo=charts&script=fusion# ) Thanks, Vijaya
  2. Hi, As per our requirement, on clicking a menu item (PDF,JPG,PNG) , the chart should be exported and the dialog box should open, to select the path(Client side export). But in the current implementation it shows waiting(disabled button) on capturing and then shows the save button. Onclick of save button it will export . But we dont need this step. After capturing the chart it should show the download dialog box.. As I am new to Action scripts, Please may I know the method called on clicking Export to PNG (client side).(FCExporter.swf). How can i modify the code to reflect my requirements. How the Javascript and action script communicate. After the processing how it renders the output (or the method called) . Please kindly help me in resolving the issues, 1.Tool used to open the swf( I tried with swf decompiler) 2. On changing how to check whether its working or not? 3. All the swfs used for fusion charts require input... so how to input the data to it Thank you Vijaya
  3. Hi, Serverside exporting is not working. /lib/fusioncharts/exporter/fc_exporter.rb:93:in `bang' /lib/fusioncharts/exporter/fc_exporter.rb:84:in `parse_params' /lib/fusioncharts/exporter/fc_exporter.rb:77:in `parse_export_request_stream' /lib/fusioncharts/exporter/fc_exporter.rb:15:in `initialize' /app/controllers/fusioncharts/fc_exporter_controller.rb:50:in `new' /app/controllers/fusioncharts/fc_exporter_controller.rb:50:in `index' And the HTMLcode var myChart = new FusionCharts('/FusionCharts/Column3D.swf', 'myChart1', '900', '300', '0', '1'); myChart.setXMLData("<chart yAxisName='Sales Figure' caption='Top 5 Sales Person' numberPrefix='$' useRoundEdges='1' bgColor='FFFFFF,FFFFFF' showBorder='0' exportEnabled='1' exportHandler='/fusioncharts/fc_exporter/index' exportAtClient='0' exportAction='download' ><set label='Alex' value='25000' /></chart>"); myChart.render('div_ChartId'); (Fusion charts 3 and RMagick -2.5) Thanks, Vijaya
  4. Export Chart At Client Side

    Hi, Thanks for your response. If the current version does not support this feature can you please help me how can i resolve this issue. Is it possible to change the Fusion charts export js or the swf file(FCExporter.swf) As I am new to swf file- is it possible to edit the swf file and change accordingly. (As in editing the action script) Thanks, Vijaya
  5. Export Chart At Client Side

    Hi Angshu, Please help me in resolving the issue. Is it possible to skip the click on "save " (to hide both waiting and saving) step on client side Exporting. Awaiting for your valuable reply Thanks, Vijaya
  6. Hi, I am working on exporting charts on client side using FusionChartsExportComponent. Below code works fine. But the requirement is There should be three buttons/menu with export formats like (PDF,JPEG..) on clicking that it should export, and should show the window to choose the destination. In the demo, http://www.fusioncharts.com/demos/ExportChart/Contents/client_export.html , we need to select the format and then click on save it shows the window to specify the path. Literally it should work as, http://www.fusioncharts.com/demos/ExportChart/Contents/server_export.html Code: (Client side export) <%= javascript_include_tag 'FusionCharts'%> <%= javascript_include_tag 'FusionChartsExportComponent'%> <div id="report_help"> <div id="div_ChartId" align="center" style="z-index:0;" ></div> <script type="text/javascript"> var myChart = new FusionCharts( "/FusionCharts/Column2D.swf", "ChartId", "800", "400", "0", "1" ); var xml_str = "<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' />" +" <set label='David' value='42300' />" +" <set label='Graham' value='35300' />" +" <set label='John' value='31300' />" +"</chart>" myChart.setXMLData(xml_str); FusionCharts("ChartId").render("div_ChartId"); </script> <div id="fcexpDiv" align="center">FusionCharts Export Handler Component</div> <script type="text/javascript"> var myExportComponent = new FusionChartsExportObject("fcExporter1", "/FusionCharts/FCExporter.swf"); myExportComponent.Render("fcexpDiv"); </script> <input type="button" value="Export My Chart" onclick="ExportMyChart()" /> </div> Thanks, Vijaya
  7. Yes , I included both fusioncharts.js and fusionchartsexportcomponent.js
  8. Hi, While exporting on client side its throwing ""_FCEO.initializeComponent is not a function"" Please help me in resolving this issue Thanks, Vijaya
  9. Hi, To export the data used for generating the chart, we are using Builder::XmlMarkup in rails. But how to export the chart image or how to add saved image to excel. Thanks, Vijaya
  10. Html Table As Data Source

    Hi, Thanks for the reply. In our app we are using extjs. so how to use fusion charts with extjs(using html table/ext js grid as data source to the charts) Thanks, Vijaya
  11. Hi, Is it possible to use, HTML Table containing the data as data source to generate the fusion charts. Thanks, Vijaya
  12. Hi, User should be allowed to pivot on large, complicated data sets, and create visuals(charts) from those pivot tables. As in http://www.flexmonster.com/flash-pivot-table-component-demo Is there a way to do this sort of creating visuals using fusion charts. Thanks, Vijaya
  13. Swf Url

    Hi, Lets say you are having separate links for each chart type, Pie | Line | Column 2D - On clicking these links the chart will be updated with respective chart types and also you will have another link saying 'Open in new window" for this, In parent window, <script type="text/javascripts"> function popUp(URL,chart_id) { chrt = FusionCharts(chart_id); window.open(URL,"Chart",'toolbar=0,scrollbars=1,width=1400,height=1100,location=0,statusbar=0,menubar=0,resizable=0,left = 248,top = 209') } </script> And in child window <script type="text/javascript"> var chrt = window.opener.chrt; document.getElementById("chart1").innerHTML = chrt.getSWFHTML(); </script> It displaying the chart in new window(with default one), But its not displaying the updated chart (on changing the chart type) Thanks, Vijaya
  14. Object Not Displaying

    Solved <object style="visibility: visible;" id="chartobject-4" data="line" ..... should be <object style="visibility: visible;" id="chartobject-4" data="FusionCharts/Line.swf"....
  15. Swf Url

    Hi How to get the swf url used for rendering the charts lets say function should return "FusionCharts/Line.swf" Thanks, Vijaya