Page 1 of 1

Right Axis Title issue

Posted: Tue Aug 04, 2015 5:57 pm
by 16575031
Axis.png
Axis.png (2.98 KiB) Viewed 10306 times
I just upgraded to the latest TeeChart. I am using Delphi XE8. My chart now has the right axis title shown underneath the right axis values (see png attached). Did not do that previously. I realize it must be a simple fix but I can't figure it out. Any help? Thanks.

Re: Right Axis Title issue

Posted: Wed Aug 05, 2015 8:00 am
by narcis
Hi alexiat,

This is very similar to Bug #1173. I could reproduce the problem here using the code snippet below with the latest maintenance release. However, it works fine with our current sources. Since you are a source code customer I'm going to send you an email with a test version so that you can check if it solves the problem at your end.

Code: Select all

uses VCLTee.Series;

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.AddSeries(TLineSeries.Create(Self)).FillSampleValues;
  Chart1.AddSeries(TLineSeries.Create(Self)).FillSampleValues;
  Chart1.AddSeries(TLineSeries.Create(Self)).FillSampleValues;

  Chart1[0].VertAxis:=aBothVertAxis;

  Chart1.Axes.Right.Title.Text:='Right axis title';
  Chart1.Chart3DPercent:=50;
end;

Re: Right Axis Title issue

Posted: Wed Aug 05, 2015 1:37 pm
by 16575031
I am running into more frustration. If I add the path to the source code to my library I get a "Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas' on TTeeCanvas.TextOut(). I have uninstalled and reinstalled. I ran into this issue before and was why I wasn't using the source code.

Code compiles (and graph still isn't correct):
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL Source Code 2015.15\Source
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL 2015.15\Delphi22\Delphi22.win32\Lib

Code does not compile (and thus cannot test):
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL Source Code 2015.15\Source\VCL
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL Source Code 2015.15\Source
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL 2015.15\Delphi22\Delphi22.win32\Lib

Re: Right Axis Title issue

Posted: Wed Aug 05, 2015 1:48 pm
by narcis
Hi alexiat,

You should not mix source code and binary packages. Sources I sent you today differ from those used to build the maintenance release binary packages and therefore it won't compile. You should remove all TeeChart packages and path references from RAD Studio and install from the sources I sent you today, using TeeRecompile.exe shipped with it.

Re: Right Axis Title issue

Posted: Wed Aug 05, 2015 2:50 pm
by 16575031
Ran TeeRecompile and the source code fixed the issue. Thanks so much for your help.

Re: Right Axis Title issue

Posted: Wed Aug 05, 2015 2:51 pm
by narcis
Hi alexiat,

You're very welcome. I'm glad to hear that.