Free Support Forum - aspose.com

How to Hide Minor Gridlines with latest version

Was looking for a way to hid some gridlines on the secondary vertical axis but haven’t found a way to accomplish this.

IChart mychrt = (IChart)myshape;
This does work as expected
mychrt.Axes.SecondaryHorizontalAxis.IsVisible = false;
This doesn’t work as i see its a read only Property
mychrt.Axes.SecondaryVerticalAxis.MinorGridLinesFormat=.AS.FillType.NoFill;

Hi Jeff,


Thank you for your interest in Aspose.Slides.

I have observed your comments and like to share with you in order to hide minor gridlines, set MinorGridLinesFormat.Line.FillFormat.FillType to
FillType.NoFill.

Please let us know if the issue persists. We will be happy to assist you further.

Best Regards,