We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Chart X- axis Labels

Hi,

I am trying to add labels to X-axis for a chart.

I used the following property to add labels but there are 2 too many labels.

chart.CategoryAxis.TickLabelSpacing = 5

Is it possible to space out the labels and show the last label. I dont want to make
chart.CategoryAxis.TickLabelSpacing = 1. because there will be too many labels.
Even if I do that, even then the last label does not show up.

Thanks,
Amol.

Hi,


Aspose.Cells follows MS standards. Please perform your steps (as per your code) in MS Excel manually and check if you can do this in MS Excel. I you are able to perform your task in MS Excel, then Aspose.Cells can also do this. If you are successful in MS Excel, kindly do post your expected Excel file that you may create in Ms Excel manually (which will contain your desired chart), also give us details about steps on how to accomplish this using chart options, we will check your issue soon.

Thank you.