Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello,
I am using vuforia version 9.14.2.0
I was wondering if I could receive help on using the time series chart for Vuforia Studio. I tried to use the ptc guide, but when i followed the instructions, I didn't get any data on the chart, as well as the chart's bounds were also incorrect. Here's an image of what I currently have on Vuforia:
The way I've tried adding data was that from my external data tab, I used the service: "GetPropertyValues" on my thing and then dragged the "All items" as shown on the guide onto the time series chart and bound it to data. As shown in the image below, the data tab is bound to the "All Items"
Is there something I'm missing or doing wrong?
Thank you in advance.
You can test it with the below instruction:
In ThingWorx,
1. create a DataShape "testTimeSeriesChartDS" with below fields:
ID: type: long, set it as the Primary Key
time: type: Datetime
number: type: number
2. create a DataTable "TestTimeSeriesChartDataTable" with the above DataShape,
3. add the rows of data using the DataTable's Service "AddOrUpdateDataTableEntry"
In Studio:
1) Add a GetdataTableEntries service of the TestTimeSeriesChartDataTable in External Data
2) In the Configuration of the service, check Invoke On Startup and Auto-select first row
3) Bind All Items to the Data property
4) Bind X-axis Field to time
5) Bind Y-axis Field to number
6) Save the project and preview the experience
see below screenshot: