Hello,
you could use the Property Observer object. Following are the typical steps:
- Within your component where you intend to display the graph add a new Property Observer object. The Property Observer object is added together with an associated onEvent Slot method.
- Similarly to how you have connected the Numerical Indicator via Outlet with the DeviceClass property, connect the Property Observer with this property.
With these steps you have a Slot method (onEvent), which will be executed every time the original property in DeviceClass is notified.
- Now open the Slot method for editing and implement there the code to append a new value to PathData based on the value of the property in DeviceClass.
To access the property in Chora expression, just prepend the property name by the name of the corresponding autoobject. For example:
Examples::Device.Property
Does it help you further?
Best regards
Paul Banach