How to remove this rectangle in Charts
-
Hello, I have removed title. But this little box is not going. How can I remove that.

The little box on top. Blue one
ChartView { //title: "Line Chart" anchors.fill: parent antialiasing: true plotAreaColor: "#D0D2CF" LineSeries { //name: "Line" color: "#3CC6FF" width: 2 XYPoint { x: 0 y: 0 } XYPoint { x: 0.5 y: 0.75 } XYPoint { x: 1.1 y: 2.1 } XYPoint { x: 1.9 y: 3.3 } XYPoint { x: 2.1 y: 2.1 } XYPoint { x: 2.9 y: 4.9 } XYPoint { x: 3.4 y: 3.0 } XYPoint { x: 4.1 y: 3.3 } } } -
Hello, I have removed title. But this little box is not going. How can I remove that.

The little box on top. Blue one
ChartView { //title: "Line Chart" anchors.fill: parent antialiasing: true plotAreaColor: "#D0D2CF" LineSeries { //name: "Line" color: "#3CC6FF" width: 2 XYPoint { x: 0 y: 0 } XYPoint { x: 0.5 y: 0.75 } XYPoint { x: 1.1 y: 2.1 } XYPoint { x: 1.9 y: 3.3 } XYPoint { x: 2.1 y: 2.1 } XYPoint { x: 2.9 y: 4.9 } XYPoint { x: 3.4 y: 3.0 } XYPoint { x: 4.1 y: 3.3 } } }@Sajjad-Ali My guess is: by setting "visible" to false in https://doc.qt.io/qt-6/qml-qtcharts-legend.html
-
@Sajjad-Ali My guess is: by setting "visible" to false in https://doc.qt.io/qt-6/qml-qtcharts-legend.html