mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-01-26 08:13:05 +01:00
optimized chart initialization for PageWindPlot; added chart options to PageOneValue;
printing of current boat value on horizontal half charts is selectable; fixed value axis direction for depth and other boat data; changed time axis labels to full numbers; changed "INTV" button label to "ZOOM"
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
#include "Pagedata.h"
|
||||
#include "OBP60Extensions.h"
|
||||
#include "OBPDataOperations.h"
|
||||
#include "OBPcharts.h"
|
||||
|
||||
// ****************************************************************
|
||||
@@ -77,9 +76,9 @@ public:
|
||||
commonData->keydata[0].label = "MODE";
|
||||
#if defined BOARD_OBP60S3
|
||||
commonData->keydata[1].label = "SRC";
|
||||
commonData->keydata[4].label = "INTV";
|
||||
commonData->keydata[4].label = "ZOOM";
|
||||
#elif defined BOARD_OBP40S3
|
||||
commonData->keydata[1].label = "INTV";
|
||||
commonData->keydata[1].label = "ZOOM";
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -209,14 +208,14 @@ public:
|
||||
getdisplay().setTextColor(commonData->fgcolor);
|
||||
|
||||
if (chrtMode == 'D') {
|
||||
wdFlChart->showChrt(dataIntv, *wdBVal);
|
||||
wdFlChart->showChrt(dataIntv, *wdBVal, true);
|
||||
|
||||
} else if (chrtMode == 'S') {
|
||||
wsFlChart->showChrt(dataIntv, *wsBVal);
|
||||
wsFlChart->showChrt(dataIntv, *wsBVal, true);
|
||||
|
||||
} else if (chrtMode == 'B') {
|
||||
wdHfChart->showChrt(dataIntv, *wdBVal);
|
||||
wsHfChart->showChrt(dataIntv, *wsBVal);
|
||||
wdHfChart->showChrt(dataIntv, *wdBVal, true);
|
||||
wsHfChart->showChrt(dataIntv, *wsBVal, true);
|
||||
}
|
||||
|
||||
LOG_DEBUG(GwLog::DEBUG, "PageWindPlot: page time %ldms", millis() - pageTime);
|
||||
|
||||
Reference in New Issue
Block a user