Grey Edge on Graphs

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Friis
Newbie
Newbie
Posts: 23
Joined: Mon May 07, 2012 12:00 am

Grey Edge on Graphs

Post by Friis » Wed Dec 05, 2012 12:58 pm

Hi,

When use the code

Code: Select all

      
bmp.Canvas.Draw(0,0,Chart1.TeeCreateBitmap(clwhite,Chart1.ClientRect));
I get an grey edge on the edge of the graphs. If you look at the attached picture, you can in the file "FromWord" see at bitmap that has been put into a word file and then a Screen Dump has been made. The grey edge is clearly shown.

I have tried to "cut off" one or two pixels which removes the edge. Put in the case of high screen resolution I need to take 2-3 pixels and in the case of low screen resolution, I need to take only 1.

Isn't there a more convinient method?
Attachments
agubsa.JPG
agubsa.JPG (343.83 KiB) Viewed 5994 times
FromWord.JPG
FromWord.JPG (25 KiB) Viewed 5951 times

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

Re: Grey Edge on Graphs

Post by Yeray » Wed Dec 05, 2012 2:04 pm

Hi Hans,

Try deactivating the bevel:

Code: Select all

Chart1.BevelOuter:=bvNone;
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

Post Reply