save/load markers in setup

This commit is contained in:
Jan Käberich 2020-12-05 12:59:23 +01:00
parent 9ad8def2ea
commit 8d382e8b9c
9 changed files with 229 additions and 28 deletions

View file

@ -465,6 +465,11 @@ void TraceXYPlot::draw(QPainter &p)
xPosition = m->getPosition();
// }
if (xPosition < XAxis.rangeMin || xPosition > XAxis.rangeMax) {
// marker not in graph range
continue;
}
if(xPosition < t->minX() || xPosition > t->maxX()) {
// marker not in trace range
continue;
}
auto t = m->getTrace();