##// END OF EJS Templates
Added few properties to QAbstractAxis. Some are still missing. Its needs to be decided how the Brush and Pen should be supported
Marek Rosa -
r2203:edb022f7374a
parent child
Show More
@@ -37,12 +37,14 Rectangle {
37 categories: ["2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014" ]
37 categories: ["2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014" ]
38 min: "2007"
38 min: "2007"
39 max: "2014"
39 max: "2014"
40 title: "Year"
40 }
41 }
41
42
42 ValueAxis {
43 ValueAxis {
43 id: valueAxis
44 id: valueAxis
44 min: 0
45 min: 0
45 max: 60
46 max: 60
47 title: "Sales count [ku]"
46 }
48 }
47 // ...
49 // ...
48 //![1]
50 //![1]
@@ -44,6 +44,9 class QTCOMMERCIALCHART_EXPORT QAbstractAxis : public QObject
44 Q_PROPERTY(bool shadesVisible READ shadesVisible WRITE setShadesVisible NOTIFY shadesVisibleChanged)
44 Q_PROPERTY(bool shadesVisible READ shadesVisible WRITE setShadesVisible NOTIFY shadesVisibleChanged)
45 Q_PROPERTY(QColor shadesColor READ shadesColor WRITE setShadesColor NOTIFY shadesColorChanged)
45 Q_PROPERTY(QColor shadesColor READ shadesColor WRITE setShadesColor NOTIFY shadesColorChanged)
46 Q_PROPERTY(QColor shadesBorderColor READ shadesBorderColor WRITE setShadesBorderColor NOTIFY shadesBorderColorChanged)
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 public:
51 public:
49
52
General Comments 0
You need to be logged in to leave comments. Login now