공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ui.Chart.setOptions
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
이 차트의 스타일을 지정하는 데 사용되는 옵션을 설정합니다.
이 차트를 반환합니다.
사용 | 반환 값 |
---|
Chart.setOptions(options) | ui.Chart |
인수 | 유형 | 세부정보 |
---|
다음과 같은 경우: ui.chart | ui.Chart | ui.Chart 인스턴스입니다. |
options | 객체 | 다음과 같은 차트 스타일 옵션을 정의하는 객체입니다.
title (문자열) 차트의 제목입니다. |
colors (배열) 차트를 그리는 데 사용되는 색상의 배열입니다. |
형식은 Google Visualization API의 옵션을 따라야 합니다(https://developers.google.com/chart/interactive/docs/customizing_charts). |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003e\u003ccode\u003esetOptions\u003c/code\u003e is used to customize the appearance of a chart, such as its title and colors.\u003c/p\u003e\n"],["\u003cp\u003eThis method accepts an \u003ccode\u003eoptions\u003c/code\u003e object to specify these customizations, aligning with Google Visualization API's options format.\u003c/p\u003e\n"],["\u003cp\u003eCalling \u003ccode\u003esetOptions\u003c/code\u003e on a \u003ccode\u003eui.Chart\u003c/code\u003e instance returns the chart itself, allowing for method chaining.\u003c/p\u003e\n"]]],[],null,["# ui.Chart.setOptions\n\n\u003cbr /\u003e\n\nSets options used to style this chart.\n\n\u003cbr /\u003e\n\nReturns this chart.\n\n| Usage | Returns |\n|-----------------------------|----------|\n| Chart.setOptions`(options)` | ui.Chart |\n\n| Argument | Type | Details |\n|------------------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `ui.chart` | ui.Chart | The ui.Chart instance. |\n| `options` | Object | An object defining chart style options such as: |---------------------------------------------------------------| | ` title ` (string) The title of the chart. | | ` colors ` (Array) An array of colors used to draw the chart. | Its format should follow the Google Visualization API's options: https://developers.google.com/chart/interactive/docs/customizing_charts |"]]