mikeytag Report post Posted February 11, 2011 FusionCharts is awesome and I just recently upgraded to 3.2 with the hopes that our backend will now show charts to iPads and such. I seem to have a major issue though. Take a look at the attached images. The one that looks right is when the chart is rendered via Flash and the messed up one (the one without the line) is when I set the renderer to javascript. I have verified that all the files are in the directory and with Flash rendering everything works perfectly. Maybe I am doing something impossible for the JS render? Here's the way I invoke the chart currently: <script type="text/javascript" src="/charts/fusion_charts/Charts/FusionCharts.js"></script> <script type="text/javascript"> FusionCharts.setCurrentRenderer('javascript'); var Daily_chart = new FusionCharts('/charts/fusion_charts/Charts/Line.swf','Daily','100%','250','0','1'); Daily_chart.setDataURL('%2Fchart_daily_stats_xml.php%3Fchart_col%3Dclicks'); Daily_chart.setTransparent(true); Daily_chart.render('Daily_chart'); </script> And here is my XML output: <chart caption="" xAxisName="Day" yAxisName="Clicks" numberPrefix="" numberSuffix="" decimals="2" alternateHGridColor="417FFC" alternateHGridAlpha="20" divLineColor="417FFC" divLineAlpha="50" canvasBorderColor="666666" baseFontColor="000000" lineColor="659E37" showLabels="1" showValues="1" labelDisplay="WRAP" slantLabels="0"> <set label="" value=""/> <set label="Fri Feb 4 2011" value="6942"/> <set label="Sat Feb 5 2011" value="5443"/> <set label="Sun Feb 6 2011" value="5324"/> <set label="Mon Feb 7 2011" value="6388"/> <set label="Tue Feb 8 2011" value="5808"/> <set label="Wed Feb 9 2011" value="5828"/> <set label="Thu Feb 10 2011" value="3513"/> <set label="" value=""/> <trendlines> <line startValue="5606.5714285714" displayValue='Avg' color="AB0619" dashed="1" valueOnRight="1" toolText="Average: 5,606.57"/> </trendlines> </chart> Share this post Link to post Share on other sites
ww1711 Report post Posted March 16, 2011 I copied your code word for word, removed setTransparent(true), and it worked fine (in both SWF and JS). You may have deeper issues with your registry, etc. Good luck! Share this post Link to post Share on other sites
Guest Angie Report post Posted March 17, 2011 HI, Welcome to FusionCharts Forum! Please refer to the article: http://kb.fusionchar...nd+Flash+charts The article will help you to understand the difference between Flash and JS chart. Hope this helps. Share this post Link to post Share on other sites