jrunk Report post Posted September 22, 2008 (edited) 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 September 22, 2008 by Guest Share this post Link to post Share on other sites
Arindam Report post Posted September 23, 2008 Hi, Could you please provide us source code? Share this post Link to post Share on other sites
jrunk Report post Posted September 23, 2008 Thanks for taking a look. FusionWidget.zip Share this post Link to post Share on other sites
Arindam Report post Posted September 24, 2008 (edited) 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 September 24, 2008 by Guest Share this post Link to post Share on other sites
jrunk Report post Posted September 24, 2008 (edited) 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 September 24, 2008 by Guest Share this post Link to post Share on other sites
Arindam Report post Posted September 25, 2008 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
jrunk Report post Posted September 26, 2008 Do you have any simple .jsp examples using the angular widgets and dataStreamURL for realtime data? There is still something missing from my code. Attached... FusionWidget.zip Share this post Link to post Share on other sites
Arindam Report post Posted September 29, 2008 Hi, Could you please test this? see attachment Please note that there would be problems if you also pass newline characters and whitespaces in the relatime data stream. TESTFC.zip Share this post Link to post Share on other sites
jrunk Report post Posted September 29, 2008 works like a champ! thanks. Share this post Link to post Share on other sites