##// END OF EJS Templates
updated documentation and examples for barcharts
updated documentation and examples for barcharts

File last commit:

r325:043a715b3681
r325:043a715b3681
Show More
qpercentbarchartseries.cpp
51 lines | 1.5 KiB | text/x-c | CppLexer
/ src / barchart / qpercentbarchartseries.cpp
sauimone
Common naming convention for barcharts
r216 #include "qpercentbarchartseries.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
sauimone
Documentation for bar charts
r313 /*!
\class QPercentBarChartSeries
\brief part of QtCommercial chart API.
QPercentBarChartSeries represents a series of data shown as bars. Each bar of QBarSet is shown as percentage
of all bars in category. One QPercentBarChartSeries can contain multible QBarSet data sets.
QBarChartSeries groups the data from sets to categories, which are defined by QBarCategory class.
sauimone
Updated barchart documentation
r319 \mainclass
sauimone
updated documentation and examples for barcharts
r325 Example on how to create category:
\snippet ../example/barchart/main.cpp 1
Example on how to create sets of data:
\snippet ../example/barchart/main.cpp 2
Example on how to add sets to bar chart:
\snippet ../example/barchart/main.cpp 3
Example on how to enable tooltip and floating values:
\snippet ../example/barchart/main.cpp 4
Example on how to create view and apply theme:
\snippet ../example/barchart/main.cpp 5
sauimone
Updated barchart documentation
r319
sauimone
Documentation for bar charts
r313 \sa QBarCategory, QBarSet, QStackedBarChartSeries, QBarChartSeries
*/
/*!
\fn virtual QChartSeriesType QPercentBarChartSeries::type() const
\brief Returns type of series.
\sa QChartSeries, QChartSeriesType
*/
/*!
Constructs empty QPercentBarChartSeries. Parameter \a category defines the categories for chart.
sauimone
Updated barchart documentation
r319 QPercentBarChartSeries is QObject which is a child of a \a parent.
sauimone
Documentation for bar charts
r313 */
sauimone
Common naming convention for barcharts
r216 QPercentBarChartSeries::QPercentBarChartSeries(QBarCategory *category, QObject *parent)
sauimone
refactoring. QStackedBarSeries and QPercentBarSeries are now derived from QBarSeries.
r281 : QBarChartSeries(category, parent)
sauimone
Common naming convention for barcharts
r216 {
}
#include "moc_qpercentbarchartseries.cpp"
QTCOMMERCIALCHART_END_NAMESPACE