Coder Social home page Coder Social logo

softwareag / cumulocity-kpi-trend-widget-plugin Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 1.0 1.1 MB

KPI Trend is Cumulocity IoT runtime widget that shows the latest device measurement as a KPI and previous device measurements in a chart as a trend. It has been developed by Software AG Global Presales team.

License: Apache License 2.0

TypeScript 74.14% JavaScript 1.28% CSS 1.28% HTML 23.30%
cumulocity-iot iot-analytics plugin cumulocity-widget global-presales plugins widget kpi-trend cumulocity widgets

cumulocity-kpi-trend-widget-plugin's Introduction

Cumulocity KPI Trend Widget Plugin

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.

Preview

Please choose KPI Trend Widget release based on Cumulocity/Application builder version:

APPLICATION BUILDER CUMULOCITY KPI TREND WIDGET PLUGIN
2.0.x >= 1016.x.x 1.x.x

Features

  • 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.

Prerequisite

Cumulocity c8ycli >=1016.x.x

Installation

Configuration - to view the KPI and trend Chart in the widget

  1. Make sure you have successfully installed the plugin.
  2. Click on Add widget.
  3. Choose KPI Trend widget.
  4. Title is the title of widget. Provide a relevant name. You may choose to hide this. Go to Appearance tab and choose Hidden under Widget header style.
  5. Select the device.
  6. KPI title is the name of the KPI you want to show. Example: Temperature, Humidity.
  7. Upload KPI icon allows you to upload relevant icon. Icon should be a image format like .png, jpg, etc.
  8. Measurement allows you to choose the Fragment and Series combined. It automatically gets populated based on the device selected.
  9. KPI aggregation interval is an interval to choose the measurements from to calculate the KPI.
  10. KPI color is the custom color you may want to specify. Clicking this field opens a color picker to help you selecting a color.
  11. 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.
  12. 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.
  13. Chart enabled is to show or hide chart in the widget.
  14. Chart type is the type of the chart you want to see. There are 2 options line and bar.
  15. Chart position decides where to chart in the widget with respect to the KPI.
  16. Chart height is the height of the chart you want to configure in pixels.
  17. Chart color is the color of the chart you want to see. Clicking this field opens a color picker.
  18. 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.
  19. Click Save to add the widget on the dashboard.
  20. In case you see unexpected results on the widget, refer to browser console to see if there are error logs.

Runtime Widget Deployment?

  • This widget support runtime deployment. Download Runtime Binary and install via Administrations --> Ecosystems --> Applications --> Packages

QuickStart

This guide will teach you how to add widget in your existing or new dashboard.

  1. Open your application from App Switcher

  2. Add new dashboard or navigate to existing dashboard

  3. Click Add Widget

  4. Search for KPI Trend

  5. Select Target Assets or Devices

  6. 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.

cumulocity-kpi-trend-widget-plugin's People

Contributors

darpanlalani avatar sandhyadeeps avatar sheethaljr avatar yashpshah-swag avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.