Announcement: All noncommercial projects registered to use Earth Engine beforeApril 15, 2025 mustverify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.
ui.Chart.feature.byFeature Stay organized with collections Save and categorize content based on your preferences.
Generates a Chart from a set of features. Plots the value of one or more properties for each feature:
- X-axis = Features labeled by xProperty (default: 'system:index').
- Y-axis = Values of yProperties (default: all properties).
- Series = Names of yProperties.
The values are ordered along the x-axis in the same order as the input features.
Returns a chart.
| Usage | Returns |
|---|---|
ui.Chart.feature.byFeature(features,xProperty,yProperties) | ui.Chart |
| Argument | Type | Details |
|---|---|---|
features | Feature|FeatureCollection|List<Feature> | The features to include in the chart. |
xProperty | String, optional | The property used as the value of each feature on the x-axis. Defaults to 'system:index'. |
yProperties | List<String>|String, optional | Property or properties used on the y-axis. If omitted, all properties of all features will be charted on the y-axis (except xProperty). |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-08 UTC.