diff --git a/app/features/modelling/line-plot/index.js b/app/features/modelling/line-plot/index.js index 6f91990a86..695ac3546c 100644 --- a/app/features/modelling/line-plot/index.js +++ b/app/features/modelling/line-plot/index.js @@ -30,6 +30,7 @@ function getDatasets(data) { if (data.x && data.y) { return [getXYData(data)]; } + return []; } // Help at http://www.chartjs.org/docs/latest