Charts
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
SheetsChart
Loại PageElement
đại diện cho biểu đồ được liên kết được nhúng từ Google Trang tính.
Biểu diễn dưới dạng JSON
|
{
"spreadsheetId": string,
"chartId": integer,
"contentUrl": string,
"sheetsChartProperties": {
object (SheetsChartProperties )
}
}
|
Trường
|
spreadsheetId
|
string
Mã nhận dạng của bảng tính Google Trang tính chứa biểu đồ nguồn.
|
chartId
|
integer
Mã của biểu đồ cụ thể trong bảng tính Google Trang tính được nhúng.
|
contentUrl
|
string
URL của hình ảnh biểu đồ được nhúng, có thời lượng mặc định là 30 phút. URL này được gắn thẻ với tài khoản của người yêu cầu. Bất kỳ ai có URL đều truy cập hiệu quả hình ảnh đó với tư cách là người yêu cầu ban đầu. Bạn có thể mất quyền truy cập vào hình ảnh nếu chế độ cài đặt chia sẻ của bản trình bày thay đổi.
|
sheetsChartProperties
|
object (SheetsChartProperties )
Các thuộc tính của biểu đồ Trang tính.
|
SheetsChartProperties
Các thuộc tính của
SheetsChart
.
Biểu diễn dưới dạng JSON
|
{
// Union field kind can be only one of the following:
"chartImageProperties": {
object (ImageProperties )
}
// End of list of possible types for union field kind .
}
|
Trường
|
Trường hợp hợp nhất
kind . Loại thuộc tính biểu đồ trong Trang tính.
kind chỉ có thể là một trong những loại sau:
|
chartImageProperties
|
object (ImageProperties )
Các thuộc tính của hình ảnh biểu đồ được nhúng.
|
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-03-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]