diff options
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] |