Announcement: All noncommercial projects registered to use Earth Engine beforeApril 15, 2025 mustverify noncommercial eligibility to maintain access. If you have not verified by September 26, 2025, your access may be on hold.

ui.Chart.image.doySeriesByRegion

  • Theui.Chart.image.doySeriesByRegion function generates a chart from an ImageCollection.

  • The chart plots the derived value of a specified band for different regions across the day of year.

  • The chart's x-axis represents the day of year, the y-axis represents the derived band value, and the series represent the regions.

  • The function returns aui.Chart and takes arguments including the ImageCollection, band name, regions, and optional reducers and scale.

Generates a Chart from an ImageCollection. Plots the derived value of the given band in different regions at each day-of-year.

  - X-axis: Day of year (startDay to endDay, defaults to 1 to 366).

  - Y-axis: Derived band value (reduced within the region and across years).

  - Series: Regions.

Returns a chart.

UsageReturns
ui.Chart.image.doySeriesByRegion(imageCollection, bandName, regions,regionReducer,scale,yearReducer,seriesProperty,startDay,endDay)ui.Chart
ArgumentTypeDetails
imageCollectionImageCollectionThe ImageCollection to chart.
bandNameNumber|StringThe name of the band to chart.
regionsFeature|FeatureCollection|Geometry|List<Feature>|List<Geometry>The regions to reduce.
regionReducerReducer, optionalReducer for aggregating band values within the region. Must return a single value. Defaults to ee.Reducer.mean().
scaleNumber, optionalScale to use with the region reducer in meters.
yearReducerReducer, optionalReducer for aggregating band values across years (for a given day of year). Must return a single value. Defaults to ee.Reducer.mean().
seriesPropertyString, optionalProperty of features in opt_regions to be used for series labels. Defaults to 'system:index'.
startDayNumber, optionalDay of year to start the series. Must be between 1 and 366.
endDayNumber, optionalDay of year to end the series. Must be between startDay and 366.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-08 UTC.