Sign in to follow this  
JJUNIOR

Legends In Ipad

Recommended Posts

Good morning,

I have problems in generating the caption for the iPad, anyone know if there is some peculiarity to it. Above are the images of graphs generated in IE9 and to IPAD and code generation.

 

Thank you.

 

image1 generated in IE9

 

image2 generated in iPad

 

<html>

 

<head>

 

<script language='JavaScript' src='http://localhost/Site/FusionCharts/FusionCharts.js'></script>

 

</head>

 

<body bgcolor='#ffffff'>

 

<div id='chartdiv1' align='center'>

 

</div>

 

<script type='text/javascript'>

 

var myChart = new FusionCharts('http://localhost/Site/FusionCharts/Pie3D.swf', 'myChartId', '980', '240', '0', '0'); myChart.setDataXML("

 

 

<chart palette='4' decimals='1' enableSmartLabels='1' labelDistance='500' enableRotation='0' bgAlpha='40,100' style='background-color: transparent' bgRatio='0,100' bgAngle='360' showBorder='0' startingAngle='70' showPercentValues='1' showPercentInToolTip='0' showLegend='1' formatNumberScale='0' legendPosition='RIGHT' >

 

<set label = 'REGIAO SUDESTE' value = '2686802' isSliced='1' />

 

<set label = 'REGIAO NORTE' value = '321311' />

 

<set label = 'EXTERIOR' value = '90206' />

 

</chart>

 

 

");

 

myChart.render('chartdiv1');

 

myChart = null;

 

</script>

 

</body>

 

</html>

post-10248-012633700 1287484540_thumb.png

post-10248-002702900 1287484548_thumb.png

Edited by JJUNIOR

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

 

I am afraid, this is a known visual difference between JavScript charts and Flash charts.

 

There is a workaround that allows you to specifically adjust your JS charts to suit your needs and bridge differences between the flash charts.

 

For every flash chart, there is an internal method called _overrideJSChartConfiguration that accepts HighCharts configuration as parameter. This configuration overrides the default configuration of the JS charts.

 

The sample code is as below:

if (typeof chartObject._overrideJSChartConfiguration === 'function') {

chartObject._overrideJSChartConfiguration({

// provide highcharts configuration here...

});

}

 

For the HighCharts configuration reference, see: http://www.highcharts.com/ref/

 

I hope this helps.

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
Sign in to follow this