chartthemeicy_p.h
25 lines
| 722 B
| text/x-c
|
CLexer
|
r143 | #include "charttheme_p.h" | ||
QTCOMMERCIALCHART_BEGIN_NAMESPACE | ||||
class ChartThemeIcy: public ChartTheme | ||||
{ | ||||
public: | ||||
|
r153 | ChartThemeIcy():ChartTheme(QChart::ChartThemeIcy) | ||
|
r143 | { | ||
|
r494 | m_seriesColors << QRgb(0xFF0D2673); | ||
m_seriesColors << QRgb(0xFF2685BF); | ||||
m_seriesColors << QRgb(0xFF3DADD9); | ||||
m_seriesColors << QRgb(0xFF62C3D9); | ||||
|
r143 | |||
|
r507 | generateSeriesGradients(); | ||
|
r494 | |||
QLinearGradient backgroundGradient; | ||||
backgroundGradient.setColorAt(0.0, QRgb(0xffBDE3F2)); | ||||
backgroundGradient.setColorAt(1.0, QRgb(0xffafafaf)); | ||||
backgroundGradient.setCoordinateMode(QGradient::ObjectBoundingMode); | ||||
m_backgroundGradient = backgroundGradient; | ||||
|
r143 | } | ||
}; | ||||
QTCOMMERCIALCHART_END_NAMESPACE | ||||