denisagui

Members
  • Content count

    7
  • Joined

  • Last visited

About denisagui

  • Rank
    Forum Newbie
  1. Javascript - Charty Type Not Supported

    i believe many peoples have or will have the same problem, then it would be a good idea to modify the documentation. PS: well that a supreme being could present me with a suite... maybe for continue my studies... a joke!
  2. Javascript - Charty Type Not Supported

    i solved this problem based on the analysis that was done during the last week. <fc:render chartId="LineAprovadaNegadajavascript" filename="MSLine" width="584" height="270" debugMode="false" xml="#{linhaMB.linhaAprovNega.xml}" renderer="javascript" /> i changed swfFilename for filename and everything went as expected, the graph was generated correctly.
  3. Javascript - Charty Type Not Supported

    i tested with alias instead of file path, but the problem was not solved. i've been observed, the reference to the file remains null as described earlier. the example i sent was based on documentation avaliable in http://docs.fusioncharts.com/widgets/ --> Home > Creating your first chart > Using server-side scripts / Using J2EE / Code to create JavaScript chart it's possivel send me an example with these references ?
  4. Hi Folks. I've had some problems with the javascript graphics rendering in the last days. i used jsf. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:fc="http://www.fusioncharts.com"> <h:head> <script type="text/javascript" src="../../../FusionCharts/FusionCharts.js"></script> </h:head> <body> <fc:render chartId="LineAnualComparative" swfFilename="../../../FusionCharts/MSLine.swf" width="800" height="600" registerWithJS="true" renderer="javascript" debugMode="false" xml="#{linhaMB.comparativoAnual.xml}" /> //return a string with xml code. </body> </html> however , my web page debug show a null reference to the swfFilename as can be seen on the follow code, and my web page only displays "charty type not supported": <script type="text/javascript"> var chart_LineComparativoAnual = new FusionCharts('[b]null[/b]', 'LineComparativoAnual', '800', '600', '0', '1'); chart_LineComparativoAnual.setDataXML("<?xml version='1.0' encoding='ISO-8859-1'?><chart showValues='0'.../> </dataset></chart>"); chart_LineComparativoAnual.render('LineComparativoAnualDiv'); </script> somebody have a solution for this problem ? it's possible send me a example of how to do it ? tnks for all. obs: i tested in ie9, firefox and chome... both have the same problem.
  5. Hi folks! i have a doubt about path and filename for swfFilename when i'll generate javascript chart, if i generate a Flash chart, i juse this code: i wonder how i can create a pure javascript chart passing a path and chart name manualy for swfFilename. i thought in this code: another doubt about javascript files needed to generate pure javascript charts... in my project are arranged as follows form: FusionCharts.js, FusionCharts.HC.js, FusionCharts.jqueryplugin.js, jquery.min.js, FusionChartsExportComponent.js. these files are really needed ? is missing some ? tnks for all...
  6. SOLVED! <fc:render chartId="${chartData.chartId}" swfFilename="${folderPath}${chartData.swfFilename}" width="${chartData.width}" height="${chartData.height}" debugMode="false" registerWithJS="true" xmlUrl="${chartData.url}" renderer="javascript"/>
  7. Hello, I have created charts using flash being, however there is a need to use javascript because my application is aimed at smart TVs that do not have flash support. the syntax I use to generate flash is as follows. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" xmlns:fc="http://www.fusioncharts.com"> <h:head> </h:head> <h:body> <fc:render chartId="LineAproNeg3D" filename="../FusionCharts/MSLine.swf" width="100%" height="100%" debugMode="false" registerWithJS="1" WMode="0" color="CCCCCC" scaleMode="0" lang="en" detectFlashVersion="0" autoInstallRedirect="" xml="#{lineMB.stringXml}" /> </h:body> </html> I would like to know how to generate graphics on javascript if possible and creates them using the same syntax or is necessary to create a specific file for the same.