Group: Forum Members
Last Active: 2 Years Ago
Posts: 33,
Visits: 76
|
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;
74% of original size (was 682x19) - Click to enlarge 
|
Group: Forum Members
Last Active: Last Month
Posts: 3,055,
Visits: 4,052
|
Hi Rich , You need to set the Offset property of the LabelStyle : N LinearScaleConfigurator scaleY = ( N LinearScaleConfigurator ) 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
|
Group: Forum Members
Last Active: 2 Years Ago
Posts: 33,
Visits: 76
|
Thank you, after applying this I was able to track down that extra spacing to Illustrator, not your image.
|