mosesvijay Report post Posted May 3, 2010 Hi, We are using FusionCharts V3 in our application. I am facing an issue with the setDataURL JS method. We are displaying charts in two tabs in our web application. In tab 1, we have 4 charts and in tab 2, we have 3 charts. Along with the charts we have a filter for chart duration in each tab. There are 2 problems that we are facing 1) On page load the tab 2 is not displayed; so if i call the setDataURL() method on the 3 charts in tab 2 (which are not visibile - the whole tab has a display:none) I get a JS error ( __flash__addCallback is not defined ). The same is observed when 2 charts are not visible in the viewport and you need to scroll to see it 2) On page load I set the chart url as abc.php?duration=1hour. Once the page loads I change the duration filter from 1 hour to 1 day - based on this I set the url via setDataURL() to abc.php?duration=1day. Now i navigate to tab 2 (so tab1 is not visible) and then when I navigate back to tab 1 the charts are re-rendered with the initial url (abc.php?duration=1hour) and not to the latest URL that I have set. How do i overcome this issue? Am I using setDataURL() correctly or is this a bug? Thanks, Vijay Share this post Link to post Share on other sites
FusionCharts Support Report post Posted November 26, 2010 Please use FusionCharts v3.2 where this has been taken care. Reference: http://www.fusioncharts.com/code/JavaScript/Basics/Tabs/tab.html Share this post Link to post Share on other sites