@@ -37,12 +37,14 Rectangle { | |||
|
37 | 37 | categories: ["2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014" ] |
|
38 | 38 | min: "2007" |
|
39 | 39 | max: "2014" |
|
40 | title: "Year" | |
|
40 | 41 | } |
|
41 | 42 | |
|
42 | 43 | ValueAxis { |
|
43 | 44 | id: valueAxis |
|
44 | 45 | min: 0 |
|
45 | 46 | max: 60 |
|
47 | title: "Sales count [ku]" | |
|
46 | 48 | } |
|
47 | 49 | // ... |
|
48 | 50 | //![1] |
@@ -44,6 +44,9 class QTCOMMERCIALCHART_EXPORT QAbstractAxis : public QObject | |||
|
44 | 44 | Q_PROPERTY(bool shadesVisible READ shadesVisible WRITE setShadesVisible NOTIFY shadesVisibleChanged) |
|
45 | 45 | Q_PROPERTY(QColor shadesColor READ shadesColor WRITE setShadesColor NOTIFY shadesColorChanged) |
|
46 | 46 | Q_PROPERTY(QColor shadesBorderColor READ shadesBorderColor WRITE setShadesBorderColor NOTIFY shadesBorderColorChanged) |
|
47 | Q_PROPERTY(bool titleVisible READ titleVisible WRITE setTitleVisible) | |
|
48 | Q_PROPERTY(QFont titleFont READ titleFont WRITE setTitleFont) | |
|
49 | Q_PROPERTY(QString title READ title WRITE setTitle) | |
|
47 | 50 | |
|
48 | 51 | public: |
|
49 | 52 |
General Comments 0
You need to be logged in to leave comments.
Login now