Setting Linear Gaue value with data from Json web service

2 posts, 0 answers
  1. Ahmet Sertan
    Ahmet Sertan avatar
    1 posts
    Member since:
    Jun 2012

    Posted 15 Jun 2012 Link to this post

    I have a web service which returns a data table which has one column named "TEMPRITURE" and one row with its value.
    I would like set Linear Gauge's value with the value from the web service.

    I would be appreciated if somebody could provide sample code.

    many thanks.
  2. Steve
    Steve avatar
    1871 posts
    Member since:
    Dec 2008

    Posted 18 Jun 2012 Link to this post

    Should be super simple...

    success: function(data){

    You'd need to inspect the results for "data" in firebug or chome debugger to see what's available...I'm not sure what the JSON string is coming back.  Like if it's\asmx it might be data.d.TEMPRITURE...firebug it.

    (Sidenote: I think perhaps there's a typo on "Temperature"?)
Back to Top