Sign in to follow this  
Taylor Hayward

Problem Displaying A Column2D Graph On Ipad

Recommended Posts

I'm having problems displaying a Column2D graph on my iPad but it's working fine in Firefox on XP.

 

Here's the code for creating the Column2D dimensions.

var myChart = new FusionCharts("http://gadgets.biogenidec.com/js/FusionCharts_Intranet/Charts/Column2D.swf", "myChartId", "120", "21", "0", "1");

 

Here's how it looks:

 

With iPad

http://taylorhayward.../iPad_graph.jpg

 

With Firefox on XP

http://taylorhayward...refox_graph.jpg

Edited by Taylor Hayward

Share this post


Link to post
Share on other sites

Let me know if this is enough code...

function runChartBuild(iChartNumber, stRole, jsonData, isLast){

stSelector = "#labelContainer"+iDisplay+"_"+iChartNumber;

$(stSelector).text(stRole);

/* if(isLast){

iShowLabels = 0;

iHeight = 40;

//stLabelDisplay = 'none';

stLabelDisplay = 'none';

}else{

iShowLabels = 0;

iHeight = 21;

stLabelDisplay = '';

}*/

iShowLabels = 0;

iHeight = 21;

stLabelDisplay = '';

chartData = {

"chart":{

"showvalues":"0",

"showLabels":iShowLabels,

"labelDisplay":stLabelDisplay,

"baseFontSize" : "9",

"numDivLines":"0",

"showYAxisValues":"0",

"showLimits":"0",

"showDivLineValues":"1",

"yAxisMaxValue":"2",

"defaultAnimation":"0",

"bgColor":"FFFFFF",

"showBorder":"0",

"showVLineLabelBorder":"0",

"showPlotBorder":"0",

"showAlternateHGridColor":"0",

"borderThickness":"0",

"canvasBorderThickness":"0",

"canvasBorderColor":"FFFFFF",

"plotgradientcolor":"",

"chartTopMargin":"0",

"chartRightMargin":"0",

"chartBottomMargin":"0",

"chartLeftMargin":"0",

"valuePadding":"0",

"xAxisNamePadding":"0",

"labelPadding":"0",

"canvasBottomMargin":"0",

"paletteColors":"75CFE8"

},

"data" : jsonData

}

if(iChartNumber == 0){

var myChart = new FusionCharts("http://gadgets.biogenidec.com/js/FusionCharts_Intranet/Charts/Column2D.swf", "myChartId", "120", "21", "0", "1");

myChart.setJSONData(chartData);

myChart.render('chartContainer'+iDisplay+'_'+iChartNumber);

}

}

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