Skip to content
Snippets Groups Projects
Commit 98bcf072 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

RangeUtils: ticks values

parent c8cd9237
No related branches found
No related tags found
1 merge request!978GUI: plotting widgets migration finished
...@@ -130,7 +130,7 @@ void GUI::View::RangeUtils::setLogz(QCPAxis* axis, bool isLogz) ...@@ -130,7 +130,7 @@ void GUI::View::RangeUtils::setLogz(QCPAxis* axis, bool isLogz)
axis->setTicker(ticker); axis->setTicker(ticker);
} else { } else {
axis->setNumberFormat("f"); axis->setNumberFormat("f");
axis->setNumberPrecision(0); axis->setNumberPrecision(1);
axis->setScaleType(QCPAxis::stLinear); axis->setScaleType(QCPAxis::stLinear);
QSharedPointer<QCPAxisTicker> ticker(new QCPAxisTicker); QSharedPointer<QCPAxisTicker> ticker(new QCPAxisTicker);
axis->setTicker(ticker); axis->setTicker(ticker);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment