Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8.0
-
None
-
3199d40a3 (dev), 5d9b1c958 (6.8)
Description
See the example below. It looks like columnLabels and rowLabels are reseted to defaults and user values don't get used.
import QtQuick import QtGraphs Window { id: root width: 1280 height: 960 visible: true title: qsTr("Graphs 3D - Bar Graph") Bars3D { id: barGraph anchors.fill: parent Bar3DSeries { id: barSeries columnLabels: [ "col 1", "col 2", "col 3", "col 4", "col 5", "col 6", "col 7", "col 8", "col 9", "col 10" ] rowLabels: [ "row 1", "row 2", "row 3", "row 4", "row 5", "row 6", "row 7", "row 8", "row 9", "row 10" ] ItemModelBarDataProxy { itemModel: dataModel columnRole: "xPos" rowRole: "zPos" valueRole: "yPos" } } } ListModel { id: dataModel Component.onCompleted: { for (let i = 0; i < 10; ++i) { for (let j = 0; j < 10; ++j) { dataModel.append({"xPos": i, "yPos": i + j, "zPos": j}) } } } } }
Regression from QtDataVisualization