Update Chart Second Category Axis – Aspose.Cells Cloud API
The PostChartSecondCategoryAxis API (POST https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/secondcategoryaxis) updates the second category axis of a chart in Aspose.Cells Cloud, enabling precise control over axis formatting and scale by sending an axis configuration object in the request body.
The Post Chart Second Category Axis Web API
POST https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/secondcategoryaxis
Security and Authentication
The Aspose.Cells Cloud APIs are secure and require JWT token-based authentication.
Request Parameters
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
|---|---|---|---|
| name | String | Path | The file name. |
| sheetName | String | Path | The worksheet name. |
| chartIndex | Integer | Path | The chart index. |
| axis | class:axis | HTTPBody | Axis |
| folder | String | Query | The folder where the file is situated. |
| storageName | String | Query | The storage name where the file is situated. |
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
Response
[
{
"Name": "CellsCloudResponse",
"DataType": {
"Identifier": "Class",
"Reference": "CellsCloudResponse"
}
}
]
Sample response headers
HTTP/1.1 200 OK
Content-Type: application/json
HTTP Status Codes
| Code | Meaning | Description |
|---|---|---|
| 200 | OK | The request completed successfully. |
| 400 | Bad Request | The request is malformed or one or more parameters are invalid. |
| 401 | Unauthorized | Authentication failed, or the JWT token is missing or expired. |
| 404 | Not Found | The requested workbook, worksheet, or resource was not found. |
| 413 | Payload Too Large | The uploaded file exceeds the allowed size limit. |
| 500 | Internal Server Error | The server encountered an unexpected error while processing the request. |
How to Use the Post Chart Second Category Axis API with SDKs?
Post Chart Second Category Axis API Specification
The Post Chart Second Category Axis API Specification defines a publicly accessible programming interface and enables you to carry out REST interactions directly from a web browser.
SDKs simplify development by handling low‑level details and allowing you to focus on your business logic. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
curl Example
You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make calls to the Cloud API with cURL.
Use Aspose.Cells Cloud SDKs
Using the SDK is the fastest way to develop, as it abstracts away the low‑level details, allowing you to use the API with short code.
Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: