お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ui.Chart.feature.byFeature
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
一連のフィーチャーからグラフを生成します。各特徴の 1 つ以上のプロパティの値をプロットします。
- 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 Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eCreates a chart plotting property values of features, with features on the x-axis and property values on the y-axis.\u003c/p\u003e\n"],["\u003cp\u003eFeatures can be ordered along the x-axis using a specified property or by their default 'system:index'.\u003c/p\u003e\n"],["\u003cp\u003eUsers can select specific properties to display on the y-axis, or by default, the chart will display all properties except the one used for the x-axis.\u003c/p\u003e\n"],["\u003cp\u003eThe chart is generated using the \u003ccode\u003eui.Chart.feature.byFeature()\u003c/code\u003e function, which takes the features, x-axis property, and y-axis properties as input.\u003c/p\u003e\n"]]],["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,["# ui.Chart.feature.byFeature\n\n\u003cbr /\u003e\n\nGenerates a Chart from a set of features. Plots the value of one or more properties for each feature:\n\n\u003cbr /\u003e\n\n- X-axis = Features labeled by xProperty (default: 'system:index').\n\n- Y-axis = Values of yProperties (default: all properties).\n\n- Series = Names of yProperties.\n\nThe values are ordered along the x-axis in the same order as the input features.\n\nReturns a chart.\n\n| Usage | Returns |\n|-------------------------------------------------------------------------|----------|\n| `ui.Chart.feature.byFeature(features, `*xProperty* `, `*yProperties*`)` | ui.Chart |\n\n| Argument | Type | Details |\n|---------------|---------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| `features` | Feature\\|FeatureCollection\\|List\\\u003cFeature\\\u003e | The features to include in the chart. |\n| `xProperty` | String, optional | The property used as the value of each feature on the x-axis. Defaults to 'system:index'. |\n| `yProperties` | List\\\u003cString\\\u003e\\|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). |"]]