<p>When you use Zedgraph for linegraphs and set IsSmooth to true, the lines are nicely curved instead of having hard corners/angles.</p>

<p>While this looks much better for most graphs -in my humble opinion- there is a small catch. The smoothing algorithm makes the line take a little 'dive' or 'bump' before going upwards or downwards. </p>

<p>In most cases, if the datapoint are themselves smooth, this isn't a problem, but if your datapoints go from say 0 to 15, the 'dive' makes the line go under the x-axis, which makes it seems as though there are some datapoints below zero (which is not the case).</p>

<p>How can I fix this (prefably easily ;)</p>

[{'answer_id': 60594, 'author': 'Roger Ween', 'author_id': 6143, 'author_profile': 'https://Stackoverflow.com/users/6143', 'pm_score': 1, 'selected': False, 'text': '<p>You could try to alter the myCurve.Line.SmoothTension property up or down and see if that helps.</p>\n'}, {'answer_id': 1161631, 'author': 'Shaun Lebron', 'author_id': 142317, 'author_profile': 'https://Stackoverflow.com/users/142317', 'pm_score': 3, 'selected': True, 'text': '<p>No simple answer for this.  Keeping the tension near zero will be your simplest solution.</p>\n\n<p>ZedGraph uses GDI\'s DrawCurve tension parameter to apply smoothness, which is probably Hermite Interpolation.  You can try to implement your own Cosine Interpolation, which will keep local extremes because of its nature.  You can look at the this link to see why:\n<a href="http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/interpolation/" rel="nofollow noreferrer">http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/interpolation/</a></p>\n\n<p>EDIT: Website is down.  Here is a cached version of the page:\n<a href="http://web.archive.org/web/20090920093601/http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/interpolation/" rel="nofollow noreferrer">http://web.archive.org/web/20090920093601/http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/interpolation/</a></p>\n'}]
['https://Stackoverflow.com/questions/60542', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/49824/']