# How to have one common Y-axis for two values in xy chart?

**URL:** <https://forum.inductiveautomation.com/t/how-to-have-one-common-y-axis-for-two-values-in-xy-chart/80796>\
**Category:** Ignition\
**Created:** [October 20, 2023, 9:12pm UTC](https://forum.inductiveautomation.com/t/how-to-have-one-common-y-axis-for-two-values-in-xy-chart/80796 "2023-10-20T21:12:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramy\_Shalaby](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@Ramy\_Shalaby](https://forum.inductiveautomation.com/u/Ramy_Shalaby)\
**Post date:** [October 20, 2023, 9:12pm UTC](https://forum.inductiveautomation.com/t/how-to-have-one-common-y-axis-for-two-values-in-xy-chart/80796/1 "2023-10-20T21:12:05Z")

</div>

Hello,

I have a dataset being returned from a database query. The first value is the X-axis and the second and third axis are Y values. How to make the Y-axis common?

Thanks in advance

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/5/957bf7de7db209de1656c76cbb8ef06c3dd1c95c.png)

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 20, 2023, 9:27pm UTC](https://forum.inductiveautomation.com/t/how-to-have-one-common-y-axis-for-two-values-in-xy-chart/80796/2 "2023-10-20T21:27:06Z")

</div>

- Make sure you have a y-axis defined and that the name is defined. e.g.  
`props.yAxes.0.name : temperature`
- Make the following settings:

```auto
series.0.yAxis : temperature
series.1.yAxis : temperature
series.2.yAxis : temperature

```

Give each series a name as well for good documentation.
