Charts
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
SheetsChart
Ein PageElement
-Element, das ein verknüpftes Diagramm darstellt, das aus Google Tabellen eingebettet wurde.
JSON-Darstellung
|
{
"spreadsheetId": string,
"chartId": integer,
"contentUrl": string,
"sheetsChartProperties": {
object (SheetsChartProperties )
}
}
|
Felder
|
spreadsheetId
|
string
Die ID der Google Tabellen-Tabelle, die das Quelldiagramm enthält.
|
chartId
|
integer
Die ID des Diagramms in der Tabelle in Google Tabellen, das eingebettet ist.
|
contentUrl
|
string
Die URL eines Bildes des eingebetteten Diagramms mit einer Standardlebensdauer von 30 Minuten. Diese URL ist mit dem Konto des Antragstellers getaggt. Jeder, der die URL hat, kann auf das Bild zugreifen, als wäre er der ursprüngliche Antragsteller. Der Zugriff auf das Bild kann verloren gehen, wenn sich die Freigabeeinstellungen der Präsentation ändern.
|
sheetsChartProperties
|
object (SheetsChartProperties )
Die Eigenschaften des Google Tabellen-Diagramms.
|
SheetsChartProperties
Die Eigenschaften der SheetsChart
.
JSON-Darstellung
|
{
// Union field kind can be only one of the following:
"chartImageProperties": {
object (ImageProperties )
}
// End of list of possible types for union field kind .
}
|
Felder
|
Union-Feld
kind Die Art der Diagrammeigenschaften in Google Tabellen.
kind
kann nur einer der folgenden Werte sein:
|
chartImageProperties
|
object (ImageProperties )
Die Eigenschaften des eingebetteten Diagrammbilds.
|
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-03-21 (UTC).
[null,null,["Zuletzt aktualisiert: 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. |"]]