I created a stack of NDVI images, and also have several polygon. When I plot the time series, points show up but only a few connects dates to each other.

I am using the ui.Chart.image.seriesByRegion()


enter image description here

Any thoughts how to fix this?

1 Answer 1


Use the option interpolateNulls:

var NDVITimeSeries = ui.Chart.image.seriesByRegion(
    collectionNDVIS2, geometry, ee.Reducer.mean(), 'ndvi', 10, 'system:time_start', 'id')
          title: '2020 Wheat Trials Trials L8&S2 NDVI Temporal Series ',
          curveType: 'function',
          vAxis: {title: 'NDVI'},
          lineWidth: 1,
          pointSize: 4,
          interpolateNulls: true



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.