##// END OF EJS Templates
Fix a major memory leak
Fix a major memory leak

File last commit:

r153:04be7b528347
r204:a4ba86638d8d
Show More
chartthemescientific_p.h
20 lines | 539 B | text/x-c | CLexer
/ src / themes / chartthemescientific_p.h
#include "charttheme_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartThemeScientific: public ChartTheme
{
public:
ChartThemeScientific():ChartTheme(QChart::ChartThemeScientific)
{
m_seriesColor.append(QRgb(0xFF000000));
m_seriesColor.append(QRgb(0xFFFFAD00));
m_seriesColor.append(QRgb(0xFF596A75));
m_seriesColor.append(QRgb(0xFF474747));
m_gradientStartColor = QColor(QRgb(0xffafafaf));
m_gradientEndColor = QColor(QRgb(0xffafafaf));
}
};
QTCOMMERCIALCHART_END_NAMESPACE