Sign in to follow this  

Problem with real-time update of Angular Chart using localhost

Recommended Posts

We are setting up an Angular Chart to automatically update itself every 60 seconds.

When we use a URL for the chart (and dataStream) of the form http://localhost:8080/... the auto update does not work.  It gives the following error:

Error in loading stream data: The chart couldn't load data from the specified data stream URL. Error HTTP Status returned was: undefined. Please make sure that your data stream provider page is present in the same sub-domain as the chart.

If we use a URL for the chart and dataStream of the form http://<machinename>:8080/..  the update works fine.

Is this by design?  Can someone explain to me why this would be?

Thank you

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