ui.Chart.image.doySeries
Generates a Chart from an ImageCollection. Plots derived values of each band in a region for a each day of the 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: Band names.
Returns a chart.
Usage | Returns |
---|
ui.Chart.image.doySeries(imageCollection, region, regionReducer, scale, yearReducer, startDay, endDay) | ui.Chart |
Argument | Type | Details |
---|
imageCollection | ImageCollection | The ImageCollection to chart. |
region | Feature|FeatureCollection|Geometry, optional | The region to reduce. Defaults to the union of all geometries in the image collection. |
regionReducer | Reducer, optional | Reducer for aggregating band values within the region. Must return a single value. Defaults to ee.Reducer.mean(). |
scale | Number, optional | Scale to use with the region reducer in meters. |
yearReducer | Reducer, optional | Reducer for aggregating regionReducer outputs across years (for a given day). Must return a single value. Defaults to ee.Reducer.mean(). |
startDay | Number, optional | Day of year to start the series. Must be between 1 and 366. |
endDay | Number, optional | Day of year to end the series. Must be between startDay and 366. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Generates a chart displaying the derived values of each band in a specified region for every day of the year."],["The chart uses day of the year as the X-axis, derived band values as the Y-axis, and separate series for each band name."],["Users can customize the region, data aggregation methods, and the time range displayed on the chart."],["The `ui.Chart.image.doySeries` function is used to create this type of chart within the Google Earth Engine platform."]]],["This function creates a chart from an ImageCollection, plotting derived band values for each day of the year. It reduces values within a specified region using `regionReducer` (defaulting to mean) and across years with `yearReducer` (also defaulting to mean). The x-axis represents the day of the year (from `startDay` to `endDay`), the y-axis represents the derived band values, and the series represents band names. Users provide an ImageCollection and optional region, reducers, scale, and day range.\n"]]