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
865
Labels for X-Axis columns ride up
posted

I've upgraded from 7.1 to 9.1 and I'm having an issue with label rendering. All logic being constant the difference is shown below...

using 7.1 component with the following logic to create this orientation:

ultraChart1.Axis.X.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Custom;
ultraChart1.Axis.X.Labels.Flip = true;
ultraChart1.Axis.X.Labels.OrientationAngle = -135;

using 9.1 component with the same logic:

Any ideas how I can "push" those column labels back down under the x-axis line but still keep the slanted orientation using the 9.1 version of the component?

Also note that the orientation is off in the sense that the column is not lined up on the upper-rightmost number in the label which makes it seem that there are columns for which there is no data value to plot, etc. Any ideas how to address this so it renders more like in the 7.1 version (other than reverting to the 7.1 component)?

Thanks,

Allen

Parents
No Data
Reply
  • 17605
    Verified Answer
    posted

    You can try adding these lines to your code:

    UltraChart1.Axis.X.Labels.HorizontalAlign = StringAlignment.Far;

    UltraChart1.Axis.X.Labels.VerticalAlign = StringAlignment.Near;

     

Children