|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 2/25/2008 5:21:30 PM
Posts: 2,
Visits: 6
|
|
We really need a better javascript callback system from FusionCharts. FC_Rendered() is finicky and causing many headaches. What I'd really like to see is something like this:
var myChart = new FusionCharts({
settings_file:"somesettings.xml",
dataURL:"data.xml",
id:"mySpiffyChart",
width:500,
height:400,
onInit:{
animation:true,
callback: function() {
alert("this chart is has inited!");
}
},
onReload:{
animation:false,
callback: function() {
alert("this chart is has reloaded!");
}
}
});
That way I can have as many charts as I need and each one can have it's own callback instead of everyone sharing FC_Rendered()
Does that make sense? Thoughts?
Thanks,
brian
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: Today @ 1:08:34 AM
Posts: 2,183,
Visits: 515
|
|
Brian,
I'm afraid you cannot do that. But in FC_Rendered(strDOMId), we pass the DOMId of each chart as a parameter. So, internally you could just put an if-then or switch-case to redirect the load to different methods.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|