TAreaSeries->Stairs return false even if set to true

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Lykke
Newbie
Newbie
Posts: 6
Joined: Thu Feb 26, 2015 12:00 am

TAreaSeries->Stairs return false even if set to true

Post by Lykke » Wed Aug 05, 2015 12:08 pm

Hi

TAreaSeries->Stairs return false even if set to true in newest public release. Steps to reproduce:
- Make a new C++ VCL application.
- Add a TChart with a TAreaSeries
- In constructor write:
Series1->Stairs = true;
bool test = Series1->Stairs;

Then test is FALSE eventhough just set to true. Note this was working with TeeChart 8.08.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: TAreaSeries->Stairs return false even if set to true

Post by Narcís » Wed Aug 05, 2015 12:19 pm

Hi Lykke,

Code snippet below works fine for me here using latest publicly available maintenance release. Can you please let us know the exact TeeChart version you are using? Attached the complete project which works fine here. Can you please check if this project works fine at your end?

Code: Select all

void __fastcall TForm1::FormCreate(TObject *Sender)
{
	Series1->Stairs = true;
	bool test = Series1->Stairs;

	Series1->FillSampleValues();

	String testText = "Stairs FALSE";

	if (test) {
		testText = "Stairs TRUE";
	}

	Chart1->Title->Text->Strings[0] = testText;
}
Thanks in advance.
Attachments
AreaStairs.zip
(6.33 KiB) Downloaded 631 times
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Lykke
Newbie
Newbie
Posts: 6
Joined: Thu Feb 26, 2015 12:00 am

Re: TAreaSeries->Stairs return false even if set to true

Post by Lykke » Wed Aug 05, 2015 12:25 pm

I dowloaded your example. I build it and title is Stairs FALSE (NOT WORKING).
I use XE8.1 and TeeChart 2015.15.150420 (Pro version, no source code).

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: TAreaSeries->Stairs return false even if set to true

Post by Narcís » Wed Aug 05, 2015 1:15 pm

Hello,

I just removed all TeeChart traces from my XE8.1, installed exactly the same binary version and it works fine for me compiling both for 32 and 64-bit. Find attached the 32-bit .exe I compiled. Can you please check if it works fine for you?

Thanks in advance.
Attachments
Project1.zip
(58.96 KiB) Downloaded 596 times
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Lykke
Newbie
Newbie
Posts: 6
Joined: Thu Feb 26, 2015 12:00 am

Re: TAreaSeries->Stairs return false even if set to true

Post by Lykke » Wed Aug 05, 2015 1:38 pm

Hi Narcis

I see your exe give true, but your project build on my installation give opposite result.
How come it can give different results if it is the same Rad Studio and TeeChart versions we are using?
I am trying to upload my exe, but seems not to work with my browser. I will try with different one if it is possible for you to approach the problem from there.

Lykke
Newbie
Newbie
Posts: 6
Joined: Thu Feb 26, 2015 12:00 am

Re: TAreaSeries->Stairs return false even if set to true

Post by Lykke » Wed Aug 05, 2015 1:45 pm

Now I succeeded in uploading (after cleaning output directory so it only contains the exe).
Attachments
AreaStairsLykke.zip
Project and Exe
(106.16 KiB) Downloaded 606 times

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: TAreaSeries->Stairs return false even if set to true

Post by Narcís » Wed Aug 05, 2015 2:05 pm

Hi Lykke,

Thanks for your .exe, I could reproduce the problem using it.

Can you please check that your XE8 has no TeeChart Standard packages installed (Component -> Install Packages) and that Pro version packages are enabled on this list? Also, please check that at Tools -> Options -> Environment Options -> C++ Options -> Paths and Directories, System Include Path points to C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL 2015.15\Delphi22\Delphi22.win32\Include and Library Path to C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL 2015.15\Delphi22\Delphi22.win32\Lib and C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL 2015.15\Delphi22\Delphi22.win32\Lib\obj? That would be default English installation path for compiling 32-bit applications. You should make sure TeeChart Pro paths are on top of the search paths lists. Please do the same for all selected platforms.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Lykke
Newbie
Newbie
Posts: 6
Joined: Thu Feb 26, 2015 12:00 am

Re: TAreaSeries->Stairs return false even if set to true

Post by Lykke » Wed Aug 05, 2015 2:30 pm

Hi Narcis

I have checked all the things. Only thing that was not as you say was that TeeCharth paths were not on top, but further down the list. I have moved them to the top, but unfortunately it does not make a difference. I still have exactly the same problem.
Maybe it is my installation that is corrupted. I can try to make a clean installation in a different machine.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: TAreaSeries->Stairs return false even if set to true

Post by Narcís » Wed Aug 05, 2015 2:49 pm

Hi Lykke,
Lykke wrote: I can try to make a clean installation in a different machine.
Yes, please. I tested here in different machines, different RAD Studio and latest TeeChart Std/Pro build available. All versions give me the same result.

Thanks for your collaboration.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Lykke
Newbie
Newbie
Posts: 6
Joined: Thu Feb 26, 2015 12:00 am

Re: TAreaSeries->Stairs return false even if set to true

Post by Lykke » Tue Aug 11, 2015 7:06 am

Hi Narcis

I just want to let you know the outcome of making a fresh installation on a different PC with only XE8.1 and TeeChart.
Indeed it solves my problem.
What is wrong with the installation on my primary development PC I do not know yet, but will anyway reinstall everything once XE9 and related teechart installer is available.

Best regards

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: TAreaSeries->Stairs return false even if set to true

Post by Narcís » Tue Aug 11, 2015 7:27 am

Hi Lykke,
Lykke wrote: I just want to let you know the outcome of making a fresh installation on a different PC with only XE8.1 and TeeChart.
Indeed it solves my problem.
Great! Thanks for your feedback.
Lykke wrote: What is wrong with the installation on my primary development PC I do not know yet, but will anyway reinstall everything once XE9 and related teechart installer is available.
You could try repairing XE8's installation and install TeeChart on it again.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply