From a394fbacd1b4e64f39be82c1cd482bb7053b1834 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Wed, 14 Jun 2023 12:20:46 +0200 Subject: [PATCH] update of internal cache fixed --- playground/charts/StackedChart.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/playground/charts/StackedChart.cpp b/playground/charts/StackedChart.cpp index 4d7bf219..91aedf7c 100644 --- a/playground/charts/StackedChart.cpp +++ b/playground/charts/StackedChart.cpp @@ -79,6 +79,7 @@ void StackedChart::setSeries( const QVector< ChartSample >& samples ) { // caching the cumulated values + m_data->cumulatedValues.clear(); m_data->cumulatedValues.reserve( samples.size() ); qreal total = 0.0;