Add a Chart in a Worksheet

This REST API indicates add a new chart to worksheet.

RSET API

 
PUT http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/charts
 

The request parameters are:

Parameter Name Type Path/Query String/HTTPBody Description
name string path Workbook name.
sheetName string path The worksheet name.
chartType string query Chart type, please refer property Type in chart resource.
upperLeftRow integer query 0
upperLeftColumn integer query 0
lowerRightRow integer query 0
lowerRightColumn integer query 0
area string query Specifies values from which to plot the data series.
isVertical boolean query True
categoryData string query Gets or sets the range of category Axis values. It can be a range of cells (such as, “d1:e10”).
isAutoGetSerialName boolean query True
title string query Specifies chart title name.
folder string query The workbook folder.
storageName string query storage name.
dataLabels boolean query True
dataLabelsPosition string query Above
pivotTableSheet string query
pivotTableName string query

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

You can use cURL command-line tool to access Aspose.Cells web services easily. The following example shows how to make calls to Cloud API with cURL.

Cloud SDK Family

Using an SDK is the best way to speed up the development. An SDK takes care of low-level details and lets you 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 make calls to Aspose.Cells web services using various SDKs: