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
1005
Sloped labels on x-axis does not work with one data point
posted

Hi,

I have a Pareto chart configured to use sloped text on the x-axis, and it all looks good when I have more than one data point, but when I only have one the label does not show!  If I play with the chart.Axis.X.Labels.VerticalAlign and chart.Axis.X.Labels.HorizontalAlign I can see that the label is actuallly drawn, but just not where it should be!

Sloped Labels

Vertical Labels

I am using the settings below:

                chart.Axis.X.Labels.Orientation = Infragistics.UltraChart.Shared.Styles.TextOrientation.Custom;
                chart.Axis.X.Labels.OrientationAngle = 30;
                chart.Axis.X.Labels.VerticalAlign = StringAlignment.Far;
                chart.Axis.X.Labels.HorizontalAlign = StringAlignment.Near;
 

Can someone confirm that this is a bug (and hopefully give me a fix), or tell me what I'm doing wrong?  I am using version 10.2

Thanks,

Brian

Parents Reply Children
No Data