##// END OF EJS Templates
Chartviewer demo removed. Fixed a typo in docs
Marek Rosa -
r2020:205e74ad98a1
parent child
Show More
@@ -17,8 +17,7 SUBDIRS += piechartcustomization \
17
17
18 contains(QT_CONFIG, opengl) {
18 contains(QT_CONFIG, opengl) {
19 SUBDIRS += chartthemes \
19 SUBDIRS += chartthemes \
20 qmloscilloscope \
20 qmloscilloscope
21 chartviewer
22 } else {
21 } else {
23 message("OpenGL not available. Some demos are disabled")
22 message("OpenGL not available. Some demos are disabled")
24 }
23 }
@@ -22,7 +22,7
22
22
23 Becasue we use QLineSeries calling createDefaultAxes will create QValueAxis both as X and Y axis. To use QDateTimeAxis we need to set it manually to the chart.
23 Becasue we use QLineSeries calling createDefaultAxes will create QValueAxis both as X and Y axis. To use QDateTimeAxis we need to set it manually to the chart.
24 First the instance of QDateTimeAxis is created, then the number of ticks that are to be shown is set. The number of sun spots is provided as an average for the month therfore we don't need the axis labels to contain the information about the time and the day. This is achived by setting a custom label format.
24 First the instance of QDateTimeAxis is created, then the number of ticks that are to be shown is set. The number of sun spots is provided as an average for the month therfore we don't need the axis labels to contain the information about the time and the day. This is achived by setting a custom label format.
25 Please refer to QDateTime::toString() method documntation to learn about the avaiable format options.
25 Please refer to QDateTime::toString() method documentation to learn about the avaiable format options.
26
26
27 \snippet ../examples/datetimeaxis/main.cpp 4
27 \snippet ../examples/datetimeaxis/main.cpp 4
28
28
General Comments 0
You need to be logged in to leave comments. Login now