##// END OF EJS Templates
Fix piechartdrilldown bug. Chart was deleting the series from us.
Fix piechartdrilldown bug. Chart was deleting the series from us.

File last commit:

r387:23f0c228569f
r617:fd7ce4629ee8
Show More
qpercentbarseries.cpp
36 lines | 995 B | text/x-c | CppLexer
/ src / barchart / qpercentbarseries.cpp
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 #include "qpercentbarseries.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
/*!
\class QPercentBarSeries
\brief part of QtCommercial chart API.
QPercentBarSeries represents a series of data shown as bars. Each bar of QBarSet is shown as percentage
of all bars in category. One QPercentBarSeries can contain multible QBarSet data sets.
sauimone
replaced qbarcategory with qstringlist
r377 QBarSeries groups the data from sets to categories, which are defined by QStringList.
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338
\mainclass
sauimone
replaced qbarcategory with qstringlist
r377 \sa QBarSet, QStackedBarSeries, QBarSeries
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 */
/*!
Michal Klocek
Rename QChartSeries to QSeries
r360 \fn virtual QSeriesType QPercentBarSeries::type() const
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 \brief Returns type of series.
Michal Klocek
Rename QChartSeries to QSeries
r360 \sa QSeries, QSeriesType
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 */
/*!
sauimone
Updated barchart examples and documentation. Also bug fix to barchart model
r387 Constructs empty QPercentBarSeries. Parameter \a categories defines the categories for chart.
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 QPercentBarSeries is QObject which is a child of a \a parent.
*/
sauimone
replaced qbarcategory with qstringlist
r377 QPercentBarSeries::QPercentBarSeries(QStringList categories, QObject *parent)
: QBarSeries(categories, parent)
sauimone
Naming convention change for barcharts. QBarChartSeries is now QBarSeries etc.
r338 {
}
#include "moc_qpercentbarseries.cpp"
QTCOMMERCIALCHART_END_NAMESPACE