# How to visualize Enum or String Data in Cumulocity Cloud

**URL:** <https://community.cumulocity.com/t/how-to-visualize-enum-or-string-data-in-cumulocity-cloud/202>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [April 19, 2022, 1:16pm UTC](https://community.cumulocity.com/t/how-to-visualize-enum-or-string-data-in-cumulocity-cloud/202 "2022-04-19T13:16:59Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Christian\_Guether1](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/christian_guether1/32/14848_2.png) [@Christian\_Guether1](https://community.cumulocity.com/u/Christian_Guether1)\
**Post date:** [April 25, 2022, 1:29pm UTC](https://community.cumulocity.com/t/how-to-visualize-enum-or-string-data-in-cumulocity-cloud/202/3 "2022-04-25T13:29:58Z")

</div>

Hi,

as stated in the documentation measurements always require to have numerical values. You could extend a measurement and provide additional information by using custom fragments. But these custom fragments won’t be picked up by any of the Cumulocity built-in components. In addition, I don’t think it would be the correct approach for your requirements.

The information you want to send to Cumulocity for your device is describing a state of change for the device. For example, if the device is out of range or whether the device is on/off. For such kind of information you typically use [Events](https://cumulocity.com/api/10.11.0/#operation/postEventCollectionResource) in Cumulocity. [Link](https://cumulocity.com/guides/reference/smartrest-two/#event-templates) to predefined MQTT templates. Next to the Measurement tab in Cumulocity’s Device Management application you have an Events tab, which displays all received events. There is also a widget for the dashboard to display received events in a list.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/8/5/854676b963657f534a98ded150063b7f9f0e74ab.png)

If you want to visualize your events differently than just as a plain list, you need to implement your own plugin or widget. There is also the [Process Widget](https://github.com/Cumulocity-IoT/cumulocity-processing-widget) from Global PreSales you might want to look into.

Best regards  
Christian

---

_[View the full topic](https://community.cumulocity.com/t/how-to-visualize-enum-or-string-data-in-cumulocity-cloud/202)._
