coldfusion - Fusionchart not redering on cfdocument -


i using fusionchart in projecs , use fusionchart in cfdocument creating pdf. chart loading correctly in coldfusion page not in pdf generated cfdocument.

fusioncharts.ready(function () {                                             var mychart = new fusioncharts({                                                 "id" : "id",                                                "type": "column",                                                "width": "#chartwidth#",                                               "height": "#chartheight#",                                               "dataformat": "xml",                                               "datasource": "#strxml#"                                             });                                            mychart.render("chartcontainer");                                         }); 

chart function not work inside cfdocument make chart outside cfdocument , convert chart image , display image inside cfdocument below , call image path inside cf document

   <cfchart format="png" scalefrom="0" scaleto="1200000" name="chartimage">    <cfchartseries type="bar" datalabelstyle="value" serieslabel="chart" seriescolor="blue">              <cfchartdata item="january" value="503100">              <cfchartdata item="february" value="720310">              <cfchartdata item="march" value="688700">              <cfchartdata item="april" value="986500">              <cfchartdata item="may" value="1063911">              <cfchartdata item="june" value="1125123">    </cfchartseries>    </cfchart> <cffile   action="write"   file="#expandpath('charts/imagename.jpg')#" output="#chartimage#" /> 

Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -