Hameed

Multiple Charts In Single Page In Ie

Recommended Posts

Hi Team,

 

I am implementing multiple xml files in single jsp page.Code is attached below.

But the same code is not working in IE8 and works good in google chrome

Please check the same

 

 

<html>

<head>

<title>My First chart using FusionCharts XT</title>

<script type="text/javascript" src="FusionCharts/Charts/FusionCharts.js">

</script>

</head>

<body>

<div id="chartContainer">FusionCharts XT will load here!</div>

<script type="text/javascript"><!--

 

var myChart = new FusionCharts( "FusionCharts/Charts/SparkColumn.swf","myChartId", "200", "200", "0", "1" );

myChart.setXMLUrl("Charts1.xml");

myChart.render("chartContainer");

 

// -->

</script>

 

<div id="chartContainerCustSatisfaction" align="center">The chart

will appear within this DIV. This text will be replaced by the chart.</div>

<script type="text/javascript"><!--

 

var myChartcpi = new FusionCharts( "FusionCharts/Charts/SparkColumn.swf","myChartcpi1", "200", "200", "0", "1" );

myChartcpi.setXMLUrl("Charts2.xml");

myChartcpi.render("chartContainerCustSatisfaction");

 

// -->

</script>

 

<div id="myChartotifotif" align="center">The chart will appear

within this DIV. This text will be replaced by the chart.</div>

 

<script type="text/javascript"><!--

 

var myChartotif = new FusionCharts( "FusionCharts/Charts/SparkColumn.swf","myChartotif1", "200", "200", "0", "1" );

myChartotif.setXMLUrl("Charts3.xml");

myChartotif.render("myChartotifotif");

 

// -->

</script>

 

</body>

</html>

 

 

Regards,

Hameed

Share this post


Link to post
Share on other sites

any update??

Hi Team,

 

I am implementing multiple xml files in single jsp page.Code is attached below.

But the same code is not working in IE8 and works good in google chrome

Please check the same

 

 

<html>

<head>

<title>My First chart using FusionCharts XT</title>

<script type="text/javascript" src="FusionCharts/Charts/FusionCharts.js">

</script>

</head>

<body>

<div id="chartContainer">FusionCharts XT will load here!</div>

<script type="text/javascript"><!--

 

var myChart = new FusionCharts( "FusionCharts/Charts/SparkColumn.swf","myChartId", "200", "200", "0", "1" );

myChart.setXMLUrl("Charts1.xml");

myChart.render("chartContainer");

 

// -->

</script>

 

<div id="chartContainerCustSatisfaction" align="center">The chart

will appear within this DIV. This text will be replaced by the chart.</div>

<script type="text/javascript"><!--

 

var myChartcpi = new FusionCharts( "FusionCharts/Charts/SparkColumn.swf","myChartcpi1", "200", "200", "0", "1" );

myChartcpi.setXMLUrl("Charts2.xml");

myChartcpi.render("chartContainerCustSatisfaction");

 

// -->

</script>

 

<div id="myChartotifotif" align="center">The chart will appear

within this DIV. This text will be replaced by the chart.</div>

 

<script type="text/javascript"><!--

 

var myChartotif = new FusionCharts( "FusionCharts/Charts/SparkColumn.swf","myChartotif1", "200", "200", "0", "1" );

myChartotif.setXMLUrl("Charts3.xml");

myChartotif.render("myChartotifotif");

 

// -->

</script>

 

</body>

</html>

 

 

Regards,

Hameed

Share this post


Link to post
Share on other sites

Loading chart please wait

But the same URL works good in the google chrome

 

Hey,

 

Can you please let us know the error message while rendering the chart using IE 8?

post-37282-0-08975300-1361284057_thumb.jpg

Edited by Hameed

Share this post


Link to post
Share on other sites

Hey,

 

Can you please confirm the mode of rendering?

 

If Internet Explorer 8 does not have Flash Player installed, it automatically loads a JavaScript charts. For rendering a JavaScript chart, please ensure FusionCharts.HC.js, FusionCharts.HC.Widgets.js and jquery.min.js.are present in the same folder as FusionCharts.js.

 

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