You have to few more steps to show data in line chart,
- Log the Thing property values
- Options: ValueStream, Stream, External Table
- Easiest way to log the property values is Value Stream method
- Use "QueryPropertyHistory()" service to pull all logged values.
To log into Value stream:
- Create value stream with "ValueStream" as Thing Template.

2. Attach the Value Stream into the Thing where the properties needs to be logged.

3. Make property to be "Log"

4. Now, you can use QueryPropertyHistory()