Thông báo: Tất cả dự án phi thương mại đã đăng ký sử dụng Earth Engine trước ngày 15 tháng 4 năm 2025 phải xác minh điều kiện sử dụng phi thương mại để duy trì quyền truy cập vào Earth Engine.
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.
Đặt một chế độ xem cho biểu đồ này.
Trả về biểu đồ này.
Cách sử dụng
Giá trị trả về
Chart.setView(view)
ui.Chart
Đối số
Loại
Thông tin chi tiết
this: ui.chart
ui.Chart
Thực thể ui.Chart.
view
Đối tượng
Một đối tượng trình khởi tạo DataView, đóng vai trò là bộ lọc đối với dữ liệu cơ bản trong biểu đồ. Hãy xem: https://developers.google.com/chart/interactive/docs/reference#DataView
[[["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."],[[["The `Chart.setView()` method allows you to apply a DataView object to filter the chart's underlying data, effectively changing the chart's view."],["This method accepts a DataView initializer object as an argument and returns the modified ui.Chart instance."],["The DataView object offers a way to manipulate and subset your chart's data without altering the original data source, as described in Google Charts' documentation."]]],["The `Chart.setView(view)` method allows filtering chart data using a `DataView` initializer object. This method takes a `view` object as an argument, which defines the filter. The `ui.Chart` instance itself is also a parameter. The method returns the modified `ui.Chart` instance, enabling further chaining. The `DataView` object details for defining filters are found at the provided URL.\n"]]