Profile Picture

Corner style of line graph

Posted By rich dudley 7 Years Ago
Author
Message
rich dudley
Posted 7 Years Ago
View Quick Profile
Forum Guru

Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)Forum Guru (51 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 33, Visits: 76
I haven't been able to find an option to change how the library handles the corners created by segment intersection.  Sometimes sharp angles overflow the axis which I cant have.  Has anyone found a solution to this?
Below: examples of my problem, and the hopeful solution output

https://www.nevron.com/forum/uploads/images/f25cdafa-1a04-4295-890d-0bd5.pnghttps://www.nevron.com/forum/uploads/images/0c3de6ba-5667-47ee-b938-bc64.png


Tags
Nevron Support
This post has been flagged as an answer
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 3,054, Visits: 4,009

Hi Rich,

You need to change the line join:

line.BorderStyle.LineJoin = System.Drawing.Drawing2D.LineJoin.Bevel;

Let us know if you have any questions or comments.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic