Segfault when trying to add a 2nd LineSeries to a Chart
-
Hi, I'm trying to have 2 differents series plotted on the same chart. However, when I try to add the 2nd series the program segfaults and the debugger point to the line
chart->domain()->setSize(rect.size());in the ChartPresenter::updateGeometry function.Any idea what causes the segault and how I can add the 2nd series?
I know for a fact the data are organized in the same way -
Hi, I'm trying to have 2 differents series plotted on the same chart. However, when I try to add the 2nd series the program segfaults and the debugger point to the line
chart->domain()->setSize(rect.size());in the ChartPresenter::updateGeometry function.Any idea what causes the segault and how I can add the 2nd series?
I know for a fact the data are organized in the same way -
@Deneguil
Verify thatchart&chart->domain()are valid/notnullptr, as those would likely be the cause of the SEGFAULT?