##// END OF EJS Templates
Default theme with OS specific colors on Windows
Default theme with OS specific colors on Windows

File last commit:

r526:8593b87d6899
r537:f223805ee598
Show More
chartthemevanilla_p.h
26 lines | 778 B | text/x-c | CLexer
/ src / themes / chartthemevanilla_p.h
#include "charttheme_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartThemeVanilla: public ChartTheme
{
public:
ChartThemeVanilla():ChartTheme(QChart::ChartThemeVanilla)
{
m_seriesColors << QRgb(0xffd9c574);
m_seriesColors << QRgb(0xffd6a896);
m_seriesColors << QRgb(0xffa0a071);
m_seriesColors << QRgb(0xffd2d234);
m_seriesColors << QRgb(0xff88723a);
generateSeriesGradients();
QLinearGradient backgroundGradient;
backgroundGradient.setColorAt(0.0, QRgb(0xfffbf9f1));
backgroundGradient.setColorAt(1.0, QRgb(0xfff5f0dc));
backgroundGradient.setCoordinateMode(QGradient::ObjectBoundingMode);
m_backgroundGradient = backgroundGradient;
}
};
QTCOMMERCIALCHART_END_NAMESPACE