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.
Tuỳ chọnbiểu đồ
Hiển thị các tuỳ chọn hiện được định cấu hình cho Chart, chẳng hạn như chiều cao, màu sắc, v.v.
Vui lòng xem tài liệu tài liệu tham khảo về hình ảnh để biết thông tin về các tuỳ chọn có sẵn. Bạn có thể tìm thấy các tuỳ chọn cụ thể cho từng biểu đồ bằng cách nhấp vào biểu đồ cụ thể trong thư viện biểu đồ.
Trả về một tuỳ chọn đã định cấu hình cho biểu đồ này.
Tài liệu chi tiết
get(option)
Trả về một tuỳ chọn đã định cấu hình cho biểu đồ này.
Tham số
Tên
Loại
Mô tả
option
String
Chuỗi đại diện cho tuỳ chọn mong muốn.
Cầu thủ trả bóng
Object – Giá trị hiện được đặt cho tuỳ chọn đã chỉ định hoặc null nếu bạn chưa đặt tuỳ chọn.
getOrDefault(option)
Trả về một tuỳ chọn đã định cấu hình cho biểu đồ này. Nếu bạn không đặt tuỳ chọn biểu đồ, hãy trả về giá trị mặc định của tuỳ chọn này nếu có hoặc trả về null nếu không có giá trị mặc định.
Tham số
Tên
Loại
Mô tả
option
String
Chuỗi đại diện cho tuỳ chọn mong muốn.
Cầu thủ trả bóng
Object – Giá trị hiện được đặt cho tuỳ chọn đã chỉ định. Nếu bạn không đặt tuỳ chọn này và giá trị mặc định có sẵn, hãy trả về giá trị mặc định.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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."]]