# Swap Axes in a timeseries chart

**URL:** <https://forum.inductiveautomation.com/t/swap-axes-in-a-timeseries-chart/45147>\
**Category:** Ignition\
**Tags:** perspective, ignition80\
**Created:** [March 31, 2021, 10:08pm UTC](https://forum.inductiveautomation.com/t/swap-axes-in-a-timeseries-chart/45147 "2021-03-31T22:08:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sathianandan.dharmas](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@sathianandan.dharmas](https://forum.inductiveautomation.com/u/sathianandan.dharmas)\
**Post date:** [March 31, 2021, 10:08pm UTC](https://forum.inductiveautomation.com/t/swap-axes-in-a-timeseries-chart/45147/1 "2021-03-31T22:08:09Z")

</div>

Hi All  
I’m trying to swap the axes of a time series chart on perspective i.e I want my timestamp to be the ‘y’ axis and the tag value to be ‘x’ axis. This sounds simple but I’m having a hard time figuring it out. I’m using the tag history binding (historical) for the data by the way.

Any help is greatly appreciated. Thanks

Sam

---

<div class="post-metadata">

**Author:** ![matthew.ayre](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.ayre/32/19499_2.png) [@matthew.ayre](https://forum.inductiveautomation.com/u/matthew.ayre)\
**Post date:** [April 1, 2021, 7:18am UTC](https://forum.inductiveautomation.com/t/swap-axes-in-a-timeseries-chart/45147/2 "2021-04-01T07:18:36Z")

</div>

Hi @sathianandan.dharmas, I believe the time series chart can only display the time on the X-axis and that there is no easy way to change this.

You might be better off trying to use an XY chart, in which you can define what type you would like your axis to be (e.g. value, date, or category). For more information on the XY chart see [here](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+XY+Chart)

---

<div class="post-metadata">

**Author:** ![sathianandan.dharmas](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@sathianandan.dharmas](https://forum.inductiveautomation.com/u/sathianandan.dharmas)\
**Post date:** [April 1, 2021, 2:32pm UTC](https://forum.inductiveautomation.com/t/swap-axes-in-a-timeseries-chart/45147/3 "2021-04-01T14:32:59Z")

</div>

Thanks a lot, Matthew. I was waiting to confirm this on forums before changing it to XY chart, I got my answer now.

Sam

---

<div class="post-metadata">

**Author:** ![Vignesh\_Balasubraman](https://avatars.discourse-cdn.com/v4/letter/v/a9a28c/32.png) [@Vignesh\_Balasubraman](https://forum.inductiveautomation.com/u/Vignesh_Balasubraman)\
**Post date:** [August 24, 2023, 6:55am UTC](https://forum.inductiveautomation.com/t/swap-axes-in-a-timeseries-chart/45147/4 "2023-08-24T06:55:51Z")

</div>

![Graph Image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/e/3e8466739521bfbea53e84113f838ec598689936.png)

Hi Matthew,

```
           Please refer the attached XY graph Image. We have the dataset of 3 Column, RdataTime, Spec & Act. I have mapped the All Axis. But all data showing single line. Please support for this.

```
