Page 1 of 1

TExtraLegendTool Title property

Posted: Wed Sep 19, 2007 8:09 am
by 9350556
It looks like the Title property of TExtraLegendTool is not working in TeeChart 7.12.

In the demonstration program Tee7New I cannot make the title visible too.

What do I need to do to make the title of the extra legend visible?

Regards,
Bert

Posted: Wed Sep 19, 2007 9:11 am
by narcis
Hi Bert,

Yes, you are right. This has been fixed in TeeChart Pro v8 VCL.

Posted: Wed Sep 19, 2007 9:27 am
by 9350556
Hello NarcĂ­s,

Nice that this has been fixed in TeeChart 8, but I ordered TeeChart 7 two months ago.
At this time I cannot tell my boss to purchase a new version for this single fix.

Can you post the relevant changes to the source so that I can make it work in version 7?

Best regards,
Bert

Posted: Fri Sep 28, 2007 6:50 am
by 9350556
I'm still waiting for a solution.

Posted: Wed Oct 10, 2007 8:00 am
by 9350556
And waiting ...

Posted: Mon Oct 15, 2007 3:11 pm
by Pep
Hi Bert,

sorry for delay !
in order to fix it you have to go to the line 4305 at Chart.pas and change the following lines :

Code: Select all

    with Legend do
    begin
      IDrawTitle:=Title.Visible and (Title.Text.Text<>'');
      if IDrawTitle then Title.CalcHeight;
    end;
by these :

Code: Select all

  IDrawTitle:=Self.Title.Visible and (Self.Title.Text.Text<>'');
  if IDrawTitle then
  begin
    Self.Title.CalcHeight;
    ParentChart.Canvas.AssignFont(Self.Font); // Reset font again
  end;
This should fix it for v7.

Posted: Tue Oct 16, 2007 7:49 am
by 9350556
This should fix it for v7.
Yes it does!
Thank you for your support.

Bert