ui.Chart.feature.byProperty
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
सुविधाओं के सेट से चार्ट जनरेट करता है. एक या उससे ज़्यादा सुविधाओं की प्रॉपर्टी वैल्यू प्लॉट करता है.
- एक्स-ऐक्सिस = प्रॉपर्टी का नाम, जिसे 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) एक्स-ऐक्सिस पर प्लॉट की जाने वाली प्रॉपर्टी; (2) एक्स-ऐक्सिस पर प्लॉट की जाने वाली प्रॉपर्टी की सूची; या (3) (प्रॉपर्टी, लेबल) डिक्शनरी, जिसमें एक्स-ऐक्सिस पर वैल्यू के तौर पर इस्तेमाल की जाने वाली प्रॉपर्टी के लेबल बताए गए हों. अगर इस विकल्प को शामिल नहीं किया जाता है, तो सभी प्रॉपर्टी को x-ऐक्सिस पर प्लॉट किया जाएगा और उनके नामों के साथ लेबल किया जाएगा. |
seriesProperty | स्ट्रिंग, ज़रूरी नहीं | लीजेंड में हर सुविधा को लेबल करने के लिए इस्तेमाल की जाने वाली प्रॉपर्टी का नाम. डिफ़ॉल्ट रूप से, यह 'system:index' पर सेट होती है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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'. |"]]