Profile Picture

Corner style of line graph

Posted By rich dudley 5 Years Ago
Author
Message
rich dudley
Posted 5 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: 3 Years Ago
Posts: 33, Visits: 74
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 5 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)Supreme Being (4,298 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,034, Visits: 3,710

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