diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-12-05 06:28:02 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-12-05 06:28:56 +0200 |
commit | e57ed8602ac02ff86e3c08362ca4fbe23fe05bfb (patch) | |
tree | 8182e15307cf5853255b6d6d9d0c0b017875cc1d /examples | |
parent | 78d4deb0be21f22d74e3e01315686857ef8edf2e (diff) |
Notifys added to properties
Task-number: QTRD-2671
Change-Id: If95696b01eab836c2b4d5c6a3c19d7da9b255ab3
Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/customproxy/rainfallgraph.cpp | 4 | ||||
-rw-r--r-- | examples/qmlbars/qml/qmlbars/axes.qml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/customproxy/rainfallgraph.cpp b/examples/customproxy/rainfallgraph.cpp index 36fd3733..64c90017 100644 --- a/examples/customproxy/rainfallgraph.cpp +++ b/examples/customproxy/rainfallgraph.cpp @@ -59,8 +59,8 @@ RainfallGraph::RainfallGraph(Q3DBars *rainfall) m_graph->valueAxis()->setTitle("rainfall"); m_graph->valueAxis()->setLabelFormat("%d mm"); m_graph->valueAxis()->setSegmentCount(5); - m_graph->rowAxis()->setCategoryLabels(m_years); - m_graph->columnAxis()->setCategoryLabels(months); + m_graph->rowAxis()->setLabels(m_years); + m_graph->columnAxis()->setLabels(months); // Set bar type to cylinder series->setMesh(QAbstract3DSeries::MeshCylinder); diff --git a/examples/qmlbars/qml/qmlbars/axes.qml b/examples/qmlbars/qml/qmlbars/axes.qml index b6134e09..f5eb8d26 100644 --- a/examples/qmlbars/qml/qmlbars/axes.qml +++ b/examples/qmlbars/qml/qmlbars/axes.qml @@ -31,7 +31,7 @@ Item { //! [0] CategoryAxis3D { id: columnAxis - categoryLabels: ["January", "February", "March", "April", "May", "June", + labels: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] } //! [0] |