##// END OF EJS Templates
Fixed bug in setting chart theme...
Fixed bug in setting chart theme The bug was that if you first add a series, then change theme and then restore the original theme, the color of the series was changed even though it should have been restored to match the original color.

File last commit:

r153:04be7b528347
r312:0677c9dd6d92
Show More
chartthemeicy_p.h
20 lines | 518 B | text/x-c | CLexer
/ src / themes / chartthemeicy_p.h
Michal Klocek
Refactor themes...
r143 #include "charttheme_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartThemeIcy: public ChartTheme
{
public:
Michal Klocek
Adds missing ids to theme classes
r153 ChartThemeIcy():ChartTheme(QChart::ChartThemeIcy)
Michal Klocek
Refactor themes...
r143 {
m_seriesColor.append(QRgb(0xFF0D2673));
m_seriesColor.append(QRgb(0xFF2685BF));
m_seriesColor.append(QRgb(0xFF3DADD9));
m_seriesColor.append(QRgb(0xFF62C3D9));
m_gradientStartColor = QColor(QRgb(0xffBDE3F2));
m_gradientEndColor = QColor(QRgb(0xffafafaf));
}
};
QTCOMMERCIALCHART_END_NAMESPACE