Charts
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
SheetsChart
J
PageElement
jenis data yang mewakili diagram tertaut
yang disematkan dari Google Spreadsheet.
Representasi JSON
|
{
"spreadsheetId": string,
"chartId": integer,
"contentUrl": string,
"sheetsChartProperties": {
object (SheetsChartProperties )
}
}
|
Kolom
|
spreadsheetId
|
string
ID spreadsheet Google Spreadsheet yang berisi diagram sumber.
|
chartId
|
integer
ID diagram tertentu di spreadsheet Google Spreadsheet yang disematkan.
|
contentUrl
|
string
URL gambar diagram tersemat, dengan masa aktif default 30 menit. URL ini diberi tag dengan akun pemohon. Siapa pun yang memiliki URL secara efektif mengakses gambar sebagai pemohon asli. Akses ke gambar mungkin hilang jika setelan berbagi presentasi berubah.
|
sheetsChartProperties
|
object (SheetsChartProperties )
Properti diagram Sheets.
|
SheetsChartProperties
Properti atribut
SheetsChart
.
Representasi JSON
|
{
// Union field kind can be only one of the following:
"chartImageProperties": {
object (ImageProperties )
}
// End of list of possible types for union field kind .
}
|
Kolom
|
Kolom union
kind . Jenis properti diagram Spreadsheet.
kind
hanya dapat berupa salah satu dari hal berikut:
|
chartImageProperties
|
object (ImageProperties )
Properti gambar diagram tersemat.
|
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-03-21 UTC.
[null,null,["Terakhir diperbarui pada 2025-03-21 UTC."],[],[],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. |"]]