ui.Chart.image.series

यह ImageCollection से चार्ट जनरेट करता है. यह फ़ंक्शन, किसी इमेज के अलग-अलग बैंड की वैल्यू को किसी क्षेत्र में मौजूद सभी इमेज पर प्लॉट करता है. आम तौर पर, यह टाइम सीरीज़ होती है.

  - X-ऐक्सिस: इमेज, जिसे xProperty वैल्यू के हिसाब से लेबल किया गया है.

  - Y-ऐक्सिस: बैंड की वैल्यू.

  - सीरीज़: बैंड के नाम.

यह फ़ंक्शन, एक चार्ट दिखाता है.

इस्तेमालरिटर्न
ui.Chart.image.series(imageCollection, region, reducer, scale, xProperty)ui.Chart
आर्ग्यूमेंटटाइपविवरण
imageCollectionImageCollectionचार्ट में शामिल करने के लिए डेटा वाली ImageCollection.
regionFeature|FeatureCollection|Geometryकम किया जाने वाला क्षेत्र.
reducerReducer, ज़रूरी नहीं हैयह रिड्यूसर, y-ऐक्सिस के लिए वैल्यू जनरेट करता है. इससे एक वैल्यू मिलनी चाहिए. डिफ़ॉल्ट रूप से, इसे ee.Reducer.mean() पर सेट किया जाता है.
scaleनंबर, ज़रूरी नहींमीटर में रिड्यूसर के साथ इस्तेमाल करने के लिए स्केल.
xPropertyस्ट्रिंग, ज़रूरी नहींइस प्रॉपर्टी का इस्तेमाल, x-ऐक्सिस पर मौजूद हर इमेज के लेबल के तौर पर किया जाता है. डिफ़ॉल्ट रूप से, इसकी वैल्यू 'system:time_start' होती है.

उदाहरण

कोड एडिटर (JavaScript)

// Define a region of pixels to reduce and chart a time series for.
var region = ee.Geometry.BBox(-121.916, 37.130, -121.844, 37.076);

// Define an image collection time series to chart, MODIS vegetation indices
// in this case.
var imgCol = ee.ImageCollection('MODIS/006/MOD13A1')
  .filter(ee.Filter.date('2015-01-01', '2020-01-01'))
  .select(['NDVI', 'EVI']);

// Define the chart and print it to the console.
var chart = ui.Chart.image.series({
  imageCollection: imgCol,
  region: region,
  reducer: ee.Reducer.mean(),
  scale: 500,
  xProperty: 'system:time_start'
})
.setSeriesNames(['EVI', 'NDVI'])
.setOptions({
  title: 'Average Vegetation Index Value by Date',
  hAxis: {title: 'Date', titleTextStyle: {italic: false, bold: true}},
  vAxis: {
    title: 'Vegetation index (x1e4)',
    titleTextStyle: {italic: false, bold: true}
  },
  lineWidth: 5,
  colors: ['e37d05', '1d6b99'],
  curveType: 'function'
});
print(chart);