ui.Chart.array.values
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी ऐरे से चार्ट जनरेट करता है. दिए गए ऐक्सिस के साथ हर 1-D वेक्टर के लिए अलग-अलग सीरीज़ प्लॉट करता है.
- X-ऐक्सिस = ऐक्सिस के साथ ऐरे इंडेक्स, जिसे xLabels से लेबल किया जा सकता है.
- Y-ऐक्सिस = वैल्यू.
- सीरीज़ = वेक्टर, जिसे ऐक्सिस के अलावा अन्य ऐरे ऐक्सिस के इंडेक्स से दिखाया जाता है.
चार्ट दिखाता है.
इस्तेमाल | रिटर्न |
---|
ui.Chart.array.values(array, axis, xLabels) | ui.Chart |
आर्ग्यूमेंट | टाइप | विवरण |
---|
array | Array|List<Object> | ऐरे को चार्ट में बदलना. |
axis | नंबर | वह ऐक्सिस जिस पर 1-D वेक्टर सीरीज़ जनरेट करनी है. |
xLabels | Array|List<Object>, ज़रूरी नहीं | चार्ट के X-ऐक्सिस पर मौजूद टिक के लिए लेबल. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\u003eui.Chart.array.values generates a chart visualizing an array, plotting separate series for each 1-D vector along a specified axis.\u003c/p\u003e\n"],["\u003cp\u003eThe x-axis represents the array index along the chosen axis and can optionally be labeled using xLabels, while the y-axis represents the values, and each series corresponds to a vector defined by indices of the non-axis array axes.\u003c/p\u003e\n"],["\u003cp\u003eThis function accepts an array, the axis for generating series, and optional x-axis labels as input, returning a ui.Chart object for display.\u003c/p\u003e\n"]]],[],null,["# ui.Chart.array.values\n\n\u003cbr /\u003e\n\nGenerates a Chart from an array. Plots separate series for each 1-D vector along the given axis.\n\n\u003cbr /\u003e\n\n- X-axis = Array index along axis, optionally labeled by xLabels.\n\n- Y-axis = Value.\n\n- Series = Vector, described by indices of the non-axis array axes.\n\nReturns a chart.\n\n| Usage | Returns |\n|---------------------------------------------------|----------|\n| `ui.Chart.array.values(array, axis, `*xLabels*`)` | ui.Chart |\n\n| Argument | Type | Details |\n|-----------|---------------------------------|---------------------------------------------------------|\n| `array` | Array\\|List\\\u003cObject\\\u003e | Array to chart. |\n| `axis` | Number | The axis along which to generate the 1-D vector series. |\n| `xLabels` | Array\\|List\\\u003cObject\\\u003e, optional | Labels for ticks along the x-axis of the chart. |"]]