Sign in to follow this  
LiquidApe

Trouble with drilldown charts in V3

Recommended Posts

I have styled my dashboard after the dashboard in the example

 

http://www.fusioncharts.com/Demos/Blueprint

 

 

 

I have used pretty much the exact same setup using the dataURL method. The problem is that the drilldown chart never will update. The code seems to hiccup on this:

 


chartObj.setDataURL(strURL);			

 

 

 

It seems as if the bugTrendByTimeFrame chartId is not getting registered with javascript for some reason and thus does not know where to put the updates.

 

 

 

Anyway, My entire code is here: I really hope you can help.

 

 

 

 

 

Default.php

 

http://pastebin.com/m4e9c265b

 

DataGen.php

 

http://pastebin.com/m2df688d9

 

Data_butTrendbyTimeFrame.php

 

http://pastebin.com/m30d383e5

 

 

 

 

 

 

 

please help

Edited by Guest

Share this post


Link to post
Share on other sites

Hi,

 
Could you please modify your FusionCharts_Gen.php as the following?
 
1. Open FusionCharts_Gen.php class file.
2. Goto line number 209, you will find $this->JSC["registerwithjs"]=false;
3. Change it to true. $this->JSC["registerwithjs"]=true;  
 
This will register the chart with Javascript every time while rendering.

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