PutWorksheetChart
Contents
[
Hide
]
PutWorksheetChart
Add a new chart in the worksheet.
REST API
API | HttpMethod | Description | API reference |
---|---|---|---|
/cells/{name}/worksheets/{sheetName}/charts | PUT | Add a new chart in the worksheet. | PutWorksheetChart |
Path Parameter
Parameter Name | Type | Description |
---|---|---|
name | string | The file name. |
sheetName | string | The worksheet name. |
Query Parameter
Parameter Name | Type | Description | |
---|---|---|---|
chartType | string | Chart type | please refer property Type in chart resource. |
upperLeftRow | integer | Upper-left row for the new chart. | |
upperLeftColumn | integer | Upper-left column for the new chart. | |
lowerRightRow | integer | Lower-left row for the new chart. | |
lowerRightColumn | integer | Lower-left column for the new chart. | |
area | string | Specify the values from which to plot the data series. | |
isVertical | boolean | Specify whether to plot the series from a range of cell values by row or by column. | |
categoryData | string | Get or set the range of category axis values. It can be a range of cells (e.g. | 'D1:E10'). |
isAutoGetSerialName | boolean | Specify whether to auto-update the serial name. | |
title | string | Specify the chart title name. | |
folder | string | The folder where the file is situated. | |
dataLabels | boolean | Represents the specified chart's data label values display behavior. True to display the values | False to hide them. |
dataLabelsPosition | string | Represents data label position (Center/InsideBase/InsideEnd/OutsideEnd/Above/Below/Left/Right/BestFit/Moved). | |
pivotTableSheet | string | The source is the data of the pivotTable. If PivotSource is not empty | the chart is a PivotChart. |
pivotTableName | string | The pivot table name. | |
storageName | string | The storage name where the file is situated. |