Page 1 of 1

Grey Edge on Graphs

Posted: Wed Dec 05, 2012 12:58 pm
by 16462341
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?

Re: Grey Edge on Graphs

Posted: Wed Dec 05, 2012 2:04 pm
by yeray
Hi Hans,

Try deactivating the bevel:

Code: Select all

Chart1.BevelOuter:=bvNone;