Skip to main content
1-Visitor
January 11, 2016
Question

Is that possible for adding a Label chart in a generic thing?

  • January 11, 2016
  • 3 replies
  • 1629 views

Hi

I have a thing with template "Generic thing". How can i add a Label chart widget in the mashup for a generic thing? For a Remote thing it is working perfectly well.

I tried adding so, But after binding with the QUERYPROPERTYHISTORY, it does not show anything in the chart. Can anyone help me out in solving this issue?

3 replies

1-Visitor
January 11, 2016

Hi Suprya V,

To be able to have data stored and see it when calling the QueryPropertyHistory service on a thing you need to:

1. Create a value stream and associate it with the thing for which you want to retrieve property values.

2.Mark the properties for which you want to have historical data as logged. To do this go to the Properties section of your thing and edit each of the properties that you would like to have logged. Check the logged checkbox situated on the right side of your screen:

3. Save the Thing and use its QueryPropertyHistory service in your Mashup.

Please let me know if you need additional help.

Thank you,

Veronica

sv_011-VisitorAuthor
1-Visitor
January 11, 2016

Thank you Veronica.

I tried doing so.But the Label chart is blank.Check the pic below

The steps i did isScreenshot from 2016-01-11 14-36-14.png

1) added a value stream

2) made the property logged

What should i do??

sv_011-VisitorAuthor
1-Visitor
January 11, 2016

Now i am getting the chart..Thankyou Veronica!