kumar1248 Report post Posted March 23, 2012 Hi , We are using fusion charts 3.2 version and having problem with margins for chart generated on IPAD , please find the javasscript and XML used for it Even though chart margins is set to 0 in xml configuration, javascript rendered charts are still showing margins , flash based charts are working fine - we need javascript rendered charts (for IPAD) to work same as flash <div id="chartdivFF0">d</div> <script type="text/javascript"> if ((navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad') != -1)) { FusionCharts.setCurrentRenderer('javascript'); var ffpy_chart = new FusionCharts("/SampleApp/resources/charts/Column2D.swf", "ChartIdtest10", "80", "50", "0", "0"); } else { FusionCharts.setCurrentRenderer('javascript'); var ffpy_chart = new FusionCharts("/SampleApp/resources/charts/Column2D.swf", "ChartIdtest10", "50", "50", "0", "0"); } ffpy_chart.setDataURL("/SampleApp/FFlashServlet? paramName=2011&q1="+1800+"&q2="+1829+"&q3="+1830+"&q4="+1753); ffpy_chart.render("chartdivFF0"); </script> XML - <chart plotGradientColor="" showBorder="1" bgColor="e6e6e6" canvasBorderColor="ffffff" numVDivlines="0" showAlternateHGridColor="0" showDivLineValue="0" DivlineColor="ffffff" showAlternateVGridColor="0" adjustDiv="0" showLabels="0" canvasBottomMargin="0" canvasTopMargin="0" showYAxisValues="0" showValues="0" plotBorderColor="ffffff" showLimits="0" chartTopMargin="0" chartBottomMargin="0" chartLeftMargin="0" chartRightMargin="0" labelDisplay="WRAP"> <set label="" value="1800" color="7F7F7F" /> <set label="" value="1829" color="7F7F7F" /> <set label="" value="1830" color="7F7F7F" /> <set label="" value="1753" color="7F7F7F" /> </chart> Share this post Link to post Share on other sites
Guest Sumedh Report post Posted March 23, 2012 Hi, Which FusionCharts version are you using? If you are using older version, please try to download the latest version. We have released a new version of FusionCharts i.e., FusionCharts XT 3.2.2 (SR3) version on 12th March 2012. It is a service release version which includes various bug fixes and new features. To download this version refer this link: http://www.fusioncha...ownload/trials/ Also, find attached screen-shot of the chart which is rendered in pure JavaScript. Hope this helps. Share this post Link to post Share on other sites