##// END OF EJS Templates
Fix setTheme() docs and lineseries test
Jani Honkonen -
r1250:7fae50a1e446
parent child
Show More
@@ -230,7 +230,9 QBrush QChart::titleBrush() const
230 }
230 }
231
231
232 /*!
232 /*!
233 Sets the \a theme used by the chart for rendering the graphical representation of the data
233 Sets the \a theme used by the chart for rendering the graphical representation of the data.
234
235 Note: changing the theme will overwrite all customizations (pen, brush, font, ect.) done to the series.
234 \sa theme()
236 \sa theme()
235 */
237 */
236 void QChart::setTheme(QChart::ChartTheme theme)
238 void QChart::setTheme(QChart::ChartTheme theme)
@@ -284,7 +284,7 void tst_QLineSeries::pen()
284
284
285 m_chart->setTheme(QChart::ChartThemeDark);
285 m_chart->setTheme(QChart::ChartThemeDark);
286
286
287 if(pen!=QPen()) QCOMPARE(series.pen(), pen);
287 QVERIFY(series.pen() != pen);
288 }
288 }
289
289
290 void tst_QLineSeries::pointsVisible_data()
290 void tst_QLineSeries::pointsVisible_data()
General Comments 0
You need to be logged in to leave comments. Login now