Free Support Forum - aspose.com

Axis position "On tick marks"

Hi,
I’m using Aspose.Cells and I have a problem.
I want to tick for “On tick mark” of Axis position (default is Between tick marks)
Capture.PNG (21.2 KB)
Can you help me?
Thank you!

@DungLT,

Thanks for the screenshot.

I could not find the relevant API for the task. Anyways, could you provide us template Excel file containing the chart (for which you want to set the option), we will check it may log a ticket for it.

Thanks for your support.
I found it, it is “CategoryAxis.AxisBetweenCategories = false”

@DungLT,

Good to know that you have sorted out your issue by using the boolean CategoryAxis.AxisBetweenCategories attribute. Feel free to write us back if you have further comments or questions, we will be happy to assist you soon.