diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2013-08-07 14:52:28 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2013-08-08 08:21:37 +0300 |
commit | ebee290095f9a32dbcf5956e9fed50d2610cbfe1 (patch) | |
tree | c9260232aa82517c12bbcd94ef3d004b29860959 /examples/widget/chart.h | |
parent | b3e10fcc8403bc1a0d9d4c107b52eb10af0ecffa (diff) |
Tickcount and both automatic and explicit range setting via axes
- Tick count moved to QValueAxis.
- QValueAxis adjusts range to data by default on barcharts.
- QValueaxis explicit range setting now works for barchart.
Change-Id: I2c0afcab34b74a848144fda41d9135dcdb510354
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'examples/widget/chart.h')
-rw-r--r-- | examples/widget/chart.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widget/chart.h b/examples/widget/chart.h index 8b7aaa39..3c759d27 100644 --- a/examples/widget/chart.h +++ b/examples/widget/chart.h @@ -99,8 +99,8 @@ private: float m_barSpacingZ; int m_fontSize; int m_ticks; - float m_tickStep; - float m_minval; + qreal m_minval; + qreal m_maxval; QStringList m_genericRowLabels; QStringList m_genericColumnLabels; }; |