Sign in to follow this  
HTX9

Problem With Angular Gauge Real-Time Updates

Recommended Posts

I'm using an angular gauge in an MVC 4 application and trying to update the value every 90 seconds. The gauge renders fine when the page loads. I added the "dataStreamURL" attribute to the chart XML, and it is hit every 90 seconds. However, for some reason the value that I'm returning is not being read by FusionCharts (even though I get a HTTP 200 response). I'm returning

&value=34

as "text/plain" content type. Is this the correct content type or should I be using something else?

 

FYI when I hit the URL that returns the data in my browser window, the data is formatted properly. Any ideas on what I'm missing?

Edited by HTX9

Share this post


Link to post
Share on other sites

Hi,

 

I'm using an angular gauge in an MVC 4 application and trying to update the value every 90 seconds. The gauge renders fine when the page loads. I added the "dataStreamURL" attribute to the chart XML, and it is hit every 90 seconds. However, for some reason the value that I'm returning is not being read by FusionCharts (even though I get a HTTP 200 response). I'm returning

&value=34

as "text/plain" content type. Is this the correct content type or should I be using something else?

 

FYI when I hit the URL that returns the data in my browser window, the data is formatted properly. Any ideas on what I'm missing?

 

Could you please send us the relevant XML file so that we might test it at our end?

 

Awaiting your reply.

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