Page 1 of 1

TAreaSeries->Stairs return false even if set to true

Posted: Wed Aug 05, 2015 12:08 pm
by 16471584
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.

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

Posted: Wed Aug 05, 2015 12:19 pm
by narcis
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.

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

Posted: Wed Aug 05, 2015 12:25 pm
by 16471584
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).

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

Posted: Wed Aug 05, 2015 1:15 pm
by narcis
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.

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

Posted: Wed Aug 05, 2015 1:38 pm
by 16471584
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.

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

Posted: Wed Aug 05, 2015 1:45 pm
by 16471584
Now I succeeded in uploading (after cleaning output directory so it only contains the exe).

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

Posted: Wed Aug 05, 2015 2:05 pm
by narcis
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.

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

Posted: Wed Aug 05, 2015 2:30 pm
by 16471584
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.

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

Posted: Wed Aug 05, 2015 2:49 pm
by narcis
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.

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

Posted: Tue Aug 11, 2015 7:06 am
by 16471584
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

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

Posted: Tue Aug 11, 2015 7:27 am
by narcis
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.