This KPI Trend Widget is the Cumulocity module federation plugin created using c8ycli. This plugin can be used in Application Builder or Cockpit. It shows current measurement value in realtime and a chart based on measurement values as datapoints in widget.
APPLICATION BUILDER | CUMULOCITY | KPI TREND WIDGET PLUGIN |
---|---|---|
2.0.x | >= 1016.x.x | 1.x.x |
- Supports measurements from a single device
- Allows color customization for KPI and the trend chart.
- Allows to configure threshold values and do color customization.
- Allows to upload custom image to represent the KPI.
- Supports different chart types.
Cumulocity c8ycli >=1016.x.x
- Make sure you have successfully installed the plugin.
- Click on
Add widget
. - Choose
KPI Trend
widget. Title
is the title of widget. Provide a relevant name. You may choose to hide this. Go toAppearance
tab and chooseHidden
underWidget header style
.- Select the
device
. KPI title
is the name of the KPI you want to show. Example: Temperature, Humidity.Upload KPI icon
allows you to upload relevant icon. Icon should be a image format like .png, jpg, etc.Measurement
allows you to choose the Fragment and Series combined. It automatically gets populated based on the device selected.KPI aggregation interval
is an interval to choose the measurements from to calculate the KPI.KPI color
is the custom color you may want to specify. Clicking this field opens a color picker to help you selecting a color.KPI unit
is a unit value you to specify. Providing this value override the value received with measurement. Leave blank if you don't want to override. Examples: km, m, kg, etc.KPI threshold enabled
and its related fields allows you to configure threshold values. KPI will change its color on reaching the threshold values. Threshold values are inclusive.Chart enabled
is to show or hide chart in the widget.Chart type
is the type of the chart you want to see. There are 2 options line and bar.Chart position
decides where to chart in the widget with respect to the KPI.Chart height
is the height of the chart you want to configure in pixels.Chart color
is the color of the chart you want to see. Clicking this field opens a color picker.Chart aggregation type
is whether you want to retrieve the measurement to be plotted on the chart based on the interval or the custom number.- Click
Save
to add the widget on the dashboard. - In case you see unexpected results on the widget, refer to browser console to see if there are error logs.
- This widget support runtime deployment. Download Runtime Binary and install via Administrations --> Ecosystems --> Applications --> Packages
This guide will teach you how to add widget in your existing or new dashboard.
-
Open your application from App Switcher
-
Add new dashboard or navigate to existing dashboard
-
Click
Add Widget
-
Search for
KPI Trend
-
Select
Target Assets or Devices
-
Click
Save
Congratulations! KPI Trend is configured.
This widget is provided as-is and without warranty or support. They do not constitute part of the Software AG product suite. Users are free to use, fork and modify them, subject to the license agreement. While Software AG welcomes contributions, we cannot guarantee to include every contribution in the master project.
For more information you can Ask a Question in the TECH Community Forums.