Skip to main content
1-Visitor
March 8, 2020
Question

Creating a Time Series Chart - Thingworx Composer

  • March 8, 2020
  • 1 reply
  • 1540 views

Hello,

 

I am new at Thingworx and I am basically trying to set up a Time Series Chart to display my RPM on the Y-Axis and the date (HH:MM) on the X-Axis. 

Now my questions:

  • Which Service should I use to get my Properties (for example GetPropertyValues, QueryPropertyHistory,...)
  • How are the Bindings on the the Chart

I found a YouTube Tutorial according to this topic, but unfortunaley this was for an older version of the Composer.

 

I hope someone can help me here because I can't find any solutions for my questions.

 

Greetings from Austria

Sebi8200

1 reply

17-Peridot
March 9, 2020

Hi,

 

I suggest to use QueryPropertiesValues, as this will give you a history of values (need to have logged properties in a value stream).

You can bind QueryPropertiesValues result to Data of the Time Series Chart. After this, check the properties of the chart and set them as you need.

 

Hope it helps,

Raluca Edu

sebi82001-VisitorAuthor
1-Visitor
March 10, 2020

Hi,

 

Thanks for your quick answer!

I already tried to bind the QueryPropertyHistory to the Data of the Time Series Chart but I can only see a timestamp, but not my Properties. The Property which I'd like to bind to the Chart is a NUMBER.

 

Greetings 

Sebi8200

17-Peridot
March 11, 2020

Hi,

 

Is that property type number logged in a value stream?

Value Stream needs to be put at the level of the Thing or Thing Template.

 

Thanks,

Raluca Edu