Profile Picture

Sending the axis behind the graph line

Posted By rich dudley 2 Months Ago
Author
Message
rich dudley
Question Posted 2 Months Ago
View Quick Profile
Forum Member

Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 17, Visits: 47
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


Nevron Support Team
Posted 2 Months Ago
View Quick Profile
Supreme Being

Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)

Group: Moderators
Last Active: 3 days ago @ 8:33 AM
Posts: 2,593, Visits: 2,279
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.


Best Regards,
Nevron Support Team



rich dudley
Posted 2 Months Ago
View Quick Profile
Forum Member

Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)Forum Member (28 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 17, Visits: 47
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


Nevron Support Team
Posted 2 Months Ago
View Quick Profile
Supreme Being

Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)

Group: Moderators
Last Active: 3 days ago @ 8:33 AM
Posts: 2,593, Visits: 2,279
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.




Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic