plot: allow float values for grid

This commit is contained in:
Philippe Teuwen
2020-10-09 16:49:50 +02:00
parent 984b0d4803
commit 1e37d548c2
4 changed files with 9 additions and 9 deletions

View File

@@ -39,7 +39,7 @@ session_arg_t session;
double CursorScaleFactor = 1;
char CursorScaleFactorUnit[11] = {0};
int PlotGridX = 0, PlotGridY = 0, PlotGridXdefault = 64, PlotGridYdefault = 64;
double PlotGridX = 0, PlotGridY = 0, PlotGridXdefault = 64, PlotGridYdefault = 64;
uint32_t CursorCPos = 0, CursorDPos = 0;
double GraphPixelsPerPoint = 1.f; // How many visual pixels are between each sample point (x axis)
static bool flushAfterWrite = 0;