Showing Line at 0 point of X Axis

Oystein Bjorke 5 years ago 0
This discussion was imported from CodePlex

codertuhin wrote at 2014-06-21 23:42:

Hello,
First of all thanks a lot for making such an awesome control for free.

I would like to show a horizontal line at 0 point of X Axis just as the red line in the following image.

Image

Could anybody please help me in this issue? I'd be very grateful!

Thanks.

Death69 wrote at 2014-06-23 08:08:

Set this:
        youraxisname.MajorGridlineStyle = LineStyle.Solid;
        youraxisname.MinorGridlineStyle = LineStyle.None;
this way you get all the majorgridlines.

codertuhin wrote at 2014-06-24 04:07:

Thanks for your great help. It works!
CodePlex