# 2 Y-axis for a line chart

**URL:** <https://discourse.nodered.org/t/2-y-axis-for-a-line-chart/96293>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [27 March 2025 10:32 UTC](https://discourse.nodered.org/t/2-y-axis-for-a-line-chart/96293 "2025-03-27T10:32:19Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [27 March 2025 11:16 UTC](https://discourse.nodered.org/t/2-y-axis-for-a-line-chart/96293/2 "2025-03-27T11:16:37Z")

</div>

Chart node does not support that.  
You can do it by making the charts with ui\_template so you can provide options for scales.

```auto
scales: {
   x: {
       // x options here
   },
   y:{
       display: true,
       position: 'right'
   },
   y1:{
       display: true,
       position: 'left',                                
       grid: {
            drawOnChartArea: false 
       }
   }
}

```

---

_[View the full topic](https://discourse.nodered.org/t/2-y-axis-for-a-line-chart/96293)._
