공지사항:
2025년 4월 15일 전에 Earth Engine 사용을 위해 등록된 모든 비상업용 프로젝트는 Earth Engine 액세스를 유지하기 위해
비상업용 자격 요건을 인증해야 합니다.
ui.Chart.feature.byProperty
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
기능 집합에서 차트를 생성합니다. 하나 이상의 특성의 속성 값을 표시합니다.
- X축 = 속성 이름, xProperties로 라벨이 지정됨 (기본값: 모든 속성).
- Y축 = 속성 값 (숫자여야 함)
- 계열 = 기능, seriesProperty로 라벨이 지정됨 (기본값: 'system:index').
seriesProperty를 제외한 모든 속성은 기본적으로 x축에 포함됩니다.
차트를 반환합니다.
사용 | 반환 값 |
---|
ui.Chart.feature.byProperty(features, xProperties, seriesProperty) | ui.Chart |
인수 | 유형 | 세부정보 |
---|
features | Feature|FeatureCollection|List<Feature> | 차트에 포함할 기능입니다. |
xProperties | List<String>|Object|String(선택사항) | (1) x축에 표시할 속성, (2) x축에 표시할 속성 목록, (3) x축에서 값으로 사용할 속성의 라벨을 지정하는 (속성, 라벨) 사전 중 하나입니다. 생략하면 모든 속성이 x축에 표시되고 이름으로 라벨이 지정됩니다. |
seriesProperty | 문자열, 선택사항 | 범례에서 각 기능을 라벨링하는 데 사용되는 속성의 이름입니다. 기본값은 'system:index'입니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eGenerates a chart that visualizes the property values of one or more features, plotting them on the y-axis against property names on the x-axis.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize the chart by specifying which properties to display on the x-axis using \u003ccode\u003exProperties\u003c/code\u003e and how to label each feature in the legend using \u003ccode\u003eseriesProperty\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eBy default, the chart includes all properties except the \u003ccode\u003eseriesProperty\u003c/code\u003e on the x-axis and labels features using their 'system:index'.\u003c/p\u003e\n"],["\u003cp\u003eThe function \u003ccode\u003eui.Chart.feature.byProperty()\u003c/code\u003e takes a Feature, FeatureCollection, or List of features as input and returns a \u003ccode\u003eui.Chart\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# ui.Chart.feature.byProperty\n\n\u003cbr /\u003e\n\nGenerates a Chart from a set of features. Plots property values of one or more features.\n\n\u003cbr /\u003e\n\n- X-axis = Property name, labeled by xProperties (default: all properties).\n\n- Y-axis = Property value (must be numeric).\n\n- Series = Features, labeled by seriesProperty (default: 'system:index').\n\nAll properties except seriesProperty are included on the x-axis by default.\n\nReturns a chart.\n\n| Usage | Returns |\n|-------------------------------------------------------------------------------|----------|\n| `ui.Chart.feature.byProperty(features, `*xProperties* `, `*seriesProperty*`)` | ui.Chart |\n\n| Argument | Type | Details |\n|------------------|---------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `features` | Feature\\|FeatureCollection\\|List\\\u003cFeature\\\u003e | The features to include in the chart. |\n| `xProperties` | List\\\u003cString\\\u003e\\|Object\\|String, optional | One of (1) a property to be plotted on the x-axis; (2) a list of properties to be plotted on the x-axis; or (3) a (property, label) dictionary specifying labels for properties to be used as values on the x-axis. If omitted, all properties will be plotted on the x-axis, labeled with their names. |\n| `seriesProperty` | String, optional | The name of the property used to label each feature in the legend. Defaults to 'system:index'. |"]]