Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Labels.SeriesLabels.VerticalAlign = Near, but not Near enough!
posted

Hi,

I'm having some trouble with UltraChart - I can't get the X axis labels to stop rendering across the axis line - no matter what I set for Vertical Alignment!

So obviously the VerticalAlignment is working, just not enough! Horizontal Alignment doesn't help.

I see this behavior in Vertical and Custom alignment at different angles, and it isn't affected by SeriesLabels.Layout.Behavior = AxisLabelLayoutBehaviors.Auto.

Please help!

Parents
No Data
Reply
  • 12480
    Offline posted

    Hi Oli,

    Try setting the padding on the axis label's layout:

    ultraChart1.Axis.X.Labels.Layout.Padding = 20;

    This should offset the labels a bit so that they don't clip the axis. Please let me know whether this works.

Children