![]() | Steema Issues DatabaseNote: 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. |
| Summary: | [TV52015788] A chart using OpenGL isn't shown the first time it is shown. 2 ways t... | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Other Components | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | major | CC: | david |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
This works fine with latest source code (at runtime). Pending: Under Windows Vista and up, depending on "Aero" theme selected or not, at design-time, moving or resizing a Chart with OpenGL canvas is blank (while moving or resizing). |
A chart using OpenGL isn't shown the first time it is shown. 2 ways to reproduce the same: - Open the TeeNew demo. Open any demo that uses OpenGL (for example "All features\Welcome !\Components\OpenGL\Tri Surface"). The first time you open it, the chart isn't shown. The, if you navigate to another demo that uses OpenGL (for example "All features\Welcome !\Components\OpenGL\GL Canvas"), it works fine. And it will also work fine the demo that didn't work before. - Use the code bellow. When the form is shown, the chart isn't. But if you click the button to recreate the TTOpenGL object, it works fine. uses Chart, TeeOpenGL, TeeSurfa; var Chart1: TChart; TeeOpenGL1: TTeeOpenGL; Series1: TSurfaceSeries; procedure TForm1.FormCreate(Sender: TObject); begin Chart1:=TChart.Create(Self); Chart1.Parent:=Self; Chart1.AddSeries(TSurfaceSeries).FillSampleValues; TeeOpenGL1:=TTeeOpenGL.Create(Self); TeeOpenGL1.TeePanel:=Chart1; TeeOpenGL1.Active:=True; end; procedure TForm1.Button1Click(Sender: TObject); begin TeeOpenGL1:=TTeeOpenGL.Create(Self); TeeOpenGL1.TeePanel:=Chart1; TeeOpenGL1.Active:=True; end; [created:2011-10-18T11:29:22.000+01:00 reported by:yeray@steema.com reported in version:2011.03.30407 (TeeChart VCL)]