Charts
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
SheetsChart
A 罩杯
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 )
試算表圖表的屬性。
|
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 。Google 試算表圖表屬性的類型。kind 只能是下列其中一個: |
chartImageProperties
|
object (ImageProperties )
嵌入圖表圖片的屬性。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-03-21 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]