Page 1 of 1

2D Line Chart Smoothness problem

Posted: Mon May 25, 2009 6:02 am
by 9092401
Hi
I have a line chart . with thick lines and an Outline.
I found that between each point on the line there is a kind of border and it doesnt look nice
Image
I want my lines to be smooth.
Currently the lines dont look nice because they it looks like there are artifacts inside the line . I want these border lines dividing the points to disappear
how can I do it.
BTW - I noticed that the same problem is in 3D . I also noticed that removing the outline doesnt help either.
Thanks.

Posted: Mon May 25, 2009 8:44 am
by yeray
Hi qcrnd,

I think that you are looking for this:

Code: Select all

line1.LinePen.EndCap = System.Drawing.Drawing2D.LineCap.Round;

Posted: Mon May 25, 2009 10:12 am
by 9092401
Yeray hi
Perfect, exactly what I needed
Thanks