# Repeated X Axis Values,

**URL:** <https://forum.inductiveautomation.com/t/repeated-x-axis-values/100296>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 30, 2024, 6:35am UTC](https://forum.inductiveautomation.com/t/repeated-x-axis-values/100296 "2024-12-30T06:35:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [December 30, 2024, 4:17pm UTC](https://forum.inductiveautomation.com/t/repeated-x-axis-values/100296/2 "2024-12-30T16:17:42Z")

</div>

You probably need to work with `xAxes.0.appearance.grid.minDistance` to get the effect you want. Have a read of Nick Minchin's reply on this topic. (It's about the y-axis grid so you'll need to convert to x-axis.)

> [@Perspecrive XY CHART Question](https://forum.inductiveautomation.com/t/perspecrive-xy-chart-question/72550/6):
>
> Setting it to 0.5 isn't going to produce 5 gridlines, even if there weren't smarts to work out how many will actually fit on the graph; you would get 100s of 1000s of gridlines (600k) If you want 5 gridlines dynamically, then you will need to: set the min/max y range statically (props.yAxes[x].value.range.min/max and set useStrict to true) set props.yAxes[x].appearance.grid.minDistance = expression binding: ({this.props.yAxes[x].value.range.max}-{this.props.yAxes[x].value.range.min})/5 whe…

---

_[View the full topic](https://forum.inductiveautomation.com/t/repeated-x-axis-values/100296)._
