Do not display the Time Axis
The old graph didn't display the time axis, so this will also not display it. By not calling updateTicks the labels and ticks of the Axis are not created. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
f9784d876e
commit
2e4dcba009
@ -278,7 +278,7 @@ void ProfileWidget2::plotDives(QList<dive*> dives)
|
||||
profileYAxis->updateTicks();
|
||||
temperatureAxis->setMinimum(pInfo.mintemp);
|
||||
temperatureAxis->setMaximum(pInfo.maxtemp);
|
||||
temperatureAxis->updateTicks();
|
||||
//temperatureAxis->updateTicks();
|
||||
timeAxis->setMaximum(maxtime);
|
||||
timeAxis->updateTicks();
|
||||
dataModel->setDive(current_dive, pInfo);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user