##// END OF EJS Templates
Fix crash with boxplottertester brush...
Fix crash with boxplottertester brush The test sets the brush for the second set in the first series. It is checked that the set exists before setting the brush for it. Change-Id: Id677ab781953bf7cc789f316d92c137873d4f624 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>

File last commit:

r2610:66fa88d10640
r2635:d3155254bba4
Show More
examples-logvalueaxis.qdoc
30 lines | 859 B | text/plain | TextLexer
/ doc / src / examples-logvalueaxis.qdoc
Marek Rosa
logvalueaxis and multiaxis examples documented
r2374 /*!
\example examples/logvalueaxis
Nico Vertriest
Doc: language review of Qt Charts doc...
r2610 \title Logarithmic Axis Example
Marek Rosa
logvalueaxis and multiaxis examples documented
r2374 \subtitle
The example shows how to use QLogValueAxis.
\image examples_logvalueaxis.png
Nico Vertriest
Doc: language review of Qt Charts doc...
r2610
Create a QLineSeries instance and add some data to it.
Marek Rosa
logvalueaxis and multiaxis examples documented
r2374
\snippet ../examples/logvalueaxis/main.cpp 1
Nico Vertriest
Doc: language review of Qt Charts doc...
r2610 To present the data on the chart we need a QChart instance. Add the series to it, hide the legend and set the title of the chart.
Marek Rosa
logvalueaxis and multiaxis examples documented
r2374
\snippet ../examples/logvalueaxis/main.cpp 2
Create the axes. Add them to the chart and attach to the series.
\snippet ../examples/logvalueaxis/main.cpp 3
Nico Vertriest
Doc: language review of Qt Charts doc...
r2610 Then create a QChartView object with QChart as a parameter. Enable antialiasing to have the rendered line look nicer.
\snippet ../examples/logvalueaxis/main.cpp 4
Marek Rosa
logvalueaxis and multiaxis examples documented
r2374
Nico Vertriest
Doc: language review of Qt Charts doc...
r2610 The chart is ready to be shown.
Marek Rosa
logvalueaxis and multiaxis examples documented
r2374
\snippet ../examples/logvalueaxis/main.cpp 5
Nico Vertriest
Doc: language review of Qt Charts doc...
r2610
Marek Rosa
logvalueaxis and multiaxis examples documented
r2374 */