@@ -122,7 +122,7 public: | |||
|
122 | 122 | m_labelBrush = QBrush(QRgb(0x404044)); |
|
123 | 123 | m_gridLinePen = QPen(QRgb(0xe2e2e2)); |
|
124 | 124 | m_gridLinePen.setWidth(1); |
|
125 |
m_minorGridLinePen = Q |
|
|
125 | m_minorGridLinePen = QPen(QRgb(0x404044)); | |
|
126 | 126 | m_minorGridLinePen.setWidth(1); |
|
127 | 127 | m_minorGridLinePen.setStyle(Qt::DashLine); |
|
128 | 128 | m_backgroundShades = BackgroundShadesNone; |
@@ -100,9 +100,8 DeclarativeCategoryAxis::AxisLabelsPosition DeclarativeCategoryAxis::labelsPosit | |||
|
100 | 100 | |
|
101 | 101 | void DeclarativeCategoryAxis::setLabelsPosition(AxisLabelsPosition position) |
|
102 | 102 | { |
|
103 | QCategoryAxis::AxisLabelsPosition labelsPosition = (QCategoryAxis::AxisLabelsPosition) position; | |
|
104 | if (labelsPosition != m_labelsPosition) { | |
|
105 | QCategoryAxis::setLabelsPosition(labelsPosition); | |
|
103 | if (position != m_labelsPosition) { | |
|
104 | QCategoryAxis::setLabelsPosition((QCategoryAxis::AxisLabelsPosition)position); | |
|
106 | 105 | emit labelsPositionChanged(position); |
|
107 | 106 | } |
|
108 | 107 | } |
General Comments 0
You need to be logged in to leave comments.
Login now