Nevron Forum

Adding an axis title cuts off bottom of chart data

https://www.nevron.com/Forum/Topic4436.aspx

By Steven Montie - Friday, November 5, 2010

I am using a Nevron Chart with a Smooth Line Series to graph a function. The function approaches very close to zero. The chart looks fine until I add in a Axis title using:

NStandardScaleConfigurator scaleConfiguratorX = (NStandardScaleConfigurator)chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator;
scaleConfiguratorX.Title.Text = "Match Percent";

when I do this it shifts up the X-axis a little to add in the text. This cuts off the bottom of my graph and I can no longer see that it is approaching zero. How can I make it so that this does not happen?
By Nevron Support - Monday, November 8, 2010

Hello,

You can slightly increase the width of the line through the BorderStyle property of the series. Another option is to decrease the space that the Y axis occupies so that the minimum Y value will be always slightly above the X axis:

axisY.Anchor.BeginPercent = 5;
axisY.Anchor.EndPercent = 95; // optionally