ThingWorx Model Definition and Composer > Visualization > Dashboards > Gadgets
  
Gadgets
Dashboards are made up of Gadgets. Gadgets are reusable contained Mashups that have additional metadata to handle the sizing requirements of a dashboard. Gadgets can display historical or current data. Any widget and service can be used in a Gadget. Gadgets contain predefined parameters, and they are available in various predefined sizes (1x1, 2x2, and so on).
Gadgets allow you to dynamically assign the displayed property values. For example, multiple display Gadgets (LED, Gauge, or Chart) can be created, so that you can select the view of the temperature data displayed on your dashboard.
Gadgets are versatile because they can be used in different scenarios. Gadgets can be:
embedded in any Mashup
standalone applications
embedded as a screen in another application
Creating a Gadget
1. From Composer, browse VISUALIZATION > Gadgets, and then click the New button.
2. Select the appropriate Gadget column layout, and then click OK.
3. Enter a name and description, and then click Save.
4. In the Design area, add and configure widget(s) on the Gadget Mashup.
5. Use the Mashup properties to provide the greatest amount of flexibility and interchangeability to the Gadget.
6. Click Save.
Creating a Gadget Library Mashup
A Gadget library Mashup consist of Gadgets that are available on the dashboard. This Mashup is linked to the Dashboard Mashup. This process is the same as creating a Mashup for non-dashboard purposes.
1. From Composer, browse VISUALIZATION > Mashups, and then click the New button.
2. Select a Mashup type, and then click OK.
3. Enter a name and description, and then click Save.
4. In the Design area, configure the Mashup as necessary by dragging the required Gadgets from the Mashups pane onto the Mashup designer window.
5. Click Save.
Creating a Dashboard Mashup
A Dashboard Mashup contains the Dashboard widget and is linked to the Gadget library Mashup.
1. From Composer, browse VISUALIZATION > Mashups, and then click the New button.
2. Select a Mashup type, and then click OK.
3. Enter a name and description, and then click Save.
4. In the Design area, drag the Dashboard widget into the Mashup designer window.
5. In the Dashboard properties window, in the MashupToAddGadgets field, use the magic picker icon to select the previously created Gadget library Mashup.
6. Click Save.
Related Links
Configuring Visibility and Permissions in Dashboards
Dashboard Configuration
Dashboard Services
Dashboard Run Time