ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Running MultiChart.makeChart in background thread with C++
Posted by Ray on Nov-06-2013 09:16
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.

  Re: Running MultiChart.makeChart in background thread with C++
Posted by Ray on Nov-06-2013 09:29
Sorry, this thread can be deleted.  There is something else wrong with the code.