diff options
author | Titta Heikkala <titta.heikkala@digia.com> | 2013-09-23 12:12:31 +0300 |
---|---|---|
committer | Titta Heikkala <titta.heikkala@digia.com> | 2013-09-23 13:18:17 +0300 |
commit | c8086b11eeb52bd805ac8fb484df645d7199d819 (patch) | |
tree | ac219619245b072051138a857553d447a6cce48a /src/chartbackground.cpp | |
parent | 1a7a17f8e2cd9ff07852a402b74b47257192da74 (diff) |
Fix default axes creation
QAbstractAxis::AxisType enum values are currently sequential so it's not
possible to OR them correctly. Therefore createDefaultAxes() needs to
check whether there are series with different types present. For
multiple series types the QAbstractAxis::AxisTypeNoAxis type is used to
indicate the need for several axes.
The createDefaultAxis() methods have been corrected to return proper
values.
Task-number: QTRD-1999
Change-Id: I3408bd3043b147f9e2b7662fb4d9ca43e7a72da6
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/chartbackground.cpp')
0 files changed, 0 insertions, 0 deletions