Koleksiyonlar ile düzeninizi koruyun İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Grafik Seçenekleri
Bir Chart için yapılandırılmış seçenekleri (ör. yükseklik, renk vb.) gösterir.
Kullanılabilir seçenekler hakkında bilgi edinmek için lütfen görselleştirme referans belgelerine bakın. Her grafiğin özel seçeneklerini grafik galerisinde ilgili grafiği tıklayarak bulabilirsiniz.
Bu grafik için yapılandırılmış bir seçenek döndürür.
Ayrıntılı dokümanlar
get(option)
Bu grafik için yapılandırılmış bir seçenek döndürür.
Parametreler
Ad
Tür
Açıklama
option
String
İstediğiniz seçeneği temsil eden dize.
Return
Object: Belirtilen seçenek için şu anda ayarlanmış değerdir veya seçenek ayarlanmadıysa null değerini alır.
getOrDefault(option)
Bu grafik için yapılandırılmış bir seçenek döndürür. Grafik seçeneği ayarlanmamışsa mevcutsa bu seçeneğin varsayılan değerini, mevcut değilse null değerini döndürür.
Parametreler
Ad
Tür
Açıklama
option
String
İstediğiniz seçeneği temsil eden dize.
Return
Object: Belirtilen seçenek için şu anda ayarlanmış değerdir. Seçenek ayarlanmamışsa ve varsayılan değer mevcutsa varsayılan değeri döndürür.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eChartOptions\u003c/code\u003e provides access to the configuration settings of a Chart, such as height and color, and these options cannot be changed once set.\u003c/p\u003e\n"],["\u003cp\u003eTo understand available options, refer to the visualization reference and chart gallery for specific chart details.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two methods: \u003ccode\u003eget(option)\u003c/code\u003e to retrieve a specific option's value, returning \u003ccode\u003enull\u003c/code\u003e if not set, and \u003ccode\u003egetOrDefault(option)\u003c/code\u003e which returns the option's value or its default if available, otherwise \u003ccode\u003enull\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["ChartOptions\n\nExposes options currently configured for a [Chart](/apps-script/reference/charts/chart), such as height, color, etc.\n\nPlease see the [visualization\nreference](https://developers.google.com/chart/interactive/docs/customizing_charts) documentation for information on what options are available. Specific options for\neach chart can be found by clicking on the specific chart in the [chart gallery](https://developers.google.com/chart/interactive/docs/gallery).\n\nThese options are immutable. \n\nMethods\n\n| Method | Return type | Brief description |\n|-----------------------------------------------|-------------|---------------------------------------------|\n| [get(option)](#get(String)) | `Object` | Returns a configured option for this chart. |\n| [getOrDefault(option)](#getOrDefault(String)) | `Object` | Returns a configured option for this chart. |\n\nDetailed documentation \n\n`get(option)` \nReturns a configured option for this chart.\n\nParameters\n\n| Name | Type | Description |\n|----------|----------|---------------------------------------------|\n| `option` | `String` | The string representing the desired option. |\n\nReturn\n\n\n`Object` --- The value currently set for the specified option or `null` if the option was not\nset.\n\n*** ** * ** ***\n\n`get``Or``Default(option)` \nReturns a configured option for this chart. If the chart option is not set, returns the default\nvalue of this option if available, or returns `null` if the default value is not\navailable.\n\nParameters\n\n| Name | Type | Description |\n|----------|----------|---------------------------------------------|\n| `option` | `String` | The string representing the desired option. |\n\nReturn\n\n\n`Object` --- The value currently set for the specified option. If the option was not set and the\ndefault value is available, returns the default value."]]