update of internal cache fixed

This commit is contained in:
Uwe Rathmann 2023-06-14 12:20:46 +02:00
parent 0e67ed8aec
commit a394fbacd1

View File

@ -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;