Charts
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
SheetsChart
一种 PageElement
类型,表示从 Google 表格嵌入的链接图表。
JSON 表示法
|
{
"spreadsheetId": string,
"chartId": integer,
"contentUrl": string,
"sheetsChartProperties": {
object (SheetsChartProperties )
}
}
|
字段
|
spreadsheetId
|
string
包含源图表的 Google 表格电子表格的 ID。
|
chartId
|
integer
嵌入的 Google 表格电子表格中特定图表的 ID。
|
contentUrl
|
string
嵌入式图表的图片的网址,默认有效期为 30 分钟。此网址会带有请求者的账号标记。知道网址的任何人都可以以原始请求者的身份有效地访问图片。如果演示文稿的共享设置更改,则可能会失去对图片的访问权限。
|
sheetsChartProperties
|
object (SheetsChartProperties )
Google 表格图表的属性。
|
SheetsChartProperties
JSON 表示法
|
{
// Union field kind can be only one of the following:
"chartImageProperties": {
object (ImageProperties )
}
// End of list of possible types for union field kind .
}
|
字段
|
联合字段 kind 。表格图表属性的种类。
kind 只能是以下其中一项:
|
chartImageProperties
|
object (ImageProperties )
嵌入式图表图片的属性。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-21。
[null,null,["最后更新时间 (UTC):2025-03-21。"],[],[],null,["# Charts\n\n### SheetsChart\n\n\nA\n[PageElement](/workspace/slides/api/reference/rest/v1/presentations.pages#Page.PageElement)\nkind representing a linked chart embedded from Google Sheets.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"spreadsheetId\": string, \"chartId\": integer, \"contentUrl\": string, \"sheetsChartProperties\": { object (/workspace/slides/api/reference/rest/v1/presentations.pages/charts#Page.SheetsChartProperties) } } ``` |\n\n| Fields ||\n|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `spreadsheetId` | `string` The ID of the Google Sheets spreadsheet that contains the source chart. |\n| `chartId` | `integer` The ID of the specific chart in the Google Sheets spreadsheet that is embedded. |\n| `contentUrl` | `string` The URL of an image of the embedded chart, with a default lifetime of 30 minutes. This URL is tagged with the account of the requester. Anyone with the URL effectively accesses the image as the original requester. Access to the image may be lost if the presentation's sharing settings change. |\n| `sheetsChartProperties` | `object (`[SheetsChartProperties](/workspace/slides/api/reference/rest/v1/presentations.pages/charts#Page.SheetsChartProperties)`)` The properties of the Sheets chart. |\n\n### SheetsChartProperties\n\n\nThe properties of the\n[SheetsChart](/workspace/slides/api/reference/rest/v1/presentations.pages/charts#Page.SheetsChart).\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `kind` can be only one of the following: \"chartImageProperties\": { object (/workspace/slides/api/reference/rest/v1/presentations.pages/other#Page.ImageProperties) } // End of list of possible types for union field `kind`. } ``` |\n\n| Fields ||\n|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `kind`. The kind of Sheets chart properties. `kind` can be only one of the following: ||\n| `chartImageProperties` | `object (`[ImageProperties](/workspace/slides/api/reference/rest/v1/presentations.pages/other#Page.ImageProperties)`)` The properties of the embedded chart image. |"]]