Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
You now have a test Thing that has an Info Table Property and Time Series Property with values appropriate for display in various Chart Widgets, as well as a Mashup with those charts inside.
However, in order for the Widget to display data, you need to bind it to the data source.
Check the Execute on Load box under Selected Services.
6. In the Services Filter field, type QueryPropertyHistory.
7. Click the right-arrow beside QueryPropertyHistory.
8. Check the Execute on Load box under Selected Services.
9. Click Done to close the Add Data pop-up window.
3. On the Select Binding Target pop-up, select Data.
4. Repeat steps 2-3 for the Label, Proportional, and Bubble charts.5. Drag-and-drop QueryPropertyHistory > Returned Data > All Data to the Line Chart Widget in the bottom-middle section of the Canvas.
6. On the Select Binding Target pop-up, select Data.
7. Repeat steps 5-6 for the Event Chart in the bottom-right of the Canvas.
Chart | Property | Setting |
Label | XAxisField | XAxis |
Label | DataField1 | Data |
Proportional | XAxisField | XAxis |
Proportional | DataField 1 | ASensor |
Proportional | DataField 2 | BSensor |
Proportional | DataField 3 | CSensor |
Bubble | XAxisField1 | XValue |
Bubble | YAxisField1 | YValue |
Bubble | BubbleValueField1 | BubbleValue |
Line | XAxisField | timestamp |
Event | XAxisField | timestamp |
Event | LabelField | TimeSeriesProperty |
7. At the top, click Save.
8. Click View Mashup.
Congratulations! In this guide, you learned how to:
This is the last guide in the Customize UI and Display Options to Deploy Applications learning path.
If you have questions, issues, or need additional information, refer to:
Resource | Link |
Community | |
Support |