##// END OF EJS Templates
BarSeries API can now be used when the series is used with BarModelMapper
BarSeries API can now be used when the series is used with BarModelMapper

File last commit:

r979:6c4321224538
r1435:5560f4cf8e35
Show More
examples-customchart.qdoc
26 lines | 860 B | text/plain | TextLexer
/ doc / src / examples-customchart.qdoc
/*!
\example examples/customchart
\title Custom chart example
\subtitle
This example shows how to customize the appearance of the different elements on a chart.
\image examples_customchart.png
We begin by creating a simple line series and a chart object.
\snippet ../examples/customchart/main.cpp 1
Let the customization begin. First we customize the series and the chart's title and background.
\snippet ../examples/customchart/main.cpp 2
Then we customize the axes.
\snippet ../examples/customchart/main.cpp 3
And the axis label values and ranges.
\snippet ../examples/customchart/main.cpp 4
Finally we create a view containing the chart.
\snippet ../examples/customchart/main.cpp 5
Now we are ready to show the chart on a main window.
\snippet ../examples/customchart/main.cpp 6
*/