Disposing of TChart on Net 6
Posted: Wed Aug 03, 2022 3:23 am
Hi,
I apologize for posting a reply to your announcement message because I did not see the "New Topic" button. Your reply on the thread https://www.steema.com/support/viewtopi ... 703#p78724 worked on the base TChart controls, but failed on our controls that inherit from TChart.
Upon further checking, we had the line below that seems to raise the NullReferenceException on Dispose.
tChart1.Graphics3D.BufferStyle = Steema.TeeChart.Drawing.BufferStyle.DoubleBuffer;
This line was inserted to resolve an issue we encountered 9 years ago - http://www.teechart.net/support/viewtop ... 156#p62249.
Do we still need the line to set the BufferStyle?
I apologize for posting a reply to your announcement message because I did not see the "New Topic" button. Your reply on the thread https://www.steema.com/support/viewtopi ... 703#p78724 worked on the base TChart controls, but failed on our controls that inherit from TChart.
Upon further checking, we had the line below that seems to raise the NullReferenceException on Dispose.
tChart1.Graphics3D.BufferStyle = Steema.TeeChart.Drawing.BufferStyle.DoubleBuffer;
This line was inserted to resolve an issue we encountered 9 years ago - http://www.teechart.net/support/viewtop ... 156#p62249.
Do we still need the line to set the BufferStyle?