# XY Chart series x\_values (name/string) modification

**URL:** <https://forum.inductiveautomation.com/t/xy-chart-series-x-values-name-string-modification/60338>\
**Category:** Ignition\
**Tags:** ignition80, perspective, scripting\
**Created:** [June 3, 2022, 10:08am UTC](https://forum.inductiveautomation.com/t/xy-chart-series-x-values-name-string-modification/60338 "2022-06-03T10:08:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IA\_old\_forum](https://avatars.discourse-cdn.com/v4/letter/i/7ab992/32.png) [@IA\_old\_forum](https://forum.inductiveautomation.com/u/IA_old_forum)\
**Post date:** [June 3, 2022, 10:08am UTC](https://forum.inductiveautomation.com/t/xy-chart-series-x-values-name-string-modification/60338/1 "2022-06-03T10:08:38Z")

</div>

I have the following XY chart:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/9/792eaf5759bbac37fc7470e1b97e1403d5762344.png)  
he x axis is set to category and it should be the name of every element(error name) of the series. Right now it is not understandable because the letters are all on top of one another.

**Does anyone know if it is possible to tilt them so each one is legible?**  
sort of like this:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/c/dc1c7f041fb55921f3c8865361f7a122e8f76584.png)

Also, is there a way to rearrange the columns so they appear from greatest to smallest? I could not see any option for it. I was thinking, worst case I will populate them in decreasing order from a dataset with a small script.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [June 3, 2022, 11:18am UTC](https://forum.inductiveautomation.com/t/xy-chart-series-x-values-name-string-modification/60338/2 "2022-06-03T11:18:25Z")

</div>

rotate:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/f/2f3cda1d2f509d40d4277d5abb257e9b46b3273d.png)

i doubt there is a way to sort them.  
You’ll probably have to sort the dataSource

---

<div class="post-metadata">

**Author:** ![IA\_old\_forum](https://avatars.discourse-cdn.com/v4/letter/i/7ab992/32.png) [@IA\_old\_forum](https://forum.inductiveautomation.com/u/IA_old_forum)\
**Post date:** [June 3, 2022, 11:53am UTC](https://forum.inductiveautomation.com/t/xy-chart-series-x-values-name-string-modification/60338/3 "2022-06-03T11:53:19Z")

</div>

Thanks! I was wondering which attribute I could use, because they were not showing and the documentation is down...
