Remove Tick Marks from the Presentation Chart Using Aspose.Slides for Node.js

Hi support,

How can I remove this tick marks from the axis.
image.png (49.4 KB)

@karanmarsh,
Thank you for posting the question.

To remove the tick marks from the chart axis, please use the following code snippet:

var horizontalAxis = chart.getAxes().getHorizontalAxis();
horizontalAxis.setMajorTickMark(java.newByte(aspose.slides.TickMarkType.Outside));
horizontalAxis.setMinorTickMark(java.newByte(aspose.slides.TickMarkType.Outside));

More examples in Java:

Resolved. Thanks

@karanmarsh,
Thank you for using Aspose.Slides for Node.js.