##// 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:

r282:2a015f15bbd4
r312:0677c9dd6d92
Show More
qstackedbarchartseries.h
21 lines | 485 B | text/x-c | CLexer
/ src / barchart / qstackedbarchartseries.h
#ifndef STACKEDBARCHARTSERIES_H
#define STACKEDBARCHARTSERIES_H
#include "qbarchartseries.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QBarCategory;
class QTCOMMERCIALCHART_EXPORT QStackedBarChartSeries : public QBarChartSeries
{
Q_OBJECT
public:
QStackedBarChartSeries(QBarCategory *category, QObject* parent=0);
virtual QChartSeriesType type() const { return QChartSeries::SeriesTypeStackedBar; }
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif // STACKEDBARCHARTSERIES_H