Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
After you create a chart in a worksheet, you can then set the category axis for it. In this article, we will show you how to set the category axis for an Excel chart using Aspose.Cells for Python via .NET with sample code.
Create a new workbook.
Create a new chart in the first worksheet.
Add some values to cells in the first worksheet.
Now you can set the category axis. There are two ways: using cell data or using strings directly; both are shown in the sample code.
Set the value axis and save the workbook to view the result.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.