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 - creating and destroying chart without a render causes buffer error
Summary: creating and destroying chart without a render causes buffer error
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- minor
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-01 11:50 EDT by marc meumann
Modified: 2022-09-09 03:19 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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();