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 851

Summary: ClipPoints property doesn’t work correctly in OpenGL.
Product: VCL TeeChart Reporter: sandra pazos <sandra>
Component: OpenGL 3DAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement CC: pawel.kaluza, yeray
Priority: High    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version: RAD XE6
Attachments: Open GL sample

Description sandra pazos 2014-07-17 05:42:21 EDT
Created attachment 250 [details]
Open GL sample

The Chart ClipPoints property doesn't work correctly in OpenGL, so when you scroll series up, it disappears before reaching the rectangle bounds. Also, if you scroll down the series, this moves out of rectangle bounds.  The attached project reproduces the problem.
Comment 1 yeray alonso 2014-11-12 09:50:57 EST
Here a simple code that reproduces the problem:

uses TeeGLCanvas, Chart, Series, TeeConst;

var Chart1: TChart;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Caption:=TeeMsg_Version;

  Chart1:=TChart.Create(Self);
  Chart1.Parent:=Self;
  Chart1.Align:=alClient;

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

  Chart1.Canvas:=TGLCanvas.Create;

  Chart1.AddSeries(TLineSeries).FillSampleValues;

  Chart1.OnDblClick:=Chart1DoubleClick;
end;

procedure TForm1.Chart1DoubleClick(Sender: TObject);
begin
  Chart1.View3D:=not Chart1.View3D;
end;