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 978

Summary: The Titles, Position, Custom positioning does not set the position of the title
Product: VCL TeeChart Reporter: Ian Schirmer <ians>
Component: EditorsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED NOTABUG    
Severity: enhancement CC: sandra
Priority: ---    
Version: 140923   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description Ian Schirmer 2014-10-23 02:55:08 EDT
The Titles, Position, Custom Left and Right boxes do not set the position of the title.  The only method is to see them in the run time code or manually edit the dfm file.
Comment 1 Ian Schirmer 2014-10-23 02:56:15 EDT
This function will work sometimes, however mostly will not.
Comment 2 sandra pazos 2014-10-27 05:19:31 EDT
Hello Ian, 

The problem you are experiencing doesn't appear using the code below: 

uses Series;
var Series1 :TLineSeries;
procedure TForm1.FormCreate(Sender: TObject);
begin
    Series1 := TLineSeries.Create(self);
    Chart1.AddSeries(Series1);
    Series1.FillSampleValues(10);
    Chart1.Title.CustomPosition := true ;
    Chart1.Draw;
    Chart1.Title.Left := 150;
    Chart1.Title.Top := 100;
end;

Could you please check if my code works as you want? 

Thanks in advance,
Regrads