Problem with filled High-Low Series

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Metman
Advanced
Posts: 113
Joined: Fri Dec 21, 2007 12:00 am

Problem with filled High-Low Series

Post by Metman » Mon Jun 16, 2014 8:53 pm

Hi

I am having problems setting a color fill in a high-low series. I select a color and set the transparency to 50%, but although this behaves itself in the IDE design view, when I compile and run the transparency is 100% with no color fill.

I have the chart connected to a GDI+ component, but its still transparent when I set GDI+ active to false.

I never had a problem in the v2008 where this feature always worked well.

Bruce.

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Problem with filled High-Low Series

Post by Yeray » Tue Jun 17, 2014 12:43 pm

Hi Bruce,
Metman wrote:I am having problems setting a color fill in a high-low series. I select a color and set the transparency to 50%, but although this behaves itself in the IDE design view, when I compile and run the transparency is 100% with no color fill.
Check the paths in the IDE. If you the chart looks different at designtime and at runtime, and no special property is modified by code, it usually indicates there's an entry in the library path pointing to a different installation than the packages loaded with the IDE startup.
Metman wrote:I have the chart connected to a GDI+ component, but its still transparent when I set GDI+ active to false.
Note you don't need to drop a TTeeGDIPlus component anymore.
Metman wrote:I never had a problem in the v2008 where this feature always worked well.
Could you please specify what exact TeeChart version where you using back in 2008?

If you still find problems with this, please try to arrange a simple example project we can run as-is to reproduce the problem here.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Metman
Advanced
Posts: 113
Joined: Fri Dec 21, 2007 12:00 am

Re: Problem with filled High-Low Series

Post by Metman » Tue Jun 17, 2014 2:04 pm

Hi Yeray

I was using v8.08 in Delphi 2007.

I notice that the reference in my library path in Delphi XE6 for TeeChart 2014 is Dephi20.win32\lib.

Shouldn't that be Delphi20.win64 if I'm running Windows 7 64 bit?
Capture1.png
Screen shot
Capture1.png (164.69 KiB) Viewed 12866 times
Bruce.

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Problem with filled High-Low Series

Post by Yeray » Tue Jun 17, 2014 2:52 pm

Hi Bruce,
Metman wrote:I was using v8.08 in Delphi 2007.

I notice that the reference in my library path in Delphi XE6 for TeeChart 2014 is Dephi20.win32\lib.

Shouldn't that be Delphi20.win64 if I'm running Windows 7 64 bit?
Thanks for the details. They look correct to me so we'd need that simple project I asked above if you can arrange it so we can try to reproduce the problem here.

Thanks in advance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Metman
Advanced
Posts: 113
Joined: Fri Dec 21, 2007 12:00 am

Re: Problem with filled High-Low Series

Post by Metman » Tue Jun 17, 2014 3:06 pm

Hi Yeray

I've attached a very simple project.

In the IDE I see this:
Capture3.png
Capture3.png (33.55 KiB) Viewed 12838 times
When I build and run it I see this:
Capture2.png
Capture2.png (43.57 KiB) Viewed 12836 times
I have left the transparency off so I should see the color filled area series right?

Bruce.
Chart.zip
(77.83 KiB) Downloaded 838 times

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Problem with filled High-Low Series

Post by Yeray » Wed Jun 18, 2014 7:43 am

Hi Bruce,
Yeray wrote:Thanks for the details. They look correct to me so we'd need that simple project I asked above if you can arrange it so we can try to reproduce the problem here.
I don't see the "Selected platform" combobox in your image above. See this post to see what are the paths for each platform.
Metman wrote:I've attached a very simple project.
I've opened your project in RAD XE6 here and this is how it looks like for me at design time:
2014-06-18_0929.png
2014-06-18_0929.png (30.61 KiB) Viewed 12802 times
If this project you've attached shows the High-Low series filled at design time for you, it can only be that we have different TeeChart versions installed in our IDEs.
Could you please check the packages list? As per the image of the paths you posted above, selecting the package with description "TeeChart Pro 2014 VCL Components" should show "C:\Program Files (x86)\Steema Software\TeeChart 2014 for RAD XE6\Delphi20.win32\Bin\DclTeePro920.bpl" for you in the text box below the list. For me the path is a bit different because I change the default installation path to not override it with every installation:
2014-06-18_0941.png
2014-06-18_0941.png (8.44 KiB) Viewed 12804 times
As an extra check, please open the Release.txt file from the installation path (C:\Program Files (x86)\Steema Software\TeeChart 2014 for RAD XE6) and check if the build is:
Release Notes 12th May 2014
TeeChart VCL/FMX version 2014
Build 2014.11.140512
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Metman
Advanced
Posts: 113
Joined: Fri Dec 21, 2007 12:00 am

Re: Problem with filled High-Low Series

Post by Metman » Wed Jun 18, 2014 10:35 am

HI Yeray

Both things that you asked me to check are the same as on your machine.

I take it that the fills in the high-low series is fine on your PC?

Bruce.
Capture1.png
Capture1.png (26.19 KiB) Viewed 12802 times
Capture3.png
Capture3.png (18.94 KiB) Viewed 12808 times

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Problem with filled High-Low Series

Post by Yeray » Wed Jun 18, 2014 12:57 pm

Hello,

Thanks for providing all the information requested.
We've found the problem seems to be the HighBrush.Style and LowBrush Style properties seem not to be correctly saved to the dfm.
I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=805

The only workaround we can think on at the moment would be to set the property at runtime by code.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Metman
Advanced
Posts: 113
Joined: Fri Dec 21, 2007 12:00 am

Re: Problem with filled High-Low Series

Post by Metman » Wed Jun 18, 2014 3:28 pm

OK Yeray I'll wait for a fix in the next release!

Post Reply