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 1016 - Vertical lines on chart when OpenGL rendering is enabled
Summary: Vertical lines on chart when OpenGL rendering is enabled
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: OpenGL 3D (show other bugs)
Version: 140923
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-19 05:44 EST by Paul
Modified: 2014-11-21 06:34 EST (History)
1 user (show)

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


Attachments
print screens (35.04 KB, application/zip)
2014-11-19 05:44 EST, Paul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2014-11-19 05:44:31 EST
Created attachment 351 [details]
print screens

When you enable OpenGL rendering strange vertical lines will appear on TChart. Check enclosed print screens.

Code that reproduces the problem:

var Chart1: TChart;
    TeeOpenGL: TTeeOpenGL;

procedure TForm1.FormCreate(Sender: TObject);
var
  i: Integer;
  series: TLineSeries;
begin
  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Self;
  Chart1.Align:=alClient;
  Chart1.Hover.Visible := False;

  Chart1.View3D:=false;
  Chart1.Legend.Visible:=false;

  TeeOpenGL := TTeeOpenGL.Create(self);
  TeeOpenGL.TeePanel := Chart1;
  TeeOpenGL.Active := True; // <-- comment line to see the difference

  series := TLineSeries.Create(Chart1);
  Chart1.AddSeries(series);
  for i := 0 to 10000 do
  begin
    if i mod 3 = 0 then
      series.AddXY(i,0)
    else
      series.AddXY(i,10);
  end;
end;