0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-03 20:04:43 +03:00

Refactor min and max values

This commit is contained in:
Emil Sawicki
2022-01-05 12:13:05 +01:00
parent e415611fa0
commit e3bd7e05d5
5 changed files with 46 additions and 25 deletions

View File

@@ -85,6 +85,7 @@ public:
protected:
qreal maxValue();
qreal minValue();
void updateMinAndMaxValues();
int valuesCount();
int seriesCount();
bool verticalLabels(QPainter* painter, QRectF labelsRect);
@@ -103,6 +104,7 @@ protected:
virtual QFont adaptValuesFont(qreal width, QFont font);
private:
qreal m_minValue = 0, m_maxValue = 0;
qreal m_designValues [9];
};