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 - ClipPoints property doesn’t work correctly in OpenGL.
Summary: ClipPoints property doesn’t work correctly in OpenGL.
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: OpenGL 3D (show other bugs)
Version: unspecified
Hardware: PC Windows
: High enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-17 05:42 EDT by sandra pazos
Modified: 2014-11-12 09:50 EST (History)
2 users (show)

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


Attachments
Open GL sample (59.95 KB, application/x-zip-compressed)
2014-07-17 05:42 EDT, sandra pazos
Details

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