# Help setting up the y axis scaling on a Perspective XY Chart

**URL:** <https://forum.inductiveautomation.com/t/help-setting-up-the-y-axis-scaling-on-a-perspective-xy-chart/87068>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 8, 2024, 8:37pm UTC](https://forum.inductiveautomation.com/t/help-setting-up-the-y-axis-scaling-on-a-perspective-xy-chart/87068 "2024-03-08T20:37:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Felipe\_CRM](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@Felipe\_CRM](https://forum.inductiveautomation.com/u/Felipe_CRM)\
**Post date:** [March 9, 2024, 12:54pm UTC](https://forum.inductiveautomation.com/t/help-setting-up-the-y-axis-scaling-on-a-perspective-xy-chart/87068/2 "2024-03-09T12:54:20Z")

</div>

On the logarithmic scale, the issue is with your range. Since the log of 0 explodes to negative infinity, the chart will attempt to max out the range and your values will disappear.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/b/db5eb1f9109152b727e290ee0b066de9402d7901.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/b/1bb7899e3fd6aaec33b0e5b7bd2127b4279d9814.png)

Instead, set the min to a reasonable low value, or leave it blank so the chart will automatically set a lower limit based on the data (you can still specify a max):  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/0/6084d2ad17d51343ec1e57f67ff174184779e41a.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/2/a228a2ff328d9640b8dea3cdd5559c5bde60dd04.png)

For the linear chart, you'll have to play with the `appearance.grid.minDistance` property of your axis:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/0/70a3e0291a440047eb39c9b8c0cc6f6993e9ea29.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/e/6e6b69fc8112658b707b3ef4adfafbd308c397a5.png)

If you set it to a larger number, the space between gridlines will increase; I believe a value of `null` will automatically pick a grid spacing:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/2/122c26ba5c8f7025a056323dfb519d9cbf0cef6e.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/b/3bea0451429017e146a63286cd944e1725333915.png)

Note this is a visual distance so if you then scale the actual chart component it will adjust the grid numbers to maintain roughly the same visual spacing (relative to view size):

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/0/3091031bbd83eaea80d255e47cf1333e5fdcb2a0.png)

---

_[View the full topic](https://forum.inductiveautomation.com/t/help-setting-up-the-y-axis-scaling-on-a-perspective-xy-chart/87068)._
