examples-stackedbarchart.qdoc
15 lines
| 571 B
| text/plain
|
TextLexer
sauimone
|
r387 | /*! | ||
Tero Ahola
|
r500 | \example examples/stackedbarchart | ||
sauimone
|
r387 | \title StackedBarChart Example | ||
\subtitle | ||||
Tero Ahola
|
r971 | 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. | ||||
sauimone
|
r387 | |||
Tero Ahola
|
r971 | \image examples_stackedbarchart.png | ||
sauimone
|
r387 | |||
Tero Ahola
|
r971 | 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. | ||||
sauimone
|
r387 | |||
sauimone
|
r492 | \snippet ../examples/stackedbarchart/main.cpp 3 | ||
Tero Ahola
|
r971 | */ | ||