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 1062

Summary: Incorrect series marks text alignment for TPointSeries
Product: VCL TeeChart Reporter: sandra pazos <sandra>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: 140923   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2014-12-24 07:29:16 EST
When you use marks with a specific angle on top of the point value of series point and these are transparent (no box, no border). The marks overs the point a bit and it isn't aligned on top of the point value.  The problem isn't occurs in TeeChart Pro VCL/FMX Build 2012.07.121105
The code below reproduces the problem: 

uses Series;
var  Series1 : TPointSeries;
procedure TForm2.FormCreate(Sender: TObject);
var i:Integer;
begin
Chart1.View3D:=false;
Series1 := TPointSeries.Create(Chart1);
Chart1.AddSeries(Series1);
Series1.Stairs := False;
Series1.Marks.Angle := 45;
Series1.Marks.Visible := true;
Series1.Marks.Transparent := True;
Series1.Marks.TextAlign := taLeftJustify;
Series1.Marks.Font.Size := 8;
Series1.Marks.Style := smsLabel;
Series1.Marks.Visible := True;
Series1.XValues.DateTime := True;
for i:=0 to 20 do
Series1.AddXY(i,5,'Label:'+IntToStr(i)+'01234');
end;