Hi,
We are currently working with Arrow Series and in our case we have around 20,000 points for which arrow needs to be displayed. We are using the following statement for adding the arrows in a loop:
for (const auto &val : SLData)
{
m_Chart.Series(SLSer).GetAsArrow().AddArrow(val[0], val[1], val[2], val[3], "", val[4]);
}
Is there an optimized way of adding the arrows as the above approach takes around 2 mins which is quite huge for our software.
Regards,
Bhanu
Arrow Series Optimization
Re: Arrow Series Optimization
Hello Bhanu,
Are you disabling AutoRepaint before that loop and reenabling it after it?
It would avoid repainting the chart for every arrow added.
Are you disabling AutoRepaint before that loop and reenabling it after it?
It would avoid repainting the chart for every arrow added.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |