##// END OF EJS Templates
For BarChart labels for legend are now taken from model's headerData (row or column)
For BarChart labels for legend are now taken from model's headerData (row or column)

File last commit:

r971:29cedae3d4be
r1012:63ded67c2d2b
Show More
examples-stackedbarchart.qdoc
15 lines | 571 B | text/plain | TextLexer
/ doc / src / examples-stackedbarchart.qdoc
/*!
\example examples/stackedbarchart
\title StackedBarChart Example
\subtitle
The example shows how to create simple stacked bar chart. Stacked bar chart shows the data in sets as bars that are
stacked on top of each other. The stacking is done per category.
\image examples_stackedbarchart.png
Creating stacked bar chart is just like creating a regular \l {BarChart Example} {bar chart}, except that for a
stacked bar chart, we use QStackedBarSeries api instead of QBarSeries.
\snippet ../examples/stackedbarchart/main.cpp 3
*/