TeeChart ActiveX v5.0.7 possible memory leak ?
Posted: Wed Apr 14, 2004 4:12 pm
Hi,
I use the last ActiveX v 5.0.7 with database as input value for series.
All work fine to show values, etc....
But my application use a timer to refresh data from database. The only way found is to Refresh Adodc recordset and set again to series DataSource.
TableAccess.Refresh
Me.TChart1.Series(0).DataSource = TableAccess.Recordset
Me.TChart1.Series(0).ValueLists.Items(0).ValueSource = "Field1"
Me.TChart1.Series(0).ValueLists.Items(1).ValueSource = "Field2"
...
But this method add memory leak. How can i do ?
I have tryed many method, but the only working method is to set the recordset again.
thanks
Fosset
By the way... I use Delphi VCL version and to solve zoom bug in DblClick on graph I use Chart.Abort, but in VB how I can ?
I use the last ActiveX v 5.0.7 with database as input value for series.
All work fine to show values, etc....
But my application use a timer to refresh data from database. The only way found is to Refresh Adodc recordset and set again to series DataSource.
TableAccess.Refresh
Me.TChart1.Series(0).DataSource = TableAccess.Recordset
Me.TChart1.Series(0).ValueLists.Items(0).ValueSource = "Field1"
Me.TChart1.Series(0).ValueLists.Items(1).ValueSource = "Field2"
...
But this method add memory leak. How can i do ?
I have tryed many method, but the only working method is to set the recordset again.
thanks
Fosset
By the way... I use Delphi VCL version and to solve zoom bug in DblClick on graph I use Chart.Abort, but in VB how I can ?