##// END OF EJS Templates
Fixed a bug with last two control points calculation
Fixed a bug with last two control points calculation

File last commit:

r426:95162da3dc01 merge
r429:cbe57d7d97d6
Show More
charttheme_p.h
58 lines | 1.7 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;
Michal Klocek
Rename QChartSeries to QSeries
r360 class QSeries;
Michal Klocek
Fix previous broken commit
r145 class LineChartItem;
Michal Klocek
Rename QLineChartSeries to QLineSeries
r349 class QLineSeries;
sauimone
Common naming convention for barcharts
r216 class BarPresenter;
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 class QBarSeries;
sauimone
Common naming convention for barcharts
r216 class StackedBarPresenter;
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 class QStackedBarSeries;
class QPercentBarSeries;
sauimone
Common naming convention for barcharts
r216 class PercentBarPresenter;
Tero Ahola
Enabled theme colors in scatter again
r182 class QScatterSeries;
class ScatterPresenter;
Jani Honkonen
Make pie work better with chartwidgettest
r163 class PiePresenter;
class QPieSeries;
Marek Rosa
Spline working somewhat
r401 class SplinePresenter;
class QSplineSeries;
Michal Klocek
Adds area chart...
r421 class AreaChartItem;
class QAreaSeries;
Michal Klocek
Refactor themes...
r143
class ChartTheme
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 {
Michal Klocek
Refactor themes...
r143 protected:
Michal Klocek
Adds missing ids to theme classes
r153 explicit ChartTheme(QChart::ChartTheme id = QChart::ChartThemeDefault);
Tero Ahola
Refactored themes; now enabled for line, scatter and pies...
r103 public:
Michal Klocek
Adds missing ids to theme classes
r153 static ChartTheme* createTheme(QChart::ChartTheme theme);
QChart::ChartTheme id() const {return m_id;}
Michal Klocek
Refactor themes...
r143 void decorate(QChart* chart);
Michal Klocek
Rename QChartSeries to QSeries
r360 void decorate(ChartItem* item, QSeries* series,int count);
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 void decorate(BarPresenter* item, QBarSeries* series,int count);
void decorate(StackedBarPresenter* item, QStackedBarSeries* series,int count);
void decorate(PercentBarPresenter* item, QPercentBarSeries* series,int count);
Michal Klocek
Adds area chart...
r421 void decorate(LineChartItem* item, QLineSeries* series,int count);
void decorate(AreaChartItem* item, QAreaSeries* series,int count);
Tero Ahola
Enabled theme colors in scatter again
r182 void decorate(ScatterPresenter* presenter, QScatterSeries* series, int count);
Jani Honkonen
Make pie work better with chartwidgettest
r163 void decorate(PiePresenter* item, QPieSeries* series, int count);
Michal Klocek
Refactors axis handling...
r223 void decorate(QChartAxis* axis,AxisItem* item);
Marek Rosa
Spline working somewhat
r401 void decorate(SplinePresenter* presenter, QSplineSeries* series, int count);
Michal Klocek
Refactor themes...
r143
protected:
Michal Klocek
Adds missing ids to theme classes
r153 QChart::ChartTheme m_id;
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