Cory

Members
  • Content count

    18
  • Joined

  • Last visited

Everything posted by Cory

  1. Hello I am trying to remove the fusion charts watermark, I upgraded to FusionCharts XT and have no luck. Also I have added a logo to my chart through xml "logoURL=" but when the charts are exported the logo is not there, and I would like to know if there is anyway I could add a TimeStamp to the exported charts. thank you. this is my php code <?php include("FusionCharts/FusionCharts.php"); ?> <html> <head> <title>FusionCharts - Array Example using Single Series Column 3D Chart</title> <script type="text/Javascript" SRC="FusionCharts/FusionCharts.js"></script> <script type="text/javascript" LANGUAGE="Javascript" SRC="FusionCharts/jquery.min.js"></script> <style type= "text/css" > .div1 { height:360px; width:650px; background:#FFF0FF; background-repeat:no-repeat; border:2px solid #995699; } .div2 { height:35px; width:150px; background:#FFF0FF; background-repeat:no-repeat; } </style> <script type="text/Javascript" > function callPrint(){ window.print(); } function callExport(expFormat){ var chartObject = FusionCharts('myChart'); if( chartObject.hasRendered() ){ chartObject.exportChart({ exportAtClient:'1',exportFormat:expFormat}); } else alert ( "Please wait till the chart completes rendering..." ); } </script> </head> <body> <center> <h2>FusionCharts Examples</h2> <h4>Plotting single series chart from data contained in Array.</h4> <div class="div1"> <div class="div2" align="right"> <p align="right"> <a href='#' onclick='callPrint();'><img width='30' height='30' title='Click To Print The Chart' src='FusionCharts/print.PNG' border='0'></a> <a href='#' onClick="callExport('PNG')"><img width='30' height='30' title='Click To Export The Report in PNG' src='FusionCharts/export.PNG' border='0'></a> <a href='#' onClick="callExport('PDF')"><img width='30' height='30' title='Click To Export The Report in PDF' src='FusionCharts/pdf.png' border='0'></a> </p> </div> <?php //Now, we need to convert this data into XML. We convert using string concatenation. //Initialize <chart> element // $strXML = "<chart caption='Exam result for CSC113A ' numberPrefix='' formatNumberScale='10' xAxisName='Grades' yAxisName='No Of Students' bgColor='995699,FEEFFF' exportEnabled='1' exportAtClient='0' exportAction='download' exportShowMenuItem='1'>"; //Convert data to XML and append // $strXML .= "<set label='L' value='50'/></chart>";//Comment this line of code to render the data from your database. This line of code is only for testing purpose //Un-comment the below line of code to render the chart in pure JavaScript forcefully. FC_SetRenderer('javascript'); //Create the chart - Column 3D Chart with data contained in strXML echo renderChart("FusionCharts/Pie2D.swf", "Data.xml", "", "myChart", 600, 300, false, true); ?> </div> </center> </body> </html> and this is my xml code <chart ExportHandler='localhost:8080/FusionCharts_XT/ExportHandlers/PHP/index.php' exportFileName='ABI Chart' logoURL='logotipo.png' logoPosition='TL' logoScale='50' caption='Exam result for CSC113A ' numberPrefix='' formatNumberScale='10' xAxisName='Grades' yAxisName='No Of Students' bgColor='995699,FEEFFF' exportEnabled='1' exportAtClient='0' exportAction='download' exportShowMenuItem='1'> <set label='A' value='50'/> <set label='B' value='30'/> <set label='C' value='80'/> <set label='D' value='20'/> <set label='E' value='70'/> </chart>
  2. thank you very much this helps immensely. how could I add 2 logos? could I add text? thank you
  3. Hello, Is it possible to change the message that is shown when exporting a chart?
  4. Hello, When I export the Bubble.swf chart I lose all color in bubbles. thank you... before... Exported...
  5. Bubble.swf chart export bug

    I am trying to update my Fusion charts XT but the most recent version is 3.0.2 where do I download the newer version... thank you
  6. Bubble.swf chart export bug

    We are using a updated version of FusionCharts XT will this not work properly for FusionCharts XT? I have another problem involving Gauge charts, example, if you have a minimum value of 6 and max of 12 in some cases if there is a change in the data the minimum value (6) will change to a lower number, why does this happen? thank you very much for your time...
  7. Bubble.swf chart export bug

    no, we are using a updated version of google chrome and firefox
  8. it worked. thank you very much
  9. Ok I will update and try this out thank you...
  10. hello, I have tried this and it does not work for me, would it be possible to get a sample code?
  11. Hello, I am unable to get this code to work, could you upload a working sample of this code?
  12. if i use the default fusioncharts export icon it will work, but if i use the ones i have placed function callExport(expFormat){ var chartObject = FusionCharts('myChart'); if( chartObject.hasRendered() ){ chartObject.exportChart({ exportAtClient:'1',exportFormat:expFormat}); the title is removed any ideas? I am using the latest version of FusionCharts XT
  13. why is the title of the chart removed when exporting?
  14. <?php include("../Includes/FusionCharts.php"); //include("../../../ExportHandlers/PHP/FCExporter.php"); ?> <html> <head> <title> FusionCharts - Array Example using Single Series Column 3D Chart </title> <script type="text/Javascript" SRC="../../../Charts/FusionCharts.js"></script> <script type="text/javascript" LANGUAGE="Javascript" SRC="../../../Charts/jquery.min.js"></script> <style type= "text/css" > .div1 { height:360px; width:650px; background:#FFF0FF; background-repeat:no-repeat; border:2px solid #995699; } .div2 { height:35px; width:105px; background:#FFF0FF; background-repeat:no-repeat; } </style> <script type="text/Javascript" > function callPrint(){ window.print(); } function callExport(val){ var chartObject = FusionCharts('myChart'); if( chartObject.hasRendered() ) { if(val==1){ chartObject.exportChart({ exportAtClient:'1',exportFormat:'PNG'}); } else{ chartObject.exportChart({ exportAtClient:'1',exportFormat:'PDF'}); } } } </script> </head> <body> <center> <h2>Ejemplo Export</h2> <h4></h4> <div class="div1"> <div class="div2" align="right"> <p align="right"><a href='#' onClick="callExport(1)"><img width='32' height='32' title='Share' src='1.PNG' border='0'></a> <a href='#' onclick='callPrint();'><img width='30' height='30' title='Print' src='2.png' border='0'></a></p> </div> <?php //Now, we need to convert this data into XML. We convert using string concatenation. //Initialize <chart> element $strXML = "<chart caption='Exam result for CSC113A ' numberPrefix='' formatNumberScale='10' xAxisName='Grades' yAxisName='No Of Students' bgColor='FFFFCC,FFFFCC' exportEnabled='1' exportAtClient='0' exportAction='download' exportShowMenuItem='0' exportFormats='JPG=Download as JPEG|PDF=Download as SVG'>"; //Convert data to XML and append $strXML .= "<set label='L' value='10'/></chart>";//Comment this line of code to render the data from your database. This line of code is only for testing purpose //Un-comment the below line of code to render the chart in pure JavaScript forcefully. FC_SetRenderer('javascript'); //Create the chart - Column 3D Chart with data contained in strXML echo renderChart("../../../Charts/Column3D.swf", "", $strXML, "myChart", 600, 300, false, true); ?> </div> </center> </body> </html> Hello, I am trying to export images, the code works fine in windows rendering javascript only, though when I try it on my iphone it does nothing.
  15. Hello Sashibhusan, with your fusionchart_download_button.zip how could I export all of the charts in a single file?
  16. Export Chart Iphone App

    Hello, I am having a similar issue exporting images on the iphone. where you able to solve your problem?