@@ -65,7 +65,7 Rectangle { | |||||
65 | id: valueAxisY |
|
65 | id: valueAxisY | |
66 | min: 0 |
|
66 | min: 0 | |
67 | max: 15 |
|
67 | max: 15 | |
68 |
titleText: "Temperature [ |
|
68 | titleText: "Temperature [°C]" | |
69 | } |
|
69 | } | |
70 |
|
70 | |||
71 | LineSeries { |
|
71 | LineSeries { |
@@ -64,7 +64,7 int main(int argc, char *argv[]) | |||||
64 | chart->createDefaultAxes(); |
|
64 | chart->createDefaultAxes(); | |
65 | chart->setAxisX(axis, series); |
|
65 | chart->setAxisX(axis, series); | |
66 | chart->axisY(series)->setRange(-52, 52); |
|
66 | chart->axisY(series)->setRange(-52, 52); | |
67 |
chart->axisY(series)->setTitleText( |
|
67 | chart->axisY(series)->setTitleText("Temperature [°C]"); | |
68 | //![4] |
|
68 | //![4] | |
69 |
|
69 | |||
70 | //![5] |
|
70 | //![5] |
General Comments 0
You need to be logged in to leave comments.
Login now