Sign in to follow this  
Sanjukta

The "dataStreamURL" attributes characters in the URL with the real-time charts

Recommended Posts

when i create real-time chart,hope set the url in "dataStreamURL" with struts,just like this:

"/performance/deviceTypeLook_getRealTimeXml.action?ps=2&pd=3"

after encode is:

%2Fperformance%2FdeviceTypeLook_getRealTimeXml.action%3Fpa%3D2%26pd%3D3

but it can not work,so what should i do?

by the way,when define the char object with set the data url,it can work,here is the code:

var myChart1 = new FusionCharts("<%=request.getContextPath()%>/bhm/swf/FusionCharts/Column2D.swf", "deviceChartId", "225", "100", "0", "1");

myChart1.setDataURL("<%=request.getContextPath()%>/performance/deviceTypeLook_getRealTimeXml.action?ps=2&pd=3

Share this post


Link to post
Share on other sites

Hi,

Welcome to FusionCharts Forum! :)

In case the issue still persists, could you please send us the screenshot of the error that you are receiving?

Also, please send the detailed information of the issue.

Awaiting your reply.

Edited by Guest

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