TAreaSeries->Stairs return false even if set to true
TAreaSeries->Stairs return false even if set to true
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.
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.
-
- 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
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?
Thanks in advance.
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;
}
- Attachments
-
- AreaStairs.zip
- (6.33 KiB) Downloaded 705 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 |
Instructions - How to post in this forum |
Re: TAreaSeries->Stairs return false even if set to true
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).
I use XE8.1 and TeeChart 2015.15.150420 (Pro version, no source code).
-
- 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
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.
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 674 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 |
Instructions - How to post in this forum |
Re: TAreaSeries->Stairs return false even if set to true
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.
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.
Re: TAreaSeries->Stairs return false even if set to true
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 675 times
-
- 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
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.
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 |
Instructions - How to post in this forum |
Re: TAreaSeries->Stairs return false even if set to true
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.
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.
-
- 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
Hi Lykke,
Thanks for your collaboration.
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.Lykke wrote: I can try to make a clean installation in a different machine.
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 |
Instructions - How to post in this forum |
Re: TAreaSeries->Stairs return false even if set to true
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
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
-
- 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
Hi Lykke,
Great! Thanks for your feedback.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.
You could try repairing XE8's installation and install TeeChart on it again.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.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |