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