Merge pull request #8387 from OPM/qtcharts-summary-plots

Closes #8228 

Major refactoring of summary plotting. Now possible to create plots both with Qwt and QtChart as plotting tool.
This commit is contained in:
Kristian Bendiksen
2022-01-17 13:14:21 +01:00
committed by GitHub
parent d9bb82de91
commit 258fbddc10
145 changed files with 7245 additions and 2932 deletions

View File

@@ -78,7 +78,7 @@ void RiuResultQwtPlot::addCurve( const RimCase* rimCase,
return;
}
RiuQwtPlotCurve* plotCurve = new RiuQwtPlotCurve( "Curve 1" );
RiuQwtPlotCurve* plotCurve = new RiuQwtPlotCurve( nullptr, "Curve 1" );
plotCurve->setSamplesFromDatesAndYValues( dateTimes, timeHistoryValues, false );
plotCurve->setTitle( curveName );