Cumulocity-IoT / cumulocity-community-plugins

This is a set of module federation plugins developed and maintained by the community.
Apache License 2.0
3 stars 3 forks source link

Device-Specific Measurements Issue and Y-Axis Optimization #53

Open A1D-Miller opened 2 days ago

A1D-Miller commented 2 days ago

Describe the bug A clear and concise description of what the bug is. Group Dashboard: The multiple axis lines on the right side significantly impair the readability of the widget. Ideally, there should be only a single axis visible for all data points with the same range (min and max), similar to the standard “Data Point Graph” widget. This would greatly improve the clarity and user-friendliness of the display.

Device Dashboard: Furthermore, when attempting to use an identical dashboard for multiple devices of the same type, the widget only displays the measurements for a single device, specifically the first device that was configured. The widget are not showing the measurement of the selected device similar to the standard “Data Point Graph” widget.

To Reproduce Steps to reproduce the behavior: Group Dashbaord

  1. Create a group and assign several devices
  2. add the Data Point Graph 2.0” widget
  3. Assing the data points that that should be displayed, and configure the same same Min and Max Range for all data point
  4. See error

Device Dashbaord

  1. Create a group and assign several devices with the same device type xxxxx
  2. Create a new dashbord and set "Apply dashboard to all devices of type xxxxx" to true
  3. Add the Data Point Graph 2.0” widget
  4. Go to one of the devices and configure the data point that should be displayed and click save
  5. Go to the next device and verify the measurement
  6. See error

Expected behavior Group dashboard Ideally, there should be only a single axis visible for all data points with the same range (min and max), similar to the standard “Data Point Graph” widget. This would greatly improve the clarity and user-friendliness of the display.

Device Dashbaord Ideally, the widget should adapt and display data specific to the selected device

Screenshots grafik grafik

Desktop (please complete the following information):

reey commented 2 days ago

Hi @A1D-Miller,

can you provide details regarding the version of Cockpit and the version of the shell that you have used to test this?

A1D-Miller commented 2 days ago

Hi @reey here are the version I am using:

reey commented 2 days ago

The first issue you've described is already described in: https://github.com/SoftwareAG/cumulocity-community-plugins/issues/4 The second issue is being worked on in: https://github.com/SoftwareAG/cumulocity-community-plugins/pull/36