Sign in to follow this  
ganiganesh

Rendering Two Charts In One Div

Recommended Posts

Hi Team,

 

i will render one chart using below ajax function in chartdiv which is in jsp page.

 

 

function ajaxCurrentLink(divID, url,obj)

{

var dataContainer = document.getElementById(divID);

dojo.io.bind(

{

url: url,

content:

{

ajax:true,

engine: 'dojo'

},

load:function(type, data, event)

{

//alert(data);

dataContainer.innerHTML = data;

//alert(dataContainer.innerHTML);

 

if(obj=='fusionchart'){

var chart = new FusionCharts("../content/charts/MSColumn3D.swf", "ChartIdS2", "850", "280", "0", "0");

//alert("setting XML");

chart.setDataXML(data);

//alert("Rendering...");

chart.render("chartdiv");

}

 

 

 

}

 

});

 

}

 

 

my requirement is that i would like to render two charts in one div i.e. chartdiv by getting two xmls seperated by some special character then i l split it and assign it to two charts.

 

 

after getting two xmls ready is there any way to render two different charts in one div in jsp

 

Share this post


Link to post
Share on other sites
Guest Sumedh

Hey,

 

Rendering two charts in a single div is not possible.

 

Thanks for your time and support.

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