I have the latest version of ChartDir at 5.1.1 installed. I was running the charting application in the foreground thread, and it was operating well, multiple iterations per second.
I have now moved the calculations to a background thread. Drawing a chart with similar data now takes multiple seconds per iteration. Deleting sub-charts also takes multiple seconds.
Before I dig deeper into other things, I was wondering if there was any obvious ChartDir library issues of running in a background thread? Anything to do with new/delete?
All the surrounding code which sets up the charts appears to run quickly enough, it is the final call into the library to calculate to makeChart( BMP ) which runs a long time on only a few hundred datapoints, where before it did well on thousands of datapoints. |