Get Chart Second Category Axis – Aspose.Cells Cloud API

This REST API retrieves the second‑category axis of a chart.

REST API

GET 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 Parameter Location (path/query) Description
name string path Name of the Excel file stored in the cloud.
sheetName string path Name of the worksheet that contains the chart.
chartIndex integer path Zero‑based index of the chart whose axis is requested.
folder string query Folder path in the storage where the file is located.
storageName string query Name of the Aspose Cloud storage to use (optional).

Response

{
  "Code": 200,
  "Status": "OK",
  "Axis": {
    "Name": "Second Category Axis",
    "IsVisible": true,
    "AxisLine": { "Style": "Solid", "Weight": 1 },
    "TickMarks": "Inside",
    "Label": {
      "Font": { "Size": 10, "Color": "#000000" },
      "Format": "General"
    }
  }
}

Response Status Codes

Code Meaning Description
200 OK Compression succeeded; response contains compressed file details.
400 Bad Request Missing or invalid parameters (e.g., unsupported file type).
401 Unauthorized Invalid or missing JWT token.
413 Payload Too Large Uploaded file exceeds size limit.
500 Internal Server Error Unexpected server error.

How to Use the GetChartSecondCategoryAxis API with SDKs

GetChartSecondCategoryAxis API Specification

The Get‑Chart‑Second‑Category‑Axis operation is defined in the OpenAPI Specification and enables direct REST interactions from a web browser or any HTTP client.

You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to call the API with cURL.

Use Aspose.Cells Cloud SDKs

Using an SDK is the fastest way to integrate this API into your project. SDKs handle low‑level details such as authentication, request building, and response parsing, letting you focus on business logic. See the full list of Aspose.Cells Cloud SDKs in the GitHub repository.

The following code examples demonstrate how to call the Get Chart Second Category Axis operation with various SDKs: