#739 Aligned more to the way of the RimPlotCurve

This commit is contained in:
Jacob Støren committed 2016-05-24 11:06:42 +02:00
1 parent e469eb1483
commit cb8f2e47f5
3 files changed
+61 -21

No files matched your search

@@ -101,14 +101,7 @@ void RimSummaryPlot::loadDataAndUpdate()
{
RimSummaryCurve* curve = curves[i];
std::vector<QDateTime> dateTimes;
std::vector<double> values;
curve->curveData(&dateTimes, &values);
cvf::Color3f curveColor = RiuSelectionColors::curveColorFromTable();
m_viewer->addCurve(curve->m_variableName(), curveColor, dateTimes, values);
curve->loadDataAndUpdate();
}
}
@@ -161,6 +154,6 @@ void RimSummaryPlot::detachAllCurves()
{
for (size_t cIdx = 0; cIdx < curves.size(); ++cIdx)
{
//curves[cIdx]->detachQwtCurve();
curves[cIdx]->detachQwtCurve();
}
}