Profile Picture

Spacing between label and axis

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
Is there an option for adjusting the spacing between the label and axis? I would like to tighten it up to the axis as much as possible.
Also there seems to be extra space on my YAxis label even when the alignment is set to TopCenter using the following. is this a bug?
((NLinearScaleConfigurator)chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator).LabelStyle.ContentAlignment = ContentAlignment.TopCenter;
https://www.nevron.com/forum/uploads/images/02e8a6fb-c28a-412f-ba88-077a.jpg

Nevron Support Team
This post has been flagged as an answer
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,
You need to set the Offset property of the LabelStyle:

NLinearScaleConfigurator scaleY = (NLinearScaleConfigurator)chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator;scaleY.LabelStyle.Offset = new Nevron.GraphicsCore.NLength(0);

Let us know if you have any questions.


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
Thank you, after applying this I was able to track down that extra spacing to Illustrator, not your image.




Similar Topics


Reading This Topic