Profile Picture

How to move the number to the right side of the Y axis

Posted By Enjoyear Guo 12 Years Ago
Author
Message
Enjoyear Guo
Posted 12 Years Ago
View Quick Profile
Forum Member

Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 30, Visits: 1
Hi,

I find the following way to move the y axis to the right side of the chart.
NCrossAxisAnchor crossAnchor = new NCrossAxisAnchor();
yPrimaryAxis.Anchor = crossAnchor;
yPrimaryAxis.Visible = true;
crossAnchor.Crossings.Add(new NModelAxisCrossing(m_Chart.Axis(StandardAxis.PrimaryX), HorzAlign.Right,
new NLength(0)));
But I also want to move the numbers to the right side of the y axis, how can I implement that?
Many thanks!

Best,
Enjoyear

Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi,

You need to change the RulerOrientation to right:

someAnchor.RulerOrientation = RulerOrientation.Right;



Best Regards,
Nevron Support Team



Enjoyear Guo
Posted 12 Years Ago
View Quick Profile
Forum Member

Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)Forum Member (30 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 30, Visits: 1
Thank you! It works great!



Similar Topics


Reading This Topic