//-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- void RimPlotCurve::updateLegendEntryVisibilityAndPlotLegend() { updateLegendEntryVisibilityNoPlotUpdate(); if (m_parentQwtPlot != nullptr) { m_parentQwtPlot->updateLegend(); } }
//-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- void RimPlotCurve::updateCurveNameNoLegendUpdate() { if (m_isUsingAutoName) { m_curveName = this->createCurveAutoName(); } else { m_curveName = m_customCurveName; } m_qwtPlotCurve->setTitle(m_curveName); updateLegendEntryVisibilityNoPlotUpdate(); }
//-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- void RimPlotCurve::updateLegendEntryVisibilityAndPlotLegend() { updateLegendEntryVisibilityNoPlotUpdate(); updateLegendsInPlot(); }
//-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- void RimPlotCurve::showLegend(bool show) { m_showLegend = show; updateLegendEntryVisibilityNoPlotUpdate(); }
//-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- void RimPlotCurve::updateCurveNameNoLegendUpdate() { updateCurveName(); updateLegendEntryVisibilityNoPlotUpdate(); }