Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2541

Summary: creating and destroying chart without a render causes buffer error
Product: .NET TeeChart Reporter: marc meumann <marc>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: minor    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description marc meumann 2022-08-01 11:50:59 EDT
To be fixed, workaround:

Force a chart render.

            Steema.TeeChart.TChart aChart = new Steema.TeeChart.TChart();
            aChart.Bitmap(20, 20);  //adding this line
            aChart.Dispose();
Comment 1 marc meumann 2022-09-09 03:19:51 EDT
correction. Invalid syntax in the the posted code snippet.

should be:

Steema.TeeChart.TChart aChart = new Steema.TeeChart.TChart();
aChart.Chart.Bitmap(20, 20);  //adding this line
aChart.Dispose();