公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ui.Chart.feature.byFeature
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
根据一组特征生成图表。绘制每个特征的一个或多个属性的值:
- X 轴 = 由 xProperty 标记的特征(默认值:'system:index')。
- Y 轴 = yProperties 的值(默认值:所有属性)。
- Series = yProperties 的名称。
这些值沿 x 轴按与输入特征相同的顺序排列。
返回图表。
用法 | 返回 |
---|
ui.Chart.feature.byFeature(features, xProperty, yProperties) | ui.Chart |
参数 | 类型 | 详细信息 |
---|
features | Feature|FeatureCollection|List<Feature> | 图表中要包含的特征。 |
xProperty | 字符串,可选 | 用作 x 轴上每个特征的值的属性。默认为“system:index”。 |
yProperties | List<String>|String,可选 | Y 轴上使用的属性。如果省略,则所有功能的所有属性都将绘制在 y 轴上(xProperty 除外)。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],["The core content details generating a chart from features. It plots values of specified properties for each feature. The x-axis represents features, labeled by `xProperty` (default: 'system:index'). The y-axis represents `yProperties`' values (default: all properties). The order of features on the x-axis matches the input. The function `ui.Chart.feature.byFeature` takes `features`, an optional `xProperty`, and an optional `yProperties` list to return a chart.\n"],null,[]]