# Allow to plot other datatypes on X Axis other than timeseries

**URL:** <https://community.cumulocity.com/t/allow-to-plot-other-datatypes-on-x-axis-other-than-timeseries/7156>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [January 19, 2023, 3:40pm UTC](https://community.cumulocity.com/t/allow-to-plot-other-datatypes-on-x-axis-other-than-timeseries/7156 "2023-01-19T15:40:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harshil\_Gandhi](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/harshil_gandhi/32/6222_2.png) [@Harshil\_Gandhi](https://community.cumulocity.com/u/Harshil_Gandhi)\
**Post date:** [January 19, 2023, 3:40pm UTC](https://community.cumulocity.com/t/allow-to-plot-other-datatypes-on-x-axis-other-than-timeseries/7156/1 "2023-01-19T15:40:17Z")

</div>

#### What product/components do you use and which version/fix level are you on?

latest

#### Is your question related to the free trial, or to a production (customer) instance?

yes

#### What are you trying to achieve? Please describe it in detail.

I want to plot integer values on datapoint charts as it is one of the features requested by customer.  
But as of now there is no option to configure any other variables pertaining any other datatypes than timestamp.

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

I request you to extend support or show other possible alternative if requirement can be fulfilled.

#### Do you get any error messages? Please provide a **full error** message screenshot and log file.

#### Have you installed all the latest fixes for the products and systems you are using?

---

<div class="post-metadata">

**Author:** ![Robert\_Neale](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/robert_neale/32/31965_2.png) [@Robert\_Neale](https://community.cumulocity.com/u/Robert_Neale)\
**Post date:** [January 19, 2023, 4:19pm UTC](https://community.cumulocity.com/t/allow-to-plot-other-datatypes-on-x-axis-other-than-timeseries/7156/2 "2023-01-19T16:19:55Z")

</div>

Not sure what you mean by ‘datapoint charts’  
Can you elaborate?

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [January 23, 2023, 10:57am UTC](https://community.cumulocity.com/t/allow-to-plot-other-datatypes-on-x-axis-other-than-timeseries/7156/3 "2023-01-23T10:57:45Z")

</div>

It’s not a chart issue, it’s a data model issue. If you use any data point widget which is based on measurements you always have two dimensions which is typical for timeseries data:

1. the numeric value (y-axis)
2. the time the numeric value occurs (x-axis)

Having the x-axis used for time using measurements is totally fine in default widgets in my perspective. If you have any other data model beside measurements or you want to ignore the time dimension and correlate two measurement values you can visualize data with a custom widget e.g. scatter charts etc.

> **[GitHub - Cumulocity-IoT/cumulocity-datapoints-charting-widget-plugin: Cumulocity Datapoints Charting Widget allows you...](https://github.com/Cumulocity-IoT/cumulocity-datapoints-charting-widget-plugin)**
>
> Cumulocity Datapoints Charting Widget allows you to create charts showing data from one or more devices. You can create many chart types including line, spline, bar, radar, scatter and bubble. Runtime Installation is available. Created by Global Presales.

If this still doesn’t fit to your need you can extend it because it is open-source and can be adapted if needed.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [July 22, 2023, 10:58am UTC](https://community.cumulocity.com/t/allow-to-plot-other-datatypes-on-x-axis-other-than-timeseries/7156/4 "2023-07-22T10:58:31Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
