#8663 QtCharts: Update labels when date format changes

This commit is contained in:
Magne Sjaastad 2022-03-11 11:12:42 +01:00 committed by Kristian Bendiksen
parent ceecf2e54c
commit 262aed3c8d
2 changed files with 2 additions and 0 deletions

View File

@ -217,6 +217,7 @@ void RimSummaryPlot::updateAxes()
updateTimeAxis( timeAxisProperties() );
}
plotWidget()->updateAxes();
plotWidget()->scheduleReplot();
updateZoomInParentPlot();

View File

@ -803,6 +803,7 @@ void RiuQtChartsPlotWidget::setAxisScaleType( RiuPlotAxis axis, RiuQtChartsPlotW
//--------------------------------------------------------------------------------------------------
void RiuQtChartsPlotWidget::updateAxes()
{
axisRangeChanged();
m_viewer->chart()->update();
}