kumar1248

Remove Chart Margins Ipad - Column2D

Recommended Posts

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>

post-27781-0-44383700-1332475939_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Sumedh

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.

post-24802-0-52007200-1332502348_thumb.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now