bhavyait Report post Posted September 27, 2007 (edited) Hi, We have been using FusionCharts instrumentation suite. As a change we are removing use of "dataStreamURL=" and trying to update data using javascript function. When i amtrying to update FI2_RT_Column type the values get displayed one over another. That is columns are getting compeletely overlapped.i Can only see single column which is updating with every ajax call. Same logic works with updating FI2_RT_Line and FI2_RT_StkArea types. function updateChartData(responsexml){ setValue("id", "&name="+currentTime+"&value="+value); } function getObject(objectName) { if (navigator.appName.indexOf ("Microsoft") !=-1) { return window[objectName] } else { return document.embeds[objectName]; } } function setValue(objFlash, intValue){ //This function sets the updated value of the chart. //Get a reference to the movie var FCObject=getObject(objFlash); //Set the data FCObject.SetVariable("_root.Value",intValue); //Go to the required frame FCObject.TGotoLabel("/", "NewDataHandler"); } Edited September 27, 2007 by Guest Share this post Link to post Share on other sites
Pallav Report post Posted September 27, 2007 Can you try with FusionGadgets v3 - www.fusioncharts.com/gadgets? Share this post Link to post Share on other sites
bhavyait Report post Posted September 27, 2007 We don't have license for gadgets Share this post Link to post Share on other sites
Pallav Report post Posted September 30, 2007 It's a free upgrade from www.fusioncharts.com/PUC Share this post Link to post Share on other sites
bhavyait Report post Posted November 14, 2007 Thanks our client did the upgrade and now its working. i have one more query function setValue(objFlash, intValue){ //This function sets the updated value of the chart. //Get a reference to the movie var FCObject=getObject(objFlash); FCObject.SetVariable("_root.bgColor","666666"); FCObject.SetVariable("_root.baseFontColor","ddeeff"); FCObject.SetVariable("_root.bgAlpha","100"); //Go to the required frame FCObject.TGotoLabel("/", "NewDataHandler"); } i am trying this to change colors based on user switching theme but its not working? Is it possible to do like this to a real time dynamiclly updating charts. Share this post Link to post Share on other sites
Pallav Report post Posted November 14, 2007 This API is not provided. Updates are done via XML only. Share this post Link to post Share on other sites