Unsolved How to removing QChart callout
-
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(); -
@lshiren Hi!
It would be better to post this answer in the original thread instead of opening a new one.