Sending the axis behind the graph line


https://www.nevron.com/Forum/Topic12258.aspx
Print Topic | Close Window

By rich dudley - 7 Years Ago
How do I set the axis to be behind the graph line? Currently when my datapoints are right on the axis line they go behind the axis, this doesnt look very good. I would like to reverse that behavior so that the line will be on top of the axis.

Example of line behind axis in the 2015 section.
https://www.nevron.com/forum/uploads/images/2d7c87b7-bfe9-4b86-8705-b5a9.jpg
By Nevron Support - 7 Years Ago
Hi Rich,
We just uploaded a SP of the control that allows you to place the axes behind the series - for this purpose just write:
chart.DisplayAxesOnTop = false;
Let us know if you meet any problems.
By rich dudley - 7 Years Ago
This did not seem to fix the problem.
     NCartesianChart chart = (NCartesianChart)chartControl.Charts[0];
      chart.DisplayAxesOnTop = false;
      chart.BoundsMode = BoundsMode.Stretch;
and here is the result (I thickened the axis to be more obvious).
https://www.nevron.com/forum/uploads/images/3aa0f854-3a03-4d11-b715-e36c.jpg
By Nevron Support - 7 Years Ago
Hi Rich,

What is the version of the control you're currently using - please double check that it is 17.10.26.12 or later.