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 306

Summary: [TV52015689] When you try to print Chart where there are header and footer and foo...
Product: VCL TeeChart Reporter: sandra pazos <sandra>
Component: Other ComponentsAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: major    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2013-11-20 10:37:33 EST
When you try to print Chart where there are header and footer and footer is custom, it print in wrong position or doesn't print. 
Please see next code to reproduce the problem: 
  TForm3 = class(TForm)
    TeeCommander1: TTeeCommander;
    Chart1: TChart;
    procedure TeeCommander1SetLabel(Sender: TTeeCommander; var Text: string);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;
var
  Form3: TForm3;
implementation
{$R *.dfm}
procedure TForm3.FormCreate(Sender: TObject);
var Series1 :TLineSeries;
begin
      Series1 := TLineSeries.Create(Self);
      Chart1.AddSeries(Series1);
      Series1.FillSampleValues(10);
      Chart1.Foot.Visible:=True;
      Chart1.Foot.CustomPosition:=True;
      Chart1.Foot.Text.Text:= 'TeeChart VCL 2011';
      Chart1.Draw;
      Chart1.Foot.Left := Chart1.Axes.Bottom.IAxisSize;
      Chart1.Foot.Top := Chart1.Axes.Left.IEndPos +10;
      Chart1.MarginBottom:=10;
end;
The same occurs in Activex but in this doesn't appear footer.
 [created:2011-08-08T17:14:34.000+01:00 reported by:sandra@steema.com reported in version:]