Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
6.8
-
None
Description
- Item labels are drawn when an item is selected despite Bar3DSeries "itemLabelVisible" property set to false.
Minimal reproducible example: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 itemLabelVisible: false ItemModelBarDataProxy { itemModel: dataModel columnRole: "xPos" rowRole: "zPos" valueRole: "yPos" } } } ListModel { id: dataModel Component.onCompleted: { for (let i = 0; i <= 3; ++i) { for (let j = 0; j <= 3; ++j) { dataModel.append({"xPos": i, "yPos": (i + j), "zPos": j}) } } } } }
- Bar3DSeries "meshAngle" and "meshRotation" properties bring no effect.
Minimal reproducible example: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 meshRotation: Qt.quaternion(0.92, 0.0, 0.39, 0.0) // ~45 degrees rotation around Y meshAngle: 45 ItemModelBarDataProxy { itemModel: dataModel columnRole: "xPos" rowRole: "zPos" valueRole: "yPos" } } } ListModel { id: dataModel Component.onCompleted: { for (let i = 0; i <= 3; ++i) { for (let j = 0; j <= 3; ++j) { dataModel.append({"xPos": i, "yPos": (i + j), "zPos": j}) } } } } }
- Bar3DSeries with provided rotation data in ItemModelBarDataProxy isn't rotated.
Minimal reproducible example: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 ItemModelBarDataProxy { itemModel: dataModel columnRole: "xPos" rowRole: "zPos" valueRole: "yPos" rotationRole: "rotation" } } } ListModel { id: dataModel Component.onCompleted: { for (let i = 0; i <= 3; ++i) { for (let j = 0; j <= 3; ++j) { dataModel.append({"xPos": i, "yPos": (i + j), "zPos": j, "rotation": 45}) } } } } }
- Bars3D "cameraTargetPosition" - in contrary to the property description in the documentation, values outside range <-1.0, 1.0> are not clamped to the edge. In contrary to the information in the note, none of the coordinates in the vector is ignored for the bar graphs:
Minimal reproducible example: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 cameraTargetPosition: Qt.vector3d(2.0, 2.0, 2.0) Bar3DSeries { id: barSeries ItemModelBarDataProxy { itemModel: dataModel columnRole: "xPos" rowRole: "zPos" valueRole: "yPos" } } } ListModel { id: dataModel Component.onCompleted: { for (let i = -10; i < 10; ++i) { for (let j = -10; j < 10; ++j) { dataModel.append({"xPos": i, "yPos": i + j, "zPos": j}) } } } } }
- Changing Bars3D margin property brings no effect. Minimal reproducible example:
import QtQuick import QtGraphs Window { id: root width: 1280 height: 960 visible: true title: qsTr("Graphs 3D - Bar Graph") Timer { interval: 1000 running: true repeat: true onTriggered: { barGraph.margin += 0.2 } } Bars3D { id: barGraph anchors.fill: parent margin: 0.0 Bar3DSeries { id: barSeries ItemModelBarDataProxy { itemModel: dataModel columnRole: "xPos" rowRole: "zPos" valueRole: "yPos" } } } ListModel { id: dataModel Component.onCompleted: { for (let i = -10; i < 10; ++i) { for (let j = -10; j < 10; ++j) { dataModel.append({"xPos": i, "yPos": i + j, "zPos": j}) } } } } }
Attachments
1.
|
Handle itemLabelVisibility | Closed | Kwanghyo Park | |
2.
|
Fix meshRotation support on bars | In Review | Kwanghyo Park | |
3.
|
Fix data provided rotation support on bars | In Review | Kwanghyo Park |
Gerrit Reviews
For Gerrit Dashboard: QTBUG-131135 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
605515,7 | Fix rotation properties to be supported on bars | dev | qt/qtgraphs | Status: NEW | +1 | 0 |
605515,7 | Fix rotation properties to be supported on bars | dev | qt/qtgraphs | Status: NEW | +1 | 0 |