I'm using Steema's TeeChart ActiveX 5 component for an application in .NET C#.
I do some drawings using the methods Line(), Rectangle() and Circle() through the "Canvas" property of the component.
My code for drawing is called on every on every OnBeforeDrawSeries() and OnAfterDraw() events of the component.
When there is only a few drawings, it works ok. But when the amount of drawing increases and after a certain number of redraws, I get an MessageBox with an error "Canvas does not allow drawing" and the application quits.
I believe this is somehow due to "overloading" the component with drawing calls.
Am I using this functionality the wrong way, or can I consider this a BUG in the component?