##// END OF EJS Templates
Fix naming convention for lineseries...
Fix naming convention for lineseries * rename QXYChartSeries to QLineChartSeries * rename XYChartItem to LineChartItem

File last commit:

r143:a0c24bcedc00
r144:f5ae8394e133
Show More
charttheme_p.h
43 lines | 1.0 KiB | text/x-c | CLexer
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 #ifndef CHARTTHEME_H
#define CHARTTHEME_H
#include "qchartglobal.h"
Michal Klocek
Refactor themes...
r143 #include "qchart.h"
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 #include <QColor>
QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Refactor themes...
r143 class ChartItem;
class QChartSeries;
class XYLineChartItem;
class QXYChartSeries;
class BarGroup;
class BarChartSeries;
class StackedBarGroup;
class StackedBarChartSeries;
class PercentBarChartSeries;
class PercentBarGroup;
class ChartTheme
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 {
Michal Klocek
Refactor themes...
r143 protected:
explicit ChartTheme();
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 public:
Michal Klocek
Refactor themes...
r143 static ChartTheme* createTheme(QChart::ChartThemeId theme);
void decorate(QChart* chart);
void decorate(ChartItem* item, QChartSeries* series,int count);
void decorate(XYLineChartItem* item, QXYChartSeries*, int count);
void decorate(BarGroup* item, BarChartSeries* series,int count);
void decorate(StackedBarGroup* item, StackedBarChartSeries* series,int count);
void decorate(PercentBarGroup* item, PercentBarChartSeries* series,int count);
protected:
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 QColor m_gradientStartColor;
QColor m_gradientEndColor;
Michal Klocek
Refactor themes...
r143 QList<QColor> m_seriesColor;
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // CHARTTHEME_H