I am harmonizing Landsat 8 and Sentinel-2 datasets for agricultural mapping purposes. When plotting the results using ui.Chart.image.series
function, one graph shows the y-axis starting not at 0. For comparison purposes I need the y-axis on the charts to start at zero. How to adjust the below command to force y-axis to start at zero?
// Plot the fitted model and the original data at the ROI.
print(ui.Chart.image.series(fittedHarmonicboth.select(['fitted','NDVI']), roi, ee.Reducer.mean(), 10)
.setOptions({
title: 'Harmonic model: both S2 and L8 values',
lineWidth: 1,
pointSize: 3,
}));