How to removing QChart callout
Unsolved
General and Desktop
-
Re: Removing QChart callout
The way to remove all callouts from the window is as follows:for(int i = 0; i < m_callouts.count() ; i++)
{
m_callouts.at(i)->hide();
}
this->chart->update();//update the chart, otherwise there are some noise points leaved in the chart
qDeleteAll(m_callouts);
m_callouts.clear();