Aspose.Cells Cloud API – Set Chart Title in an Excel Worksheet
Contents
[
Hide
]
Adds a chart title or makes an existing title visible.
REST API
PUT http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/title
Request parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | Workbook name. |
| sheetName | string | path | Worksheet name. |
| chartIndex | integer | path | Index of the chart. |
| title | string | body | Text of the chart title. |
| folder | string | query | Folder that contains the workbook. |
| storageName | string | query | Name of the storage. |
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make a call to the Cloud API with cURL.
Error Responses
| HTTP Code | Example Payload | Description |
|---|---|---|
| 400 | { "Code": "400", "Message": "Invalid request payload." } |
The request body is malformed or missing required fields. |
| 401 | { "Code": "401", "Message": "Authentication failed. Invalid or expired JWT token." } |
The bearer token is missing, invalid, or expired. |
| 404 | { "Code": "404", "Message": "Workbook, worksheet, or chart not found." } |
The specified resource does not exist. |
| 500 | { "Code": "500", "Message": "Internal server error." } |
An unexpected error occurred on the server. |
Cloud SDK Family
Using an SDK is the fastest way to develop. An SDK abstracts low‑level details so you can focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to call Aspose.Cells web services using various SDKs: