Hi,
I've some TChart into a Delphi dll.
I've made a porting of one of my dll modules that uses TeeChart. The version is 2016.19.
I've the same module running without problem in XE2 environment with TeeChart 2012.
How can i use gradient fill in new version of TChart/Delphi? Tha backgroung is always gray. Only Color property affect the background gradient don't work.
Thank you
TeeChart gradient in a DLL
Re: TeeChart gradient in a DLL
Hello,
If I drop a TChart into a new Form and I put this code at OnCreate:
I get this with the current TeeChart v2017.21:
So the gradients seem to work fine for me here with the latest version.
If you still find problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
If I drop a TChart into a new Form and I put this code at OnCreate:
Code: Select all
Chart1.Gradient.StartColor:=clWhite;
Chart1.Gradient.EndColor:=clDkGray;
Chart1.Gradient.MidColor:=clNone;
Chart1.Walls.Back.Gradient.StartColor:=clDkGray;
Chart1.Walls.Back.Gradient.EndColor:=clWhite;
If you still find problems with it, please try to arrange a simple example project we can run as-is to reproduce the problem here.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TeeChart gradient in a DLL
Ok, also if I put the chart into a VCL Form Application all is Working correctly.
My problem is if I put the Chart on a Form that reside into a DLL.
My problem is if I put the Chart on a Form that reside into a DLL.
Re: TeeChart gradient in a DLL
Hello,
There may be some extra properties to set. Ie:
See the test project:
There may be some extra properties to set. Ie:
Code: Select all
Chart1.Gradient.Visible:=True;
Chart1.Walls.Back.Transparent:=False;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |