diff options
author | Sami Varanka <sami.varanka@qt.io> | 2021-08-18 14:33:26 +0300 |
---|---|---|
committer | Sami Varanka <sami.varanka@qt.io> | 2021-08-24 07:25:12 +0000 |
commit | d01fa6654f9b3d5ae4b542a85f10277318cfebd4 (patch) | |
tree | ceb71e9903b00181cca3623d77758544182b12d5 /tests/auto/qmltest/bars3d/tst_bars.qml | |
parent | 6248cca3f2a801b27059ffc0a720db1686832f41 (diff) |
Add: Margin between series columns in Bars3D
Added a new property to Bars3D. The property
controls the margin between the columns of
series. It can be used to show bars belonging
to same column, but different series
side by side. Also added autotest for qml and
cpp.
Fixes: QTBUG-69036
Change-Id: I3c353e9097a8be8cafc05f8f5120e4266baa4a5c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'tests/auto/qmltest/bars3d/tst_bars.qml')
-rw-r--r-- | tests/auto/qmltest/bars3d/tst_bars.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qmltest/bars3d/tst_bars.qml b/tests/auto/qmltest/bars3d/tst_bars.qml index 75cf10a2..349e28b2 100644 --- a/tests/auto/qmltest/bars3d/tst_bars.qml +++ b/tests/auto/qmltest/bars3d/tst_bars.qml @@ -28,7 +28,7 @@ ****************************************************************************/ import QtQuick 2.0 -import QtDataVisualization 1.2 +import QtDataVisualization import QtTest 1.0 Item { @@ -41,7 +41,7 @@ Item { function constructBars() { bars3d = Qt.createQmlObject(" import QtQuick 2.2 - import QtDataVisualization 1.2 + import QtDataVisualization Bars3D { anchors.fill: parent }", top) @@ -104,7 +104,7 @@ Item { function constructBarsWithCustomItemList() { bars3d = Qt.createQmlObject(" import QtQuick 2.2 - import QtDataVisualization 1.2 + import QtDataVisualization Bars3D { anchors.fill: parent customItemList: [item1, item2] |