update of internal cache fixed
This commit is contained in:
parent
0e67ed8aec
commit
a394fbacd1
@ -79,6 +79,7 @@ void StackedChart::setSeries( const QVector< ChartSample >& samples )
|
|||||||
{
|
{
|
||||||
// caching the cumulated values
|
// caching the cumulated values
|
||||||
|
|
||||||
|
m_data->cumulatedValues.clear();
|
||||||
m_data->cumulatedValues.reserve( samples.size() );
|
m_data->cumulatedValues.reserve( samples.size() );
|
||||||
|
|
||||||
qreal total = 0.0;
|
qreal total = 0.0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user