diff --git a/apps/gpsrec/app.js b/apps/gpsrec/app.js index 73fe6194e..df3353930 100644 --- a/apps/gpsrec/app.js +++ b/apps/gpsrec/app.js @@ -330,7 +330,7 @@ function plotGraph(info, style) { height: g.getHeight()-(24+8), axes : true, gridy : grid, - gridx : 50, + gridx : infn.length / 3, title: title, xlabel : x=>Math.round(x*dur/(60*infn.length))+" min" // minutes }); diff --git a/apps/recorder/app.js b/apps/recorder/app.js index aa3803794..3548cdb29 100644 --- a/apps/recorder/app.js +++ b/apps/recorder/app.js @@ -399,7 +399,7 @@ function plotGraph(info, style) { height: g.getHeight()-(24+8), axes : true, gridy : grid, - gridx : 50, + gridx : infn.length / 3, title: title, xlabel : x=>Math.round(x*dur/(60*infn.length))+" min" // minutes });