@@ -33,12 +33,12 DeclarativePieSeries::DeclarativePieSeries(QObject *parent) : | |||
|
33 | 33 | // setModel(new DeclarativeTableModel()); |
|
34 | 34 | |
|
35 | 35 | // TODO: Set default mapper parameters to allow easy to use PieSeries api? |
|
36 | QPieModelMapper *mapper = modelMapper();//new QPieModelMapper(); | |
|
37 | mapper->setMapLabels(0); | |
|
38 | mapper->setMapValues(1); | |
|
39 | mapper->setOrientation(Qt::Vertical); | |
|
40 | mapper->setFirst(0); | |
|
41 | mapper->setCount(-1); | |
|
36 | // QPieModelMapper *mapper = modelMapper();//new QPieModelMapper(); | |
|
37 | // mapper->setMapLabels(0); | |
|
38 | // mapper->setMapValues(1); | |
|
39 | // mapper->setOrientation(Qt::Vertical); | |
|
40 | // mapper->setFirst(0); | |
|
41 | // mapper->setCount(-1); | |
|
42 | 42 | // setModelMapper(mapper); |
|
43 | 43 | } |
|
44 | 44 |
General Comments 0
You need to be logged in to leave comments.
Login now