Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.8.3, 6.10.0 Beta1
-
None
-
-
Linux/X11, Windows
Description
When a GraphsView destructor is called, application is crashed because "pure virtual method called"
This happens when any series is added to a GraphsView with the addSeries(series) method.
To test this can be added to a simple Window, and crash will happen when closing the window, or to a StackView, and on Pop, it will crash.
LineSeries {
id: theLineSeries
color: "red"
XYPoint {x: 1; y: 1}
XYPoint {x: 2; y: 2}
XYPoint {x: 3; y: 3}
}
GraphsView {
anchors.fill: parent Component.onCompleted: {
addSeries(theLineSeries);
}
axisY: ValueAxis {min: 0;max: 10}
axisX: ValueAxis {max: 5;min: 0 }
}