##// END OF EJS Templates
Fix sctter series wrong points offset issue
Fix sctter series wrong points offset issue

File last commit:

r526:8593b87d6899
r536:79d5184b167f
Show More
chartthemevanilla_p.h
26 lines | 778 B | text/x-c | CLexer
/ src / themes / chartthemevanilla_p.h
Michal Klocek
Refactor themes...
r143 #include "charttheme_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class ChartThemeVanilla: public ChartTheme
{
public:
Michal Klocek
Adds missing ids to theme classes
r153 ChartThemeVanilla():ChartTheme(QChart::ChartThemeVanilla)
Michal Klocek
Refactor themes...
r143 {
Tero Ahola
Lightened up chart backgrounds in themes
r525 m_seriesColors << QRgb(0xffd9c574);
Tero Ahola
Fixed a bug in vanilla theme
r526 m_seriesColors << QRgb(0xffd6a896);
m_seriesColors << QRgb(0xffa0a071);
m_seriesColors << QRgb(0xffd2d234);
m_seriesColors << QRgb(0xff88723a);
Jani Honkonen
Adding list of series gradients to theme.
r494
Tero Ahola
Theme gradients now generated from a single base color
r507 generateSeriesGradients();
Jani Honkonen
Adding list of series gradients to theme.
r494
QLinearGradient backgroundGradient;
Tero Ahola
Lightened up chart backgrounds in themes
r525 backgroundGradient.setColorAt(0.0, QRgb(0xfffbf9f1));
backgroundGradient.setColorAt(1.0, QRgb(0xfff5f0dc));
Jani Honkonen
Adding list of series gradients to theme.
r494 backgroundGradient.setCoordinateMode(QGradient::ObjectBoundingMode);
m_backgroundGradient = backgroundGradient;
Michal Klocek
Refactor themes...
r143 }
};
QTCOMMERCIALCHART_END_NAMESPACE