Sign in to follow this  
jrunk

Angular Report - dataStreamURL Problem

Recommended Posts

I am unable to get the setDataURL working, so I thought I would try the setDataXML. The setDataXML is working for me manually, but I have to refresh the browser to receive the updated data.

 

 

 

I'm calling the setDataXML function from a .jsp and just placing the variable into the dataStreamURL. Fro example:

 

 

 

myChart.setDataXML(".....dataStreamURL='<%=dashboard_login_count_result%>' refreshInterval='5'"

 

 

 

Am I missing something? As I said It's working, but only manually.

Edited by Guest

Share this post


Link to post
Share on other sites

Hi,

 Could you please make sure that you are returning the value with proper signature ?

e.g. &value=10

 

You sould have &value= in the datastream.

login_count.jsp must return only

 

&value=<%=dashboard_login_count_result%>

Edited by Guest

Share this post


Link to post
Share on other sites
I updated the code and still cant seem to get it working with the setDataURL and streaming data.  Attached is the code.  I simplified the .jsp page and just hard-coded the value using:

<%out.write("&value=100");%>

FusionWidget.zip

Edited by Guest

Share this post


Link to post
Share on other sites

Hi,

Could you please change dataStreamURL link from Angular10.xml?

Your code

-------------------------------------------

dataStreamURL='login_count2.jsp&value='

Change To

---------------------------------

dataStreamURL='login_count2.jsp'

or

dataStreamURL='login_count2.jsp?value='

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