#2062 Prefix the Saturation title on the x-axis with "Water", "Gas" or "Water/Gas" depending on the curves present in the plot.

This commit is contained in:
sigurdp
2017-11-23 12:52:35 +01:00
parent 65fe3ba902
commit e83b3a8c02
2 changed files with 57 additions and 15 deletions

View File

@@ -48,6 +48,8 @@ private:
void plotUiSelectedCurves();
static void setPlotDefaults(QwtPlot* plot);
static void plotCurvesInQwt(const std::vector<RigFlowDiagSolverInterface::RelPermCurve>& curveArr, double swat, double sgas, QString cellReferenceText, QwtPlot* plot);
static QColor curveColorFromIdent(RigFlowDiagSolverInterface::RelPermCurve::Ident ident);
static QString determineXAxisTitleFromCurveCollection(const std::vector<RigFlowDiagSolverInterface::RelPermCurve>& curveArr);
private slots:
void slotButtonInButtonGroupClicked(int);