The easiest way to achieve this is just to clear the TickPoints
collection of AxisX after the chart has been populated:
However, I am a bit puzzled by the effect caused by setting the MajorGridLinesVisibility
- this property is not supposed to hide ticks and labels and does not hide them at my end. It should only control the X axis gridlines, which are hidden by default. Can you confirm you have used this very property?
As for the Y axis -- this behavior might be caused by the automatic range and step calculations. Hiding the X axis ticks and labels provides more vertical space, so the calculations for Y axis might end up with different results - hence difference MinValue, MaxValue and Step. If you need to set your own values for these you have to set AxisY.AutoRange
property to false
Hope this helps.
All the best,
the Telerik team