Having this issue even though the margin is set to auto and margin range is set to 2.
I'm using the easy chart component.
In in the axes dataset, there are tick mark and tick unit parameters. Adjust them to reduce the number of tick marks that appear in the chart.