Graph display bugfixes

This commit is contained in:
Jan Käberich 2020-11-26 17:45:55 +01:00
parent 3a88e10875
commit 1a7212191a
4 changed files with 39 additions and 22 deletions

View file

@ -58,8 +58,8 @@ private:
QString AxisTypeToName(YAxisType type);
void enableTraceAxis(Trace *t, int axis, bool enabled);
bool supported(Trace *t, YAxisType type);
double transformY(std::complex<double> data, YAxisType type);
QPointF transformY(Trace *t, unsigned int sample, YAxisType type);
double traceToCoordinate(std::complex<double> data, YAxisType type);
QPointF traceToCoordinate(Trace *t, unsigned int sample, YAxisType type);
unsigned int numTraceSamples(Trace *t);
QPoint dataToPixel(Trace::Data d);
QPoint plotValueToPixel(QPointF plotValue, int Yaxis);