Profile Picture

Lines outside of chart area

Posted By Fabio Olcese 8 Years Ago
Author
Message
Fabio Olcese
Question Posted 8 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 11, Visits: 40
Lines with negative values are outside of the chart as seen in this image:

https://www.nevron.com/forum/uploads/images/6162dfc6-036b-449a-9afe-02f7.png

I was wondering if there was a property so that the lines fit inside the charting area. Thanks in advance.

Tags
WPF
Nevron Support
Posted 8 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: 3 hours ago
Posts: 3,054, Visits: 4,009

Hi Fabio,

This is most likely caused by the default line join - the following code shows how to change the line join of line segments:

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

or

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

Hope this helps - let us know if you have any questions.



Best Regards,
Nevron Support Team



Fabio Olcese
Posted 8 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 11, Visits: 40
Thanks for the response. That doesn't seem to be solving the issue. As additional information I will add that if I zoom a little it works correctly. 

Zoomed a little image: 
https://www.nevron.com/forum/uploads/images/b63171d5-e1a3-49e0-82dd-8ff5.png


Nevron Support
Posted 8 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: 3 hours ago
Posts: 3,054, Visits: 4,009
Hi Fabio,

Do you specify a View to the chart axis? Can you send us the code that you use to configure the chart for review?


Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic