Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6
-
None
Description
Building and running the attached project should yield this runtime error:
20:42:44: Starting C:\Qt\Examples\Qt-6.6.0\charts\build-qmlchartsgallery-Desktop_Qt_6_6_0_MSVC2019_64bit-Debug\qmlchartsgallery.exe... QML debugging is enabled. Only use this in a safe environment. qrc:/qml/AreaSeries.qml:19:14: Invalid property assignment: "margins" is a read-only property
The documentation doesn't state that "margins" is readonly.
https://doc.qt.io/qt-6/qml-qtcharts-chartview.html#margins-prop