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
270
X Axis text orentation
posted

I have a chart that is connected to a DataTable datasource, it returns 32 rows and the labels on the "X" axis all appear Horzontal instead of vertical, I have attempted the following with no success

ultraChart1.Axis.X.Labels.Orientation = TextOrientation.VerticalLeftFacing;

or

ultraChart1.Axis.X.Labels.Orientation = TextOrientation.Custom;

ultraChart1.Axis.X.Labels.OrientationAngle = 90;

 can anyone offer any additional help.

Parents
  • 130
    posted

    Try this:

    ultraChart1.Axis.X.Labels.VerticalAlign = System.Drawing.StringAlignment.Center;
    ultraChart1.Axis.X.Labels.Orientation = infragistics.UltraChart.Shared.Styles.
    TextOrientation.Custom;
    ultraChart1.Axis.X.Labels.OrientationAngle = 270;
    ultraChart1.Axis.X.Labels.Flip =
    true;

Reply Children